From 4faf428fb3fadf88be29a5127aaa37c0e085ce48 Mon Sep 17 00:00:00 2001 From: Kai Philipp Date: Thu, 16 Jun 2016 17:42:45 +0200 Subject: [PATCH 01/28] gitignore created - ignore rules defined --- .gitignore | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..ba5e8183 --- /dev/null +++ b/.gitignore @@ -0,0 +1,17 @@ +# exclude changes done by make process +Makefile +Makefile.chatcleaner +Makefile.pokerth_db +Makefile.pokerth_game +Makefile.pokerth_lib +Makefile.pokerth_protocol +Makefile.pokerth_server +bin/ +chatcleaner +lib/ +mocs/ +obj/ +pokerth +qrc_pokerth.cpp +uics/ + From 3ec764396a6fd08a007016e8e8068a737b4563dc Mon Sep 17 00:00:00 2001 From: Kai Philipp Date: Thu, 16 Jun 2016 18:05:02 +0200 Subject: [PATCH 02/28] ircthread.cpp - include fix from master implemented --- src/net/common/ircthread.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/net/common/ircthread.cpp b/src/net/common/ircthread.cpp index 5b8cad24..94730fba 100644 --- a/src/net/common/ircthread.cpp +++ b/src/net/common/ircthread.cpp @@ -32,14 +32,22 @@ #include #include #include +#ifdef _WIN32 #include +#else +#include +#endif // We need to do the following to handle different versions of libircclient. // Sadly, libircclient doesn't have actual definitions for its versions in its headers. // However, we can use a definition that appeared in the same version we need // to check for. Hacky, but hey, it works. #ifdef LIBIRC_OPTION_SSL_NO_VERIFY +#ifdef _WIN32 #include +#else +#include +#endif #endif #include From b30ea659989c085292c2d98c52f88a608d1def94 Mon Sep 17 00:00:00 2001 From: Kai Philipp Date: Fri, 17 Jun 2016 15:06:21 +0200 Subject: [PATCH 03/28] re-generated chatcleaner.pb.* and pokerth.pb.* with protoc in order to match version 2.6.1 of protoc --- src/third_party/protobuf/chatcleaner.pb.cc | 417 +- src/third_party/protobuf/chatcleaner.pb.h | 250 +- src/third_party/protobuf/pokerth.pb.cc | 7041 ++++++++++++++------ src/third_party/protobuf/pokerth.pb.h | 2918 ++++++-- 4 files changed, 7667 insertions(+), 2959 deletions(-) diff --git a/src/third_party/protobuf/chatcleaner.pb.cc b/src/third_party/protobuf/chatcleaner.pb.cc index bc138ee6..25901065 100644 --- a/src/third_party/protobuf/chatcleaner.pb.cc +++ b/src/third_party/protobuf/chatcleaner.pb.cc @@ -10,6 +10,7 @@ #include #include #include +#include // @@protoc_insertion_point(includes) void protobuf_ShutdownFile_chatcleaner_2eproto() { @@ -48,7 +49,7 @@ void protobuf_AddDesc_chatcleaner_2eproto() { #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AddDesc_chatcleaner_2eproto_once_); void protobuf_AddDesc_chatcleaner_2eproto() { - ::google::protobuf::::google::protobuf::GoogleOnceInit(&protobuf_AddDesc_chatcleaner_2eproto_once_, + ::google::protobuf::GoogleOnceInit(&protobuf_AddDesc_chatcleaner_2eproto_once_, &protobuf_AddDesc_chatcleaner_2eproto_impl); } #else @@ -80,6 +81,7 @@ const int CleanerInitMessage::kClientSecretFieldNumber; CleanerInitMessage::CleanerInitMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:CleanerInitMessage) } void CleanerInitMessage::InitAsDefaultInstance() { @@ -89,21 +91,24 @@ CleanerInitMessage::CleanerInitMessage(const CleanerInitMessage& from) : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:CleanerInitMessage) } void CleanerInitMessage::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); _cached_size_ = 0; requestedversion_ = 0u; - clientsecret_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + clientsecret_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); ::memset(_has_bits_, 0, sizeof(_has_bits_)); } CleanerInitMessage::~CleanerInitMessage() { + // @@protoc_insertion_point(destructor:CleanerInitMessage) SharedDtor(); } void CleanerInitMessage::SharedDtor() { - if (clientsecret_ != &::google::protobuf::internal::kEmptyString) { + if (clientsecret_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete clientsecret_; } #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -135,33 +140,41 @@ CleanerInitMessage* CleanerInitMessage::New() const { } void CleanerInitMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (_has_bits_[0 / 32] & 3) { requestedversion_ = 0u; if (has_clientsecret()) { - if (clientsecret_ != &::google::protobuf::internal::kEmptyString) { + if (clientsecret_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { clientsecret_->clear(); } } } ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool CleanerInitMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:CleanerInitMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required uint32 requestedVersion = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 8) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &requestedversion_))); set_has_requestedversion(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(18)) goto parse_clientSecret; break; @@ -169,35 +182,42 @@ bool CleanerInitMessage::MergePartialFromCodedStream( // required string clientSecret = 2; case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 18) { parse_clientSecret: DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_clientsecret())); } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:CleanerInitMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:CleanerInitMessage) + return false; #undef DO_ } void CleanerInitMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:CleanerInitMessage) // required uint32 requestedVersion = 1; if (has_requestedversion()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->requestedversion(), output); @@ -205,10 +225,13 @@ void CleanerInitMessage::SerializeWithCachedSizes( // required string clientSecret = 2; if (has_clientsecret()) { - ::google::protobuf::internal::WireFormatLite::WriteString( + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 2, this->clientsecret(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:CleanerInitMessage) } int CleanerInitMessage::ByteSize() const { @@ -230,6 +253,8 @@ int CleanerInitMessage::ByteSize() const { } } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -251,6 +276,7 @@ void CleanerInitMessage::MergeFrom(const CleanerInitMessage& from) { set_clientsecret(from.clientsecret()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void CleanerInitMessage::CopyFrom(const CleanerInitMessage& from) { @@ -270,6 +296,7 @@ void CleanerInitMessage::Swap(CleanerInitMessage* other) { std::swap(requestedversion_, other->requestedversion_); std::swap(clientsecret_, other->clientsecret_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -289,6 +316,7 @@ const int CleanerInitAckMessage::kServerSecretFieldNumber; CleanerInitAckMessage::CleanerInitAckMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:CleanerInitAckMessage) } void CleanerInitAckMessage::InitAsDefaultInstance() { @@ -298,21 +326,24 @@ CleanerInitAckMessage::CleanerInitAckMessage(const CleanerInitAckMessage& from) : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:CleanerInitAckMessage) } void CleanerInitAckMessage::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); _cached_size_ = 0; serverversion_ = 0u; - serversecret_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + serversecret_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); ::memset(_has_bits_, 0, sizeof(_has_bits_)); } CleanerInitAckMessage::~CleanerInitAckMessage() { + // @@protoc_insertion_point(destructor:CleanerInitAckMessage) SharedDtor(); } void CleanerInitAckMessage::SharedDtor() { - if (serversecret_ != &::google::protobuf::internal::kEmptyString) { + if (serversecret_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete serversecret_; } #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -344,33 +375,41 @@ CleanerInitAckMessage* CleanerInitAckMessage::New() const { } void CleanerInitAckMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (_has_bits_[0 / 32] & 3) { serverversion_ = 0u; if (has_serversecret()) { - if (serversecret_ != &::google::protobuf::internal::kEmptyString) { + if (serversecret_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { serversecret_->clear(); } } } ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool CleanerInitAckMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:CleanerInitAckMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required uint32 serverVersion = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 8) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &serverversion_))); set_has_serverversion(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(18)) goto parse_serverSecret; break; @@ -378,35 +417,42 @@ bool CleanerInitAckMessage::MergePartialFromCodedStream( // required string serverSecret = 2; case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 18) { parse_serverSecret: DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_serversecret())); } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:CleanerInitAckMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:CleanerInitAckMessage) + return false; #undef DO_ } void CleanerInitAckMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:CleanerInitAckMessage) // required uint32 serverVersion = 1; if (has_serverversion()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->serverversion(), output); @@ -414,10 +460,13 @@ void CleanerInitAckMessage::SerializeWithCachedSizes( // required string serverSecret = 2; if (has_serversecret()) { - ::google::protobuf::internal::WireFormatLite::WriteString( + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 2, this->serversecret(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:CleanerInitAckMessage) } int CleanerInitAckMessage::ByteSize() const { @@ -439,6 +488,8 @@ int CleanerInitAckMessage::ByteSize() const { } } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -460,6 +511,7 @@ void CleanerInitAckMessage::MergeFrom(const CleanerInitAckMessage& from) { set_serversecret(from.serversecret()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void CleanerInitAckMessage::CopyFrom(const CleanerInitAckMessage& from) { @@ -479,6 +531,7 @@ void CleanerInitAckMessage::Swap(CleanerInitAckMessage* other) { std::swap(serverversion_, other->serverversion_); std::swap(serversecret_, other->serversecret_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -502,6 +555,7 @@ const int CleanerChatRequestMessage::kChatMessageFieldNumber; CleanerChatRequestMessage::CleanerChatRequestMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:CleanerChatRequestMessage) } void CleanerChatRequestMessage::InitAsDefaultInstance() { @@ -511,28 +565,31 @@ CleanerChatRequestMessage::CleanerChatRequestMessage(const CleanerChatRequestMes : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:CleanerChatRequestMessage) } void CleanerChatRequestMessage::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); _cached_size_ = 0; requestid_ = 0u; cleanerchattype_ = 0; gameid_ = 0u; playerid_ = 0u; - playername_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); - chatmessage_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + playername_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + chatmessage_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); ::memset(_has_bits_, 0, sizeof(_has_bits_)); } CleanerChatRequestMessage::~CleanerChatRequestMessage() { + // @@protoc_insertion_point(destructor:CleanerChatRequestMessage) SharedDtor(); } void CleanerChatRequestMessage::SharedDtor() { - if (playername_ != &::google::protobuf::internal::kEmptyString) { + if (playername_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete playername_; } - if (chatmessage_ != &::google::protobuf::internal::kEmptyString) { + if (chatmessage_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete chatmessage_; } #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -564,41 +621,60 @@ CleanerChatRequestMessage* CleanerChatRequestMessage::New() const { } void CleanerChatRequestMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - requestid_ = 0u; - cleanerchattype_ = 0; - gameid_ = 0u; - playerid_ = 0u; +#define OFFSET_OF_FIELD_(f) (reinterpret_cast( \ + &reinterpret_cast(16)->f) - \ + reinterpret_cast(16)) + +#define ZR_(first, last) do { \ + size_t f = OFFSET_OF_FIELD_(first); \ + size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \ + ::memset(&first, 0, n); \ + } while (0) + + if (_has_bits_[0 / 32] & 63) { + ZR_(requestid_, playerid_); if (has_playername()) { - if (playername_ != &::google::protobuf::internal::kEmptyString) { + if (playername_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { playername_->clear(); } } if (has_chatmessage()) { - if (chatmessage_ != &::google::protobuf::internal::kEmptyString) { + if (chatmessage_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { chatmessage_->clear(); } } } + +#undef OFFSET_OF_FIELD_ +#undef ZR_ + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool CleanerChatRequestMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:CleanerChatRequestMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required uint32 requestId = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 8) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &requestid_))); set_has_requestid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(16)) goto parse_cleanerChatType; break; @@ -606,8 +682,7 @@ bool CleanerChatRequestMessage::MergePartialFromCodedStream( // required .CleanerChatType cleanerChatType = 2; case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 16) { parse_cleanerChatType: int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< @@ -615,9 +690,12 @@ bool CleanerChatRequestMessage::MergePartialFromCodedStream( input, &value))); if (::CleanerChatType_IsValid(value)) { set_cleanerchattype(static_cast< ::CleanerChatType >(value)); + } else { + unknown_fields_stream.WriteVarint32(tag); + unknown_fields_stream.WriteVarint32(value); } } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(24)) goto parse_gameId; break; @@ -625,15 +703,14 @@ bool CleanerChatRequestMessage::MergePartialFromCodedStream( // optional uint32 gameId = 3 [default = 0]; case 3: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 24) { parse_gameId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &gameid_))); set_has_gameid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(32)) goto parse_playerId; break; @@ -641,15 +718,14 @@ bool CleanerChatRequestMessage::MergePartialFromCodedStream( // required uint32 playerId = 4; case 4: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 32) { parse_playerId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &playerid_))); set_has_playerid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(42)) goto parse_playerName; break; @@ -657,13 +733,12 @@ bool CleanerChatRequestMessage::MergePartialFromCodedStream( // required string playerName = 5; case 5: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 42) { parse_playerName: DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_playername())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(50)) goto parse_chatMessage; break; @@ -671,35 +746,42 @@ bool CleanerChatRequestMessage::MergePartialFromCodedStream( // required string chatMessage = 6; case 6: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 50) { parse_chatMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_chatmessage())); } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:CleanerChatRequestMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:CleanerChatRequestMessage) + return false; #undef DO_ } void CleanerChatRequestMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:CleanerChatRequestMessage) // required uint32 requestId = 1; if (has_requestid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->requestid(), output); @@ -723,16 +805,19 @@ void CleanerChatRequestMessage::SerializeWithCachedSizes( // required string playerName = 5; if (has_playername()) { - ::google::protobuf::internal::WireFormatLite::WriteString( + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 5, this->playername(), output); } // required string chatMessage = 6; if (has_chatmessage()) { - ::google::protobuf::internal::WireFormatLite::WriteString( + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 6, this->chatmessage(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:CleanerChatRequestMessage) } int CleanerChatRequestMessage::ByteSize() const { @@ -781,6 +866,8 @@ int CleanerChatRequestMessage::ByteSize() const { } } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -814,6 +901,7 @@ void CleanerChatRequestMessage::MergeFrom(const CleanerChatRequestMessage& from) set_chatmessage(from.chatmessage()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void CleanerChatRequestMessage::CopyFrom(const CleanerChatRequestMessage& from) { @@ -837,6 +925,7 @@ void CleanerChatRequestMessage::Swap(CleanerChatRequestMessage* other) { std::swap(playername_, other->playername_); std::swap(chatmessage_, other->chatmessage_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -883,6 +972,7 @@ const int CleanerChatReplyMessage::kCleanerTextFieldNumber; CleanerChatReplyMessage::CleanerChatReplyMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:CleanerChatReplyMessage) } void CleanerChatReplyMessage::InitAsDefaultInstance() { @@ -892,25 +982,28 @@ CleanerChatReplyMessage::CleanerChatReplyMessage(const CleanerChatReplyMessage& : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:CleanerChatReplyMessage) } void CleanerChatReplyMessage::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); _cached_size_ = 0; requestid_ = 0u; cleanerchattype_ = 0; gameid_ = 0u; playerid_ = 0u; cleaneractiontype_ = 0; - cleanertext_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + cleanertext_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); ::memset(_has_bits_, 0, sizeof(_has_bits_)); } CleanerChatReplyMessage::~CleanerChatReplyMessage() { + // @@protoc_insertion_point(destructor:CleanerChatReplyMessage) SharedDtor(); } void CleanerChatReplyMessage::SharedDtor() { - if (cleanertext_ != &::google::protobuf::internal::kEmptyString) { + if (cleanertext_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete cleanertext_; } #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -942,37 +1035,56 @@ CleanerChatReplyMessage* CleanerChatReplyMessage::New() const { } void CleanerChatReplyMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - requestid_ = 0u; - cleanerchattype_ = 0; - gameid_ = 0u; - playerid_ = 0u; +#define OFFSET_OF_FIELD_(f) (reinterpret_cast( \ + &reinterpret_cast(16)->f) - \ + reinterpret_cast(16)) + +#define ZR_(first, last) do { \ + size_t f = OFFSET_OF_FIELD_(first); \ + size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \ + ::memset(&first, 0, n); \ + } while (0) + + if (_has_bits_[0 / 32] & 63) { + ZR_(requestid_, playerid_); cleaneractiontype_ = 0; if (has_cleanertext()) { - if (cleanertext_ != &::google::protobuf::internal::kEmptyString) { + if (cleanertext_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { cleanertext_->clear(); } } } + +#undef OFFSET_OF_FIELD_ +#undef ZR_ + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool CleanerChatReplyMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:CleanerChatReplyMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required uint32 requestId = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 8) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &requestid_))); set_has_requestid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(16)) goto parse_cleanerChatType; break; @@ -980,8 +1092,7 @@ bool CleanerChatReplyMessage::MergePartialFromCodedStream( // required .CleanerChatType cleanerChatType = 2; case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 16) { parse_cleanerChatType: int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< @@ -989,9 +1100,12 @@ bool CleanerChatReplyMessage::MergePartialFromCodedStream( input, &value))); if (::CleanerChatType_IsValid(value)) { set_cleanerchattype(static_cast< ::CleanerChatType >(value)); + } else { + unknown_fields_stream.WriteVarint32(tag); + unknown_fields_stream.WriteVarint32(value); } } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(24)) goto parse_gameId; break; @@ -999,15 +1113,14 @@ bool CleanerChatReplyMessage::MergePartialFromCodedStream( // optional uint32 gameId = 3 [default = 0]; case 3: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 24) { parse_gameId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &gameid_))); set_has_gameid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(32)) goto parse_playerId; break; @@ -1015,15 +1128,14 @@ bool CleanerChatReplyMessage::MergePartialFromCodedStream( // required uint32 playerId = 4; case 4: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 32) { parse_playerId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &playerid_))); set_has_playerid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(40)) goto parse_cleanerActionType; break; @@ -1031,8 +1143,7 @@ bool CleanerChatReplyMessage::MergePartialFromCodedStream( // required .CleanerChatReplyMessage.CleanerActionType cleanerActionType = 5; case 5: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 40) { parse_cleanerActionType: int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< @@ -1040,9 +1151,12 @@ bool CleanerChatReplyMessage::MergePartialFromCodedStream( input, &value))); if (::CleanerChatReplyMessage_CleanerActionType_IsValid(value)) { set_cleaneractiontype(static_cast< ::CleanerChatReplyMessage_CleanerActionType >(value)); + } else { + unknown_fields_stream.WriteVarint32(tag); + unknown_fields_stream.WriteVarint32(value); } } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(50)) goto parse_cleanerText; break; @@ -1050,35 +1164,42 @@ bool CleanerChatReplyMessage::MergePartialFromCodedStream( // optional string cleanerText = 6 [default = ""]; case 6: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 50) { parse_cleanerText: DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_cleanertext())); } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:CleanerChatReplyMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:CleanerChatReplyMessage) + return false; #undef DO_ } void CleanerChatReplyMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:CleanerChatReplyMessage) // required uint32 requestId = 1; if (has_requestid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->requestid(), output); @@ -1108,10 +1229,13 @@ void CleanerChatReplyMessage::SerializeWithCachedSizes( // optional string cleanerText = 6 [default = ""]; if (has_cleanertext()) { - ::google::protobuf::internal::WireFormatLite::WriteString( + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 6, this->cleanertext(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:CleanerChatReplyMessage) } int CleanerChatReplyMessage::ByteSize() const { @@ -1159,6 +1283,8 @@ int CleanerChatReplyMessage::ByteSize() const { } } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -1192,6 +1318,7 @@ void CleanerChatReplyMessage::MergeFrom(const CleanerChatReplyMessage& from) { set_cleanertext(from.cleanertext()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void CleanerChatReplyMessage::CopyFrom(const CleanerChatReplyMessage& from) { @@ -1215,6 +1342,7 @@ void CleanerChatReplyMessage::Swap(CleanerChatReplyMessage* other) { std::swap(cleaneractiontype_, other->cleaneractiontype_); std::swap(cleanertext_, other->cleanertext_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -1258,6 +1386,7 @@ const int ChatCleanerMessage::kCleanerChatReplyMessageFieldNumber; ChatCleanerMessage::ChatCleanerMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:ChatCleanerMessage) } void ChatCleanerMessage::InitAsDefaultInstance() { @@ -1291,6 +1420,7 @@ ChatCleanerMessage::ChatCleanerMessage(const ChatCleanerMessage& from) : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:ChatCleanerMessage) } void ChatCleanerMessage::SharedCtor() { @@ -1304,6 +1434,7 @@ void ChatCleanerMessage::SharedCtor() { } ChatCleanerMessage::~ChatCleanerMessage() { + // @@protoc_insertion_point(destructor:ChatCleanerMessage) SharedDtor(); } @@ -1341,7 +1472,7 @@ ChatCleanerMessage* ChatCleanerMessage::New() const { } void ChatCleanerMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (_has_bits_[0 / 32] & 31) { messagetype_ = 1; if (has_cleanerinitmessage()) { if (cleanerinitmessage_ != NULL) cleanerinitmessage_->::CleanerInitMessage::Clear(); @@ -1357,27 +1488,38 @@ void ChatCleanerMessage::Clear() { } } ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool ChatCleanerMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:ChatCleanerMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required .ChatCleanerMessage.ChatCleanerMessageType messageType = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 8) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::ChatCleanerMessage_ChatCleanerMessageType_IsValid(value)) { set_messagetype(static_cast< ::ChatCleanerMessage_ChatCleanerMessageType >(value)); + } else { + unknown_fields_stream.WriteVarint32(tag); + unknown_fields_stream.WriteVarint32(value); } } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(18)) goto parse_cleanerInitMessage; break; @@ -1385,13 +1527,12 @@ bool ChatCleanerMessage::MergePartialFromCodedStream( // optional .CleanerInitMessage cleanerInitMessage = 2; case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 18) { parse_cleanerInitMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_cleanerinitmessage())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(26)) goto parse_cleanerInitAckMessage; break; @@ -1399,13 +1540,12 @@ bool ChatCleanerMessage::MergePartialFromCodedStream( // optional .CleanerInitAckMessage cleanerInitAckMessage = 3; case 3: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 26) { parse_cleanerInitAckMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_cleanerinitackmessage())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(34)) goto parse_cleanerChatRequestMessage; break; @@ -1413,13 +1553,12 @@ bool ChatCleanerMessage::MergePartialFromCodedStream( // optional .CleanerChatRequestMessage cleanerChatRequestMessage = 4; case 4: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 34) { parse_cleanerChatRequestMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_cleanerchatrequestmessage())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(42)) goto parse_cleanerChatReplyMessage; break; @@ -1427,35 +1566,42 @@ bool ChatCleanerMessage::MergePartialFromCodedStream( // optional .CleanerChatReplyMessage cleanerChatReplyMessage = 5; case 5: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 42) { parse_cleanerChatReplyMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_cleanerchatreplymessage())); } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:ChatCleanerMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:ChatCleanerMessage) + return false; #undef DO_ } void ChatCleanerMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:ChatCleanerMessage) // required .ChatCleanerMessage.ChatCleanerMessageType messageType = 1; if (has_messagetype()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( @@ -1486,6 +1632,9 @@ void ChatCleanerMessage::SerializeWithCachedSizes( 5, this->cleanerchatreplymessage(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:ChatCleanerMessage) } int ChatCleanerMessage::ByteSize() const { @@ -1527,6 +1676,8 @@ int ChatCleanerMessage::ByteSize() const { } } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -1557,6 +1708,7 @@ void ChatCleanerMessage::MergeFrom(const ChatCleanerMessage& from) { mutable_cleanerchatreplymessage()->::CleanerChatReplyMessage::MergeFrom(from.cleanerchatreplymessage()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void ChatCleanerMessage::CopyFrom(const ChatCleanerMessage& from) { @@ -1591,6 +1743,7 @@ void ChatCleanerMessage::Swap(ChatCleanerMessage* other) { std::swap(cleanerchatrequestmessage_, other->cleanerchatrequestmessage_); std::swap(cleanerchatreplymessage_, other->cleanerchatreplymessage_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } diff --git a/src/third_party/protobuf/chatcleaner.pb.h b/src/third_party/protobuf/chatcleaner.pb.h index 37dce473..d9c0da37 100644 --- a/src/third_party/protobuf/chatcleaner.pb.h +++ b/src/third_party/protobuf/chatcleaner.pb.h @@ -8,12 +8,12 @@ #include -#if GOOGLE_PROTOBUF_VERSION < 2005000 +#if GOOGLE_PROTOBUF_VERSION < 2006000 #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 2005000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION #error This file was generated by an older version of protoc which is #error incompatible with your Protocol Buffer headers. Please #error regenerate this file with a newer version of protoc. @@ -82,6 +82,14 @@ class CleanerInitMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const CleanerInitMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -110,13 +118,13 @@ class CleanerInitMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -149,12 +157,12 @@ class CleanerInitMessage : public ::google::protobuf::MessageLite { inline void set_has_clientsecret(); inline void clear_has_clientsecret(); + ::std::string _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; ::std::string* clientsecret_; ::google::protobuf::uint32 requestedversion_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; - #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_chatcleaner_2eproto_impl(); #else @@ -180,6 +188,14 @@ class CleanerInitAckMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const CleanerInitAckMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -208,13 +224,13 @@ class CleanerInitAckMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -247,12 +263,12 @@ class CleanerInitAckMessage : public ::google::protobuf::MessageLite { inline void set_has_serversecret(); inline void clear_has_serversecret(); + ::std::string _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; ::std::string* serversecret_; ::google::protobuf::uint32 serverversion_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; - #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_chatcleaner_2eproto_impl(); #else @@ -278,6 +294,14 @@ class CleanerChatRequestMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const CleanerChatRequestMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -306,13 +330,13 @@ class CleanerChatRequestMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -386,16 +410,16 @@ class CleanerChatRequestMessage : public ::google::protobuf::MessageLite { inline void set_has_chatmessage(); inline void clear_has_chatmessage(); + ::std::string _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; ::google::protobuf::uint32 requestid_; int cleanerchattype_; ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 playerid_; ::std::string* playername_; ::std::string* chatmessage_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(6 + 31) / 32]; - #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_chatcleaner_2eproto_impl(); #else @@ -421,6 +445,14 @@ class CleanerChatReplyMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const CleanerChatReplyMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -449,13 +481,13 @@ class CleanerChatReplyMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -540,16 +572,16 @@ class CleanerChatReplyMessage : public ::google::protobuf::MessageLite { inline void set_has_cleanertext(); inline void clear_has_cleanertext(); + ::std::string _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; ::google::protobuf::uint32 requestid_; int cleanerchattype_; ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 playerid_; ::std::string* cleanertext_; int cleaneractiontype_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(6 + 31) / 32]; - #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_chatcleaner_2eproto_impl(); #else @@ -575,6 +607,14 @@ class ChatCleanerMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const ChatCleanerMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -603,13 +643,13 @@ class ChatCleanerMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -687,15 +727,15 @@ class ChatCleanerMessage : public ::google::protobuf::MessageLite { inline void set_has_cleanerchatreplymessage(); inline void clear_has_cleanerchatreplymessage(); + ::std::string _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; ::CleanerInitMessage* cleanerinitmessage_; ::CleanerInitAckMessage* cleanerinitackmessage_; ::CleanerChatRequestMessage* cleanerchatrequestmessage_; ::CleanerChatReplyMessage* cleanerchatreplymessage_; int messagetype_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(5 + 31) / 32]; - #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_chatcleaner_2eproto_impl(); #else @@ -729,11 +769,13 @@ inline void CleanerInitMessage::clear_requestedversion() { clear_has_requestedversion(); } inline ::google::protobuf::uint32 CleanerInitMessage::requestedversion() const { + // @@protoc_insertion_point(field_get:CleanerInitMessage.requestedVersion) return requestedversion_; } inline void CleanerInitMessage::set_requestedversion(::google::protobuf::uint32 value) { set_has_requestedversion(); requestedversion_ = value; + // @@protoc_insertion_point(field_set:CleanerInitMessage.requestedVersion) } // required string clientSecret = 2; @@ -747,54 +789,59 @@ inline void CleanerInitMessage::clear_has_clientsecret() { _has_bits_[0] &= ~0x00000002u; } inline void CleanerInitMessage::clear_clientsecret() { - if (clientsecret_ != &::google::protobuf::internal::kEmptyString) { + if (clientsecret_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { clientsecret_->clear(); } clear_has_clientsecret(); } inline const ::std::string& CleanerInitMessage::clientsecret() const { + // @@protoc_insertion_point(field_get:CleanerInitMessage.clientSecret) return *clientsecret_; } inline void CleanerInitMessage::set_clientsecret(const ::std::string& value) { set_has_clientsecret(); - if (clientsecret_ == &::google::protobuf::internal::kEmptyString) { + if (clientsecret_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { clientsecret_ = new ::std::string; } clientsecret_->assign(value); + // @@protoc_insertion_point(field_set:CleanerInitMessage.clientSecret) } inline void CleanerInitMessage::set_clientsecret(const char* value) { set_has_clientsecret(); - if (clientsecret_ == &::google::protobuf::internal::kEmptyString) { + if (clientsecret_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { clientsecret_ = new ::std::string; } clientsecret_->assign(value); + // @@protoc_insertion_point(field_set_char:CleanerInitMessage.clientSecret) } inline void CleanerInitMessage::set_clientsecret(const char* value, size_t size) { set_has_clientsecret(); - if (clientsecret_ == &::google::protobuf::internal::kEmptyString) { + if (clientsecret_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { clientsecret_ = new ::std::string; } clientsecret_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:CleanerInitMessage.clientSecret) } inline ::std::string* CleanerInitMessage::mutable_clientsecret() { set_has_clientsecret(); - if (clientsecret_ == &::google::protobuf::internal::kEmptyString) { + if (clientsecret_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { clientsecret_ = new ::std::string; } + // @@protoc_insertion_point(field_mutable:CleanerInitMessage.clientSecret) return clientsecret_; } inline ::std::string* CleanerInitMessage::release_clientsecret() { clear_has_clientsecret(); - if (clientsecret_ == &::google::protobuf::internal::kEmptyString) { + if (clientsecret_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = clientsecret_; - clientsecret_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + clientsecret_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void CleanerInitMessage::set_allocated_clientsecret(::std::string* clientsecret) { - if (clientsecret_ != &::google::protobuf::internal::kEmptyString) { + if (clientsecret_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete clientsecret_; } if (clientsecret) { @@ -802,8 +849,9 @@ inline void CleanerInitMessage::set_allocated_clientsecret(::std::string* client clientsecret_ = clientsecret; } else { clear_has_clientsecret(); - clientsecret_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + clientsecret_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } + // @@protoc_insertion_point(field_set_allocated:CleanerInitMessage.clientSecret) } // ------------------------------------------------------------------- @@ -825,11 +873,13 @@ inline void CleanerInitAckMessage::clear_serverversion() { clear_has_serverversion(); } inline ::google::protobuf::uint32 CleanerInitAckMessage::serverversion() const { + // @@protoc_insertion_point(field_get:CleanerInitAckMessage.serverVersion) return serverversion_; } inline void CleanerInitAckMessage::set_serverversion(::google::protobuf::uint32 value) { set_has_serverversion(); serverversion_ = value; + // @@protoc_insertion_point(field_set:CleanerInitAckMessage.serverVersion) } // required string serverSecret = 2; @@ -843,54 +893,59 @@ inline void CleanerInitAckMessage::clear_has_serversecret() { _has_bits_[0] &= ~0x00000002u; } inline void CleanerInitAckMessage::clear_serversecret() { - if (serversecret_ != &::google::protobuf::internal::kEmptyString) { + if (serversecret_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { serversecret_->clear(); } clear_has_serversecret(); } inline const ::std::string& CleanerInitAckMessage::serversecret() const { + // @@protoc_insertion_point(field_get:CleanerInitAckMessage.serverSecret) return *serversecret_; } inline void CleanerInitAckMessage::set_serversecret(const ::std::string& value) { set_has_serversecret(); - if (serversecret_ == &::google::protobuf::internal::kEmptyString) { + if (serversecret_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { serversecret_ = new ::std::string; } serversecret_->assign(value); + // @@protoc_insertion_point(field_set:CleanerInitAckMessage.serverSecret) } inline void CleanerInitAckMessage::set_serversecret(const char* value) { set_has_serversecret(); - if (serversecret_ == &::google::protobuf::internal::kEmptyString) { + if (serversecret_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { serversecret_ = new ::std::string; } serversecret_->assign(value); + // @@protoc_insertion_point(field_set_char:CleanerInitAckMessage.serverSecret) } inline void CleanerInitAckMessage::set_serversecret(const char* value, size_t size) { set_has_serversecret(); - if (serversecret_ == &::google::protobuf::internal::kEmptyString) { + if (serversecret_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { serversecret_ = new ::std::string; } serversecret_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:CleanerInitAckMessage.serverSecret) } inline ::std::string* CleanerInitAckMessage::mutable_serversecret() { set_has_serversecret(); - if (serversecret_ == &::google::protobuf::internal::kEmptyString) { + if (serversecret_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { serversecret_ = new ::std::string; } + // @@protoc_insertion_point(field_mutable:CleanerInitAckMessage.serverSecret) return serversecret_; } inline ::std::string* CleanerInitAckMessage::release_serversecret() { clear_has_serversecret(); - if (serversecret_ == &::google::protobuf::internal::kEmptyString) { + if (serversecret_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = serversecret_; - serversecret_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + serversecret_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void CleanerInitAckMessage::set_allocated_serversecret(::std::string* serversecret) { - if (serversecret_ != &::google::protobuf::internal::kEmptyString) { + if (serversecret_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete serversecret_; } if (serversecret) { @@ -898,8 +953,9 @@ inline void CleanerInitAckMessage::set_allocated_serversecret(::std::string* ser serversecret_ = serversecret; } else { clear_has_serversecret(); - serversecret_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + serversecret_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } + // @@protoc_insertion_point(field_set_allocated:CleanerInitAckMessage.serverSecret) } // ------------------------------------------------------------------- @@ -921,11 +977,13 @@ inline void CleanerChatRequestMessage::clear_requestid() { clear_has_requestid(); } inline ::google::protobuf::uint32 CleanerChatRequestMessage::requestid() const { + // @@protoc_insertion_point(field_get:CleanerChatRequestMessage.requestId) return requestid_; } inline void CleanerChatRequestMessage::set_requestid(::google::protobuf::uint32 value) { set_has_requestid(); requestid_ = value; + // @@protoc_insertion_point(field_set:CleanerChatRequestMessage.requestId) } // required .CleanerChatType cleanerChatType = 2; @@ -943,12 +1001,14 @@ inline void CleanerChatRequestMessage::clear_cleanerchattype() { clear_has_cleanerchattype(); } inline ::CleanerChatType CleanerChatRequestMessage::cleanerchattype() const { + // @@protoc_insertion_point(field_get:CleanerChatRequestMessage.cleanerChatType) return static_cast< ::CleanerChatType >(cleanerchattype_); } inline void CleanerChatRequestMessage::set_cleanerchattype(::CleanerChatType value) { assert(::CleanerChatType_IsValid(value)); set_has_cleanerchattype(); cleanerchattype_ = value; + // @@protoc_insertion_point(field_set:CleanerChatRequestMessage.cleanerChatType) } // optional uint32 gameId = 3 [default = 0]; @@ -966,11 +1026,13 @@ inline void CleanerChatRequestMessage::clear_gameid() { clear_has_gameid(); } inline ::google::protobuf::uint32 CleanerChatRequestMessage::gameid() const { + // @@protoc_insertion_point(field_get:CleanerChatRequestMessage.gameId) return gameid_; } inline void CleanerChatRequestMessage::set_gameid(::google::protobuf::uint32 value) { set_has_gameid(); gameid_ = value; + // @@protoc_insertion_point(field_set:CleanerChatRequestMessage.gameId) } // required uint32 playerId = 4; @@ -988,11 +1050,13 @@ inline void CleanerChatRequestMessage::clear_playerid() { clear_has_playerid(); } inline ::google::protobuf::uint32 CleanerChatRequestMessage::playerid() const { + // @@protoc_insertion_point(field_get:CleanerChatRequestMessage.playerId) return playerid_; } inline void CleanerChatRequestMessage::set_playerid(::google::protobuf::uint32 value) { set_has_playerid(); playerid_ = value; + // @@protoc_insertion_point(field_set:CleanerChatRequestMessage.playerId) } // required string playerName = 5; @@ -1006,54 +1070,59 @@ inline void CleanerChatRequestMessage::clear_has_playername() { _has_bits_[0] &= ~0x00000010u; } inline void CleanerChatRequestMessage::clear_playername() { - if (playername_ != &::google::protobuf::internal::kEmptyString) { + if (playername_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { playername_->clear(); } clear_has_playername(); } inline const ::std::string& CleanerChatRequestMessage::playername() const { + // @@protoc_insertion_point(field_get:CleanerChatRequestMessage.playerName) return *playername_; } inline void CleanerChatRequestMessage::set_playername(const ::std::string& value) { set_has_playername(); - if (playername_ == &::google::protobuf::internal::kEmptyString) { + if (playername_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { playername_ = new ::std::string; } playername_->assign(value); + // @@protoc_insertion_point(field_set:CleanerChatRequestMessage.playerName) } inline void CleanerChatRequestMessage::set_playername(const char* value) { set_has_playername(); - if (playername_ == &::google::protobuf::internal::kEmptyString) { + if (playername_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { playername_ = new ::std::string; } playername_->assign(value); + // @@protoc_insertion_point(field_set_char:CleanerChatRequestMessage.playerName) } inline void CleanerChatRequestMessage::set_playername(const char* value, size_t size) { set_has_playername(); - if (playername_ == &::google::protobuf::internal::kEmptyString) { + if (playername_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { playername_ = new ::std::string; } playername_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:CleanerChatRequestMessage.playerName) } inline ::std::string* CleanerChatRequestMessage::mutable_playername() { set_has_playername(); - if (playername_ == &::google::protobuf::internal::kEmptyString) { + if (playername_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { playername_ = new ::std::string; } + // @@protoc_insertion_point(field_mutable:CleanerChatRequestMessage.playerName) return playername_; } inline ::std::string* CleanerChatRequestMessage::release_playername() { clear_has_playername(); - if (playername_ == &::google::protobuf::internal::kEmptyString) { + if (playername_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = playername_; - playername_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + playername_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void CleanerChatRequestMessage::set_allocated_playername(::std::string* playername) { - if (playername_ != &::google::protobuf::internal::kEmptyString) { + if (playername_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete playername_; } if (playername) { @@ -1061,8 +1130,9 @@ inline void CleanerChatRequestMessage::set_allocated_playername(::std::string* p playername_ = playername; } else { clear_has_playername(); - playername_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + playername_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } + // @@protoc_insertion_point(field_set_allocated:CleanerChatRequestMessage.playerName) } // required string chatMessage = 6; @@ -1076,54 +1146,59 @@ inline void CleanerChatRequestMessage::clear_has_chatmessage() { _has_bits_[0] &= ~0x00000020u; } inline void CleanerChatRequestMessage::clear_chatmessage() { - if (chatmessage_ != &::google::protobuf::internal::kEmptyString) { + if (chatmessage_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { chatmessage_->clear(); } clear_has_chatmessage(); } inline const ::std::string& CleanerChatRequestMessage::chatmessage() const { + // @@protoc_insertion_point(field_get:CleanerChatRequestMessage.chatMessage) return *chatmessage_; } inline void CleanerChatRequestMessage::set_chatmessage(const ::std::string& value) { set_has_chatmessage(); - if (chatmessage_ == &::google::protobuf::internal::kEmptyString) { + if (chatmessage_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { chatmessage_ = new ::std::string; } chatmessage_->assign(value); + // @@protoc_insertion_point(field_set:CleanerChatRequestMessage.chatMessage) } inline void CleanerChatRequestMessage::set_chatmessage(const char* value) { set_has_chatmessage(); - if (chatmessage_ == &::google::protobuf::internal::kEmptyString) { + if (chatmessage_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { chatmessage_ = new ::std::string; } chatmessage_->assign(value); + // @@protoc_insertion_point(field_set_char:CleanerChatRequestMessage.chatMessage) } inline void CleanerChatRequestMessage::set_chatmessage(const char* value, size_t size) { set_has_chatmessage(); - if (chatmessage_ == &::google::protobuf::internal::kEmptyString) { + if (chatmessage_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { chatmessage_ = new ::std::string; } chatmessage_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:CleanerChatRequestMessage.chatMessage) } inline ::std::string* CleanerChatRequestMessage::mutable_chatmessage() { set_has_chatmessage(); - if (chatmessage_ == &::google::protobuf::internal::kEmptyString) { + if (chatmessage_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { chatmessage_ = new ::std::string; } + // @@protoc_insertion_point(field_mutable:CleanerChatRequestMessage.chatMessage) return chatmessage_; } inline ::std::string* CleanerChatRequestMessage::release_chatmessage() { clear_has_chatmessage(); - if (chatmessage_ == &::google::protobuf::internal::kEmptyString) { + if (chatmessage_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = chatmessage_; - chatmessage_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + chatmessage_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void CleanerChatRequestMessage::set_allocated_chatmessage(::std::string* chatmessage) { - if (chatmessage_ != &::google::protobuf::internal::kEmptyString) { + if (chatmessage_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete chatmessage_; } if (chatmessage) { @@ -1131,8 +1206,9 @@ inline void CleanerChatRequestMessage::set_allocated_chatmessage(::std::string* chatmessage_ = chatmessage; } else { clear_has_chatmessage(); - chatmessage_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + chatmessage_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } + // @@protoc_insertion_point(field_set_allocated:CleanerChatRequestMessage.chatMessage) } // ------------------------------------------------------------------- @@ -1154,11 +1230,13 @@ inline void CleanerChatReplyMessage::clear_requestid() { clear_has_requestid(); } inline ::google::protobuf::uint32 CleanerChatReplyMessage::requestid() const { + // @@protoc_insertion_point(field_get:CleanerChatReplyMessage.requestId) return requestid_; } inline void CleanerChatReplyMessage::set_requestid(::google::protobuf::uint32 value) { set_has_requestid(); requestid_ = value; + // @@protoc_insertion_point(field_set:CleanerChatReplyMessage.requestId) } // required .CleanerChatType cleanerChatType = 2; @@ -1176,12 +1254,14 @@ inline void CleanerChatReplyMessage::clear_cleanerchattype() { clear_has_cleanerchattype(); } inline ::CleanerChatType CleanerChatReplyMessage::cleanerchattype() const { + // @@protoc_insertion_point(field_get:CleanerChatReplyMessage.cleanerChatType) return static_cast< ::CleanerChatType >(cleanerchattype_); } inline void CleanerChatReplyMessage::set_cleanerchattype(::CleanerChatType value) { assert(::CleanerChatType_IsValid(value)); set_has_cleanerchattype(); cleanerchattype_ = value; + // @@protoc_insertion_point(field_set:CleanerChatReplyMessage.cleanerChatType) } // optional uint32 gameId = 3 [default = 0]; @@ -1199,11 +1279,13 @@ inline void CleanerChatReplyMessage::clear_gameid() { clear_has_gameid(); } inline ::google::protobuf::uint32 CleanerChatReplyMessage::gameid() const { + // @@protoc_insertion_point(field_get:CleanerChatReplyMessage.gameId) return gameid_; } inline void CleanerChatReplyMessage::set_gameid(::google::protobuf::uint32 value) { set_has_gameid(); gameid_ = value; + // @@protoc_insertion_point(field_set:CleanerChatReplyMessage.gameId) } // required uint32 playerId = 4; @@ -1221,11 +1303,13 @@ inline void CleanerChatReplyMessage::clear_playerid() { clear_has_playerid(); } inline ::google::protobuf::uint32 CleanerChatReplyMessage::playerid() const { + // @@protoc_insertion_point(field_get:CleanerChatReplyMessage.playerId) return playerid_; } inline void CleanerChatReplyMessage::set_playerid(::google::protobuf::uint32 value) { set_has_playerid(); playerid_ = value; + // @@protoc_insertion_point(field_set:CleanerChatReplyMessage.playerId) } // required .CleanerChatReplyMessage.CleanerActionType cleanerActionType = 5; @@ -1243,12 +1327,14 @@ inline void CleanerChatReplyMessage::clear_cleaneractiontype() { clear_has_cleaneractiontype(); } inline ::CleanerChatReplyMessage_CleanerActionType CleanerChatReplyMessage::cleaneractiontype() const { + // @@protoc_insertion_point(field_get:CleanerChatReplyMessage.cleanerActionType) return static_cast< ::CleanerChatReplyMessage_CleanerActionType >(cleaneractiontype_); } inline void CleanerChatReplyMessage::set_cleaneractiontype(::CleanerChatReplyMessage_CleanerActionType value) { assert(::CleanerChatReplyMessage_CleanerActionType_IsValid(value)); set_has_cleaneractiontype(); cleaneractiontype_ = value; + // @@protoc_insertion_point(field_set:CleanerChatReplyMessage.cleanerActionType) } // optional string cleanerText = 6 [default = ""]; @@ -1262,54 +1348,59 @@ inline void CleanerChatReplyMessage::clear_has_cleanertext() { _has_bits_[0] &= ~0x00000020u; } inline void CleanerChatReplyMessage::clear_cleanertext() { - if (cleanertext_ != &::google::protobuf::internal::kEmptyString) { + if (cleanertext_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { cleanertext_->clear(); } clear_has_cleanertext(); } inline const ::std::string& CleanerChatReplyMessage::cleanertext() const { + // @@protoc_insertion_point(field_get:CleanerChatReplyMessage.cleanerText) return *cleanertext_; } inline void CleanerChatReplyMessage::set_cleanertext(const ::std::string& value) { set_has_cleanertext(); - if (cleanertext_ == &::google::protobuf::internal::kEmptyString) { + if (cleanertext_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { cleanertext_ = new ::std::string; } cleanertext_->assign(value); + // @@protoc_insertion_point(field_set:CleanerChatReplyMessage.cleanerText) } inline void CleanerChatReplyMessage::set_cleanertext(const char* value) { set_has_cleanertext(); - if (cleanertext_ == &::google::protobuf::internal::kEmptyString) { + if (cleanertext_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { cleanertext_ = new ::std::string; } cleanertext_->assign(value); + // @@protoc_insertion_point(field_set_char:CleanerChatReplyMessage.cleanerText) } inline void CleanerChatReplyMessage::set_cleanertext(const char* value, size_t size) { set_has_cleanertext(); - if (cleanertext_ == &::google::protobuf::internal::kEmptyString) { + if (cleanertext_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { cleanertext_ = new ::std::string; } cleanertext_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:CleanerChatReplyMessage.cleanerText) } inline ::std::string* CleanerChatReplyMessage::mutable_cleanertext() { set_has_cleanertext(); - if (cleanertext_ == &::google::protobuf::internal::kEmptyString) { + if (cleanertext_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { cleanertext_ = new ::std::string; } + // @@protoc_insertion_point(field_mutable:CleanerChatReplyMessage.cleanerText) return cleanertext_; } inline ::std::string* CleanerChatReplyMessage::release_cleanertext() { clear_has_cleanertext(); - if (cleanertext_ == &::google::protobuf::internal::kEmptyString) { + if (cleanertext_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = cleanertext_; - cleanertext_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + cleanertext_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void CleanerChatReplyMessage::set_allocated_cleanertext(::std::string* cleanertext) { - if (cleanertext_ != &::google::protobuf::internal::kEmptyString) { + if (cleanertext_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete cleanertext_; } if (cleanertext) { @@ -1317,8 +1408,9 @@ inline void CleanerChatReplyMessage::set_allocated_cleanertext(::std::string* cl cleanertext_ = cleanertext; } else { clear_has_cleanertext(); - cleanertext_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + cleanertext_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } + // @@protoc_insertion_point(field_set_allocated:CleanerChatReplyMessage.cleanerText) } // ------------------------------------------------------------------- @@ -1340,12 +1432,14 @@ inline void ChatCleanerMessage::clear_messagetype() { clear_has_messagetype(); } inline ::ChatCleanerMessage_ChatCleanerMessageType ChatCleanerMessage::messagetype() const { + // @@protoc_insertion_point(field_get:ChatCleanerMessage.messageType) return static_cast< ::ChatCleanerMessage_ChatCleanerMessageType >(messagetype_); } inline void ChatCleanerMessage::set_messagetype(::ChatCleanerMessage_ChatCleanerMessageType value) { assert(::ChatCleanerMessage_ChatCleanerMessageType_IsValid(value)); set_has_messagetype(); messagetype_ = value; + // @@protoc_insertion_point(field_set:ChatCleanerMessage.messageType) } // optional .CleanerInitMessage cleanerInitMessage = 2; @@ -1363,6 +1457,7 @@ inline void ChatCleanerMessage::clear_cleanerinitmessage() { clear_has_cleanerinitmessage(); } inline const ::CleanerInitMessage& ChatCleanerMessage::cleanerinitmessage() const { + // @@protoc_insertion_point(field_get:ChatCleanerMessage.cleanerInitMessage) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return cleanerinitmessage_ != NULL ? *cleanerinitmessage_ : *default_instance().cleanerinitmessage_; #else @@ -1372,6 +1467,7 @@ inline const ::CleanerInitMessage& ChatCleanerMessage::cleanerinitmessage() cons inline ::CleanerInitMessage* ChatCleanerMessage::mutable_cleanerinitmessage() { set_has_cleanerinitmessage(); if (cleanerinitmessage_ == NULL) cleanerinitmessage_ = new ::CleanerInitMessage; + // @@protoc_insertion_point(field_mutable:ChatCleanerMessage.cleanerInitMessage) return cleanerinitmessage_; } inline ::CleanerInitMessage* ChatCleanerMessage::release_cleanerinitmessage() { @@ -1388,6 +1484,7 @@ inline void ChatCleanerMessage::set_allocated_cleanerinitmessage(::CleanerInitMe } else { clear_has_cleanerinitmessage(); } + // @@protoc_insertion_point(field_set_allocated:ChatCleanerMessage.cleanerInitMessage) } // optional .CleanerInitAckMessage cleanerInitAckMessage = 3; @@ -1405,6 +1502,7 @@ inline void ChatCleanerMessage::clear_cleanerinitackmessage() { clear_has_cleanerinitackmessage(); } inline const ::CleanerInitAckMessage& ChatCleanerMessage::cleanerinitackmessage() const { + // @@protoc_insertion_point(field_get:ChatCleanerMessage.cleanerInitAckMessage) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return cleanerinitackmessage_ != NULL ? *cleanerinitackmessage_ : *default_instance().cleanerinitackmessage_; #else @@ -1414,6 +1512,7 @@ inline const ::CleanerInitAckMessage& ChatCleanerMessage::cleanerinitackmessage( inline ::CleanerInitAckMessage* ChatCleanerMessage::mutable_cleanerinitackmessage() { set_has_cleanerinitackmessage(); if (cleanerinitackmessage_ == NULL) cleanerinitackmessage_ = new ::CleanerInitAckMessage; + // @@protoc_insertion_point(field_mutable:ChatCleanerMessage.cleanerInitAckMessage) return cleanerinitackmessage_; } inline ::CleanerInitAckMessage* ChatCleanerMessage::release_cleanerinitackmessage() { @@ -1430,6 +1529,7 @@ inline void ChatCleanerMessage::set_allocated_cleanerinitackmessage(::CleanerIni } else { clear_has_cleanerinitackmessage(); } + // @@protoc_insertion_point(field_set_allocated:ChatCleanerMessage.cleanerInitAckMessage) } // optional .CleanerChatRequestMessage cleanerChatRequestMessage = 4; @@ -1447,6 +1547,7 @@ inline void ChatCleanerMessage::clear_cleanerchatrequestmessage() { clear_has_cleanerchatrequestmessage(); } inline const ::CleanerChatRequestMessage& ChatCleanerMessage::cleanerchatrequestmessage() const { + // @@protoc_insertion_point(field_get:ChatCleanerMessage.cleanerChatRequestMessage) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return cleanerchatrequestmessage_ != NULL ? *cleanerchatrequestmessage_ : *default_instance().cleanerchatrequestmessage_; #else @@ -1456,6 +1557,7 @@ inline const ::CleanerChatRequestMessage& ChatCleanerMessage::cleanerchatrequest inline ::CleanerChatRequestMessage* ChatCleanerMessage::mutable_cleanerchatrequestmessage() { set_has_cleanerchatrequestmessage(); if (cleanerchatrequestmessage_ == NULL) cleanerchatrequestmessage_ = new ::CleanerChatRequestMessage; + // @@protoc_insertion_point(field_mutable:ChatCleanerMessage.cleanerChatRequestMessage) return cleanerchatrequestmessage_; } inline ::CleanerChatRequestMessage* ChatCleanerMessage::release_cleanerchatrequestmessage() { @@ -1472,6 +1574,7 @@ inline void ChatCleanerMessage::set_allocated_cleanerchatrequestmessage(::Cleane } else { clear_has_cleanerchatrequestmessage(); } + // @@protoc_insertion_point(field_set_allocated:ChatCleanerMessage.cleanerChatRequestMessage) } // optional .CleanerChatReplyMessage cleanerChatReplyMessage = 5; @@ -1489,6 +1592,7 @@ inline void ChatCleanerMessage::clear_cleanerchatreplymessage() { clear_has_cleanerchatreplymessage(); } inline const ::CleanerChatReplyMessage& ChatCleanerMessage::cleanerchatreplymessage() const { + // @@protoc_insertion_point(field_get:ChatCleanerMessage.cleanerChatReplyMessage) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return cleanerchatreplymessage_ != NULL ? *cleanerchatreplymessage_ : *default_instance().cleanerchatreplymessage_; #else @@ -1498,6 +1602,7 @@ inline const ::CleanerChatReplyMessage& ChatCleanerMessage::cleanerchatreplymess inline ::CleanerChatReplyMessage* ChatCleanerMessage::mutable_cleanerchatreplymessage() { set_has_cleanerchatreplymessage(); if (cleanerchatreplymessage_ == NULL) cleanerchatreplymessage_ = new ::CleanerChatReplyMessage; + // @@protoc_insertion_point(field_mutable:ChatCleanerMessage.cleanerChatReplyMessage) return cleanerchatreplymessage_; } inline ::CleanerChatReplyMessage* ChatCleanerMessage::release_cleanerchatreplymessage() { @@ -1514,6 +1619,7 @@ inline void ChatCleanerMessage::set_allocated_cleanerchatreplymessage(::CleanerC } else { clear_has_cleanerchatreplymessage(); } + // @@protoc_insertion_point(field_set_allocated:ChatCleanerMessage.cleanerChatReplyMessage) } diff --git a/src/third_party/protobuf/pokerth.pb.cc b/src/third_party/protobuf/pokerth.pb.cc index 7997ef06..d5063ed2 100644 --- a/src/third_party/protobuf/pokerth.pb.cc +++ b/src/third_party/protobuf/pokerth.pb.cc @@ -10,6 +10,7 @@ #include #include #include +#include // @@protoc_insertion_point(includes) void protobuf_ShutdownFile_pokerth_2eproto() { @@ -306,7 +307,7 @@ void protobuf_AddDesc_pokerth_2eproto() { #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AddDesc_pokerth_2eproto_once_); void protobuf_AddDesc_pokerth_2eproto() { - ::google::protobuf::::google::protobuf::GoogleOnceInit(&protobuf_AddDesc_pokerth_2eproto_once_, + ::google::protobuf::GoogleOnceInit(&protobuf_AddDesc_pokerth_2eproto_once_, &protobuf_AddDesc_pokerth_2eproto_impl); } #else @@ -471,6 +472,7 @@ const int NetGameInfo::kAllowSpectatorsFieldNumber; NetGameInfo::NetGameInfo() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:NetGameInfo) } void NetGameInfo::InitAsDefaultInstance() { @@ -480,11 +482,13 @@ NetGameInfo::NetGameInfo(const NetGameInfo& from) : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:NetGameInfo) } void NetGameInfo::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); _cached_size_ = 0; - gamename_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + gamename_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); netgametype_ = 1; maxnumplayers_ = 0u; raiseintervalmode_ = 1; @@ -502,11 +506,12 @@ void NetGameInfo::SharedCtor() { } NetGameInfo::~NetGameInfo() { + // @@protoc_insertion_point(destructor:NetGameInfo) SharedDtor(); } void NetGameInfo::SharedDtor() { - if (gamename_ != &::google::protobuf::internal::kEmptyString) { + if (gamename_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete gamename_; } #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -538,46 +543,63 @@ NetGameInfo* NetGameInfo::New() const { } void NetGameInfo::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { +#define OFFSET_OF_FIELD_(f) (reinterpret_cast( \ + &reinterpret_cast(16)->f) - \ + reinterpret_cast(16)) + +#define ZR_(first, last) do { \ + size_t f = OFFSET_OF_FIELD_(first); \ + size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \ + ::memset(&first, 0, n); \ + } while (0) + + if (_has_bits_[0 / 32] & 255) { + ZR_(raiseeveryhands_, raiseeveryminutes_); if (has_gamename()) { - if (gamename_ != &::google::protobuf::internal::kEmptyString) { + if (gamename_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { gamename_->clear(); } } netgametype_ = 1; maxnumplayers_ = 0u; raiseintervalmode_ = 1; - raiseeveryhands_ = 0u; - raiseeveryminutes_ = 0u; endraisemode_ = 1; endraisesmallblindvalue_ = 0u; } - if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) { - proposedguispeed_ = 0u; - delaybetweenhands_ = 0u; - playeractiontimeout_ = 0u; - firstsmallblind_ = 0u; - startmoney_ = 0u; + if (_has_bits_[8 / 32] & 24320) { + ZR_(proposedguispeed_, startmoney_); allowspectators_ = true; } + +#undef OFFSET_OF_FIELD_ +#undef ZR_ + manualblinds_.Clear(); ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool NetGameInfo::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:NetGameInfo) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required string gameName = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 10) { DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_gamename())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(16)) goto parse_netGameType; break; @@ -585,8 +607,7 @@ bool NetGameInfo::MergePartialFromCodedStream( // required .NetGameInfo.NetGameType netGameType = 2; case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 16) { parse_netGameType: int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< @@ -594,9 +615,12 @@ bool NetGameInfo::MergePartialFromCodedStream( input, &value))); if (::NetGameInfo_NetGameType_IsValid(value)) { set_netgametype(static_cast< ::NetGameInfo_NetGameType >(value)); + } else { + unknown_fields_stream.WriteVarint32(tag); + unknown_fields_stream.WriteVarint32(value); } } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(24)) goto parse_maxNumPlayers; break; @@ -604,15 +628,14 @@ bool NetGameInfo::MergePartialFromCodedStream( // required uint32 maxNumPlayers = 3; case 3: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 24) { parse_maxNumPlayers: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &maxnumplayers_))); set_has_maxnumplayers(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(32)) goto parse_raiseIntervalMode; break; @@ -620,8 +643,7 @@ bool NetGameInfo::MergePartialFromCodedStream( // required .NetGameInfo.RaiseIntervalMode raiseIntervalMode = 4; case 4: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 32) { parse_raiseIntervalMode: int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< @@ -629,9 +651,12 @@ bool NetGameInfo::MergePartialFromCodedStream( input, &value))); if (::NetGameInfo_RaiseIntervalMode_IsValid(value)) { set_raiseintervalmode(static_cast< ::NetGameInfo_RaiseIntervalMode >(value)); + } else { + unknown_fields_stream.WriteVarint32(tag); + unknown_fields_stream.WriteVarint32(value); } } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(40)) goto parse_raiseEveryHands; break; @@ -639,15 +664,14 @@ bool NetGameInfo::MergePartialFromCodedStream( // optional uint32 raiseEveryHands = 5; case 5: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 40) { parse_raiseEveryHands: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &raiseeveryhands_))); set_has_raiseeveryhands(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(48)) goto parse_raiseEveryMinutes; break; @@ -655,15 +679,14 @@ bool NetGameInfo::MergePartialFromCodedStream( // optional uint32 raiseEveryMinutes = 6; case 6: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 48) { parse_raiseEveryMinutes: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &raiseeveryminutes_))); set_has_raiseeveryminutes(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(56)) goto parse_endRaiseMode; break; @@ -671,8 +694,7 @@ bool NetGameInfo::MergePartialFromCodedStream( // required .NetGameInfo.EndRaiseMode endRaiseMode = 7; case 7: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 56) { parse_endRaiseMode: int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< @@ -680,9 +702,12 @@ bool NetGameInfo::MergePartialFromCodedStream( input, &value))); if (::NetGameInfo_EndRaiseMode_IsValid(value)) { set_endraisemode(static_cast< ::NetGameInfo_EndRaiseMode >(value)); + } else { + unknown_fields_stream.WriteVarint32(tag); + unknown_fields_stream.WriteVarint32(value); } } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(64)) goto parse_endRaiseSmallBlindValue; break; @@ -690,15 +715,14 @@ bool NetGameInfo::MergePartialFromCodedStream( // optional uint32 endRaiseSmallBlindValue = 8; case 8: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 64) { parse_endRaiseSmallBlindValue: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &endraisesmallblindvalue_))); set_has_endraisesmallblindvalue(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(72)) goto parse_proposedGuiSpeed; break; @@ -706,15 +730,14 @@ bool NetGameInfo::MergePartialFromCodedStream( // required uint32 proposedGuiSpeed = 9; case 9: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 72) { parse_proposedGuiSpeed: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &proposedguispeed_))); set_has_proposedguispeed(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(80)) goto parse_delayBetweenHands; break; @@ -722,15 +745,14 @@ bool NetGameInfo::MergePartialFromCodedStream( // required uint32 delayBetweenHands = 10; case 10: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 80) { parse_delayBetweenHands: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &delaybetweenhands_))); set_has_delaybetweenhands(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(88)) goto parse_playerActionTimeout; break; @@ -738,15 +760,14 @@ bool NetGameInfo::MergePartialFromCodedStream( // required uint32 playerActionTimeout = 11; case 11: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 88) { parse_playerActionTimeout: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &playeractiontimeout_))); set_has_playeractiontimeout(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(96)) goto parse_firstSmallBlind; break; @@ -754,15 +775,14 @@ bool NetGameInfo::MergePartialFromCodedStream( // required uint32 firstSmallBlind = 12; case 12: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 96) { parse_firstSmallBlind: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &firstsmallblind_))); set_has_firstsmallblind(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(104)) goto parse_startMoney; break; @@ -770,15 +790,14 @@ bool NetGameInfo::MergePartialFromCodedStream( // required uint32 startMoney = 13; case 13: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 104) { parse_startMoney: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &startmoney_))); set_has_startmoney(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(114)) goto parse_manualBlinds; break; @@ -786,20 +805,17 @@ bool NetGameInfo::MergePartialFromCodedStream( // repeated uint32 manualBlinds = 14 [packed = true]; case 14: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 114) { parse_manualBlinds: DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, this->mutable_manualblinds()))); - } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) - == ::google::protobuf::internal::WireFormatLite:: - WIRETYPE_VARINT) { + } else if (tag == 112) { DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitiveNoInline< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( 1, 114, input, this->mutable_manualblinds()))); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(120)) goto parse_allowSpectators; break; @@ -807,40 +823,47 @@ bool NetGameInfo::MergePartialFromCodedStream( // optional bool allowSpectators = 15 [default = true]; case 15: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 120) { parse_allowSpectators: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( input, &allowspectators_))); set_has_allowspectators(); } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:NetGameInfo) return true; +failure: + // @@protoc_insertion_point(parse_failure:NetGameInfo) + return false; #undef DO_ } void NetGameInfo::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:NetGameInfo) // required string gameName = 1; if (has_gamename()) { - ::google::protobuf::internal::WireFormatLite::WriteString( + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 1, this->gamename(), output); } @@ -922,6 +945,9 @@ void NetGameInfo::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::WriteBool(15, this->allowspectators(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:NetGameInfo) } int NetGameInfo::ByteSize() const { @@ -1041,6 +1067,8 @@ int NetGameInfo::ByteSize() const { total_size += data_size; } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -1101,6 +1129,7 @@ void NetGameInfo::MergeFrom(const NetGameInfo& from) { set_allowspectators(from.allowspectators()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void NetGameInfo::CopyFrom(const NetGameInfo& from) { @@ -1133,6 +1162,7 @@ void NetGameInfo::Swap(NetGameInfo* other) { manualblinds_.Swap(&other->manualblinds_); std::swap(allowspectators_, other->allowspectators_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -1157,6 +1187,7 @@ const int PlayerResult::kCardsValueFieldNumber; PlayerResult::PlayerResult() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:PlayerResult) } void PlayerResult::InitAsDefaultInstance() { @@ -1166,6 +1197,7 @@ PlayerResult::PlayerResult(const PlayerResult& from) : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:PlayerResult) } void PlayerResult::SharedCtor() { @@ -1180,6 +1212,7 @@ void PlayerResult::SharedCtor() { } PlayerResult::~PlayerResult() { + // @@protoc_insertion_point(destructor:PlayerResult) SharedDtor(); } @@ -1213,34 +1246,52 @@ PlayerResult* PlayerResult::New() const { } void PlayerResult::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - playerid_ = 0u; - resultcard1_ = 0u; - resultcard2_ = 0u; - moneywon_ = 0u; - playermoney_ = 0u; - cardsvalue_ = 0u; +#define OFFSET_OF_FIELD_(f) (reinterpret_cast( \ + &reinterpret_cast(16)->f) - \ + reinterpret_cast(16)) + +#define ZR_(first, last) do { \ + size_t f = OFFSET_OF_FIELD_(first); \ + size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \ + ::memset(&first, 0, n); \ + } while (0) + + if (_has_bits_[0 / 32] & 119) { + ZR_(playerid_, resultcard1_); + ZR_(resultcard2_, cardsvalue_); } + +#undef OFFSET_OF_FIELD_ +#undef ZR_ + besthandposition_.Clear(); ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool PlayerResult::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:PlayerResult) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required uint32 playerId = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 8) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &playerid_))); set_has_playerid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(16)) goto parse_resultCard1; break; @@ -1248,15 +1299,14 @@ bool PlayerResult::MergePartialFromCodedStream( // required uint32 resultCard1 = 2; case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 16) { parse_resultCard1: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &resultcard1_))); set_has_resultcard1(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(24)) goto parse_resultCard2; break; @@ -1264,15 +1314,14 @@ bool PlayerResult::MergePartialFromCodedStream( // required uint32 resultCard2 = 3; case 3: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 24) { parse_resultCard2: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &resultcard2_))); set_has_resultcard2(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(34)) goto parse_bestHandPosition; break; @@ -1280,20 +1329,17 @@ bool PlayerResult::MergePartialFromCodedStream( // repeated uint32 bestHandPosition = 4 [packed = true]; case 4: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 34) { parse_bestHandPosition: DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, this->mutable_besthandposition()))); - } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) - == ::google::protobuf::internal::WireFormatLite:: - WIRETYPE_VARINT) { + } else if (tag == 32) { DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitiveNoInline< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( 1, 34, input, this->mutable_besthandposition()))); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(40)) goto parse_moneyWon; break; @@ -1301,15 +1347,14 @@ bool PlayerResult::MergePartialFromCodedStream( // required uint32 moneyWon = 5; case 5: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 40) { parse_moneyWon: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &moneywon_))); set_has_moneywon(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(48)) goto parse_playerMoney; break; @@ -1317,15 +1362,14 @@ bool PlayerResult::MergePartialFromCodedStream( // required uint32 playerMoney = 6; case 6: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 48) { parse_playerMoney: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &playermoney_))); set_has_playermoney(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(56)) goto parse_cardsValue; break; @@ -1333,37 +1377,44 @@ bool PlayerResult::MergePartialFromCodedStream( // optional uint32 cardsValue = 7; case 7: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 56) { parse_cardsValue: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &cardsvalue_))); set_has_cardsvalue(); } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:PlayerResult) return true; +failure: + // @@protoc_insertion_point(parse_failure:PlayerResult) + return false; #undef DO_ } void PlayerResult::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:PlayerResult) // required uint32 playerId = 1; if (has_playerid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->playerid(), output); @@ -1404,6 +1455,9 @@ void PlayerResult::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::WriteUInt32(7, this->cardsvalue(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:PlayerResult) } int PlayerResult::ByteSize() const { @@ -1470,6 +1524,8 @@ int PlayerResult::ByteSize() const { total_size += data_size; } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -1504,6 +1560,7 @@ void PlayerResult::MergeFrom(const PlayerResult& from) { set_cardsvalue(from.cardsvalue()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void PlayerResult::CopyFrom(const PlayerResult& from) { @@ -1528,6 +1585,7 @@ void PlayerResult::Swap(PlayerResult* other) { std::swap(playermoney_, other->playermoney_); std::swap(cardsvalue_, other->cardsvalue_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -1566,6 +1624,7 @@ const int AnnounceMessage_Version::kMinorVersionFieldNumber; AnnounceMessage_Version::AnnounceMessage_Version() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:AnnounceMessage.Version) } void AnnounceMessage_Version::InitAsDefaultInstance() { @@ -1575,6 +1634,7 @@ AnnounceMessage_Version::AnnounceMessage_Version(const AnnounceMessage_Version& : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:AnnounceMessage.Version) } void AnnounceMessage_Version::SharedCtor() { @@ -1585,6 +1645,7 @@ void AnnounceMessage_Version::SharedCtor() { } AnnounceMessage_Version::~AnnounceMessage_Version() { + // @@protoc_insertion_point(destructor:AnnounceMessage.Version) SharedDtor(); } @@ -1618,29 +1679,48 @@ AnnounceMessage_Version* AnnounceMessage_Version::New() const { } void AnnounceMessage_Version::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - majorversion_ = 0u; - minorversion_ = 0u; - } +#define OFFSET_OF_FIELD_(f) (reinterpret_cast( \ + &reinterpret_cast(16)->f) - \ + reinterpret_cast(16)) + +#define ZR_(first, last) do { \ + size_t f = OFFSET_OF_FIELD_(first); \ + size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \ + ::memset(&first, 0, n); \ + } while (0) + + ZR_(majorversion_, minorversion_); + +#undef OFFSET_OF_FIELD_ +#undef ZR_ + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool AnnounceMessage_Version::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:AnnounceMessage.Version) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required uint32 majorVersion = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 8) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &majorversion_))); set_has_majorversion(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(16)) goto parse_minorVersion; break; @@ -1648,37 +1728,44 @@ bool AnnounceMessage_Version::MergePartialFromCodedStream( // required uint32 minorVersion = 2; case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 16) { parse_minorVersion: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &minorversion_))); set_has_minorversion(); } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:AnnounceMessage.Version) return true; +failure: + // @@protoc_insertion_point(parse_failure:AnnounceMessage.Version) + return false; #undef DO_ } void AnnounceMessage_Version::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:AnnounceMessage.Version) // required uint32 majorVersion = 1; if (has_majorversion()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->majorversion(), output); @@ -1689,6 +1776,9 @@ void AnnounceMessage_Version::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->minorversion(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:AnnounceMessage.Version) } int AnnounceMessage_Version::ByteSize() const { @@ -1710,6 +1800,8 @@ int AnnounceMessage_Version::ByteSize() const { } } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -1731,6 +1823,7 @@ void AnnounceMessage_Version::MergeFrom(const AnnounceMessage_Version& from) { set_minorversion(from.minorversion()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void AnnounceMessage_Version::CopyFrom(const AnnounceMessage_Version& from) { @@ -1750,6 +1843,7 @@ void AnnounceMessage_Version::Swap(AnnounceMessage_Version* other) { std::swap(majorversion_, other->majorversion_); std::swap(minorversion_, other->minorversion_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -1772,6 +1866,7 @@ const int AnnounceMessage::kNumPlayersOnServerFieldNumber; AnnounceMessage::AnnounceMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:AnnounceMessage) } void AnnounceMessage::InitAsDefaultInstance() { @@ -1793,6 +1888,7 @@ AnnounceMessage::AnnounceMessage(const AnnounceMessage& from) : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:AnnounceMessage) } void AnnounceMessage::SharedCtor() { @@ -1806,6 +1902,7 @@ void AnnounceMessage::SharedCtor() { } AnnounceMessage::~AnnounceMessage() { + // @@protoc_insertion_point(destructor:AnnounceMessage) SharedDtor(); } @@ -1841,34 +1938,54 @@ AnnounceMessage* AnnounceMessage::New() const { } void AnnounceMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { +#define OFFSET_OF_FIELD_(f) (reinterpret_cast( \ + &reinterpret_cast(16)->f) - \ + reinterpret_cast(16)) + +#define ZR_(first, last) do { \ + size_t f = OFFSET_OF_FIELD_(first); \ + size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \ + ::memset(&first, 0, n); \ + } while (0) + + if (_has_bits_[0 / 32] & 31) { + ZR_(latestbetarevision_, numplayersonserver_); if (has_protocolversion()) { if (protocolversion_ != NULL) protocolversion_->::AnnounceMessage_Version::Clear(); } if (has_latestgameversion()) { if (latestgameversion_ != NULL) latestgameversion_->::AnnounceMessage_Version::Clear(); } - latestbetarevision_ = 0u; - servertype_ = 0; - numplayersonserver_ = 0u; } + +#undef OFFSET_OF_FIELD_ +#undef ZR_ + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool AnnounceMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:AnnounceMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required .AnnounceMessage.Version protocolVersion = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 10) { DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_protocolversion())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(18)) goto parse_latestGameVersion; break; @@ -1876,13 +1993,12 @@ bool AnnounceMessage::MergePartialFromCodedStream( // required .AnnounceMessage.Version latestGameVersion = 2; case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 18) { parse_latestGameVersion: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_latestgameversion())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(24)) goto parse_latestBetaRevision; break; @@ -1890,15 +2006,14 @@ bool AnnounceMessage::MergePartialFromCodedStream( // required uint32 latestBetaRevision = 3; case 3: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 24) { parse_latestBetaRevision: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &latestbetarevision_))); set_has_latestbetarevision(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(32)) goto parse_serverType; break; @@ -1906,8 +2021,7 @@ bool AnnounceMessage::MergePartialFromCodedStream( // required .AnnounceMessage.ServerType serverType = 4; case 4: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 32) { parse_serverType: int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< @@ -1915,9 +2029,12 @@ bool AnnounceMessage::MergePartialFromCodedStream( input, &value))); if (::AnnounceMessage_ServerType_IsValid(value)) { set_servertype(static_cast< ::AnnounceMessage_ServerType >(value)); + } else { + unknown_fields_stream.WriteVarint32(tag); + unknown_fields_stream.WriteVarint32(value); } } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(40)) goto parse_numPlayersOnServer; break; @@ -1925,37 +2042,44 @@ bool AnnounceMessage::MergePartialFromCodedStream( // required uint32 numPlayersOnServer = 5; case 5: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 40) { parse_numPlayersOnServer: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &numplayersonserver_))); set_has_numplayersonserver(); } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:AnnounceMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:AnnounceMessage) + return false; #undef DO_ } void AnnounceMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:AnnounceMessage) // required .AnnounceMessage.Version protocolVersion = 1; if (has_protocolversion()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( @@ -1984,6 +2108,9 @@ void AnnounceMessage::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::WriteUInt32(5, this->numplayersonserver(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:AnnounceMessage) } int AnnounceMessage::ByteSize() const { @@ -2025,6 +2152,8 @@ int AnnounceMessage::ByteSize() const { } } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -2055,6 +2184,7 @@ void AnnounceMessage::MergeFrom(const AnnounceMessage& from) { set_numplayersonserver(from.numplayersonserver()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void AnnounceMessage::CopyFrom(const AnnounceMessage& from) { @@ -2083,6 +2213,7 @@ void AnnounceMessage::Swap(AnnounceMessage* other) { std::swap(servertype_, other->servertype_); std::swap(numplayersonserver_, other->numplayersonserver_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -2127,6 +2258,7 @@ const int InitMessage::kAvatarHashFieldNumber; InitMessage::InitMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:InitMessage) } void InitMessage::InitAsDefaultInstance() { @@ -2142,39 +2274,42 @@ InitMessage::InitMessage(const InitMessage& from) : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:InitMessage) } void InitMessage::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); _cached_size_ = 0; requestedversion_ = NULL; buildid_ = 0u; - mylastsessionid_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); - authserverpassword_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + mylastsessionid_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + authserverpassword_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); login_ = 0; - nickname_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); - clientuserdata_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); - avatarhash_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + nickname_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + clientuserdata_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + avatarhash_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); ::memset(_has_bits_, 0, sizeof(_has_bits_)); } InitMessage::~InitMessage() { + // @@protoc_insertion_point(destructor:InitMessage) SharedDtor(); } void InitMessage::SharedDtor() { - if (mylastsessionid_ != &::google::protobuf::internal::kEmptyString) { + if (mylastsessionid_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete mylastsessionid_; } - if (authserverpassword_ != &::google::protobuf::internal::kEmptyString) { + if (authserverpassword_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete authserverpassword_; } - if (nickname_ != &::google::protobuf::internal::kEmptyString) { + if (nickname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete nickname_; } - if (clientuserdata_ != &::google::protobuf::internal::kEmptyString) { + if (clientuserdata_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete clientuserdata_; } - if (avatarhash_ != &::google::protobuf::internal::kEmptyString) { + if (avatarhash_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete avatarhash_; } #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -2207,55 +2342,76 @@ InitMessage* InitMessage::New() const { } void InitMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { +#define OFFSET_OF_FIELD_(f) (reinterpret_cast( \ + &reinterpret_cast(16)->f) - \ + reinterpret_cast(16)) + +#define ZR_(first, last) do { \ + size_t f = OFFSET_OF_FIELD_(first); \ + size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \ + ::memset(&first, 0, n); \ + } while (0) + + if (_has_bits_[0 / 32] & 255) { + ZR_(buildid_, login_); if (has_requestedversion()) { if (requestedversion_ != NULL) requestedversion_->::AnnounceMessage_Version::Clear(); } - buildid_ = 0u; if (has_mylastsessionid()) { - if (mylastsessionid_ != &::google::protobuf::internal::kEmptyString) { + if (mylastsessionid_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { mylastsessionid_->clear(); } } if (has_authserverpassword()) { - if (authserverpassword_ != &::google::protobuf::internal::kEmptyString) { + if (authserverpassword_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { authserverpassword_->clear(); } } - login_ = 0; if (has_nickname()) { - if (nickname_ != &::google::protobuf::internal::kEmptyString) { + if (nickname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { nickname_->clear(); } } if (has_clientuserdata()) { - if (clientuserdata_ != &::google::protobuf::internal::kEmptyString) { + if (clientuserdata_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { clientuserdata_->clear(); } } if (has_avatarhash()) { - if (avatarhash_ != &::google::protobuf::internal::kEmptyString) { + if (avatarhash_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { avatarhash_->clear(); } } } + +#undef OFFSET_OF_FIELD_ +#undef ZR_ + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool InitMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:InitMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required .AnnounceMessage.Version requestedVersion = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 10) { DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_requestedversion())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(16)) goto parse_buildId; break; @@ -2263,15 +2419,14 @@ bool InitMessage::MergePartialFromCodedStream( // required uint32 buildId = 2; case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 16) { parse_buildId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &buildid_))); set_has_buildid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(26)) goto parse_myLastSessionId; break; @@ -2279,13 +2434,12 @@ bool InitMessage::MergePartialFromCodedStream( // optional bytes myLastSessionId = 3; case 3: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 26) { parse_myLastSessionId: DO_(::google::protobuf::internal::WireFormatLite::ReadBytes( input, this->mutable_mylastsessionid())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(34)) goto parse_authServerPassword; break; @@ -2293,13 +2447,12 @@ bool InitMessage::MergePartialFromCodedStream( // optional string authServerPassword = 4; case 4: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 34) { parse_authServerPassword: DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_authserverpassword())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(40)) goto parse_login; break; @@ -2307,8 +2460,7 @@ bool InitMessage::MergePartialFromCodedStream( // required .InitMessage.LoginType login = 5; case 5: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 40) { parse_login: int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< @@ -2316,9 +2468,12 @@ bool InitMessage::MergePartialFromCodedStream( input, &value))); if (::InitMessage_LoginType_IsValid(value)) { set_login(static_cast< ::InitMessage_LoginType >(value)); + } else { + unknown_fields_stream.WriteVarint32(tag); + unknown_fields_stream.WriteVarint32(value); } } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(50)) goto parse_nickName; break; @@ -2326,13 +2481,12 @@ bool InitMessage::MergePartialFromCodedStream( // optional string nickName = 6; case 6: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 50) { parse_nickName: DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_nickname())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(58)) goto parse_clientUserData; break; @@ -2340,13 +2494,12 @@ bool InitMessage::MergePartialFromCodedStream( // optional bytes clientUserData = 7; case 7: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 58) { parse_clientUserData: DO_(::google::protobuf::internal::WireFormatLite::ReadBytes( input, this->mutable_clientuserdata())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(66)) goto parse_avatarHash; break; @@ -2354,35 +2507,42 @@ bool InitMessage::MergePartialFromCodedStream( // optional bytes avatarHash = 8; case 8: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 66) { parse_avatarHash: DO_(::google::protobuf::internal::WireFormatLite::ReadBytes( input, this->mutable_avatarhash())); } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:InitMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:InitMessage) + return false; #undef DO_ } void InitMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:InitMessage) // required .AnnounceMessage.Version requestedVersion = 1; if (has_requestedversion()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( @@ -2396,13 +2556,13 @@ void InitMessage::SerializeWithCachedSizes( // optional bytes myLastSessionId = 3; if (has_mylastsessionid()) { - ::google::protobuf::internal::WireFormatLite::WriteBytes( + ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased( 3, this->mylastsessionid(), output); } // optional string authServerPassword = 4; if (has_authserverpassword()) { - ::google::protobuf::internal::WireFormatLite::WriteString( + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 4, this->authserverpassword(), output); } @@ -2414,22 +2574,25 @@ void InitMessage::SerializeWithCachedSizes( // optional string nickName = 6; if (has_nickname()) { - ::google::protobuf::internal::WireFormatLite::WriteString( + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 6, this->nickname(), output); } // optional bytes clientUserData = 7; if (has_clientuserdata()) { - ::google::protobuf::internal::WireFormatLite::WriteBytes( + ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased( 7, this->clientuserdata(), output); } // optional bytes avatarHash = 8; if (has_avatarhash()) { - ::google::protobuf::internal::WireFormatLite::WriteBytes( + ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased( 8, this->avatarhash(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:InitMessage) } int InitMessage::ByteSize() const { @@ -2492,6 +2655,8 @@ int InitMessage::ByteSize() const { } } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -2531,6 +2696,7 @@ void InitMessage::MergeFrom(const InitMessage& from) { set_avatarhash(from.avatarhash()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void InitMessage::CopyFrom(const InitMessage& from) { @@ -2559,6 +2725,7 @@ void InitMessage::Swap(InitMessage* other) { std::swap(clientuserdata_, other->clientuserdata_); std::swap(avatarhash_, other->avatarhash_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -2577,6 +2744,7 @@ const int AuthServerChallengeMessage::kServerChallengeFieldNumber; AuthServerChallengeMessage::AuthServerChallengeMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:AuthServerChallengeMessage) } void AuthServerChallengeMessage::InitAsDefaultInstance() { @@ -2586,20 +2754,23 @@ AuthServerChallengeMessage::AuthServerChallengeMessage(const AuthServerChallenge : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:AuthServerChallengeMessage) } void AuthServerChallengeMessage::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); _cached_size_ = 0; - serverchallenge_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + serverchallenge_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); ::memset(_has_bits_, 0, sizeof(_has_bits_)); } AuthServerChallengeMessage::~AuthServerChallengeMessage() { + // @@protoc_insertion_point(destructor:AuthServerChallengeMessage) SharedDtor(); } void AuthServerChallengeMessage::SharedDtor() { - if (serverchallenge_ != &::google::protobuf::internal::kEmptyString) { + if (serverchallenge_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete serverchallenge_; } #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -2631,58 +2802,75 @@ AuthServerChallengeMessage* AuthServerChallengeMessage::New() const { } void AuthServerChallengeMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - if (has_serverchallenge()) { - if (serverchallenge_ != &::google::protobuf::internal::kEmptyString) { - serverchallenge_->clear(); - } + if (has_serverchallenge()) { + if (serverchallenge_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + serverchallenge_->clear(); } } ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool AuthServerChallengeMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:AuthServerChallengeMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required bytes serverChallenge = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 10) { DO_(::google::protobuf::internal::WireFormatLite::ReadBytes( input, this->mutable_serverchallenge())); } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:AuthServerChallengeMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:AuthServerChallengeMessage) + return false; #undef DO_ } void AuthServerChallengeMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:AuthServerChallengeMessage) // required bytes serverChallenge = 1; if (has_serverchallenge()) { - ::google::protobuf::internal::WireFormatLite::WriteBytes( + ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased( 1, this->serverchallenge(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:AuthServerChallengeMessage) } int AuthServerChallengeMessage::ByteSize() const { @@ -2697,6 +2885,8 @@ int AuthServerChallengeMessage::ByteSize() const { } } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -2715,6 +2905,7 @@ void AuthServerChallengeMessage::MergeFrom(const AuthServerChallengeMessage& fro set_serverchallenge(from.serverchallenge()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void AuthServerChallengeMessage::CopyFrom(const AuthServerChallengeMessage& from) { @@ -2733,6 +2924,7 @@ void AuthServerChallengeMessage::Swap(AuthServerChallengeMessage* other) { if (other != this) { std::swap(serverchallenge_, other->serverchallenge_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -2751,6 +2943,7 @@ const int AuthClientResponseMessage::kClientResponseFieldNumber; AuthClientResponseMessage::AuthClientResponseMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:AuthClientResponseMessage) } void AuthClientResponseMessage::InitAsDefaultInstance() { @@ -2760,20 +2953,23 @@ AuthClientResponseMessage::AuthClientResponseMessage(const AuthClientResponseMes : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:AuthClientResponseMessage) } void AuthClientResponseMessage::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); _cached_size_ = 0; - clientresponse_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + clientresponse_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); ::memset(_has_bits_, 0, sizeof(_has_bits_)); } AuthClientResponseMessage::~AuthClientResponseMessage() { + // @@protoc_insertion_point(destructor:AuthClientResponseMessage) SharedDtor(); } void AuthClientResponseMessage::SharedDtor() { - if (clientresponse_ != &::google::protobuf::internal::kEmptyString) { + if (clientresponse_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete clientresponse_; } #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -2805,58 +3001,75 @@ AuthClientResponseMessage* AuthClientResponseMessage::New() const { } void AuthClientResponseMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - if (has_clientresponse()) { - if (clientresponse_ != &::google::protobuf::internal::kEmptyString) { - clientresponse_->clear(); - } + if (has_clientresponse()) { + if (clientresponse_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + clientresponse_->clear(); } } ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool AuthClientResponseMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:AuthClientResponseMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required bytes clientResponse = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 10) { DO_(::google::protobuf::internal::WireFormatLite::ReadBytes( input, this->mutable_clientresponse())); } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:AuthClientResponseMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:AuthClientResponseMessage) + return false; #undef DO_ } void AuthClientResponseMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:AuthClientResponseMessage) // required bytes clientResponse = 1; if (has_clientresponse()) { - ::google::protobuf::internal::WireFormatLite::WriteBytes( + ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased( 1, this->clientresponse(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:AuthClientResponseMessage) } int AuthClientResponseMessage::ByteSize() const { @@ -2871,6 +3084,8 @@ int AuthClientResponseMessage::ByteSize() const { } } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -2889,6 +3104,7 @@ void AuthClientResponseMessage::MergeFrom(const AuthClientResponseMessage& from) set_clientresponse(from.clientresponse()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void AuthClientResponseMessage::CopyFrom(const AuthClientResponseMessage& from) { @@ -2907,6 +3123,7 @@ void AuthClientResponseMessage::Swap(AuthClientResponseMessage* other) { if (other != this) { std::swap(clientresponse_, other->clientresponse_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -2925,6 +3142,7 @@ const int AuthServerVerificationMessage::kServerVerificationFieldNumber; AuthServerVerificationMessage::AuthServerVerificationMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:AuthServerVerificationMessage) } void AuthServerVerificationMessage::InitAsDefaultInstance() { @@ -2934,20 +3152,23 @@ AuthServerVerificationMessage::AuthServerVerificationMessage(const AuthServerVer : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:AuthServerVerificationMessage) } void AuthServerVerificationMessage::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); _cached_size_ = 0; - serververification_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + serververification_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); ::memset(_has_bits_, 0, sizeof(_has_bits_)); } AuthServerVerificationMessage::~AuthServerVerificationMessage() { + // @@protoc_insertion_point(destructor:AuthServerVerificationMessage) SharedDtor(); } void AuthServerVerificationMessage::SharedDtor() { - if (serververification_ != &::google::protobuf::internal::kEmptyString) { + if (serververification_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete serververification_; } #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -2979,58 +3200,75 @@ AuthServerVerificationMessage* AuthServerVerificationMessage::New() const { } void AuthServerVerificationMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - if (has_serververification()) { - if (serververification_ != &::google::protobuf::internal::kEmptyString) { - serververification_->clear(); - } + if (has_serververification()) { + if (serververification_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + serververification_->clear(); } } ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool AuthServerVerificationMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:AuthServerVerificationMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required bytes serverVerification = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 10) { DO_(::google::protobuf::internal::WireFormatLite::ReadBytes( input, this->mutable_serververification())); } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:AuthServerVerificationMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:AuthServerVerificationMessage) + return false; #undef DO_ } void AuthServerVerificationMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:AuthServerVerificationMessage) // required bytes serverVerification = 1; if (has_serververification()) { - ::google::protobuf::internal::WireFormatLite::WriteBytes( + ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased( 1, this->serververification(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:AuthServerVerificationMessage) } int AuthServerVerificationMessage::ByteSize() const { @@ -3045,6 +3283,8 @@ int AuthServerVerificationMessage::ByteSize() const { } } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -3063,6 +3303,7 @@ void AuthServerVerificationMessage::MergeFrom(const AuthServerVerificationMessag set_serververification(from.serververification()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void AuthServerVerificationMessage::CopyFrom(const AuthServerVerificationMessage& from) { @@ -3081,6 +3322,7 @@ void AuthServerVerificationMessage::Swap(AuthServerVerificationMessage* other) { if (other != this) { std::swap(serververification_, other->serververification_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -3102,6 +3344,7 @@ const int InitAckMessage::kRejoinGameIdFieldNumber; InitAckMessage::InitAckMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:InitAckMessage) } void InitAckMessage::InitAsDefaultInstance() { @@ -3111,26 +3354,29 @@ InitAckMessage::InitAckMessage(const InitAckMessage& from) : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:InitAckMessage) } void InitAckMessage::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); _cached_size_ = 0; - yoursessionid_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + yoursessionid_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); yourplayerid_ = 0u; - youravatarhash_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + youravatarhash_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); rejoingameid_ = 0u; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } InitAckMessage::~InitAckMessage() { + // @@protoc_insertion_point(destructor:InitAckMessage) SharedDtor(); } void InitAckMessage::SharedDtor() { - if (yoursessionid_ != &::google::protobuf::internal::kEmptyString) { + if (yoursessionid_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete yoursessionid_; } - if (youravatarhash_ != &::google::protobuf::internal::kEmptyString) { + if (youravatarhash_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete youravatarhash_; } #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -3162,37 +3408,58 @@ InitAckMessage* InitAckMessage::New() const { } void InitAckMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { +#define OFFSET_OF_FIELD_(f) (reinterpret_cast( \ + &reinterpret_cast(16)->f) - \ + reinterpret_cast(16)) + +#define ZR_(first, last) do { \ + size_t f = OFFSET_OF_FIELD_(first); \ + size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \ + ::memset(&first, 0, n); \ + } while (0) + + if (_has_bits_[0 / 32] & 15) { + ZR_(yourplayerid_, rejoingameid_); if (has_yoursessionid()) { - if (yoursessionid_ != &::google::protobuf::internal::kEmptyString) { + if (yoursessionid_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { yoursessionid_->clear(); } } - yourplayerid_ = 0u; if (has_youravatarhash()) { - if (youravatarhash_ != &::google::protobuf::internal::kEmptyString) { + if (youravatarhash_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { youravatarhash_->clear(); } } - rejoingameid_ = 0u; } + +#undef OFFSET_OF_FIELD_ +#undef ZR_ + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool InitAckMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:InitAckMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required bytes yourSessionId = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 10) { DO_(::google::protobuf::internal::WireFormatLite::ReadBytes( input, this->mutable_yoursessionid())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(16)) goto parse_yourPlayerId; break; @@ -3200,15 +3467,14 @@ bool InitAckMessage::MergePartialFromCodedStream( // required uint32 yourPlayerId = 2; case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 16) { parse_yourPlayerId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &yourplayerid_))); set_has_yourplayerid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(26)) goto parse_yourAvatarHash; break; @@ -3216,13 +3482,12 @@ bool InitAckMessage::MergePartialFromCodedStream( // optional bytes yourAvatarHash = 3; case 3: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 26) { parse_yourAvatarHash: DO_(::google::protobuf::internal::WireFormatLite::ReadBytes( input, this->mutable_youravatarhash())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(32)) goto parse_rejoinGameId; break; @@ -3230,40 +3495,47 @@ bool InitAckMessage::MergePartialFromCodedStream( // optional uint32 rejoinGameId = 4; case 4: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 32) { parse_rejoinGameId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &rejoingameid_))); set_has_rejoingameid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:InitAckMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:InitAckMessage) + return false; #undef DO_ } void InitAckMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:InitAckMessage) // required bytes yourSessionId = 1; if (has_yoursessionid()) { - ::google::protobuf::internal::WireFormatLite::WriteBytes( + ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased( 1, this->yoursessionid(), output); } @@ -3274,7 +3546,7 @@ void InitAckMessage::SerializeWithCachedSizes( // optional bytes yourAvatarHash = 3; if (has_youravatarhash()) { - ::google::protobuf::internal::WireFormatLite::WriteBytes( + ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased( 3, this->youravatarhash(), output); } @@ -3283,6 +3555,9 @@ void InitAckMessage::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->rejoingameid(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:InitAckMessage) } int InitAckMessage::ByteSize() const { @@ -3318,6 +3593,8 @@ int InitAckMessage::ByteSize() const { } } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -3345,6 +3622,7 @@ void InitAckMessage::MergeFrom(const InitAckMessage& from) { set_rejoingameid(from.rejoingameid()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void InitAckMessage::CopyFrom(const InitAckMessage& from) { @@ -3366,6 +3644,7 @@ void InitAckMessage::Swap(InitAckMessage* other) { std::swap(youravatarhash_, other->youravatarhash_); std::swap(rejoingameid_, other->rejoingameid_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -3385,6 +3664,7 @@ const int AvatarRequestMessage::kAvatarHashFieldNumber; AvatarRequestMessage::AvatarRequestMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:AvatarRequestMessage) } void AvatarRequestMessage::InitAsDefaultInstance() { @@ -3394,21 +3674,24 @@ AvatarRequestMessage::AvatarRequestMessage(const AvatarRequestMessage& from) : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:AvatarRequestMessage) } void AvatarRequestMessage::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); _cached_size_ = 0; requestid_ = 0u; - avatarhash_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + avatarhash_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); ::memset(_has_bits_, 0, sizeof(_has_bits_)); } AvatarRequestMessage::~AvatarRequestMessage() { + // @@protoc_insertion_point(destructor:AvatarRequestMessage) SharedDtor(); } void AvatarRequestMessage::SharedDtor() { - if (avatarhash_ != &::google::protobuf::internal::kEmptyString) { + if (avatarhash_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete avatarhash_; } #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -3440,33 +3723,41 @@ AvatarRequestMessage* AvatarRequestMessage::New() const { } void AvatarRequestMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (_has_bits_[0 / 32] & 3) { requestid_ = 0u; if (has_avatarhash()) { - if (avatarhash_ != &::google::protobuf::internal::kEmptyString) { + if (avatarhash_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { avatarhash_->clear(); } } } ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool AvatarRequestMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:AvatarRequestMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required uint32 requestId = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 8) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &requestid_))); set_has_requestid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(18)) goto parse_avatarHash; break; @@ -3474,35 +3765,42 @@ bool AvatarRequestMessage::MergePartialFromCodedStream( // required bytes avatarHash = 2; case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 18) { parse_avatarHash: DO_(::google::protobuf::internal::WireFormatLite::ReadBytes( input, this->mutable_avatarhash())); } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:AvatarRequestMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:AvatarRequestMessage) + return false; #undef DO_ } void AvatarRequestMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:AvatarRequestMessage) // required uint32 requestId = 1; if (has_requestid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->requestid(), output); @@ -3510,10 +3808,13 @@ void AvatarRequestMessage::SerializeWithCachedSizes( // required bytes avatarHash = 2; if (has_avatarhash()) { - ::google::protobuf::internal::WireFormatLite::WriteBytes( + ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased( 2, this->avatarhash(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:AvatarRequestMessage) } int AvatarRequestMessage::ByteSize() const { @@ -3535,6 +3836,8 @@ int AvatarRequestMessage::ByteSize() const { } } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -3556,6 +3859,7 @@ void AvatarRequestMessage::MergeFrom(const AvatarRequestMessage& from) { set_avatarhash(from.avatarhash()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void AvatarRequestMessage::CopyFrom(const AvatarRequestMessage& from) { @@ -3575,6 +3879,7 @@ void AvatarRequestMessage::Swap(AvatarRequestMessage* other) { std::swap(requestid_, other->requestid_); std::swap(avatarhash_, other->avatarhash_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -3595,6 +3900,7 @@ const int AvatarHeaderMessage::kAvatarSizeFieldNumber; AvatarHeaderMessage::AvatarHeaderMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:AvatarHeaderMessage) } void AvatarHeaderMessage::InitAsDefaultInstance() { @@ -3604,6 +3910,7 @@ AvatarHeaderMessage::AvatarHeaderMessage(const AvatarHeaderMessage& from) : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:AvatarHeaderMessage) } void AvatarHeaderMessage::SharedCtor() { @@ -3615,6 +3922,7 @@ void AvatarHeaderMessage::SharedCtor() { } AvatarHeaderMessage::~AvatarHeaderMessage() { + // @@protoc_insertion_point(destructor:AvatarHeaderMessage) SharedDtor(); } @@ -3648,30 +3956,38 @@ AvatarHeaderMessage* AvatarHeaderMessage::New() const { } void AvatarHeaderMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (_has_bits_[0 / 32] & 7) { requestid_ = 0u; avatartype_ = 1; avatarsize_ = 0u; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool AvatarHeaderMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:AvatarHeaderMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required uint32 requestId = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 8) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &requestid_))); set_has_requestid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(16)) goto parse_avatarType; break; @@ -3679,8 +3995,7 @@ bool AvatarHeaderMessage::MergePartialFromCodedStream( // required .NetAvatarType avatarType = 2; case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 16) { parse_avatarType: int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< @@ -3688,9 +4003,12 @@ bool AvatarHeaderMessage::MergePartialFromCodedStream( input, &value))); if (::NetAvatarType_IsValid(value)) { set_avatartype(static_cast< ::NetAvatarType >(value)); + } else { + unknown_fields_stream.WriteVarint32(tag); + unknown_fields_stream.WriteVarint32(value); } } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(24)) goto parse_avatarSize; break; @@ -3698,37 +4016,44 @@ bool AvatarHeaderMessage::MergePartialFromCodedStream( // required uint32 avatarSize = 3; case 3: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 24) { parse_avatarSize: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &avatarsize_))); set_has_avatarsize(); } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:AvatarHeaderMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:AvatarHeaderMessage) + return false; #undef DO_ } void AvatarHeaderMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:AvatarHeaderMessage) // required uint32 requestId = 1; if (has_requestid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->requestid(), output); @@ -3745,6 +4070,9 @@ void AvatarHeaderMessage::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->avatarsize(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:AvatarHeaderMessage) } int AvatarHeaderMessage::ByteSize() const { @@ -3772,6 +4100,8 @@ int AvatarHeaderMessage::ByteSize() const { } } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -3796,6 +4126,7 @@ void AvatarHeaderMessage::MergeFrom(const AvatarHeaderMessage& from) { set_avatarsize(from.avatarsize()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void AvatarHeaderMessage::CopyFrom(const AvatarHeaderMessage& from) { @@ -3816,6 +4147,7 @@ void AvatarHeaderMessage::Swap(AvatarHeaderMessage* other) { std::swap(avatartype_, other->avatartype_); std::swap(avatarsize_, other->avatarsize_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -3835,6 +4167,7 @@ const int AvatarDataMessage::kAvatarBlockFieldNumber; AvatarDataMessage::AvatarDataMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:AvatarDataMessage) } void AvatarDataMessage::InitAsDefaultInstance() { @@ -3844,21 +4177,24 @@ AvatarDataMessage::AvatarDataMessage(const AvatarDataMessage& from) : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:AvatarDataMessage) } void AvatarDataMessage::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); _cached_size_ = 0; requestid_ = 0u; - avatarblock_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + avatarblock_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); ::memset(_has_bits_, 0, sizeof(_has_bits_)); } AvatarDataMessage::~AvatarDataMessage() { + // @@protoc_insertion_point(destructor:AvatarDataMessage) SharedDtor(); } void AvatarDataMessage::SharedDtor() { - if (avatarblock_ != &::google::protobuf::internal::kEmptyString) { + if (avatarblock_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete avatarblock_; } #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -3890,33 +4226,41 @@ AvatarDataMessage* AvatarDataMessage::New() const { } void AvatarDataMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (_has_bits_[0 / 32] & 3) { requestid_ = 0u; if (has_avatarblock()) { - if (avatarblock_ != &::google::protobuf::internal::kEmptyString) { + if (avatarblock_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { avatarblock_->clear(); } } } ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool AvatarDataMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:AvatarDataMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required uint32 requestId = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 8) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &requestid_))); set_has_requestid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(18)) goto parse_avatarBlock; break; @@ -3924,35 +4268,42 @@ bool AvatarDataMessage::MergePartialFromCodedStream( // required bytes avatarBlock = 2; case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 18) { parse_avatarBlock: DO_(::google::protobuf::internal::WireFormatLite::ReadBytes( input, this->mutable_avatarblock())); } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:AvatarDataMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:AvatarDataMessage) + return false; #undef DO_ } void AvatarDataMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:AvatarDataMessage) // required uint32 requestId = 1; if (has_requestid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->requestid(), output); @@ -3960,10 +4311,13 @@ void AvatarDataMessage::SerializeWithCachedSizes( // required bytes avatarBlock = 2; if (has_avatarblock()) { - ::google::protobuf::internal::WireFormatLite::WriteBytes( + ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased( 2, this->avatarblock(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:AvatarDataMessage) } int AvatarDataMessage::ByteSize() const { @@ -3985,6 +4339,8 @@ int AvatarDataMessage::ByteSize() const { } } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -4006,6 +4362,7 @@ void AvatarDataMessage::MergeFrom(const AvatarDataMessage& from) { set_avatarblock(from.avatarblock()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void AvatarDataMessage::CopyFrom(const AvatarDataMessage& from) { @@ -4025,6 +4382,7 @@ void AvatarDataMessage::Swap(AvatarDataMessage* other) { std::swap(requestid_, other->requestid_); std::swap(avatarblock_, other->avatarblock_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -4043,6 +4401,7 @@ const int AvatarEndMessage::kRequestIdFieldNumber; AvatarEndMessage::AvatarEndMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:AvatarEndMessage) } void AvatarEndMessage::InitAsDefaultInstance() { @@ -4052,6 +4411,7 @@ AvatarEndMessage::AvatarEndMessage(const AvatarEndMessage& from) : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:AvatarEndMessage) } void AvatarEndMessage::SharedCtor() { @@ -4061,6 +4421,7 @@ void AvatarEndMessage::SharedCtor() { } AvatarEndMessage::~AvatarEndMessage() { + // @@protoc_insertion_point(destructor:AvatarEndMessage) SharedDtor(); } @@ -4094,55 +4455,72 @@ AvatarEndMessage* AvatarEndMessage::New() const { } void AvatarEndMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - requestid_ = 0u; - } + requestid_ = 0u; ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool AvatarEndMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:AvatarEndMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required uint32 requestId = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 8) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &requestid_))); set_has_requestid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:AvatarEndMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:AvatarEndMessage) + return false; #undef DO_ } void AvatarEndMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:AvatarEndMessage) // required uint32 requestId = 1; if (has_requestid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->requestid(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:AvatarEndMessage) } int AvatarEndMessage::ByteSize() const { @@ -4157,6 +4535,8 @@ int AvatarEndMessage::ByteSize() const { } } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -4175,6 +4555,7 @@ void AvatarEndMessage::MergeFrom(const AvatarEndMessage& from) { set_requestid(from.requestid()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void AvatarEndMessage::CopyFrom(const AvatarEndMessage& from) { @@ -4193,6 +4574,7 @@ void AvatarEndMessage::Swap(AvatarEndMessage* other) { if (other != this) { std::swap(requestid_, other->requestid_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -4211,6 +4593,7 @@ const int UnknownAvatarMessage::kRequestIdFieldNumber; UnknownAvatarMessage::UnknownAvatarMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:UnknownAvatarMessage) } void UnknownAvatarMessage::InitAsDefaultInstance() { @@ -4220,6 +4603,7 @@ UnknownAvatarMessage::UnknownAvatarMessage(const UnknownAvatarMessage& from) : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:UnknownAvatarMessage) } void UnknownAvatarMessage::SharedCtor() { @@ -4229,6 +4613,7 @@ void UnknownAvatarMessage::SharedCtor() { } UnknownAvatarMessage::~UnknownAvatarMessage() { + // @@protoc_insertion_point(destructor:UnknownAvatarMessage) SharedDtor(); } @@ -4262,55 +4647,72 @@ UnknownAvatarMessage* UnknownAvatarMessage::New() const { } void UnknownAvatarMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - requestid_ = 0u; - } + requestid_ = 0u; ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool UnknownAvatarMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:UnknownAvatarMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required uint32 requestId = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 8) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &requestid_))); set_has_requestid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:UnknownAvatarMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:UnknownAvatarMessage) + return false; #undef DO_ } void UnknownAvatarMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:UnknownAvatarMessage) // required uint32 requestId = 1; if (has_requestid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->requestid(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:UnknownAvatarMessage) } int UnknownAvatarMessage::ByteSize() const { @@ -4325,6 +4727,8 @@ int UnknownAvatarMessage::ByteSize() const { } } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -4343,6 +4747,7 @@ void UnknownAvatarMessage::MergeFrom(const UnknownAvatarMessage& from) { set_requestid(from.requestid()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void UnknownAvatarMessage::CopyFrom(const UnknownAvatarMessage& from) { @@ -4361,6 +4766,7 @@ void UnknownAvatarMessage::Swap(UnknownAvatarMessage* other) { if (other != this) { std::swap(requestid_, other->requestid_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -4397,6 +4803,7 @@ const int PlayerListMessage::kPlayerListNotificationFieldNumber; PlayerListMessage::PlayerListMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:PlayerListMessage) } void PlayerListMessage::InitAsDefaultInstance() { @@ -4406,6 +4813,7 @@ PlayerListMessage::PlayerListMessage(const PlayerListMessage& from) : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:PlayerListMessage) } void PlayerListMessage::SharedCtor() { @@ -4416,6 +4824,7 @@ void PlayerListMessage::SharedCtor() { } PlayerListMessage::~PlayerListMessage() { + // @@protoc_insertion_point(destructor:PlayerListMessage) SharedDtor(); } @@ -4449,29 +4858,48 @@ PlayerListMessage* PlayerListMessage::New() const { } void PlayerListMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - playerid_ = 0u; - playerlistnotification_ = 0; - } +#define OFFSET_OF_FIELD_(f) (reinterpret_cast( \ + &reinterpret_cast(16)->f) - \ + reinterpret_cast(16)) + +#define ZR_(first, last) do { \ + size_t f = OFFSET_OF_FIELD_(first); \ + size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \ + ::memset(&first, 0, n); \ + } while (0) + + ZR_(playerid_, playerlistnotification_); + +#undef OFFSET_OF_FIELD_ +#undef ZR_ + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool PlayerListMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:PlayerListMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required uint32 playerId = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 8) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &playerid_))); set_has_playerid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(16)) goto parse_playerListNotification; break; @@ -4479,8 +4907,7 @@ bool PlayerListMessage::MergePartialFromCodedStream( // required .PlayerListMessage.PlayerListNotification playerListNotification = 2; case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 16) { parse_playerListNotification: int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< @@ -4488,31 +4915,42 @@ bool PlayerListMessage::MergePartialFromCodedStream( input, &value))); if (::PlayerListMessage_PlayerListNotification_IsValid(value)) { set_playerlistnotification(static_cast< ::PlayerListMessage_PlayerListNotification >(value)); + } else { + unknown_fields_stream.WriteVarint32(tag); + unknown_fields_stream.WriteVarint32(value); } } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:PlayerListMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:PlayerListMessage) + return false; #undef DO_ } void PlayerListMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:PlayerListMessage) // required uint32 playerId = 1; if (has_playerid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->playerid(), output); @@ -4524,6 +4962,9 @@ void PlayerListMessage::SerializeWithCachedSizes( 2, this->playerlistnotification(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:PlayerListMessage) } int PlayerListMessage::ByteSize() const { @@ -4544,6 +4985,8 @@ int PlayerListMessage::ByteSize() const { } } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -4565,6 +5008,7 @@ void PlayerListMessage::MergeFrom(const PlayerListMessage& from) { set_playerlistnotification(from.playerlistnotification()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void PlayerListMessage::CopyFrom(const PlayerListMessage& from) { @@ -4584,6 +5028,7 @@ void PlayerListMessage::Swap(PlayerListMessage* other) { std::swap(playerid_, other->playerid_); std::swap(playerlistnotification_, other->playerlistnotification_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -4608,6 +5053,7 @@ const int GameListNewMessage::kSpectatorIdsFieldNumber; GameListNewMessage::GameListNewMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:GameListNewMessage) } void GameListNewMessage::InitAsDefaultInstance() { @@ -4623,6 +5069,7 @@ GameListNewMessage::GameListNewMessage(const GameListNewMessage& from) : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:GameListNewMessage) } void GameListNewMessage::SharedCtor() { @@ -4636,6 +5083,7 @@ void GameListNewMessage::SharedCtor() { } GameListNewMessage::~GameListNewMessage() { + // @@protoc_insertion_point(destructor:GameListNewMessage) SharedDtor(); } @@ -4670,36 +5118,57 @@ GameListNewMessage* GameListNewMessage::New() const { } void GameListNewMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { +#define OFFSET_OF_FIELD_(f) (reinterpret_cast( \ + &reinterpret_cast(16)->f) - \ + reinterpret_cast(16)) + +#define ZR_(first, last) do { \ + size_t f = OFFSET_OF_FIELD_(first); \ + size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \ + ::memset(&first, 0, n); \ + } while (0) + + if (_has_bits_[0 / 32] & 55) { + ZR_(isprivate_, adminplayerid_); gameid_ = 0u; gamemode_ = 1; - isprivate_ = false; - adminplayerid_ = 0u; if (has_gameinfo()) { if (gameinfo_ != NULL) gameinfo_->::NetGameInfo::Clear(); } } + +#undef OFFSET_OF_FIELD_ +#undef ZR_ + playerids_.Clear(); spectatorids_.Clear(); ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool GameListNewMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:GameListNewMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required uint32 gameId = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 8) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &gameid_))); set_has_gameid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(16)) goto parse_gameMode; break; @@ -4707,8 +5176,7 @@ bool GameListNewMessage::MergePartialFromCodedStream( // required .NetGameMode gameMode = 2; case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 16) { parse_gameMode: int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< @@ -4716,9 +5184,12 @@ bool GameListNewMessage::MergePartialFromCodedStream( input, &value))); if (::NetGameMode_IsValid(value)) { set_gamemode(static_cast< ::NetGameMode >(value)); + } else { + unknown_fields_stream.WriteVarint32(tag); + unknown_fields_stream.WriteVarint32(value); } } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(24)) goto parse_isPrivate; break; @@ -4726,15 +5197,14 @@ bool GameListNewMessage::MergePartialFromCodedStream( // required bool isPrivate = 3; case 3: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 24) { parse_isPrivate: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( input, &isprivate_))); set_has_isprivate(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(34)) goto parse_playerIds; break; @@ -4742,20 +5212,17 @@ bool GameListNewMessage::MergePartialFromCodedStream( // repeated uint32 playerIds = 4 [packed = true]; case 4: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 34) { parse_playerIds: DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, this->mutable_playerids()))); - } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) - == ::google::protobuf::internal::WireFormatLite:: - WIRETYPE_VARINT) { + } else if (tag == 32) { DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitiveNoInline< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( 1, 34, input, this->mutable_playerids()))); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(40)) goto parse_adminPlayerId; break; @@ -4763,15 +5230,14 @@ bool GameListNewMessage::MergePartialFromCodedStream( // required uint32 adminPlayerId = 5; case 5: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 40) { parse_adminPlayerId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &adminplayerid_))); set_has_adminplayerid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(50)) goto parse_gameInfo; break; @@ -4779,13 +5245,12 @@ bool GameListNewMessage::MergePartialFromCodedStream( // required .NetGameInfo gameInfo = 6; case 6: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 50) { parse_gameInfo: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_gameinfo())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(58)) goto parse_spectatorIds; break; @@ -4793,42 +5258,47 @@ bool GameListNewMessage::MergePartialFromCodedStream( // repeated uint32 spectatorIds = 7 [packed = true]; case 7: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 58) { parse_spectatorIds: DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, this->mutable_spectatorids()))); - } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) - == ::google::protobuf::internal::WireFormatLite:: - WIRETYPE_VARINT) { + } else if (tag == 56) { DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitiveNoInline< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( 1, 58, input, this->mutable_spectatorids()))); } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:GameListNewMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:GameListNewMessage) + return false; #undef DO_ } void GameListNewMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:GameListNewMessage) // required uint32 gameId = 1; if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); @@ -4876,6 +5346,9 @@ void GameListNewMessage::SerializeWithCachedSizes( this->spectatorids(i), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:GameListNewMessage) } int GameListNewMessage::ByteSize() const { @@ -4949,6 +5422,8 @@ int GameListNewMessage::ByteSize() const { total_size += data_size; } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -4981,6 +5456,7 @@ void GameListNewMessage::MergeFrom(const GameListNewMessage& from) { mutable_gameinfo()->::NetGameInfo::MergeFrom(from.gameinfo()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void GameListNewMessage::CopyFrom(const GameListNewMessage& from) { @@ -5008,6 +5484,7 @@ void GameListNewMessage::Swap(GameListNewMessage* other) { std::swap(gameinfo_, other->gameinfo_); spectatorids_.Swap(&other->spectatorids_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -5027,6 +5504,7 @@ const int GameListUpdateMessage::kGameModeFieldNumber; GameListUpdateMessage::GameListUpdateMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:GameListUpdateMessage) } void GameListUpdateMessage::InitAsDefaultInstance() { @@ -5036,6 +5514,7 @@ GameListUpdateMessage::GameListUpdateMessage(const GameListUpdateMessage& from) : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:GameListUpdateMessage) } void GameListUpdateMessage::SharedCtor() { @@ -5046,6 +5525,7 @@ void GameListUpdateMessage::SharedCtor() { } GameListUpdateMessage::~GameListUpdateMessage() { + // @@protoc_insertion_point(destructor:GameListUpdateMessage) SharedDtor(); } @@ -5079,29 +5559,37 @@ GameListUpdateMessage* GameListUpdateMessage::New() const { } void GameListUpdateMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (_has_bits_[0 / 32] & 3) { gameid_ = 0u; gamemode_ = 1; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool GameListUpdateMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:GameListUpdateMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required uint32 gameId = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 8) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &gameid_))); set_has_gameid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(16)) goto parse_gameMode; break; @@ -5109,8 +5597,7 @@ bool GameListUpdateMessage::MergePartialFromCodedStream( // required .NetGameMode gameMode = 2; case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 16) { parse_gameMode: int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< @@ -5118,31 +5605,42 @@ bool GameListUpdateMessage::MergePartialFromCodedStream( input, &value))); if (::NetGameMode_IsValid(value)) { set_gamemode(static_cast< ::NetGameMode >(value)); + } else { + unknown_fields_stream.WriteVarint32(tag); + unknown_fields_stream.WriteVarint32(value); } } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:GameListUpdateMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:GameListUpdateMessage) + return false; #undef DO_ } void GameListUpdateMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:GameListUpdateMessage) // required uint32 gameId = 1; if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); @@ -5154,6 +5652,9 @@ void GameListUpdateMessage::SerializeWithCachedSizes( 2, this->gamemode(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:GameListUpdateMessage) } int GameListUpdateMessage::ByteSize() const { @@ -5174,6 +5675,8 @@ int GameListUpdateMessage::ByteSize() const { } } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -5195,6 +5698,7 @@ void GameListUpdateMessage::MergeFrom(const GameListUpdateMessage& from) { set_gamemode(from.gamemode()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void GameListUpdateMessage::CopyFrom(const GameListUpdateMessage& from) { @@ -5214,6 +5718,7 @@ void GameListUpdateMessage::Swap(GameListUpdateMessage* other) { std::swap(gameid_, other->gameid_); std::swap(gamemode_, other->gamemode_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -5233,6 +5738,7 @@ const int GameListPlayerJoinedMessage::kPlayerIdFieldNumber; GameListPlayerJoinedMessage::GameListPlayerJoinedMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:GameListPlayerJoinedMessage) } void GameListPlayerJoinedMessage::InitAsDefaultInstance() { @@ -5242,6 +5748,7 @@ GameListPlayerJoinedMessage::GameListPlayerJoinedMessage(const GameListPlayerJoi : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:GameListPlayerJoinedMessage) } void GameListPlayerJoinedMessage::SharedCtor() { @@ -5252,6 +5759,7 @@ void GameListPlayerJoinedMessage::SharedCtor() { } GameListPlayerJoinedMessage::~GameListPlayerJoinedMessage() { + // @@protoc_insertion_point(destructor:GameListPlayerJoinedMessage) SharedDtor(); } @@ -5285,29 +5793,48 @@ GameListPlayerJoinedMessage* GameListPlayerJoinedMessage::New() const { } void GameListPlayerJoinedMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - gameid_ = 0u; - playerid_ = 0u; - } +#define OFFSET_OF_FIELD_(f) (reinterpret_cast( \ + &reinterpret_cast(16)->f) - \ + reinterpret_cast(16)) + +#define ZR_(first, last) do { \ + size_t f = OFFSET_OF_FIELD_(first); \ + size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \ + ::memset(&first, 0, n); \ + } while (0) + + ZR_(gameid_, playerid_); + +#undef OFFSET_OF_FIELD_ +#undef ZR_ + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool GameListPlayerJoinedMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:GameListPlayerJoinedMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required uint32 gameId = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 8) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &gameid_))); set_has_gameid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(16)) goto parse_playerId; break; @@ -5315,37 +5842,44 @@ bool GameListPlayerJoinedMessage::MergePartialFromCodedStream( // required uint32 playerId = 2; case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 16) { parse_playerId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &playerid_))); set_has_playerid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:GameListPlayerJoinedMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:GameListPlayerJoinedMessage) + return false; #undef DO_ } void GameListPlayerJoinedMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:GameListPlayerJoinedMessage) // required uint32 gameId = 1; if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); @@ -5356,6 +5890,9 @@ void GameListPlayerJoinedMessage::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->playerid(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:GameListPlayerJoinedMessage) } int GameListPlayerJoinedMessage::ByteSize() const { @@ -5377,6 +5914,8 @@ int GameListPlayerJoinedMessage::ByteSize() const { } } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -5398,6 +5937,7 @@ void GameListPlayerJoinedMessage::MergeFrom(const GameListPlayerJoinedMessage& f set_playerid(from.playerid()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void GameListPlayerJoinedMessage::CopyFrom(const GameListPlayerJoinedMessage& from) { @@ -5417,6 +5957,7 @@ void GameListPlayerJoinedMessage::Swap(GameListPlayerJoinedMessage* other) { std::swap(gameid_, other->gameid_); std::swap(playerid_, other->playerid_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -5436,6 +5977,7 @@ const int GameListPlayerLeftMessage::kPlayerIdFieldNumber; GameListPlayerLeftMessage::GameListPlayerLeftMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:GameListPlayerLeftMessage) } void GameListPlayerLeftMessage::InitAsDefaultInstance() { @@ -5445,6 +5987,7 @@ GameListPlayerLeftMessage::GameListPlayerLeftMessage(const GameListPlayerLeftMes : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:GameListPlayerLeftMessage) } void GameListPlayerLeftMessage::SharedCtor() { @@ -5455,6 +5998,7 @@ void GameListPlayerLeftMessage::SharedCtor() { } GameListPlayerLeftMessage::~GameListPlayerLeftMessage() { + // @@protoc_insertion_point(destructor:GameListPlayerLeftMessage) SharedDtor(); } @@ -5488,29 +6032,48 @@ GameListPlayerLeftMessage* GameListPlayerLeftMessage::New() const { } void GameListPlayerLeftMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - gameid_ = 0u; - playerid_ = 0u; - } +#define OFFSET_OF_FIELD_(f) (reinterpret_cast( \ + &reinterpret_cast(16)->f) - \ + reinterpret_cast(16)) + +#define ZR_(first, last) do { \ + size_t f = OFFSET_OF_FIELD_(first); \ + size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \ + ::memset(&first, 0, n); \ + } while (0) + + ZR_(gameid_, playerid_); + +#undef OFFSET_OF_FIELD_ +#undef ZR_ + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool GameListPlayerLeftMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:GameListPlayerLeftMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required uint32 gameId = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 8) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &gameid_))); set_has_gameid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(16)) goto parse_playerId; break; @@ -5518,37 +6081,44 @@ bool GameListPlayerLeftMessage::MergePartialFromCodedStream( // required uint32 playerId = 2; case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 16) { parse_playerId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &playerid_))); set_has_playerid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:GameListPlayerLeftMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:GameListPlayerLeftMessage) + return false; #undef DO_ } void GameListPlayerLeftMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:GameListPlayerLeftMessage) // required uint32 gameId = 1; if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); @@ -5559,6 +6129,9 @@ void GameListPlayerLeftMessage::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->playerid(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:GameListPlayerLeftMessage) } int GameListPlayerLeftMessage::ByteSize() const { @@ -5580,6 +6153,8 @@ int GameListPlayerLeftMessage::ByteSize() const { } } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -5601,6 +6176,7 @@ void GameListPlayerLeftMessage::MergeFrom(const GameListPlayerLeftMessage& from) set_playerid(from.playerid()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void GameListPlayerLeftMessage::CopyFrom(const GameListPlayerLeftMessage& from) { @@ -5620,6 +6196,7 @@ void GameListPlayerLeftMessage::Swap(GameListPlayerLeftMessage* other) { std::swap(gameid_, other->gameid_); std::swap(playerid_, other->playerid_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -5639,6 +6216,7 @@ const int GameListSpectatorJoinedMessage::kPlayerIdFieldNumber; GameListSpectatorJoinedMessage::GameListSpectatorJoinedMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:GameListSpectatorJoinedMessage) } void GameListSpectatorJoinedMessage::InitAsDefaultInstance() { @@ -5648,6 +6226,7 @@ GameListSpectatorJoinedMessage::GameListSpectatorJoinedMessage(const GameListSpe : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:GameListSpectatorJoinedMessage) } void GameListSpectatorJoinedMessage::SharedCtor() { @@ -5658,6 +6237,7 @@ void GameListSpectatorJoinedMessage::SharedCtor() { } GameListSpectatorJoinedMessage::~GameListSpectatorJoinedMessage() { + // @@protoc_insertion_point(destructor:GameListSpectatorJoinedMessage) SharedDtor(); } @@ -5691,29 +6271,48 @@ GameListSpectatorJoinedMessage* GameListSpectatorJoinedMessage::New() const { } void GameListSpectatorJoinedMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - gameid_ = 0u; - playerid_ = 0u; - } +#define OFFSET_OF_FIELD_(f) (reinterpret_cast( \ + &reinterpret_cast(16)->f) - \ + reinterpret_cast(16)) + +#define ZR_(first, last) do { \ + size_t f = OFFSET_OF_FIELD_(first); \ + size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \ + ::memset(&first, 0, n); \ + } while (0) + + ZR_(gameid_, playerid_); + +#undef OFFSET_OF_FIELD_ +#undef ZR_ + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool GameListSpectatorJoinedMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:GameListSpectatorJoinedMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required uint32 gameId = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 8) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &gameid_))); set_has_gameid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(16)) goto parse_playerId; break; @@ -5721,37 +6320,44 @@ bool GameListSpectatorJoinedMessage::MergePartialFromCodedStream( // required uint32 playerId = 2; case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 16) { parse_playerId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &playerid_))); set_has_playerid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:GameListSpectatorJoinedMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:GameListSpectatorJoinedMessage) + return false; #undef DO_ } void GameListSpectatorJoinedMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:GameListSpectatorJoinedMessage) // required uint32 gameId = 1; if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); @@ -5762,6 +6368,9 @@ void GameListSpectatorJoinedMessage::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->playerid(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:GameListSpectatorJoinedMessage) } int GameListSpectatorJoinedMessage::ByteSize() const { @@ -5783,6 +6392,8 @@ int GameListSpectatorJoinedMessage::ByteSize() const { } } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -5804,6 +6415,7 @@ void GameListSpectatorJoinedMessage::MergeFrom(const GameListSpectatorJoinedMess set_playerid(from.playerid()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void GameListSpectatorJoinedMessage::CopyFrom(const GameListSpectatorJoinedMessage& from) { @@ -5823,6 +6435,7 @@ void GameListSpectatorJoinedMessage::Swap(GameListSpectatorJoinedMessage* other) std::swap(gameid_, other->gameid_); std::swap(playerid_, other->playerid_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -5842,6 +6455,7 @@ const int GameListSpectatorLeftMessage::kPlayerIdFieldNumber; GameListSpectatorLeftMessage::GameListSpectatorLeftMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:GameListSpectatorLeftMessage) } void GameListSpectatorLeftMessage::InitAsDefaultInstance() { @@ -5851,6 +6465,7 @@ GameListSpectatorLeftMessage::GameListSpectatorLeftMessage(const GameListSpectat : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:GameListSpectatorLeftMessage) } void GameListSpectatorLeftMessage::SharedCtor() { @@ -5861,6 +6476,7 @@ void GameListSpectatorLeftMessage::SharedCtor() { } GameListSpectatorLeftMessage::~GameListSpectatorLeftMessage() { + // @@protoc_insertion_point(destructor:GameListSpectatorLeftMessage) SharedDtor(); } @@ -5894,29 +6510,48 @@ GameListSpectatorLeftMessage* GameListSpectatorLeftMessage::New() const { } void GameListSpectatorLeftMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - gameid_ = 0u; - playerid_ = 0u; - } +#define OFFSET_OF_FIELD_(f) (reinterpret_cast( \ + &reinterpret_cast(16)->f) - \ + reinterpret_cast(16)) + +#define ZR_(first, last) do { \ + size_t f = OFFSET_OF_FIELD_(first); \ + size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \ + ::memset(&first, 0, n); \ + } while (0) + + ZR_(gameid_, playerid_); + +#undef OFFSET_OF_FIELD_ +#undef ZR_ + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool GameListSpectatorLeftMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:GameListSpectatorLeftMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required uint32 gameId = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 8) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &gameid_))); set_has_gameid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(16)) goto parse_playerId; break; @@ -5924,37 +6559,44 @@ bool GameListSpectatorLeftMessage::MergePartialFromCodedStream( // required uint32 playerId = 2; case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 16) { parse_playerId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &playerid_))); set_has_playerid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:GameListSpectatorLeftMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:GameListSpectatorLeftMessage) + return false; #undef DO_ } void GameListSpectatorLeftMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:GameListSpectatorLeftMessage) // required uint32 gameId = 1; if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); @@ -5965,6 +6607,9 @@ void GameListSpectatorLeftMessage::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->playerid(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:GameListSpectatorLeftMessage) } int GameListSpectatorLeftMessage::ByteSize() const { @@ -5986,6 +6631,8 @@ int GameListSpectatorLeftMessage::ByteSize() const { } } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -6007,6 +6654,7 @@ void GameListSpectatorLeftMessage::MergeFrom(const GameListSpectatorLeftMessage& set_playerid(from.playerid()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void GameListSpectatorLeftMessage::CopyFrom(const GameListSpectatorLeftMessage& from) { @@ -6026,6 +6674,7 @@ void GameListSpectatorLeftMessage::Swap(GameListSpectatorLeftMessage* other) { std::swap(gameid_, other->gameid_); std::swap(playerid_, other->playerid_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -6045,6 +6694,7 @@ const int GameListAdminChangedMessage::kNewAdminPlayerIdFieldNumber; GameListAdminChangedMessage::GameListAdminChangedMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:GameListAdminChangedMessage) } void GameListAdminChangedMessage::InitAsDefaultInstance() { @@ -6054,6 +6704,7 @@ GameListAdminChangedMessage::GameListAdminChangedMessage(const GameListAdminChan : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:GameListAdminChangedMessage) } void GameListAdminChangedMessage::SharedCtor() { @@ -6064,6 +6715,7 @@ void GameListAdminChangedMessage::SharedCtor() { } GameListAdminChangedMessage::~GameListAdminChangedMessage() { + // @@protoc_insertion_point(destructor:GameListAdminChangedMessage) SharedDtor(); } @@ -6097,29 +6749,48 @@ GameListAdminChangedMessage* GameListAdminChangedMessage::New() const { } void GameListAdminChangedMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - gameid_ = 0u; - newadminplayerid_ = 0u; - } +#define OFFSET_OF_FIELD_(f) (reinterpret_cast( \ + &reinterpret_cast(16)->f) - \ + reinterpret_cast(16)) + +#define ZR_(first, last) do { \ + size_t f = OFFSET_OF_FIELD_(first); \ + size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \ + ::memset(&first, 0, n); \ + } while (0) + + ZR_(gameid_, newadminplayerid_); + +#undef OFFSET_OF_FIELD_ +#undef ZR_ + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool GameListAdminChangedMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:GameListAdminChangedMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required uint32 gameId = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 8) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &gameid_))); set_has_gameid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(16)) goto parse_newAdminPlayerId; break; @@ -6127,37 +6798,44 @@ bool GameListAdminChangedMessage::MergePartialFromCodedStream( // required uint32 newAdminPlayerId = 2; case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 16) { parse_newAdminPlayerId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &newadminplayerid_))); set_has_newadminplayerid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:GameListAdminChangedMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:GameListAdminChangedMessage) + return false; #undef DO_ } void GameListAdminChangedMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:GameListAdminChangedMessage) // required uint32 gameId = 1; if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); @@ -6168,6 +6846,9 @@ void GameListAdminChangedMessage::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->newadminplayerid(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:GameListAdminChangedMessage) } int GameListAdminChangedMessage::ByteSize() const { @@ -6189,6 +6870,8 @@ int GameListAdminChangedMessage::ByteSize() const { } } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -6210,6 +6893,7 @@ void GameListAdminChangedMessage::MergeFrom(const GameListAdminChangedMessage& f set_newadminplayerid(from.newadminplayerid()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void GameListAdminChangedMessage::CopyFrom(const GameListAdminChangedMessage& from) { @@ -6229,6 +6913,7 @@ void GameListAdminChangedMessage::Swap(GameListAdminChangedMessage* other) { std::swap(gameid_, other->gameid_); std::swap(newadminplayerid_, other->newadminplayerid_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -6247,6 +6932,7 @@ const int PlayerInfoRequestMessage::kPlayerIdFieldNumber; PlayerInfoRequestMessage::PlayerInfoRequestMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:PlayerInfoRequestMessage) } void PlayerInfoRequestMessage::InitAsDefaultInstance() { @@ -6256,6 +6942,7 @@ PlayerInfoRequestMessage::PlayerInfoRequestMessage(const PlayerInfoRequestMessag : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:PlayerInfoRequestMessage) } void PlayerInfoRequestMessage::SharedCtor() { @@ -6264,6 +6951,7 @@ void PlayerInfoRequestMessage::SharedCtor() { } PlayerInfoRequestMessage::~PlayerInfoRequestMessage() { + // @@protoc_insertion_point(destructor:PlayerInfoRequestMessage) SharedDtor(); } @@ -6299,51 +6987,65 @@ PlayerInfoRequestMessage* PlayerInfoRequestMessage::New() const { void PlayerInfoRequestMessage::Clear() { playerid_.Clear(); ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool PlayerInfoRequestMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:PlayerInfoRequestMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // repeated uint32 playerId = 1 [packed = true]; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 10) { DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, this->mutable_playerid()))); - } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) - == ::google::protobuf::internal::WireFormatLite:: - WIRETYPE_VARINT) { + } else if (tag == 8) { DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitiveNoInline< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( 1, 10, input, this->mutable_playerid()))); } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:PlayerInfoRequestMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:PlayerInfoRequestMessage) + return false; #undef DO_ } void PlayerInfoRequestMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:PlayerInfoRequestMessage) // repeated uint32 playerId = 1 [packed = true]; if (this->playerid_size() > 0) { ::google::protobuf::internal::WireFormatLite::WriteTag(1, ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED, output); @@ -6354,6 +7056,9 @@ void PlayerInfoRequestMessage::SerializeWithCachedSizes( this->playerid(i), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:PlayerInfoRequestMessage) } int PlayerInfoRequestMessage::ByteSize() const { @@ -6376,6 +7081,8 @@ int PlayerInfoRequestMessage::ByteSize() const { total_size += data_size; } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -6390,6 +7097,7 @@ void PlayerInfoRequestMessage::CheckTypeAndMergeFrom( void PlayerInfoRequestMessage::MergeFrom(const PlayerInfoRequestMessage& from) { GOOGLE_CHECK_NE(&from, this); playerid_.MergeFrom(from.playerid_); + mutable_unknown_fields()->append(from.unknown_fields()); } void PlayerInfoRequestMessage::CopyFrom(const PlayerInfoRequestMessage& from) { @@ -6407,6 +7115,7 @@ void PlayerInfoRequestMessage::Swap(PlayerInfoRequestMessage* other) { if (other != this) { playerid_.Swap(&other->playerid_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -6426,6 +7135,7 @@ const int PlayerInfoReplyMessage_PlayerInfoData_AvatarData::kAvatarHashFieldNumb PlayerInfoReplyMessage_PlayerInfoData_AvatarData::PlayerInfoReplyMessage_PlayerInfoData_AvatarData() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:PlayerInfoReplyMessage.PlayerInfoData.AvatarData) } void PlayerInfoReplyMessage_PlayerInfoData_AvatarData::InitAsDefaultInstance() { @@ -6435,21 +7145,24 @@ PlayerInfoReplyMessage_PlayerInfoData_AvatarData::PlayerInfoReplyMessage_PlayerI : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:PlayerInfoReplyMessage.PlayerInfoData.AvatarData) } void PlayerInfoReplyMessage_PlayerInfoData_AvatarData::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); _cached_size_ = 0; avatartype_ = 1; - avatarhash_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + avatarhash_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); ::memset(_has_bits_, 0, sizeof(_has_bits_)); } PlayerInfoReplyMessage_PlayerInfoData_AvatarData::~PlayerInfoReplyMessage_PlayerInfoData_AvatarData() { + // @@protoc_insertion_point(destructor:PlayerInfoReplyMessage.PlayerInfoData.AvatarData) SharedDtor(); } void PlayerInfoReplyMessage_PlayerInfoData_AvatarData::SharedDtor() { - if (avatarhash_ != &::google::protobuf::internal::kEmptyString) { + if (avatarhash_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete avatarhash_; } #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -6481,36 +7194,47 @@ PlayerInfoReplyMessage_PlayerInfoData_AvatarData* PlayerInfoReplyMessage_PlayerI } void PlayerInfoReplyMessage_PlayerInfoData_AvatarData::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (_has_bits_[0 / 32] & 3) { avatartype_ = 1; if (has_avatarhash()) { - if (avatarhash_ != &::google::protobuf::internal::kEmptyString) { + if (avatarhash_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { avatarhash_->clear(); } } } ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool PlayerInfoReplyMessage_PlayerInfoData_AvatarData::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:PlayerInfoReplyMessage.PlayerInfoData.AvatarData) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required .NetAvatarType avatarType = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 8) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::NetAvatarType_IsValid(value)) { set_avatartype(static_cast< ::NetAvatarType >(value)); + } else { + unknown_fields_stream.WriteVarint32(tag); + unknown_fields_stream.WriteVarint32(value); } } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(18)) goto parse_avatarHash; break; @@ -6518,35 +7242,42 @@ bool PlayerInfoReplyMessage_PlayerInfoData_AvatarData::MergePartialFromCodedStre // required bytes avatarHash = 2; case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 18) { parse_avatarHash: DO_(::google::protobuf::internal::WireFormatLite::ReadBytes( input, this->mutable_avatarhash())); } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:PlayerInfoReplyMessage.PlayerInfoData.AvatarData) return true; +failure: + // @@protoc_insertion_point(parse_failure:PlayerInfoReplyMessage.PlayerInfoData.AvatarData) + return false; #undef DO_ } void PlayerInfoReplyMessage_PlayerInfoData_AvatarData::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:PlayerInfoReplyMessage.PlayerInfoData.AvatarData) // required .NetAvatarType avatarType = 1; if (has_avatartype()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( @@ -6555,10 +7286,13 @@ void PlayerInfoReplyMessage_PlayerInfoData_AvatarData::SerializeWithCachedSizes( // required bytes avatarHash = 2; if (has_avatarhash()) { - ::google::protobuf::internal::WireFormatLite::WriteBytes( + ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased( 2, this->avatarhash(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:PlayerInfoReplyMessage.PlayerInfoData.AvatarData) } int PlayerInfoReplyMessage_PlayerInfoData_AvatarData::ByteSize() const { @@ -6579,6 +7313,8 @@ int PlayerInfoReplyMessage_PlayerInfoData_AvatarData::ByteSize() const { } } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -6600,6 +7336,7 @@ void PlayerInfoReplyMessage_PlayerInfoData_AvatarData::MergeFrom(const PlayerInf set_avatarhash(from.avatarhash()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void PlayerInfoReplyMessage_PlayerInfoData_AvatarData::CopyFrom(const PlayerInfoReplyMessage_PlayerInfoData_AvatarData& from) { @@ -6619,6 +7356,7 @@ void PlayerInfoReplyMessage_PlayerInfoData_AvatarData::Swap(PlayerInfoReplyMessa std::swap(avatartype_, other->avatartype_); std::swap(avatarhash_, other->avatarhash_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -6641,6 +7379,7 @@ const int PlayerInfoReplyMessage_PlayerInfoData::kAvatarDataFieldNumber; PlayerInfoReplyMessage_PlayerInfoData::PlayerInfoReplyMessage_PlayerInfoData() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:PlayerInfoReplyMessage.PlayerInfoData) } void PlayerInfoReplyMessage_PlayerInfoData::InitAsDefaultInstance() { @@ -6656,27 +7395,30 @@ PlayerInfoReplyMessage_PlayerInfoData::PlayerInfoReplyMessage_PlayerInfoData(con : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:PlayerInfoReplyMessage.PlayerInfoData) } void PlayerInfoReplyMessage_PlayerInfoData::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); _cached_size_ = 0; - playername_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + playername_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); ishuman_ = false; playerrights_ = 1; - countrycode_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + countrycode_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); avatardata_ = NULL; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } PlayerInfoReplyMessage_PlayerInfoData::~PlayerInfoReplyMessage_PlayerInfoData() { + // @@protoc_insertion_point(destructor:PlayerInfoReplyMessage.PlayerInfoData) SharedDtor(); } void PlayerInfoReplyMessage_PlayerInfoData::SharedDtor() { - if (playername_ != &::google::protobuf::internal::kEmptyString) { + if (playername_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete playername_; } - if (countrycode_ != &::google::protobuf::internal::kEmptyString) { + if (countrycode_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete countrycode_; } #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -6709,16 +7451,16 @@ PlayerInfoReplyMessage_PlayerInfoData* PlayerInfoReplyMessage_PlayerInfoData::Ne } void PlayerInfoReplyMessage_PlayerInfoData::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (_has_bits_[0 / 32] & 31) { if (has_playername()) { - if (playername_ != &::google::protobuf::internal::kEmptyString) { + if (playername_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { playername_->clear(); } } ishuman_ = false; playerrights_ = 1; if (has_countrycode()) { - if (countrycode_ != &::google::protobuf::internal::kEmptyString) { + if (countrycode_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { countrycode_->clear(); } } @@ -6727,22 +7469,30 @@ void PlayerInfoReplyMessage_PlayerInfoData::Clear() { } } ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool PlayerInfoReplyMessage_PlayerInfoData::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:PlayerInfoReplyMessage.PlayerInfoData) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required string playerName = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 10) { DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_playername())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(16)) goto parse_isHuman; break; @@ -6750,15 +7500,14 @@ bool PlayerInfoReplyMessage_PlayerInfoData::MergePartialFromCodedStream( // required bool isHuman = 2; case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 16) { parse_isHuman: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( input, &ishuman_))); set_has_ishuman(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(24)) goto parse_playerRights; break; @@ -6766,8 +7515,7 @@ bool PlayerInfoReplyMessage_PlayerInfoData::MergePartialFromCodedStream( // required .NetPlayerInfoRights playerRights = 3; case 3: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 24) { parse_playerRights: int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< @@ -6775,9 +7523,12 @@ bool PlayerInfoReplyMessage_PlayerInfoData::MergePartialFromCodedStream( input, &value))); if (::NetPlayerInfoRights_IsValid(value)) { set_playerrights(static_cast< ::NetPlayerInfoRights >(value)); + } else { + unknown_fields_stream.WriteVarint32(tag); + unknown_fields_stream.WriteVarint32(value); } } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(34)) goto parse_countryCode; break; @@ -6785,13 +7536,12 @@ bool PlayerInfoReplyMessage_PlayerInfoData::MergePartialFromCodedStream( // optional string countryCode = 4; case 4: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 34) { parse_countryCode: DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_countrycode())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(42)) goto parse_avatarData; break; @@ -6799,38 +7549,45 @@ bool PlayerInfoReplyMessage_PlayerInfoData::MergePartialFromCodedStream( // optional .PlayerInfoReplyMessage.PlayerInfoData.AvatarData avatarData = 5; case 5: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 42) { parse_avatarData: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_avatardata())); } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:PlayerInfoReplyMessage.PlayerInfoData) return true; +failure: + // @@protoc_insertion_point(parse_failure:PlayerInfoReplyMessage.PlayerInfoData) + return false; #undef DO_ } void PlayerInfoReplyMessage_PlayerInfoData::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:PlayerInfoReplyMessage.PlayerInfoData) // required string playerName = 1; if (has_playername()) { - ::google::protobuf::internal::WireFormatLite::WriteString( + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 1, this->playername(), output); } @@ -6847,7 +7604,7 @@ void PlayerInfoReplyMessage_PlayerInfoData::SerializeWithCachedSizes( // optional string countryCode = 4; if (has_countrycode()) { - ::google::protobuf::internal::WireFormatLite::WriteString( + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 4, this->countrycode(), output); } @@ -6857,6 +7614,9 @@ void PlayerInfoReplyMessage_PlayerInfoData::SerializeWithCachedSizes( 5, this->avatardata(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:PlayerInfoReplyMessage.PlayerInfoData) } int PlayerInfoReplyMessage_PlayerInfoData::ByteSize() const { @@ -6896,6 +7656,8 @@ int PlayerInfoReplyMessage_PlayerInfoData::ByteSize() const { } } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -6926,6 +7688,7 @@ void PlayerInfoReplyMessage_PlayerInfoData::MergeFrom(const PlayerInfoReplyMessa mutable_avatardata()->::PlayerInfoReplyMessage_PlayerInfoData_AvatarData::MergeFrom(from.avatardata()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void PlayerInfoReplyMessage_PlayerInfoData::CopyFrom(const PlayerInfoReplyMessage_PlayerInfoData& from) { @@ -6951,6 +7714,7 @@ void PlayerInfoReplyMessage_PlayerInfoData::Swap(PlayerInfoReplyMessage_PlayerIn std::swap(countrycode_, other->countrycode_); std::swap(avatardata_, other->avatardata_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -6970,6 +7734,7 @@ const int PlayerInfoReplyMessage::kPlayerInfoDataFieldNumber; PlayerInfoReplyMessage::PlayerInfoReplyMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:PlayerInfoReplyMessage) } void PlayerInfoReplyMessage::InitAsDefaultInstance() { @@ -6985,6 +7750,7 @@ PlayerInfoReplyMessage::PlayerInfoReplyMessage(const PlayerInfoReplyMessage& fro : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:PlayerInfoReplyMessage) } void PlayerInfoReplyMessage::SharedCtor() { @@ -6995,6 +7761,7 @@ void PlayerInfoReplyMessage::SharedCtor() { } PlayerInfoReplyMessage::~PlayerInfoReplyMessage() { + // @@protoc_insertion_point(destructor:PlayerInfoReplyMessage) SharedDtor(); } @@ -7029,31 +7796,39 @@ PlayerInfoReplyMessage* PlayerInfoReplyMessage::New() const { } void PlayerInfoReplyMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (_has_bits_[0 / 32] & 3) { playerid_ = 0u; if (has_playerinfodata()) { if (playerinfodata_ != NULL) playerinfodata_->::PlayerInfoReplyMessage_PlayerInfoData::Clear(); } } ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool PlayerInfoReplyMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:PlayerInfoReplyMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required uint32 playerId = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 8) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &playerid_))); set_has_playerid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(18)) goto parse_playerInfoData; break; @@ -7061,35 +7836,42 @@ bool PlayerInfoReplyMessage::MergePartialFromCodedStream( // optional .PlayerInfoReplyMessage.PlayerInfoData playerInfoData = 2; case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 18) { parse_playerInfoData: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_playerinfodata())); } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:PlayerInfoReplyMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:PlayerInfoReplyMessage) + return false; #undef DO_ } void PlayerInfoReplyMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:PlayerInfoReplyMessage) // required uint32 playerId = 1; if (has_playerid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->playerid(), output); @@ -7101,6 +7883,9 @@ void PlayerInfoReplyMessage::SerializeWithCachedSizes( 2, this->playerinfodata(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:PlayerInfoReplyMessage) } int PlayerInfoReplyMessage::ByteSize() const { @@ -7122,6 +7907,8 @@ int PlayerInfoReplyMessage::ByteSize() const { } } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -7143,6 +7930,7 @@ void PlayerInfoReplyMessage::MergeFrom(const PlayerInfoReplyMessage& from) { mutable_playerinfodata()->::PlayerInfoReplyMessage_PlayerInfoData::MergeFrom(from.playerinfodata()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void PlayerInfoReplyMessage::CopyFrom(const PlayerInfoReplyMessage& from) { @@ -7165,6 +7953,7 @@ void PlayerInfoReplyMessage::Swap(PlayerInfoReplyMessage* other) { std::swap(playerid_, other->playerid_); std::swap(playerinfodata_, other->playerinfodata_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -7200,6 +7989,7 @@ const int SubscriptionRequestMessage::kSubscriptionActionFieldNumber; SubscriptionRequestMessage::SubscriptionRequestMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:SubscriptionRequestMessage) } void SubscriptionRequestMessage::InitAsDefaultInstance() { @@ -7209,6 +7999,7 @@ SubscriptionRequestMessage::SubscriptionRequestMessage(const SubscriptionRequest : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:SubscriptionRequestMessage) } void SubscriptionRequestMessage::SharedCtor() { @@ -7218,6 +8009,7 @@ void SubscriptionRequestMessage::SharedCtor() { } SubscriptionRequestMessage::~SubscriptionRequestMessage() { + // @@protoc_insertion_point(destructor:SubscriptionRequestMessage) SharedDtor(); } @@ -7251,59 +8043,79 @@ SubscriptionRequestMessage* SubscriptionRequestMessage::New() const { } void SubscriptionRequestMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - subscriptionaction_ = 1; - } + subscriptionaction_ = 1; ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool SubscriptionRequestMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:SubscriptionRequestMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required .SubscriptionRequestMessage.SubscriptionAction subscriptionAction = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 8) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::SubscriptionRequestMessage_SubscriptionAction_IsValid(value)) { set_subscriptionaction(static_cast< ::SubscriptionRequestMessage_SubscriptionAction >(value)); + } else { + unknown_fields_stream.WriteVarint32(tag); + unknown_fields_stream.WriteVarint32(value); } } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:SubscriptionRequestMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:SubscriptionRequestMessage) + return false; #undef DO_ } void SubscriptionRequestMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:SubscriptionRequestMessage) // required .SubscriptionRequestMessage.SubscriptionAction subscriptionAction = 1; if (has_subscriptionaction()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->subscriptionaction(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:SubscriptionRequestMessage) } int SubscriptionRequestMessage::ByteSize() const { @@ -7317,6 +8129,8 @@ int SubscriptionRequestMessage::ByteSize() const { } } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -7335,6 +8149,7 @@ void SubscriptionRequestMessage::MergeFrom(const SubscriptionRequestMessage& fro set_subscriptionaction(from.subscriptionaction()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void SubscriptionRequestMessage::CopyFrom(const SubscriptionRequestMessage& from) { @@ -7353,6 +8168,7 @@ void SubscriptionRequestMessage::Swap(SubscriptionRequestMessage* other) { if (other != this) { std::swap(subscriptionaction_, other->subscriptionaction_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -7374,6 +8190,7 @@ const int JoinExistingGameMessage::kSpectateOnlyFieldNumber; JoinExistingGameMessage::JoinExistingGameMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:JoinExistingGameMessage) } void JoinExistingGameMessage::InitAsDefaultInstance() { @@ -7383,23 +8200,26 @@ JoinExistingGameMessage::JoinExistingGameMessage(const JoinExistingGameMessage& : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:JoinExistingGameMessage) } void JoinExistingGameMessage::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); _cached_size_ = 0; gameid_ = 0u; - password_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + password_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); autoleave_ = false; spectateonly_ = false; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } JoinExistingGameMessage::~JoinExistingGameMessage() { + // @@protoc_insertion_point(destructor:JoinExistingGameMessage) SharedDtor(); } void JoinExistingGameMessage::SharedDtor() { - if (password_ != &::google::protobuf::internal::kEmptyString) { + if (password_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete password_; } #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -7431,35 +8251,55 @@ JoinExistingGameMessage* JoinExistingGameMessage::New() const { } void JoinExistingGameMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - gameid_ = 0u; +#define OFFSET_OF_FIELD_(f) (reinterpret_cast( \ + &reinterpret_cast(16)->f) - \ + reinterpret_cast(16)) + +#define ZR_(first, last) do { \ + size_t f = OFFSET_OF_FIELD_(first); \ + size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \ + ::memset(&first, 0, n); \ + } while (0) + + if (_has_bits_[0 / 32] & 15) { + ZR_(gameid_, spectateonly_); if (has_password()) { - if (password_ != &::google::protobuf::internal::kEmptyString) { + if (password_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { password_->clear(); } } - autoleave_ = false; - spectateonly_ = false; } + +#undef OFFSET_OF_FIELD_ +#undef ZR_ + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool JoinExistingGameMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:JoinExistingGameMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required uint32 gameId = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 8) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &gameid_))); set_has_gameid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(18)) goto parse_password; break; @@ -7467,13 +8307,12 @@ bool JoinExistingGameMessage::MergePartialFromCodedStream( // optional string password = 2; case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 18) { parse_password: DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_password())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(24)) goto parse_autoLeave; break; @@ -7481,15 +8320,14 @@ bool JoinExistingGameMessage::MergePartialFromCodedStream( // optional bool autoLeave = 3 [default = false]; case 3: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 24) { parse_autoLeave: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( input, &autoleave_))); set_has_autoleave(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(32)) goto parse_spectateOnly; break; @@ -7497,37 +8335,44 @@ bool JoinExistingGameMessage::MergePartialFromCodedStream( // optional bool spectateOnly = 4 [default = false]; case 4: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 32) { parse_spectateOnly: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( input, &spectateonly_))); set_has_spectateonly(); } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:JoinExistingGameMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:JoinExistingGameMessage) + return false; #undef DO_ } void JoinExistingGameMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:JoinExistingGameMessage) // required uint32 gameId = 1; if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); @@ -7535,7 +8380,7 @@ void JoinExistingGameMessage::SerializeWithCachedSizes( // optional string password = 2; if (has_password()) { - ::google::protobuf::internal::WireFormatLite::WriteString( + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 2, this->password(), output); } @@ -7549,6 +8394,9 @@ void JoinExistingGameMessage::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::WriteBool(4, this->spectateonly(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:JoinExistingGameMessage) } int JoinExistingGameMessage::ByteSize() const { @@ -7580,6 +8428,8 @@ int JoinExistingGameMessage::ByteSize() const { } } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -7607,6 +8457,7 @@ void JoinExistingGameMessage::MergeFrom(const JoinExistingGameMessage& from) { set_spectateonly(from.spectateonly()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void JoinExistingGameMessage::CopyFrom(const JoinExistingGameMessage& from) { @@ -7628,6 +8479,7 @@ void JoinExistingGameMessage::Swap(JoinExistingGameMessage* other) { std::swap(autoleave_, other->autoleave_); std::swap(spectateonly_, other->spectateonly_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -7648,6 +8500,7 @@ const int JoinNewGameMessage::kAutoLeaveFieldNumber; JoinNewGameMessage::JoinNewGameMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:JoinNewGameMessage) } void JoinNewGameMessage::InitAsDefaultInstance() { @@ -7663,22 +8516,25 @@ JoinNewGameMessage::JoinNewGameMessage(const JoinNewGameMessage& from) : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:JoinNewGameMessage) } void JoinNewGameMessage::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); _cached_size_ = 0; gameinfo_ = NULL; - password_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + password_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); autoleave_ = false; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } JoinNewGameMessage::~JoinNewGameMessage() { + // @@protoc_insertion_point(destructor:JoinNewGameMessage) SharedDtor(); } void JoinNewGameMessage::SharedDtor() { - if (password_ != &::google::protobuf::internal::kEmptyString) { + if (password_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete password_; } #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -7711,34 +8567,42 @@ JoinNewGameMessage* JoinNewGameMessage::New() const { } void JoinNewGameMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (_has_bits_[0 / 32] & 7) { if (has_gameinfo()) { if (gameinfo_ != NULL) gameinfo_->::NetGameInfo::Clear(); } if (has_password()) { - if (password_ != &::google::protobuf::internal::kEmptyString) { + if (password_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { password_->clear(); } } autoleave_ = false; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool JoinNewGameMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:JoinNewGameMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required .NetGameInfo gameInfo = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 10) { DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_gameinfo())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(18)) goto parse_password; break; @@ -7746,13 +8610,12 @@ bool JoinNewGameMessage::MergePartialFromCodedStream( // optional string password = 2; case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 18) { parse_password: DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_password())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(24)) goto parse_autoLeave; break; @@ -7760,37 +8623,44 @@ bool JoinNewGameMessage::MergePartialFromCodedStream( // optional bool autoLeave = 3; case 3: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 24) { parse_autoLeave: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( input, &autoleave_))); set_has_autoleave(); } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:JoinNewGameMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:JoinNewGameMessage) + return false; #undef DO_ } void JoinNewGameMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:JoinNewGameMessage) // required .NetGameInfo gameInfo = 1; if (has_gameinfo()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( @@ -7799,7 +8669,7 @@ void JoinNewGameMessage::SerializeWithCachedSizes( // optional string password = 2; if (has_password()) { - ::google::protobuf::internal::WireFormatLite::WriteString( + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 2, this->password(), output); } @@ -7808,6 +8678,9 @@ void JoinNewGameMessage::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->autoleave(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:JoinNewGameMessage) } int JoinNewGameMessage::ByteSize() const { @@ -7834,6 +8707,8 @@ int JoinNewGameMessage::ByteSize() const { } } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -7858,6 +8733,7 @@ void JoinNewGameMessage::MergeFrom(const JoinNewGameMessage& from) { set_autoleave(from.autoleave()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void JoinNewGameMessage::CopyFrom(const JoinNewGameMessage& from) { @@ -7881,6 +8757,7 @@ void JoinNewGameMessage::Swap(JoinNewGameMessage* other) { std::swap(password_, other->password_); std::swap(autoleave_, other->autoleave_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -7900,6 +8777,7 @@ const int RejoinExistingGameMessage::kAutoLeaveFieldNumber; RejoinExistingGameMessage::RejoinExistingGameMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:RejoinExistingGameMessage) } void RejoinExistingGameMessage::InitAsDefaultInstance() { @@ -7909,6 +8787,7 @@ RejoinExistingGameMessage::RejoinExistingGameMessage(const RejoinExistingGameMes : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:RejoinExistingGameMessage) } void RejoinExistingGameMessage::SharedCtor() { @@ -7919,6 +8798,7 @@ void RejoinExistingGameMessage::SharedCtor() { } RejoinExistingGameMessage::~RejoinExistingGameMessage() { + // @@protoc_insertion_point(destructor:RejoinExistingGameMessage) SharedDtor(); } @@ -7952,29 +8832,48 @@ RejoinExistingGameMessage* RejoinExistingGameMessage::New() const { } void RejoinExistingGameMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - gameid_ = 0u; - autoleave_ = false; - } +#define OFFSET_OF_FIELD_(f) (reinterpret_cast( \ + &reinterpret_cast(16)->f) - \ + reinterpret_cast(16)) + +#define ZR_(first, last) do { \ + size_t f = OFFSET_OF_FIELD_(first); \ + size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \ + ::memset(&first, 0, n); \ + } while (0) + + ZR_(gameid_, autoleave_); + +#undef OFFSET_OF_FIELD_ +#undef ZR_ + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool RejoinExistingGameMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:RejoinExistingGameMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required uint32 gameId = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 8) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &gameid_))); set_has_gameid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(16)) goto parse_autoLeave; break; @@ -7982,37 +8881,44 @@ bool RejoinExistingGameMessage::MergePartialFromCodedStream( // optional bool autoLeave = 2; case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 16) { parse_autoLeave: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( input, &autoleave_))); set_has_autoleave(); } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:RejoinExistingGameMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:RejoinExistingGameMessage) + return false; #undef DO_ } void RejoinExistingGameMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:RejoinExistingGameMessage) // required uint32 gameId = 1; if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); @@ -8023,6 +8929,9 @@ void RejoinExistingGameMessage::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->autoleave(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:RejoinExistingGameMessage) } int RejoinExistingGameMessage::ByteSize() const { @@ -8042,6 +8951,8 @@ int RejoinExistingGameMessage::ByteSize() const { } } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -8063,6 +8974,7 @@ void RejoinExistingGameMessage::MergeFrom(const RejoinExistingGameMessage& from) set_autoleave(from.autoleave()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void RejoinExistingGameMessage::CopyFrom(const RejoinExistingGameMessage& from) { @@ -8082,6 +8994,7 @@ void RejoinExistingGameMessage::Swap(RejoinExistingGameMessage* other) { std::swap(gameid_, other->gameid_); std::swap(autoleave_, other->autoleave_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -8103,6 +9016,7 @@ const int JoinGameAckMessage::kSpectateOnlyFieldNumber; JoinGameAckMessage::JoinGameAckMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:JoinGameAckMessage) } void JoinGameAckMessage::InitAsDefaultInstance() { @@ -8118,6 +9032,7 @@ JoinGameAckMessage::JoinGameAckMessage(const JoinGameAckMessage& from) : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:JoinGameAckMessage) } void JoinGameAckMessage::SharedCtor() { @@ -8130,6 +9045,7 @@ void JoinGameAckMessage::SharedCtor() { } JoinGameAckMessage::~JoinGameAckMessage() { + // @@protoc_insertion_point(destructor:JoinGameAckMessage) SharedDtor(); } @@ -8164,33 +9080,53 @@ JoinGameAckMessage* JoinGameAckMessage::New() const { } void JoinGameAckMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - gameid_ = 0u; - areyougameadmin_ = false; +#define OFFSET_OF_FIELD_(f) (reinterpret_cast( \ + &reinterpret_cast(16)->f) - \ + reinterpret_cast(16)) + +#define ZR_(first, last) do { \ + size_t f = OFFSET_OF_FIELD_(first); \ + size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \ + ::memset(&first, 0, n); \ + } while (0) + + if (_has_bits_[0 / 32] & 15) { + ZR_(gameid_, spectateonly_); if (has_gameinfo()) { if (gameinfo_ != NULL) gameinfo_->::NetGameInfo::Clear(); } - spectateonly_ = false; } + +#undef OFFSET_OF_FIELD_ +#undef ZR_ + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool JoinGameAckMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:JoinGameAckMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required uint32 gameId = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 8) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &gameid_))); set_has_gameid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(16)) goto parse_areYouGameAdmin; break; @@ -8198,15 +9134,14 @@ bool JoinGameAckMessage::MergePartialFromCodedStream( // required bool areYouGameAdmin = 2; case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 16) { parse_areYouGameAdmin: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( input, &areyougameadmin_))); set_has_areyougameadmin(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(26)) goto parse_gameInfo; break; @@ -8214,13 +9149,12 @@ bool JoinGameAckMessage::MergePartialFromCodedStream( // required .NetGameInfo gameInfo = 3; case 3: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 26) { parse_gameInfo: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_gameinfo())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(32)) goto parse_spectateOnly; break; @@ -8228,37 +9162,44 @@ bool JoinGameAckMessage::MergePartialFromCodedStream( // optional bool spectateOnly = 4; case 4: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 32) { parse_spectateOnly: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( input, &spectateonly_))); set_has_spectateonly(); } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:JoinGameAckMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:JoinGameAckMessage) + return false; #undef DO_ } void JoinGameAckMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:JoinGameAckMessage) // required uint32 gameId = 1; if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); @@ -8280,6 +9221,9 @@ void JoinGameAckMessage::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::WriteBool(4, this->spectateonly(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:JoinGameAckMessage) } int JoinGameAckMessage::ByteSize() const { @@ -8311,6 +9255,8 @@ int JoinGameAckMessage::ByteSize() const { } } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -8338,6 +9284,7 @@ void JoinGameAckMessage::MergeFrom(const JoinGameAckMessage& from) { set_spectateonly(from.spectateonly()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void JoinGameAckMessage::CopyFrom(const JoinGameAckMessage& from) { @@ -8362,6 +9309,7 @@ void JoinGameAckMessage::Swap(JoinGameAckMessage* other) { std::swap(gameinfo_, other->gameinfo_); std::swap(spectateonly_, other->spectateonly_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -8418,6 +9366,7 @@ const int JoinGameFailedMessage::kJoinGameFailureReasonFieldNumber; JoinGameFailedMessage::JoinGameFailedMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:JoinGameFailedMessage) } void JoinGameFailedMessage::InitAsDefaultInstance() { @@ -8427,6 +9376,7 @@ JoinGameFailedMessage::JoinGameFailedMessage(const JoinGameFailedMessage& from) : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:JoinGameFailedMessage) } void JoinGameFailedMessage::SharedCtor() { @@ -8437,6 +9387,7 @@ void JoinGameFailedMessage::SharedCtor() { } JoinGameFailedMessage::~JoinGameFailedMessage() { + // @@protoc_insertion_point(destructor:JoinGameFailedMessage) SharedDtor(); } @@ -8470,29 +9421,37 @@ JoinGameFailedMessage* JoinGameFailedMessage::New() const { } void JoinGameFailedMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (_has_bits_[0 / 32] & 3) { gameid_ = 0u; joingamefailurereason_ = 1; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool JoinGameFailedMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:JoinGameFailedMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required uint32 gameId = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 8) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &gameid_))); set_has_gameid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(16)) goto parse_joinGameFailureReason; break; @@ -8500,8 +9459,7 @@ bool JoinGameFailedMessage::MergePartialFromCodedStream( // required .JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason = 2; case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 16) { parse_joinGameFailureReason: int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< @@ -8509,31 +9467,42 @@ bool JoinGameFailedMessage::MergePartialFromCodedStream( input, &value))); if (::JoinGameFailedMessage_JoinGameFailureReason_IsValid(value)) { set_joingamefailurereason(static_cast< ::JoinGameFailedMessage_JoinGameFailureReason >(value)); + } else { + unknown_fields_stream.WriteVarint32(tag); + unknown_fields_stream.WriteVarint32(value); } } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:JoinGameFailedMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:JoinGameFailedMessage) + return false; #undef DO_ } void JoinGameFailedMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:JoinGameFailedMessage) // required uint32 gameId = 1; if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); @@ -8545,6 +9514,9 @@ void JoinGameFailedMessage::SerializeWithCachedSizes( 2, this->joingamefailurereason(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:JoinGameFailedMessage) } int JoinGameFailedMessage::ByteSize() const { @@ -8565,6 +9537,8 @@ int JoinGameFailedMessage::ByteSize() const { } } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -8586,6 +9560,7 @@ void JoinGameFailedMessage::MergeFrom(const JoinGameFailedMessage& from) { set_joingamefailurereason(from.joingamefailurereason()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void JoinGameFailedMessage::CopyFrom(const JoinGameFailedMessage& from) { @@ -8605,6 +9580,7 @@ void JoinGameFailedMessage::Swap(JoinGameFailedMessage* other) { std::swap(gameid_, other->gameid_); std::swap(joingamefailurereason_, other->joingamefailurereason_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -8625,6 +9601,7 @@ const int GamePlayerJoinedMessage::kIsGameAdminFieldNumber; GamePlayerJoinedMessage::GamePlayerJoinedMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:GamePlayerJoinedMessage) } void GamePlayerJoinedMessage::InitAsDefaultInstance() { @@ -8634,6 +9611,7 @@ GamePlayerJoinedMessage::GamePlayerJoinedMessage(const GamePlayerJoinedMessage& : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:GamePlayerJoinedMessage) } void GamePlayerJoinedMessage::SharedCtor() { @@ -8645,6 +9623,7 @@ void GamePlayerJoinedMessage::SharedCtor() { } GamePlayerJoinedMessage::~GamePlayerJoinedMessage() { + // @@protoc_insertion_point(destructor:GamePlayerJoinedMessage) SharedDtor(); } @@ -8678,30 +9657,48 @@ GamePlayerJoinedMessage* GamePlayerJoinedMessage::New() const { } void GamePlayerJoinedMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - gameid_ = 0u; - playerid_ = 0u; - isgameadmin_ = false; - } +#define OFFSET_OF_FIELD_(f) (reinterpret_cast( \ + &reinterpret_cast(16)->f) - \ + reinterpret_cast(16)) + +#define ZR_(first, last) do { \ + size_t f = OFFSET_OF_FIELD_(first); \ + size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \ + ::memset(&first, 0, n); \ + } while (0) + + ZR_(gameid_, isgameadmin_); + +#undef OFFSET_OF_FIELD_ +#undef ZR_ + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool GamePlayerJoinedMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:GamePlayerJoinedMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required uint32 gameId = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 8) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &gameid_))); set_has_gameid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(16)) goto parse_playerId; break; @@ -8709,15 +9706,14 @@ bool GamePlayerJoinedMessage::MergePartialFromCodedStream( // required uint32 playerId = 2; case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 16) { parse_playerId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &playerid_))); set_has_playerid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(24)) goto parse_isGameAdmin; break; @@ -8725,37 +9721,44 @@ bool GamePlayerJoinedMessage::MergePartialFromCodedStream( // required bool isGameAdmin = 3; case 3: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 24) { parse_isGameAdmin: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( input, &isgameadmin_))); set_has_isgameadmin(); } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:GamePlayerJoinedMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:GamePlayerJoinedMessage) + return false; #undef DO_ } void GamePlayerJoinedMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:GamePlayerJoinedMessage) // required uint32 gameId = 1; if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); @@ -8771,6 +9774,9 @@ void GamePlayerJoinedMessage::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->isgameadmin(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:GamePlayerJoinedMessage) } int GamePlayerJoinedMessage::ByteSize() const { @@ -8797,6 +9803,8 @@ int GamePlayerJoinedMessage::ByteSize() const { } } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -8821,6 +9829,7 @@ void GamePlayerJoinedMessage::MergeFrom(const GamePlayerJoinedMessage& from) { set_isgameadmin(from.isgameadmin()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void GamePlayerJoinedMessage::CopyFrom(const GamePlayerJoinedMessage& from) { @@ -8841,6 +9850,7 @@ void GamePlayerJoinedMessage::Swap(GamePlayerJoinedMessage* other) { std::swap(playerid_, other->playerid_); std::swap(isgameadmin_, other->isgameadmin_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -8880,6 +9890,7 @@ const int GamePlayerLeftMessage::kGamePlayerLeftReasonFieldNumber; GamePlayerLeftMessage::GamePlayerLeftMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:GamePlayerLeftMessage) } void GamePlayerLeftMessage::InitAsDefaultInstance() { @@ -8889,6 +9900,7 @@ GamePlayerLeftMessage::GamePlayerLeftMessage(const GamePlayerLeftMessage& from) : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:GamePlayerLeftMessage) } void GamePlayerLeftMessage::SharedCtor() { @@ -8900,6 +9912,7 @@ void GamePlayerLeftMessage::SharedCtor() { } GamePlayerLeftMessage::~GamePlayerLeftMessage() { + // @@protoc_insertion_point(destructor:GamePlayerLeftMessage) SharedDtor(); } @@ -8933,30 +9946,48 @@ GamePlayerLeftMessage* GamePlayerLeftMessage::New() const { } void GamePlayerLeftMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - gameid_ = 0u; - playerid_ = 0u; - gameplayerleftreason_ = 0; - } +#define OFFSET_OF_FIELD_(f) (reinterpret_cast( \ + &reinterpret_cast(16)->f) - \ + reinterpret_cast(16)) + +#define ZR_(first, last) do { \ + size_t f = OFFSET_OF_FIELD_(first); \ + size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \ + ::memset(&first, 0, n); \ + } while (0) + + ZR_(gameid_, gameplayerleftreason_); + +#undef OFFSET_OF_FIELD_ +#undef ZR_ + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool GamePlayerLeftMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:GamePlayerLeftMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required uint32 gameId = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 8) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &gameid_))); set_has_gameid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(16)) goto parse_playerId; break; @@ -8964,15 +9995,14 @@ bool GamePlayerLeftMessage::MergePartialFromCodedStream( // required uint32 playerId = 2; case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 16) { parse_playerId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &playerid_))); set_has_playerid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(24)) goto parse_gamePlayerLeftReason; break; @@ -8980,8 +10010,7 @@ bool GamePlayerLeftMessage::MergePartialFromCodedStream( // required .GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason = 3; case 3: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 24) { parse_gamePlayerLeftReason: int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< @@ -8989,31 +10018,42 @@ bool GamePlayerLeftMessage::MergePartialFromCodedStream( input, &value))); if (::GamePlayerLeftMessage_GamePlayerLeftReason_IsValid(value)) { set_gameplayerleftreason(static_cast< ::GamePlayerLeftMessage_GamePlayerLeftReason >(value)); + } else { + unknown_fields_stream.WriteVarint32(tag); + unknown_fields_stream.WriteVarint32(value); } } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:GamePlayerLeftMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:GamePlayerLeftMessage) + return false; #undef DO_ } void GamePlayerLeftMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:GamePlayerLeftMessage) // required uint32 gameId = 1; if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); @@ -9030,6 +10070,9 @@ void GamePlayerLeftMessage::SerializeWithCachedSizes( 3, this->gameplayerleftreason(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:GamePlayerLeftMessage) } int GamePlayerLeftMessage::ByteSize() const { @@ -9057,6 +10100,8 @@ int GamePlayerLeftMessage::ByteSize() const { } } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -9081,6 +10126,7 @@ void GamePlayerLeftMessage::MergeFrom(const GamePlayerLeftMessage& from) { set_gameplayerleftreason(from.gameplayerleftreason()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void GamePlayerLeftMessage::CopyFrom(const GamePlayerLeftMessage& from) { @@ -9101,6 +10147,7 @@ void GamePlayerLeftMessage::Swap(GamePlayerLeftMessage* other) { std::swap(playerid_, other->playerid_); std::swap(gameplayerleftreason_, other->gameplayerleftreason_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -9120,6 +10167,7 @@ const int GameSpectatorJoinedMessage::kPlayerIdFieldNumber; GameSpectatorJoinedMessage::GameSpectatorJoinedMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:GameSpectatorJoinedMessage) } void GameSpectatorJoinedMessage::InitAsDefaultInstance() { @@ -9129,6 +10177,7 @@ GameSpectatorJoinedMessage::GameSpectatorJoinedMessage(const GameSpectatorJoined : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:GameSpectatorJoinedMessage) } void GameSpectatorJoinedMessage::SharedCtor() { @@ -9139,6 +10188,7 @@ void GameSpectatorJoinedMessage::SharedCtor() { } GameSpectatorJoinedMessage::~GameSpectatorJoinedMessage() { + // @@protoc_insertion_point(destructor:GameSpectatorJoinedMessage) SharedDtor(); } @@ -9172,29 +10222,48 @@ GameSpectatorJoinedMessage* GameSpectatorJoinedMessage::New() const { } void GameSpectatorJoinedMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - gameid_ = 0u; - playerid_ = 0u; - } +#define OFFSET_OF_FIELD_(f) (reinterpret_cast( \ + &reinterpret_cast(16)->f) - \ + reinterpret_cast(16)) + +#define ZR_(first, last) do { \ + size_t f = OFFSET_OF_FIELD_(first); \ + size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \ + ::memset(&first, 0, n); \ + } while (0) + + ZR_(gameid_, playerid_); + +#undef OFFSET_OF_FIELD_ +#undef ZR_ + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool GameSpectatorJoinedMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:GameSpectatorJoinedMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required uint32 gameId = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 8) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &gameid_))); set_has_gameid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(16)) goto parse_playerId; break; @@ -9202,37 +10271,44 @@ bool GameSpectatorJoinedMessage::MergePartialFromCodedStream( // required uint32 playerId = 2; case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 16) { parse_playerId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &playerid_))); set_has_playerid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:GameSpectatorJoinedMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:GameSpectatorJoinedMessage) + return false; #undef DO_ } void GameSpectatorJoinedMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:GameSpectatorJoinedMessage) // required uint32 gameId = 1; if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); @@ -9243,6 +10319,9 @@ void GameSpectatorJoinedMessage::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->playerid(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:GameSpectatorJoinedMessage) } int GameSpectatorJoinedMessage::ByteSize() const { @@ -9264,6 +10343,8 @@ int GameSpectatorJoinedMessage::ByteSize() const { } } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -9285,6 +10366,7 @@ void GameSpectatorJoinedMessage::MergeFrom(const GameSpectatorJoinedMessage& fro set_playerid(from.playerid()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void GameSpectatorJoinedMessage::CopyFrom(const GameSpectatorJoinedMessage& from) { @@ -9304,6 +10386,7 @@ void GameSpectatorJoinedMessage::Swap(GameSpectatorJoinedMessage* other) { std::swap(gameid_, other->gameid_); std::swap(playerid_, other->playerid_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -9324,6 +10407,7 @@ const int GameSpectatorLeftMessage::kGameSpectatorLeftReasonFieldNumber; GameSpectatorLeftMessage::GameSpectatorLeftMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:GameSpectatorLeftMessage) } void GameSpectatorLeftMessage::InitAsDefaultInstance() { @@ -9333,6 +10417,7 @@ GameSpectatorLeftMessage::GameSpectatorLeftMessage(const GameSpectatorLeftMessag : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:GameSpectatorLeftMessage) } void GameSpectatorLeftMessage::SharedCtor() { @@ -9344,6 +10429,7 @@ void GameSpectatorLeftMessage::SharedCtor() { } GameSpectatorLeftMessage::~GameSpectatorLeftMessage() { + // @@protoc_insertion_point(destructor:GameSpectatorLeftMessage) SharedDtor(); } @@ -9377,30 +10463,48 @@ GameSpectatorLeftMessage* GameSpectatorLeftMessage::New() const { } void GameSpectatorLeftMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - gameid_ = 0u; - playerid_ = 0u; - gamespectatorleftreason_ = 0; - } +#define OFFSET_OF_FIELD_(f) (reinterpret_cast( \ + &reinterpret_cast(16)->f) - \ + reinterpret_cast(16)) + +#define ZR_(first, last) do { \ + size_t f = OFFSET_OF_FIELD_(first); \ + size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \ + ::memset(&first, 0, n); \ + } while (0) + + ZR_(gameid_, gamespectatorleftreason_); + +#undef OFFSET_OF_FIELD_ +#undef ZR_ + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool GameSpectatorLeftMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:GameSpectatorLeftMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required uint32 gameId = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 8) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &gameid_))); set_has_gameid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(16)) goto parse_playerId; break; @@ -9408,15 +10512,14 @@ bool GameSpectatorLeftMessage::MergePartialFromCodedStream( // required uint32 playerId = 2; case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 16) { parse_playerId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &playerid_))); set_has_playerid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(24)) goto parse_gameSpectatorLeftReason; break; @@ -9424,8 +10527,7 @@ bool GameSpectatorLeftMessage::MergePartialFromCodedStream( // required .GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason = 3; case 3: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 24) { parse_gameSpectatorLeftReason: int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< @@ -9433,31 +10535,42 @@ bool GameSpectatorLeftMessage::MergePartialFromCodedStream( input, &value))); if (::GamePlayerLeftMessage_GamePlayerLeftReason_IsValid(value)) { set_gamespectatorleftreason(static_cast< ::GamePlayerLeftMessage_GamePlayerLeftReason >(value)); + } else { + unknown_fields_stream.WriteVarint32(tag); + unknown_fields_stream.WriteVarint32(value); } } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:GameSpectatorLeftMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:GameSpectatorLeftMessage) + return false; #undef DO_ } void GameSpectatorLeftMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:GameSpectatorLeftMessage) // required uint32 gameId = 1; if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); @@ -9474,6 +10587,9 @@ void GameSpectatorLeftMessage::SerializeWithCachedSizes( 3, this->gamespectatorleftreason(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:GameSpectatorLeftMessage) } int GameSpectatorLeftMessage::ByteSize() const { @@ -9501,6 +10617,8 @@ int GameSpectatorLeftMessage::ByteSize() const { } } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -9525,6 +10643,7 @@ void GameSpectatorLeftMessage::MergeFrom(const GameSpectatorLeftMessage& from) { set_gamespectatorleftreason(from.gamespectatorleftreason()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void GameSpectatorLeftMessage::CopyFrom(const GameSpectatorLeftMessage& from) { @@ -9545,6 +10664,7 @@ void GameSpectatorLeftMessage::Swap(GameSpectatorLeftMessage* other) { std::swap(playerid_, other->playerid_); std::swap(gamespectatorleftreason_, other->gamespectatorleftreason_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -9564,6 +10684,7 @@ const int GameAdminChangedMessage::kNewAdminPlayerIdFieldNumber; GameAdminChangedMessage::GameAdminChangedMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:GameAdminChangedMessage) } void GameAdminChangedMessage::InitAsDefaultInstance() { @@ -9573,6 +10694,7 @@ GameAdminChangedMessage::GameAdminChangedMessage(const GameAdminChangedMessage& : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:GameAdminChangedMessage) } void GameAdminChangedMessage::SharedCtor() { @@ -9583,6 +10705,7 @@ void GameAdminChangedMessage::SharedCtor() { } GameAdminChangedMessage::~GameAdminChangedMessage() { + // @@protoc_insertion_point(destructor:GameAdminChangedMessage) SharedDtor(); } @@ -9616,29 +10739,48 @@ GameAdminChangedMessage* GameAdminChangedMessage::New() const { } void GameAdminChangedMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - gameid_ = 0u; - newadminplayerid_ = 0u; - } +#define OFFSET_OF_FIELD_(f) (reinterpret_cast( \ + &reinterpret_cast(16)->f) - \ + reinterpret_cast(16)) + +#define ZR_(first, last) do { \ + size_t f = OFFSET_OF_FIELD_(first); \ + size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \ + ::memset(&first, 0, n); \ + } while (0) + + ZR_(gameid_, newadminplayerid_); + +#undef OFFSET_OF_FIELD_ +#undef ZR_ + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool GameAdminChangedMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:GameAdminChangedMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required uint32 gameId = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 8) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &gameid_))); set_has_gameid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(16)) goto parse_newAdminPlayerId; break; @@ -9646,37 +10788,44 @@ bool GameAdminChangedMessage::MergePartialFromCodedStream( // required uint32 newAdminPlayerId = 2; case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 16) { parse_newAdminPlayerId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &newadminplayerid_))); set_has_newadminplayerid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:GameAdminChangedMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:GameAdminChangedMessage) + return false; #undef DO_ } void GameAdminChangedMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:GameAdminChangedMessage) // required uint32 gameId = 1; if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); @@ -9687,6 +10836,9 @@ void GameAdminChangedMessage::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->newadminplayerid(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:GameAdminChangedMessage) } int GameAdminChangedMessage::ByteSize() const { @@ -9708,6 +10860,8 @@ int GameAdminChangedMessage::ByteSize() const { } } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -9729,6 +10883,7 @@ void GameAdminChangedMessage::MergeFrom(const GameAdminChangedMessage& from) { set_newadminplayerid(from.newadminplayerid()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void GameAdminChangedMessage::CopyFrom(const GameAdminChangedMessage& from) { @@ -9748,6 +10903,7 @@ void GameAdminChangedMessage::Swap(GameAdminChangedMessage* other) { std::swap(gameid_, other->gameid_); std::swap(newadminplayerid_, other->newadminplayerid_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -9794,6 +10950,7 @@ const int RemovedFromGameMessage::kRemovedFromGameReasonFieldNumber; RemovedFromGameMessage::RemovedFromGameMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:RemovedFromGameMessage) } void RemovedFromGameMessage::InitAsDefaultInstance() { @@ -9803,6 +10960,7 @@ RemovedFromGameMessage::RemovedFromGameMessage(const RemovedFromGameMessage& fro : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:RemovedFromGameMessage) } void RemovedFromGameMessage::SharedCtor() { @@ -9813,6 +10971,7 @@ void RemovedFromGameMessage::SharedCtor() { } RemovedFromGameMessage::~RemovedFromGameMessage() { + // @@protoc_insertion_point(destructor:RemovedFromGameMessage) SharedDtor(); } @@ -9846,29 +11005,48 @@ RemovedFromGameMessage* RemovedFromGameMessage::New() const { } void RemovedFromGameMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - gameid_ = 0u; - removedfromgamereason_ = 0; - } +#define OFFSET_OF_FIELD_(f) (reinterpret_cast( \ + &reinterpret_cast(16)->f) - \ + reinterpret_cast(16)) + +#define ZR_(first, last) do { \ + size_t f = OFFSET_OF_FIELD_(first); \ + size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \ + ::memset(&first, 0, n); \ + } while (0) + + ZR_(gameid_, removedfromgamereason_); + +#undef OFFSET_OF_FIELD_ +#undef ZR_ + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool RemovedFromGameMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:RemovedFromGameMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required uint32 gameId = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 8) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &gameid_))); set_has_gameid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(16)) goto parse_removedFromGameReason; break; @@ -9876,8 +11054,7 @@ bool RemovedFromGameMessage::MergePartialFromCodedStream( // required .RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason = 2; case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 16) { parse_removedFromGameReason: int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< @@ -9885,31 +11062,42 @@ bool RemovedFromGameMessage::MergePartialFromCodedStream( input, &value))); if (::RemovedFromGameMessage_RemovedFromGameReason_IsValid(value)) { set_removedfromgamereason(static_cast< ::RemovedFromGameMessage_RemovedFromGameReason >(value)); + } else { + unknown_fields_stream.WriteVarint32(tag); + unknown_fields_stream.WriteVarint32(value); } } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:RemovedFromGameMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:RemovedFromGameMessage) + return false; #undef DO_ } void RemovedFromGameMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:RemovedFromGameMessage) // required uint32 gameId = 1; if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); @@ -9921,6 +11109,9 @@ void RemovedFromGameMessage::SerializeWithCachedSizes( 2, this->removedfromgamereason(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:RemovedFromGameMessage) } int RemovedFromGameMessage::ByteSize() const { @@ -9941,6 +11132,8 @@ int RemovedFromGameMessage::ByteSize() const { } } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -9962,6 +11155,7 @@ void RemovedFromGameMessage::MergeFrom(const RemovedFromGameMessage& from) { set_removedfromgamereason(from.removedfromgamereason()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void RemovedFromGameMessage::CopyFrom(const RemovedFromGameMessage& from) { @@ -9981,6 +11175,7 @@ void RemovedFromGameMessage::Swap(RemovedFromGameMessage* other) { std::swap(gameid_, other->gameid_); std::swap(removedfromgamereason_, other->removedfromgamereason_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -10000,6 +11195,7 @@ const int KickPlayerRequestMessage::kPlayerIdFieldNumber; KickPlayerRequestMessage::KickPlayerRequestMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:KickPlayerRequestMessage) } void KickPlayerRequestMessage::InitAsDefaultInstance() { @@ -10009,6 +11205,7 @@ KickPlayerRequestMessage::KickPlayerRequestMessage(const KickPlayerRequestMessag : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:KickPlayerRequestMessage) } void KickPlayerRequestMessage::SharedCtor() { @@ -10019,6 +11216,7 @@ void KickPlayerRequestMessage::SharedCtor() { } KickPlayerRequestMessage::~KickPlayerRequestMessage() { + // @@protoc_insertion_point(destructor:KickPlayerRequestMessage) SharedDtor(); } @@ -10052,29 +11250,48 @@ KickPlayerRequestMessage* KickPlayerRequestMessage::New() const { } void KickPlayerRequestMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - gameid_ = 0u; - playerid_ = 0u; - } +#define OFFSET_OF_FIELD_(f) (reinterpret_cast( \ + &reinterpret_cast(16)->f) - \ + reinterpret_cast(16)) + +#define ZR_(first, last) do { \ + size_t f = OFFSET_OF_FIELD_(first); \ + size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \ + ::memset(&first, 0, n); \ + } while (0) + + ZR_(gameid_, playerid_); + +#undef OFFSET_OF_FIELD_ +#undef ZR_ + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool KickPlayerRequestMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:KickPlayerRequestMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required uint32 gameId = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 8) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &gameid_))); set_has_gameid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(16)) goto parse_playerId; break; @@ -10082,37 +11299,44 @@ bool KickPlayerRequestMessage::MergePartialFromCodedStream( // required uint32 playerId = 2; case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 16) { parse_playerId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &playerid_))); set_has_playerid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:KickPlayerRequestMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:KickPlayerRequestMessage) + return false; #undef DO_ } void KickPlayerRequestMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:KickPlayerRequestMessage) // required uint32 gameId = 1; if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); @@ -10123,6 +11347,9 @@ void KickPlayerRequestMessage::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->playerid(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:KickPlayerRequestMessage) } int KickPlayerRequestMessage::ByteSize() const { @@ -10144,6 +11371,8 @@ int KickPlayerRequestMessage::ByteSize() const { } } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -10165,6 +11394,7 @@ void KickPlayerRequestMessage::MergeFrom(const KickPlayerRequestMessage& from) { set_playerid(from.playerid()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void KickPlayerRequestMessage::CopyFrom(const KickPlayerRequestMessage& from) { @@ -10184,6 +11414,7 @@ void KickPlayerRequestMessage::Swap(KickPlayerRequestMessage* other) { std::swap(gameid_, other->gameid_); std::swap(playerid_, other->playerid_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -10202,6 +11433,7 @@ const int LeaveGameRequestMessage::kGameIdFieldNumber; LeaveGameRequestMessage::LeaveGameRequestMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:LeaveGameRequestMessage) } void LeaveGameRequestMessage::InitAsDefaultInstance() { @@ -10211,6 +11443,7 @@ LeaveGameRequestMessage::LeaveGameRequestMessage(const LeaveGameRequestMessage& : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:LeaveGameRequestMessage) } void LeaveGameRequestMessage::SharedCtor() { @@ -10220,6 +11453,7 @@ void LeaveGameRequestMessage::SharedCtor() { } LeaveGameRequestMessage::~LeaveGameRequestMessage() { + // @@protoc_insertion_point(destructor:LeaveGameRequestMessage) SharedDtor(); } @@ -10253,55 +11487,72 @@ LeaveGameRequestMessage* LeaveGameRequestMessage::New() const { } void LeaveGameRequestMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - gameid_ = 0u; - } + gameid_ = 0u; ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool LeaveGameRequestMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:LeaveGameRequestMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required uint32 gameId = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 8) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &gameid_))); set_has_gameid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:LeaveGameRequestMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:LeaveGameRequestMessage) + return false; #undef DO_ } void LeaveGameRequestMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:LeaveGameRequestMessage) // required uint32 gameId = 1; if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:LeaveGameRequestMessage) } int LeaveGameRequestMessage::ByteSize() const { @@ -10316,6 +11567,8 @@ int LeaveGameRequestMessage::ByteSize() const { } } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -10334,6 +11587,7 @@ void LeaveGameRequestMessage::MergeFrom(const LeaveGameRequestMessage& from) { set_gameid(from.gameid()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void LeaveGameRequestMessage::CopyFrom(const LeaveGameRequestMessage& from) { @@ -10352,6 +11606,7 @@ void LeaveGameRequestMessage::Swap(LeaveGameRequestMessage* other) { if (other != this) { std::swap(gameid_, other->gameid_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -10371,6 +11626,7 @@ const int InvitePlayerToGameMessage::kPlayerIdFieldNumber; InvitePlayerToGameMessage::InvitePlayerToGameMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:InvitePlayerToGameMessage) } void InvitePlayerToGameMessage::InitAsDefaultInstance() { @@ -10380,6 +11636,7 @@ InvitePlayerToGameMessage::InvitePlayerToGameMessage(const InvitePlayerToGameMes : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:InvitePlayerToGameMessage) } void InvitePlayerToGameMessage::SharedCtor() { @@ -10390,6 +11647,7 @@ void InvitePlayerToGameMessage::SharedCtor() { } InvitePlayerToGameMessage::~InvitePlayerToGameMessage() { + // @@protoc_insertion_point(destructor:InvitePlayerToGameMessage) SharedDtor(); } @@ -10423,29 +11681,48 @@ InvitePlayerToGameMessage* InvitePlayerToGameMessage::New() const { } void InvitePlayerToGameMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - gameid_ = 0u; - playerid_ = 0u; - } +#define OFFSET_OF_FIELD_(f) (reinterpret_cast( \ + &reinterpret_cast(16)->f) - \ + reinterpret_cast(16)) + +#define ZR_(first, last) do { \ + size_t f = OFFSET_OF_FIELD_(first); \ + size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \ + ::memset(&first, 0, n); \ + } while (0) + + ZR_(gameid_, playerid_); + +#undef OFFSET_OF_FIELD_ +#undef ZR_ + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool InvitePlayerToGameMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:InvitePlayerToGameMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required uint32 gameId = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 8) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &gameid_))); set_has_gameid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(16)) goto parse_playerId; break; @@ -10453,37 +11730,44 @@ bool InvitePlayerToGameMessage::MergePartialFromCodedStream( // required uint32 playerId = 2; case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 16) { parse_playerId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &playerid_))); set_has_playerid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:InvitePlayerToGameMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:InvitePlayerToGameMessage) + return false; #undef DO_ } void InvitePlayerToGameMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:InvitePlayerToGameMessage) // required uint32 gameId = 1; if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); @@ -10494,6 +11778,9 @@ void InvitePlayerToGameMessage::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->playerid(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:InvitePlayerToGameMessage) } int InvitePlayerToGameMessage::ByteSize() const { @@ -10515,6 +11802,8 @@ int InvitePlayerToGameMessage::ByteSize() const { } } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -10536,6 +11825,7 @@ void InvitePlayerToGameMessage::MergeFrom(const InvitePlayerToGameMessage& from) set_playerid(from.playerid()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void InvitePlayerToGameMessage::CopyFrom(const InvitePlayerToGameMessage& from) { @@ -10555,6 +11845,7 @@ void InvitePlayerToGameMessage::Swap(InvitePlayerToGameMessage* other) { std::swap(gameid_, other->gameid_); std::swap(playerid_, other->playerid_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -10575,6 +11866,7 @@ const int InviteNotifyMessage::kPlayerIdByWhomFieldNumber; InviteNotifyMessage::InviteNotifyMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:InviteNotifyMessage) } void InviteNotifyMessage::InitAsDefaultInstance() { @@ -10584,6 +11876,7 @@ InviteNotifyMessage::InviteNotifyMessage(const InviteNotifyMessage& from) : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:InviteNotifyMessage) } void InviteNotifyMessage::SharedCtor() { @@ -10595,6 +11888,7 @@ void InviteNotifyMessage::SharedCtor() { } InviteNotifyMessage::~InviteNotifyMessage() { + // @@protoc_insertion_point(destructor:InviteNotifyMessage) SharedDtor(); } @@ -10628,30 +11922,48 @@ InviteNotifyMessage* InviteNotifyMessage::New() const { } void InviteNotifyMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - gameid_ = 0u; - playeridwho_ = 0u; - playeridbywhom_ = 0u; - } +#define OFFSET_OF_FIELD_(f) (reinterpret_cast( \ + &reinterpret_cast(16)->f) - \ + reinterpret_cast(16)) + +#define ZR_(first, last) do { \ + size_t f = OFFSET_OF_FIELD_(first); \ + size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \ + ::memset(&first, 0, n); \ + } while (0) + + ZR_(gameid_, playeridbywhom_); + +#undef OFFSET_OF_FIELD_ +#undef ZR_ + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool InviteNotifyMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:InviteNotifyMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required uint32 gameId = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 8) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &gameid_))); set_has_gameid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(16)) goto parse_playerIdWho; break; @@ -10659,15 +11971,14 @@ bool InviteNotifyMessage::MergePartialFromCodedStream( // required uint32 playerIdWho = 2; case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 16) { parse_playerIdWho: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &playeridwho_))); set_has_playeridwho(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(24)) goto parse_playerIdByWhom; break; @@ -10675,37 +11986,44 @@ bool InviteNotifyMessage::MergePartialFromCodedStream( // required uint32 playerIdByWhom = 3; case 3: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 24) { parse_playerIdByWhom: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &playeridbywhom_))); set_has_playeridbywhom(); } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:InviteNotifyMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:InviteNotifyMessage) + return false; #undef DO_ } void InviteNotifyMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:InviteNotifyMessage) // required uint32 gameId = 1; if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); @@ -10721,6 +12039,9 @@ void InviteNotifyMessage::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->playeridbywhom(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:InviteNotifyMessage) } int InviteNotifyMessage::ByteSize() const { @@ -10749,6 +12070,8 @@ int InviteNotifyMessage::ByteSize() const { } } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -10773,6 +12096,7 @@ void InviteNotifyMessage::MergeFrom(const InviteNotifyMessage& from) { set_playeridbywhom(from.playeridbywhom()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void InviteNotifyMessage::CopyFrom(const InviteNotifyMessage& from) { @@ -10793,6 +12117,7 @@ void InviteNotifyMessage::Swap(InviteNotifyMessage* other) { std::swap(playeridwho_, other->playeridwho_); std::swap(playeridbywhom_, other->playeridbywhom_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -10829,6 +12154,7 @@ const int RejectGameInvitationMessage::kMyRejectReasonFieldNumber; RejectGameInvitationMessage::RejectGameInvitationMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:RejectGameInvitationMessage) } void RejectGameInvitationMessage::InitAsDefaultInstance() { @@ -10838,6 +12164,7 @@ RejectGameInvitationMessage::RejectGameInvitationMessage(const RejectGameInvitat : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:RejectGameInvitationMessage) } void RejectGameInvitationMessage::SharedCtor() { @@ -10848,6 +12175,7 @@ void RejectGameInvitationMessage::SharedCtor() { } RejectGameInvitationMessage::~RejectGameInvitationMessage() { + // @@protoc_insertion_point(destructor:RejectGameInvitationMessage) SharedDtor(); } @@ -10881,29 +12209,48 @@ RejectGameInvitationMessage* RejectGameInvitationMessage::New() const { } void RejectGameInvitationMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - gameid_ = 0u; - myrejectreason_ = 0; - } +#define OFFSET_OF_FIELD_(f) (reinterpret_cast( \ + &reinterpret_cast(16)->f) - \ + reinterpret_cast(16)) + +#define ZR_(first, last) do { \ + size_t f = OFFSET_OF_FIELD_(first); \ + size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \ + ::memset(&first, 0, n); \ + } while (0) + + ZR_(gameid_, myrejectreason_); + +#undef OFFSET_OF_FIELD_ +#undef ZR_ + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool RejectGameInvitationMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:RejectGameInvitationMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required uint32 gameId = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 8) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &gameid_))); set_has_gameid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(16)) goto parse_myRejectReason; break; @@ -10911,8 +12258,7 @@ bool RejectGameInvitationMessage::MergePartialFromCodedStream( // required .RejectGameInvitationMessage.RejectGameInvReason myRejectReason = 2; case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 16) { parse_myRejectReason: int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< @@ -10920,31 +12266,42 @@ bool RejectGameInvitationMessage::MergePartialFromCodedStream( input, &value))); if (::RejectGameInvitationMessage_RejectGameInvReason_IsValid(value)) { set_myrejectreason(static_cast< ::RejectGameInvitationMessage_RejectGameInvReason >(value)); + } else { + unknown_fields_stream.WriteVarint32(tag); + unknown_fields_stream.WriteVarint32(value); } } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:RejectGameInvitationMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:RejectGameInvitationMessage) + return false; #undef DO_ } void RejectGameInvitationMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:RejectGameInvitationMessage) // required uint32 gameId = 1; if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); @@ -10956,6 +12313,9 @@ void RejectGameInvitationMessage::SerializeWithCachedSizes( 2, this->myrejectreason(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:RejectGameInvitationMessage) } int RejectGameInvitationMessage::ByteSize() const { @@ -10976,6 +12336,8 @@ int RejectGameInvitationMessage::ByteSize() const { } } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -10997,6 +12359,7 @@ void RejectGameInvitationMessage::MergeFrom(const RejectGameInvitationMessage& f set_myrejectreason(from.myrejectreason()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void RejectGameInvitationMessage::CopyFrom(const RejectGameInvitationMessage& from) { @@ -11016,6 +12379,7 @@ void RejectGameInvitationMessage::Swap(RejectGameInvitationMessage* other) { std::swap(gameid_, other->gameid_); std::swap(myrejectreason_, other->myrejectreason_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -11036,6 +12400,7 @@ const int RejectInvNotifyMessage::kPlayerRejectReasonFieldNumber; RejectInvNotifyMessage::RejectInvNotifyMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:RejectInvNotifyMessage) } void RejectInvNotifyMessage::InitAsDefaultInstance() { @@ -11045,6 +12410,7 @@ RejectInvNotifyMessage::RejectInvNotifyMessage(const RejectInvNotifyMessage& fro : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:RejectInvNotifyMessage) } void RejectInvNotifyMessage::SharedCtor() { @@ -11056,6 +12422,7 @@ void RejectInvNotifyMessage::SharedCtor() { } RejectInvNotifyMessage::~RejectInvNotifyMessage() { + // @@protoc_insertion_point(destructor:RejectInvNotifyMessage) SharedDtor(); } @@ -11089,30 +12456,48 @@ RejectInvNotifyMessage* RejectInvNotifyMessage::New() const { } void RejectInvNotifyMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - gameid_ = 0u; - playerid_ = 0u; - playerrejectreason_ = 0; - } +#define OFFSET_OF_FIELD_(f) (reinterpret_cast( \ + &reinterpret_cast(16)->f) - \ + reinterpret_cast(16)) + +#define ZR_(first, last) do { \ + size_t f = OFFSET_OF_FIELD_(first); \ + size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \ + ::memset(&first, 0, n); \ + } while (0) + + ZR_(gameid_, playerrejectreason_); + +#undef OFFSET_OF_FIELD_ +#undef ZR_ + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool RejectInvNotifyMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:RejectInvNotifyMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required uint32 gameId = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 8) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &gameid_))); set_has_gameid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(16)) goto parse_playerId; break; @@ -11120,15 +12505,14 @@ bool RejectInvNotifyMessage::MergePartialFromCodedStream( // required uint32 playerId = 2; case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 16) { parse_playerId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &playerid_))); set_has_playerid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(24)) goto parse_playerRejectReason; break; @@ -11136,8 +12520,7 @@ bool RejectInvNotifyMessage::MergePartialFromCodedStream( // required .RejectGameInvitationMessage.RejectGameInvReason playerRejectReason = 3; case 3: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 24) { parse_playerRejectReason: int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< @@ -11145,31 +12528,42 @@ bool RejectInvNotifyMessage::MergePartialFromCodedStream( input, &value))); if (::RejectGameInvitationMessage_RejectGameInvReason_IsValid(value)) { set_playerrejectreason(static_cast< ::RejectGameInvitationMessage_RejectGameInvReason >(value)); + } else { + unknown_fields_stream.WriteVarint32(tag); + unknown_fields_stream.WriteVarint32(value); } } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:RejectInvNotifyMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:RejectInvNotifyMessage) + return false; #undef DO_ } void RejectInvNotifyMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:RejectInvNotifyMessage) // required uint32 gameId = 1; if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); @@ -11186,6 +12580,9 @@ void RejectInvNotifyMessage::SerializeWithCachedSizes( 3, this->playerrejectreason(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:RejectInvNotifyMessage) } int RejectInvNotifyMessage::ByteSize() const { @@ -11213,6 +12610,8 @@ int RejectInvNotifyMessage::ByteSize() const { } } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -11237,6 +12636,7 @@ void RejectInvNotifyMessage::MergeFrom(const RejectInvNotifyMessage& from) { set_playerrejectreason(from.playerrejectreason()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void RejectInvNotifyMessage::CopyFrom(const RejectInvNotifyMessage& from) { @@ -11257,6 +12657,7 @@ void RejectInvNotifyMessage::Swap(RejectInvNotifyMessage* other) { std::swap(playerid_, other->playerid_); std::swap(playerrejectreason_, other->playerrejectreason_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -11294,6 +12695,7 @@ const int StartEventMessage::kFillWithComputerPlayersFieldNumber; StartEventMessage::StartEventMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:StartEventMessage) } void StartEventMessage::InitAsDefaultInstance() { @@ -11303,6 +12705,7 @@ StartEventMessage::StartEventMessage(const StartEventMessage& from) : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:StartEventMessage) } void StartEventMessage::SharedCtor() { @@ -11314,6 +12717,7 @@ void StartEventMessage::SharedCtor() { } StartEventMessage::~StartEventMessage() { + // @@protoc_insertion_point(destructor:StartEventMessage) SharedDtor(); } @@ -11347,30 +12751,48 @@ StartEventMessage* StartEventMessage::New() const { } void StartEventMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - gameid_ = 0u; - starteventtype_ = 0; - fillwithcomputerplayers_ = false; - } +#define OFFSET_OF_FIELD_(f) (reinterpret_cast( \ + &reinterpret_cast(16)->f) - \ + reinterpret_cast(16)) + +#define ZR_(first, last) do { \ + size_t f = OFFSET_OF_FIELD_(first); \ + size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \ + ::memset(&first, 0, n); \ + } while (0) + + ZR_(gameid_, fillwithcomputerplayers_); + +#undef OFFSET_OF_FIELD_ +#undef ZR_ + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool StartEventMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:StartEventMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required uint32 gameId = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 8) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &gameid_))); set_has_gameid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(16)) goto parse_startEventType; break; @@ -11378,8 +12800,7 @@ bool StartEventMessage::MergePartialFromCodedStream( // required .StartEventMessage.StartEventType startEventType = 2; case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 16) { parse_startEventType: int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< @@ -11387,9 +12808,12 @@ bool StartEventMessage::MergePartialFromCodedStream( input, &value))); if (::StartEventMessage_StartEventType_IsValid(value)) { set_starteventtype(static_cast< ::StartEventMessage_StartEventType >(value)); + } else { + unknown_fields_stream.WriteVarint32(tag); + unknown_fields_stream.WriteVarint32(value); } } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(24)) goto parse_fillWithComputerPlayers; break; @@ -11397,37 +12821,44 @@ bool StartEventMessage::MergePartialFromCodedStream( // optional bool fillWithComputerPlayers = 3; case 3: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 24) { parse_fillWithComputerPlayers: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( input, &fillwithcomputerplayers_))); set_has_fillwithcomputerplayers(); } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:StartEventMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:StartEventMessage) + return false; #undef DO_ } void StartEventMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:StartEventMessage) // required uint32 gameId = 1; if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); @@ -11444,6 +12875,9 @@ void StartEventMessage::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->fillwithcomputerplayers(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:StartEventMessage) } int StartEventMessage::ByteSize() const { @@ -11469,6 +12903,8 @@ int StartEventMessage::ByteSize() const { } } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -11493,6 +12929,7 @@ void StartEventMessage::MergeFrom(const StartEventMessage& from) { set_fillwithcomputerplayers(from.fillwithcomputerplayers()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void StartEventMessage::CopyFrom(const StartEventMessage& from) { @@ -11513,6 +12950,7 @@ void StartEventMessage::Swap(StartEventMessage* other) { std::swap(starteventtype_, other->starteventtype_); std::swap(fillwithcomputerplayers_, other->fillwithcomputerplayers_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -11531,6 +12969,7 @@ const int StartEventAckMessage::kGameIdFieldNumber; StartEventAckMessage::StartEventAckMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:StartEventAckMessage) } void StartEventAckMessage::InitAsDefaultInstance() { @@ -11540,6 +12979,7 @@ StartEventAckMessage::StartEventAckMessage(const StartEventAckMessage& from) : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:StartEventAckMessage) } void StartEventAckMessage::SharedCtor() { @@ -11549,6 +12989,7 @@ void StartEventAckMessage::SharedCtor() { } StartEventAckMessage::~StartEventAckMessage() { + // @@protoc_insertion_point(destructor:StartEventAckMessage) SharedDtor(); } @@ -11582,55 +13023,72 @@ StartEventAckMessage* StartEventAckMessage::New() const { } void StartEventAckMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - gameid_ = 0u; - } + gameid_ = 0u; ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool StartEventAckMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:StartEventAckMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required uint32 gameId = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 8) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &gameid_))); set_has_gameid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:StartEventAckMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:StartEventAckMessage) + return false; #undef DO_ } void StartEventAckMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:StartEventAckMessage) // required uint32 gameId = 1; if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:StartEventAckMessage) } int StartEventAckMessage::ByteSize() const { @@ -11645,6 +13103,8 @@ int StartEventAckMessage::ByteSize() const { } } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -11663,6 +13123,7 @@ void StartEventAckMessage::MergeFrom(const StartEventAckMessage& from) { set_gameid(from.gameid()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void StartEventAckMessage::CopyFrom(const StartEventAckMessage& from) { @@ -11681,6 +13142,7 @@ void StartEventAckMessage::Swap(StartEventAckMessage* other) { if (other != this) { std::swap(gameid_, other->gameid_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -11701,6 +13163,7 @@ const int GameStartInitialMessage::kPlayerSeatsFieldNumber; GameStartInitialMessage::GameStartInitialMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:GameStartInitialMessage) } void GameStartInitialMessage::InitAsDefaultInstance() { @@ -11710,6 +13173,7 @@ GameStartInitialMessage::GameStartInitialMessage(const GameStartInitialMessage& : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:GameStartInitialMessage) } void GameStartInitialMessage::SharedCtor() { @@ -11720,6 +13184,7 @@ void GameStartInitialMessage::SharedCtor() { } GameStartInitialMessage::~GameStartInitialMessage() { + // @@protoc_insertion_point(destructor:GameStartInitialMessage) SharedDtor(); } @@ -11753,30 +13218,49 @@ GameStartInitialMessage* GameStartInitialMessage::New() const { } void GameStartInitialMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - gameid_ = 0u; - startdealerplayerid_ = 0u; - } +#define OFFSET_OF_FIELD_(f) (reinterpret_cast( \ + &reinterpret_cast(16)->f) - \ + reinterpret_cast(16)) + +#define ZR_(first, last) do { \ + size_t f = OFFSET_OF_FIELD_(first); \ + size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \ + ::memset(&first, 0, n); \ + } while (0) + + ZR_(gameid_, startdealerplayerid_); + +#undef OFFSET_OF_FIELD_ +#undef ZR_ + playerseats_.Clear(); ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool GameStartInitialMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:GameStartInitialMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required uint32 gameId = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 8) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &gameid_))); set_has_gameid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(16)) goto parse_startDealerPlayerId; break; @@ -11784,15 +13268,14 @@ bool GameStartInitialMessage::MergePartialFromCodedStream( // required uint32 startDealerPlayerId = 2; case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 16) { parse_startDealerPlayerId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &startdealerplayerid_))); set_has_startdealerplayerid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(26)) goto parse_playerSeats; break; @@ -11800,42 +13283,47 @@ bool GameStartInitialMessage::MergePartialFromCodedStream( // repeated uint32 playerSeats = 3 [packed = true]; case 3: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 26) { parse_playerSeats: DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, this->mutable_playerseats()))); - } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) - == ::google::protobuf::internal::WireFormatLite:: - WIRETYPE_VARINT) { + } else if (tag == 24) { DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitiveNoInline< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( 1, 26, input, this->mutable_playerseats()))); } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:GameStartInitialMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:GameStartInitialMessage) + return false; #undef DO_ } void GameStartInitialMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:GameStartInitialMessage) // required uint32 gameId = 1; if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); @@ -11856,6 +13344,9 @@ void GameStartInitialMessage::SerializeWithCachedSizes( this->playerseats(i), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:GameStartInitialMessage) } int GameStartInitialMessage::ByteSize() const { @@ -11894,6 +13385,8 @@ int GameStartInitialMessage::ByteSize() const { total_size += data_size; } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -11916,6 +13409,7 @@ void GameStartInitialMessage::MergeFrom(const GameStartInitialMessage& from) { set_startdealerplayerid(from.startdealerplayerid()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void GameStartInitialMessage::CopyFrom(const GameStartInitialMessage& from) { @@ -11936,6 +13430,7 @@ void GameStartInitialMessage::Swap(GameStartInitialMessage* other) { std::swap(startdealerplayerid_, other->startdealerplayerid_); playerseats_.Swap(&other->playerseats_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -11955,6 +13450,7 @@ const int GameStartRejoinMessage_RejoinPlayerData::kPlayerMoneyFieldNumber; GameStartRejoinMessage_RejoinPlayerData::GameStartRejoinMessage_RejoinPlayerData() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:GameStartRejoinMessage.RejoinPlayerData) } void GameStartRejoinMessage_RejoinPlayerData::InitAsDefaultInstance() { @@ -11964,6 +13460,7 @@ GameStartRejoinMessage_RejoinPlayerData::GameStartRejoinMessage_RejoinPlayerData : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:GameStartRejoinMessage.RejoinPlayerData) } void GameStartRejoinMessage_RejoinPlayerData::SharedCtor() { @@ -11974,6 +13471,7 @@ void GameStartRejoinMessage_RejoinPlayerData::SharedCtor() { } GameStartRejoinMessage_RejoinPlayerData::~GameStartRejoinMessage_RejoinPlayerData() { + // @@protoc_insertion_point(destructor:GameStartRejoinMessage.RejoinPlayerData) SharedDtor(); } @@ -12007,29 +13505,48 @@ GameStartRejoinMessage_RejoinPlayerData* GameStartRejoinMessage_RejoinPlayerData } void GameStartRejoinMessage_RejoinPlayerData::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - playerid_ = 0u; - playermoney_ = 0u; - } +#define OFFSET_OF_FIELD_(f) (reinterpret_cast( \ + &reinterpret_cast(16)->f) - \ + reinterpret_cast(16)) + +#define ZR_(first, last) do { \ + size_t f = OFFSET_OF_FIELD_(first); \ + size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \ + ::memset(&first, 0, n); \ + } while (0) + + ZR_(playerid_, playermoney_); + +#undef OFFSET_OF_FIELD_ +#undef ZR_ + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool GameStartRejoinMessage_RejoinPlayerData::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:GameStartRejoinMessage.RejoinPlayerData) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required uint32 playerId = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 8) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &playerid_))); set_has_playerid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(16)) goto parse_playerMoney; break; @@ -12037,37 +13554,44 @@ bool GameStartRejoinMessage_RejoinPlayerData::MergePartialFromCodedStream( // required uint32 playerMoney = 2; case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 16) { parse_playerMoney: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &playermoney_))); set_has_playermoney(); } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:GameStartRejoinMessage.RejoinPlayerData) return true; +failure: + // @@protoc_insertion_point(parse_failure:GameStartRejoinMessage.RejoinPlayerData) + return false; #undef DO_ } void GameStartRejoinMessage_RejoinPlayerData::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:GameStartRejoinMessage.RejoinPlayerData) // required uint32 playerId = 1; if (has_playerid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->playerid(), output); @@ -12078,6 +13602,9 @@ void GameStartRejoinMessage_RejoinPlayerData::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->playermoney(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:GameStartRejoinMessage.RejoinPlayerData) } int GameStartRejoinMessage_RejoinPlayerData::ByteSize() const { @@ -12099,6 +13626,8 @@ int GameStartRejoinMessage_RejoinPlayerData::ByteSize() const { } } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -12120,6 +13649,7 @@ void GameStartRejoinMessage_RejoinPlayerData::MergeFrom(const GameStartRejoinMes set_playermoney(from.playermoney()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void GameStartRejoinMessage_RejoinPlayerData::CopyFrom(const GameStartRejoinMessage_RejoinPlayerData& from) { @@ -12139,6 +13669,7 @@ void GameStartRejoinMessage_RejoinPlayerData::Swap(GameStartRejoinMessage_Rejoin std::swap(playerid_, other->playerid_); std::swap(playermoney_, other->playermoney_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -12160,6 +13691,7 @@ const int GameStartRejoinMessage::kRejoinPlayerDataFieldNumber; GameStartRejoinMessage::GameStartRejoinMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:GameStartRejoinMessage) } void GameStartRejoinMessage::InitAsDefaultInstance() { @@ -12169,6 +13701,7 @@ GameStartRejoinMessage::GameStartRejoinMessage(const GameStartRejoinMessage& fro : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:GameStartRejoinMessage) } void GameStartRejoinMessage::SharedCtor() { @@ -12180,6 +13713,7 @@ void GameStartRejoinMessage::SharedCtor() { } GameStartRejoinMessage::~GameStartRejoinMessage() { + // @@protoc_insertion_point(destructor:GameStartRejoinMessage) SharedDtor(); } @@ -12213,31 +13747,52 @@ GameStartRejoinMessage* GameStartRejoinMessage::New() const { } void GameStartRejoinMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - gameid_ = 0u; - startdealerplayerid_ = 0u; +#define OFFSET_OF_FIELD_(f) (reinterpret_cast( \ + &reinterpret_cast(16)->f) - \ + reinterpret_cast(16)) + +#define ZR_(first, last) do { \ + size_t f = OFFSET_OF_FIELD_(first); \ + size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \ + ::memset(&first, 0, n); \ + } while (0) + + if (_has_bits_[0 / 32] & 7) { + ZR_(gameid_, startdealerplayerid_); handnum_ = 0u; } + +#undef OFFSET_OF_FIELD_ +#undef ZR_ + rejoinplayerdata_.Clear(); ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool GameStartRejoinMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:GameStartRejoinMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required uint32 gameId = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 8) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &gameid_))); set_has_gameid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(16)) goto parse_startDealerPlayerId; break; @@ -12245,15 +13800,14 @@ bool GameStartRejoinMessage::MergePartialFromCodedStream( // required uint32 startDealerPlayerId = 2; case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 16) { parse_startDealerPlayerId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &startdealerplayerid_))); set_has_startdealerplayerid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(24)) goto parse_handNum; break; @@ -12261,15 +13815,14 @@ bool GameStartRejoinMessage::MergePartialFromCodedStream( // required uint32 handNum = 3; case 3: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 24) { parse_handNum: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &handnum_))); set_has_handnum(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(34)) goto parse_rejoinPlayerData; break; @@ -12277,36 +13830,43 @@ bool GameStartRejoinMessage::MergePartialFromCodedStream( // repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; case 4: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 34) { parse_rejoinPlayerData: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, add_rejoinplayerdata())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(34)) goto parse_rejoinPlayerData; - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:GameStartRejoinMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:GameStartRejoinMessage) + return false; #undef DO_ } void GameStartRejoinMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:GameStartRejoinMessage) // required uint32 gameId = 1; if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); @@ -12328,6 +13888,9 @@ void GameStartRejoinMessage::SerializeWithCachedSizes( 4, this->rejoinplayerdata(i), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:GameStartRejoinMessage) } int GameStartRejoinMessage::ByteSize() const { @@ -12364,6 +13927,8 @@ int GameStartRejoinMessage::ByteSize() const { this->rejoinplayerdata(i)); } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -12389,6 +13954,7 @@ void GameStartRejoinMessage::MergeFrom(const GameStartRejoinMessage& from) { set_handnum(from.handnum()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void GameStartRejoinMessage::CopyFrom(const GameStartRejoinMessage& from) { @@ -12400,9 +13966,7 @@ void GameStartRejoinMessage::CopyFrom(const GameStartRejoinMessage& from) { bool GameStartRejoinMessage::IsInitialized() const { if ((_has_bits_[0] & 0x00000007) != 0x00000007) return false; - for (int i = 0; i < rejoinplayerdata_size(); i++) { - if (!this->rejoinplayerdata(i).IsInitialized()) return false; - } + if (!::google::protobuf::internal::AllAreInitialized(this->rejoinplayerdata())) return false; return true; } @@ -12413,6 +13977,7 @@ void GameStartRejoinMessage::Swap(GameStartRejoinMessage* other) { std::swap(handnum_, other->handnum_); rejoinplayerdata_.Swap(&other->rejoinplayerdata_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -12432,6 +13997,7 @@ const int HandStartMessage_PlainCards::kPlainCard2FieldNumber; HandStartMessage_PlainCards::HandStartMessage_PlainCards() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:HandStartMessage.PlainCards) } void HandStartMessage_PlainCards::InitAsDefaultInstance() { @@ -12441,6 +14007,7 @@ HandStartMessage_PlainCards::HandStartMessage_PlainCards(const HandStartMessage_ : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:HandStartMessage.PlainCards) } void HandStartMessage_PlainCards::SharedCtor() { @@ -12451,6 +14018,7 @@ void HandStartMessage_PlainCards::SharedCtor() { } HandStartMessage_PlainCards::~HandStartMessage_PlainCards() { + // @@protoc_insertion_point(destructor:HandStartMessage.PlainCards) SharedDtor(); } @@ -12484,29 +14052,48 @@ HandStartMessage_PlainCards* HandStartMessage_PlainCards::New() const { } void HandStartMessage_PlainCards::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - plaincard1_ = 0u; - plaincard2_ = 0u; - } +#define OFFSET_OF_FIELD_(f) (reinterpret_cast( \ + &reinterpret_cast(16)->f) - \ + reinterpret_cast(16)) + +#define ZR_(first, last) do { \ + size_t f = OFFSET_OF_FIELD_(first); \ + size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \ + ::memset(&first, 0, n); \ + } while (0) + + ZR_(plaincard1_, plaincard2_); + +#undef OFFSET_OF_FIELD_ +#undef ZR_ + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool HandStartMessage_PlainCards::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:HandStartMessage.PlainCards) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required uint32 plainCard1 = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 8) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &plaincard1_))); set_has_plaincard1(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(16)) goto parse_plainCard2; break; @@ -12514,37 +14101,44 @@ bool HandStartMessage_PlainCards::MergePartialFromCodedStream( // required uint32 plainCard2 = 2; case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 16) { parse_plainCard2: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &plaincard2_))); set_has_plaincard2(); } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:HandStartMessage.PlainCards) return true; +failure: + // @@protoc_insertion_point(parse_failure:HandStartMessage.PlainCards) + return false; #undef DO_ } void HandStartMessage_PlainCards::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:HandStartMessage.PlainCards) // required uint32 plainCard1 = 1; if (has_plaincard1()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->plaincard1(), output); @@ -12555,6 +14149,9 @@ void HandStartMessage_PlainCards::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->plaincard2(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:HandStartMessage.PlainCards) } int HandStartMessage_PlainCards::ByteSize() const { @@ -12576,6 +14173,8 @@ int HandStartMessage_PlainCards::ByteSize() const { } } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -12597,6 +14196,7 @@ void HandStartMessage_PlainCards::MergeFrom(const HandStartMessage_PlainCards& f set_plaincard2(from.plaincard2()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void HandStartMessage_PlainCards::CopyFrom(const HandStartMessage_PlainCards& from) { @@ -12616,6 +14216,7 @@ void HandStartMessage_PlainCards::Swap(HandStartMessage_PlainCards* other) { std::swap(plaincard1_, other->plaincard1_); std::swap(plaincard2_, other->plaincard2_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -12639,6 +14240,7 @@ const int HandStartMessage::kDealerPlayerIdFieldNumber; HandStartMessage::HandStartMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:HandStartMessage) } void HandStartMessage::InitAsDefaultInstance() { @@ -12654,24 +14256,27 @@ HandStartMessage::HandStartMessage(const HandStartMessage& from) : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:HandStartMessage) } void HandStartMessage::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); _cached_size_ = 0; gameid_ = 0u; plaincards_ = NULL; - encryptedcards_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + encryptedcards_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); smallblind_ = 0u; dealerplayerid_ = 0u; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } HandStartMessage::~HandStartMessage() { + // @@protoc_insertion_point(destructor:HandStartMessage) SharedDtor(); } void HandStartMessage::SharedDtor() { - if (encryptedcards_ != &::google::protobuf::internal::kEmptyString) { + if (encryptedcards_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete encryptedcards_; } #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -12704,39 +14309,60 @@ HandStartMessage* HandStartMessage::New() const { } void HandStartMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - gameid_ = 0u; +#define OFFSET_OF_FIELD_(f) (reinterpret_cast( \ + &reinterpret_cast(16)->f) - \ + reinterpret_cast(16)) + +#define ZR_(first, last) do { \ + size_t f = OFFSET_OF_FIELD_(first); \ + size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \ + ::memset(&first, 0, n); \ + } while (0) + + if (_has_bits_[0 / 32] & 47) { + ZR_(gameid_, smallblind_); if (has_plaincards()) { if (plaincards_ != NULL) plaincards_->::HandStartMessage_PlainCards::Clear(); } if (has_encryptedcards()) { - if (encryptedcards_ != &::google::protobuf::internal::kEmptyString) { + if (encryptedcards_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { encryptedcards_->clear(); } } - smallblind_ = 0u; dealerplayerid_ = 0u; } + +#undef OFFSET_OF_FIELD_ +#undef ZR_ + seatstates_.Clear(); ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool HandStartMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:HandStartMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required uint32 gameId = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 8) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &gameid_))); set_has_gameid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(18)) goto parse_plainCards; break; @@ -12744,13 +14370,12 @@ bool HandStartMessage::MergePartialFromCodedStream( // optional .HandStartMessage.PlainCards plainCards = 2; case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 18) { parse_plainCards: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_plaincards())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(26)) goto parse_encryptedCards; break; @@ -12758,13 +14383,12 @@ bool HandStartMessage::MergePartialFromCodedStream( // optional bytes encryptedCards = 3; case 3: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 26) { parse_encryptedCards: DO_(::google::protobuf::internal::WireFormatLite::ReadBytes( input, this->mutable_encryptedcards())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(32)) goto parse_smallBlind; break; @@ -12772,15 +14396,14 @@ bool HandStartMessage::MergePartialFromCodedStream( // required uint32 smallBlind = 4; case 4: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 32) { parse_smallBlind: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &smallblind_))); set_has_smallblind(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(40)) goto parse_seatStates; break; @@ -12788,8 +14411,7 @@ bool HandStartMessage::MergePartialFromCodedStream( // repeated .NetPlayerState seatStates = 5; case 5: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 40) { parse_seatStates: int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< @@ -12797,16 +14419,17 @@ bool HandStartMessage::MergePartialFromCodedStream( input, &value))); if (::NetPlayerState_IsValid(value)) { add_seatstates(static_cast< ::NetPlayerState >(value)); + } else { + unknown_fields_stream.WriteVarint32(tag); + unknown_fields_stream.WriteVarint32(value); } - } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) - == ::google::protobuf::internal::WireFormatLite:: - WIRETYPE_LENGTH_DELIMITED) { + } else if (tag == 42) { DO_((::google::protobuf::internal::WireFormatLite::ReadPackedEnumNoInline( input, &::NetPlayerState_IsValid, this->mutable_seatstates()))); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(40)) goto parse_seatStates; if (input->ExpectTag(48)) goto parse_dealerPlayerId; @@ -12815,37 +14438,44 @@ bool HandStartMessage::MergePartialFromCodedStream( // optional uint32 dealerPlayerId = 6; case 6: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 48) { parse_dealerPlayerId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &dealerplayerid_))); set_has_dealerplayerid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:HandStartMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:HandStartMessage) + return false; #undef DO_ } void HandStartMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:HandStartMessage) // required uint32 gameId = 1; if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); @@ -12859,7 +14489,7 @@ void HandStartMessage::SerializeWithCachedSizes( // optional bytes encryptedCards = 3; if (has_encryptedcards()) { - ::google::protobuf::internal::WireFormatLite::WriteBytes( + ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased( 3, this->encryptedcards(), output); } @@ -12879,6 +14509,9 @@ void HandStartMessage::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::WriteUInt32(6, this->dealerplayerid(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:HandStartMessage) } int HandStartMessage::ByteSize() const { @@ -12931,6 +14564,8 @@ int HandStartMessage::ByteSize() const { total_size += 1 * this->seatstates_size() + data_size; } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -12962,6 +14597,7 @@ void HandStartMessage::MergeFrom(const HandStartMessage& from) { set_dealerplayerid(from.dealerplayerid()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void HandStartMessage::CopyFrom(const HandStartMessage& from) { @@ -12988,6 +14624,7 @@ void HandStartMessage::Swap(HandStartMessage* other) { seatstates_.Swap(&other->seatstates_); std::swap(dealerplayerid_, other->dealerplayerid_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -13008,6 +14645,7 @@ const int PlayersTurnMessage::kGameStateFieldNumber; PlayersTurnMessage::PlayersTurnMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:PlayersTurnMessage) } void PlayersTurnMessage::InitAsDefaultInstance() { @@ -13017,6 +14655,7 @@ PlayersTurnMessage::PlayersTurnMessage(const PlayersTurnMessage& from) : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:PlayersTurnMessage) } void PlayersTurnMessage::SharedCtor() { @@ -13028,6 +14667,7 @@ void PlayersTurnMessage::SharedCtor() { } PlayersTurnMessage::~PlayersTurnMessage() { + // @@protoc_insertion_point(destructor:PlayersTurnMessage) SharedDtor(); } @@ -13061,30 +14701,48 @@ PlayersTurnMessage* PlayersTurnMessage::New() const { } void PlayersTurnMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - gameid_ = 0u; - playerid_ = 0u; - gamestate_ = 0; - } +#define OFFSET_OF_FIELD_(f) (reinterpret_cast( \ + &reinterpret_cast(16)->f) - \ + reinterpret_cast(16)) + +#define ZR_(first, last) do { \ + size_t f = OFFSET_OF_FIELD_(first); \ + size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \ + ::memset(&first, 0, n); \ + } while (0) + + ZR_(gameid_, gamestate_); + +#undef OFFSET_OF_FIELD_ +#undef ZR_ + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool PlayersTurnMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:PlayersTurnMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required uint32 gameId = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 8) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &gameid_))); set_has_gameid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(16)) goto parse_playerId; break; @@ -13092,15 +14750,14 @@ bool PlayersTurnMessage::MergePartialFromCodedStream( // required uint32 playerId = 2; case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 16) { parse_playerId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &playerid_))); set_has_playerid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(24)) goto parse_gameState; break; @@ -13108,8 +14765,7 @@ bool PlayersTurnMessage::MergePartialFromCodedStream( // required .NetGameState gameState = 3; case 3: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 24) { parse_gameState: int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< @@ -13117,31 +14773,42 @@ bool PlayersTurnMessage::MergePartialFromCodedStream( input, &value))); if (::NetGameState_IsValid(value)) { set_gamestate(static_cast< ::NetGameState >(value)); + } else { + unknown_fields_stream.WriteVarint32(tag); + unknown_fields_stream.WriteVarint32(value); } } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:PlayersTurnMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:PlayersTurnMessage) + return false; #undef DO_ } void PlayersTurnMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:PlayersTurnMessage) // required uint32 gameId = 1; if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); @@ -13158,6 +14825,9 @@ void PlayersTurnMessage::SerializeWithCachedSizes( 3, this->gamestate(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:PlayersTurnMessage) } int PlayersTurnMessage::ByteSize() const { @@ -13185,6 +14855,8 @@ int PlayersTurnMessage::ByteSize() const { } } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -13209,6 +14881,7 @@ void PlayersTurnMessage::MergeFrom(const PlayersTurnMessage& from) { set_gamestate(from.gamestate()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void PlayersTurnMessage::CopyFrom(const PlayersTurnMessage& from) { @@ -13229,6 +14902,7 @@ void PlayersTurnMessage::Swap(PlayersTurnMessage* other) { std::swap(playerid_, other->playerid_); std::swap(gamestate_, other->gamestate_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -13251,6 +14925,7 @@ const int MyActionRequestMessage::kMyRelativeBetFieldNumber; MyActionRequestMessage::MyActionRequestMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:MyActionRequestMessage) } void MyActionRequestMessage::InitAsDefaultInstance() { @@ -13260,6 +14935,7 @@ MyActionRequestMessage::MyActionRequestMessage(const MyActionRequestMessage& fro : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:MyActionRequestMessage) } void MyActionRequestMessage::SharedCtor() { @@ -13273,6 +14949,7 @@ void MyActionRequestMessage::SharedCtor() { } MyActionRequestMessage::~MyActionRequestMessage() { + // @@protoc_insertion_point(destructor:MyActionRequestMessage) SharedDtor(); } @@ -13306,32 +14983,50 @@ MyActionRequestMessage* MyActionRequestMessage::New() const { } void MyActionRequestMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - gameid_ = 0u; - handnum_ = 0u; - gamestate_ = 0; - myaction_ = 0; - myrelativebet_ = 0u; +#define OFFSET_OF_FIELD_(f) (reinterpret_cast( \ + &reinterpret_cast(16)->f) - \ + reinterpret_cast(16)) + +#define ZR_(first, last) do { \ + size_t f = OFFSET_OF_FIELD_(first); \ + size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \ + ::memset(&first, 0, n); \ + } while (0) + + if (_has_bits_[0 / 32] & 31) { + ZR_(gameid_, myrelativebet_); } + +#undef OFFSET_OF_FIELD_ +#undef ZR_ + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool MyActionRequestMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:MyActionRequestMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required uint32 gameId = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 8) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &gameid_))); set_has_gameid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(16)) goto parse_handNum; break; @@ -13339,15 +15034,14 @@ bool MyActionRequestMessage::MergePartialFromCodedStream( // required uint32 handNum = 2; case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 16) { parse_handNum: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &handnum_))); set_has_handnum(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(24)) goto parse_gameState; break; @@ -13355,8 +15049,7 @@ bool MyActionRequestMessage::MergePartialFromCodedStream( // required .NetGameState gameState = 3; case 3: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 24) { parse_gameState: int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< @@ -13364,9 +15057,12 @@ bool MyActionRequestMessage::MergePartialFromCodedStream( input, &value))); if (::NetGameState_IsValid(value)) { set_gamestate(static_cast< ::NetGameState >(value)); + } else { + unknown_fields_stream.WriteVarint32(tag); + unknown_fields_stream.WriteVarint32(value); } } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(32)) goto parse_myAction; break; @@ -13374,8 +15070,7 @@ bool MyActionRequestMessage::MergePartialFromCodedStream( // required .NetPlayerAction myAction = 4; case 4: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 32) { parse_myAction: int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< @@ -13383,9 +15078,12 @@ bool MyActionRequestMessage::MergePartialFromCodedStream( input, &value))); if (::NetPlayerAction_IsValid(value)) { set_myaction(static_cast< ::NetPlayerAction >(value)); + } else { + unknown_fields_stream.WriteVarint32(tag); + unknown_fields_stream.WriteVarint32(value); } } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(40)) goto parse_myRelativeBet; break; @@ -13393,37 +15091,44 @@ bool MyActionRequestMessage::MergePartialFromCodedStream( // required uint32 myRelativeBet = 5; case 5: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 40) { parse_myRelativeBet: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &myrelativebet_))); set_has_myrelativebet(); } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:MyActionRequestMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:MyActionRequestMessage) + return false; #undef DO_ } void MyActionRequestMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:MyActionRequestMessage) // required uint32 gameId = 1; if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); @@ -13451,6 +15156,9 @@ void MyActionRequestMessage::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::WriteUInt32(5, this->myrelativebet(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:MyActionRequestMessage) } int MyActionRequestMessage::ByteSize() const { @@ -13491,6 +15199,8 @@ int MyActionRequestMessage::ByteSize() const { } } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -13521,6 +15231,7 @@ void MyActionRequestMessage::MergeFrom(const MyActionRequestMessage& from) { set_myrelativebet(from.myrelativebet()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void MyActionRequestMessage::CopyFrom(const MyActionRequestMessage& from) { @@ -13543,6 +15254,7 @@ void MyActionRequestMessage::Swap(MyActionRequestMessage* other) { std::swap(myaction_, other->myaction_); std::swap(myrelativebet_, other->myrelativebet_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -13584,6 +15296,7 @@ const int YourActionRejectedMessage::kRejectionReasonFieldNumber; YourActionRejectedMessage::YourActionRejectedMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:YourActionRejectedMessage) } void YourActionRejectedMessage::InitAsDefaultInstance() { @@ -13593,6 +15306,7 @@ YourActionRejectedMessage::YourActionRejectedMessage(const YourActionRejectedMes : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:YourActionRejectedMessage) } void YourActionRejectedMessage::SharedCtor() { @@ -13606,6 +15320,7 @@ void YourActionRejectedMessage::SharedCtor() { } YourActionRejectedMessage::~YourActionRejectedMessage() { + // @@protoc_insertion_point(destructor:YourActionRejectedMessage) SharedDtor(); } @@ -13639,32 +15354,51 @@ YourActionRejectedMessage* YourActionRejectedMessage::New() const { } void YourActionRejectedMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - gameid_ = 0u; - gamestate_ = 0; - youraction_ = 0; - yourrelativebet_ = 0u; +#define OFFSET_OF_FIELD_(f) (reinterpret_cast( \ + &reinterpret_cast(16)->f) - \ + reinterpret_cast(16)) + +#define ZR_(first, last) do { \ + size_t f = OFFSET_OF_FIELD_(first); \ + size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \ + ::memset(&first, 0, n); \ + } while (0) + + if (_has_bits_[0 / 32] & 31) { + ZR_(gameid_, yourrelativebet_); rejectionreason_ = 1; } + +#undef OFFSET_OF_FIELD_ +#undef ZR_ + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool YourActionRejectedMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:YourActionRejectedMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required uint32 gameId = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 8) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &gameid_))); set_has_gameid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(16)) goto parse_gameState; break; @@ -13672,8 +15406,7 @@ bool YourActionRejectedMessage::MergePartialFromCodedStream( // required .NetGameState gameState = 2; case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 16) { parse_gameState: int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< @@ -13681,9 +15414,12 @@ bool YourActionRejectedMessage::MergePartialFromCodedStream( input, &value))); if (::NetGameState_IsValid(value)) { set_gamestate(static_cast< ::NetGameState >(value)); + } else { + unknown_fields_stream.WriteVarint32(tag); + unknown_fields_stream.WriteVarint32(value); } } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(24)) goto parse_yourAction; break; @@ -13691,8 +15427,7 @@ bool YourActionRejectedMessage::MergePartialFromCodedStream( // required .NetPlayerAction yourAction = 3; case 3: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 24) { parse_yourAction: int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< @@ -13700,9 +15435,12 @@ bool YourActionRejectedMessage::MergePartialFromCodedStream( input, &value))); if (::NetPlayerAction_IsValid(value)) { set_youraction(static_cast< ::NetPlayerAction >(value)); + } else { + unknown_fields_stream.WriteVarint32(tag); + unknown_fields_stream.WriteVarint32(value); } } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(32)) goto parse_yourRelativeBet; break; @@ -13710,15 +15448,14 @@ bool YourActionRejectedMessage::MergePartialFromCodedStream( // required uint32 yourRelativeBet = 4; case 4: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 32) { parse_yourRelativeBet: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &yourrelativebet_))); set_has_yourrelativebet(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(40)) goto parse_rejectionReason; break; @@ -13726,8 +15463,7 @@ bool YourActionRejectedMessage::MergePartialFromCodedStream( // required .YourActionRejectedMessage.RejectionReason rejectionReason = 5; case 5: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 40) { parse_rejectionReason: int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< @@ -13735,31 +15471,42 @@ bool YourActionRejectedMessage::MergePartialFromCodedStream( input, &value))); if (::YourActionRejectedMessage_RejectionReason_IsValid(value)) { set_rejectionreason(static_cast< ::YourActionRejectedMessage_RejectionReason >(value)); + } else { + unknown_fields_stream.WriteVarint32(tag); + unknown_fields_stream.WriteVarint32(value); } } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:YourActionRejectedMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:YourActionRejectedMessage) + return false; #undef DO_ } void YourActionRejectedMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:YourActionRejectedMessage) // required uint32 gameId = 1; if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); @@ -13788,6 +15535,9 @@ void YourActionRejectedMessage::SerializeWithCachedSizes( 5, this->rejectionreason(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:YourActionRejectedMessage) } int YourActionRejectedMessage::ByteSize() const { @@ -13827,6 +15577,8 @@ int YourActionRejectedMessage::ByteSize() const { } } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -13857,6 +15609,7 @@ void YourActionRejectedMessage::MergeFrom(const YourActionRejectedMessage& from) set_rejectionreason(from.rejectionreason()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void YourActionRejectedMessage::CopyFrom(const YourActionRejectedMessage& from) { @@ -13879,6 +15632,7 @@ void YourActionRejectedMessage::Swap(YourActionRejectedMessage* other) { std::swap(yourrelativebet_, other->yourrelativebet_); std::swap(rejectionreason_, other->rejectionreason_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -13904,6 +15658,7 @@ const int PlayersActionDoneMessage::kMinimumRaiseFieldNumber; PlayersActionDoneMessage::PlayersActionDoneMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:PlayersActionDoneMessage) } void PlayersActionDoneMessage::InitAsDefaultInstance() { @@ -13913,6 +15668,7 @@ PlayersActionDoneMessage::PlayersActionDoneMessage(const PlayersActionDoneMessag : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:PlayersActionDoneMessage) } void PlayersActionDoneMessage::SharedCtor() { @@ -13929,6 +15685,7 @@ void PlayersActionDoneMessage::SharedCtor() { } PlayersActionDoneMessage::~PlayersActionDoneMessage() { + // @@protoc_insertion_point(destructor:PlayersActionDoneMessage) SharedDtor(); } @@ -13962,35 +15719,50 @@ PlayersActionDoneMessage* PlayersActionDoneMessage::New() const { } void PlayersActionDoneMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - gameid_ = 0u; - playerid_ = 0u; - gamestate_ = 0; - playeraction_ = 0; - totalplayerbet_ = 0u; - playermoney_ = 0u; - highestset_ = 0u; - minimumraise_ = 0u; +#define OFFSET_OF_FIELD_(f) (reinterpret_cast( \ + &reinterpret_cast(16)->f) - \ + reinterpret_cast(16)) + +#define ZR_(first, last) do { \ + size_t f = OFFSET_OF_FIELD_(first); \ + size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \ + ::memset(&first, 0, n); \ + } while (0) + + if (_has_bits_[0 / 32] & 255) { + ZR_(gameid_, minimumraise_); } + +#undef OFFSET_OF_FIELD_ +#undef ZR_ + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool PlayersActionDoneMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:PlayersActionDoneMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required uint32 gameId = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 8) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &gameid_))); set_has_gameid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(16)) goto parse_playerId; break; @@ -13998,15 +15770,14 @@ bool PlayersActionDoneMessage::MergePartialFromCodedStream( // required uint32 playerId = 2; case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 16) { parse_playerId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &playerid_))); set_has_playerid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(24)) goto parse_gameState; break; @@ -14014,8 +15785,7 @@ bool PlayersActionDoneMessage::MergePartialFromCodedStream( // required .NetGameState gameState = 3; case 3: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 24) { parse_gameState: int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< @@ -14023,9 +15793,12 @@ bool PlayersActionDoneMessage::MergePartialFromCodedStream( input, &value))); if (::NetGameState_IsValid(value)) { set_gamestate(static_cast< ::NetGameState >(value)); + } else { + unknown_fields_stream.WriteVarint32(tag); + unknown_fields_stream.WriteVarint32(value); } } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(32)) goto parse_playerAction; break; @@ -14033,8 +15806,7 @@ bool PlayersActionDoneMessage::MergePartialFromCodedStream( // required .NetPlayerAction playerAction = 4; case 4: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 32) { parse_playerAction: int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< @@ -14042,9 +15814,12 @@ bool PlayersActionDoneMessage::MergePartialFromCodedStream( input, &value))); if (::NetPlayerAction_IsValid(value)) { set_playeraction(static_cast< ::NetPlayerAction >(value)); + } else { + unknown_fields_stream.WriteVarint32(tag); + unknown_fields_stream.WriteVarint32(value); } } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(40)) goto parse_totalPlayerBet; break; @@ -14052,15 +15827,14 @@ bool PlayersActionDoneMessage::MergePartialFromCodedStream( // required uint32 totalPlayerBet = 5; case 5: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 40) { parse_totalPlayerBet: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &totalplayerbet_))); set_has_totalplayerbet(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(48)) goto parse_playerMoney; break; @@ -14068,15 +15842,14 @@ bool PlayersActionDoneMessage::MergePartialFromCodedStream( // required uint32 playerMoney = 6; case 6: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 48) { parse_playerMoney: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &playermoney_))); set_has_playermoney(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(56)) goto parse_highestSet; break; @@ -14084,15 +15857,14 @@ bool PlayersActionDoneMessage::MergePartialFromCodedStream( // required uint32 highestSet = 7; case 7: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 56) { parse_highestSet: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &highestset_))); set_has_highestset(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(64)) goto parse_minimumRaise; break; @@ -14100,37 +15872,44 @@ bool PlayersActionDoneMessage::MergePartialFromCodedStream( // required uint32 minimumRaise = 8; case 8: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 64) { parse_minimumRaise: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &minimumraise_))); set_has_minimumraise(); } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:PlayersActionDoneMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:PlayersActionDoneMessage) + return false; #undef DO_ } void PlayersActionDoneMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:PlayersActionDoneMessage) // required uint32 gameId = 1; if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); @@ -14173,6 +15952,9 @@ void PlayersActionDoneMessage::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::WriteUInt32(8, this->minimumraise(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:PlayersActionDoneMessage) } int PlayersActionDoneMessage::ByteSize() const { @@ -14234,6 +16016,8 @@ int PlayersActionDoneMessage::ByteSize() const { } } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -14273,6 +16057,7 @@ void PlayersActionDoneMessage::MergeFrom(const PlayersActionDoneMessage& from) { set_minimumraise(from.minimumraise()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void PlayersActionDoneMessage::CopyFrom(const PlayersActionDoneMessage& from) { @@ -14298,6 +16083,7 @@ void PlayersActionDoneMessage::Swap(PlayersActionDoneMessage* other) { std::swap(highestset_, other->highestset_); std::swap(minimumraise_, other->minimumraise_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -14319,6 +16105,7 @@ const int DealFlopCardsMessage::kFlopCard3FieldNumber; DealFlopCardsMessage::DealFlopCardsMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:DealFlopCardsMessage) } void DealFlopCardsMessage::InitAsDefaultInstance() { @@ -14328,6 +16115,7 @@ DealFlopCardsMessage::DealFlopCardsMessage(const DealFlopCardsMessage& from) : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:DealFlopCardsMessage) } void DealFlopCardsMessage::SharedCtor() { @@ -14340,6 +16128,7 @@ void DealFlopCardsMessage::SharedCtor() { } DealFlopCardsMessage::~DealFlopCardsMessage() { + // @@protoc_insertion_point(destructor:DealFlopCardsMessage) SharedDtor(); } @@ -14373,31 +16162,48 @@ DealFlopCardsMessage* DealFlopCardsMessage::New() const { } void DealFlopCardsMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - gameid_ = 0u; - flopcard1_ = 0u; - flopcard2_ = 0u; - flopcard3_ = 0u; - } +#define OFFSET_OF_FIELD_(f) (reinterpret_cast( \ + &reinterpret_cast(16)->f) - \ + reinterpret_cast(16)) + +#define ZR_(first, last) do { \ + size_t f = OFFSET_OF_FIELD_(first); \ + size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \ + ::memset(&first, 0, n); \ + } while (0) + + ZR_(gameid_, flopcard3_); + +#undef OFFSET_OF_FIELD_ +#undef ZR_ + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool DealFlopCardsMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:DealFlopCardsMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required uint32 gameId = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 8) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &gameid_))); set_has_gameid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(16)) goto parse_flopCard1; break; @@ -14405,15 +16211,14 @@ bool DealFlopCardsMessage::MergePartialFromCodedStream( // required uint32 flopCard1 = 2; case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 16) { parse_flopCard1: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &flopcard1_))); set_has_flopcard1(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(24)) goto parse_flopCard2; break; @@ -14421,15 +16226,14 @@ bool DealFlopCardsMessage::MergePartialFromCodedStream( // required uint32 flopCard2 = 3; case 3: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 24) { parse_flopCard2: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &flopcard2_))); set_has_flopcard2(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(32)) goto parse_flopCard3; break; @@ -14437,37 +16241,44 @@ bool DealFlopCardsMessage::MergePartialFromCodedStream( // required uint32 flopCard3 = 4; case 4: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 32) { parse_flopCard3: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &flopcard3_))); set_has_flopcard3(); } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:DealFlopCardsMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:DealFlopCardsMessage) + return false; #undef DO_ } void DealFlopCardsMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:DealFlopCardsMessage) // required uint32 gameId = 1; if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); @@ -14488,6 +16299,9 @@ void DealFlopCardsMessage::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->flopcard3(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:DealFlopCardsMessage) } int DealFlopCardsMessage::ByteSize() const { @@ -14523,6 +16337,8 @@ int DealFlopCardsMessage::ByteSize() const { } } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -14550,6 +16366,7 @@ void DealFlopCardsMessage::MergeFrom(const DealFlopCardsMessage& from) { set_flopcard3(from.flopcard3()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void DealFlopCardsMessage::CopyFrom(const DealFlopCardsMessage& from) { @@ -14571,6 +16388,7 @@ void DealFlopCardsMessage::Swap(DealFlopCardsMessage* other) { std::swap(flopcard2_, other->flopcard2_); std::swap(flopcard3_, other->flopcard3_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -14590,6 +16408,7 @@ const int DealTurnCardMessage::kTurnCardFieldNumber; DealTurnCardMessage::DealTurnCardMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:DealTurnCardMessage) } void DealTurnCardMessage::InitAsDefaultInstance() { @@ -14599,6 +16418,7 @@ DealTurnCardMessage::DealTurnCardMessage(const DealTurnCardMessage& from) : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:DealTurnCardMessage) } void DealTurnCardMessage::SharedCtor() { @@ -14609,6 +16429,7 @@ void DealTurnCardMessage::SharedCtor() { } DealTurnCardMessage::~DealTurnCardMessage() { + // @@protoc_insertion_point(destructor:DealTurnCardMessage) SharedDtor(); } @@ -14642,29 +16463,48 @@ DealTurnCardMessage* DealTurnCardMessage::New() const { } void DealTurnCardMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - gameid_ = 0u; - turncard_ = 0u; - } +#define OFFSET_OF_FIELD_(f) (reinterpret_cast( \ + &reinterpret_cast(16)->f) - \ + reinterpret_cast(16)) + +#define ZR_(first, last) do { \ + size_t f = OFFSET_OF_FIELD_(first); \ + size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \ + ::memset(&first, 0, n); \ + } while (0) + + ZR_(gameid_, turncard_); + +#undef OFFSET_OF_FIELD_ +#undef ZR_ + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool DealTurnCardMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:DealTurnCardMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required uint32 gameId = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 8) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &gameid_))); set_has_gameid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(16)) goto parse_turnCard; break; @@ -14672,37 +16512,44 @@ bool DealTurnCardMessage::MergePartialFromCodedStream( // required uint32 turnCard = 2; case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 16) { parse_turnCard: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &turncard_))); set_has_turncard(); } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:DealTurnCardMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:DealTurnCardMessage) + return false; #undef DO_ } void DealTurnCardMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:DealTurnCardMessage) // required uint32 gameId = 1; if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); @@ -14713,6 +16560,9 @@ void DealTurnCardMessage::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->turncard(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:DealTurnCardMessage) } int DealTurnCardMessage::ByteSize() const { @@ -14734,6 +16584,8 @@ int DealTurnCardMessage::ByteSize() const { } } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -14755,6 +16607,7 @@ void DealTurnCardMessage::MergeFrom(const DealTurnCardMessage& from) { set_turncard(from.turncard()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void DealTurnCardMessage::CopyFrom(const DealTurnCardMessage& from) { @@ -14774,6 +16627,7 @@ void DealTurnCardMessage::Swap(DealTurnCardMessage* other) { std::swap(gameid_, other->gameid_); std::swap(turncard_, other->turncard_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -14793,6 +16647,7 @@ const int DealRiverCardMessage::kRiverCardFieldNumber; DealRiverCardMessage::DealRiverCardMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:DealRiverCardMessage) } void DealRiverCardMessage::InitAsDefaultInstance() { @@ -14802,6 +16657,7 @@ DealRiverCardMessage::DealRiverCardMessage(const DealRiverCardMessage& from) : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:DealRiverCardMessage) } void DealRiverCardMessage::SharedCtor() { @@ -14812,6 +16668,7 @@ void DealRiverCardMessage::SharedCtor() { } DealRiverCardMessage::~DealRiverCardMessage() { + // @@protoc_insertion_point(destructor:DealRiverCardMessage) SharedDtor(); } @@ -14845,29 +16702,48 @@ DealRiverCardMessage* DealRiverCardMessage::New() const { } void DealRiverCardMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - gameid_ = 0u; - rivercard_ = 0u; - } +#define OFFSET_OF_FIELD_(f) (reinterpret_cast( \ + &reinterpret_cast(16)->f) - \ + reinterpret_cast(16)) + +#define ZR_(first, last) do { \ + size_t f = OFFSET_OF_FIELD_(first); \ + size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \ + ::memset(&first, 0, n); \ + } while (0) + + ZR_(gameid_, rivercard_); + +#undef OFFSET_OF_FIELD_ +#undef ZR_ + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool DealRiverCardMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:DealRiverCardMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required uint32 gameId = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 8) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &gameid_))); set_has_gameid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(16)) goto parse_riverCard; break; @@ -14875,37 +16751,44 @@ bool DealRiverCardMessage::MergePartialFromCodedStream( // required uint32 riverCard = 2; case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 16) { parse_riverCard: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &rivercard_))); set_has_rivercard(); } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:DealRiverCardMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:DealRiverCardMessage) + return false; #undef DO_ } void DealRiverCardMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:DealRiverCardMessage) // required uint32 gameId = 1; if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); @@ -14916,6 +16799,9 @@ void DealRiverCardMessage::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->rivercard(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:DealRiverCardMessage) } int DealRiverCardMessage::ByteSize() const { @@ -14937,6 +16823,8 @@ int DealRiverCardMessage::ByteSize() const { } } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -14958,6 +16846,7 @@ void DealRiverCardMessage::MergeFrom(const DealRiverCardMessage& from) { set_rivercard(from.rivercard()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void DealRiverCardMessage::CopyFrom(const DealRiverCardMessage& from) { @@ -14977,6 +16866,7 @@ void DealRiverCardMessage::Swap(DealRiverCardMessage* other) { std::swap(gameid_, other->gameid_); std::swap(rivercard_, other->rivercard_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -14997,6 +16887,7 @@ const int AllInShowCardsMessage_PlayerAllIn::kAllInCard2FieldNumber; AllInShowCardsMessage_PlayerAllIn::AllInShowCardsMessage_PlayerAllIn() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:AllInShowCardsMessage.PlayerAllIn) } void AllInShowCardsMessage_PlayerAllIn::InitAsDefaultInstance() { @@ -15006,6 +16897,7 @@ AllInShowCardsMessage_PlayerAllIn::AllInShowCardsMessage_PlayerAllIn(const AllIn : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:AllInShowCardsMessage.PlayerAllIn) } void AllInShowCardsMessage_PlayerAllIn::SharedCtor() { @@ -15017,6 +16909,7 @@ void AllInShowCardsMessage_PlayerAllIn::SharedCtor() { } AllInShowCardsMessage_PlayerAllIn::~AllInShowCardsMessage_PlayerAllIn() { + // @@protoc_insertion_point(destructor:AllInShowCardsMessage.PlayerAllIn) SharedDtor(); } @@ -15050,30 +16943,48 @@ AllInShowCardsMessage_PlayerAllIn* AllInShowCardsMessage_PlayerAllIn::New() cons } void AllInShowCardsMessage_PlayerAllIn::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - playerid_ = 0u; - allincard1_ = 0u; - allincard2_ = 0u; - } +#define OFFSET_OF_FIELD_(f) (reinterpret_cast( \ + &reinterpret_cast(16)->f) - \ + reinterpret_cast(16)) + +#define ZR_(first, last) do { \ + size_t f = OFFSET_OF_FIELD_(first); \ + size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \ + ::memset(&first, 0, n); \ + } while (0) + + ZR_(playerid_, allincard2_); + +#undef OFFSET_OF_FIELD_ +#undef ZR_ + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool AllInShowCardsMessage_PlayerAllIn::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:AllInShowCardsMessage.PlayerAllIn) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required uint32 playerId = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 8) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &playerid_))); set_has_playerid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(16)) goto parse_allInCard1; break; @@ -15081,15 +16992,14 @@ bool AllInShowCardsMessage_PlayerAllIn::MergePartialFromCodedStream( // required uint32 allInCard1 = 2; case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 16) { parse_allInCard1: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &allincard1_))); set_has_allincard1(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(24)) goto parse_allInCard2; break; @@ -15097,37 +17007,44 @@ bool AllInShowCardsMessage_PlayerAllIn::MergePartialFromCodedStream( // required uint32 allInCard2 = 3; case 3: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 24) { parse_allInCard2: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &allincard2_))); set_has_allincard2(); } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:AllInShowCardsMessage.PlayerAllIn) return true; +failure: + // @@protoc_insertion_point(parse_failure:AllInShowCardsMessage.PlayerAllIn) + return false; #undef DO_ } void AllInShowCardsMessage_PlayerAllIn::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:AllInShowCardsMessage.PlayerAllIn) // required uint32 playerId = 1; if (has_playerid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->playerid(), output); @@ -15143,6 +17060,9 @@ void AllInShowCardsMessage_PlayerAllIn::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->allincard2(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:AllInShowCardsMessage.PlayerAllIn) } int AllInShowCardsMessage_PlayerAllIn::ByteSize() const { @@ -15171,6 +17091,8 @@ int AllInShowCardsMessage_PlayerAllIn::ByteSize() const { } } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -15195,6 +17117,7 @@ void AllInShowCardsMessage_PlayerAllIn::MergeFrom(const AllInShowCardsMessage_Pl set_allincard2(from.allincard2()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void AllInShowCardsMessage_PlayerAllIn::CopyFrom(const AllInShowCardsMessage_PlayerAllIn& from) { @@ -15215,6 +17138,7 @@ void AllInShowCardsMessage_PlayerAllIn::Swap(AllInShowCardsMessage_PlayerAllIn* std::swap(allincard1_, other->allincard1_); std::swap(allincard2_, other->allincard2_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -15234,6 +17158,7 @@ const int AllInShowCardsMessage::kPlayersAllInFieldNumber; AllInShowCardsMessage::AllInShowCardsMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:AllInShowCardsMessage) } void AllInShowCardsMessage::InitAsDefaultInstance() { @@ -15243,6 +17168,7 @@ AllInShowCardsMessage::AllInShowCardsMessage(const AllInShowCardsMessage& from) : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:AllInShowCardsMessage) } void AllInShowCardsMessage::SharedCtor() { @@ -15252,6 +17178,7 @@ void AllInShowCardsMessage::SharedCtor() { } AllInShowCardsMessage::~AllInShowCardsMessage() { + // @@protoc_insertion_point(destructor:AllInShowCardsMessage) SharedDtor(); } @@ -15285,29 +17212,35 @@ AllInShowCardsMessage* AllInShowCardsMessage::New() const { } void AllInShowCardsMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - gameid_ = 0u; - } + gameid_ = 0u; playersallin_.Clear(); ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool AllInShowCardsMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:AllInShowCardsMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required uint32 gameId = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 8) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &gameid_))); set_has_gameid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(18)) goto parse_playersAllIn; break; @@ -15315,36 +17248,43 @@ bool AllInShowCardsMessage::MergePartialFromCodedStream( // repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 18) { parse_playersAllIn: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, add_playersallin())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(18)) goto parse_playersAllIn; - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:AllInShowCardsMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:AllInShowCardsMessage) + return false; #undef DO_ } void AllInShowCardsMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:AllInShowCardsMessage) // required uint32 gameId = 1; if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); @@ -15356,6 +17296,9 @@ void AllInShowCardsMessage::SerializeWithCachedSizes( 2, this->playersallin(i), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:AllInShowCardsMessage) } int AllInShowCardsMessage::ByteSize() const { @@ -15378,6 +17321,8 @@ int AllInShowCardsMessage::ByteSize() const { this->playersallin(i)); } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -15397,6 +17342,7 @@ void AllInShowCardsMessage::MergeFrom(const AllInShowCardsMessage& from) { set_gameid(from.gameid()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void AllInShowCardsMessage::CopyFrom(const AllInShowCardsMessage& from) { @@ -15408,9 +17354,7 @@ void AllInShowCardsMessage::CopyFrom(const AllInShowCardsMessage& from) { bool AllInShowCardsMessage::IsInitialized() const { if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false; - for (int i = 0; i < playersallin_size(); i++) { - if (!this->playersallin(i).IsInitialized()) return false; - } + if (!::google::protobuf::internal::AllAreInitialized(this->playersallin())) return false; return true; } @@ -15419,6 +17363,7 @@ void AllInShowCardsMessage::Swap(AllInShowCardsMessage* other) { std::swap(gameid_, other->gameid_); playersallin_.Swap(&other->playersallin_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -15438,6 +17383,7 @@ const int EndOfHandShowCardsMessage::kPlayerResultsFieldNumber; EndOfHandShowCardsMessage::EndOfHandShowCardsMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:EndOfHandShowCardsMessage) } void EndOfHandShowCardsMessage::InitAsDefaultInstance() { @@ -15447,6 +17393,7 @@ EndOfHandShowCardsMessage::EndOfHandShowCardsMessage(const EndOfHandShowCardsMes : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:EndOfHandShowCardsMessage) } void EndOfHandShowCardsMessage::SharedCtor() { @@ -15456,6 +17403,7 @@ void EndOfHandShowCardsMessage::SharedCtor() { } EndOfHandShowCardsMessage::~EndOfHandShowCardsMessage() { + // @@protoc_insertion_point(destructor:EndOfHandShowCardsMessage) SharedDtor(); } @@ -15489,29 +17437,35 @@ EndOfHandShowCardsMessage* EndOfHandShowCardsMessage::New() const { } void EndOfHandShowCardsMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - gameid_ = 0u; - } + gameid_ = 0u; playerresults_.Clear(); ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool EndOfHandShowCardsMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:EndOfHandShowCardsMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required uint32 gameId = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 8) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &gameid_))); set_has_gameid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(18)) goto parse_playerResults; break; @@ -15519,36 +17473,43 @@ bool EndOfHandShowCardsMessage::MergePartialFromCodedStream( // repeated .PlayerResult playerResults = 2; case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 18) { parse_playerResults: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, add_playerresults())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(18)) goto parse_playerResults; - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:EndOfHandShowCardsMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:EndOfHandShowCardsMessage) + return false; #undef DO_ } void EndOfHandShowCardsMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:EndOfHandShowCardsMessage) // required uint32 gameId = 1; if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); @@ -15560,6 +17521,9 @@ void EndOfHandShowCardsMessage::SerializeWithCachedSizes( 2, this->playerresults(i), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:EndOfHandShowCardsMessage) } int EndOfHandShowCardsMessage::ByteSize() const { @@ -15582,6 +17546,8 @@ int EndOfHandShowCardsMessage::ByteSize() const { this->playerresults(i)); } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -15601,6 +17567,7 @@ void EndOfHandShowCardsMessage::MergeFrom(const EndOfHandShowCardsMessage& from) set_gameid(from.gameid()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void EndOfHandShowCardsMessage::CopyFrom(const EndOfHandShowCardsMessage& from) { @@ -15612,9 +17579,7 @@ void EndOfHandShowCardsMessage::CopyFrom(const EndOfHandShowCardsMessage& from) bool EndOfHandShowCardsMessage::IsInitialized() const { if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false; - for (int i = 0; i < playerresults_size(); i++) { - if (!this->playerresults(i).IsInitialized()) return false; - } + if (!::google::protobuf::internal::AllAreInitialized(this->playerresults())) return false; return true; } @@ -15623,6 +17588,7 @@ void EndOfHandShowCardsMessage::Swap(EndOfHandShowCardsMessage* other) { std::swap(gameid_, other->gameid_); playerresults_.Swap(&other->playerresults_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -15644,6 +17610,7 @@ const int EndOfHandHideCardsMessage::kPlayerMoneyFieldNumber; EndOfHandHideCardsMessage::EndOfHandHideCardsMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:EndOfHandHideCardsMessage) } void EndOfHandHideCardsMessage::InitAsDefaultInstance() { @@ -15653,6 +17620,7 @@ EndOfHandHideCardsMessage::EndOfHandHideCardsMessage(const EndOfHandHideCardsMes : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:EndOfHandHideCardsMessage) } void EndOfHandHideCardsMessage::SharedCtor() { @@ -15665,6 +17633,7 @@ void EndOfHandHideCardsMessage::SharedCtor() { } EndOfHandHideCardsMessage::~EndOfHandHideCardsMessage() { + // @@protoc_insertion_point(destructor:EndOfHandHideCardsMessage) SharedDtor(); } @@ -15698,31 +17667,48 @@ EndOfHandHideCardsMessage* EndOfHandHideCardsMessage::New() const { } void EndOfHandHideCardsMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - gameid_ = 0u; - playerid_ = 0u; - moneywon_ = 0u; - playermoney_ = 0u; - } +#define OFFSET_OF_FIELD_(f) (reinterpret_cast( \ + &reinterpret_cast(16)->f) - \ + reinterpret_cast(16)) + +#define ZR_(first, last) do { \ + size_t f = OFFSET_OF_FIELD_(first); \ + size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \ + ::memset(&first, 0, n); \ + } while (0) + + ZR_(gameid_, playermoney_); + +#undef OFFSET_OF_FIELD_ +#undef ZR_ + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool EndOfHandHideCardsMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:EndOfHandHideCardsMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required uint32 gameId = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 8) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &gameid_))); set_has_gameid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(16)) goto parse_playerId; break; @@ -15730,15 +17716,14 @@ bool EndOfHandHideCardsMessage::MergePartialFromCodedStream( // required uint32 playerId = 2; case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 16) { parse_playerId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &playerid_))); set_has_playerid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(24)) goto parse_moneyWon; break; @@ -15746,15 +17731,14 @@ bool EndOfHandHideCardsMessage::MergePartialFromCodedStream( // required uint32 moneyWon = 3; case 3: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 24) { parse_moneyWon: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &moneywon_))); set_has_moneywon(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(32)) goto parse_playerMoney; break; @@ -15762,37 +17746,44 @@ bool EndOfHandHideCardsMessage::MergePartialFromCodedStream( // required uint32 playerMoney = 4; case 4: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 32) { parse_playerMoney: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &playermoney_))); set_has_playermoney(); } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:EndOfHandHideCardsMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:EndOfHandHideCardsMessage) + return false; #undef DO_ } void EndOfHandHideCardsMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:EndOfHandHideCardsMessage) // required uint32 gameId = 1; if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); @@ -15813,6 +17804,9 @@ void EndOfHandHideCardsMessage::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->playermoney(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:EndOfHandHideCardsMessage) } int EndOfHandHideCardsMessage::ByteSize() const { @@ -15848,6 +17842,8 @@ int EndOfHandHideCardsMessage::ByteSize() const { } } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -15875,6 +17871,7 @@ void EndOfHandHideCardsMessage::MergeFrom(const EndOfHandHideCardsMessage& from) set_playermoney(from.playermoney()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void EndOfHandHideCardsMessage::CopyFrom(const EndOfHandHideCardsMessage& from) { @@ -15896,6 +17893,7 @@ void EndOfHandHideCardsMessage::Swap(EndOfHandHideCardsMessage* other) { std::swap(moneywon_, other->moneywon_); std::swap(playermoney_, other->playermoney_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -15913,6 +17911,7 @@ void EndOfHandHideCardsMessage::Swap(EndOfHandHideCardsMessage* other) { ShowMyCardsRequestMessage::ShowMyCardsRequestMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:ShowMyCardsRequestMessage) } void ShowMyCardsRequestMessage::InitAsDefaultInstance() { @@ -15922,6 +17921,7 @@ ShowMyCardsRequestMessage::ShowMyCardsRequestMessage(const ShowMyCardsRequestMes : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:ShowMyCardsRequestMessage) } void ShowMyCardsRequestMessage::SharedCtor() { @@ -15930,6 +17930,7 @@ void ShowMyCardsRequestMessage::SharedCtor() { } ShowMyCardsRequestMessage::~ShowMyCardsRequestMessage() { + // @@protoc_insertion_point(destructor:ShowMyCardsRequestMessage) SharedDtor(); } @@ -15964,30 +17965,53 @@ ShowMyCardsRequestMessage* ShowMyCardsRequestMessage::New() const { void ShowMyCardsRequestMessage::Clear() { ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool ShowMyCardsRequestMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:ShowMyCardsRequestMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); } +success: + // @@protoc_insertion_point(parse_success:ShowMyCardsRequestMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:ShowMyCardsRequestMessage) + return false; #undef DO_ } void ShowMyCardsRequestMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:ShowMyCardsRequestMessage) + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:ShowMyCardsRequestMessage) } int ShowMyCardsRequestMessage::ByteSize() const { int total_size = 0; + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -16001,6 +18025,7 @@ void ShowMyCardsRequestMessage::CheckTypeAndMergeFrom( void ShowMyCardsRequestMessage::MergeFrom(const ShowMyCardsRequestMessage& from) { GOOGLE_CHECK_NE(&from, this); + mutable_unknown_fields()->append(from.unknown_fields()); } void ShowMyCardsRequestMessage::CopyFrom(const ShowMyCardsRequestMessage& from) { @@ -16016,6 +18041,7 @@ bool ShowMyCardsRequestMessage::IsInitialized() const { void ShowMyCardsRequestMessage::Swap(ShowMyCardsRequestMessage* other) { if (other != this) { + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -16034,6 +18060,7 @@ const int AfterHandShowCardsMessage::kPlayerResultFieldNumber; AfterHandShowCardsMessage::AfterHandShowCardsMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:AfterHandShowCardsMessage) } void AfterHandShowCardsMessage::InitAsDefaultInstance() { @@ -16049,6 +18076,7 @@ AfterHandShowCardsMessage::AfterHandShowCardsMessage(const AfterHandShowCardsMes : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:AfterHandShowCardsMessage) } void AfterHandShowCardsMessage::SharedCtor() { @@ -16058,6 +18086,7 @@ void AfterHandShowCardsMessage::SharedCtor() { } AfterHandShowCardsMessage::~AfterHandShowCardsMessage() { + // @@protoc_insertion_point(destructor:AfterHandShowCardsMessage) SharedDtor(); } @@ -16092,56 +18121,73 @@ AfterHandShowCardsMessage* AfterHandShowCardsMessage::New() const { } void AfterHandShowCardsMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - if (has_playerresult()) { - if (playerresult_ != NULL) playerresult_->::PlayerResult::Clear(); - } + if (has_playerresult()) { + if (playerresult_ != NULL) playerresult_->::PlayerResult::Clear(); } ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool AfterHandShowCardsMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:AfterHandShowCardsMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required .PlayerResult playerResult = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 10) { DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_playerresult())); } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:AfterHandShowCardsMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:AfterHandShowCardsMessage) + return false; #undef DO_ } void AfterHandShowCardsMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:AfterHandShowCardsMessage) // required .PlayerResult playerResult = 1; if (has_playerresult()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 1, this->playerresult(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:AfterHandShowCardsMessage) } int AfterHandShowCardsMessage::ByteSize() const { @@ -16156,6 +18202,8 @@ int AfterHandShowCardsMessage::ByteSize() const { } } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -16174,6 +18222,7 @@ void AfterHandShowCardsMessage::MergeFrom(const AfterHandShowCardsMessage& from) mutable_playerresult()->::PlayerResult::MergeFrom(from.playerresult()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void AfterHandShowCardsMessage::CopyFrom(const AfterHandShowCardsMessage& from) { @@ -16195,6 +18244,7 @@ void AfterHandShowCardsMessage::Swap(AfterHandShowCardsMessage* other) { if (other != this) { std::swap(playerresult_, other->playerresult_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -16214,6 +18264,7 @@ const int EndOfGameMessage::kWinnerPlayerIdFieldNumber; EndOfGameMessage::EndOfGameMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:EndOfGameMessage) } void EndOfGameMessage::InitAsDefaultInstance() { @@ -16223,6 +18274,7 @@ EndOfGameMessage::EndOfGameMessage(const EndOfGameMessage& from) : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:EndOfGameMessage) } void EndOfGameMessage::SharedCtor() { @@ -16233,6 +18285,7 @@ void EndOfGameMessage::SharedCtor() { } EndOfGameMessage::~EndOfGameMessage() { + // @@protoc_insertion_point(destructor:EndOfGameMessage) SharedDtor(); } @@ -16266,29 +18319,48 @@ EndOfGameMessage* EndOfGameMessage::New() const { } void EndOfGameMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - gameid_ = 0u; - winnerplayerid_ = 0u; - } +#define OFFSET_OF_FIELD_(f) (reinterpret_cast( \ + &reinterpret_cast(16)->f) - \ + reinterpret_cast(16)) + +#define ZR_(first, last) do { \ + size_t f = OFFSET_OF_FIELD_(first); \ + size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \ + ::memset(&first, 0, n); \ + } while (0) + + ZR_(gameid_, winnerplayerid_); + +#undef OFFSET_OF_FIELD_ +#undef ZR_ + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool EndOfGameMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:EndOfGameMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required uint32 gameId = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 8) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &gameid_))); set_has_gameid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(16)) goto parse_winnerPlayerId; break; @@ -16296,37 +18368,44 @@ bool EndOfGameMessage::MergePartialFromCodedStream( // required uint32 winnerPlayerId = 2; case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 16) { parse_winnerPlayerId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &winnerplayerid_))); set_has_winnerplayerid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:EndOfGameMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:EndOfGameMessage) + return false; #undef DO_ } void EndOfGameMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:EndOfGameMessage) // required uint32 gameId = 1; if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); @@ -16337,6 +18416,9 @@ void EndOfGameMessage::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->winnerplayerid(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:EndOfGameMessage) } int EndOfGameMessage::ByteSize() const { @@ -16358,6 +18440,8 @@ int EndOfGameMessage::ByteSize() const { } } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -16379,6 +18463,7 @@ void EndOfGameMessage::MergeFrom(const EndOfGameMessage& from) { set_winnerplayerid(from.winnerplayerid()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void EndOfGameMessage::CopyFrom(const EndOfGameMessage& from) { @@ -16398,6 +18483,7 @@ void EndOfGameMessage::Swap(EndOfGameMessage* other) { std::swap(gameid_, other->gameid_); std::swap(winnerplayerid_, other->winnerplayerid_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -16417,6 +18503,7 @@ const int PlayerIdChangedMessage::kNewPlayerIdFieldNumber; PlayerIdChangedMessage::PlayerIdChangedMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:PlayerIdChangedMessage) } void PlayerIdChangedMessage::InitAsDefaultInstance() { @@ -16426,6 +18513,7 @@ PlayerIdChangedMessage::PlayerIdChangedMessage(const PlayerIdChangedMessage& fro : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:PlayerIdChangedMessage) } void PlayerIdChangedMessage::SharedCtor() { @@ -16436,6 +18524,7 @@ void PlayerIdChangedMessage::SharedCtor() { } PlayerIdChangedMessage::~PlayerIdChangedMessage() { + // @@protoc_insertion_point(destructor:PlayerIdChangedMessage) SharedDtor(); } @@ -16469,29 +18558,48 @@ PlayerIdChangedMessage* PlayerIdChangedMessage::New() const { } void PlayerIdChangedMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - oldplayerid_ = 0u; - newplayerid_ = 0u; - } +#define OFFSET_OF_FIELD_(f) (reinterpret_cast( \ + &reinterpret_cast(16)->f) - \ + reinterpret_cast(16)) + +#define ZR_(first, last) do { \ + size_t f = OFFSET_OF_FIELD_(first); \ + size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \ + ::memset(&first, 0, n); \ + } while (0) + + ZR_(oldplayerid_, newplayerid_); + +#undef OFFSET_OF_FIELD_ +#undef ZR_ + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool PlayerIdChangedMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:PlayerIdChangedMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required uint32 oldPlayerId = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 8) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &oldplayerid_))); set_has_oldplayerid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(16)) goto parse_newPlayerId; break; @@ -16499,37 +18607,44 @@ bool PlayerIdChangedMessage::MergePartialFromCodedStream( // required uint32 newPlayerId = 2; case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 16) { parse_newPlayerId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &newplayerid_))); set_has_newplayerid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:PlayerIdChangedMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:PlayerIdChangedMessage) + return false; #undef DO_ } void PlayerIdChangedMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:PlayerIdChangedMessage) // required uint32 oldPlayerId = 1; if (has_oldplayerid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->oldplayerid(), output); @@ -16540,6 +18655,9 @@ void PlayerIdChangedMessage::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->newplayerid(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:PlayerIdChangedMessage) } int PlayerIdChangedMessage::ByteSize() const { @@ -16561,6 +18679,8 @@ int PlayerIdChangedMessage::ByteSize() const { } } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -16582,6 +18702,7 @@ void PlayerIdChangedMessage::MergeFrom(const PlayerIdChangedMessage& from) { set_newplayerid(from.newplayerid()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void PlayerIdChangedMessage::CopyFrom(const PlayerIdChangedMessage& from) { @@ -16601,6 +18722,7 @@ void PlayerIdChangedMessage::Swap(PlayerIdChangedMessage* other) { std::swap(oldplayerid_, other->oldplayerid_); std::swap(newplayerid_, other->newplayerid_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -16620,6 +18742,7 @@ const int AskKickPlayerMessage::kPlayerIdFieldNumber; AskKickPlayerMessage::AskKickPlayerMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:AskKickPlayerMessage) } void AskKickPlayerMessage::InitAsDefaultInstance() { @@ -16629,6 +18752,7 @@ AskKickPlayerMessage::AskKickPlayerMessage(const AskKickPlayerMessage& from) : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:AskKickPlayerMessage) } void AskKickPlayerMessage::SharedCtor() { @@ -16639,6 +18763,7 @@ void AskKickPlayerMessage::SharedCtor() { } AskKickPlayerMessage::~AskKickPlayerMessage() { + // @@protoc_insertion_point(destructor:AskKickPlayerMessage) SharedDtor(); } @@ -16672,29 +18797,48 @@ AskKickPlayerMessage* AskKickPlayerMessage::New() const { } void AskKickPlayerMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - gameid_ = 0u; - playerid_ = 0u; - } +#define OFFSET_OF_FIELD_(f) (reinterpret_cast( \ + &reinterpret_cast(16)->f) - \ + reinterpret_cast(16)) + +#define ZR_(first, last) do { \ + size_t f = OFFSET_OF_FIELD_(first); \ + size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \ + ::memset(&first, 0, n); \ + } while (0) + + ZR_(gameid_, playerid_); + +#undef OFFSET_OF_FIELD_ +#undef ZR_ + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool AskKickPlayerMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:AskKickPlayerMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required uint32 gameId = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 8) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &gameid_))); set_has_gameid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(16)) goto parse_playerId; break; @@ -16702,37 +18846,44 @@ bool AskKickPlayerMessage::MergePartialFromCodedStream( // required uint32 playerId = 2; case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 16) { parse_playerId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &playerid_))); set_has_playerid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:AskKickPlayerMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:AskKickPlayerMessage) + return false; #undef DO_ } void AskKickPlayerMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:AskKickPlayerMessage) // required uint32 gameId = 1; if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); @@ -16743,6 +18894,9 @@ void AskKickPlayerMessage::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->playerid(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:AskKickPlayerMessage) } int AskKickPlayerMessage::ByteSize() const { @@ -16764,6 +18918,8 @@ int AskKickPlayerMessage::ByteSize() const { } } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -16785,6 +18941,7 @@ void AskKickPlayerMessage::MergeFrom(const AskKickPlayerMessage& from) { set_playerid(from.playerid()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void AskKickPlayerMessage::CopyFrom(const AskKickPlayerMessage& from) { @@ -16804,6 +18961,7 @@ void AskKickPlayerMessage::Swap(AskKickPlayerMessage* other) { std::swap(gameid_, other->gameid_); std::swap(playerid_, other->playerid_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -16847,6 +19005,7 @@ const int AskKickDeniedMessage::kKickDeniedReasonFieldNumber; AskKickDeniedMessage::AskKickDeniedMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:AskKickDeniedMessage) } void AskKickDeniedMessage::InitAsDefaultInstance() { @@ -16856,6 +19015,7 @@ AskKickDeniedMessage::AskKickDeniedMessage(const AskKickDeniedMessage& from) : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:AskKickDeniedMessage) } void AskKickDeniedMessage::SharedCtor() { @@ -16867,6 +19027,7 @@ void AskKickDeniedMessage::SharedCtor() { } AskKickDeniedMessage::~AskKickDeniedMessage() { + // @@protoc_insertion_point(destructor:AskKickDeniedMessage) SharedDtor(); } @@ -16900,30 +19061,48 @@ AskKickDeniedMessage* AskKickDeniedMessage::New() const { } void AskKickDeniedMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - gameid_ = 0u; - playerid_ = 0u; - kickdeniedreason_ = 0; - } +#define OFFSET_OF_FIELD_(f) (reinterpret_cast( \ + &reinterpret_cast(16)->f) - \ + reinterpret_cast(16)) + +#define ZR_(first, last) do { \ + size_t f = OFFSET_OF_FIELD_(first); \ + size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \ + ::memset(&first, 0, n); \ + } while (0) + + ZR_(gameid_, kickdeniedreason_); + +#undef OFFSET_OF_FIELD_ +#undef ZR_ + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool AskKickDeniedMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:AskKickDeniedMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required uint32 gameId = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 8) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &gameid_))); set_has_gameid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(16)) goto parse_playerId; break; @@ -16931,15 +19110,14 @@ bool AskKickDeniedMessage::MergePartialFromCodedStream( // required uint32 playerId = 2; case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 16) { parse_playerId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &playerid_))); set_has_playerid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(24)) goto parse_kickDeniedReason; break; @@ -16947,8 +19125,7 @@ bool AskKickDeniedMessage::MergePartialFromCodedStream( // required .AskKickDeniedMessage.KickDeniedReason kickDeniedReason = 3; case 3: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 24) { parse_kickDeniedReason: int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< @@ -16956,31 +19133,42 @@ bool AskKickDeniedMessage::MergePartialFromCodedStream( input, &value))); if (::AskKickDeniedMessage_KickDeniedReason_IsValid(value)) { set_kickdeniedreason(static_cast< ::AskKickDeniedMessage_KickDeniedReason >(value)); + } else { + unknown_fields_stream.WriteVarint32(tag); + unknown_fields_stream.WriteVarint32(value); } } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:AskKickDeniedMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:AskKickDeniedMessage) + return false; #undef DO_ } void AskKickDeniedMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:AskKickDeniedMessage) // required uint32 gameId = 1; if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); @@ -16997,6 +19185,9 @@ void AskKickDeniedMessage::SerializeWithCachedSizes( 3, this->kickdeniedreason(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:AskKickDeniedMessage) } int AskKickDeniedMessage::ByteSize() const { @@ -17024,6 +19215,8 @@ int AskKickDeniedMessage::ByteSize() const { } } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -17048,6 +19241,7 @@ void AskKickDeniedMessage::MergeFrom(const AskKickDeniedMessage& from) { set_kickdeniedreason(from.kickdeniedreason()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void AskKickDeniedMessage::CopyFrom(const AskKickDeniedMessage& from) { @@ -17068,6 +19262,7 @@ void AskKickDeniedMessage::Swap(AskKickDeniedMessage* other) { std::swap(playerid_, other->playerid_); std::swap(kickdeniedreason_, other->kickdeniedreason_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -17091,6 +19286,7 @@ const int StartKickPetitionMessage::kNumVotesNeededToKickFieldNumber; StartKickPetitionMessage::StartKickPetitionMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:StartKickPetitionMessage) } void StartKickPetitionMessage::InitAsDefaultInstance() { @@ -17100,6 +19296,7 @@ StartKickPetitionMessage::StartKickPetitionMessage(const StartKickPetitionMessag : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:StartKickPetitionMessage) } void StartKickPetitionMessage::SharedCtor() { @@ -17114,6 +19311,7 @@ void StartKickPetitionMessage::SharedCtor() { } StartKickPetitionMessage::~StartKickPetitionMessage() { + // @@protoc_insertion_point(destructor:StartKickPetitionMessage) SharedDtor(); } @@ -17147,33 +19345,50 @@ StartKickPetitionMessage* StartKickPetitionMessage::New() const { } void StartKickPetitionMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - gameid_ = 0u; - petitionid_ = 0u; - proposingplayerid_ = 0u; - kickplayerid_ = 0u; - kicktimeoutsec_ = 0u; - numvotesneededtokick_ = 0u; +#define OFFSET_OF_FIELD_(f) (reinterpret_cast( \ + &reinterpret_cast(16)->f) - \ + reinterpret_cast(16)) + +#define ZR_(first, last) do { \ + size_t f = OFFSET_OF_FIELD_(first); \ + size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \ + ::memset(&first, 0, n); \ + } while (0) + + if (_has_bits_[0 / 32] & 63) { + ZR_(gameid_, numvotesneededtokick_); } + +#undef OFFSET_OF_FIELD_ +#undef ZR_ + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool StartKickPetitionMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:StartKickPetitionMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required uint32 gameId = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 8) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &gameid_))); set_has_gameid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(16)) goto parse_petitionId; break; @@ -17181,15 +19396,14 @@ bool StartKickPetitionMessage::MergePartialFromCodedStream( // required uint32 petitionId = 2; case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 16) { parse_petitionId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &petitionid_))); set_has_petitionid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(24)) goto parse_proposingPlayerId; break; @@ -17197,15 +19411,14 @@ bool StartKickPetitionMessage::MergePartialFromCodedStream( // required uint32 proposingPlayerId = 3; case 3: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 24) { parse_proposingPlayerId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &proposingplayerid_))); set_has_proposingplayerid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(32)) goto parse_kickPlayerId; break; @@ -17213,15 +19426,14 @@ bool StartKickPetitionMessage::MergePartialFromCodedStream( // required uint32 kickPlayerId = 4; case 4: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 32) { parse_kickPlayerId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &kickplayerid_))); set_has_kickplayerid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(40)) goto parse_kickTimeoutSec; break; @@ -17229,15 +19441,14 @@ bool StartKickPetitionMessage::MergePartialFromCodedStream( // required uint32 kickTimeoutSec = 5; case 5: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 40) { parse_kickTimeoutSec: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &kicktimeoutsec_))); set_has_kicktimeoutsec(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(48)) goto parse_numVotesNeededToKick; break; @@ -17245,37 +19456,44 @@ bool StartKickPetitionMessage::MergePartialFromCodedStream( // required uint32 numVotesNeededToKick = 6; case 6: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 48) { parse_numVotesNeededToKick: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &numvotesneededtokick_))); set_has_numvotesneededtokick(); } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:StartKickPetitionMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:StartKickPetitionMessage) + return false; #undef DO_ } void StartKickPetitionMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:StartKickPetitionMessage) // required uint32 gameId = 1; if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); @@ -17306,6 +19524,9 @@ void StartKickPetitionMessage::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::WriteUInt32(6, this->numvotesneededtokick(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:StartKickPetitionMessage) } int StartKickPetitionMessage::ByteSize() const { @@ -17355,6 +19576,8 @@ int StartKickPetitionMessage::ByteSize() const { } } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -17388,6 +19611,7 @@ void StartKickPetitionMessage::MergeFrom(const StartKickPetitionMessage& from) { set_numvotesneededtokick(from.numvotesneededtokick()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void StartKickPetitionMessage::CopyFrom(const StartKickPetitionMessage& from) { @@ -17411,6 +19635,7 @@ void StartKickPetitionMessage::Swap(StartKickPetitionMessage* other) { std::swap(kicktimeoutsec_, other->kicktimeoutsec_); std::swap(numvotesneededtokick_, other->numvotesneededtokick_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -17431,6 +19656,7 @@ const int VoteKickRequestMessage::kVoteKickFieldNumber; VoteKickRequestMessage::VoteKickRequestMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:VoteKickRequestMessage) } void VoteKickRequestMessage::InitAsDefaultInstance() { @@ -17440,6 +19666,7 @@ VoteKickRequestMessage::VoteKickRequestMessage(const VoteKickRequestMessage& fro : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:VoteKickRequestMessage) } void VoteKickRequestMessage::SharedCtor() { @@ -17451,6 +19678,7 @@ void VoteKickRequestMessage::SharedCtor() { } VoteKickRequestMessage::~VoteKickRequestMessage() { + // @@protoc_insertion_point(destructor:VoteKickRequestMessage) SharedDtor(); } @@ -17484,30 +19712,48 @@ VoteKickRequestMessage* VoteKickRequestMessage::New() const { } void VoteKickRequestMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - gameid_ = 0u; - petitionid_ = 0u; - votekick_ = false; - } +#define OFFSET_OF_FIELD_(f) (reinterpret_cast( \ + &reinterpret_cast(16)->f) - \ + reinterpret_cast(16)) + +#define ZR_(first, last) do { \ + size_t f = OFFSET_OF_FIELD_(first); \ + size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \ + ::memset(&first, 0, n); \ + } while (0) + + ZR_(gameid_, votekick_); + +#undef OFFSET_OF_FIELD_ +#undef ZR_ + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool VoteKickRequestMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:VoteKickRequestMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required uint32 gameId = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 8) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &gameid_))); set_has_gameid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(16)) goto parse_petitionId; break; @@ -17515,15 +19761,14 @@ bool VoteKickRequestMessage::MergePartialFromCodedStream( // required uint32 petitionId = 2; case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 16) { parse_petitionId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &petitionid_))); set_has_petitionid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(24)) goto parse_voteKick; break; @@ -17531,37 +19776,44 @@ bool VoteKickRequestMessage::MergePartialFromCodedStream( // required bool voteKick = 3; case 3: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 24) { parse_voteKick: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( input, &votekick_))); set_has_votekick(); } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:VoteKickRequestMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:VoteKickRequestMessage) + return false; #undef DO_ } void VoteKickRequestMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:VoteKickRequestMessage) // required uint32 gameId = 1; if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); @@ -17577,6 +19829,9 @@ void VoteKickRequestMessage::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->votekick(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:VoteKickRequestMessage) } int VoteKickRequestMessage::ByteSize() const { @@ -17603,6 +19858,8 @@ int VoteKickRequestMessage::ByteSize() const { } } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -17627,6 +19884,7 @@ void VoteKickRequestMessage::MergeFrom(const VoteKickRequestMessage& from) { set_votekick(from.votekick()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void VoteKickRequestMessage::CopyFrom(const VoteKickRequestMessage& from) { @@ -17647,6 +19905,7 @@ void VoteKickRequestMessage::Swap(VoteKickRequestMessage* other) { std::swap(petitionid_, other->petitionid_); std::swap(votekick_, other->votekick_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -17686,6 +19945,7 @@ const int VoteKickReplyMessage::kVoteKickReplyTypeFieldNumber; VoteKickReplyMessage::VoteKickReplyMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:VoteKickReplyMessage) } void VoteKickReplyMessage::InitAsDefaultInstance() { @@ -17695,6 +19955,7 @@ VoteKickReplyMessage::VoteKickReplyMessage(const VoteKickReplyMessage& from) : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:VoteKickReplyMessage) } void VoteKickReplyMessage::SharedCtor() { @@ -17706,6 +19967,7 @@ void VoteKickReplyMessage::SharedCtor() { } VoteKickReplyMessage::~VoteKickReplyMessage() { + // @@protoc_insertion_point(destructor:VoteKickReplyMessage) SharedDtor(); } @@ -17739,30 +20001,48 @@ VoteKickReplyMessage* VoteKickReplyMessage::New() const { } void VoteKickReplyMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - gameid_ = 0u; - petitionid_ = 0u; - votekickreplytype_ = 0; - } +#define OFFSET_OF_FIELD_(f) (reinterpret_cast( \ + &reinterpret_cast(16)->f) - \ + reinterpret_cast(16)) + +#define ZR_(first, last) do { \ + size_t f = OFFSET_OF_FIELD_(first); \ + size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \ + ::memset(&first, 0, n); \ + } while (0) + + ZR_(gameid_, votekickreplytype_); + +#undef OFFSET_OF_FIELD_ +#undef ZR_ + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool VoteKickReplyMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:VoteKickReplyMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required uint32 gameId = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 8) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &gameid_))); set_has_gameid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(16)) goto parse_petitionId; break; @@ -17770,15 +20050,14 @@ bool VoteKickReplyMessage::MergePartialFromCodedStream( // required uint32 petitionId = 2; case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 16) { parse_petitionId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &petitionid_))); set_has_petitionid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(24)) goto parse_voteKickReplyType; break; @@ -17786,8 +20065,7 @@ bool VoteKickReplyMessage::MergePartialFromCodedStream( // required .VoteKickReplyMessage.VoteKickReplyType voteKickReplyType = 3; case 3: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 24) { parse_voteKickReplyType: int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< @@ -17795,31 +20073,42 @@ bool VoteKickReplyMessage::MergePartialFromCodedStream( input, &value))); if (::VoteKickReplyMessage_VoteKickReplyType_IsValid(value)) { set_votekickreplytype(static_cast< ::VoteKickReplyMessage_VoteKickReplyType >(value)); + } else { + unknown_fields_stream.WriteVarint32(tag); + unknown_fields_stream.WriteVarint32(value); } } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:VoteKickReplyMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:VoteKickReplyMessage) + return false; #undef DO_ } void VoteKickReplyMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:VoteKickReplyMessage) // required uint32 gameId = 1; if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); @@ -17836,6 +20125,9 @@ void VoteKickReplyMessage::SerializeWithCachedSizes( 3, this->votekickreplytype(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:VoteKickReplyMessage) } int VoteKickReplyMessage::ByteSize() const { @@ -17863,6 +20155,8 @@ int VoteKickReplyMessage::ByteSize() const { } } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -17887,6 +20181,7 @@ void VoteKickReplyMessage::MergeFrom(const VoteKickReplyMessage& from) { set_votekickreplytype(from.votekickreplytype()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void VoteKickReplyMessage::CopyFrom(const VoteKickReplyMessage& from) { @@ -17907,6 +20202,7 @@ void VoteKickReplyMessage::Swap(VoteKickReplyMessage* other) { std::swap(petitionid_, other->petitionid_); std::swap(votekickreplytype_, other->votekickreplytype_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -17929,6 +20225,7 @@ const int KickPetitionUpdateMessage::kNumVotesNeededToKickFieldNumber; KickPetitionUpdateMessage::KickPetitionUpdateMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:KickPetitionUpdateMessage) } void KickPetitionUpdateMessage::InitAsDefaultInstance() { @@ -17938,6 +20235,7 @@ KickPetitionUpdateMessage::KickPetitionUpdateMessage(const KickPetitionUpdateMes : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:KickPetitionUpdateMessage) } void KickPetitionUpdateMessage::SharedCtor() { @@ -17951,6 +20249,7 @@ void KickPetitionUpdateMessage::SharedCtor() { } KickPetitionUpdateMessage::~KickPetitionUpdateMessage() { + // @@protoc_insertion_point(destructor:KickPetitionUpdateMessage) SharedDtor(); } @@ -17984,32 +20283,50 @@ KickPetitionUpdateMessage* KickPetitionUpdateMessage::New() const { } void KickPetitionUpdateMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - gameid_ = 0u; - petitionid_ = 0u; - numvotesagainstkicking_ = 0u; - numvotesinfavourofkicking_ = 0u; - numvotesneededtokick_ = 0u; +#define OFFSET_OF_FIELD_(f) (reinterpret_cast( \ + &reinterpret_cast(16)->f) - \ + reinterpret_cast(16)) + +#define ZR_(first, last) do { \ + size_t f = OFFSET_OF_FIELD_(first); \ + size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \ + ::memset(&first, 0, n); \ + } while (0) + + if (_has_bits_[0 / 32] & 31) { + ZR_(gameid_, numvotesneededtokick_); } + +#undef OFFSET_OF_FIELD_ +#undef ZR_ + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool KickPetitionUpdateMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:KickPetitionUpdateMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required uint32 gameId = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 8) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &gameid_))); set_has_gameid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(16)) goto parse_petitionId; break; @@ -18017,15 +20334,14 @@ bool KickPetitionUpdateMessage::MergePartialFromCodedStream( // required uint32 petitionId = 2; case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 16) { parse_petitionId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &petitionid_))); set_has_petitionid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(24)) goto parse_numVotesAgainstKicking; break; @@ -18033,15 +20349,14 @@ bool KickPetitionUpdateMessage::MergePartialFromCodedStream( // required uint32 numVotesAgainstKicking = 3; case 3: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 24) { parse_numVotesAgainstKicking: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &numvotesagainstkicking_))); set_has_numvotesagainstkicking(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(32)) goto parse_numVotesInFavourOfKicking; break; @@ -18049,15 +20364,14 @@ bool KickPetitionUpdateMessage::MergePartialFromCodedStream( // required uint32 numVotesInFavourOfKicking = 4; case 4: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 32) { parse_numVotesInFavourOfKicking: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &numvotesinfavourofkicking_))); set_has_numvotesinfavourofkicking(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(40)) goto parse_numVotesNeededToKick; break; @@ -18065,37 +20379,44 @@ bool KickPetitionUpdateMessage::MergePartialFromCodedStream( // required uint32 numVotesNeededToKick = 5; case 5: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 40) { parse_numVotesNeededToKick: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &numvotesneededtokick_))); set_has_numvotesneededtokick(); } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:KickPetitionUpdateMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:KickPetitionUpdateMessage) + return false; #undef DO_ } void KickPetitionUpdateMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:KickPetitionUpdateMessage) // required uint32 gameId = 1; if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); @@ -18121,6 +20442,9 @@ void KickPetitionUpdateMessage::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::WriteUInt32(5, this->numvotesneededtokick(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:KickPetitionUpdateMessage) } int KickPetitionUpdateMessage::ByteSize() const { @@ -18163,6 +20487,8 @@ int KickPetitionUpdateMessage::ByteSize() const { } } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -18193,6 +20519,7 @@ void KickPetitionUpdateMessage::MergeFrom(const KickPetitionUpdateMessage& from) set_numvotesneededtokick(from.numvotesneededtokick()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void KickPetitionUpdateMessage::CopyFrom(const KickPetitionUpdateMessage& from) { @@ -18215,6 +20542,7 @@ void KickPetitionUpdateMessage::Swap(KickPetitionUpdateMessage* other) { std::swap(numvotesinfavourofkicking_, other->numvotesinfavourofkicking_); std::swap(numvotesneededtokick_, other->numvotesneededtokick_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -18259,6 +20587,7 @@ const int EndKickPetitionMessage::kPetitionEndReasonFieldNumber; EndKickPetitionMessage::EndKickPetitionMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:EndKickPetitionMessage) } void EndKickPetitionMessage::InitAsDefaultInstance() { @@ -18268,6 +20597,7 @@ EndKickPetitionMessage::EndKickPetitionMessage(const EndKickPetitionMessage& fro : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:EndKickPetitionMessage) } void EndKickPetitionMessage::SharedCtor() { @@ -18282,6 +20612,7 @@ void EndKickPetitionMessage::SharedCtor() { } EndKickPetitionMessage::~EndKickPetitionMessage() { + // @@protoc_insertion_point(destructor:EndKickPetitionMessage) SharedDtor(); } @@ -18315,33 +20646,50 @@ EndKickPetitionMessage* EndKickPetitionMessage::New() const { } void EndKickPetitionMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - gameid_ = 0u; - petitionid_ = 0u; - numvotesagainstkicking_ = 0u; - numvotesinfavourofkicking_ = 0u; - resultplayerkicked_ = 0u; - petitionendreason_ = 0; +#define OFFSET_OF_FIELD_(f) (reinterpret_cast( \ + &reinterpret_cast(16)->f) - \ + reinterpret_cast(16)) + +#define ZR_(first, last) do { \ + size_t f = OFFSET_OF_FIELD_(first); \ + size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \ + ::memset(&first, 0, n); \ + } while (0) + + if (_has_bits_[0 / 32] & 63) { + ZR_(gameid_, petitionendreason_); } + +#undef OFFSET_OF_FIELD_ +#undef ZR_ + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool EndKickPetitionMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:EndKickPetitionMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required uint32 gameId = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 8) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &gameid_))); set_has_gameid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(16)) goto parse_petitionId; break; @@ -18349,15 +20697,14 @@ bool EndKickPetitionMessage::MergePartialFromCodedStream( // required uint32 petitionId = 2; case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 16) { parse_petitionId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &petitionid_))); set_has_petitionid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(24)) goto parse_numVotesAgainstKicking; break; @@ -18365,15 +20712,14 @@ bool EndKickPetitionMessage::MergePartialFromCodedStream( // required uint32 numVotesAgainstKicking = 3; case 3: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 24) { parse_numVotesAgainstKicking: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &numvotesagainstkicking_))); set_has_numvotesagainstkicking(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(32)) goto parse_numVotesInFavourOfKicking; break; @@ -18381,15 +20727,14 @@ bool EndKickPetitionMessage::MergePartialFromCodedStream( // required uint32 numVotesInFavourOfKicking = 4; case 4: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 32) { parse_numVotesInFavourOfKicking: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &numvotesinfavourofkicking_))); set_has_numvotesinfavourofkicking(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(40)) goto parse_resultPlayerKicked; break; @@ -18397,15 +20742,14 @@ bool EndKickPetitionMessage::MergePartialFromCodedStream( // required uint32 resultPlayerKicked = 5; case 5: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 40) { parse_resultPlayerKicked: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &resultplayerkicked_))); set_has_resultplayerkicked(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(48)) goto parse_petitionEndReason; break; @@ -18413,8 +20757,7 @@ bool EndKickPetitionMessage::MergePartialFromCodedStream( // required .EndKickPetitionMessage.PetitionEndReason petitionEndReason = 6; case 6: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 48) { parse_petitionEndReason: int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< @@ -18422,31 +20765,42 @@ bool EndKickPetitionMessage::MergePartialFromCodedStream( input, &value))); if (::EndKickPetitionMessage_PetitionEndReason_IsValid(value)) { set_petitionendreason(static_cast< ::EndKickPetitionMessage_PetitionEndReason >(value)); + } else { + unknown_fields_stream.WriteVarint32(tag); + unknown_fields_stream.WriteVarint32(value); } } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:EndKickPetitionMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:EndKickPetitionMessage) + return false; #undef DO_ } void EndKickPetitionMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:EndKickPetitionMessage) // required uint32 gameId = 1; if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); @@ -18478,6 +20832,9 @@ void EndKickPetitionMessage::SerializeWithCachedSizes( 6, this->petitionendreason(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:EndKickPetitionMessage) } int EndKickPetitionMessage::ByteSize() const { @@ -18526,6 +20883,8 @@ int EndKickPetitionMessage::ByteSize() const { } } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -18559,6 +20918,7 @@ void EndKickPetitionMessage::MergeFrom(const EndKickPetitionMessage& from) { set_petitionendreason(from.petitionendreason()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void EndKickPetitionMessage::CopyFrom(const EndKickPetitionMessage& from) { @@ -18582,6 +20942,7 @@ void EndKickPetitionMessage::Swap(EndKickPetitionMessage* other) { std::swap(resultplayerkicked_, other->resultplayerkicked_); std::swap(petitionendreason_, other->petitionendreason_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -18616,6 +20977,7 @@ const int StatisticsMessage_StatisticsData::kStatisticsValueFieldNumber; StatisticsMessage_StatisticsData::StatisticsMessage_StatisticsData() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:StatisticsMessage.StatisticsData) } void StatisticsMessage_StatisticsData::InitAsDefaultInstance() { @@ -18625,6 +20987,7 @@ StatisticsMessage_StatisticsData::StatisticsMessage_StatisticsData(const Statist : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:StatisticsMessage.StatisticsData) } void StatisticsMessage_StatisticsData::SharedCtor() { @@ -18635,6 +20998,7 @@ void StatisticsMessage_StatisticsData::SharedCtor() { } StatisticsMessage_StatisticsData::~StatisticsMessage_StatisticsData() { + // @@protoc_insertion_point(destructor:StatisticsMessage.StatisticsData) SharedDtor(); } @@ -18668,32 +21032,43 @@ StatisticsMessage_StatisticsData* StatisticsMessage_StatisticsData::New() const } void StatisticsMessage_StatisticsData::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (_has_bits_[0 / 32] & 3) { statisticstype_ = 1; statisticsvalue_ = 0u; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool StatisticsMessage_StatisticsData::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:StatisticsMessage.StatisticsData) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required .StatisticsMessage.StatisticsData.StatisticsType statisticsType = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 8) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::StatisticsMessage_StatisticsData_StatisticsType_IsValid(value)) { set_statisticstype(static_cast< ::StatisticsMessage_StatisticsData_StatisticsType >(value)); + } else { + unknown_fields_stream.WriteVarint32(tag); + unknown_fields_stream.WriteVarint32(value); } } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(16)) goto parse_statisticsValue; break; @@ -18701,37 +21076,44 @@ bool StatisticsMessage_StatisticsData::MergePartialFromCodedStream( // required uint32 statisticsValue = 2; case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 16) { parse_statisticsValue: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &statisticsvalue_))); set_has_statisticsvalue(); } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:StatisticsMessage.StatisticsData) return true; +failure: + // @@protoc_insertion_point(parse_failure:StatisticsMessage.StatisticsData) + return false; #undef DO_ } void StatisticsMessage_StatisticsData::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:StatisticsMessage.StatisticsData) // required .StatisticsMessage.StatisticsData.StatisticsType statisticsType = 1; if (has_statisticstype()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( @@ -18743,6 +21125,9 @@ void StatisticsMessage_StatisticsData::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->statisticsvalue(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:StatisticsMessage.StatisticsData) } int StatisticsMessage_StatisticsData::ByteSize() const { @@ -18763,6 +21148,8 @@ int StatisticsMessage_StatisticsData::ByteSize() const { } } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -18784,6 +21171,7 @@ void StatisticsMessage_StatisticsData::MergeFrom(const StatisticsMessage_Statist set_statisticsvalue(from.statisticsvalue()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void StatisticsMessage_StatisticsData::CopyFrom(const StatisticsMessage_StatisticsData& from) { @@ -18803,6 +21191,7 @@ void StatisticsMessage_StatisticsData::Swap(StatisticsMessage_StatisticsData* ot std::swap(statisticstype_, other->statisticstype_); std::swap(statisticsvalue_, other->statisticsvalue_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -18821,6 +21210,7 @@ const int StatisticsMessage::kStatisticsDataFieldNumber; StatisticsMessage::StatisticsMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:StatisticsMessage) } void StatisticsMessage::InitAsDefaultInstance() { @@ -18830,6 +21220,7 @@ StatisticsMessage::StatisticsMessage(const StatisticsMessage& from) : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:StatisticsMessage) } void StatisticsMessage::SharedCtor() { @@ -18838,6 +21229,7 @@ void StatisticsMessage::SharedCtor() { } StatisticsMessage::~StatisticsMessage() { + // @@protoc_insertion_point(destructor:StatisticsMessage) SharedDtor(); } @@ -18873,52 +21265,71 @@ StatisticsMessage* StatisticsMessage::New() const { void StatisticsMessage::Clear() { statisticsdata_.Clear(); ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool StatisticsMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:StatisticsMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // repeated .StatisticsMessage.StatisticsData statisticsData = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 10) { parse_statisticsData: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, add_statisticsdata())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(10)) goto parse_statisticsData; - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:StatisticsMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:StatisticsMessage) + return false; #undef DO_ } void StatisticsMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:StatisticsMessage) // repeated .StatisticsMessage.StatisticsData statisticsData = 1; for (int i = 0; i < this->statisticsdata_size(); i++) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 1, this->statisticsdata(i), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:StatisticsMessage) } int StatisticsMessage::ByteSize() const { @@ -18932,6 +21343,8 @@ int StatisticsMessage::ByteSize() const { this->statisticsdata(i)); } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -18946,6 +21359,7 @@ void StatisticsMessage::CheckTypeAndMergeFrom( void StatisticsMessage::MergeFrom(const StatisticsMessage& from) { GOOGLE_CHECK_NE(&from, this); statisticsdata_.MergeFrom(from.statisticsdata_); + mutable_unknown_fields()->append(from.unknown_fields()); } void StatisticsMessage::CopyFrom(const StatisticsMessage& from) { @@ -18956,9 +21370,7 @@ void StatisticsMessage::CopyFrom(const StatisticsMessage& from) { bool StatisticsMessage::IsInitialized() const { - for (int i = 0; i < statisticsdata_size(); i++) { - if (!this->statisticsdata(i).IsInitialized()) return false; - } + if (!::google::protobuf::internal::AllAreInitialized(this->statisticsdata())) return false; return true; } @@ -18966,6 +21378,7 @@ void StatisticsMessage::Swap(StatisticsMessage* other) { if (other != this) { statisticsdata_.Swap(&other->statisticsdata_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -18986,6 +21399,7 @@ const int ChatRequestMessage::kChatTextFieldNumber; ChatRequestMessage::ChatRequestMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:ChatRequestMessage) } void ChatRequestMessage::InitAsDefaultInstance() { @@ -18995,22 +21409,25 @@ ChatRequestMessage::ChatRequestMessage(const ChatRequestMessage& from) : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:ChatRequestMessage) } void ChatRequestMessage::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); _cached_size_ = 0; targetgameid_ = 0u; targetplayerid_ = 0u; - chattext_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + chattext_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); ::memset(_has_bits_, 0, sizeof(_has_bits_)); } ChatRequestMessage::~ChatRequestMessage() { + // @@protoc_insertion_point(destructor:ChatRequestMessage) SharedDtor(); } void ChatRequestMessage::SharedDtor() { - if (chattext_ != &::google::protobuf::internal::kEmptyString) { + if (chattext_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete chattext_; } #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -19042,34 +21459,55 @@ ChatRequestMessage* ChatRequestMessage::New() const { } void ChatRequestMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - targetgameid_ = 0u; - targetplayerid_ = 0u; +#define OFFSET_OF_FIELD_(f) (reinterpret_cast( \ + &reinterpret_cast(16)->f) - \ + reinterpret_cast(16)) + +#define ZR_(first, last) do { \ + size_t f = OFFSET_OF_FIELD_(first); \ + size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \ + ::memset(&first, 0, n); \ + } while (0) + + if (_has_bits_[0 / 32] & 7) { + ZR_(targetgameid_, targetplayerid_); if (has_chattext()) { - if (chattext_ != &::google::protobuf::internal::kEmptyString) { + if (chattext_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { chattext_->clear(); } } } + +#undef OFFSET_OF_FIELD_ +#undef ZR_ + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool ChatRequestMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:ChatRequestMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional uint32 targetGameId = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 8) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &targetgameid_))); set_has_targetgameid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(16)) goto parse_targetPlayerId; break; @@ -19077,15 +21515,14 @@ bool ChatRequestMessage::MergePartialFromCodedStream( // optional uint32 targetPlayerId = 2; case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 16) { parse_targetPlayerId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &targetplayerid_))); set_has_targetplayerid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(26)) goto parse_chatText; break; @@ -19093,35 +21530,42 @@ bool ChatRequestMessage::MergePartialFromCodedStream( // required string chatText = 3; case 3: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 26) { parse_chatText: DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_chattext())); } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:ChatRequestMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:ChatRequestMessage) + return false; #undef DO_ } void ChatRequestMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:ChatRequestMessage) // optional uint32 targetGameId = 1; if (has_targetgameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->targetgameid(), output); @@ -19134,10 +21578,13 @@ void ChatRequestMessage::SerializeWithCachedSizes( // required string chatText = 3; if (has_chattext()) { - ::google::protobuf::internal::WireFormatLite::WriteString( + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 3, this->chattext(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:ChatRequestMessage) } int ChatRequestMessage::ByteSize() const { @@ -19166,6 +21613,8 @@ int ChatRequestMessage::ByteSize() const { } } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -19190,6 +21639,7 @@ void ChatRequestMessage::MergeFrom(const ChatRequestMessage& from) { set_chattext(from.chattext()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void ChatRequestMessage::CopyFrom(const ChatRequestMessage& from) { @@ -19210,6 +21660,7 @@ void ChatRequestMessage::Swap(ChatRequestMessage* other) { std::swap(targetplayerid_, other->targetplayerid_); std::swap(chattext_, other->chattext_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -19254,6 +21705,7 @@ const int ChatMessage::kChatTextFieldNumber; ChatMessage::ChatMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:ChatMessage) } void ChatMessage::InitAsDefaultInstance() { @@ -19263,23 +21715,26 @@ ChatMessage::ChatMessage(const ChatMessage& from) : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:ChatMessage) } void ChatMessage::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); _cached_size_ = 0; gameid_ = 0u; playerid_ = 0u; chattype_ = 0; - chattext_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + chattext_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); ::memset(_has_bits_, 0, sizeof(_has_bits_)); } ChatMessage::~ChatMessage() { + // @@protoc_insertion_point(destructor:ChatMessage) SharedDtor(); } void ChatMessage::SharedDtor() { - if (chattext_ != &::google::protobuf::internal::kEmptyString) { + if (chattext_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete chattext_; } #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -19311,35 +21766,56 @@ ChatMessage* ChatMessage::New() const { } void ChatMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - gameid_ = 0u; - playerid_ = 0u; +#define OFFSET_OF_FIELD_(f) (reinterpret_cast( \ + &reinterpret_cast(16)->f) - \ + reinterpret_cast(16)) + +#define ZR_(first, last) do { \ + size_t f = OFFSET_OF_FIELD_(first); \ + size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \ + ::memset(&first, 0, n); \ + } while (0) + + if (_has_bits_[0 / 32] & 15) { + ZR_(gameid_, playerid_); chattype_ = 0; if (has_chattext()) { - if (chattext_ != &::google::protobuf::internal::kEmptyString) { + if (chattext_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { chattext_->clear(); } } } + +#undef OFFSET_OF_FIELD_ +#undef ZR_ + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool ChatMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:ChatMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional uint32 gameId = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 8) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &gameid_))); set_has_gameid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(16)) goto parse_playerId; break; @@ -19347,15 +21823,14 @@ bool ChatMessage::MergePartialFromCodedStream( // optional uint32 playerId = 2; case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 16) { parse_playerId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &playerid_))); set_has_playerid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(24)) goto parse_chatType; break; @@ -19363,8 +21838,7 @@ bool ChatMessage::MergePartialFromCodedStream( // required .ChatMessage.ChatType chatType = 3; case 3: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 24) { parse_chatType: int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< @@ -19372,9 +21846,12 @@ bool ChatMessage::MergePartialFromCodedStream( input, &value))); if (::ChatMessage_ChatType_IsValid(value)) { set_chattype(static_cast< ::ChatMessage_ChatType >(value)); + } else { + unknown_fields_stream.WriteVarint32(tag); + unknown_fields_stream.WriteVarint32(value); } } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(34)) goto parse_chatText; break; @@ -19382,35 +21859,42 @@ bool ChatMessage::MergePartialFromCodedStream( // required string chatText = 4; case 4: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 34) { parse_chatText: DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_chattext())); } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:ChatMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:ChatMessage) + return false; #undef DO_ } void ChatMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:ChatMessage) // optional uint32 gameId = 1; if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); @@ -19429,10 +21913,13 @@ void ChatMessage::SerializeWithCachedSizes( // required string chatText = 4; if (has_chattext()) { - ::google::protobuf::internal::WireFormatLite::WriteString( + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 4, this->chattext(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:ChatMessage) } int ChatMessage::ByteSize() const { @@ -19467,6 +21954,8 @@ int ChatMessage::ByteSize() const { } } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -19494,6 +21983,7 @@ void ChatMessage::MergeFrom(const ChatMessage& from) { set_chattext(from.chattext()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void ChatMessage::CopyFrom(const ChatMessage& from) { @@ -19515,6 +22005,7 @@ void ChatMessage::Swap(ChatMessage* other) { std::swap(chattype_, other->chattype_); std::swap(chattext_, other->chattext_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -19533,6 +22024,7 @@ const int ChatRejectMessage::kChatTextFieldNumber; ChatRejectMessage::ChatRejectMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:ChatRejectMessage) } void ChatRejectMessage::InitAsDefaultInstance() { @@ -19542,20 +22034,23 @@ ChatRejectMessage::ChatRejectMessage(const ChatRejectMessage& from) : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:ChatRejectMessage) } void ChatRejectMessage::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); _cached_size_ = 0; - chattext_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + chattext_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); ::memset(_has_bits_, 0, sizeof(_has_bits_)); } ChatRejectMessage::~ChatRejectMessage() { + // @@protoc_insertion_point(destructor:ChatRejectMessage) SharedDtor(); } void ChatRejectMessage::SharedDtor() { - if (chattext_ != &::google::protobuf::internal::kEmptyString) { + if (chattext_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete chattext_; } #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -19587,58 +22082,75 @@ ChatRejectMessage* ChatRejectMessage::New() const { } void ChatRejectMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - if (has_chattext()) { - if (chattext_ != &::google::protobuf::internal::kEmptyString) { - chattext_->clear(); - } + if (has_chattext()) { + if (chattext_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + chattext_->clear(); } } ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool ChatRejectMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:ChatRejectMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required string chatText = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 10) { DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_chattext())); } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:ChatRejectMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:ChatRejectMessage) + return false; #undef DO_ } void ChatRejectMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:ChatRejectMessage) // required string chatText = 1; if (has_chattext()) { - ::google::protobuf::internal::WireFormatLite::WriteString( + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 1, this->chattext(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:ChatRejectMessage) } int ChatRejectMessage::ByteSize() const { @@ -19653,6 +22165,8 @@ int ChatRejectMessage::ByteSize() const { } } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -19671,6 +22185,7 @@ void ChatRejectMessage::MergeFrom(const ChatRejectMessage& from) { set_chattext(from.chattext()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void ChatRejectMessage::CopyFrom(const ChatRejectMessage& from) { @@ -19689,6 +22204,7 @@ void ChatRejectMessage::Swap(ChatRejectMessage* other) { if (other != this) { std::swap(chattext_, other->chattext_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -19707,6 +22223,7 @@ const int DialogMessage::kNotificationTextFieldNumber; DialogMessage::DialogMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:DialogMessage) } void DialogMessage::InitAsDefaultInstance() { @@ -19716,20 +22233,23 @@ DialogMessage::DialogMessage(const DialogMessage& from) : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:DialogMessage) } void DialogMessage::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); _cached_size_ = 0; - notificationtext_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + notificationtext_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); ::memset(_has_bits_, 0, sizeof(_has_bits_)); } DialogMessage::~DialogMessage() { + // @@protoc_insertion_point(destructor:DialogMessage) SharedDtor(); } void DialogMessage::SharedDtor() { - if (notificationtext_ != &::google::protobuf::internal::kEmptyString) { + if (notificationtext_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete notificationtext_; } #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -19761,58 +22281,75 @@ DialogMessage* DialogMessage::New() const { } void DialogMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - if (has_notificationtext()) { - if (notificationtext_ != &::google::protobuf::internal::kEmptyString) { - notificationtext_->clear(); - } + if (has_notificationtext()) { + if (notificationtext_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + notificationtext_->clear(); } } ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool DialogMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:DialogMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required string notificationText = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 10) { DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_notificationtext())); } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:DialogMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:DialogMessage) + return false; #undef DO_ } void DialogMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:DialogMessage) // required string notificationText = 1; if (has_notificationtext()) { - ::google::protobuf::internal::WireFormatLite::WriteString( + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 1, this->notificationtext(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:DialogMessage) } int DialogMessage::ByteSize() const { @@ -19827,6 +22364,8 @@ int DialogMessage::ByteSize() const { } } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -19845,6 +22384,7 @@ void DialogMessage::MergeFrom(const DialogMessage& from) { set_notificationtext(from.notificationtext()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void DialogMessage::CopyFrom(const DialogMessage& from) { @@ -19863,6 +22403,7 @@ void DialogMessage::Swap(DialogMessage* other) { if (other != this) { std::swap(notificationtext_, other->notificationtext_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -19901,6 +22442,7 @@ const int TimeoutWarningMessage::kRemainingSecondsFieldNumber; TimeoutWarningMessage::TimeoutWarningMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:TimeoutWarningMessage) } void TimeoutWarningMessage::InitAsDefaultInstance() { @@ -19910,6 +22452,7 @@ TimeoutWarningMessage::TimeoutWarningMessage(const TimeoutWarningMessage& from) : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:TimeoutWarningMessage) } void TimeoutWarningMessage::SharedCtor() { @@ -19920,6 +22463,7 @@ void TimeoutWarningMessage::SharedCtor() { } TimeoutWarningMessage::~TimeoutWarningMessage() { + // @@protoc_insertion_point(destructor:TimeoutWarningMessage) SharedDtor(); } @@ -19953,32 +22497,54 @@ TimeoutWarningMessage* TimeoutWarningMessage::New() const { } void TimeoutWarningMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - timeoutreason_ = 0; - remainingseconds_ = 0u; - } +#define OFFSET_OF_FIELD_(f) (reinterpret_cast( \ + &reinterpret_cast(16)->f) - \ + reinterpret_cast(16)) + +#define ZR_(first, last) do { \ + size_t f = OFFSET_OF_FIELD_(first); \ + size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \ + ::memset(&first, 0, n); \ + } while (0) + + ZR_(timeoutreason_, remainingseconds_); + +#undef OFFSET_OF_FIELD_ +#undef ZR_ + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool TimeoutWarningMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:TimeoutWarningMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required .TimeoutWarningMessage.TimeoutReason timeoutReason = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 8) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::TimeoutWarningMessage_TimeoutReason_IsValid(value)) { set_timeoutreason(static_cast< ::TimeoutWarningMessage_TimeoutReason >(value)); + } else { + unknown_fields_stream.WriteVarint32(tag); + unknown_fields_stream.WriteVarint32(value); } } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(16)) goto parse_remainingSeconds; break; @@ -19986,37 +22552,44 @@ bool TimeoutWarningMessage::MergePartialFromCodedStream( // required uint32 remainingSeconds = 2; case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 16) { parse_remainingSeconds: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &remainingseconds_))); set_has_remainingseconds(); } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:TimeoutWarningMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:TimeoutWarningMessage) + return false; #undef DO_ } void TimeoutWarningMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:TimeoutWarningMessage) // required .TimeoutWarningMessage.TimeoutReason timeoutReason = 1; if (has_timeoutreason()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( @@ -20028,6 +22601,9 @@ void TimeoutWarningMessage::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->remainingseconds(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:TimeoutWarningMessage) } int TimeoutWarningMessage::ByteSize() const { @@ -20048,6 +22624,8 @@ int TimeoutWarningMessage::ByteSize() const { } } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -20069,6 +22647,7 @@ void TimeoutWarningMessage::MergeFrom(const TimeoutWarningMessage& from) { set_remainingseconds(from.remainingseconds()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void TimeoutWarningMessage::CopyFrom(const TimeoutWarningMessage& from) { @@ -20088,6 +22667,7 @@ void TimeoutWarningMessage::Swap(TimeoutWarningMessage* other) { std::swap(timeoutreason_, other->timeoutreason_); std::swap(remainingseconds_, other->remainingseconds_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -20105,6 +22685,7 @@ void TimeoutWarningMessage::Swap(TimeoutWarningMessage* other) { ResetTimeoutMessage::ResetTimeoutMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:ResetTimeoutMessage) } void ResetTimeoutMessage::InitAsDefaultInstance() { @@ -20114,6 +22695,7 @@ ResetTimeoutMessage::ResetTimeoutMessage(const ResetTimeoutMessage& from) : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:ResetTimeoutMessage) } void ResetTimeoutMessage::SharedCtor() { @@ -20122,6 +22704,7 @@ void ResetTimeoutMessage::SharedCtor() { } ResetTimeoutMessage::~ResetTimeoutMessage() { + // @@protoc_insertion_point(destructor:ResetTimeoutMessage) SharedDtor(); } @@ -20156,30 +22739,53 @@ ResetTimeoutMessage* ResetTimeoutMessage::New() const { void ResetTimeoutMessage::Clear() { ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool ResetTimeoutMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:ResetTimeoutMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); } +success: + // @@protoc_insertion_point(parse_success:ResetTimeoutMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:ResetTimeoutMessage) + return false; #undef DO_ } void ResetTimeoutMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:ResetTimeoutMessage) + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:ResetTimeoutMessage) } int ResetTimeoutMessage::ByteSize() const { int total_size = 0; + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -20193,6 +22799,7 @@ void ResetTimeoutMessage::CheckTypeAndMergeFrom( void ResetTimeoutMessage::MergeFrom(const ResetTimeoutMessage& from) { GOOGLE_CHECK_NE(&from, this); + mutable_unknown_fields()->append(from.unknown_fields()); } void ResetTimeoutMessage::CopyFrom(const ResetTimeoutMessage& from) { @@ -20208,6 +22815,7 @@ bool ResetTimeoutMessage::IsInitialized() const { void ResetTimeoutMessage::Swap(ResetTimeoutMessage* other) { if (other != this) { + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -20227,6 +22835,7 @@ const int ReportAvatarMessage::kReportedAvatarHashFieldNumber; ReportAvatarMessage::ReportAvatarMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:ReportAvatarMessage) } void ReportAvatarMessage::InitAsDefaultInstance() { @@ -20236,21 +22845,24 @@ ReportAvatarMessage::ReportAvatarMessage(const ReportAvatarMessage& from) : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:ReportAvatarMessage) } void ReportAvatarMessage::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); _cached_size_ = 0; reportedplayerid_ = 0u; - reportedavatarhash_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + reportedavatarhash_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); ::memset(_has_bits_, 0, sizeof(_has_bits_)); } ReportAvatarMessage::~ReportAvatarMessage() { + // @@protoc_insertion_point(destructor:ReportAvatarMessage) SharedDtor(); } void ReportAvatarMessage::SharedDtor() { - if (reportedavatarhash_ != &::google::protobuf::internal::kEmptyString) { + if (reportedavatarhash_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete reportedavatarhash_; } #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -20282,33 +22894,41 @@ ReportAvatarMessage* ReportAvatarMessage::New() const { } void ReportAvatarMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (_has_bits_[0 / 32] & 3) { reportedplayerid_ = 0u; if (has_reportedavatarhash()) { - if (reportedavatarhash_ != &::google::protobuf::internal::kEmptyString) { + if (reportedavatarhash_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { reportedavatarhash_->clear(); } } } ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool ReportAvatarMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:ReportAvatarMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required uint32 reportedPlayerId = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 8) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &reportedplayerid_))); set_has_reportedplayerid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(18)) goto parse_reportedAvatarHash; break; @@ -20316,35 +22936,42 @@ bool ReportAvatarMessage::MergePartialFromCodedStream( // required bytes reportedAvatarHash = 2; case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 18) { parse_reportedAvatarHash: DO_(::google::protobuf::internal::WireFormatLite::ReadBytes( input, this->mutable_reportedavatarhash())); } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:ReportAvatarMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:ReportAvatarMessage) + return false; #undef DO_ } void ReportAvatarMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:ReportAvatarMessage) // required uint32 reportedPlayerId = 1; if (has_reportedplayerid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->reportedplayerid(), output); @@ -20352,10 +22979,13 @@ void ReportAvatarMessage::SerializeWithCachedSizes( // required bytes reportedAvatarHash = 2; if (has_reportedavatarhash()) { - ::google::protobuf::internal::WireFormatLite::WriteBytes( + ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased( 2, this->reportedavatarhash(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:ReportAvatarMessage) } int ReportAvatarMessage::ByteSize() const { @@ -20377,6 +23007,8 @@ int ReportAvatarMessage::ByteSize() const { } } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -20398,6 +23030,7 @@ void ReportAvatarMessage::MergeFrom(const ReportAvatarMessage& from) { set_reportedavatarhash(from.reportedavatarhash()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void ReportAvatarMessage::CopyFrom(const ReportAvatarMessage& from) { @@ -20417,6 +23050,7 @@ void ReportAvatarMessage::Swap(ReportAvatarMessage* other) { std::swap(reportedplayerid_, other->reportedplayerid_); std::swap(reportedavatarhash_, other->reportedavatarhash_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -20455,6 +23089,7 @@ const int ReportAvatarAckMessage::kReportAvatarResultFieldNumber; ReportAvatarAckMessage::ReportAvatarAckMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:ReportAvatarAckMessage) } void ReportAvatarAckMessage::InitAsDefaultInstance() { @@ -20464,6 +23099,7 @@ ReportAvatarAckMessage::ReportAvatarAckMessage(const ReportAvatarAckMessage& fro : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:ReportAvatarAckMessage) } void ReportAvatarAckMessage::SharedCtor() { @@ -20474,6 +23110,7 @@ void ReportAvatarAckMessage::SharedCtor() { } ReportAvatarAckMessage::~ReportAvatarAckMessage() { + // @@protoc_insertion_point(destructor:ReportAvatarAckMessage) SharedDtor(); } @@ -20507,29 +23144,48 @@ ReportAvatarAckMessage* ReportAvatarAckMessage::New() const { } void ReportAvatarAckMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - reportedplayerid_ = 0u; - reportavatarresult_ = 0; - } +#define OFFSET_OF_FIELD_(f) (reinterpret_cast( \ + &reinterpret_cast(16)->f) - \ + reinterpret_cast(16)) + +#define ZR_(first, last) do { \ + size_t f = OFFSET_OF_FIELD_(first); \ + size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \ + ::memset(&first, 0, n); \ + } while (0) + + ZR_(reportedplayerid_, reportavatarresult_); + +#undef OFFSET_OF_FIELD_ +#undef ZR_ + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool ReportAvatarAckMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:ReportAvatarAckMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required uint32 reportedPlayerId = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 8) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &reportedplayerid_))); set_has_reportedplayerid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(16)) goto parse_reportAvatarResult; break; @@ -20537,8 +23193,7 @@ bool ReportAvatarAckMessage::MergePartialFromCodedStream( // required .ReportAvatarAckMessage.ReportAvatarResult reportAvatarResult = 2; case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 16) { parse_reportAvatarResult: int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< @@ -20546,31 +23201,42 @@ bool ReportAvatarAckMessage::MergePartialFromCodedStream( input, &value))); if (::ReportAvatarAckMessage_ReportAvatarResult_IsValid(value)) { set_reportavatarresult(static_cast< ::ReportAvatarAckMessage_ReportAvatarResult >(value)); + } else { + unknown_fields_stream.WriteVarint32(tag); + unknown_fields_stream.WriteVarint32(value); } } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:ReportAvatarAckMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:ReportAvatarAckMessage) + return false; #undef DO_ } void ReportAvatarAckMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:ReportAvatarAckMessage) // required uint32 reportedPlayerId = 1; if (has_reportedplayerid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->reportedplayerid(), output); @@ -20582,6 +23248,9 @@ void ReportAvatarAckMessage::SerializeWithCachedSizes( 2, this->reportavatarresult(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:ReportAvatarAckMessage) } int ReportAvatarAckMessage::ByteSize() const { @@ -20602,6 +23271,8 @@ int ReportAvatarAckMessage::ByteSize() const { } } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -20623,6 +23294,7 @@ void ReportAvatarAckMessage::MergeFrom(const ReportAvatarAckMessage& from) { set_reportavatarresult(from.reportavatarresult()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void ReportAvatarAckMessage::CopyFrom(const ReportAvatarAckMessage& from) { @@ -20642,6 +23314,7 @@ void ReportAvatarAckMessage::Swap(ReportAvatarAckMessage* other) { std::swap(reportedplayerid_, other->reportedplayerid_); std::swap(reportavatarresult_, other->reportavatarresult_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -20660,6 +23333,7 @@ const int ReportGameMessage::kReportedGameIdFieldNumber; ReportGameMessage::ReportGameMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:ReportGameMessage) } void ReportGameMessage::InitAsDefaultInstance() { @@ -20669,6 +23343,7 @@ ReportGameMessage::ReportGameMessage(const ReportGameMessage& from) : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:ReportGameMessage) } void ReportGameMessage::SharedCtor() { @@ -20678,6 +23353,7 @@ void ReportGameMessage::SharedCtor() { } ReportGameMessage::~ReportGameMessage() { + // @@protoc_insertion_point(destructor:ReportGameMessage) SharedDtor(); } @@ -20711,55 +23387,72 @@ ReportGameMessage* ReportGameMessage::New() const { } void ReportGameMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - reportedgameid_ = 0u; - } + reportedgameid_ = 0u; ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool ReportGameMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:ReportGameMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required uint32 reportedGameId = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 8) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &reportedgameid_))); set_has_reportedgameid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:ReportGameMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:ReportGameMessage) + return false; #undef DO_ } void ReportGameMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:ReportGameMessage) // required uint32 reportedGameId = 1; if (has_reportedgameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->reportedgameid(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:ReportGameMessage) } int ReportGameMessage::ByteSize() const { @@ -20774,6 +23467,8 @@ int ReportGameMessage::ByteSize() const { } } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -20792,6 +23487,7 @@ void ReportGameMessage::MergeFrom(const ReportGameMessage& from) { set_reportedgameid(from.reportedgameid()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void ReportGameMessage::CopyFrom(const ReportGameMessage& from) { @@ -20810,6 +23506,7 @@ void ReportGameMessage::Swap(ReportGameMessage* other) { if (other != this) { std::swap(reportedgameid_, other->reportedgameid_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -20848,6 +23545,7 @@ const int ReportGameAckMessage::kReportGameResultFieldNumber; ReportGameAckMessage::ReportGameAckMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:ReportGameAckMessage) } void ReportGameAckMessage::InitAsDefaultInstance() { @@ -20857,6 +23555,7 @@ ReportGameAckMessage::ReportGameAckMessage(const ReportGameAckMessage& from) : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:ReportGameAckMessage) } void ReportGameAckMessage::SharedCtor() { @@ -20867,6 +23566,7 @@ void ReportGameAckMessage::SharedCtor() { } ReportGameAckMessage::~ReportGameAckMessage() { + // @@protoc_insertion_point(destructor:ReportGameAckMessage) SharedDtor(); } @@ -20900,29 +23600,48 @@ ReportGameAckMessage* ReportGameAckMessage::New() const { } void ReportGameAckMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - reportedgameid_ = 0u; - reportgameresult_ = 0; - } +#define OFFSET_OF_FIELD_(f) (reinterpret_cast( \ + &reinterpret_cast(16)->f) - \ + reinterpret_cast(16)) + +#define ZR_(first, last) do { \ + size_t f = OFFSET_OF_FIELD_(first); \ + size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \ + ::memset(&first, 0, n); \ + } while (0) + + ZR_(reportedgameid_, reportgameresult_); + +#undef OFFSET_OF_FIELD_ +#undef ZR_ + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool ReportGameAckMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:ReportGameAckMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required uint32 reportedGameId = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 8) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &reportedgameid_))); set_has_reportedgameid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(16)) goto parse_reportGameResult; break; @@ -20930,8 +23649,7 @@ bool ReportGameAckMessage::MergePartialFromCodedStream( // required .ReportGameAckMessage.ReportGameResult reportGameResult = 2; case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 16) { parse_reportGameResult: int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< @@ -20939,31 +23657,42 @@ bool ReportGameAckMessage::MergePartialFromCodedStream( input, &value))); if (::ReportGameAckMessage_ReportGameResult_IsValid(value)) { set_reportgameresult(static_cast< ::ReportGameAckMessage_ReportGameResult >(value)); + } else { + unknown_fields_stream.WriteVarint32(tag); + unknown_fields_stream.WriteVarint32(value); } } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:ReportGameAckMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:ReportGameAckMessage) + return false; #undef DO_ } void ReportGameAckMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:ReportGameAckMessage) // required uint32 reportedGameId = 1; if (has_reportedgameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->reportedgameid(), output); @@ -20975,6 +23704,9 @@ void ReportGameAckMessage::SerializeWithCachedSizes( 2, this->reportgameresult(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:ReportGameAckMessage) } int ReportGameAckMessage::ByteSize() const { @@ -20995,6 +23727,8 @@ int ReportGameAckMessage::ByteSize() const { } } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -21016,6 +23750,7 @@ void ReportGameAckMessage::MergeFrom(const ReportGameAckMessage& from) { set_reportgameresult(from.reportgameresult()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void ReportGameAckMessage::CopyFrom(const ReportGameAckMessage& from) { @@ -21035,6 +23770,7 @@ void ReportGameAckMessage::Swap(ReportGameAckMessage* other) { std::swap(reportedgameid_, other->reportedgameid_); std::swap(reportgameresult_, other->reportgameresult_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -21096,6 +23832,7 @@ const int ErrorMessage::kErrorReasonFieldNumber; ErrorMessage::ErrorMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:ErrorMessage) } void ErrorMessage::InitAsDefaultInstance() { @@ -21105,6 +23842,7 @@ ErrorMessage::ErrorMessage(const ErrorMessage& from) : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:ErrorMessage) } void ErrorMessage::SharedCtor() { @@ -21114,6 +23852,7 @@ void ErrorMessage::SharedCtor() { } ErrorMessage::~ErrorMessage() { + // @@protoc_insertion_point(destructor:ErrorMessage) SharedDtor(); } @@ -21147,59 +23886,79 @@ ErrorMessage* ErrorMessage::New() const { } void ErrorMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - errorreason_ = 0; - } + errorreason_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool ErrorMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:ErrorMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required .ErrorMessage.ErrorReason errorReason = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 8) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::ErrorMessage_ErrorReason_IsValid(value)) { set_errorreason(static_cast< ::ErrorMessage_ErrorReason >(value)); + } else { + unknown_fields_stream.WriteVarint32(tag); + unknown_fields_stream.WriteVarint32(value); } } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:ErrorMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:ErrorMessage) + return false; #undef DO_ } void ErrorMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:ErrorMessage) // required .ErrorMessage.ErrorReason errorReason = 1; if (has_errorreason()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->errorreason(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:ErrorMessage) } int ErrorMessage::ByteSize() const { @@ -21213,6 +23972,8 @@ int ErrorMessage::ByteSize() const { } } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -21231,6 +23992,7 @@ void ErrorMessage::MergeFrom(const ErrorMessage& from) { set_errorreason(from.errorreason()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void ErrorMessage::CopyFrom(const ErrorMessage& from) { @@ -21249,6 +24011,7 @@ void ErrorMessage::Swap(ErrorMessage* other) { if (other != this) { std::swap(errorreason_, other->errorreason_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -21267,6 +24030,7 @@ const int AdminRemoveGameMessage::kRemoveGameIdFieldNumber; AdminRemoveGameMessage::AdminRemoveGameMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:AdminRemoveGameMessage) } void AdminRemoveGameMessage::InitAsDefaultInstance() { @@ -21276,6 +24040,7 @@ AdminRemoveGameMessage::AdminRemoveGameMessage(const AdminRemoveGameMessage& fro : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:AdminRemoveGameMessage) } void AdminRemoveGameMessage::SharedCtor() { @@ -21285,6 +24050,7 @@ void AdminRemoveGameMessage::SharedCtor() { } AdminRemoveGameMessage::~AdminRemoveGameMessage() { + // @@protoc_insertion_point(destructor:AdminRemoveGameMessage) SharedDtor(); } @@ -21318,55 +24084,72 @@ AdminRemoveGameMessage* AdminRemoveGameMessage::New() const { } void AdminRemoveGameMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - removegameid_ = 0u; - } + removegameid_ = 0u; ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool AdminRemoveGameMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:AdminRemoveGameMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required uint32 removeGameId = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 8) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &removegameid_))); set_has_removegameid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:AdminRemoveGameMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:AdminRemoveGameMessage) + return false; #undef DO_ } void AdminRemoveGameMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:AdminRemoveGameMessage) // required uint32 removeGameId = 1; if (has_removegameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->removegameid(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:AdminRemoveGameMessage) } int AdminRemoveGameMessage::ByteSize() const { @@ -21381,6 +24164,8 @@ int AdminRemoveGameMessage::ByteSize() const { } } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -21399,6 +24184,7 @@ void AdminRemoveGameMessage::MergeFrom(const AdminRemoveGameMessage& from) { set_removegameid(from.removegameid()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void AdminRemoveGameMessage::CopyFrom(const AdminRemoveGameMessage& from) { @@ -21417,6 +24203,7 @@ void AdminRemoveGameMessage::Swap(AdminRemoveGameMessage* other) { if (other != this) { std::swap(removegameid_, other->removegameid_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -21453,6 +24240,7 @@ const int AdminRemoveGameAckMessage::kRemoveGameResultFieldNumber; AdminRemoveGameAckMessage::AdminRemoveGameAckMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:AdminRemoveGameAckMessage) } void AdminRemoveGameAckMessage::InitAsDefaultInstance() { @@ -21462,6 +24250,7 @@ AdminRemoveGameAckMessage::AdminRemoveGameAckMessage(const AdminRemoveGameAckMes : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:AdminRemoveGameAckMessage) } void AdminRemoveGameAckMessage::SharedCtor() { @@ -21472,6 +24261,7 @@ void AdminRemoveGameAckMessage::SharedCtor() { } AdminRemoveGameAckMessage::~AdminRemoveGameAckMessage() { + // @@protoc_insertion_point(destructor:AdminRemoveGameAckMessage) SharedDtor(); } @@ -21505,29 +24295,48 @@ AdminRemoveGameAckMessage* AdminRemoveGameAckMessage::New() const { } void AdminRemoveGameAckMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - removegameid_ = 0u; - removegameresult_ = 0; - } +#define OFFSET_OF_FIELD_(f) (reinterpret_cast( \ + &reinterpret_cast(16)->f) - \ + reinterpret_cast(16)) + +#define ZR_(first, last) do { \ + size_t f = OFFSET_OF_FIELD_(first); \ + size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \ + ::memset(&first, 0, n); \ + } while (0) + + ZR_(removegameid_, removegameresult_); + +#undef OFFSET_OF_FIELD_ +#undef ZR_ + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool AdminRemoveGameAckMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:AdminRemoveGameAckMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required uint32 removeGameId = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 8) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &removegameid_))); set_has_removegameid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(16)) goto parse_removeGameResult; break; @@ -21535,8 +24344,7 @@ bool AdminRemoveGameAckMessage::MergePartialFromCodedStream( // required .AdminRemoveGameAckMessage.AdminRemoveGameResult removeGameResult = 2; case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 16) { parse_removeGameResult: int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< @@ -21544,31 +24352,42 @@ bool AdminRemoveGameAckMessage::MergePartialFromCodedStream( input, &value))); if (::AdminRemoveGameAckMessage_AdminRemoveGameResult_IsValid(value)) { set_removegameresult(static_cast< ::AdminRemoveGameAckMessage_AdminRemoveGameResult >(value)); + } else { + unknown_fields_stream.WriteVarint32(tag); + unknown_fields_stream.WriteVarint32(value); } } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:AdminRemoveGameAckMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:AdminRemoveGameAckMessage) + return false; #undef DO_ } void AdminRemoveGameAckMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:AdminRemoveGameAckMessage) // required uint32 removeGameId = 1; if (has_removegameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->removegameid(), output); @@ -21580,6 +24399,9 @@ void AdminRemoveGameAckMessage::SerializeWithCachedSizes( 2, this->removegameresult(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:AdminRemoveGameAckMessage) } int AdminRemoveGameAckMessage::ByteSize() const { @@ -21600,6 +24422,8 @@ int AdminRemoveGameAckMessage::ByteSize() const { } } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -21621,6 +24445,7 @@ void AdminRemoveGameAckMessage::MergeFrom(const AdminRemoveGameAckMessage& from) set_removegameresult(from.removegameresult()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void AdminRemoveGameAckMessage::CopyFrom(const AdminRemoveGameAckMessage& from) { @@ -21640,6 +24465,7 @@ void AdminRemoveGameAckMessage::Swap(AdminRemoveGameAckMessage* other) { std::swap(removegameid_, other->removegameid_); std::swap(removegameresult_, other->removegameresult_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -21658,6 +24484,7 @@ const int AdminBanPlayerMessage::kBanPlayerIdFieldNumber; AdminBanPlayerMessage::AdminBanPlayerMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:AdminBanPlayerMessage) } void AdminBanPlayerMessage::InitAsDefaultInstance() { @@ -21667,6 +24494,7 @@ AdminBanPlayerMessage::AdminBanPlayerMessage(const AdminBanPlayerMessage& from) : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:AdminBanPlayerMessage) } void AdminBanPlayerMessage::SharedCtor() { @@ -21676,6 +24504,7 @@ void AdminBanPlayerMessage::SharedCtor() { } AdminBanPlayerMessage::~AdminBanPlayerMessage() { + // @@protoc_insertion_point(destructor:AdminBanPlayerMessage) SharedDtor(); } @@ -21709,55 +24538,72 @@ AdminBanPlayerMessage* AdminBanPlayerMessage::New() const { } void AdminBanPlayerMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - banplayerid_ = 0u; - } + banplayerid_ = 0u; ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool AdminBanPlayerMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:AdminBanPlayerMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required uint32 banPlayerId = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 8) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &banplayerid_))); set_has_banplayerid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:AdminBanPlayerMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:AdminBanPlayerMessage) + return false; #undef DO_ } void AdminBanPlayerMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:AdminBanPlayerMessage) // required uint32 banPlayerId = 1; if (has_banplayerid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->banplayerid(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:AdminBanPlayerMessage) } int AdminBanPlayerMessage::ByteSize() const { @@ -21772,6 +24618,8 @@ int AdminBanPlayerMessage::ByteSize() const { } } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -21790,6 +24638,7 @@ void AdminBanPlayerMessage::MergeFrom(const AdminBanPlayerMessage& from) { set_banplayerid(from.banplayerid()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void AdminBanPlayerMessage::CopyFrom(const AdminBanPlayerMessage& from) { @@ -21808,6 +24657,7 @@ void AdminBanPlayerMessage::Swap(AdminBanPlayerMessage* other) { if (other != this) { std::swap(banplayerid_, other->banplayerid_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -21850,6 +24700,7 @@ const int AdminBanPlayerAckMessage::kBanPlayerResultFieldNumber; AdminBanPlayerAckMessage::AdminBanPlayerAckMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:AdminBanPlayerAckMessage) } void AdminBanPlayerAckMessage::InitAsDefaultInstance() { @@ -21859,6 +24710,7 @@ AdminBanPlayerAckMessage::AdminBanPlayerAckMessage(const AdminBanPlayerAckMessag : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:AdminBanPlayerAckMessage) } void AdminBanPlayerAckMessage::SharedCtor() { @@ -21869,6 +24721,7 @@ void AdminBanPlayerAckMessage::SharedCtor() { } AdminBanPlayerAckMessage::~AdminBanPlayerAckMessage() { + // @@protoc_insertion_point(destructor:AdminBanPlayerAckMessage) SharedDtor(); } @@ -21902,29 +24755,48 @@ AdminBanPlayerAckMessage* AdminBanPlayerAckMessage::New() const { } void AdminBanPlayerAckMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - banplayerid_ = 0u; - banplayerresult_ = 0; - } +#define OFFSET_OF_FIELD_(f) (reinterpret_cast( \ + &reinterpret_cast(16)->f) - \ + reinterpret_cast(16)) + +#define ZR_(first, last) do { \ + size_t f = OFFSET_OF_FIELD_(first); \ + size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \ + ::memset(&first, 0, n); \ + } while (0) + + ZR_(banplayerid_, banplayerresult_); + +#undef OFFSET_OF_FIELD_ +#undef ZR_ + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool AdminBanPlayerAckMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:AdminBanPlayerAckMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required uint32 banPlayerId = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 8) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &banplayerid_))); set_has_banplayerid(); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(16)) goto parse_banPlayerResult; break; @@ -21932,8 +24804,7 @@ bool AdminBanPlayerAckMessage::MergePartialFromCodedStream( // required .AdminBanPlayerAckMessage.AdminBanPlayerResult banPlayerResult = 2; case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 16) { parse_banPlayerResult: int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< @@ -21941,31 +24812,42 @@ bool AdminBanPlayerAckMessage::MergePartialFromCodedStream( input, &value))); if (::AdminBanPlayerAckMessage_AdminBanPlayerResult_IsValid(value)) { set_banplayerresult(static_cast< ::AdminBanPlayerAckMessage_AdminBanPlayerResult >(value)); + } else { + unknown_fields_stream.WriteVarint32(tag); + unknown_fields_stream.WriteVarint32(value); } } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:AdminBanPlayerAckMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:AdminBanPlayerAckMessage) + return false; #undef DO_ } void AdminBanPlayerAckMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:AdminBanPlayerAckMessage) // required uint32 banPlayerId = 1; if (has_banplayerid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->banplayerid(), output); @@ -21977,6 +24859,9 @@ void AdminBanPlayerAckMessage::SerializeWithCachedSizes( 2, this->banplayerresult(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:AdminBanPlayerAckMessage) } int AdminBanPlayerAckMessage::ByteSize() const { @@ -21997,6 +24882,8 @@ int AdminBanPlayerAckMessage::ByteSize() const { } } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -22018,6 +24905,7 @@ void AdminBanPlayerAckMessage::MergeFrom(const AdminBanPlayerAckMessage& from) { set_banplayerresult(from.banplayerresult()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void AdminBanPlayerAckMessage::CopyFrom(const AdminBanPlayerAckMessage& from) { @@ -22037,6 +24925,7 @@ void AdminBanPlayerAckMessage::Swap(AdminBanPlayerAckMessage* other) { std::swap(banplayerid_, other->banplayerid_); std::swap(banplayerresult_, other->banplayerresult_); std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } @@ -22311,6 +25200,7 @@ const int PokerTHMessage::kGameSpectatorLeftMessageFieldNumber; PokerTHMessage::PokerTHMessage() : ::google::protobuf::MessageLite() { SharedCtor(); + // @@protoc_insertion_point(constructor:PokerTHMessage) } void PokerTHMessage::InitAsDefaultInstance() { @@ -22806,6 +25696,7 @@ PokerTHMessage::PokerTHMessage(const PokerTHMessage& from) : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:PokerTHMessage) } void PokerTHMessage::SharedCtor() { @@ -22896,6 +25787,7 @@ void PokerTHMessage::SharedCtor() { } PokerTHMessage::~PokerTHMessage() { + // @@protoc_insertion_point(destructor:PokerTHMessage) SharedDtor(); } @@ -23010,7 +25902,7 @@ PokerTHMessage* PokerTHMessage::New() const { } void PokerTHMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (_has_bits_[0 / 32] & 255) { messagetype_ = 1; if (has_announcemessage()) { if (announcemessage_ != NULL) announcemessage_->::AnnounceMessage::Clear(); @@ -23034,7 +25926,7 @@ void PokerTHMessage::Clear() { if (avatarrequestmessage_ != NULL) avatarrequestmessage_->::AvatarRequestMessage::Clear(); } } - if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) { + if (_has_bits_[8 / 32] & 65280) { if (has_avatarheadermessage()) { if (avatarheadermessage_ != NULL) avatarheadermessage_->::AvatarHeaderMessage::Clear(); } @@ -23060,7 +25952,7 @@ void PokerTHMessage::Clear() { if (gamelistplayerjoinedmessage_ != NULL) gamelistplayerjoinedmessage_->::GameListPlayerJoinedMessage::Clear(); } } - if (_has_bits_[16 / 32] & (0xffu << (16 % 32))) { + if (_has_bits_[16 / 32] & 16711680) { if (has_gamelistplayerleftmessage()) { if (gamelistplayerleftmessage_ != NULL) gamelistplayerleftmessage_->::GameListPlayerLeftMessage::Clear(); } @@ -23086,7 +25978,7 @@ void PokerTHMessage::Clear() { if (rejoinexistinggamemessage_ != NULL) rejoinexistinggamemessage_->::RejoinExistingGameMessage::Clear(); } } - if (_has_bits_[24 / 32] & (0xffu << (24 % 32))) { + if (_has_bits_[24 / 32] & 4278190080) { if (has_joingameackmessage()) { if (joingameackmessage_ != NULL) joingameackmessage_->::JoinGameAckMessage::Clear(); } @@ -23112,7 +26004,7 @@ void PokerTHMessage::Clear() { if (leavegamerequestmessage_ != NULL) leavegamerequestmessage_->::LeaveGameRequestMessage::Clear(); } } - if (_has_bits_[32 / 32] & (0xffu << (32 % 32))) { + if (_has_bits_[32 / 32] & 255) { if (has_inviteplayertogamemessage()) { if (inviteplayertogamemessage_ != NULL) inviteplayertogamemessage_->::InvitePlayerToGameMessage::Clear(); } @@ -23138,7 +26030,7 @@ void PokerTHMessage::Clear() { if (gamestartrejoinmessage_ != NULL) gamestartrejoinmessage_->::GameStartRejoinMessage::Clear(); } } - if (_has_bits_[40 / 32] & (0xffu << (40 % 32))) { + if (_has_bits_[40 / 32] & 65280) { if (has_handstartmessage()) { if (handstartmessage_ != NULL) handstartmessage_->::HandStartMessage::Clear(); } @@ -23164,7 +26056,7 @@ void PokerTHMessage::Clear() { if (dealrivercardmessage_ != NULL) dealrivercardmessage_->::DealRiverCardMessage::Clear(); } } - if (_has_bits_[48 / 32] & (0xffu << (48 % 32))) { + if (_has_bits_[48 / 32] & 16711680) { if (has_allinshowcardsmessage()) { if (allinshowcardsmessage_ != NULL) allinshowcardsmessage_->::AllInShowCardsMessage::Clear(); } @@ -23190,7 +26082,7 @@ void PokerTHMessage::Clear() { if (askkickplayermessage_ != NULL) askkickplayermessage_->::AskKickPlayerMessage::Clear(); } } - if (_has_bits_[56 / 32] & (0xffu << (56 % 32))) { + if (_has_bits_[56 / 32] & 4278190080) { if (has_askkickdeniedmessage()) { if (askkickdeniedmessage_ != NULL) askkickdeniedmessage_->::AskKickDeniedMessage::Clear(); } @@ -23216,7 +26108,7 @@ void PokerTHMessage::Clear() { if (chatrequestmessage_ != NULL) chatrequestmessage_->::ChatRequestMessage::Clear(); } } - if (_has_bits_[64 / 32] & (0xffu << (64 % 32))) { + if (_has_bits_[64 / 32] & 255) { if (has_chatmessage()) { if (chatmessage_ != NULL) chatmessage_->::ChatMessage::Clear(); } @@ -23242,7 +26134,7 @@ void PokerTHMessage::Clear() { if (reportgamemessage_ != NULL) reportgamemessage_->::ReportGameMessage::Clear(); } } - if (_has_bits_[72 / 32] & (0xffu << (72 % 32))) { + if (_has_bits_[72 / 32] & 65280) { if (has_reportgameackmessage()) { if (reportgameackmessage_ != NULL) reportgameackmessage_->::ReportGameAckMessage::Clear(); } @@ -23268,7 +26160,7 @@ void PokerTHMessage::Clear() { if (gamelistspectatorleftmessage_ != NULL) gamelistspectatorleftmessage_->::GameListSpectatorLeftMessage::Clear(); } } - if (_has_bits_[80 / 32] & (0xffu << (80 % 32))) { + if (_has_bits_[80 / 32] & 196608) { if (has_gamespectatorjoinedmessage()) { if (gamespectatorjoinedmessage_ != NULL) gamespectatorjoinedmessage_->::GameSpectatorJoinedMessage::Clear(); } @@ -23277,27 +26169,38 @@ void PokerTHMessage::Clear() { } } ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->clear(); } bool PokerTHMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { + ::google::protobuf::io::StringOutputStream unknown_fields_string( + mutable_unknown_fields()); + ::google::protobuf::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_string); + // @@protoc_insertion_point(parse_start:PokerTHMessage) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(16383); + tag = p.first; + if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required .PokerTHMessage.PokerTHMessageType messageType = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + if (tag == 8) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::PokerTHMessage_PokerTHMessageType_IsValid(value)) { set_messagetype(static_cast< ::PokerTHMessage_PokerTHMessageType >(value)); + } else { + unknown_fields_stream.WriteVarint32(tag); + unknown_fields_stream.WriteVarint32(value); } } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(18)) goto parse_announceMessage; break; @@ -23305,13 +26208,12 @@ bool PokerTHMessage::MergePartialFromCodedStream( // optional .AnnounceMessage announceMessage = 2; case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 18) { parse_announceMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_announcemessage())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(26)) goto parse_initMessage; break; @@ -23319,13 +26221,12 @@ bool PokerTHMessage::MergePartialFromCodedStream( // optional .InitMessage initMessage = 3; case 3: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 26) { parse_initMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_initmessage())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(34)) goto parse_authServerChallengeMessage; break; @@ -23333,13 +26234,12 @@ bool PokerTHMessage::MergePartialFromCodedStream( // optional .AuthServerChallengeMessage authServerChallengeMessage = 4; case 4: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 34) { parse_authServerChallengeMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_authserverchallengemessage())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(42)) goto parse_authClientResponseMessage; break; @@ -23347,13 +26247,12 @@ bool PokerTHMessage::MergePartialFromCodedStream( // optional .AuthClientResponseMessage authClientResponseMessage = 5; case 5: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 42) { parse_authClientResponseMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_authclientresponsemessage())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(50)) goto parse_authServerVerificationMessage; break; @@ -23361,13 +26260,12 @@ bool PokerTHMessage::MergePartialFromCodedStream( // optional .AuthServerVerificationMessage authServerVerificationMessage = 6; case 6: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 50) { parse_authServerVerificationMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_authserververificationmessage())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(58)) goto parse_initAckMessage; break; @@ -23375,13 +26273,12 @@ bool PokerTHMessage::MergePartialFromCodedStream( // optional .InitAckMessage initAckMessage = 7; case 7: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 58) { parse_initAckMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_initackmessage())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(66)) goto parse_avatarRequestMessage; break; @@ -23389,13 +26286,12 @@ bool PokerTHMessage::MergePartialFromCodedStream( // optional .AvatarRequestMessage avatarRequestMessage = 8; case 8: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 66) { parse_avatarRequestMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_avatarrequestmessage())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(74)) goto parse_avatarHeaderMessage; break; @@ -23403,13 +26299,12 @@ bool PokerTHMessage::MergePartialFromCodedStream( // optional .AvatarHeaderMessage avatarHeaderMessage = 9; case 9: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 74) { parse_avatarHeaderMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_avatarheadermessage())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(82)) goto parse_avatarDataMessage; break; @@ -23417,13 +26312,12 @@ bool PokerTHMessage::MergePartialFromCodedStream( // optional .AvatarDataMessage avatarDataMessage = 10; case 10: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 82) { parse_avatarDataMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_avatardatamessage())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(90)) goto parse_avatarEndMessage; break; @@ -23431,13 +26325,12 @@ bool PokerTHMessage::MergePartialFromCodedStream( // optional .AvatarEndMessage avatarEndMessage = 11; case 11: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 90) { parse_avatarEndMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_avatarendmessage())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(98)) goto parse_unknownAvatarMessage; break; @@ -23445,13 +26338,12 @@ bool PokerTHMessage::MergePartialFromCodedStream( // optional .UnknownAvatarMessage unknownAvatarMessage = 12; case 12: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 98) { parse_unknownAvatarMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_unknownavatarmessage())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(106)) goto parse_playerListMessage; break; @@ -23459,13 +26351,12 @@ bool PokerTHMessage::MergePartialFromCodedStream( // optional .PlayerListMessage playerListMessage = 13; case 13: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 106) { parse_playerListMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_playerlistmessage())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(114)) goto parse_gameListNewMessage; break; @@ -23473,13 +26364,12 @@ bool PokerTHMessage::MergePartialFromCodedStream( // optional .GameListNewMessage gameListNewMessage = 14; case 14: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 114) { parse_gameListNewMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_gamelistnewmessage())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(122)) goto parse_gameListUpdateMessage; break; @@ -23487,13 +26377,12 @@ bool PokerTHMessage::MergePartialFromCodedStream( // optional .GameListUpdateMessage gameListUpdateMessage = 15; case 15: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 122) { parse_gameListUpdateMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_gamelistupdatemessage())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(130)) goto parse_gameListPlayerJoinedMessage; break; @@ -23501,13 +26390,12 @@ bool PokerTHMessage::MergePartialFromCodedStream( // optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 16; case 16: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 130) { parse_gameListPlayerJoinedMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_gamelistplayerjoinedmessage())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(138)) goto parse_gameListPlayerLeftMessage; break; @@ -23515,13 +26403,12 @@ bool PokerTHMessage::MergePartialFromCodedStream( // optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 17; case 17: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 138) { parse_gameListPlayerLeftMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_gamelistplayerleftmessage())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(146)) goto parse_gameListAdminChangedMessage; break; @@ -23529,13 +26416,12 @@ bool PokerTHMessage::MergePartialFromCodedStream( // optional .GameListAdminChangedMessage gameListAdminChangedMessage = 18; case 18: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 146) { parse_gameListAdminChangedMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_gamelistadminchangedmessage())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(154)) goto parse_playerInfoRequestMessage; break; @@ -23543,13 +26429,12 @@ bool PokerTHMessage::MergePartialFromCodedStream( // optional .PlayerInfoRequestMessage playerInfoRequestMessage = 19; case 19: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 154) { parse_playerInfoRequestMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_playerinforequestmessage())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(162)) goto parse_playerInfoReplyMessage; break; @@ -23557,13 +26442,12 @@ bool PokerTHMessage::MergePartialFromCodedStream( // optional .PlayerInfoReplyMessage playerInfoReplyMessage = 20; case 20: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 162) { parse_playerInfoReplyMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_playerinforeplymessage())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(170)) goto parse_subscriptionRequestMessage; break; @@ -23571,13 +26455,12 @@ bool PokerTHMessage::MergePartialFromCodedStream( // optional .SubscriptionRequestMessage subscriptionRequestMessage = 21; case 21: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 170) { parse_subscriptionRequestMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_subscriptionrequestmessage())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(178)) goto parse_joinExistingGameMessage; break; @@ -23585,13 +26468,12 @@ bool PokerTHMessage::MergePartialFromCodedStream( // optional .JoinExistingGameMessage joinExistingGameMessage = 22; case 22: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 178) { parse_joinExistingGameMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_joinexistinggamemessage())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(186)) goto parse_joinNewGameMessage; break; @@ -23599,13 +26481,12 @@ bool PokerTHMessage::MergePartialFromCodedStream( // optional .JoinNewGameMessage joinNewGameMessage = 23; case 23: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 186) { parse_joinNewGameMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_joinnewgamemessage())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(194)) goto parse_rejoinExistingGameMessage; break; @@ -23613,13 +26494,12 @@ bool PokerTHMessage::MergePartialFromCodedStream( // optional .RejoinExistingGameMessage rejoinExistingGameMessage = 24; case 24: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 194) { parse_rejoinExistingGameMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_rejoinexistinggamemessage())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(202)) goto parse_joinGameAckMessage; break; @@ -23627,13 +26507,12 @@ bool PokerTHMessage::MergePartialFromCodedStream( // optional .JoinGameAckMessage joinGameAckMessage = 25; case 25: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 202) { parse_joinGameAckMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_joingameackmessage())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(210)) goto parse_joinGameFailedMessage; break; @@ -23641,13 +26520,12 @@ bool PokerTHMessage::MergePartialFromCodedStream( // optional .JoinGameFailedMessage joinGameFailedMessage = 26; case 26: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 210) { parse_joinGameFailedMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_joingamefailedmessage())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(218)) goto parse_gamePlayerJoinedMessage; break; @@ -23655,13 +26533,12 @@ bool PokerTHMessage::MergePartialFromCodedStream( // optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 27; case 27: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 218) { parse_gamePlayerJoinedMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_gameplayerjoinedmessage())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(226)) goto parse_gamePlayerLeftMessage; break; @@ -23669,13 +26546,12 @@ bool PokerTHMessage::MergePartialFromCodedStream( // optional .GamePlayerLeftMessage gamePlayerLeftMessage = 28; case 28: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 226) { parse_gamePlayerLeftMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_gameplayerleftmessage())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(234)) goto parse_gameAdminChangedMessage; break; @@ -23683,13 +26559,12 @@ bool PokerTHMessage::MergePartialFromCodedStream( // optional .GameAdminChangedMessage gameAdminChangedMessage = 29; case 29: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 234) { parse_gameAdminChangedMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_gameadminchangedmessage())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(242)) goto parse_removedFromGameMessage; break; @@ -23697,13 +26572,12 @@ bool PokerTHMessage::MergePartialFromCodedStream( // optional .RemovedFromGameMessage removedFromGameMessage = 30; case 30: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 242) { parse_removedFromGameMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_removedfromgamemessage())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(250)) goto parse_kickPlayerRequestMessage; break; @@ -23711,13 +26585,12 @@ bool PokerTHMessage::MergePartialFromCodedStream( // optional .KickPlayerRequestMessage kickPlayerRequestMessage = 31; case 31: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 250) { parse_kickPlayerRequestMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_kickplayerrequestmessage())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(258)) goto parse_leaveGameRequestMessage; break; @@ -23725,13 +26598,12 @@ bool PokerTHMessage::MergePartialFromCodedStream( // optional .LeaveGameRequestMessage leaveGameRequestMessage = 32; case 32: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 258) { parse_leaveGameRequestMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_leavegamerequestmessage())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(266)) goto parse_invitePlayerToGameMessage; break; @@ -23739,13 +26611,12 @@ bool PokerTHMessage::MergePartialFromCodedStream( // optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 33; case 33: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 266) { parse_invitePlayerToGameMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_inviteplayertogamemessage())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(274)) goto parse_inviteNotifyMessage; break; @@ -23753,13 +26624,12 @@ bool PokerTHMessage::MergePartialFromCodedStream( // optional .InviteNotifyMessage inviteNotifyMessage = 34; case 34: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 274) { parse_inviteNotifyMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_invitenotifymessage())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(282)) goto parse_rejectGameInvitationMessage; break; @@ -23767,13 +26637,12 @@ bool PokerTHMessage::MergePartialFromCodedStream( // optional .RejectGameInvitationMessage rejectGameInvitationMessage = 35; case 35: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 282) { parse_rejectGameInvitationMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_rejectgameinvitationmessage())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(290)) goto parse_rejectInvNotifyMessage; break; @@ -23781,13 +26650,12 @@ bool PokerTHMessage::MergePartialFromCodedStream( // optional .RejectInvNotifyMessage rejectInvNotifyMessage = 36; case 36: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 290) { parse_rejectInvNotifyMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_rejectinvnotifymessage())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(298)) goto parse_startEventMessage; break; @@ -23795,13 +26663,12 @@ bool PokerTHMessage::MergePartialFromCodedStream( // optional .StartEventMessage startEventMessage = 37; case 37: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 298) { parse_startEventMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_starteventmessage())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(306)) goto parse_startEventAckMessage; break; @@ -23809,13 +26676,12 @@ bool PokerTHMessage::MergePartialFromCodedStream( // optional .StartEventAckMessage startEventAckMessage = 38; case 38: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 306) { parse_startEventAckMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_starteventackmessage())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(314)) goto parse_gameStartInitialMessage; break; @@ -23823,13 +26689,12 @@ bool PokerTHMessage::MergePartialFromCodedStream( // optional .GameStartInitialMessage gameStartInitialMessage = 39; case 39: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 314) { parse_gameStartInitialMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_gamestartinitialmessage())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(322)) goto parse_gameStartRejoinMessage; break; @@ -23837,13 +26702,12 @@ bool PokerTHMessage::MergePartialFromCodedStream( // optional .GameStartRejoinMessage gameStartRejoinMessage = 40; case 40: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 322) { parse_gameStartRejoinMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_gamestartrejoinmessage())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(330)) goto parse_handStartMessage; break; @@ -23851,13 +26715,12 @@ bool PokerTHMessage::MergePartialFromCodedStream( // optional .HandStartMessage handStartMessage = 41; case 41: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 330) { parse_handStartMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_handstartmessage())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(338)) goto parse_playersTurnMessage; break; @@ -23865,13 +26728,12 @@ bool PokerTHMessage::MergePartialFromCodedStream( // optional .PlayersTurnMessage playersTurnMessage = 42; case 42: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 338) { parse_playersTurnMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_playersturnmessage())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(346)) goto parse_myActionRequestMessage; break; @@ -23879,13 +26741,12 @@ bool PokerTHMessage::MergePartialFromCodedStream( // optional .MyActionRequestMessage myActionRequestMessage = 43; case 43: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 346) { parse_myActionRequestMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_myactionrequestmessage())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(354)) goto parse_yourActionRejectedMessage; break; @@ -23893,13 +26754,12 @@ bool PokerTHMessage::MergePartialFromCodedStream( // optional .YourActionRejectedMessage yourActionRejectedMessage = 44; case 44: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 354) { parse_yourActionRejectedMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_youractionrejectedmessage())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(362)) goto parse_playersActionDoneMessage; break; @@ -23907,13 +26767,12 @@ bool PokerTHMessage::MergePartialFromCodedStream( // optional .PlayersActionDoneMessage playersActionDoneMessage = 45; case 45: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 362) { parse_playersActionDoneMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_playersactiondonemessage())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(370)) goto parse_dealFlopCardsMessage; break; @@ -23921,13 +26780,12 @@ bool PokerTHMessage::MergePartialFromCodedStream( // optional .DealFlopCardsMessage dealFlopCardsMessage = 46; case 46: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 370) { parse_dealFlopCardsMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_dealflopcardsmessage())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(378)) goto parse_dealTurnCardMessage; break; @@ -23935,13 +26793,12 @@ bool PokerTHMessage::MergePartialFromCodedStream( // optional .DealTurnCardMessage dealTurnCardMessage = 47; case 47: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 378) { parse_dealTurnCardMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_dealturncardmessage())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(386)) goto parse_dealRiverCardMessage; break; @@ -23949,13 +26806,12 @@ bool PokerTHMessage::MergePartialFromCodedStream( // optional .DealRiverCardMessage dealRiverCardMessage = 48; case 48: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 386) { parse_dealRiverCardMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_dealrivercardmessage())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(394)) goto parse_allInShowCardsMessage; break; @@ -23963,13 +26819,12 @@ bool PokerTHMessage::MergePartialFromCodedStream( // optional .AllInShowCardsMessage allInShowCardsMessage = 49; case 49: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 394) { parse_allInShowCardsMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_allinshowcardsmessage())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(402)) goto parse_endOfHandShowCardsMessage; break; @@ -23977,13 +26832,12 @@ bool PokerTHMessage::MergePartialFromCodedStream( // optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 50; case 50: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 402) { parse_endOfHandShowCardsMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_endofhandshowcardsmessage())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(410)) goto parse_endOfHandHideCardsMessage; break; @@ -23991,13 +26845,12 @@ bool PokerTHMessage::MergePartialFromCodedStream( // optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 51; case 51: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 410) { parse_endOfHandHideCardsMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_endofhandhidecardsmessage())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(418)) goto parse_showMyCardsRequestMessage; break; @@ -24005,13 +26858,12 @@ bool PokerTHMessage::MergePartialFromCodedStream( // optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 52; case 52: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 418) { parse_showMyCardsRequestMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_showmycardsrequestmessage())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(426)) goto parse_afterHandShowCardsMessage; break; @@ -24019,13 +26871,12 @@ bool PokerTHMessage::MergePartialFromCodedStream( // optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 53; case 53: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 426) { parse_afterHandShowCardsMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_afterhandshowcardsmessage())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(434)) goto parse_endOfGameMessage; break; @@ -24033,13 +26884,12 @@ bool PokerTHMessage::MergePartialFromCodedStream( // optional .EndOfGameMessage endOfGameMessage = 54; case 54: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 434) { parse_endOfGameMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_endofgamemessage())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(442)) goto parse_playerIdChangedMessage; break; @@ -24047,13 +26897,12 @@ bool PokerTHMessage::MergePartialFromCodedStream( // optional .PlayerIdChangedMessage playerIdChangedMessage = 55; case 55: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 442) { parse_playerIdChangedMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_playeridchangedmessage())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(450)) goto parse_askKickPlayerMessage; break; @@ -24061,13 +26910,12 @@ bool PokerTHMessage::MergePartialFromCodedStream( // optional .AskKickPlayerMessage askKickPlayerMessage = 56; case 56: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 450) { parse_askKickPlayerMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_askkickplayermessage())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(458)) goto parse_askKickDeniedMessage; break; @@ -24075,13 +26923,12 @@ bool PokerTHMessage::MergePartialFromCodedStream( // optional .AskKickDeniedMessage askKickDeniedMessage = 57; case 57: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 458) { parse_askKickDeniedMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_askkickdeniedmessage())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(466)) goto parse_startKickPetitionMessage; break; @@ -24089,13 +26936,12 @@ bool PokerTHMessage::MergePartialFromCodedStream( // optional .StartKickPetitionMessage startKickPetitionMessage = 58; case 58: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 466) { parse_startKickPetitionMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_startkickpetitionmessage())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(474)) goto parse_voteKickRequestMessage; break; @@ -24103,13 +26949,12 @@ bool PokerTHMessage::MergePartialFromCodedStream( // optional .VoteKickRequestMessage voteKickRequestMessage = 59; case 59: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 474) { parse_voteKickRequestMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_votekickrequestmessage())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(482)) goto parse_voteKickReplyMessage; break; @@ -24117,13 +26962,12 @@ bool PokerTHMessage::MergePartialFromCodedStream( // optional .VoteKickReplyMessage voteKickReplyMessage = 60; case 60: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 482) { parse_voteKickReplyMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_votekickreplymessage())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(490)) goto parse_kickPetitionUpdateMessage; break; @@ -24131,13 +26975,12 @@ bool PokerTHMessage::MergePartialFromCodedStream( // optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 61; case 61: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 490) { parse_kickPetitionUpdateMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_kickpetitionupdatemessage())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(498)) goto parse_endKickPetitionMessage; break; @@ -24145,13 +26988,12 @@ bool PokerTHMessage::MergePartialFromCodedStream( // optional .EndKickPetitionMessage endKickPetitionMessage = 62; case 62: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 498) { parse_endKickPetitionMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_endkickpetitionmessage())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(506)) goto parse_statisticsMessage; break; @@ -24159,13 +27001,12 @@ bool PokerTHMessage::MergePartialFromCodedStream( // optional .StatisticsMessage statisticsMessage = 63; case 63: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 506) { parse_statisticsMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_statisticsmessage())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(514)) goto parse_chatRequestMessage; break; @@ -24173,13 +27014,12 @@ bool PokerTHMessage::MergePartialFromCodedStream( // optional .ChatRequestMessage chatRequestMessage = 64; case 64: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 514) { parse_chatRequestMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_chatrequestmessage())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(522)) goto parse_chatMessage; break; @@ -24187,13 +27027,12 @@ bool PokerTHMessage::MergePartialFromCodedStream( // optional .ChatMessage chatMessage = 65; case 65: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 522) { parse_chatMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_chatmessage())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(530)) goto parse_chatRejectMessage; break; @@ -24201,13 +27040,12 @@ bool PokerTHMessage::MergePartialFromCodedStream( // optional .ChatRejectMessage chatRejectMessage = 66; case 66: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 530) { parse_chatRejectMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_chatrejectmessage())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(538)) goto parse_dialogMessage; break; @@ -24215,13 +27053,12 @@ bool PokerTHMessage::MergePartialFromCodedStream( // optional .DialogMessage dialogMessage = 67; case 67: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 538) { parse_dialogMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_dialogmessage())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(546)) goto parse_timeoutWarningMessage; break; @@ -24229,13 +27066,12 @@ bool PokerTHMessage::MergePartialFromCodedStream( // optional .TimeoutWarningMessage timeoutWarningMessage = 68; case 68: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 546) { parse_timeoutWarningMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_timeoutwarningmessage())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(554)) goto parse_resetTimeoutMessage; break; @@ -24243,13 +27079,12 @@ bool PokerTHMessage::MergePartialFromCodedStream( // optional .ResetTimeoutMessage resetTimeoutMessage = 69; case 69: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 554) { parse_resetTimeoutMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_resettimeoutmessage())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(562)) goto parse_reportAvatarMessage; break; @@ -24257,13 +27092,12 @@ bool PokerTHMessage::MergePartialFromCodedStream( // optional .ReportAvatarMessage reportAvatarMessage = 70; case 70: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 562) { parse_reportAvatarMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_reportavatarmessage())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(570)) goto parse_reportAvatarAckMessage; break; @@ -24271,13 +27105,12 @@ bool PokerTHMessage::MergePartialFromCodedStream( // optional .ReportAvatarAckMessage reportAvatarAckMessage = 71; case 71: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 570) { parse_reportAvatarAckMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_reportavatarackmessage())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(578)) goto parse_reportGameMessage; break; @@ -24285,13 +27118,12 @@ bool PokerTHMessage::MergePartialFromCodedStream( // optional .ReportGameMessage reportGameMessage = 72; case 72: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 578) { parse_reportGameMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_reportgamemessage())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(586)) goto parse_reportGameAckMessage; break; @@ -24299,13 +27131,12 @@ bool PokerTHMessage::MergePartialFromCodedStream( // optional .ReportGameAckMessage reportGameAckMessage = 73; case 73: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 586) { parse_reportGameAckMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_reportgameackmessage())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(594)) goto parse_errorMessage; break; @@ -24313,13 +27144,12 @@ bool PokerTHMessage::MergePartialFromCodedStream( // optional .ErrorMessage errorMessage = 74; case 74: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 594) { parse_errorMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_errormessage())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(602)) goto parse_adminRemoveGameMessage; break; @@ -24327,13 +27157,12 @@ bool PokerTHMessage::MergePartialFromCodedStream( // optional .AdminRemoveGameMessage adminRemoveGameMessage = 75; case 75: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 602) { parse_adminRemoveGameMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_adminremovegamemessage())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(610)) goto parse_adminRemoveGameAckMessage; break; @@ -24341,13 +27170,12 @@ bool PokerTHMessage::MergePartialFromCodedStream( // optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 76; case 76: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 610) { parse_adminRemoveGameAckMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_adminremovegameackmessage())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(618)) goto parse_adminBanPlayerMessage; break; @@ -24355,13 +27183,12 @@ bool PokerTHMessage::MergePartialFromCodedStream( // optional .AdminBanPlayerMessage adminBanPlayerMessage = 77; case 77: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 618) { parse_adminBanPlayerMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_adminbanplayermessage())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(626)) goto parse_adminBanPlayerAckMessage; break; @@ -24369,13 +27196,12 @@ bool PokerTHMessage::MergePartialFromCodedStream( // optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 78; case 78: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 626) { parse_adminBanPlayerAckMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_adminbanplayerackmessage())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(634)) goto parse_gameListSpectatorJoinedMessage; break; @@ -24383,13 +27209,12 @@ bool PokerTHMessage::MergePartialFromCodedStream( // optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 79; case 79: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 634) { parse_gameListSpectatorJoinedMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_gamelistspectatorjoinedmessage())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(642)) goto parse_gameListSpectatorLeftMessage; break; @@ -24397,13 +27222,12 @@ bool PokerTHMessage::MergePartialFromCodedStream( // optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 80; case 80: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 642) { parse_gameListSpectatorLeftMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_gamelistspectatorleftmessage())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(650)) goto parse_gameSpectatorJoinedMessage; break; @@ -24411,13 +27235,12 @@ bool PokerTHMessage::MergePartialFromCodedStream( // optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 81; case 81: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 650) { parse_gameSpectatorJoinedMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_gamespectatorjoinedmessage())); } else { - goto handle_uninterpreted; + goto handle_unusual; } if (input->ExpectTag(658)) goto parse_gameSpectatorLeftMessage; break; @@ -24425,35 +27248,42 @@ bool PokerTHMessage::MergePartialFromCodedStream( // optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 82; case 82: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + if (tag == 658) { parse_gameSpectatorLeftMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_gamespectatorleftmessage())); } else { - goto handle_uninterpreted; + goto handle_unusual; } - if (input->ExpectAtEnd()) return true; + if (input->ExpectAtEnd()) goto success; break; } default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + goto success; } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + DO_(::google::protobuf::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); break; } } } +success: + // @@protoc_insertion_point(parse_success:PokerTHMessage) return true; +failure: + // @@protoc_insertion_point(parse_failure:PokerTHMessage) + return false; #undef DO_ } void PokerTHMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:PokerTHMessage) // required .PokerTHMessage.PokerTHMessageType messageType = 1; if (has_messagetype()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( @@ -24946,6 +27776,9 @@ void PokerTHMessage::SerializeWithCachedSizes( 82, this->gamespectatorleftmessage(), output); } + output->WriteRaw(unknown_fields().data(), + unknown_fields().size()); + // @@protoc_insertion_point(serialize_end:PokerTHMessage) } int PokerTHMessage::ByteSize() const { @@ -25546,6 +28379,8 @@ int PokerTHMessage::ByteSize() const { } } + total_size += unknown_fields().size(); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -25827,6 +28662,7 @@ void PokerTHMessage::MergeFrom(const PokerTHMessage& from) { mutable_gamespectatorleftmessage()->::GameSpectatorLeftMessage::MergeFrom(from.gamespectatorleftmessage()); } } + mutable_unknown_fields()->append(from.unknown_fields()); } void PokerTHMessage::CopyFrom(const PokerTHMessage& from) { @@ -26162,6 +28998,7 @@ void PokerTHMessage::Swap(PokerTHMessage* other) { std::swap(_has_bits_[0], other->_has_bits_[0]); std::swap(_has_bits_[1], other->_has_bits_[1]); std::swap(_has_bits_[2], other->_has_bits_[2]); + _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } diff --git a/src/third_party/protobuf/pokerth.pb.h b/src/third_party/protobuf/pokerth.pb.h index 15b3ea66..d676bab7 100644 --- a/src/third_party/protobuf/pokerth.pb.h +++ b/src/third_party/protobuf/pokerth.pb.h @@ -8,12 +8,12 @@ #include -#if GOOGLE_PROTOBUF_VERSION < 2005000 +#if GOOGLE_PROTOBUF_VERSION < 2006000 #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 2005000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION #error This file was generated by an older version of protoc which is #error incompatible with your Protocol Buffer headers. Please #error regenerate this file with a newer version of protoc. @@ -556,6 +556,14 @@ class NetGameInfo : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const NetGameInfo& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -584,13 +592,13 @@ class NetGameInfo : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -785,6 +793,10 @@ class NetGameInfo : public ::google::protobuf::MessageLite { inline void set_has_allowspectators(); inline void clear_has_allowspectators(); + ::std::string _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; ::std::string* gamename_; int netgametype_; ::google::protobuf::uint32 maxnumplayers_; @@ -801,10 +813,6 @@ class NetGameInfo : public ::google::protobuf::MessageLite { ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > manualblinds_; mutable int _manualblinds_cached_byte_size_; bool allowspectators_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(15 + 31) / 32]; - #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -830,6 +838,14 @@ class PlayerResult : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const PlayerResult& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -858,13 +874,13 @@ class PlayerResult : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -940,6 +956,10 @@ class PlayerResult : public ::google::protobuf::MessageLite { inline void set_has_cardsvalue(); inline void clear_has_cardsvalue(); + ::std::string _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; ::google::protobuf::uint32 playerid_; ::google::protobuf::uint32 resultcard1_; ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > besthandposition_; @@ -948,10 +968,6 @@ class PlayerResult : public ::google::protobuf::MessageLite { ::google::protobuf::uint32 moneywon_; ::google::protobuf::uint32 playermoney_; ::google::protobuf::uint32 cardsvalue_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(7 + 31) / 32]; - #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -977,6 +993,14 @@ class AnnounceMessage_Version : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const AnnounceMessage_Version& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -1005,13 +1029,13 @@ class AnnounceMessage_Version : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -1039,12 +1063,12 @@ class AnnounceMessage_Version : public ::google::protobuf::MessageLite { inline void set_has_minorversion(); inline void clear_has_minorversion(); + ::std::string _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; ::google::protobuf::uint32 majorversion_; ::google::protobuf::uint32 minorversion_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; - #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -1070,6 +1094,14 @@ class AnnounceMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const AnnounceMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -1098,13 +1130,13 @@ class AnnounceMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -1179,15 +1211,15 @@ class AnnounceMessage : public ::google::protobuf::MessageLite { inline void set_has_numplayersonserver(); inline void clear_has_numplayersonserver(); + ::std::string _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; ::AnnounceMessage_Version* protocolversion_; ::AnnounceMessage_Version* latestgameversion_; ::google::protobuf::uint32 latestbetarevision_; int servertype_; ::google::protobuf::uint32 numplayersonserver_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(5 + 31) / 32]; - #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -1213,6 +1245,14 @@ class InitMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const InitMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -1241,13 +1281,13 @@ class InitMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -1370,6 +1410,10 @@ class InitMessage : public ::google::protobuf::MessageLite { inline void set_has_avatarhash(); inline void clear_has_avatarhash(); + ::std::string _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; ::AnnounceMessage_Version* requestedversion_; ::std::string* mylastsessionid_; ::google::protobuf::uint32 buildid_; @@ -1378,10 +1422,6 @@ class InitMessage : public ::google::protobuf::MessageLite { ::std::string* nickname_; ::std::string* clientuserdata_; ::std::string* avatarhash_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(8 + 31) / 32]; - #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -1407,6 +1447,14 @@ class AuthServerChallengeMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const AuthServerChallengeMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -1435,13 +1483,13 @@ class AuthServerChallengeMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -1465,11 +1513,11 @@ class AuthServerChallengeMessage : public ::google::protobuf::MessageLite { inline void set_has_serverchallenge(); inline void clear_has_serverchallenge(); - ::std::string* serverchallenge_; + ::std::string _unknown_fields_; + ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; - + ::std::string* serverchallenge_; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -1495,6 +1543,14 @@ class AuthClientResponseMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const AuthClientResponseMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -1523,13 +1579,13 @@ class AuthClientResponseMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -1553,11 +1609,11 @@ class AuthClientResponseMessage : public ::google::protobuf::MessageLite { inline void set_has_clientresponse(); inline void clear_has_clientresponse(); - ::std::string* clientresponse_; + ::std::string _unknown_fields_; + ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; - + ::std::string* clientresponse_; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -1583,6 +1639,14 @@ class AuthServerVerificationMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const AuthServerVerificationMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -1611,13 +1675,13 @@ class AuthServerVerificationMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -1641,11 +1705,11 @@ class AuthServerVerificationMessage : public ::google::protobuf::MessageLite { inline void set_has_serververification(); inline void clear_has_serververification(); - ::std::string* serververification_; + ::std::string _unknown_fields_; + ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; - + ::std::string* serververification_; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -1671,6 +1735,14 @@ class InitAckMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const InitAckMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -1699,13 +1771,13 @@ class InitAckMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -1761,14 +1833,14 @@ class InitAckMessage : public ::google::protobuf::MessageLite { inline void set_has_rejoingameid(); inline void clear_has_rejoingameid(); + ::std::string _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; ::std::string* yoursessionid_; ::std::string* youravatarhash_; ::google::protobuf::uint32 yourplayerid_; ::google::protobuf::uint32 rejoingameid_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32]; - #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -1794,6 +1866,14 @@ class AvatarRequestMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const AvatarRequestMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -1822,13 +1902,13 @@ class AvatarRequestMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -1861,12 +1941,12 @@ class AvatarRequestMessage : public ::google::protobuf::MessageLite { inline void set_has_avatarhash(); inline void clear_has_avatarhash(); + ::std::string _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; ::std::string* avatarhash_; ::google::protobuf::uint32 requestid_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; - #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -1892,6 +1972,14 @@ class AvatarHeaderMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const AvatarHeaderMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -1920,13 +2008,13 @@ class AvatarHeaderMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -1963,13 +2051,13 @@ class AvatarHeaderMessage : public ::google::protobuf::MessageLite { inline void set_has_avatarsize(); inline void clear_has_avatarsize(); + ::std::string _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; ::google::protobuf::uint32 requestid_; int avatartype_; ::google::protobuf::uint32 avatarsize_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; - #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -1995,6 +2083,14 @@ class AvatarDataMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const AvatarDataMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -2023,13 +2119,13 @@ class AvatarDataMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -2062,12 +2158,12 @@ class AvatarDataMessage : public ::google::protobuf::MessageLite { inline void set_has_avatarblock(); inline void clear_has_avatarblock(); + ::std::string _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; ::std::string* avatarblock_; ::google::protobuf::uint32 requestid_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; - #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -2093,6 +2189,14 @@ class AvatarEndMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const AvatarEndMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -2121,13 +2225,13 @@ class AvatarEndMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -2146,11 +2250,11 @@ class AvatarEndMessage : public ::google::protobuf::MessageLite { inline void set_has_requestid(); inline void clear_has_requestid(); - ::google::protobuf::uint32 requestid_; + ::std::string _unknown_fields_; + ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; - + ::google::protobuf::uint32 requestid_; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -2176,6 +2280,14 @@ class UnknownAvatarMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const UnknownAvatarMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -2204,13 +2316,13 @@ class UnknownAvatarMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -2229,11 +2341,11 @@ class UnknownAvatarMessage : public ::google::protobuf::MessageLite { inline void set_has_requestid(); inline void clear_has_requestid(); - ::google::protobuf::uint32 requestid_; + ::std::string _unknown_fields_; + ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; - + ::google::protobuf::uint32 requestid_; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -2259,6 +2371,14 @@ class PlayerListMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const PlayerListMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -2287,13 +2407,13 @@ class PlayerListMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -2334,12 +2454,12 @@ class PlayerListMessage : public ::google::protobuf::MessageLite { inline void set_has_playerlistnotification(); inline void clear_has_playerlistnotification(); + ::std::string _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; ::google::protobuf::uint32 playerid_; int playerlistnotification_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; - #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -2365,6 +2485,14 @@ class GameListNewMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const GameListNewMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -2393,13 +2521,13 @@ class GameListNewMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -2480,6 +2608,10 @@ class GameListNewMessage : public ::google::protobuf::MessageLite { inline void set_has_gameinfo(); inline void clear_has_gameinfo(); + ::std::string _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; ::google::protobuf::uint32 gameid_; int gamemode_; ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > playerids_; @@ -2489,10 +2621,6 @@ class GameListNewMessage : public ::google::protobuf::MessageLite { ::NetGameInfo* gameinfo_; ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > spectatorids_; mutable int _spectatorids_cached_byte_size_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(7 + 31) / 32]; - #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -2518,6 +2646,14 @@ class GameListUpdateMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const GameListUpdateMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -2546,13 +2682,13 @@ class GameListUpdateMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -2580,12 +2716,12 @@ class GameListUpdateMessage : public ::google::protobuf::MessageLite { inline void set_has_gamemode(); inline void clear_has_gamemode(); + ::std::string _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; ::google::protobuf::uint32 gameid_; int gamemode_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; - #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -2611,6 +2747,14 @@ class GameListPlayerJoinedMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const GameListPlayerJoinedMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -2639,13 +2783,13 @@ class GameListPlayerJoinedMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -2673,12 +2817,12 @@ class GameListPlayerJoinedMessage : public ::google::protobuf::MessageLite { inline void set_has_playerid(); inline void clear_has_playerid(); + ::std::string _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 playerid_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; - #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -2704,6 +2848,14 @@ class GameListPlayerLeftMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const GameListPlayerLeftMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -2732,13 +2884,13 @@ class GameListPlayerLeftMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -2766,12 +2918,12 @@ class GameListPlayerLeftMessage : public ::google::protobuf::MessageLite { inline void set_has_playerid(); inline void clear_has_playerid(); + ::std::string _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 playerid_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; - #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -2797,6 +2949,14 @@ class GameListSpectatorJoinedMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const GameListSpectatorJoinedMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -2825,13 +2985,13 @@ class GameListSpectatorJoinedMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -2859,12 +3019,12 @@ class GameListSpectatorJoinedMessage : public ::google::protobuf::MessageLite { inline void set_has_playerid(); inline void clear_has_playerid(); + ::std::string _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 playerid_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; - #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -2890,6 +3050,14 @@ class GameListSpectatorLeftMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const GameListSpectatorLeftMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -2918,13 +3086,13 @@ class GameListSpectatorLeftMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -2952,12 +3120,12 @@ class GameListSpectatorLeftMessage : public ::google::protobuf::MessageLite { inline void set_has_playerid(); inline void clear_has_playerid(); + ::std::string _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 playerid_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; - #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -2983,6 +3151,14 @@ class GameListAdminChangedMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const GameListAdminChangedMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -3011,13 +3187,13 @@ class GameListAdminChangedMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -3045,12 +3221,12 @@ class GameListAdminChangedMessage : public ::google::protobuf::MessageLite { inline void set_has_newadminplayerid(); inline void clear_has_newadminplayerid(); + ::std::string _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 newadminplayerid_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; - #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -3076,6 +3252,14 @@ class PlayerInfoRequestMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const PlayerInfoRequestMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -3104,13 +3288,13 @@ class PlayerInfoRequestMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -3132,12 +3316,12 @@ class PlayerInfoRequestMessage : public ::google::protobuf::MessageLite { // @@protoc_insertion_point(class_scope:PlayerInfoRequestMessage) private: + ::std::string _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > playerid_; mutable int _playerid_cached_byte_size_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; - #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -3163,6 +3347,14 @@ class PlayerInfoReplyMessage_PlayerInfoData_AvatarData : public ::google::protob return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const PlayerInfoReplyMessage_PlayerInfoData_AvatarData& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -3191,13 +3383,13 @@ class PlayerInfoReplyMessage_PlayerInfoData_AvatarData : public ::google::protob ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -3230,12 +3422,12 @@ class PlayerInfoReplyMessage_PlayerInfoData_AvatarData : public ::google::protob inline void set_has_avatarhash(); inline void clear_has_avatarhash(); + ::std::string _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; ::std::string* avatarhash_; int avatartype_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; - #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -3261,6 +3453,14 @@ class PlayerInfoReplyMessage_PlayerInfoData : public ::google::protobuf::Message return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const PlayerInfoReplyMessage_PlayerInfoData& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -3289,13 +3489,13 @@ class PlayerInfoReplyMessage_PlayerInfoData : public ::google::protobuf::Message ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -3364,15 +3564,15 @@ class PlayerInfoReplyMessage_PlayerInfoData : public ::google::protobuf::Message inline void set_has_avatardata(); inline void clear_has_avatardata(); + ::std::string _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; ::std::string* playername_; bool ishuman_; int playerrights_; ::std::string* countrycode_; ::PlayerInfoReplyMessage_PlayerInfoData_AvatarData* avatardata_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(5 + 31) / 32]; - #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -3398,6 +3598,14 @@ class PlayerInfoReplyMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const PlayerInfoReplyMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -3426,13 +3634,13 @@ class PlayerInfoReplyMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -3464,12 +3672,12 @@ class PlayerInfoReplyMessage : public ::google::protobuf::MessageLite { inline void set_has_playerinfodata(); inline void clear_has_playerinfodata(); + ::std::string _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; ::PlayerInfoReplyMessage_PlayerInfoData* playerinfodata_; ::google::protobuf::uint32 playerid_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; - #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -3495,6 +3703,14 @@ class SubscriptionRequestMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const SubscriptionRequestMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -3523,13 +3739,13 @@ class SubscriptionRequestMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -3561,11 +3777,11 @@ class SubscriptionRequestMessage : public ::google::protobuf::MessageLite { inline void set_has_subscriptionaction(); inline void clear_has_subscriptionaction(); - int subscriptionaction_; + ::std::string _unknown_fields_; + ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; - + int subscriptionaction_; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -3591,6 +3807,14 @@ class JoinExistingGameMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const JoinExistingGameMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -3619,13 +3843,13 @@ class JoinExistingGameMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -3676,14 +3900,14 @@ class JoinExistingGameMessage : public ::google::protobuf::MessageLite { inline void set_has_spectateonly(); inline void clear_has_spectateonly(); + ::std::string _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; ::std::string* password_; ::google::protobuf::uint32 gameid_; bool autoleave_; bool spectateonly_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32]; - #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -3709,6 +3933,14 @@ class JoinNewGameMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const JoinNewGameMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -3737,13 +3969,13 @@ class JoinNewGameMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -3787,13 +4019,13 @@ class JoinNewGameMessage : public ::google::protobuf::MessageLite { inline void set_has_autoleave(); inline void clear_has_autoleave(); + ::std::string _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; ::NetGameInfo* gameinfo_; ::std::string* password_; bool autoleave_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; - #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -3819,6 +4051,14 @@ class RejoinExistingGameMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const RejoinExistingGameMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -3847,13 +4087,13 @@ class RejoinExistingGameMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -3881,12 +4121,12 @@ class RejoinExistingGameMessage : public ::google::protobuf::MessageLite { inline void set_has_autoleave(); inline void clear_has_autoleave(); + ::std::string _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; ::google::protobuf::uint32 gameid_; bool autoleave_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; - #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -3912,6 +4152,14 @@ class JoinGameAckMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const JoinGameAckMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -3940,13 +4188,13 @@ class JoinGameAckMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -3994,14 +4242,14 @@ class JoinGameAckMessage : public ::google::protobuf::MessageLite { inline void set_has_spectateonly(); inline void clear_has_spectateonly(); + ::std::string _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; ::google::protobuf::uint32 gameid_; bool areyougameadmin_; bool spectateonly_; ::NetGameInfo* gameinfo_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32]; - #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -4027,6 +4275,14 @@ class JoinGameFailedMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const JoinGameFailedMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -4055,13 +4311,13 @@ class JoinGameFailedMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -4112,12 +4368,12 @@ class JoinGameFailedMessage : public ::google::protobuf::MessageLite { inline void set_has_joingamefailurereason(); inline void clear_has_joingamefailurereason(); + ::std::string _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; ::google::protobuf::uint32 gameid_; int joingamefailurereason_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; - #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -4143,6 +4399,14 @@ class GamePlayerJoinedMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const GamePlayerJoinedMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -4171,13 +4435,13 @@ class GamePlayerJoinedMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -4214,13 +4478,13 @@ class GamePlayerJoinedMessage : public ::google::protobuf::MessageLite { inline void set_has_isgameadmin(); inline void clear_has_isgameadmin(); + ::std::string _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 playerid_; bool isgameadmin_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; - #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -4246,6 +4510,14 @@ class GamePlayerLeftMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const GamePlayerLeftMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -4274,13 +4546,13 @@ class GamePlayerLeftMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -4331,13 +4603,13 @@ class GamePlayerLeftMessage : public ::google::protobuf::MessageLite { inline void set_has_gameplayerleftreason(); inline void clear_has_gameplayerleftreason(); + ::std::string _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 playerid_; int gameplayerleftreason_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; - #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -4363,6 +4635,14 @@ class GameSpectatorJoinedMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const GameSpectatorJoinedMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -4391,13 +4671,13 @@ class GameSpectatorJoinedMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -4425,12 +4705,12 @@ class GameSpectatorJoinedMessage : public ::google::protobuf::MessageLite { inline void set_has_playerid(); inline void clear_has_playerid(); + ::std::string _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 playerid_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; - #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -4456,6 +4736,14 @@ class GameSpectatorLeftMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const GameSpectatorLeftMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -4484,13 +4772,13 @@ class GameSpectatorLeftMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -4527,13 +4815,13 @@ class GameSpectatorLeftMessage : public ::google::protobuf::MessageLite { inline void set_has_gamespectatorleftreason(); inline void clear_has_gamespectatorleftreason(); + ::std::string _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 playerid_; int gamespectatorleftreason_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; - #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -4559,6 +4847,14 @@ class GameAdminChangedMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const GameAdminChangedMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -4587,13 +4883,13 @@ class GameAdminChangedMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -4621,12 +4917,12 @@ class GameAdminChangedMessage : public ::google::protobuf::MessageLite { inline void set_has_newadminplayerid(); inline void clear_has_newadminplayerid(); + ::std::string _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 newadminplayerid_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; - #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -4652,6 +4948,14 @@ class RemovedFromGameMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const RemovedFromGameMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -4680,13 +4984,13 @@ class RemovedFromGameMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -4732,12 +5036,12 @@ class RemovedFromGameMessage : public ::google::protobuf::MessageLite { inline void set_has_removedfromgamereason(); inline void clear_has_removedfromgamereason(); + ::std::string _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; ::google::protobuf::uint32 gameid_; int removedfromgamereason_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; - #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -4763,6 +5067,14 @@ class KickPlayerRequestMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const KickPlayerRequestMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -4791,13 +5103,13 @@ class KickPlayerRequestMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -4825,12 +5137,12 @@ class KickPlayerRequestMessage : public ::google::protobuf::MessageLite { inline void set_has_playerid(); inline void clear_has_playerid(); + ::std::string _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 playerid_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; - #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -4856,6 +5168,14 @@ class LeaveGameRequestMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const LeaveGameRequestMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -4884,13 +5204,13 @@ class LeaveGameRequestMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -4909,11 +5229,11 @@ class LeaveGameRequestMessage : public ::google::protobuf::MessageLite { inline void set_has_gameid(); inline void clear_has_gameid(); - ::google::protobuf::uint32 gameid_; + ::std::string _unknown_fields_; + ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; - + ::google::protobuf::uint32 gameid_; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -4939,6 +5259,14 @@ class InvitePlayerToGameMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const InvitePlayerToGameMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -4967,13 +5295,13 @@ class InvitePlayerToGameMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -5001,12 +5329,12 @@ class InvitePlayerToGameMessage : public ::google::protobuf::MessageLite { inline void set_has_playerid(); inline void clear_has_playerid(); + ::std::string _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 playerid_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; - #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -5032,6 +5360,14 @@ class InviteNotifyMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const InviteNotifyMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -5060,13 +5396,13 @@ class InviteNotifyMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -5103,13 +5439,13 @@ class InviteNotifyMessage : public ::google::protobuf::MessageLite { inline void set_has_playeridbywhom(); inline void clear_has_playeridbywhom(); + ::std::string _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 playeridwho_; ::google::protobuf::uint32 playeridbywhom_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; - #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -5135,6 +5471,14 @@ class RejectGameInvitationMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const RejectGameInvitationMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -5163,13 +5507,13 @@ class RejectGameInvitationMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -5210,12 +5554,12 @@ class RejectGameInvitationMessage : public ::google::protobuf::MessageLite { inline void set_has_myrejectreason(); inline void clear_has_myrejectreason(); + ::std::string _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; ::google::protobuf::uint32 gameid_; int myrejectreason_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; - #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -5241,6 +5585,14 @@ class RejectInvNotifyMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const RejectInvNotifyMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -5269,13 +5621,13 @@ class RejectInvNotifyMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -5312,13 +5664,13 @@ class RejectInvNotifyMessage : public ::google::protobuf::MessageLite { inline void set_has_playerrejectreason(); inline void clear_has_playerrejectreason(); + ::std::string _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 playerid_; int playerrejectreason_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; - #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -5344,6 +5696,14 @@ class StartEventMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const StartEventMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -5372,13 +5732,13 @@ class StartEventMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -5428,13 +5788,13 @@ class StartEventMessage : public ::google::protobuf::MessageLite { inline void set_has_fillwithcomputerplayers(); inline void clear_has_fillwithcomputerplayers(); + ::std::string _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; ::google::protobuf::uint32 gameid_; int starteventtype_; bool fillwithcomputerplayers_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; - #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -5460,6 +5820,14 @@ class StartEventAckMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const StartEventAckMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -5488,13 +5856,13 @@ class StartEventAckMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -5513,11 +5881,11 @@ class StartEventAckMessage : public ::google::protobuf::MessageLite { inline void set_has_gameid(); inline void clear_has_gameid(); - ::google::protobuf::uint32 gameid_; + ::std::string _unknown_fields_; + ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; - + ::google::protobuf::uint32 gameid_; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -5543,6 +5911,14 @@ class GameStartInitialMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const GameStartInitialMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -5571,13 +5947,13 @@ class GameStartInitialMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -5617,14 +5993,14 @@ class GameStartInitialMessage : public ::google::protobuf::MessageLite { inline void set_has_startdealerplayerid(); inline void clear_has_startdealerplayerid(); + ::std::string _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 startdealerplayerid_; ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > playerseats_; mutable int _playerseats_cached_byte_size_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; - #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -5650,6 +6026,14 @@ class GameStartRejoinMessage_RejoinPlayerData : public ::google::protobuf::Messa return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const GameStartRejoinMessage_RejoinPlayerData& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -5678,13 +6062,13 @@ class GameStartRejoinMessage_RejoinPlayerData : public ::google::protobuf::Messa ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -5712,12 +6096,12 @@ class GameStartRejoinMessage_RejoinPlayerData : public ::google::protobuf::Messa inline void set_has_playermoney(); inline void clear_has_playermoney(); + ::std::string _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; ::google::protobuf::uint32 playerid_; ::google::protobuf::uint32 playermoney_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; - #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -5743,6 +6127,14 @@ class GameStartRejoinMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const GameStartRejoinMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -5771,13 +6163,13 @@ class GameStartRejoinMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -5828,14 +6220,14 @@ class GameStartRejoinMessage : public ::google::protobuf::MessageLite { inline void set_has_handnum(); inline void clear_has_handnum(); + ::std::string _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 startdealerplayerid_; ::google::protobuf::RepeatedPtrField< ::GameStartRejoinMessage_RejoinPlayerData > rejoinplayerdata_; ::google::protobuf::uint32 handnum_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32]; - #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -5861,6 +6253,14 @@ class HandStartMessage_PlainCards : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const HandStartMessage_PlainCards& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -5889,13 +6289,13 @@ class HandStartMessage_PlainCards : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -5923,12 +6323,12 @@ class HandStartMessage_PlainCards : public ::google::protobuf::MessageLite { inline void set_has_plaincard2(); inline void clear_has_plaincard2(); + ::std::string _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; ::google::protobuf::uint32 plaincard1_; ::google::protobuf::uint32 plaincard2_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; - #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -5954,6 +6354,14 @@ class HandStartMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const HandStartMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -5982,13 +6390,13 @@ class HandStartMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -6062,16 +6470,16 @@ class HandStartMessage : public ::google::protobuf::MessageLite { inline void set_has_dealerplayerid(); inline void clear_has_dealerplayerid(); + ::std::string _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; ::HandStartMessage_PlainCards* plaincards_; ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 smallblind_; ::std::string* encryptedcards_; ::google::protobuf::RepeatedField seatstates_; ::google::protobuf::uint32 dealerplayerid_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(6 + 31) / 32]; - #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -6097,6 +6505,14 @@ class PlayersTurnMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const PlayersTurnMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -6125,13 +6541,13 @@ class PlayersTurnMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -6168,13 +6584,13 @@ class PlayersTurnMessage : public ::google::protobuf::MessageLite { inline void set_has_gamestate(); inline void clear_has_gamestate(); + ::std::string _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 playerid_; int gamestate_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; - #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -6200,6 +6616,14 @@ class MyActionRequestMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const MyActionRequestMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -6228,13 +6652,13 @@ class MyActionRequestMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -6289,15 +6713,15 @@ class MyActionRequestMessage : public ::google::protobuf::MessageLite { inline void set_has_myrelativebet(); inline void clear_has_myrelativebet(); + ::std::string _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 handnum_; int gamestate_; int myaction_; ::google::protobuf::uint32 myrelativebet_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(5 + 31) / 32]; - #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -6323,6 +6747,14 @@ class YourActionRejectedMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const YourActionRejectedMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -6351,13 +6783,13 @@ class YourActionRejectedMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -6426,15 +6858,15 @@ class YourActionRejectedMessage : public ::google::protobuf::MessageLite { inline void set_has_rejectionreason(); inline void clear_has_rejectionreason(); + ::std::string _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; ::google::protobuf::uint32 gameid_; int gamestate_; int youraction_; ::google::protobuf::uint32 yourrelativebet_; int rejectionreason_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(5 + 31) / 32]; - #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -6460,6 +6892,14 @@ class PlayersActionDoneMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const PlayersActionDoneMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -6488,13 +6928,13 @@ class PlayersActionDoneMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -6576,6 +7016,10 @@ class PlayersActionDoneMessage : public ::google::protobuf::MessageLite { inline void set_has_minimumraise(); inline void clear_has_minimumraise(); + ::std::string _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 playerid_; int gamestate_; @@ -6584,10 +7028,6 @@ class PlayersActionDoneMessage : public ::google::protobuf::MessageLite { ::google::protobuf::uint32 playermoney_; ::google::protobuf::uint32 highestset_; ::google::protobuf::uint32 minimumraise_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(8 + 31) / 32]; - #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -6613,6 +7053,14 @@ class DealFlopCardsMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const DealFlopCardsMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -6641,13 +7089,13 @@ class DealFlopCardsMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -6693,14 +7141,14 @@ class DealFlopCardsMessage : public ::google::protobuf::MessageLite { inline void set_has_flopcard3(); inline void clear_has_flopcard3(); + ::std::string _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 flopcard1_; ::google::protobuf::uint32 flopcard2_; ::google::protobuf::uint32 flopcard3_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32]; - #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -6726,6 +7174,14 @@ class DealTurnCardMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const DealTurnCardMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -6754,13 +7210,13 @@ class DealTurnCardMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -6788,12 +7244,12 @@ class DealTurnCardMessage : public ::google::protobuf::MessageLite { inline void set_has_turncard(); inline void clear_has_turncard(); + ::std::string _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 turncard_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; - #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -6819,6 +7275,14 @@ class DealRiverCardMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const DealRiverCardMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -6847,13 +7311,13 @@ class DealRiverCardMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -6881,12 +7345,12 @@ class DealRiverCardMessage : public ::google::protobuf::MessageLite { inline void set_has_rivercard(); inline void clear_has_rivercard(); + ::std::string _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 rivercard_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; - #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -6912,6 +7376,14 @@ class AllInShowCardsMessage_PlayerAllIn : public ::google::protobuf::MessageLite return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const AllInShowCardsMessage_PlayerAllIn& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -6940,13 +7412,13 @@ class AllInShowCardsMessage_PlayerAllIn : public ::google::protobuf::MessageLite ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -6983,13 +7455,13 @@ class AllInShowCardsMessage_PlayerAllIn : public ::google::protobuf::MessageLite inline void set_has_allincard2(); inline void clear_has_allincard2(); + ::std::string _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; ::google::protobuf::uint32 playerid_; ::google::protobuf::uint32 allincard1_; ::google::protobuf::uint32 allincard2_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; - #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -7015,6 +7487,14 @@ class AllInShowCardsMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const AllInShowCardsMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -7043,13 +7523,13 @@ class AllInShowCardsMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -7082,12 +7562,12 @@ class AllInShowCardsMessage : public ::google::protobuf::MessageLite { inline void set_has_gameid(); inline void clear_has_gameid(); + ::std::string _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; ::google::protobuf::RepeatedPtrField< ::AllInShowCardsMessage_PlayerAllIn > playersallin_; ::google::protobuf::uint32 gameid_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; - #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -7113,6 +7593,14 @@ class EndOfHandShowCardsMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const EndOfHandShowCardsMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -7141,13 +7629,13 @@ class EndOfHandShowCardsMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -7178,12 +7666,12 @@ class EndOfHandShowCardsMessage : public ::google::protobuf::MessageLite { inline void set_has_gameid(); inline void clear_has_gameid(); + ::std::string _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; ::google::protobuf::RepeatedPtrField< ::PlayerResult > playerresults_; ::google::protobuf::uint32 gameid_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; - #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -7209,6 +7697,14 @@ class EndOfHandHideCardsMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const EndOfHandHideCardsMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -7237,13 +7733,13 @@ class EndOfHandHideCardsMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -7289,14 +7785,14 @@ class EndOfHandHideCardsMessage : public ::google::protobuf::MessageLite { inline void set_has_playermoney(); inline void clear_has_playermoney(); + ::std::string _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 playerid_; ::google::protobuf::uint32 moneywon_; ::google::protobuf::uint32 playermoney_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32]; - #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -7322,6 +7818,14 @@ class ShowMyCardsRequestMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const ShowMyCardsRequestMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -7350,13 +7854,13 @@ class ShowMyCardsRequestMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -7366,10 +7870,10 @@ class ShowMyCardsRequestMessage : public ::google::protobuf::MessageLite { // @@protoc_insertion_point(class_scope:ShowMyCardsRequestMessage) private: + ::std::string _unknown_fields_; - mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[1]; - + mutable int _cached_size_; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -7395,6 +7899,14 @@ class AfterHandShowCardsMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const AfterHandShowCardsMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -7423,13 +7935,13 @@ class AfterHandShowCardsMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -7450,11 +7962,11 @@ class AfterHandShowCardsMessage : public ::google::protobuf::MessageLite { inline void set_has_playerresult(); inline void clear_has_playerresult(); - ::PlayerResult* playerresult_; + ::std::string _unknown_fields_; + ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; - + ::PlayerResult* playerresult_; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -7480,6 +7992,14 @@ class EndOfGameMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const EndOfGameMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -7508,13 +8028,13 @@ class EndOfGameMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -7542,12 +8062,12 @@ class EndOfGameMessage : public ::google::protobuf::MessageLite { inline void set_has_winnerplayerid(); inline void clear_has_winnerplayerid(); + ::std::string _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 winnerplayerid_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; - #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -7573,6 +8093,14 @@ class PlayerIdChangedMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const PlayerIdChangedMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -7601,13 +8129,13 @@ class PlayerIdChangedMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -7635,12 +8163,12 @@ class PlayerIdChangedMessage : public ::google::protobuf::MessageLite { inline void set_has_newplayerid(); inline void clear_has_newplayerid(); + ::std::string _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; ::google::protobuf::uint32 oldplayerid_; ::google::protobuf::uint32 newplayerid_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; - #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -7666,6 +8194,14 @@ class AskKickPlayerMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const AskKickPlayerMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -7694,13 +8230,13 @@ class AskKickPlayerMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -7728,12 +8264,12 @@ class AskKickPlayerMessage : public ::google::protobuf::MessageLite { inline void set_has_playerid(); inline void clear_has_playerid(); + ::std::string _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 playerid_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; - #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -7759,6 +8295,14 @@ class AskKickDeniedMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const AskKickDeniedMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -7787,13 +8331,13 @@ class AskKickDeniedMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -7846,13 +8390,13 @@ class AskKickDeniedMessage : public ::google::protobuf::MessageLite { inline void set_has_kickdeniedreason(); inline void clear_has_kickdeniedreason(); + ::std::string _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 playerid_; int kickdeniedreason_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; - #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -7878,6 +8422,14 @@ class StartKickPetitionMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const StartKickPetitionMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -7906,13 +8458,13 @@ class StartKickPetitionMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -7976,16 +8528,16 @@ class StartKickPetitionMessage : public ::google::protobuf::MessageLite { inline void set_has_numvotesneededtokick(); inline void clear_has_numvotesneededtokick(); + ::std::string _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 petitionid_; ::google::protobuf::uint32 proposingplayerid_; ::google::protobuf::uint32 kickplayerid_; ::google::protobuf::uint32 kicktimeoutsec_; ::google::protobuf::uint32 numvotesneededtokick_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(6 + 31) / 32]; - #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -8011,6 +8563,14 @@ class VoteKickRequestMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const VoteKickRequestMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -8039,13 +8599,13 @@ class VoteKickRequestMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -8082,13 +8642,13 @@ class VoteKickRequestMessage : public ::google::protobuf::MessageLite { inline void set_has_votekick(); inline void clear_has_votekick(); + ::std::string _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 petitionid_; bool votekick_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; - #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -8114,6 +8674,14 @@ class VoteKickReplyMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const VoteKickReplyMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -8142,13 +8710,13 @@ class VoteKickReplyMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -8199,13 +8767,13 @@ class VoteKickReplyMessage : public ::google::protobuf::MessageLite { inline void set_has_votekickreplytype(); inline void clear_has_votekickreplytype(); + ::std::string _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 petitionid_; int votekickreplytype_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; - #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -8231,6 +8799,14 @@ class KickPetitionUpdateMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const KickPetitionUpdateMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -8259,13 +8835,13 @@ class KickPetitionUpdateMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -8320,15 +8896,15 @@ class KickPetitionUpdateMessage : public ::google::protobuf::MessageLite { inline void set_has_numvotesneededtokick(); inline void clear_has_numvotesneededtokick(); + ::std::string _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 petitionid_; ::google::protobuf::uint32 numvotesagainstkicking_; ::google::protobuf::uint32 numvotesinfavourofkicking_; ::google::protobuf::uint32 numvotesneededtokick_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(5 + 31) / 32]; - #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -8354,6 +8930,14 @@ class EndKickPetitionMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const EndKickPetitionMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -8382,13 +8966,13 @@ class EndKickPetitionMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -8467,16 +9051,16 @@ class EndKickPetitionMessage : public ::google::protobuf::MessageLite { inline void set_has_petitionendreason(); inline void clear_has_petitionendreason(); + ::std::string _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 petitionid_; ::google::protobuf::uint32 numvotesagainstkicking_; ::google::protobuf::uint32 numvotesinfavourofkicking_; ::google::protobuf::uint32 resultplayerkicked_; int petitionendreason_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(6 + 31) / 32]; - #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -8502,6 +9086,14 @@ class StatisticsMessage_StatisticsData : public ::google::protobuf::MessageLite return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const StatisticsMessage_StatisticsData& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -8530,13 +9122,13 @@ class StatisticsMessage_StatisticsData : public ::google::protobuf::MessageLite ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -8576,12 +9168,12 @@ class StatisticsMessage_StatisticsData : public ::google::protobuf::MessageLite inline void set_has_statisticsvalue(); inline void clear_has_statisticsvalue(); + ::std::string _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; int statisticstype_; ::google::protobuf::uint32 statisticsvalue_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; - #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -8607,6 +9199,14 @@ class StatisticsMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const StatisticsMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -8635,13 +9235,13 @@ class StatisticsMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -8665,11 +9265,11 @@ class StatisticsMessage : public ::google::protobuf::MessageLite { // @@protoc_insertion_point(class_scope:StatisticsMessage) private: - ::google::protobuf::RepeatedPtrField< ::StatisticsMessage_StatisticsData > statisticsdata_; + ::std::string _unknown_fields_; + ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; - + ::google::protobuf::RepeatedPtrField< ::StatisticsMessage_StatisticsData > statisticsdata_; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -8695,6 +9295,14 @@ class ChatRequestMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const ChatRequestMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -8723,13 +9331,13 @@ class ChatRequestMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -8771,13 +9379,13 @@ class ChatRequestMessage : public ::google::protobuf::MessageLite { inline void set_has_chattext(); inline void clear_has_chattext(); + ::std::string _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; ::google::protobuf::uint32 targetgameid_; ::google::protobuf::uint32 targetplayerid_; ::std::string* chattext_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; - #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -8803,6 +9411,14 @@ class ChatMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const ChatMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -8831,13 +9447,13 @@ class ChatMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -8904,14 +9520,14 @@ class ChatMessage : public ::google::protobuf::MessageLite { inline void set_has_chattext(); inline void clear_has_chattext(); + ::std::string _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 playerid_; ::std::string* chattext_; int chattype_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32]; - #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -8937,6 +9553,14 @@ class ChatRejectMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const ChatRejectMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -8965,13 +9589,13 @@ class ChatRejectMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -8995,11 +9619,11 @@ class ChatRejectMessage : public ::google::protobuf::MessageLite { inline void set_has_chattext(); inline void clear_has_chattext(); - ::std::string* chattext_; + ::std::string _unknown_fields_; + ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; - + ::std::string* chattext_; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -9025,6 +9649,14 @@ class DialogMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const DialogMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -9053,13 +9685,13 @@ class DialogMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -9083,11 +9715,11 @@ class DialogMessage : public ::google::protobuf::MessageLite { inline void set_has_notificationtext(); inline void clear_has_notificationtext(); - ::std::string* notificationtext_; + ::std::string _unknown_fields_; + ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; - + ::std::string* notificationtext_; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -9113,6 +9745,14 @@ class TimeoutWarningMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const TimeoutWarningMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -9141,13 +9781,13 @@ class TimeoutWarningMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -9189,12 +9829,12 @@ class TimeoutWarningMessage : public ::google::protobuf::MessageLite { inline void set_has_remainingseconds(); inline void clear_has_remainingseconds(); + ::std::string _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; int timeoutreason_; ::google::protobuf::uint32 remainingseconds_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; - #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -9220,6 +9860,14 @@ class ResetTimeoutMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const ResetTimeoutMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -9248,13 +9896,13 @@ class ResetTimeoutMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -9264,10 +9912,10 @@ class ResetTimeoutMessage : public ::google::protobuf::MessageLite { // @@protoc_insertion_point(class_scope:ResetTimeoutMessage) private: + ::std::string _unknown_fields_; - mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[1]; - + mutable int _cached_size_; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -9293,6 +9941,14 @@ class ReportAvatarMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const ReportAvatarMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -9321,13 +9977,13 @@ class ReportAvatarMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -9360,12 +10016,12 @@ class ReportAvatarMessage : public ::google::protobuf::MessageLite { inline void set_has_reportedavatarhash(); inline void clear_has_reportedavatarhash(); + ::std::string _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; ::std::string* reportedavatarhash_; ::google::protobuf::uint32 reportedplayerid_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; - #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -9391,6 +10047,14 @@ class ReportAvatarAckMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const ReportAvatarAckMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -9419,13 +10083,13 @@ class ReportAvatarAckMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -9467,12 +10131,12 @@ class ReportAvatarAckMessage : public ::google::protobuf::MessageLite { inline void set_has_reportavatarresult(); inline void clear_has_reportavatarresult(); + ::std::string _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; ::google::protobuf::uint32 reportedplayerid_; int reportavatarresult_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; - #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -9498,6 +10162,14 @@ class ReportGameMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const ReportGameMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -9526,13 +10198,13 @@ class ReportGameMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -9551,11 +10223,11 @@ class ReportGameMessage : public ::google::protobuf::MessageLite { inline void set_has_reportedgameid(); inline void clear_has_reportedgameid(); - ::google::protobuf::uint32 reportedgameid_; + ::std::string _unknown_fields_; + ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; - + ::google::protobuf::uint32 reportedgameid_; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -9581,6 +10253,14 @@ class ReportGameAckMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const ReportGameAckMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -9609,13 +10289,13 @@ class ReportGameAckMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -9657,12 +10337,12 @@ class ReportGameAckMessage : public ::google::protobuf::MessageLite { inline void set_has_reportgameresult(); inline void clear_has_reportgameresult(); + ::std::string _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; ::google::protobuf::uint32 reportedgameid_; int reportgameresult_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; - #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -9688,6 +10368,14 @@ class ErrorMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const ErrorMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -9716,13 +10404,13 @@ class ErrorMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -9767,11 +10455,11 @@ class ErrorMessage : public ::google::protobuf::MessageLite { inline void set_has_errorreason(); inline void clear_has_errorreason(); - int errorreason_; + ::std::string _unknown_fields_; + ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; - + int errorreason_; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -9797,6 +10485,14 @@ class AdminRemoveGameMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const AdminRemoveGameMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -9825,13 +10521,13 @@ class AdminRemoveGameMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -9850,11 +10546,11 @@ class AdminRemoveGameMessage : public ::google::protobuf::MessageLite { inline void set_has_removegameid(); inline void clear_has_removegameid(); - ::google::protobuf::uint32 removegameid_; + ::std::string _unknown_fields_; + ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; - + ::google::protobuf::uint32 removegameid_; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -9880,6 +10576,14 @@ class AdminRemoveGameAckMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const AdminRemoveGameAckMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -9908,13 +10612,13 @@ class AdminRemoveGameAckMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -9955,12 +10659,12 @@ class AdminRemoveGameAckMessage : public ::google::protobuf::MessageLite { inline void set_has_removegameresult(); inline void clear_has_removegameresult(); + ::std::string _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; ::google::protobuf::uint32 removegameid_; int removegameresult_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; - #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -9986,6 +10690,14 @@ class AdminBanPlayerMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const AdminBanPlayerMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -10014,13 +10726,13 @@ class AdminBanPlayerMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -10039,11 +10751,11 @@ class AdminBanPlayerMessage : public ::google::protobuf::MessageLite { inline void set_has_banplayerid(); inline void clear_has_banplayerid(); - ::google::protobuf::uint32 banplayerid_; + ::std::string _unknown_fields_; + ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; - + ::google::protobuf::uint32 banplayerid_; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -10069,6 +10781,14 @@ class AdminBanPlayerAckMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const AdminBanPlayerAckMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -10097,13 +10817,13 @@ class AdminBanPlayerAckMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -10147,12 +10867,12 @@ class AdminBanPlayerAckMessage : public ::google::protobuf::MessageLite { inline void set_has_banplayerresult(); inline void clear_has_banplayerresult(); + ::std::string _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; ::google::protobuf::uint32 banplayerid_; int banplayerresult_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; - #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -10178,6 +10898,14 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { return *this; } + inline const ::std::string& unknown_fields() const { + return _unknown_fields_; + } + + inline ::std::string* mutable_unknown_fields() { + return &_unknown_fields_; + } + static const PokerTHMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER @@ -10206,13 +10934,13 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; + void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: - ::std::string GetTypeName() const; // nested types ---------------------------------------------------- @@ -11214,6 +11942,10 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { inline void set_has_gamespectatorleftmessage(); inline void clear_has_gamespectatorleftmessage(); + ::std::string _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[3]; + mutable int _cached_size_; ::AnnounceMessage* announcemessage_; ::InitMessage* initmessage_; ::AuthServerChallengeMessage* authserverchallengemessage_; @@ -11296,10 +12028,6 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { ::GameSpectatorJoinedMessage* gamespectatorjoinedmessage_; ::GameSpectatorLeftMessage* gamespectatorleftmessage_; int messagetype_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(82 + 31) / 32]; - #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); #else @@ -11329,54 +12057,59 @@ inline void NetGameInfo::clear_has_gamename() { _has_bits_[0] &= ~0x00000001u; } inline void NetGameInfo::clear_gamename() { - if (gamename_ != &::google::protobuf::internal::kEmptyString) { + if (gamename_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { gamename_->clear(); } clear_has_gamename(); } inline const ::std::string& NetGameInfo::gamename() const { + // @@protoc_insertion_point(field_get:NetGameInfo.gameName) return *gamename_; } inline void NetGameInfo::set_gamename(const ::std::string& value) { set_has_gamename(); - if (gamename_ == &::google::protobuf::internal::kEmptyString) { + if (gamename_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { gamename_ = new ::std::string; } gamename_->assign(value); + // @@protoc_insertion_point(field_set:NetGameInfo.gameName) } inline void NetGameInfo::set_gamename(const char* value) { set_has_gamename(); - if (gamename_ == &::google::protobuf::internal::kEmptyString) { + if (gamename_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { gamename_ = new ::std::string; } gamename_->assign(value); + // @@protoc_insertion_point(field_set_char:NetGameInfo.gameName) } inline void NetGameInfo::set_gamename(const char* value, size_t size) { set_has_gamename(); - if (gamename_ == &::google::protobuf::internal::kEmptyString) { + if (gamename_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { gamename_ = new ::std::string; } gamename_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:NetGameInfo.gameName) } inline ::std::string* NetGameInfo::mutable_gamename() { set_has_gamename(); - if (gamename_ == &::google::protobuf::internal::kEmptyString) { + if (gamename_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { gamename_ = new ::std::string; } + // @@protoc_insertion_point(field_mutable:NetGameInfo.gameName) return gamename_; } inline ::std::string* NetGameInfo::release_gamename() { clear_has_gamename(); - if (gamename_ == &::google::protobuf::internal::kEmptyString) { + if (gamename_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = gamename_; - gamename_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + gamename_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void NetGameInfo::set_allocated_gamename(::std::string* gamename) { - if (gamename_ != &::google::protobuf::internal::kEmptyString) { + if (gamename_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete gamename_; } if (gamename) { @@ -11384,8 +12117,9 @@ inline void NetGameInfo::set_allocated_gamename(::std::string* gamename) { gamename_ = gamename; } else { clear_has_gamename(); - gamename_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + gamename_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } + // @@protoc_insertion_point(field_set_allocated:NetGameInfo.gameName) } // required .NetGameInfo.NetGameType netGameType = 2; @@ -11403,12 +12137,14 @@ inline void NetGameInfo::clear_netgametype() { clear_has_netgametype(); } inline ::NetGameInfo_NetGameType NetGameInfo::netgametype() const { + // @@protoc_insertion_point(field_get:NetGameInfo.netGameType) return static_cast< ::NetGameInfo_NetGameType >(netgametype_); } inline void NetGameInfo::set_netgametype(::NetGameInfo_NetGameType value) { assert(::NetGameInfo_NetGameType_IsValid(value)); set_has_netgametype(); netgametype_ = value; + // @@protoc_insertion_point(field_set:NetGameInfo.netGameType) } // required uint32 maxNumPlayers = 3; @@ -11426,11 +12162,13 @@ inline void NetGameInfo::clear_maxnumplayers() { clear_has_maxnumplayers(); } inline ::google::protobuf::uint32 NetGameInfo::maxnumplayers() const { + // @@protoc_insertion_point(field_get:NetGameInfo.maxNumPlayers) return maxnumplayers_; } inline void NetGameInfo::set_maxnumplayers(::google::protobuf::uint32 value) { set_has_maxnumplayers(); maxnumplayers_ = value; + // @@protoc_insertion_point(field_set:NetGameInfo.maxNumPlayers) } // required .NetGameInfo.RaiseIntervalMode raiseIntervalMode = 4; @@ -11448,12 +12186,14 @@ inline void NetGameInfo::clear_raiseintervalmode() { clear_has_raiseintervalmode(); } inline ::NetGameInfo_RaiseIntervalMode NetGameInfo::raiseintervalmode() const { + // @@protoc_insertion_point(field_get:NetGameInfo.raiseIntervalMode) return static_cast< ::NetGameInfo_RaiseIntervalMode >(raiseintervalmode_); } inline void NetGameInfo::set_raiseintervalmode(::NetGameInfo_RaiseIntervalMode value) { assert(::NetGameInfo_RaiseIntervalMode_IsValid(value)); set_has_raiseintervalmode(); raiseintervalmode_ = value; + // @@protoc_insertion_point(field_set:NetGameInfo.raiseIntervalMode) } // optional uint32 raiseEveryHands = 5; @@ -11471,11 +12211,13 @@ inline void NetGameInfo::clear_raiseeveryhands() { clear_has_raiseeveryhands(); } inline ::google::protobuf::uint32 NetGameInfo::raiseeveryhands() const { + // @@protoc_insertion_point(field_get:NetGameInfo.raiseEveryHands) return raiseeveryhands_; } inline void NetGameInfo::set_raiseeveryhands(::google::protobuf::uint32 value) { set_has_raiseeveryhands(); raiseeveryhands_ = value; + // @@protoc_insertion_point(field_set:NetGameInfo.raiseEveryHands) } // optional uint32 raiseEveryMinutes = 6; @@ -11493,11 +12235,13 @@ inline void NetGameInfo::clear_raiseeveryminutes() { clear_has_raiseeveryminutes(); } inline ::google::protobuf::uint32 NetGameInfo::raiseeveryminutes() const { + // @@protoc_insertion_point(field_get:NetGameInfo.raiseEveryMinutes) return raiseeveryminutes_; } inline void NetGameInfo::set_raiseeveryminutes(::google::protobuf::uint32 value) { set_has_raiseeveryminutes(); raiseeveryminutes_ = value; + // @@protoc_insertion_point(field_set:NetGameInfo.raiseEveryMinutes) } // required .NetGameInfo.EndRaiseMode endRaiseMode = 7; @@ -11515,12 +12259,14 @@ inline void NetGameInfo::clear_endraisemode() { clear_has_endraisemode(); } inline ::NetGameInfo_EndRaiseMode NetGameInfo::endraisemode() const { + // @@protoc_insertion_point(field_get:NetGameInfo.endRaiseMode) return static_cast< ::NetGameInfo_EndRaiseMode >(endraisemode_); } inline void NetGameInfo::set_endraisemode(::NetGameInfo_EndRaiseMode value) { assert(::NetGameInfo_EndRaiseMode_IsValid(value)); set_has_endraisemode(); endraisemode_ = value; + // @@protoc_insertion_point(field_set:NetGameInfo.endRaiseMode) } // optional uint32 endRaiseSmallBlindValue = 8; @@ -11538,11 +12284,13 @@ inline void NetGameInfo::clear_endraisesmallblindvalue() { clear_has_endraisesmallblindvalue(); } inline ::google::protobuf::uint32 NetGameInfo::endraisesmallblindvalue() const { + // @@protoc_insertion_point(field_get:NetGameInfo.endRaiseSmallBlindValue) return endraisesmallblindvalue_; } inline void NetGameInfo::set_endraisesmallblindvalue(::google::protobuf::uint32 value) { set_has_endraisesmallblindvalue(); endraisesmallblindvalue_ = value; + // @@protoc_insertion_point(field_set:NetGameInfo.endRaiseSmallBlindValue) } // required uint32 proposedGuiSpeed = 9; @@ -11560,11 +12308,13 @@ inline void NetGameInfo::clear_proposedguispeed() { clear_has_proposedguispeed(); } inline ::google::protobuf::uint32 NetGameInfo::proposedguispeed() const { + // @@protoc_insertion_point(field_get:NetGameInfo.proposedGuiSpeed) return proposedguispeed_; } inline void NetGameInfo::set_proposedguispeed(::google::protobuf::uint32 value) { set_has_proposedguispeed(); proposedguispeed_ = value; + // @@protoc_insertion_point(field_set:NetGameInfo.proposedGuiSpeed) } // required uint32 delayBetweenHands = 10; @@ -11582,11 +12332,13 @@ inline void NetGameInfo::clear_delaybetweenhands() { clear_has_delaybetweenhands(); } inline ::google::protobuf::uint32 NetGameInfo::delaybetweenhands() const { + // @@protoc_insertion_point(field_get:NetGameInfo.delayBetweenHands) return delaybetweenhands_; } inline void NetGameInfo::set_delaybetweenhands(::google::protobuf::uint32 value) { set_has_delaybetweenhands(); delaybetweenhands_ = value; + // @@protoc_insertion_point(field_set:NetGameInfo.delayBetweenHands) } // required uint32 playerActionTimeout = 11; @@ -11604,11 +12356,13 @@ inline void NetGameInfo::clear_playeractiontimeout() { clear_has_playeractiontimeout(); } inline ::google::protobuf::uint32 NetGameInfo::playeractiontimeout() const { + // @@protoc_insertion_point(field_get:NetGameInfo.playerActionTimeout) return playeractiontimeout_; } inline void NetGameInfo::set_playeractiontimeout(::google::protobuf::uint32 value) { set_has_playeractiontimeout(); playeractiontimeout_ = value; + // @@protoc_insertion_point(field_set:NetGameInfo.playerActionTimeout) } // required uint32 firstSmallBlind = 12; @@ -11626,11 +12380,13 @@ inline void NetGameInfo::clear_firstsmallblind() { clear_has_firstsmallblind(); } inline ::google::protobuf::uint32 NetGameInfo::firstsmallblind() const { + // @@protoc_insertion_point(field_get:NetGameInfo.firstSmallBlind) return firstsmallblind_; } inline void NetGameInfo::set_firstsmallblind(::google::protobuf::uint32 value) { set_has_firstsmallblind(); firstsmallblind_ = value; + // @@protoc_insertion_point(field_set:NetGameInfo.firstSmallBlind) } // required uint32 startMoney = 13; @@ -11648,11 +12404,13 @@ inline void NetGameInfo::clear_startmoney() { clear_has_startmoney(); } inline ::google::protobuf::uint32 NetGameInfo::startmoney() const { + // @@protoc_insertion_point(field_get:NetGameInfo.startMoney) return startmoney_; } inline void NetGameInfo::set_startmoney(::google::protobuf::uint32 value) { set_has_startmoney(); startmoney_ = value; + // @@protoc_insertion_point(field_set:NetGameInfo.startMoney) } // repeated uint32 manualBlinds = 14 [packed = true]; @@ -11663,20 +12421,25 @@ inline void NetGameInfo::clear_manualblinds() { manualblinds_.Clear(); } inline ::google::protobuf::uint32 NetGameInfo::manualblinds(int index) const { + // @@protoc_insertion_point(field_get:NetGameInfo.manualBlinds) return manualblinds_.Get(index); } inline void NetGameInfo::set_manualblinds(int index, ::google::protobuf::uint32 value) { manualblinds_.Set(index, value); + // @@protoc_insertion_point(field_set:NetGameInfo.manualBlinds) } inline void NetGameInfo::add_manualblinds(::google::protobuf::uint32 value) { manualblinds_.Add(value); + // @@protoc_insertion_point(field_add:NetGameInfo.manualBlinds) } inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& NetGameInfo::manualblinds() const { + // @@protoc_insertion_point(field_list:NetGameInfo.manualBlinds) return manualblinds_; } inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* NetGameInfo::mutable_manualblinds() { + // @@protoc_insertion_point(field_mutable_list:NetGameInfo.manualBlinds) return &manualblinds_; } @@ -11695,11 +12458,13 @@ inline void NetGameInfo::clear_allowspectators() { clear_has_allowspectators(); } inline bool NetGameInfo::allowspectators() const { + // @@protoc_insertion_point(field_get:NetGameInfo.allowSpectators) return allowspectators_; } inline void NetGameInfo::set_allowspectators(bool value) { set_has_allowspectators(); allowspectators_ = value; + // @@protoc_insertion_point(field_set:NetGameInfo.allowSpectators) } // ------------------------------------------------------------------- @@ -11721,11 +12486,13 @@ inline void PlayerResult::clear_playerid() { clear_has_playerid(); } inline ::google::protobuf::uint32 PlayerResult::playerid() const { + // @@protoc_insertion_point(field_get:PlayerResult.playerId) return playerid_; } inline void PlayerResult::set_playerid(::google::protobuf::uint32 value) { set_has_playerid(); playerid_ = value; + // @@protoc_insertion_point(field_set:PlayerResult.playerId) } // required uint32 resultCard1 = 2; @@ -11743,11 +12510,13 @@ inline void PlayerResult::clear_resultcard1() { clear_has_resultcard1(); } inline ::google::protobuf::uint32 PlayerResult::resultcard1() const { + // @@protoc_insertion_point(field_get:PlayerResult.resultCard1) return resultcard1_; } inline void PlayerResult::set_resultcard1(::google::protobuf::uint32 value) { set_has_resultcard1(); resultcard1_ = value; + // @@protoc_insertion_point(field_set:PlayerResult.resultCard1) } // required uint32 resultCard2 = 3; @@ -11765,11 +12534,13 @@ inline void PlayerResult::clear_resultcard2() { clear_has_resultcard2(); } inline ::google::protobuf::uint32 PlayerResult::resultcard2() const { + // @@protoc_insertion_point(field_get:PlayerResult.resultCard2) return resultcard2_; } inline void PlayerResult::set_resultcard2(::google::protobuf::uint32 value) { set_has_resultcard2(); resultcard2_ = value; + // @@protoc_insertion_point(field_set:PlayerResult.resultCard2) } // repeated uint32 bestHandPosition = 4 [packed = true]; @@ -11780,20 +12551,25 @@ inline void PlayerResult::clear_besthandposition() { besthandposition_.Clear(); } inline ::google::protobuf::uint32 PlayerResult::besthandposition(int index) const { + // @@protoc_insertion_point(field_get:PlayerResult.bestHandPosition) return besthandposition_.Get(index); } inline void PlayerResult::set_besthandposition(int index, ::google::protobuf::uint32 value) { besthandposition_.Set(index, value); + // @@protoc_insertion_point(field_set:PlayerResult.bestHandPosition) } inline void PlayerResult::add_besthandposition(::google::protobuf::uint32 value) { besthandposition_.Add(value); + // @@protoc_insertion_point(field_add:PlayerResult.bestHandPosition) } inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& PlayerResult::besthandposition() const { + // @@protoc_insertion_point(field_list:PlayerResult.bestHandPosition) return besthandposition_; } inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* PlayerResult::mutable_besthandposition() { + // @@protoc_insertion_point(field_mutable_list:PlayerResult.bestHandPosition) return &besthandposition_; } @@ -11812,11 +12588,13 @@ inline void PlayerResult::clear_moneywon() { clear_has_moneywon(); } inline ::google::protobuf::uint32 PlayerResult::moneywon() const { + // @@protoc_insertion_point(field_get:PlayerResult.moneyWon) return moneywon_; } inline void PlayerResult::set_moneywon(::google::protobuf::uint32 value) { set_has_moneywon(); moneywon_ = value; + // @@protoc_insertion_point(field_set:PlayerResult.moneyWon) } // required uint32 playerMoney = 6; @@ -11834,11 +12612,13 @@ inline void PlayerResult::clear_playermoney() { clear_has_playermoney(); } inline ::google::protobuf::uint32 PlayerResult::playermoney() const { + // @@protoc_insertion_point(field_get:PlayerResult.playerMoney) return playermoney_; } inline void PlayerResult::set_playermoney(::google::protobuf::uint32 value) { set_has_playermoney(); playermoney_ = value; + // @@protoc_insertion_point(field_set:PlayerResult.playerMoney) } // optional uint32 cardsValue = 7; @@ -11856,11 +12636,13 @@ inline void PlayerResult::clear_cardsvalue() { clear_has_cardsvalue(); } inline ::google::protobuf::uint32 PlayerResult::cardsvalue() const { + // @@protoc_insertion_point(field_get:PlayerResult.cardsValue) return cardsvalue_; } inline void PlayerResult::set_cardsvalue(::google::protobuf::uint32 value) { set_has_cardsvalue(); cardsvalue_ = value; + // @@protoc_insertion_point(field_set:PlayerResult.cardsValue) } // ------------------------------------------------------------------- @@ -11882,11 +12664,13 @@ inline void AnnounceMessage_Version::clear_majorversion() { clear_has_majorversion(); } inline ::google::protobuf::uint32 AnnounceMessage_Version::majorversion() const { + // @@protoc_insertion_point(field_get:AnnounceMessage.Version.majorVersion) return majorversion_; } inline void AnnounceMessage_Version::set_majorversion(::google::protobuf::uint32 value) { set_has_majorversion(); majorversion_ = value; + // @@protoc_insertion_point(field_set:AnnounceMessage.Version.majorVersion) } // required uint32 minorVersion = 2; @@ -11904,11 +12688,13 @@ inline void AnnounceMessage_Version::clear_minorversion() { clear_has_minorversion(); } inline ::google::protobuf::uint32 AnnounceMessage_Version::minorversion() const { + // @@protoc_insertion_point(field_get:AnnounceMessage.Version.minorVersion) return minorversion_; } inline void AnnounceMessage_Version::set_minorversion(::google::protobuf::uint32 value) { set_has_minorversion(); minorversion_ = value; + // @@protoc_insertion_point(field_set:AnnounceMessage.Version.minorVersion) } // ------------------------------------------------------------------- @@ -11930,6 +12716,7 @@ inline void AnnounceMessage::clear_protocolversion() { clear_has_protocolversion(); } inline const ::AnnounceMessage_Version& AnnounceMessage::protocolversion() const { + // @@protoc_insertion_point(field_get:AnnounceMessage.protocolVersion) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return protocolversion_ != NULL ? *protocolversion_ : *default_instance().protocolversion_; #else @@ -11939,6 +12726,7 @@ inline const ::AnnounceMessage_Version& AnnounceMessage::protocolversion() const inline ::AnnounceMessage_Version* AnnounceMessage::mutable_protocolversion() { set_has_protocolversion(); if (protocolversion_ == NULL) protocolversion_ = new ::AnnounceMessage_Version; + // @@protoc_insertion_point(field_mutable:AnnounceMessage.protocolVersion) return protocolversion_; } inline ::AnnounceMessage_Version* AnnounceMessage::release_protocolversion() { @@ -11955,6 +12743,7 @@ inline void AnnounceMessage::set_allocated_protocolversion(::AnnounceMessage_Ver } else { clear_has_protocolversion(); } + // @@protoc_insertion_point(field_set_allocated:AnnounceMessage.protocolVersion) } // required .AnnounceMessage.Version latestGameVersion = 2; @@ -11972,6 +12761,7 @@ inline void AnnounceMessage::clear_latestgameversion() { clear_has_latestgameversion(); } inline const ::AnnounceMessage_Version& AnnounceMessage::latestgameversion() const { + // @@protoc_insertion_point(field_get:AnnounceMessage.latestGameVersion) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return latestgameversion_ != NULL ? *latestgameversion_ : *default_instance().latestgameversion_; #else @@ -11981,6 +12771,7 @@ inline const ::AnnounceMessage_Version& AnnounceMessage::latestgameversion() con inline ::AnnounceMessage_Version* AnnounceMessage::mutable_latestgameversion() { set_has_latestgameversion(); if (latestgameversion_ == NULL) latestgameversion_ = new ::AnnounceMessage_Version; + // @@protoc_insertion_point(field_mutable:AnnounceMessage.latestGameVersion) return latestgameversion_; } inline ::AnnounceMessage_Version* AnnounceMessage::release_latestgameversion() { @@ -11997,6 +12788,7 @@ inline void AnnounceMessage::set_allocated_latestgameversion(::AnnounceMessage_V } else { clear_has_latestgameversion(); } + // @@protoc_insertion_point(field_set_allocated:AnnounceMessage.latestGameVersion) } // required uint32 latestBetaRevision = 3; @@ -12014,11 +12806,13 @@ inline void AnnounceMessage::clear_latestbetarevision() { clear_has_latestbetarevision(); } inline ::google::protobuf::uint32 AnnounceMessage::latestbetarevision() const { + // @@protoc_insertion_point(field_get:AnnounceMessage.latestBetaRevision) return latestbetarevision_; } inline void AnnounceMessage::set_latestbetarevision(::google::protobuf::uint32 value) { set_has_latestbetarevision(); latestbetarevision_ = value; + // @@protoc_insertion_point(field_set:AnnounceMessage.latestBetaRevision) } // required .AnnounceMessage.ServerType serverType = 4; @@ -12036,12 +12830,14 @@ inline void AnnounceMessage::clear_servertype() { clear_has_servertype(); } inline ::AnnounceMessage_ServerType AnnounceMessage::servertype() const { + // @@protoc_insertion_point(field_get:AnnounceMessage.serverType) return static_cast< ::AnnounceMessage_ServerType >(servertype_); } inline void AnnounceMessage::set_servertype(::AnnounceMessage_ServerType value) { assert(::AnnounceMessage_ServerType_IsValid(value)); set_has_servertype(); servertype_ = value; + // @@protoc_insertion_point(field_set:AnnounceMessage.serverType) } // required uint32 numPlayersOnServer = 5; @@ -12059,11 +12855,13 @@ inline void AnnounceMessage::clear_numplayersonserver() { clear_has_numplayersonserver(); } inline ::google::protobuf::uint32 AnnounceMessage::numplayersonserver() const { + // @@protoc_insertion_point(field_get:AnnounceMessage.numPlayersOnServer) return numplayersonserver_; } inline void AnnounceMessage::set_numplayersonserver(::google::protobuf::uint32 value) { set_has_numplayersonserver(); numplayersonserver_ = value; + // @@protoc_insertion_point(field_set:AnnounceMessage.numPlayersOnServer) } // ------------------------------------------------------------------- @@ -12085,6 +12883,7 @@ inline void InitMessage::clear_requestedversion() { clear_has_requestedversion(); } inline const ::AnnounceMessage_Version& InitMessage::requestedversion() const { + // @@protoc_insertion_point(field_get:InitMessage.requestedVersion) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return requestedversion_ != NULL ? *requestedversion_ : *default_instance().requestedversion_; #else @@ -12094,6 +12893,7 @@ inline const ::AnnounceMessage_Version& InitMessage::requestedversion() const { inline ::AnnounceMessage_Version* InitMessage::mutable_requestedversion() { set_has_requestedversion(); if (requestedversion_ == NULL) requestedversion_ = new ::AnnounceMessage_Version; + // @@protoc_insertion_point(field_mutable:InitMessage.requestedVersion) return requestedversion_; } inline ::AnnounceMessage_Version* InitMessage::release_requestedversion() { @@ -12110,6 +12910,7 @@ inline void InitMessage::set_allocated_requestedversion(::AnnounceMessage_Versio } else { clear_has_requestedversion(); } + // @@protoc_insertion_point(field_set_allocated:InitMessage.requestedVersion) } // required uint32 buildId = 2; @@ -12127,11 +12928,13 @@ inline void InitMessage::clear_buildid() { clear_has_buildid(); } inline ::google::protobuf::uint32 InitMessage::buildid() const { + // @@protoc_insertion_point(field_get:InitMessage.buildId) return buildid_; } inline void InitMessage::set_buildid(::google::protobuf::uint32 value) { set_has_buildid(); buildid_ = value; + // @@protoc_insertion_point(field_set:InitMessage.buildId) } // optional bytes myLastSessionId = 3; @@ -12145,54 +12948,59 @@ inline void InitMessage::clear_has_mylastsessionid() { _has_bits_[0] &= ~0x00000004u; } inline void InitMessage::clear_mylastsessionid() { - if (mylastsessionid_ != &::google::protobuf::internal::kEmptyString) { + if (mylastsessionid_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { mylastsessionid_->clear(); } clear_has_mylastsessionid(); } inline const ::std::string& InitMessage::mylastsessionid() const { + // @@protoc_insertion_point(field_get:InitMessage.myLastSessionId) return *mylastsessionid_; } inline void InitMessage::set_mylastsessionid(const ::std::string& value) { set_has_mylastsessionid(); - if (mylastsessionid_ == &::google::protobuf::internal::kEmptyString) { + if (mylastsessionid_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { mylastsessionid_ = new ::std::string; } mylastsessionid_->assign(value); + // @@protoc_insertion_point(field_set:InitMessage.myLastSessionId) } inline void InitMessage::set_mylastsessionid(const char* value) { set_has_mylastsessionid(); - if (mylastsessionid_ == &::google::protobuf::internal::kEmptyString) { + if (mylastsessionid_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { mylastsessionid_ = new ::std::string; } mylastsessionid_->assign(value); + // @@protoc_insertion_point(field_set_char:InitMessage.myLastSessionId) } inline void InitMessage::set_mylastsessionid(const void* value, size_t size) { set_has_mylastsessionid(); - if (mylastsessionid_ == &::google::protobuf::internal::kEmptyString) { + if (mylastsessionid_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { mylastsessionid_ = new ::std::string; } mylastsessionid_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:InitMessage.myLastSessionId) } inline ::std::string* InitMessage::mutable_mylastsessionid() { set_has_mylastsessionid(); - if (mylastsessionid_ == &::google::protobuf::internal::kEmptyString) { + if (mylastsessionid_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { mylastsessionid_ = new ::std::string; } + // @@protoc_insertion_point(field_mutable:InitMessage.myLastSessionId) return mylastsessionid_; } inline ::std::string* InitMessage::release_mylastsessionid() { clear_has_mylastsessionid(); - if (mylastsessionid_ == &::google::protobuf::internal::kEmptyString) { + if (mylastsessionid_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = mylastsessionid_; - mylastsessionid_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + mylastsessionid_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void InitMessage::set_allocated_mylastsessionid(::std::string* mylastsessionid) { - if (mylastsessionid_ != &::google::protobuf::internal::kEmptyString) { + if (mylastsessionid_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete mylastsessionid_; } if (mylastsessionid) { @@ -12200,8 +13008,9 @@ inline void InitMessage::set_allocated_mylastsessionid(::std::string* mylastsess mylastsessionid_ = mylastsessionid; } else { clear_has_mylastsessionid(); - mylastsessionid_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + mylastsessionid_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } + // @@protoc_insertion_point(field_set_allocated:InitMessage.myLastSessionId) } // optional string authServerPassword = 4; @@ -12215,54 +13024,59 @@ inline void InitMessage::clear_has_authserverpassword() { _has_bits_[0] &= ~0x00000008u; } inline void InitMessage::clear_authserverpassword() { - if (authserverpassword_ != &::google::protobuf::internal::kEmptyString) { + if (authserverpassword_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { authserverpassword_->clear(); } clear_has_authserverpassword(); } inline const ::std::string& InitMessage::authserverpassword() const { + // @@protoc_insertion_point(field_get:InitMessage.authServerPassword) return *authserverpassword_; } inline void InitMessage::set_authserverpassword(const ::std::string& value) { set_has_authserverpassword(); - if (authserverpassword_ == &::google::protobuf::internal::kEmptyString) { + if (authserverpassword_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { authserverpassword_ = new ::std::string; } authserverpassword_->assign(value); + // @@protoc_insertion_point(field_set:InitMessage.authServerPassword) } inline void InitMessage::set_authserverpassword(const char* value) { set_has_authserverpassword(); - if (authserverpassword_ == &::google::protobuf::internal::kEmptyString) { + if (authserverpassword_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { authserverpassword_ = new ::std::string; } authserverpassword_->assign(value); + // @@protoc_insertion_point(field_set_char:InitMessage.authServerPassword) } inline void InitMessage::set_authserverpassword(const char* value, size_t size) { set_has_authserverpassword(); - if (authserverpassword_ == &::google::protobuf::internal::kEmptyString) { + if (authserverpassword_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { authserverpassword_ = new ::std::string; } authserverpassword_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:InitMessage.authServerPassword) } inline ::std::string* InitMessage::mutable_authserverpassword() { set_has_authserverpassword(); - if (authserverpassword_ == &::google::protobuf::internal::kEmptyString) { + if (authserverpassword_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { authserverpassword_ = new ::std::string; } + // @@protoc_insertion_point(field_mutable:InitMessage.authServerPassword) return authserverpassword_; } inline ::std::string* InitMessage::release_authserverpassword() { clear_has_authserverpassword(); - if (authserverpassword_ == &::google::protobuf::internal::kEmptyString) { + if (authserverpassword_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = authserverpassword_; - authserverpassword_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + authserverpassword_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void InitMessage::set_allocated_authserverpassword(::std::string* authserverpassword) { - if (authserverpassword_ != &::google::protobuf::internal::kEmptyString) { + if (authserverpassword_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete authserverpassword_; } if (authserverpassword) { @@ -12270,8 +13084,9 @@ inline void InitMessage::set_allocated_authserverpassword(::std::string* authser authserverpassword_ = authserverpassword; } else { clear_has_authserverpassword(); - authserverpassword_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + authserverpassword_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } + // @@protoc_insertion_point(field_set_allocated:InitMessage.authServerPassword) } // required .InitMessage.LoginType login = 5; @@ -12289,12 +13104,14 @@ inline void InitMessage::clear_login() { clear_has_login(); } inline ::InitMessage_LoginType InitMessage::login() const { + // @@protoc_insertion_point(field_get:InitMessage.login) return static_cast< ::InitMessage_LoginType >(login_); } inline void InitMessage::set_login(::InitMessage_LoginType value) { assert(::InitMessage_LoginType_IsValid(value)); set_has_login(); login_ = value; + // @@protoc_insertion_point(field_set:InitMessage.login) } // optional string nickName = 6; @@ -12308,54 +13125,59 @@ inline void InitMessage::clear_has_nickname() { _has_bits_[0] &= ~0x00000020u; } inline void InitMessage::clear_nickname() { - if (nickname_ != &::google::protobuf::internal::kEmptyString) { + if (nickname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { nickname_->clear(); } clear_has_nickname(); } inline const ::std::string& InitMessage::nickname() const { + // @@protoc_insertion_point(field_get:InitMessage.nickName) return *nickname_; } inline void InitMessage::set_nickname(const ::std::string& value) { set_has_nickname(); - if (nickname_ == &::google::protobuf::internal::kEmptyString) { + if (nickname_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { nickname_ = new ::std::string; } nickname_->assign(value); + // @@protoc_insertion_point(field_set:InitMessage.nickName) } inline void InitMessage::set_nickname(const char* value) { set_has_nickname(); - if (nickname_ == &::google::protobuf::internal::kEmptyString) { + if (nickname_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { nickname_ = new ::std::string; } nickname_->assign(value); + // @@protoc_insertion_point(field_set_char:InitMessage.nickName) } inline void InitMessage::set_nickname(const char* value, size_t size) { set_has_nickname(); - if (nickname_ == &::google::protobuf::internal::kEmptyString) { + if (nickname_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { nickname_ = new ::std::string; } nickname_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:InitMessage.nickName) } inline ::std::string* InitMessage::mutable_nickname() { set_has_nickname(); - if (nickname_ == &::google::protobuf::internal::kEmptyString) { + if (nickname_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { nickname_ = new ::std::string; } + // @@protoc_insertion_point(field_mutable:InitMessage.nickName) return nickname_; } inline ::std::string* InitMessage::release_nickname() { clear_has_nickname(); - if (nickname_ == &::google::protobuf::internal::kEmptyString) { + if (nickname_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = nickname_; - nickname_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + nickname_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void InitMessage::set_allocated_nickname(::std::string* nickname) { - if (nickname_ != &::google::protobuf::internal::kEmptyString) { + if (nickname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete nickname_; } if (nickname) { @@ -12363,8 +13185,9 @@ inline void InitMessage::set_allocated_nickname(::std::string* nickname) { nickname_ = nickname; } else { clear_has_nickname(); - nickname_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + nickname_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } + // @@protoc_insertion_point(field_set_allocated:InitMessage.nickName) } // optional bytes clientUserData = 7; @@ -12378,54 +13201,59 @@ inline void InitMessage::clear_has_clientuserdata() { _has_bits_[0] &= ~0x00000040u; } inline void InitMessage::clear_clientuserdata() { - if (clientuserdata_ != &::google::protobuf::internal::kEmptyString) { + if (clientuserdata_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { clientuserdata_->clear(); } clear_has_clientuserdata(); } inline const ::std::string& InitMessage::clientuserdata() const { + // @@protoc_insertion_point(field_get:InitMessage.clientUserData) return *clientuserdata_; } inline void InitMessage::set_clientuserdata(const ::std::string& value) { set_has_clientuserdata(); - if (clientuserdata_ == &::google::protobuf::internal::kEmptyString) { + if (clientuserdata_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { clientuserdata_ = new ::std::string; } clientuserdata_->assign(value); + // @@protoc_insertion_point(field_set:InitMessage.clientUserData) } inline void InitMessage::set_clientuserdata(const char* value) { set_has_clientuserdata(); - if (clientuserdata_ == &::google::protobuf::internal::kEmptyString) { + if (clientuserdata_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { clientuserdata_ = new ::std::string; } clientuserdata_->assign(value); + // @@protoc_insertion_point(field_set_char:InitMessage.clientUserData) } inline void InitMessage::set_clientuserdata(const void* value, size_t size) { set_has_clientuserdata(); - if (clientuserdata_ == &::google::protobuf::internal::kEmptyString) { + if (clientuserdata_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { clientuserdata_ = new ::std::string; } clientuserdata_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:InitMessage.clientUserData) } inline ::std::string* InitMessage::mutable_clientuserdata() { set_has_clientuserdata(); - if (clientuserdata_ == &::google::protobuf::internal::kEmptyString) { + if (clientuserdata_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { clientuserdata_ = new ::std::string; } + // @@protoc_insertion_point(field_mutable:InitMessage.clientUserData) return clientuserdata_; } inline ::std::string* InitMessage::release_clientuserdata() { clear_has_clientuserdata(); - if (clientuserdata_ == &::google::protobuf::internal::kEmptyString) { + if (clientuserdata_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = clientuserdata_; - clientuserdata_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + clientuserdata_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void InitMessage::set_allocated_clientuserdata(::std::string* clientuserdata) { - if (clientuserdata_ != &::google::protobuf::internal::kEmptyString) { + if (clientuserdata_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete clientuserdata_; } if (clientuserdata) { @@ -12433,8 +13261,9 @@ inline void InitMessage::set_allocated_clientuserdata(::std::string* clientuserd clientuserdata_ = clientuserdata; } else { clear_has_clientuserdata(); - clientuserdata_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + clientuserdata_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } + // @@protoc_insertion_point(field_set_allocated:InitMessage.clientUserData) } // optional bytes avatarHash = 8; @@ -12448,54 +13277,59 @@ inline void InitMessage::clear_has_avatarhash() { _has_bits_[0] &= ~0x00000080u; } inline void InitMessage::clear_avatarhash() { - if (avatarhash_ != &::google::protobuf::internal::kEmptyString) { + if (avatarhash_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { avatarhash_->clear(); } clear_has_avatarhash(); } inline const ::std::string& InitMessage::avatarhash() const { + // @@protoc_insertion_point(field_get:InitMessage.avatarHash) return *avatarhash_; } inline void InitMessage::set_avatarhash(const ::std::string& value) { set_has_avatarhash(); - if (avatarhash_ == &::google::protobuf::internal::kEmptyString) { + if (avatarhash_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { avatarhash_ = new ::std::string; } avatarhash_->assign(value); + // @@protoc_insertion_point(field_set:InitMessage.avatarHash) } inline void InitMessage::set_avatarhash(const char* value) { set_has_avatarhash(); - if (avatarhash_ == &::google::protobuf::internal::kEmptyString) { + if (avatarhash_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { avatarhash_ = new ::std::string; } avatarhash_->assign(value); + // @@protoc_insertion_point(field_set_char:InitMessage.avatarHash) } inline void InitMessage::set_avatarhash(const void* value, size_t size) { set_has_avatarhash(); - if (avatarhash_ == &::google::protobuf::internal::kEmptyString) { + if (avatarhash_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { avatarhash_ = new ::std::string; } avatarhash_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:InitMessage.avatarHash) } inline ::std::string* InitMessage::mutable_avatarhash() { set_has_avatarhash(); - if (avatarhash_ == &::google::protobuf::internal::kEmptyString) { + if (avatarhash_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { avatarhash_ = new ::std::string; } + // @@protoc_insertion_point(field_mutable:InitMessage.avatarHash) return avatarhash_; } inline ::std::string* InitMessage::release_avatarhash() { clear_has_avatarhash(); - if (avatarhash_ == &::google::protobuf::internal::kEmptyString) { + if (avatarhash_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = avatarhash_; - avatarhash_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + avatarhash_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void InitMessage::set_allocated_avatarhash(::std::string* avatarhash) { - if (avatarhash_ != &::google::protobuf::internal::kEmptyString) { + if (avatarhash_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete avatarhash_; } if (avatarhash) { @@ -12503,8 +13337,9 @@ inline void InitMessage::set_allocated_avatarhash(::std::string* avatarhash) { avatarhash_ = avatarhash; } else { clear_has_avatarhash(); - avatarhash_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + avatarhash_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } + // @@protoc_insertion_point(field_set_allocated:InitMessage.avatarHash) } // ------------------------------------------------------------------- @@ -12522,54 +13357,59 @@ inline void AuthServerChallengeMessage::clear_has_serverchallenge() { _has_bits_[0] &= ~0x00000001u; } inline void AuthServerChallengeMessage::clear_serverchallenge() { - if (serverchallenge_ != &::google::protobuf::internal::kEmptyString) { + if (serverchallenge_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { serverchallenge_->clear(); } clear_has_serverchallenge(); } inline const ::std::string& AuthServerChallengeMessage::serverchallenge() const { + // @@protoc_insertion_point(field_get:AuthServerChallengeMessage.serverChallenge) return *serverchallenge_; } inline void AuthServerChallengeMessage::set_serverchallenge(const ::std::string& value) { set_has_serverchallenge(); - if (serverchallenge_ == &::google::protobuf::internal::kEmptyString) { + if (serverchallenge_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { serverchallenge_ = new ::std::string; } serverchallenge_->assign(value); + // @@protoc_insertion_point(field_set:AuthServerChallengeMessage.serverChallenge) } inline void AuthServerChallengeMessage::set_serverchallenge(const char* value) { set_has_serverchallenge(); - if (serverchallenge_ == &::google::protobuf::internal::kEmptyString) { + if (serverchallenge_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { serverchallenge_ = new ::std::string; } serverchallenge_->assign(value); + // @@protoc_insertion_point(field_set_char:AuthServerChallengeMessage.serverChallenge) } inline void AuthServerChallengeMessage::set_serverchallenge(const void* value, size_t size) { set_has_serverchallenge(); - if (serverchallenge_ == &::google::protobuf::internal::kEmptyString) { + if (serverchallenge_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { serverchallenge_ = new ::std::string; } serverchallenge_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:AuthServerChallengeMessage.serverChallenge) } inline ::std::string* AuthServerChallengeMessage::mutable_serverchallenge() { set_has_serverchallenge(); - if (serverchallenge_ == &::google::protobuf::internal::kEmptyString) { + if (serverchallenge_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { serverchallenge_ = new ::std::string; } + // @@protoc_insertion_point(field_mutable:AuthServerChallengeMessage.serverChallenge) return serverchallenge_; } inline ::std::string* AuthServerChallengeMessage::release_serverchallenge() { clear_has_serverchallenge(); - if (serverchallenge_ == &::google::protobuf::internal::kEmptyString) { + if (serverchallenge_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = serverchallenge_; - serverchallenge_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + serverchallenge_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void AuthServerChallengeMessage::set_allocated_serverchallenge(::std::string* serverchallenge) { - if (serverchallenge_ != &::google::protobuf::internal::kEmptyString) { + if (serverchallenge_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete serverchallenge_; } if (serverchallenge) { @@ -12577,8 +13417,9 @@ inline void AuthServerChallengeMessage::set_allocated_serverchallenge(::std::str serverchallenge_ = serverchallenge; } else { clear_has_serverchallenge(); - serverchallenge_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + serverchallenge_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } + // @@protoc_insertion_point(field_set_allocated:AuthServerChallengeMessage.serverChallenge) } // ------------------------------------------------------------------- @@ -12596,54 +13437,59 @@ inline void AuthClientResponseMessage::clear_has_clientresponse() { _has_bits_[0] &= ~0x00000001u; } inline void AuthClientResponseMessage::clear_clientresponse() { - if (clientresponse_ != &::google::protobuf::internal::kEmptyString) { + if (clientresponse_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { clientresponse_->clear(); } clear_has_clientresponse(); } inline const ::std::string& AuthClientResponseMessage::clientresponse() const { + // @@protoc_insertion_point(field_get:AuthClientResponseMessage.clientResponse) return *clientresponse_; } inline void AuthClientResponseMessage::set_clientresponse(const ::std::string& value) { set_has_clientresponse(); - if (clientresponse_ == &::google::protobuf::internal::kEmptyString) { + if (clientresponse_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { clientresponse_ = new ::std::string; } clientresponse_->assign(value); + // @@protoc_insertion_point(field_set:AuthClientResponseMessage.clientResponse) } inline void AuthClientResponseMessage::set_clientresponse(const char* value) { set_has_clientresponse(); - if (clientresponse_ == &::google::protobuf::internal::kEmptyString) { + if (clientresponse_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { clientresponse_ = new ::std::string; } clientresponse_->assign(value); + // @@protoc_insertion_point(field_set_char:AuthClientResponseMessage.clientResponse) } inline void AuthClientResponseMessage::set_clientresponse(const void* value, size_t size) { set_has_clientresponse(); - if (clientresponse_ == &::google::protobuf::internal::kEmptyString) { + if (clientresponse_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { clientresponse_ = new ::std::string; } clientresponse_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:AuthClientResponseMessage.clientResponse) } inline ::std::string* AuthClientResponseMessage::mutable_clientresponse() { set_has_clientresponse(); - if (clientresponse_ == &::google::protobuf::internal::kEmptyString) { + if (clientresponse_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { clientresponse_ = new ::std::string; } + // @@protoc_insertion_point(field_mutable:AuthClientResponseMessage.clientResponse) return clientresponse_; } inline ::std::string* AuthClientResponseMessage::release_clientresponse() { clear_has_clientresponse(); - if (clientresponse_ == &::google::protobuf::internal::kEmptyString) { + if (clientresponse_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = clientresponse_; - clientresponse_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + clientresponse_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void AuthClientResponseMessage::set_allocated_clientresponse(::std::string* clientresponse) { - if (clientresponse_ != &::google::protobuf::internal::kEmptyString) { + if (clientresponse_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete clientresponse_; } if (clientresponse) { @@ -12651,8 +13497,9 @@ inline void AuthClientResponseMessage::set_allocated_clientresponse(::std::strin clientresponse_ = clientresponse; } else { clear_has_clientresponse(); - clientresponse_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + clientresponse_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } + // @@protoc_insertion_point(field_set_allocated:AuthClientResponseMessage.clientResponse) } // ------------------------------------------------------------------- @@ -12670,54 +13517,59 @@ inline void AuthServerVerificationMessage::clear_has_serververification() { _has_bits_[0] &= ~0x00000001u; } inline void AuthServerVerificationMessage::clear_serververification() { - if (serververification_ != &::google::protobuf::internal::kEmptyString) { + if (serververification_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { serververification_->clear(); } clear_has_serververification(); } inline const ::std::string& AuthServerVerificationMessage::serververification() const { + // @@protoc_insertion_point(field_get:AuthServerVerificationMessage.serverVerification) return *serververification_; } inline void AuthServerVerificationMessage::set_serververification(const ::std::string& value) { set_has_serververification(); - if (serververification_ == &::google::protobuf::internal::kEmptyString) { + if (serververification_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { serververification_ = new ::std::string; } serververification_->assign(value); + // @@protoc_insertion_point(field_set:AuthServerVerificationMessage.serverVerification) } inline void AuthServerVerificationMessage::set_serververification(const char* value) { set_has_serververification(); - if (serververification_ == &::google::protobuf::internal::kEmptyString) { + if (serververification_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { serververification_ = new ::std::string; } serververification_->assign(value); + // @@protoc_insertion_point(field_set_char:AuthServerVerificationMessage.serverVerification) } inline void AuthServerVerificationMessage::set_serververification(const void* value, size_t size) { set_has_serververification(); - if (serververification_ == &::google::protobuf::internal::kEmptyString) { + if (serververification_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { serververification_ = new ::std::string; } serververification_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:AuthServerVerificationMessage.serverVerification) } inline ::std::string* AuthServerVerificationMessage::mutable_serververification() { set_has_serververification(); - if (serververification_ == &::google::protobuf::internal::kEmptyString) { + if (serververification_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { serververification_ = new ::std::string; } + // @@protoc_insertion_point(field_mutable:AuthServerVerificationMessage.serverVerification) return serververification_; } inline ::std::string* AuthServerVerificationMessage::release_serververification() { clear_has_serververification(); - if (serververification_ == &::google::protobuf::internal::kEmptyString) { + if (serververification_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = serververification_; - serververification_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + serververification_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void AuthServerVerificationMessage::set_allocated_serververification(::std::string* serververification) { - if (serververification_ != &::google::protobuf::internal::kEmptyString) { + if (serververification_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete serververification_; } if (serververification) { @@ -12725,8 +13577,9 @@ inline void AuthServerVerificationMessage::set_allocated_serververification(::st serververification_ = serververification; } else { clear_has_serververification(); - serververification_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + serververification_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } + // @@protoc_insertion_point(field_set_allocated:AuthServerVerificationMessage.serverVerification) } // ------------------------------------------------------------------- @@ -12744,54 +13597,59 @@ inline void InitAckMessage::clear_has_yoursessionid() { _has_bits_[0] &= ~0x00000001u; } inline void InitAckMessage::clear_yoursessionid() { - if (yoursessionid_ != &::google::protobuf::internal::kEmptyString) { + if (yoursessionid_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { yoursessionid_->clear(); } clear_has_yoursessionid(); } inline const ::std::string& InitAckMessage::yoursessionid() const { + // @@protoc_insertion_point(field_get:InitAckMessage.yourSessionId) return *yoursessionid_; } inline void InitAckMessage::set_yoursessionid(const ::std::string& value) { set_has_yoursessionid(); - if (yoursessionid_ == &::google::protobuf::internal::kEmptyString) { + if (yoursessionid_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { yoursessionid_ = new ::std::string; } yoursessionid_->assign(value); + // @@protoc_insertion_point(field_set:InitAckMessage.yourSessionId) } inline void InitAckMessage::set_yoursessionid(const char* value) { set_has_yoursessionid(); - if (yoursessionid_ == &::google::protobuf::internal::kEmptyString) { + if (yoursessionid_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { yoursessionid_ = new ::std::string; } yoursessionid_->assign(value); + // @@protoc_insertion_point(field_set_char:InitAckMessage.yourSessionId) } inline void InitAckMessage::set_yoursessionid(const void* value, size_t size) { set_has_yoursessionid(); - if (yoursessionid_ == &::google::protobuf::internal::kEmptyString) { + if (yoursessionid_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { yoursessionid_ = new ::std::string; } yoursessionid_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:InitAckMessage.yourSessionId) } inline ::std::string* InitAckMessage::mutable_yoursessionid() { set_has_yoursessionid(); - if (yoursessionid_ == &::google::protobuf::internal::kEmptyString) { + if (yoursessionid_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { yoursessionid_ = new ::std::string; } + // @@protoc_insertion_point(field_mutable:InitAckMessage.yourSessionId) return yoursessionid_; } inline ::std::string* InitAckMessage::release_yoursessionid() { clear_has_yoursessionid(); - if (yoursessionid_ == &::google::protobuf::internal::kEmptyString) { + if (yoursessionid_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = yoursessionid_; - yoursessionid_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + yoursessionid_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void InitAckMessage::set_allocated_yoursessionid(::std::string* yoursessionid) { - if (yoursessionid_ != &::google::protobuf::internal::kEmptyString) { + if (yoursessionid_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete yoursessionid_; } if (yoursessionid) { @@ -12799,8 +13657,9 @@ inline void InitAckMessage::set_allocated_yoursessionid(::std::string* yoursessi yoursessionid_ = yoursessionid; } else { clear_has_yoursessionid(); - yoursessionid_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + yoursessionid_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } + // @@protoc_insertion_point(field_set_allocated:InitAckMessage.yourSessionId) } // required uint32 yourPlayerId = 2; @@ -12818,11 +13677,13 @@ inline void InitAckMessage::clear_yourplayerid() { clear_has_yourplayerid(); } inline ::google::protobuf::uint32 InitAckMessage::yourplayerid() const { + // @@protoc_insertion_point(field_get:InitAckMessage.yourPlayerId) return yourplayerid_; } inline void InitAckMessage::set_yourplayerid(::google::protobuf::uint32 value) { set_has_yourplayerid(); yourplayerid_ = value; + // @@protoc_insertion_point(field_set:InitAckMessage.yourPlayerId) } // optional bytes yourAvatarHash = 3; @@ -12836,54 +13697,59 @@ inline void InitAckMessage::clear_has_youravatarhash() { _has_bits_[0] &= ~0x00000004u; } inline void InitAckMessage::clear_youravatarhash() { - if (youravatarhash_ != &::google::protobuf::internal::kEmptyString) { + if (youravatarhash_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { youravatarhash_->clear(); } clear_has_youravatarhash(); } inline const ::std::string& InitAckMessage::youravatarhash() const { + // @@protoc_insertion_point(field_get:InitAckMessage.yourAvatarHash) return *youravatarhash_; } inline void InitAckMessage::set_youravatarhash(const ::std::string& value) { set_has_youravatarhash(); - if (youravatarhash_ == &::google::protobuf::internal::kEmptyString) { + if (youravatarhash_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { youravatarhash_ = new ::std::string; } youravatarhash_->assign(value); + // @@protoc_insertion_point(field_set:InitAckMessage.yourAvatarHash) } inline void InitAckMessage::set_youravatarhash(const char* value) { set_has_youravatarhash(); - if (youravatarhash_ == &::google::protobuf::internal::kEmptyString) { + if (youravatarhash_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { youravatarhash_ = new ::std::string; } youravatarhash_->assign(value); + // @@protoc_insertion_point(field_set_char:InitAckMessage.yourAvatarHash) } inline void InitAckMessage::set_youravatarhash(const void* value, size_t size) { set_has_youravatarhash(); - if (youravatarhash_ == &::google::protobuf::internal::kEmptyString) { + if (youravatarhash_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { youravatarhash_ = new ::std::string; } youravatarhash_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:InitAckMessage.yourAvatarHash) } inline ::std::string* InitAckMessage::mutable_youravatarhash() { set_has_youravatarhash(); - if (youravatarhash_ == &::google::protobuf::internal::kEmptyString) { + if (youravatarhash_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { youravatarhash_ = new ::std::string; } + // @@protoc_insertion_point(field_mutable:InitAckMessage.yourAvatarHash) return youravatarhash_; } inline ::std::string* InitAckMessage::release_youravatarhash() { clear_has_youravatarhash(); - if (youravatarhash_ == &::google::protobuf::internal::kEmptyString) { + if (youravatarhash_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = youravatarhash_; - youravatarhash_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + youravatarhash_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void InitAckMessage::set_allocated_youravatarhash(::std::string* youravatarhash) { - if (youravatarhash_ != &::google::protobuf::internal::kEmptyString) { + if (youravatarhash_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete youravatarhash_; } if (youravatarhash) { @@ -12891,8 +13757,9 @@ inline void InitAckMessage::set_allocated_youravatarhash(::std::string* youravat youravatarhash_ = youravatarhash; } else { clear_has_youravatarhash(); - youravatarhash_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + youravatarhash_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } + // @@protoc_insertion_point(field_set_allocated:InitAckMessage.yourAvatarHash) } // optional uint32 rejoinGameId = 4; @@ -12910,11 +13777,13 @@ inline void InitAckMessage::clear_rejoingameid() { clear_has_rejoingameid(); } inline ::google::protobuf::uint32 InitAckMessage::rejoingameid() const { + // @@protoc_insertion_point(field_get:InitAckMessage.rejoinGameId) return rejoingameid_; } inline void InitAckMessage::set_rejoingameid(::google::protobuf::uint32 value) { set_has_rejoingameid(); rejoingameid_ = value; + // @@protoc_insertion_point(field_set:InitAckMessage.rejoinGameId) } // ------------------------------------------------------------------- @@ -12936,11 +13805,13 @@ inline void AvatarRequestMessage::clear_requestid() { clear_has_requestid(); } inline ::google::protobuf::uint32 AvatarRequestMessage::requestid() const { + // @@protoc_insertion_point(field_get:AvatarRequestMessage.requestId) return requestid_; } inline void AvatarRequestMessage::set_requestid(::google::protobuf::uint32 value) { set_has_requestid(); requestid_ = value; + // @@protoc_insertion_point(field_set:AvatarRequestMessage.requestId) } // required bytes avatarHash = 2; @@ -12954,54 +13825,59 @@ inline void AvatarRequestMessage::clear_has_avatarhash() { _has_bits_[0] &= ~0x00000002u; } inline void AvatarRequestMessage::clear_avatarhash() { - if (avatarhash_ != &::google::protobuf::internal::kEmptyString) { + if (avatarhash_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { avatarhash_->clear(); } clear_has_avatarhash(); } inline const ::std::string& AvatarRequestMessage::avatarhash() const { + // @@protoc_insertion_point(field_get:AvatarRequestMessage.avatarHash) return *avatarhash_; } inline void AvatarRequestMessage::set_avatarhash(const ::std::string& value) { set_has_avatarhash(); - if (avatarhash_ == &::google::protobuf::internal::kEmptyString) { + if (avatarhash_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { avatarhash_ = new ::std::string; } avatarhash_->assign(value); + // @@protoc_insertion_point(field_set:AvatarRequestMessage.avatarHash) } inline void AvatarRequestMessage::set_avatarhash(const char* value) { set_has_avatarhash(); - if (avatarhash_ == &::google::protobuf::internal::kEmptyString) { + if (avatarhash_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { avatarhash_ = new ::std::string; } avatarhash_->assign(value); + // @@protoc_insertion_point(field_set_char:AvatarRequestMessage.avatarHash) } inline void AvatarRequestMessage::set_avatarhash(const void* value, size_t size) { set_has_avatarhash(); - if (avatarhash_ == &::google::protobuf::internal::kEmptyString) { + if (avatarhash_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { avatarhash_ = new ::std::string; } avatarhash_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:AvatarRequestMessage.avatarHash) } inline ::std::string* AvatarRequestMessage::mutable_avatarhash() { set_has_avatarhash(); - if (avatarhash_ == &::google::protobuf::internal::kEmptyString) { + if (avatarhash_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { avatarhash_ = new ::std::string; } + // @@protoc_insertion_point(field_mutable:AvatarRequestMessage.avatarHash) return avatarhash_; } inline ::std::string* AvatarRequestMessage::release_avatarhash() { clear_has_avatarhash(); - if (avatarhash_ == &::google::protobuf::internal::kEmptyString) { + if (avatarhash_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = avatarhash_; - avatarhash_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + avatarhash_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void AvatarRequestMessage::set_allocated_avatarhash(::std::string* avatarhash) { - if (avatarhash_ != &::google::protobuf::internal::kEmptyString) { + if (avatarhash_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete avatarhash_; } if (avatarhash) { @@ -13009,8 +13885,9 @@ inline void AvatarRequestMessage::set_allocated_avatarhash(::std::string* avatar avatarhash_ = avatarhash; } else { clear_has_avatarhash(); - avatarhash_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + avatarhash_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } + // @@protoc_insertion_point(field_set_allocated:AvatarRequestMessage.avatarHash) } // ------------------------------------------------------------------- @@ -13032,11 +13909,13 @@ inline void AvatarHeaderMessage::clear_requestid() { clear_has_requestid(); } inline ::google::protobuf::uint32 AvatarHeaderMessage::requestid() const { + // @@protoc_insertion_point(field_get:AvatarHeaderMessage.requestId) return requestid_; } inline void AvatarHeaderMessage::set_requestid(::google::protobuf::uint32 value) { set_has_requestid(); requestid_ = value; + // @@protoc_insertion_point(field_set:AvatarHeaderMessage.requestId) } // required .NetAvatarType avatarType = 2; @@ -13054,12 +13933,14 @@ inline void AvatarHeaderMessage::clear_avatartype() { clear_has_avatartype(); } inline ::NetAvatarType AvatarHeaderMessage::avatartype() const { + // @@protoc_insertion_point(field_get:AvatarHeaderMessage.avatarType) return static_cast< ::NetAvatarType >(avatartype_); } inline void AvatarHeaderMessage::set_avatartype(::NetAvatarType value) { assert(::NetAvatarType_IsValid(value)); set_has_avatartype(); avatartype_ = value; + // @@protoc_insertion_point(field_set:AvatarHeaderMessage.avatarType) } // required uint32 avatarSize = 3; @@ -13077,11 +13958,13 @@ inline void AvatarHeaderMessage::clear_avatarsize() { clear_has_avatarsize(); } inline ::google::protobuf::uint32 AvatarHeaderMessage::avatarsize() const { + // @@protoc_insertion_point(field_get:AvatarHeaderMessage.avatarSize) return avatarsize_; } inline void AvatarHeaderMessage::set_avatarsize(::google::protobuf::uint32 value) { set_has_avatarsize(); avatarsize_ = value; + // @@protoc_insertion_point(field_set:AvatarHeaderMessage.avatarSize) } // ------------------------------------------------------------------- @@ -13103,11 +13986,13 @@ inline void AvatarDataMessage::clear_requestid() { clear_has_requestid(); } inline ::google::protobuf::uint32 AvatarDataMessage::requestid() const { + // @@protoc_insertion_point(field_get:AvatarDataMessage.requestId) return requestid_; } inline void AvatarDataMessage::set_requestid(::google::protobuf::uint32 value) { set_has_requestid(); requestid_ = value; + // @@protoc_insertion_point(field_set:AvatarDataMessage.requestId) } // required bytes avatarBlock = 2; @@ -13121,54 +14006,59 @@ inline void AvatarDataMessage::clear_has_avatarblock() { _has_bits_[0] &= ~0x00000002u; } inline void AvatarDataMessage::clear_avatarblock() { - if (avatarblock_ != &::google::protobuf::internal::kEmptyString) { + if (avatarblock_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { avatarblock_->clear(); } clear_has_avatarblock(); } inline const ::std::string& AvatarDataMessage::avatarblock() const { + // @@protoc_insertion_point(field_get:AvatarDataMessage.avatarBlock) return *avatarblock_; } inline void AvatarDataMessage::set_avatarblock(const ::std::string& value) { set_has_avatarblock(); - if (avatarblock_ == &::google::protobuf::internal::kEmptyString) { + if (avatarblock_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { avatarblock_ = new ::std::string; } avatarblock_->assign(value); + // @@protoc_insertion_point(field_set:AvatarDataMessage.avatarBlock) } inline void AvatarDataMessage::set_avatarblock(const char* value) { set_has_avatarblock(); - if (avatarblock_ == &::google::protobuf::internal::kEmptyString) { + if (avatarblock_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { avatarblock_ = new ::std::string; } avatarblock_->assign(value); + // @@protoc_insertion_point(field_set_char:AvatarDataMessage.avatarBlock) } inline void AvatarDataMessage::set_avatarblock(const void* value, size_t size) { set_has_avatarblock(); - if (avatarblock_ == &::google::protobuf::internal::kEmptyString) { + if (avatarblock_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { avatarblock_ = new ::std::string; } avatarblock_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:AvatarDataMessage.avatarBlock) } inline ::std::string* AvatarDataMessage::mutable_avatarblock() { set_has_avatarblock(); - if (avatarblock_ == &::google::protobuf::internal::kEmptyString) { + if (avatarblock_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { avatarblock_ = new ::std::string; } + // @@protoc_insertion_point(field_mutable:AvatarDataMessage.avatarBlock) return avatarblock_; } inline ::std::string* AvatarDataMessage::release_avatarblock() { clear_has_avatarblock(); - if (avatarblock_ == &::google::protobuf::internal::kEmptyString) { + if (avatarblock_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = avatarblock_; - avatarblock_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + avatarblock_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void AvatarDataMessage::set_allocated_avatarblock(::std::string* avatarblock) { - if (avatarblock_ != &::google::protobuf::internal::kEmptyString) { + if (avatarblock_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete avatarblock_; } if (avatarblock) { @@ -13176,8 +14066,9 @@ inline void AvatarDataMessage::set_allocated_avatarblock(::std::string* avatarbl avatarblock_ = avatarblock; } else { clear_has_avatarblock(); - avatarblock_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + avatarblock_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } + // @@protoc_insertion_point(field_set_allocated:AvatarDataMessage.avatarBlock) } // ------------------------------------------------------------------- @@ -13199,11 +14090,13 @@ inline void AvatarEndMessage::clear_requestid() { clear_has_requestid(); } inline ::google::protobuf::uint32 AvatarEndMessage::requestid() const { + // @@protoc_insertion_point(field_get:AvatarEndMessage.requestId) return requestid_; } inline void AvatarEndMessage::set_requestid(::google::protobuf::uint32 value) { set_has_requestid(); requestid_ = value; + // @@protoc_insertion_point(field_set:AvatarEndMessage.requestId) } // ------------------------------------------------------------------- @@ -13225,11 +14118,13 @@ inline void UnknownAvatarMessage::clear_requestid() { clear_has_requestid(); } inline ::google::protobuf::uint32 UnknownAvatarMessage::requestid() const { + // @@protoc_insertion_point(field_get:UnknownAvatarMessage.requestId) return requestid_; } inline void UnknownAvatarMessage::set_requestid(::google::protobuf::uint32 value) { set_has_requestid(); requestid_ = value; + // @@protoc_insertion_point(field_set:UnknownAvatarMessage.requestId) } // ------------------------------------------------------------------- @@ -13251,11 +14146,13 @@ inline void PlayerListMessage::clear_playerid() { clear_has_playerid(); } inline ::google::protobuf::uint32 PlayerListMessage::playerid() const { + // @@protoc_insertion_point(field_get:PlayerListMessage.playerId) return playerid_; } inline void PlayerListMessage::set_playerid(::google::protobuf::uint32 value) { set_has_playerid(); playerid_ = value; + // @@protoc_insertion_point(field_set:PlayerListMessage.playerId) } // required .PlayerListMessage.PlayerListNotification playerListNotification = 2; @@ -13273,12 +14170,14 @@ inline void PlayerListMessage::clear_playerlistnotification() { clear_has_playerlistnotification(); } inline ::PlayerListMessage_PlayerListNotification PlayerListMessage::playerlistnotification() const { + // @@protoc_insertion_point(field_get:PlayerListMessage.playerListNotification) return static_cast< ::PlayerListMessage_PlayerListNotification >(playerlistnotification_); } inline void PlayerListMessage::set_playerlistnotification(::PlayerListMessage_PlayerListNotification value) { assert(::PlayerListMessage_PlayerListNotification_IsValid(value)); set_has_playerlistnotification(); playerlistnotification_ = value; + // @@protoc_insertion_point(field_set:PlayerListMessage.playerListNotification) } // ------------------------------------------------------------------- @@ -13300,11 +14199,13 @@ inline void GameListNewMessage::clear_gameid() { clear_has_gameid(); } inline ::google::protobuf::uint32 GameListNewMessage::gameid() const { + // @@protoc_insertion_point(field_get:GameListNewMessage.gameId) return gameid_; } inline void GameListNewMessage::set_gameid(::google::protobuf::uint32 value) { set_has_gameid(); gameid_ = value; + // @@protoc_insertion_point(field_set:GameListNewMessage.gameId) } // required .NetGameMode gameMode = 2; @@ -13322,12 +14223,14 @@ inline void GameListNewMessage::clear_gamemode() { clear_has_gamemode(); } inline ::NetGameMode GameListNewMessage::gamemode() const { + // @@protoc_insertion_point(field_get:GameListNewMessage.gameMode) return static_cast< ::NetGameMode >(gamemode_); } inline void GameListNewMessage::set_gamemode(::NetGameMode value) { assert(::NetGameMode_IsValid(value)); set_has_gamemode(); gamemode_ = value; + // @@protoc_insertion_point(field_set:GameListNewMessage.gameMode) } // required bool isPrivate = 3; @@ -13345,11 +14248,13 @@ inline void GameListNewMessage::clear_isprivate() { clear_has_isprivate(); } inline bool GameListNewMessage::isprivate() const { + // @@protoc_insertion_point(field_get:GameListNewMessage.isPrivate) return isprivate_; } inline void GameListNewMessage::set_isprivate(bool value) { set_has_isprivate(); isprivate_ = value; + // @@protoc_insertion_point(field_set:GameListNewMessage.isPrivate) } // repeated uint32 playerIds = 4 [packed = true]; @@ -13360,20 +14265,25 @@ inline void GameListNewMessage::clear_playerids() { playerids_.Clear(); } inline ::google::protobuf::uint32 GameListNewMessage::playerids(int index) const { + // @@protoc_insertion_point(field_get:GameListNewMessage.playerIds) return playerids_.Get(index); } inline void GameListNewMessage::set_playerids(int index, ::google::protobuf::uint32 value) { playerids_.Set(index, value); + // @@protoc_insertion_point(field_set:GameListNewMessage.playerIds) } inline void GameListNewMessage::add_playerids(::google::protobuf::uint32 value) { playerids_.Add(value); + // @@protoc_insertion_point(field_add:GameListNewMessage.playerIds) } inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& GameListNewMessage::playerids() const { + // @@protoc_insertion_point(field_list:GameListNewMessage.playerIds) return playerids_; } inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* GameListNewMessage::mutable_playerids() { + // @@protoc_insertion_point(field_mutable_list:GameListNewMessage.playerIds) return &playerids_; } @@ -13392,11 +14302,13 @@ inline void GameListNewMessage::clear_adminplayerid() { clear_has_adminplayerid(); } inline ::google::protobuf::uint32 GameListNewMessage::adminplayerid() const { + // @@protoc_insertion_point(field_get:GameListNewMessage.adminPlayerId) return adminplayerid_; } inline void GameListNewMessage::set_adminplayerid(::google::protobuf::uint32 value) { set_has_adminplayerid(); adminplayerid_ = value; + // @@protoc_insertion_point(field_set:GameListNewMessage.adminPlayerId) } // required .NetGameInfo gameInfo = 6; @@ -13414,6 +14326,7 @@ inline void GameListNewMessage::clear_gameinfo() { clear_has_gameinfo(); } inline const ::NetGameInfo& GameListNewMessage::gameinfo() const { + // @@protoc_insertion_point(field_get:GameListNewMessage.gameInfo) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return gameinfo_ != NULL ? *gameinfo_ : *default_instance().gameinfo_; #else @@ -13423,6 +14336,7 @@ inline const ::NetGameInfo& GameListNewMessage::gameinfo() const { inline ::NetGameInfo* GameListNewMessage::mutable_gameinfo() { set_has_gameinfo(); if (gameinfo_ == NULL) gameinfo_ = new ::NetGameInfo; + // @@protoc_insertion_point(field_mutable:GameListNewMessage.gameInfo) return gameinfo_; } inline ::NetGameInfo* GameListNewMessage::release_gameinfo() { @@ -13439,6 +14353,7 @@ inline void GameListNewMessage::set_allocated_gameinfo(::NetGameInfo* gameinfo) } else { clear_has_gameinfo(); } + // @@protoc_insertion_point(field_set_allocated:GameListNewMessage.gameInfo) } // repeated uint32 spectatorIds = 7 [packed = true]; @@ -13449,20 +14364,25 @@ inline void GameListNewMessage::clear_spectatorids() { spectatorids_.Clear(); } inline ::google::protobuf::uint32 GameListNewMessage::spectatorids(int index) const { + // @@protoc_insertion_point(field_get:GameListNewMessage.spectatorIds) return spectatorids_.Get(index); } inline void GameListNewMessage::set_spectatorids(int index, ::google::protobuf::uint32 value) { spectatorids_.Set(index, value); + // @@protoc_insertion_point(field_set:GameListNewMessage.spectatorIds) } inline void GameListNewMessage::add_spectatorids(::google::protobuf::uint32 value) { spectatorids_.Add(value); + // @@protoc_insertion_point(field_add:GameListNewMessage.spectatorIds) } inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& GameListNewMessage::spectatorids() const { + // @@protoc_insertion_point(field_list:GameListNewMessage.spectatorIds) return spectatorids_; } inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* GameListNewMessage::mutable_spectatorids() { + // @@protoc_insertion_point(field_mutable_list:GameListNewMessage.spectatorIds) return &spectatorids_; } @@ -13485,11 +14405,13 @@ inline void GameListUpdateMessage::clear_gameid() { clear_has_gameid(); } inline ::google::protobuf::uint32 GameListUpdateMessage::gameid() const { + // @@protoc_insertion_point(field_get:GameListUpdateMessage.gameId) return gameid_; } inline void GameListUpdateMessage::set_gameid(::google::protobuf::uint32 value) { set_has_gameid(); gameid_ = value; + // @@protoc_insertion_point(field_set:GameListUpdateMessage.gameId) } // required .NetGameMode gameMode = 2; @@ -13507,12 +14429,14 @@ inline void GameListUpdateMessage::clear_gamemode() { clear_has_gamemode(); } inline ::NetGameMode GameListUpdateMessage::gamemode() const { + // @@protoc_insertion_point(field_get:GameListUpdateMessage.gameMode) return static_cast< ::NetGameMode >(gamemode_); } inline void GameListUpdateMessage::set_gamemode(::NetGameMode value) { assert(::NetGameMode_IsValid(value)); set_has_gamemode(); gamemode_ = value; + // @@protoc_insertion_point(field_set:GameListUpdateMessage.gameMode) } // ------------------------------------------------------------------- @@ -13534,11 +14458,13 @@ inline void GameListPlayerJoinedMessage::clear_gameid() { clear_has_gameid(); } inline ::google::protobuf::uint32 GameListPlayerJoinedMessage::gameid() const { + // @@protoc_insertion_point(field_get:GameListPlayerJoinedMessage.gameId) return gameid_; } inline void GameListPlayerJoinedMessage::set_gameid(::google::protobuf::uint32 value) { set_has_gameid(); gameid_ = value; + // @@protoc_insertion_point(field_set:GameListPlayerJoinedMessage.gameId) } // required uint32 playerId = 2; @@ -13556,11 +14482,13 @@ inline void GameListPlayerJoinedMessage::clear_playerid() { clear_has_playerid(); } inline ::google::protobuf::uint32 GameListPlayerJoinedMessage::playerid() const { + // @@protoc_insertion_point(field_get:GameListPlayerJoinedMessage.playerId) return playerid_; } inline void GameListPlayerJoinedMessage::set_playerid(::google::protobuf::uint32 value) { set_has_playerid(); playerid_ = value; + // @@protoc_insertion_point(field_set:GameListPlayerJoinedMessage.playerId) } // ------------------------------------------------------------------- @@ -13582,11 +14510,13 @@ inline void GameListPlayerLeftMessage::clear_gameid() { clear_has_gameid(); } inline ::google::protobuf::uint32 GameListPlayerLeftMessage::gameid() const { + // @@protoc_insertion_point(field_get:GameListPlayerLeftMessage.gameId) return gameid_; } inline void GameListPlayerLeftMessage::set_gameid(::google::protobuf::uint32 value) { set_has_gameid(); gameid_ = value; + // @@protoc_insertion_point(field_set:GameListPlayerLeftMessage.gameId) } // required uint32 playerId = 2; @@ -13604,11 +14534,13 @@ inline void GameListPlayerLeftMessage::clear_playerid() { clear_has_playerid(); } inline ::google::protobuf::uint32 GameListPlayerLeftMessage::playerid() const { + // @@protoc_insertion_point(field_get:GameListPlayerLeftMessage.playerId) return playerid_; } inline void GameListPlayerLeftMessage::set_playerid(::google::protobuf::uint32 value) { set_has_playerid(); playerid_ = value; + // @@protoc_insertion_point(field_set:GameListPlayerLeftMessage.playerId) } // ------------------------------------------------------------------- @@ -13630,11 +14562,13 @@ inline void GameListSpectatorJoinedMessage::clear_gameid() { clear_has_gameid(); } inline ::google::protobuf::uint32 GameListSpectatorJoinedMessage::gameid() const { + // @@protoc_insertion_point(field_get:GameListSpectatorJoinedMessage.gameId) return gameid_; } inline void GameListSpectatorJoinedMessage::set_gameid(::google::protobuf::uint32 value) { set_has_gameid(); gameid_ = value; + // @@protoc_insertion_point(field_set:GameListSpectatorJoinedMessage.gameId) } // required uint32 playerId = 2; @@ -13652,11 +14586,13 @@ inline void GameListSpectatorJoinedMessage::clear_playerid() { clear_has_playerid(); } inline ::google::protobuf::uint32 GameListSpectatorJoinedMessage::playerid() const { + // @@protoc_insertion_point(field_get:GameListSpectatorJoinedMessage.playerId) return playerid_; } inline void GameListSpectatorJoinedMessage::set_playerid(::google::protobuf::uint32 value) { set_has_playerid(); playerid_ = value; + // @@protoc_insertion_point(field_set:GameListSpectatorJoinedMessage.playerId) } // ------------------------------------------------------------------- @@ -13678,11 +14614,13 @@ inline void GameListSpectatorLeftMessage::clear_gameid() { clear_has_gameid(); } inline ::google::protobuf::uint32 GameListSpectatorLeftMessage::gameid() const { + // @@protoc_insertion_point(field_get:GameListSpectatorLeftMessage.gameId) return gameid_; } inline void GameListSpectatorLeftMessage::set_gameid(::google::protobuf::uint32 value) { set_has_gameid(); gameid_ = value; + // @@protoc_insertion_point(field_set:GameListSpectatorLeftMessage.gameId) } // required uint32 playerId = 2; @@ -13700,11 +14638,13 @@ inline void GameListSpectatorLeftMessage::clear_playerid() { clear_has_playerid(); } inline ::google::protobuf::uint32 GameListSpectatorLeftMessage::playerid() const { + // @@protoc_insertion_point(field_get:GameListSpectatorLeftMessage.playerId) return playerid_; } inline void GameListSpectatorLeftMessage::set_playerid(::google::protobuf::uint32 value) { set_has_playerid(); playerid_ = value; + // @@protoc_insertion_point(field_set:GameListSpectatorLeftMessage.playerId) } // ------------------------------------------------------------------- @@ -13726,11 +14666,13 @@ inline void GameListAdminChangedMessage::clear_gameid() { clear_has_gameid(); } inline ::google::protobuf::uint32 GameListAdminChangedMessage::gameid() const { + // @@protoc_insertion_point(field_get:GameListAdminChangedMessage.gameId) return gameid_; } inline void GameListAdminChangedMessage::set_gameid(::google::protobuf::uint32 value) { set_has_gameid(); gameid_ = value; + // @@protoc_insertion_point(field_set:GameListAdminChangedMessage.gameId) } // required uint32 newAdminPlayerId = 2; @@ -13748,11 +14690,13 @@ inline void GameListAdminChangedMessage::clear_newadminplayerid() { clear_has_newadminplayerid(); } inline ::google::protobuf::uint32 GameListAdminChangedMessage::newadminplayerid() const { + // @@protoc_insertion_point(field_get:GameListAdminChangedMessage.newAdminPlayerId) return newadminplayerid_; } inline void GameListAdminChangedMessage::set_newadminplayerid(::google::protobuf::uint32 value) { set_has_newadminplayerid(); newadminplayerid_ = value; + // @@protoc_insertion_point(field_set:GameListAdminChangedMessage.newAdminPlayerId) } // ------------------------------------------------------------------- @@ -13767,20 +14711,25 @@ inline void PlayerInfoRequestMessage::clear_playerid() { playerid_.Clear(); } inline ::google::protobuf::uint32 PlayerInfoRequestMessage::playerid(int index) const { + // @@protoc_insertion_point(field_get:PlayerInfoRequestMessage.playerId) return playerid_.Get(index); } inline void PlayerInfoRequestMessage::set_playerid(int index, ::google::protobuf::uint32 value) { playerid_.Set(index, value); + // @@protoc_insertion_point(field_set:PlayerInfoRequestMessage.playerId) } inline void PlayerInfoRequestMessage::add_playerid(::google::protobuf::uint32 value) { playerid_.Add(value); + // @@protoc_insertion_point(field_add:PlayerInfoRequestMessage.playerId) } inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& PlayerInfoRequestMessage::playerid() const { + // @@protoc_insertion_point(field_list:PlayerInfoRequestMessage.playerId) return playerid_; } inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* PlayerInfoRequestMessage::mutable_playerid() { + // @@protoc_insertion_point(field_mutable_list:PlayerInfoRequestMessage.playerId) return &playerid_; } @@ -13803,12 +14752,14 @@ inline void PlayerInfoReplyMessage_PlayerInfoData_AvatarData::clear_avatartype() clear_has_avatartype(); } inline ::NetAvatarType PlayerInfoReplyMessage_PlayerInfoData_AvatarData::avatartype() const { + // @@protoc_insertion_point(field_get:PlayerInfoReplyMessage.PlayerInfoData.AvatarData.avatarType) return static_cast< ::NetAvatarType >(avatartype_); } inline void PlayerInfoReplyMessage_PlayerInfoData_AvatarData::set_avatartype(::NetAvatarType value) { assert(::NetAvatarType_IsValid(value)); set_has_avatartype(); avatartype_ = value; + // @@protoc_insertion_point(field_set:PlayerInfoReplyMessage.PlayerInfoData.AvatarData.avatarType) } // required bytes avatarHash = 2; @@ -13822,54 +14773,59 @@ inline void PlayerInfoReplyMessage_PlayerInfoData_AvatarData::clear_has_avatarha _has_bits_[0] &= ~0x00000002u; } inline void PlayerInfoReplyMessage_PlayerInfoData_AvatarData::clear_avatarhash() { - if (avatarhash_ != &::google::protobuf::internal::kEmptyString) { + if (avatarhash_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { avatarhash_->clear(); } clear_has_avatarhash(); } inline const ::std::string& PlayerInfoReplyMessage_PlayerInfoData_AvatarData::avatarhash() const { + // @@protoc_insertion_point(field_get:PlayerInfoReplyMessage.PlayerInfoData.AvatarData.avatarHash) return *avatarhash_; } inline void PlayerInfoReplyMessage_PlayerInfoData_AvatarData::set_avatarhash(const ::std::string& value) { set_has_avatarhash(); - if (avatarhash_ == &::google::protobuf::internal::kEmptyString) { + if (avatarhash_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { avatarhash_ = new ::std::string; } avatarhash_->assign(value); + // @@protoc_insertion_point(field_set:PlayerInfoReplyMessage.PlayerInfoData.AvatarData.avatarHash) } inline void PlayerInfoReplyMessage_PlayerInfoData_AvatarData::set_avatarhash(const char* value) { set_has_avatarhash(); - if (avatarhash_ == &::google::protobuf::internal::kEmptyString) { + if (avatarhash_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { avatarhash_ = new ::std::string; } avatarhash_->assign(value); + // @@protoc_insertion_point(field_set_char:PlayerInfoReplyMessage.PlayerInfoData.AvatarData.avatarHash) } inline void PlayerInfoReplyMessage_PlayerInfoData_AvatarData::set_avatarhash(const void* value, size_t size) { set_has_avatarhash(); - if (avatarhash_ == &::google::protobuf::internal::kEmptyString) { + if (avatarhash_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { avatarhash_ = new ::std::string; } avatarhash_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:PlayerInfoReplyMessage.PlayerInfoData.AvatarData.avatarHash) } inline ::std::string* PlayerInfoReplyMessage_PlayerInfoData_AvatarData::mutable_avatarhash() { set_has_avatarhash(); - if (avatarhash_ == &::google::protobuf::internal::kEmptyString) { + if (avatarhash_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { avatarhash_ = new ::std::string; } + // @@protoc_insertion_point(field_mutable:PlayerInfoReplyMessage.PlayerInfoData.AvatarData.avatarHash) return avatarhash_; } inline ::std::string* PlayerInfoReplyMessage_PlayerInfoData_AvatarData::release_avatarhash() { clear_has_avatarhash(); - if (avatarhash_ == &::google::protobuf::internal::kEmptyString) { + if (avatarhash_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = avatarhash_; - avatarhash_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + avatarhash_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void PlayerInfoReplyMessage_PlayerInfoData_AvatarData::set_allocated_avatarhash(::std::string* avatarhash) { - if (avatarhash_ != &::google::protobuf::internal::kEmptyString) { + if (avatarhash_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete avatarhash_; } if (avatarhash) { @@ -13877,8 +14833,9 @@ inline void PlayerInfoReplyMessage_PlayerInfoData_AvatarData::set_allocated_avat avatarhash_ = avatarhash; } else { clear_has_avatarhash(); - avatarhash_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + avatarhash_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } + // @@protoc_insertion_point(field_set_allocated:PlayerInfoReplyMessage.PlayerInfoData.AvatarData.avatarHash) } // ------------------------------------------------------------------- @@ -13896,54 +14853,59 @@ inline void PlayerInfoReplyMessage_PlayerInfoData::clear_has_playername() { _has_bits_[0] &= ~0x00000001u; } inline void PlayerInfoReplyMessage_PlayerInfoData::clear_playername() { - if (playername_ != &::google::protobuf::internal::kEmptyString) { + if (playername_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { playername_->clear(); } clear_has_playername(); } inline const ::std::string& PlayerInfoReplyMessage_PlayerInfoData::playername() const { + // @@protoc_insertion_point(field_get:PlayerInfoReplyMessage.PlayerInfoData.playerName) return *playername_; } inline void PlayerInfoReplyMessage_PlayerInfoData::set_playername(const ::std::string& value) { set_has_playername(); - if (playername_ == &::google::protobuf::internal::kEmptyString) { + if (playername_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { playername_ = new ::std::string; } playername_->assign(value); + // @@protoc_insertion_point(field_set:PlayerInfoReplyMessage.PlayerInfoData.playerName) } inline void PlayerInfoReplyMessage_PlayerInfoData::set_playername(const char* value) { set_has_playername(); - if (playername_ == &::google::protobuf::internal::kEmptyString) { + if (playername_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { playername_ = new ::std::string; } playername_->assign(value); + // @@protoc_insertion_point(field_set_char:PlayerInfoReplyMessage.PlayerInfoData.playerName) } inline void PlayerInfoReplyMessage_PlayerInfoData::set_playername(const char* value, size_t size) { set_has_playername(); - if (playername_ == &::google::protobuf::internal::kEmptyString) { + if (playername_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { playername_ = new ::std::string; } playername_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:PlayerInfoReplyMessage.PlayerInfoData.playerName) } inline ::std::string* PlayerInfoReplyMessage_PlayerInfoData::mutable_playername() { set_has_playername(); - if (playername_ == &::google::protobuf::internal::kEmptyString) { + if (playername_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { playername_ = new ::std::string; } + // @@protoc_insertion_point(field_mutable:PlayerInfoReplyMessage.PlayerInfoData.playerName) return playername_; } inline ::std::string* PlayerInfoReplyMessage_PlayerInfoData::release_playername() { clear_has_playername(); - if (playername_ == &::google::protobuf::internal::kEmptyString) { + if (playername_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = playername_; - playername_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + playername_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void PlayerInfoReplyMessage_PlayerInfoData::set_allocated_playername(::std::string* playername) { - if (playername_ != &::google::protobuf::internal::kEmptyString) { + if (playername_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete playername_; } if (playername) { @@ -13951,8 +14913,9 @@ inline void PlayerInfoReplyMessage_PlayerInfoData::set_allocated_playername(::st playername_ = playername; } else { clear_has_playername(); - playername_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + playername_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } + // @@protoc_insertion_point(field_set_allocated:PlayerInfoReplyMessage.PlayerInfoData.playerName) } // required bool isHuman = 2; @@ -13970,11 +14933,13 @@ inline void PlayerInfoReplyMessage_PlayerInfoData::clear_ishuman() { clear_has_ishuman(); } inline bool PlayerInfoReplyMessage_PlayerInfoData::ishuman() const { + // @@protoc_insertion_point(field_get:PlayerInfoReplyMessage.PlayerInfoData.isHuman) return ishuman_; } inline void PlayerInfoReplyMessage_PlayerInfoData::set_ishuman(bool value) { set_has_ishuman(); ishuman_ = value; + // @@protoc_insertion_point(field_set:PlayerInfoReplyMessage.PlayerInfoData.isHuman) } // required .NetPlayerInfoRights playerRights = 3; @@ -13992,12 +14957,14 @@ inline void PlayerInfoReplyMessage_PlayerInfoData::clear_playerrights() { clear_has_playerrights(); } inline ::NetPlayerInfoRights PlayerInfoReplyMessage_PlayerInfoData::playerrights() const { + // @@protoc_insertion_point(field_get:PlayerInfoReplyMessage.PlayerInfoData.playerRights) return static_cast< ::NetPlayerInfoRights >(playerrights_); } inline void PlayerInfoReplyMessage_PlayerInfoData::set_playerrights(::NetPlayerInfoRights value) { assert(::NetPlayerInfoRights_IsValid(value)); set_has_playerrights(); playerrights_ = value; + // @@protoc_insertion_point(field_set:PlayerInfoReplyMessage.PlayerInfoData.playerRights) } // optional string countryCode = 4; @@ -14011,54 +14978,59 @@ inline void PlayerInfoReplyMessage_PlayerInfoData::clear_has_countrycode() { _has_bits_[0] &= ~0x00000008u; } inline void PlayerInfoReplyMessage_PlayerInfoData::clear_countrycode() { - if (countrycode_ != &::google::protobuf::internal::kEmptyString) { + if (countrycode_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { countrycode_->clear(); } clear_has_countrycode(); } inline const ::std::string& PlayerInfoReplyMessage_PlayerInfoData::countrycode() const { + // @@protoc_insertion_point(field_get:PlayerInfoReplyMessage.PlayerInfoData.countryCode) return *countrycode_; } inline void PlayerInfoReplyMessage_PlayerInfoData::set_countrycode(const ::std::string& value) { set_has_countrycode(); - if (countrycode_ == &::google::protobuf::internal::kEmptyString) { + if (countrycode_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { countrycode_ = new ::std::string; } countrycode_->assign(value); + // @@protoc_insertion_point(field_set:PlayerInfoReplyMessage.PlayerInfoData.countryCode) } inline void PlayerInfoReplyMessage_PlayerInfoData::set_countrycode(const char* value) { set_has_countrycode(); - if (countrycode_ == &::google::protobuf::internal::kEmptyString) { + if (countrycode_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { countrycode_ = new ::std::string; } countrycode_->assign(value); + // @@protoc_insertion_point(field_set_char:PlayerInfoReplyMessage.PlayerInfoData.countryCode) } inline void PlayerInfoReplyMessage_PlayerInfoData::set_countrycode(const char* value, size_t size) { set_has_countrycode(); - if (countrycode_ == &::google::protobuf::internal::kEmptyString) { + if (countrycode_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { countrycode_ = new ::std::string; } countrycode_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:PlayerInfoReplyMessage.PlayerInfoData.countryCode) } inline ::std::string* PlayerInfoReplyMessage_PlayerInfoData::mutable_countrycode() { set_has_countrycode(); - if (countrycode_ == &::google::protobuf::internal::kEmptyString) { + if (countrycode_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { countrycode_ = new ::std::string; } + // @@protoc_insertion_point(field_mutable:PlayerInfoReplyMessage.PlayerInfoData.countryCode) return countrycode_; } inline ::std::string* PlayerInfoReplyMessage_PlayerInfoData::release_countrycode() { clear_has_countrycode(); - if (countrycode_ == &::google::protobuf::internal::kEmptyString) { + if (countrycode_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = countrycode_; - countrycode_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + countrycode_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void PlayerInfoReplyMessage_PlayerInfoData::set_allocated_countrycode(::std::string* countrycode) { - if (countrycode_ != &::google::protobuf::internal::kEmptyString) { + if (countrycode_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete countrycode_; } if (countrycode) { @@ -14066,8 +15038,9 @@ inline void PlayerInfoReplyMessage_PlayerInfoData::set_allocated_countrycode(::s countrycode_ = countrycode; } else { clear_has_countrycode(); - countrycode_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + countrycode_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } + // @@protoc_insertion_point(field_set_allocated:PlayerInfoReplyMessage.PlayerInfoData.countryCode) } // optional .PlayerInfoReplyMessage.PlayerInfoData.AvatarData avatarData = 5; @@ -14085,6 +15058,7 @@ inline void PlayerInfoReplyMessage_PlayerInfoData::clear_avatardata() { clear_has_avatardata(); } inline const ::PlayerInfoReplyMessage_PlayerInfoData_AvatarData& PlayerInfoReplyMessage_PlayerInfoData::avatardata() const { + // @@protoc_insertion_point(field_get:PlayerInfoReplyMessage.PlayerInfoData.avatarData) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return avatardata_ != NULL ? *avatardata_ : *default_instance().avatardata_; #else @@ -14094,6 +15068,7 @@ inline const ::PlayerInfoReplyMessage_PlayerInfoData_AvatarData& PlayerInfoReply inline ::PlayerInfoReplyMessage_PlayerInfoData_AvatarData* PlayerInfoReplyMessage_PlayerInfoData::mutable_avatardata() { set_has_avatardata(); if (avatardata_ == NULL) avatardata_ = new ::PlayerInfoReplyMessage_PlayerInfoData_AvatarData; + // @@protoc_insertion_point(field_mutable:PlayerInfoReplyMessage.PlayerInfoData.avatarData) return avatardata_; } inline ::PlayerInfoReplyMessage_PlayerInfoData_AvatarData* PlayerInfoReplyMessage_PlayerInfoData::release_avatardata() { @@ -14110,6 +15085,7 @@ inline void PlayerInfoReplyMessage_PlayerInfoData::set_allocated_avatardata(::Pl } else { clear_has_avatardata(); } + // @@protoc_insertion_point(field_set_allocated:PlayerInfoReplyMessage.PlayerInfoData.avatarData) } // ------------------------------------------------------------------- @@ -14131,11 +15107,13 @@ inline void PlayerInfoReplyMessage::clear_playerid() { clear_has_playerid(); } inline ::google::protobuf::uint32 PlayerInfoReplyMessage::playerid() const { + // @@protoc_insertion_point(field_get:PlayerInfoReplyMessage.playerId) return playerid_; } inline void PlayerInfoReplyMessage::set_playerid(::google::protobuf::uint32 value) { set_has_playerid(); playerid_ = value; + // @@protoc_insertion_point(field_set:PlayerInfoReplyMessage.playerId) } // optional .PlayerInfoReplyMessage.PlayerInfoData playerInfoData = 2; @@ -14153,6 +15131,7 @@ inline void PlayerInfoReplyMessage::clear_playerinfodata() { clear_has_playerinfodata(); } inline const ::PlayerInfoReplyMessage_PlayerInfoData& PlayerInfoReplyMessage::playerinfodata() const { + // @@protoc_insertion_point(field_get:PlayerInfoReplyMessage.playerInfoData) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return playerinfodata_ != NULL ? *playerinfodata_ : *default_instance().playerinfodata_; #else @@ -14162,6 +15141,7 @@ inline const ::PlayerInfoReplyMessage_PlayerInfoData& PlayerInfoReplyMessage::pl inline ::PlayerInfoReplyMessage_PlayerInfoData* PlayerInfoReplyMessage::mutable_playerinfodata() { set_has_playerinfodata(); if (playerinfodata_ == NULL) playerinfodata_ = new ::PlayerInfoReplyMessage_PlayerInfoData; + // @@protoc_insertion_point(field_mutable:PlayerInfoReplyMessage.playerInfoData) return playerinfodata_; } inline ::PlayerInfoReplyMessage_PlayerInfoData* PlayerInfoReplyMessage::release_playerinfodata() { @@ -14178,6 +15158,7 @@ inline void PlayerInfoReplyMessage::set_allocated_playerinfodata(::PlayerInfoRep } else { clear_has_playerinfodata(); } + // @@protoc_insertion_point(field_set_allocated:PlayerInfoReplyMessage.playerInfoData) } // ------------------------------------------------------------------- @@ -14199,12 +15180,14 @@ inline void SubscriptionRequestMessage::clear_subscriptionaction() { clear_has_subscriptionaction(); } inline ::SubscriptionRequestMessage_SubscriptionAction SubscriptionRequestMessage::subscriptionaction() const { + // @@protoc_insertion_point(field_get:SubscriptionRequestMessage.subscriptionAction) return static_cast< ::SubscriptionRequestMessage_SubscriptionAction >(subscriptionaction_); } inline void SubscriptionRequestMessage::set_subscriptionaction(::SubscriptionRequestMessage_SubscriptionAction value) { assert(::SubscriptionRequestMessage_SubscriptionAction_IsValid(value)); set_has_subscriptionaction(); subscriptionaction_ = value; + // @@protoc_insertion_point(field_set:SubscriptionRequestMessage.subscriptionAction) } // ------------------------------------------------------------------- @@ -14226,11 +15209,13 @@ inline void JoinExistingGameMessage::clear_gameid() { clear_has_gameid(); } inline ::google::protobuf::uint32 JoinExistingGameMessage::gameid() const { + // @@protoc_insertion_point(field_get:JoinExistingGameMessage.gameId) return gameid_; } inline void JoinExistingGameMessage::set_gameid(::google::protobuf::uint32 value) { set_has_gameid(); gameid_ = value; + // @@protoc_insertion_point(field_set:JoinExistingGameMessage.gameId) } // optional string password = 2; @@ -14244,54 +15229,59 @@ inline void JoinExistingGameMessage::clear_has_password() { _has_bits_[0] &= ~0x00000002u; } inline void JoinExistingGameMessage::clear_password() { - if (password_ != &::google::protobuf::internal::kEmptyString) { + if (password_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { password_->clear(); } clear_has_password(); } inline const ::std::string& JoinExistingGameMessage::password() const { + // @@protoc_insertion_point(field_get:JoinExistingGameMessage.password) return *password_; } inline void JoinExistingGameMessage::set_password(const ::std::string& value) { set_has_password(); - if (password_ == &::google::protobuf::internal::kEmptyString) { + if (password_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { password_ = new ::std::string; } password_->assign(value); + // @@protoc_insertion_point(field_set:JoinExistingGameMessage.password) } inline void JoinExistingGameMessage::set_password(const char* value) { set_has_password(); - if (password_ == &::google::protobuf::internal::kEmptyString) { + if (password_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { password_ = new ::std::string; } password_->assign(value); + // @@protoc_insertion_point(field_set_char:JoinExistingGameMessage.password) } inline void JoinExistingGameMessage::set_password(const char* value, size_t size) { set_has_password(); - if (password_ == &::google::protobuf::internal::kEmptyString) { + if (password_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { password_ = new ::std::string; } password_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:JoinExistingGameMessage.password) } inline ::std::string* JoinExistingGameMessage::mutable_password() { set_has_password(); - if (password_ == &::google::protobuf::internal::kEmptyString) { + if (password_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { password_ = new ::std::string; } + // @@protoc_insertion_point(field_mutable:JoinExistingGameMessage.password) return password_; } inline ::std::string* JoinExistingGameMessage::release_password() { clear_has_password(); - if (password_ == &::google::protobuf::internal::kEmptyString) { + if (password_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = password_; - password_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + password_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void JoinExistingGameMessage::set_allocated_password(::std::string* password) { - if (password_ != &::google::protobuf::internal::kEmptyString) { + if (password_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete password_; } if (password) { @@ -14299,8 +15289,9 @@ inline void JoinExistingGameMessage::set_allocated_password(::std::string* passw password_ = password; } else { clear_has_password(); - password_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + password_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } + // @@protoc_insertion_point(field_set_allocated:JoinExistingGameMessage.password) } // optional bool autoLeave = 3 [default = false]; @@ -14318,11 +15309,13 @@ inline void JoinExistingGameMessage::clear_autoleave() { clear_has_autoleave(); } inline bool JoinExistingGameMessage::autoleave() const { + // @@protoc_insertion_point(field_get:JoinExistingGameMessage.autoLeave) return autoleave_; } inline void JoinExistingGameMessage::set_autoleave(bool value) { set_has_autoleave(); autoleave_ = value; + // @@protoc_insertion_point(field_set:JoinExistingGameMessage.autoLeave) } // optional bool spectateOnly = 4 [default = false]; @@ -14340,11 +15333,13 @@ inline void JoinExistingGameMessage::clear_spectateonly() { clear_has_spectateonly(); } inline bool JoinExistingGameMessage::spectateonly() const { + // @@protoc_insertion_point(field_get:JoinExistingGameMessage.spectateOnly) return spectateonly_; } inline void JoinExistingGameMessage::set_spectateonly(bool value) { set_has_spectateonly(); spectateonly_ = value; + // @@protoc_insertion_point(field_set:JoinExistingGameMessage.spectateOnly) } // ------------------------------------------------------------------- @@ -14366,6 +15361,7 @@ inline void JoinNewGameMessage::clear_gameinfo() { clear_has_gameinfo(); } inline const ::NetGameInfo& JoinNewGameMessage::gameinfo() const { + // @@protoc_insertion_point(field_get:JoinNewGameMessage.gameInfo) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return gameinfo_ != NULL ? *gameinfo_ : *default_instance().gameinfo_; #else @@ -14375,6 +15371,7 @@ inline const ::NetGameInfo& JoinNewGameMessage::gameinfo() const { inline ::NetGameInfo* JoinNewGameMessage::mutable_gameinfo() { set_has_gameinfo(); if (gameinfo_ == NULL) gameinfo_ = new ::NetGameInfo; + // @@protoc_insertion_point(field_mutable:JoinNewGameMessage.gameInfo) return gameinfo_; } inline ::NetGameInfo* JoinNewGameMessage::release_gameinfo() { @@ -14391,6 +15388,7 @@ inline void JoinNewGameMessage::set_allocated_gameinfo(::NetGameInfo* gameinfo) } else { clear_has_gameinfo(); } + // @@protoc_insertion_point(field_set_allocated:JoinNewGameMessage.gameInfo) } // optional string password = 2; @@ -14404,54 +15402,59 @@ inline void JoinNewGameMessage::clear_has_password() { _has_bits_[0] &= ~0x00000002u; } inline void JoinNewGameMessage::clear_password() { - if (password_ != &::google::protobuf::internal::kEmptyString) { + if (password_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { password_->clear(); } clear_has_password(); } inline const ::std::string& JoinNewGameMessage::password() const { + // @@protoc_insertion_point(field_get:JoinNewGameMessage.password) return *password_; } inline void JoinNewGameMessage::set_password(const ::std::string& value) { set_has_password(); - if (password_ == &::google::protobuf::internal::kEmptyString) { + if (password_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { password_ = new ::std::string; } password_->assign(value); + // @@protoc_insertion_point(field_set:JoinNewGameMessage.password) } inline void JoinNewGameMessage::set_password(const char* value) { set_has_password(); - if (password_ == &::google::protobuf::internal::kEmptyString) { + if (password_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { password_ = new ::std::string; } password_->assign(value); + // @@protoc_insertion_point(field_set_char:JoinNewGameMessage.password) } inline void JoinNewGameMessage::set_password(const char* value, size_t size) { set_has_password(); - if (password_ == &::google::protobuf::internal::kEmptyString) { + if (password_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { password_ = new ::std::string; } password_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:JoinNewGameMessage.password) } inline ::std::string* JoinNewGameMessage::mutable_password() { set_has_password(); - if (password_ == &::google::protobuf::internal::kEmptyString) { + if (password_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { password_ = new ::std::string; } + // @@protoc_insertion_point(field_mutable:JoinNewGameMessage.password) return password_; } inline ::std::string* JoinNewGameMessage::release_password() { clear_has_password(); - if (password_ == &::google::protobuf::internal::kEmptyString) { + if (password_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = password_; - password_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + password_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void JoinNewGameMessage::set_allocated_password(::std::string* password) { - if (password_ != &::google::protobuf::internal::kEmptyString) { + if (password_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete password_; } if (password) { @@ -14459,8 +15462,9 @@ inline void JoinNewGameMessage::set_allocated_password(::std::string* password) password_ = password; } else { clear_has_password(); - password_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + password_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } + // @@protoc_insertion_point(field_set_allocated:JoinNewGameMessage.password) } // optional bool autoLeave = 3; @@ -14478,11 +15482,13 @@ inline void JoinNewGameMessage::clear_autoleave() { clear_has_autoleave(); } inline bool JoinNewGameMessage::autoleave() const { + // @@protoc_insertion_point(field_get:JoinNewGameMessage.autoLeave) return autoleave_; } inline void JoinNewGameMessage::set_autoleave(bool value) { set_has_autoleave(); autoleave_ = value; + // @@protoc_insertion_point(field_set:JoinNewGameMessage.autoLeave) } // ------------------------------------------------------------------- @@ -14504,11 +15510,13 @@ inline void RejoinExistingGameMessage::clear_gameid() { clear_has_gameid(); } inline ::google::protobuf::uint32 RejoinExistingGameMessage::gameid() const { + // @@protoc_insertion_point(field_get:RejoinExistingGameMessage.gameId) return gameid_; } inline void RejoinExistingGameMessage::set_gameid(::google::protobuf::uint32 value) { set_has_gameid(); gameid_ = value; + // @@protoc_insertion_point(field_set:RejoinExistingGameMessage.gameId) } // optional bool autoLeave = 2; @@ -14526,11 +15534,13 @@ inline void RejoinExistingGameMessage::clear_autoleave() { clear_has_autoleave(); } inline bool RejoinExistingGameMessage::autoleave() const { + // @@protoc_insertion_point(field_get:RejoinExistingGameMessage.autoLeave) return autoleave_; } inline void RejoinExistingGameMessage::set_autoleave(bool value) { set_has_autoleave(); autoleave_ = value; + // @@protoc_insertion_point(field_set:RejoinExistingGameMessage.autoLeave) } // ------------------------------------------------------------------- @@ -14552,11 +15562,13 @@ inline void JoinGameAckMessage::clear_gameid() { clear_has_gameid(); } inline ::google::protobuf::uint32 JoinGameAckMessage::gameid() const { + // @@protoc_insertion_point(field_get:JoinGameAckMessage.gameId) return gameid_; } inline void JoinGameAckMessage::set_gameid(::google::protobuf::uint32 value) { set_has_gameid(); gameid_ = value; + // @@protoc_insertion_point(field_set:JoinGameAckMessage.gameId) } // required bool areYouGameAdmin = 2; @@ -14574,11 +15586,13 @@ inline void JoinGameAckMessage::clear_areyougameadmin() { clear_has_areyougameadmin(); } inline bool JoinGameAckMessage::areyougameadmin() const { + // @@protoc_insertion_point(field_get:JoinGameAckMessage.areYouGameAdmin) return areyougameadmin_; } inline void JoinGameAckMessage::set_areyougameadmin(bool value) { set_has_areyougameadmin(); areyougameadmin_ = value; + // @@protoc_insertion_point(field_set:JoinGameAckMessage.areYouGameAdmin) } // required .NetGameInfo gameInfo = 3; @@ -14596,6 +15610,7 @@ inline void JoinGameAckMessage::clear_gameinfo() { clear_has_gameinfo(); } inline const ::NetGameInfo& JoinGameAckMessage::gameinfo() const { + // @@protoc_insertion_point(field_get:JoinGameAckMessage.gameInfo) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return gameinfo_ != NULL ? *gameinfo_ : *default_instance().gameinfo_; #else @@ -14605,6 +15620,7 @@ inline const ::NetGameInfo& JoinGameAckMessage::gameinfo() const { inline ::NetGameInfo* JoinGameAckMessage::mutable_gameinfo() { set_has_gameinfo(); if (gameinfo_ == NULL) gameinfo_ = new ::NetGameInfo; + // @@protoc_insertion_point(field_mutable:JoinGameAckMessage.gameInfo) return gameinfo_; } inline ::NetGameInfo* JoinGameAckMessage::release_gameinfo() { @@ -14621,6 +15637,7 @@ inline void JoinGameAckMessage::set_allocated_gameinfo(::NetGameInfo* gameinfo) } else { clear_has_gameinfo(); } + // @@protoc_insertion_point(field_set_allocated:JoinGameAckMessage.gameInfo) } // optional bool spectateOnly = 4; @@ -14638,11 +15655,13 @@ inline void JoinGameAckMessage::clear_spectateonly() { clear_has_spectateonly(); } inline bool JoinGameAckMessage::spectateonly() const { + // @@protoc_insertion_point(field_get:JoinGameAckMessage.spectateOnly) return spectateonly_; } inline void JoinGameAckMessage::set_spectateonly(bool value) { set_has_spectateonly(); spectateonly_ = value; + // @@protoc_insertion_point(field_set:JoinGameAckMessage.spectateOnly) } // ------------------------------------------------------------------- @@ -14664,11 +15683,13 @@ inline void JoinGameFailedMessage::clear_gameid() { clear_has_gameid(); } inline ::google::protobuf::uint32 JoinGameFailedMessage::gameid() const { + // @@protoc_insertion_point(field_get:JoinGameFailedMessage.gameId) return gameid_; } inline void JoinGameFailedMessage::set_gameid(::google::protobuf::uint32 value) { set_has_gameid(); gameid_ = value; + // @@protoc_insertion_point(field_set:JoinGameFailedMessage.gameId) } // required .JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason = 2; @@ -14686,12 +15707,14 @@ inline void JoinGameFailedMessage::clear_joingamefailurereason() { clear_has_joingamefailurereason(); } inline ::JoinGameFailedMessage_JoinGameFailureReason JoinGameFailedMessage::joingamefailurereason() const { + // @@protoc_insertion_point(field_get:JoinGameFailedMessage.joinGameFailureReason) return static_cast< ::JoinGameFailedMessage_JoinGameFailureReason >(joingamefailurereason_); } inline void JoinGameFailedMessage::set_joingamefailurereason(::JoinGameFailedMessage_JoinGameFailureReason value) { assert(::JoinGameFailedMessage_JoinGameFailureReason_IsValid(value)); set_has_joingamefailurereason(); joingamefailurereason_ = value; + // @@protoc_insertion_point(field_set:JoinGameFailedMessage.joinGameFailureReason) } // ------------------------------------------------------------------- @@ -14713,11 +15736,13 @@ inline void GamePlayerJoinedMessage::clear_gameid() { clear_has_gameid(); } inline ::google::protobuf::uint32 GamePlayerJoinedMessage::gameid() const { + // @@protoc_insertion_point(field_get:GamePlayerJoinedMessage.gameId) return gameid_; } inline void GamePlayerJoinedMessage::set_gameid(::google::protobuf::uint32 value) { set_has_gameid(); gameid_ = value; + // @@protoc_insertion_point(field_set:GamePlayerJoinedMessage.gameId) } // required uint32 playerId = 2; @@ -14735,11 +15760,13 @@ inline void GamePlayerJoinedMessage::clear_playerid() { clear_has_playerid(); } inline ::google::protobuf::uint32 GamePlayerJoinedMessage::playerid() const { + // @@protoc_insertion_point(field_get:GamePlayerJoinedMessage.playerId) return playerid_; } inline void GamePlayerJoinedMessage::set_playerid(::google::protobuf::uint32 value) { set_has_playerid(); playerid_ = value; + // @@protoc_insertion_point(field_set:GamePlayerJoinedMessage.playerId) } // required bool isGameAdmin = 3; @@ -14757,11 +15784,13 @@ inline void GamePlayerJoinedMessage::clear_isgameadmin() { clear_has_isgameadmin(); } inline bool GamePlayerJoinedMessage::isgameadmin() const { + // @@protoc_insertion_point(field_get:GamePlayerJoinedMessage.isGameAdmin) return isgameadmin_; } inline void GamePlayerJoinedMessage::set_isgameadmin(bool value) { set_has_isgameadmin(); isgameadmin_ = value; + // @@protoc_insertion_point(field_set:GamePlayerJoinedMessage.isGameAdmin) } // ------------------------------------------------------------------- @@ -14783,11 +15812,13 @@ inline void GamePlayerLeftMessage::clear_gameid() { clear_has_gameid(); } inline ::google::protobuf::uint32 GamePlayerLeftMessage::gameid() const { + // @@protoc_insertion_point(field_get:GamePlayerLeftMessage.gameId) return gameid_; } inline void GamePlayerLeftMessage::set_gameid(::google::protobuf::uint32 value) { set_has_gameid(); gameid_ = value; + // @@protoc_insertion_point(field_set:GamePlayerLeftMessage.gameId) } // required uint32 playerId = 2; @@ -14805,11 +15836,13 @@ inline void GamePlayerLeftMessage::clear_playerid() { clear_has_playerid(); } inline ::google::protobuf::uint32 GamePlayerLeftMessage::playerid() const { + // @@protoc_insertion_point(field_get:GamePlayerLeftMessage.playerId) return playerid_; } inline void GamePlayerLeftMessage::set_playerid(::google::protobuf::uint32 value) { set_has_playerid(); playerid_ = value; + // @@protoc_insertion_point(field_set:GamePlayerLeftMessage.playerId) } // required .GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason = 3; @@ -14827,12 +15860,14 @@ inline void GamePlayerLeftMessage::clear_gameplayerleftreason() { clear_has_gameplayerleftreason(); } inline ::GamePlayerLeftMessage_GamePlayerLeftReason GamePlayerLeftMessage::gameplayerleftreason() const { + // @@protoc_insertion_point(field_get:GamePlayerLeftMessage.gamePlayerLeftReason) return static_cast< ::GamePlayerLeftMessage_GamePlayerLeftReason >(gameplayerleftreason_); } inline void GamePlayerLeftMessage::set_gameplayerleftreason(::GamePlayerLeftMessage_GamePlayerLeftReason value) { assert(::GamePlayerLeftMessage_GamePlayerLeftReason_IsValid(value)); set_has_gameplayerleftreason(); gameplayerleftreason_ = value; + // @@protoc_insertion_point(field_set:GamePlayerLeftMessage.gamePlayerLeftReason) } // ------------------------------------------------------------------- @@ -14854,11 +15889,13 @@ inline void GameSpectatorJoinedMessage::clear_gameid() { clear_has_gameid(); } inline ::google::protobuf::uint32 GameSpectatorJoinedMessage::gameid() const { + // @@protoc_insertion_point(field_get:GameSpectatorJoinedMessage.gameId) return gameid_; } inline void GameSpectatorJoinedMessage::set_gameid(::google::protobuf::uint32 value) { set_has_gameid(); gameid_ = value; + // @@protoc_insertion_point(field_set:GameSpectatorJoinedMessage.gameId) } // required uint32 playerId = 2; @@ -14876,11 +15913,13 @@ inline void GameSpectatorJoinedMessage::clear_playerid() { clear_has_playerid(); } inline ::google::protobuf::uint32 GameSpectatorJoinedMessage::playerid() const { + // @@protoc_insertion_point(field_get:GameSpectatorJoinedMessage.playerId) return playerid_; } inline void GameSpectatorJoinedMessage::set_playerid(::google::protobuf::uint32 value) { set_has_playerid(); playerid_ = value; + // @@protoc_insertion_point(field_set:GameSpectatorJoinedMessage.playerId) } // ------------------------------------------------------------------- @@ -14902,11 +15941,13 @@ inline void GameSpectatorLeftMessage::clear_gameid() { clear_has_gameid(); } inline ::google::protobuf::uint32 GameSpectatorLeftMessage::gameid() const { + // @@protoc_insertion_point(field_get:GameSpectatorLeftMessage.gameId) return gameid_; } inline void GameSpectatorLeftMessage::set_gameid(::google::protobuf::uint32 value) { set_has_gameid(); gameid_ = value; + // @@protoc_insertion_point(field_set:GameSpectatorLeftMessage.gameId) } // required uint32 playerId = 2; @@ -14924,11 +15965,13 @@ inline void GameSpectatorLeftMessage::clear_playerid() { clear_has_playerid(); } inline ::google::protobuf::uint32 GameSpectatorLeftMessage::playerid() const { + // @@protoc_insertion_point(field_get:GameSpectatorLeftMessage.playerId) return playerid_; } inline void GameSpectatorLeftMessage::set_playerid(::google::protobuf::uint32 value) { set_has_playerid(); playerid_ = value; + // @@protoc_insertion_point(field_set:GameSpectatorLeftMessage.playerId) } // required .GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason = 3; @@ -14946,12 +15989,14 @@ inline void GameSpectatorLeftMessage::clear_gamespectatorleftreason() { clear_has_gamespectatorleftreason(); } inline ::GamePlayerLeftMessage_GamePlayerLeftReason GameSpectatorLeftMessage::gamespectatorleftreason() const { + // @@protoc_insertion_point(field_get:GameSpectatorLeftMessage.gameSpectatorLeftReason) return static_cast< ::GamePlayerLeftMessage_GamePlayerLeftReason >(gamespectatorleftreason_); } inline void GameSpectatorLeftMessage::set_gamespectatorleftreason(::GamePlayerLeftMessage_GamePlayerLeftReason value) { assert(::GamePlayerLeftMessage_GamePlayerLeftReason_IsValid(value)); set_has_gamespectatorleftreason(); gamespectatorleftreason_ = value; + // @@protoc_insertion_point(field_set:GameSpectatorLeftMessage.gameSpectatorLeftReason) } // ------------------------------------------------------------------- @@ -14973,11 +16018,13 @@ inline void GameAdminChangedMessage::clear_gameid() { clear_has_gameid(); } inline ::google::protobuf::uint32 GameAdminChangedMessage::gameid() const { + // @@protoc_insertion_point(field_get:GameAdminChangedMessage.gameId) return gameid_; } inline void GameAdminChangedMessage::set_gameid(::google::protobuf::uint32 value) { set_has_gameid(); gameid_ = value; + // @@protoc_insertion_point(field_set:GameAdminChangedMessage.gameId) } // required uint32 newAdminPlayerId = 2; @@ -14995,11 +16042,13 @@ inline void GameAdminChangedMessage::clear_newadminplayerid() { clear_has_newadminplayerid(); } inline ::google::protobuf::uint32 GameAdminChangedMessage::newadminplayerid() const { + // @@protoc_insertion_point(field_get:GameAdminChangedMessage.newAdminPlayerId) return newadminplayerid_; } inline void GameAdminChangedMessage::set_newadminplayerid(::google::protobuf::uint32 value) { set_has_newadminplayerid(); newadminplayerid_ = value; + // @@protoc_insertion_point(field_set:GameAdminChangedMessage.newAdminPlayerId) } // ------------------------------------------------------------------- @@ -15021,11 +16070,13 @@ inline void RemovedFromGameMessage::clear_gameid() { clear_has_gameid(); } inline ::google::protobuf::uint32 RemovedFromGameMessage::gameid() const { + // @@protoc_insertion_point(field_get:RemovedFromGameMessage.gameId) return gameid_; } inline void RemovedFromGameMessage::set_gameid(::google::protobuf::uint32 value) { set_has_gameid(); gameid_ = value; + // @@protoc_insertion_point(field_set:RemovedFromGameMessage.gameId) } // required .RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason = 2; @@ -15043,12 +16094,14 @@ inline void RemovedFromGameMessage::clear_removedfromgamereason() { clear_has_removedfromgamereason(); } inline ::RemovedFromGameMessage_RemovedFromGameReason RemovedFromGameMessage::removedfromgamereason() const { + // @@protoc_insertion_point(field_get:RemovedFromGameMessage.removedFromGameReason) return static_cast< ::RemovedFromGameMessage_RemovedFromGameReason >(removedfromgamereason_); } inline void RemovedFromGameMessage::set_removedfromgamereason(::RemovedFromGameMessage_RemovedFromGameReason value) { assert(::RemovedFromGameMessage_RemovedFromGameReason_IsValid(value)); set_has_removedfromgamereason(); removedfromgamereason_ = value; + // @@protoc_insertion_point(field_set:RemovedFromGameMessage.removedFromGameReason) } // ------------------------------------------------------------------- @@ -15070,11 +16123,13 @@ inline void KickPlayerRequestMessage::clear_gameid() { clear_has_gameid(); } inline ::google::protobuf::uint32 KickPlayerRequestMessage::gameid() const { + // @@protoc_insertion_point(field_get:KickPlayerRequestMessage.gameId) return gameid_; } inline void KickPlayerRequestMessage::set_gameid(::google::protobuf::uint32 value) { set_has_gameid(); gameid_ = value; + // @@protoc_insertion_point(field_set:KickPlayerRequestMessage.gameId) } // required uint32 playerId = 2; @@ -15092,11 +16147,13 @@ inline void KickPlayerRequestMessage::clear_playerid() { clear_has_playerid(); } inline ::google::protobuf::uint32 KickPlayerRequestMessage::playerid() const { + // @@protoc_insertion_point(field_get:KickPlayerRequestMessage.playerId) return playerid_; } inline void KickPlayerRequestMessage::set_playerid(::google::protobuf::uint32 value) { set_has_playerid(); playerid_ = value; + // @@protoc_insertion_point(field_set:KickPlayerRequestMessage.playerId) } // ------------------------------------------------------------------- @@ -15118,11 +16175,13 @@ inline void LeaveGameRequestMessage::clear_gameid() { clear_has_gameid(); } inline ::google::protobuf::uint32 LeaveGameRequestMessage::gameid() const { + // @@protoc_insertion_point(field_get:LeaveGameRequestMessage.gameId) return gameid_; } inline void LeaveGameRequestMessage::set_gameid(::google::protobuf::uint32 value) { set_has_gameid(); gameid_ = value; + // @@protoc_insertion_point(field_set:LeaveGameRequestMessage.gameId) } // ------------------------------------------------------------------- @@ -15144,11 +16203,13 @@ inline void InvitePlayerToGameMessage::clear_gameid() { clear_has_gameid(); } inline ::google::protobuf::uint32 InvitePlayerToGameMessage::gameid() const { + // @@protoc_insertion_point(field_get:InvitePlayerToGameMessage.gameId) return gameid_; } inline void InvitePlayerToGameMessage::set_gameid(::google::protobuf::uint32 value) { set_has_gameid(); gameid_ = value; + // @@protoc_insertion_point(field_set:InvitePlayerToGameMessage.gameId) } // required uint32 playerId = 2; @@ -15166,11 +16227,13 @@ inline void InvitePlayerToGameMessage::clear_playerid() { clear_has_playerid(); } inline ::google::protobuf::uint32 InvitePlayerToGameMessage::playerid() const { + // @@protoc_insertion_point(field_get:InvitePlayerToGameMessage.playerId) return playerid_; } inline void InvitePlayerToGameMessage::set_playerid(::google::protobuf::uint32 value) { set_has_playerid(); playerid_ = value; + // @@protoc_insertion_point(field_set:InvitePlayerToGameMessage.playerId) } // ------------------------------------------------------------------- @@ -15192,11 +16255,13 @@ inline void InviteNotifyMessage::clear_gameid() { clear_has_gameid(); } inline ::google::protobuf::uint32 InviteNotifyMessage::gameid() const { + // @@protoc_insertion_point(field_get:InviteNotifyMessage.gameId) return gameid_; } inline void InviteNotifyMessage::set_gameid(::google::protobuf::uint32 value) { set_has_gameid(); gameid_ = value; + // @@protoc_insertion_point(field_set:InviteNotifyMessage.gameId) } // required uint32 playerIdWho = 2; @@ -15214,11 +16279,13 @@ inline void InviteNotifyMessage::clear_playeridwho() { clear_has_playeridwho(); } inline ::google::protobuf::uint32 InviteNotifyMessage::playeridwho() const { + // @@protoc_insertion_point(field_get:InviteNotifyMessage.playerIdWho) return playeridwho_; } inline void InviteNotifyMessage::set_playeridwho(::google::protobuf::uint32 value) { set_has_playeridwho(); playeridwho_ = value; + // @@protoc_insertion_point(field_set:InviteNotifyMessage.playerIdWho) } // required uint32 playerIdByWhom = 3; @@ -15236,11 +16303,13 @@ inline void InviteNotifyMessage::clear_playeridbywhom() { clear_has_playeridbywhom(); } inline ::google::protobuf::uint32 InviteNotifyMessage::playeridbywhom() const { + // @@protoc_insertion_point(field_get:InviteNotifyMessage.playerIdByWhom) return playeridbywhom_; } inline void InviteNotifyMessage::set_playeridbywhom(::google::protobuf::uint32 value) { set_has_playeridbywhom(); playeridbywhom_ = value; + // @@protoc_insertion_point(field_set:InviteNotifyMessage.playerIdByWhom) } // ------------------------------------------------------------------- @@ -15262,11 +16331,13 @@ inline void RejectGameInvitationMessage::clear_gameid() { clear_has_gameid(); } inline ::google::protobuf::uint32 RejectGameInvitationMessage::gameid() const { + // @@protoc_insertion_point(field_get:RejectGameInvitationMessage.gameId) return gameid_; } inline void RejectGameInvitationMessage::set_gameid(::google::protobuf::uint32 value) { set_has_gameid(); gameid_ = value; + // @@protoc_insertion_point(field_set:RejectGameInvitationMessage.gameId) } // required .RejectGameInvitationMessage.RejectGameInvReason myRejectReason = 2; @@ -15284,12 +16355,14 @@ inline void RejectGameInvitationMessage::clear_myrejectreason() { clear_has_myrejectreason(); } inline ::RejectGameInvitationMessage_RejectGameInvReason RejectGameInvitationMessage::myrejectreason() const { + // @@protoc_insertion_point(field_get:RejectGameInvitationMessage.myRejectReason) return static_cast< ::RejectGameInvitationMessage_RejectGameInvReason >(myrejectreason_); } inline void RejectGameInvitationMessage::set_myrejectreason(::RejectGameInvitationMessage_RejectGameInvReason value) { assert(::RejectGameInvitationMessage_RejectGameInvReason_IsValid(value)); set_has_myrejectreason(); myrejectreason_ = value; + // @@protoc_insertion_point(field_set:RejectGameInvitationMessage.myRejectReason) } // ------------------------------------------------------------------- @@ -15311,11 +16384,13 @@ inline void RejectInvNotifyMessage::clear_gameid() { clear_has_gameid(); } inline ::google::protobuf::uint32 RejectInvNotifyMessage::gameid() const { + // @@protoc_insertion_point(field_get:RejectInvNotifyMessage.gameId) return gameid_; } inline void RejectInvNotifyMessage::set_gameid(::google::protobuf::uint32 value) { set_has_gameid(); gameid_ = value; + // @@protoc_insertion_point(field_set:RejectInvNotifyMessage.gameId) } // required uint32 playerId = 2; @@ -15333,11 +16408,13 @@ inline void RejectInvNotifyMessage::clear_playerid() { clear_has_playerid(); } inline ::google::protobuf::uint32 RejectInvNotifyMessage::playerid() const { + // @@protoc_insertion_point(field_get:RejectInvNotifyMessage.playerId) return playerid_; } inline void RejectInvNotifyMessage::set_playerid(::google::protobuf::uint32 value) { set_has_playerid(); playerid_ = value; + // @@protoc_insertion_point(field_set:RejectInvNotifyMessage.playerId) } // required .RejectGameInvitationMessage.RejectGameInvReason playerRejectReason = 3; @@ -15355,12 +16432,14 @@ inline void RejectInvNotifyMessage::clear_playerrejectreason() { clear_has_playerrejectreason(); } inline ::RejectGameInvitationMessage_RejectGameInvReason RejectInvNotifyMessage::playerrejectreason() const { + // @@protoc_insertion_point(field_get:RejectInvNotifyMessage.playerRejectReason) return static_cast< ::RejectGameInvitationMessage_RejectGameInvReason >(playerrejectreason_); } inline void RejectInvNotifyMessage::set_playerrejectreason(::RejectGameInvitationMessage_RejectGameInvReason value) { assert(::RejectGameInvitationMessage_RejectGameInvReason_IsValid(value)); set_has_playerrejectreason(); playerrejectreason_ = value; + // @@protoc_insertion_point(field_set:RejectInvNotifyMessage.playerRejectReason) } // ------------------------------------------------------------------- @@ -15382,11 +16461,13 @@ inline void StartEventMessage::clear_gameid() { clear_has_gameid(); } inline ::google::protobuf::uint32 StartEventMessage::gameid() const { + // @@protoc_insertion_point(field_get:StartEventMessage.gameId) return gameid_; } inline void StartEventMessage::set_gameid(::google::protobuf::uint32 value) { set_has_gameid(); gameid_ = value; + // @@protoc_insertion_point(field_set:StartEventMessage.gameId) } // required .StartEventMessage.StartEventType startEventType = 2; @@ -15404,12 +16485,14 @@ inline void StartEventMessage::clear_starteventtype() { clear_has_starteventtype(); } inline ::StartEventMessage_StartEventType StartEventMessage::starteventtype() const { + // @@protoc_insertion_point(field_get:StartEventMessage.startEventType) return static_cast< ::StartEventMessage_StartEventType >(starteventtype_); } inline void StartEventMessage::set_starteventtype(::StartEventMessage_StartEventType value) { assert(::StartEventMessage_StartEventType_IsValid(value)); set_has_starteventtype(); starteventtype_ = value; + // @@protoc_insertion_point(field_set:StartEventMessage.startEventType) } // optional bool fillWithComputerPlayers = 3; @@ -15427,11 +16510,13 @@ inline void StartEventMessage::clear_fillwithcomputerplayers() { clear_has_fillwithcomputerplayers(); } inline bool StartEventMessage::fillwithcomputerplayers() const { + // @@protoc_insertion_point(field_get:StartEventMessage.fillWithComputerPlayers) return fillwithcomputerplayers_; } inline void StartEventMessage::set_fillwithcomputerplayers(bool value) { set_has_fillwithcomputerplayers(); fillwithcomputerplayers_ = value; + // @@protoc_insertion_point(field_set:StartEventMessage.fillWithComputerPlayers) } // ------------------------------------------------------------------- @@ -15453,11 +16538,13 @@ inline void StartEventAckMessage::clear_gameid() { clear_has_gameid(); } inline ::google::protobuf::uint32 StartEventAckMessage::gameid() const { + // @@protoc_insertion_point(field_get:StartEventAckMessage.gameId) return gameid_; } inline void StartEventAckMessage::set_gameid(::google::protobuf::uint32 value) { set_has_gameid(); gameid_ = value; + // @@protoc_insertion_point(field_set:StartEventAckMessage.gameId) } // ------------------------------------------------------------------- @@ -15479,11 +16566,13 @@ inline void GameStartInitialMessage::clear_gameid() { clear_has_gameid(); } inline ::google::protobuf::uint32 GameStartInitialMessage::gameid() const { + // @@protoc_insertion_point(field_get:GameStartInitialMessage.gameId) return gameid_; } inline void GameStartInitialMessage::set_gameid(::google::protobuf::uint32 value) { set_has_gameid(); gameid_ = value; + // @@protoc_insertion_point(field_set:GameStartInitialMessage.gameId) } // required uint32 startDealerPlayerId = 2; @@ -15501,11 +16590,13 @@ inline void GameStartInitialMessage::clear_startdealerplayerid() { clear_has_startdealerplayerid(); } inline ::google::protobuf::uint32 GameStartInitialMessage::startdealerplayerid() const { + // @@protoc_insertion_point(field_get:GameStartInitialMessage.startDealerPlayerId) return startdealerplayerid_; } inline void GameStartInitialMessage::set_startdealerplayerid(::google::protobuf::uint32 value) { set_has_startdealerplayerid(); startdealerplayerid_ = value; + // @@protoc_insertion_point(field_set:GameStartInitialMessage.startDealerPlayerId) } // repeated uint32 playerSeats = 3 [packed = true]; @@ -15516,20 +16607,25 @@ inline void GameStartInitialMessage::clear_playerseats() { playerseats_.Clear(); } inline ::google::protobuf::uint32 GameStartInitialMessage::playerseats(int index) const { + // @@protoc_insertion_point(field_get:GameStartInitialMessage.playerSeats) return playerseats_.Get(index); } inline void GameStartInitialMessage::set_playerseats(int index, ::google::protobuf::uint32 value) { playerseats_.Set(index, value); + // @@protoc_insertion_point(field_set:GameStartInitialMessage.playerSeats) } inline void GameStartInitialMessage::add_playerseats(::google::protobuf::uint32 value) { playerseats_.Add(value); + // @@protoc_insertion_point(field_add:GameStartInitialMessage.playerSeats) } inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& GameStartInitialMessage::playerseats() const { + // @@protoc_insertion_point(field_list:GameStartInitialMessage.playerSeats) return playerseats_; } inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* GameStartInitialMessage::mutable_playerseats() { + // @@protoc_insertion_point(field_mutable_list:GameStartInitialMessage.playerSeats) return &playerseats_; } @@ -15552,11 +16648,13 @@ inline void GameStartRejoinMessage_RejoinPlayerData::clear_playerid() { clear_has_playerid(); } inline ::google::protobuf::uint32 GameStartRejoinMessage_RejoinPlayerData::playerid() const { + // @@protoc_insertion_point(field_get:GameStartRejoinMessage.RejoinPlayerData.playerId) return playerid_; } inline void GameStartRejoinMessage_RejoinPlayerData::set_playerid(::google::protobuf::uint32 value) { set_has_playerid(); playerid_ = value; + // @@protoc_insertion_point(field_set:GameStartRejoinMessage.RejoinPlayerData.playerId) } // required uint32 playerMoney = 2; @@ -15574,11 +16672,13 @@ inline void GameStartRejoinMessage_RejoinPlayerData::clear_playermoney() { clear_has_playermoney(); } inline ::google::protobuf::uint32 GameStartRejoinMessage_RejoinPlayerData::playermoney() const { + // @@protoc_insertion_point(field_get:GameStartRejoinMessage.RejoinPlayerData.playerMoney) return playermoney_; } inline void GameStartRejoinMessage_RejoinPlayerData::set_playermoney(::google::protobuf::uint32 value) { set_has_playermoney(); playermoney_ = value; + // @@protoc_insertion_point(field_set:GameStartRejoinMessage.RejoinPlayerData.playerMoney) } // ------------------------------------------------------------------- @@ -15600,11 +16700,13 @@ inline void GameStartRejoinMessage::clear_gameid() { clear_has_gameid(); } inline ::google::protobuf::uint32 GameStartRejoinMessage::gameid() const { + // @@protoc_insertion_point(field_get:GameStartRejoinMessage.gameId) return gameid_; } inline void GameStartRejoinMessage::set_gameid(::google::protobuf::uint32 value) { set_has_gameid(); gameid_ = value; + // @@protoc_insertion_point(field_set:GameStartRejoinMessage.gameId) } // required uint32 startDealerPlayerId = 2; @@ -15622,11 +16724,13 @@ inline void GameStartRejoinMessage::clear_startdealerplayerid() { clear_has_startdealerplayerid(); } inline ::google::protobuf::uint32 GameStartRejoinMessage::startdealerplayerid() const { + // @@protoc_insertion_point(field_get:GameStartRejoinMessage.startDealerPlayerId) return startdealerplayerid_; } inline void GameStartRejoinMessage::set_startdealerplayerid(::google::protobuf::uint32 value) { set_has_startdealerplayerid(); startdealerplayerid_ = value; + // @@protoc_insertion_point(field_set:GameStartRejoinMessage.startDealerPlayerId) } // required uint32 handNum = 3; @@ -15644,11 +16748,13 @@ inline void GameStartRejoinMessage::clear_handnum() { clear_has_handnum(); } inline ::google::protobuf::uint32 GameStartRejoinMessage::handnum() const { + // @@protoc_insertion_point(field_get:GameStartRejoinMessage.handNum) return handnum_; } inline void GameStartRejoinMessage::set_handnum(::google::protobuf::uint32 value) { set_has_handnum(); handnum_ = value; + // @@protoc_insertion_point(field_set:GameStartRejoinMessage.handNum) } // repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; @@ -15659,20 +16765,25 @@ inline void GameStartRejoinMessage::clear_rejoinplayerdata() { rejoinplayerdata_.Clear(); } inline const ::GameStartRejoinMessage_RejoinPlayerData& GameStartRejoinMessage::rejoinplayerdata(int index) const { + // @@protoc_insertion_point(field_get:GameStartRejoinMessage.rejoinPlayerData) return rejoinplayerdata_.Get(index); } inline ::GameStartRejoinMessage_RejoinPlayerData* GameStartRejoinMessage::mutable_rejoinplayerdata(int index) { + // @@protoc_insertion_point(field_mutable:GameStartRejoinMessage.rejoinPlayerData) return rejoinplayerdata_.Mutable(index); } inline ::GameStartRejoinMessage_RejoinPlayerData* GameStartRejoinMessage::add_rejoinplayerdata() { + // @@protoc_insertion_point(field_add:GameStartRejoinMessage.rejoinPlayerData) return rejoinplayerdata_.Add(); } inline const ::google::protobuf::RepeatedPtrField< ::GameStartRejoinMessage_RejoinPlayerData >& GameStartRejoinMessage::rejoinplayerdata() const { + // @@protoc_insertion_point(field_list:GameStartRejoinMessage.rejoinPlayerData) return rejoinplayerdata_; } inline ::google::protobuf::RepeatedPtrField< ::GameStartRejoinMessage_RejoinPlayerData >* GameStartRejoinMessage::mutable_rejoinplayerdata() { + // @@protoc_insertion_point(field_mutable_list:GameStartRejoinMessage.rejoinPlayerData) return &rejoinplayerdata_; } @@ -15695,11 +16806,13 @@ inline void HandStartMessage_PlainCards::clear_plaincard1() { clear_has_plaincard1(); } inline ::google::protobuf::uint32 HandStartMessage_PlainCards::plaincard1() const { + // @@protoc_insertion_point(field_get:HandStartMessage.PlainCards.plainCard1) return plaincard1_; } inline void HandStartMessage_PlainCards::set_plaincard1(::google::protobuf::uint32 value) { set_has_plaincard1(); plaincard1_ = value; + // @@protoc_insertion_point(field_set:HandStartMessage.PlainCards.plainCard1) } // required uint32 plainCard2 = 2; @@ -15717,11 +16830,13 @@ inline void HandStartMessage_PlainCards::clear_plaincard2() { clear_has_plaincard2(); } inline ::google::protobuf::uint32 HandStartMessage_PlainCards::plaincard2() const { + // @@protoc_insertion_point(field_get:HandStartMessage.PlainCards.plainCard2) return plaincard2_; } inline void HandStartMessage_PlainCards::set_plaincard2(::google::protobuf::uint32 value) { set_has_plaincard2(); plaincard2_ = value; + // @@protoc_insertion_point(field_set:HandStartMessage.PlainCards.plainCard2) } // ------------------------------------------------------------------- @@ -15743,11 +16858,13 @@ inline void HandStartMessage::clear_gameid() { clear_has_gameid(); } inline ::google::protobuf::uint32 HandStartMessage::gameid() const { + // @@protoc_insertion_point(field_get:HandStartMessage.gameId) return gameid_; } inline void HandStartMessage::set_gameid(::google::protobuf::uint32 value) { set_has_gameid(); gameid_ = value; + // @@protoc_insertion_point(field_set:HandStartMessage.gameId) } // optional .HandStartMessage.PlainCards plainCards = 2; @@ -15765,6 +16882,7 @@ inline void HandStartMessage::clear_plaincards() { clear_has_plaincards(); } inline const ::HandStartMessage_PlainCards& HandStartMessage::plaincards() const { + // @@protoc_insertion_point(field_get:HandStartMessage.plainCards) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return plaincards_ != NULL ? *plaincards_ : *default_instance().plaincards_; #else @@ -15774,6 +16892,7 @@ inline const ::HandStartMessage_PlainCards& HandStartMessage::plaincards() const inline ::HandStartMessage_PlainCards* HandStartMessage::mutable_plaincards() { set_has_plaincards(); if (plaincards_ == NULL) plaincards_ = new ::HandStartMessage_PlainCards; + // @@protoc_insertion_point(field_mutable:HandStartMessage.plainCards) return plaincards_; } inline ::HandStartMessage_PlainCards* HandStartMessage::release_plaincards() { @@ -15790,6 +16909,7 @@ inline void HandStartMessage::set_allocated_plaincards(::HandStartMessage_PlainC } else { clear_has_plaincards(); } + // @@protoc_insertion_point(field_set_allocated:HandStartMessage.plainCards) } // optional bytes encryptedCards = 3; @@ -15803,54 +16923,59 @@ inline void HandStartMessage::clear_has_encryptedcards() { _has_bits_[0] &= ~0x00000004u; } inline void HandStartMessage::clear_encryptedcards() { - if (encryptedcards_ != &::google::protobuf::internal::kEmptyString) { + if (encryptedcards_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { encryptedcards_->clear(); } clear_has_encryptedcards(); } inline const ::std::string& HandStartMessage::encryptedcards() const { + // @@protoc_insertion_point(field_get:HandStartMessage.encryptedCards) return *encryptedcards_; } inline void HandStartMessage::set_encryptedcards(const ::std::string& value) { set_has_encryptedcards(); - if (encryptedcards_ == &::google::protobuf::internal::kEmptyString) { + if (encryptedcards_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { encryptedcards_ = new ::std::string; } encryptedcards_->assign(value); + // @@protoc_insertion_point(field_set:HandStartMessage.encryptedCards) } inline void HandStartMessage::set_encryptedcards(const char* value) { set_has_encryptedcards(); - if (encryptedcards_ == &::google::protobuf::internal::kEmptyString) { + if (encryptedcards_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { encryptedcards_ = new ::std::string; } encryptedcards_->assign(value); + // @@protoc_insertion_point(field_set_char:HandStartMessage.encryptedCards) } inline void HandStartMessage::set_encryptedcards(const void* value, size_t size) { set_has_encryptedcards(); - if (encryptedcards_ == &::google::protobuf::internal::kEmptyString) { + if (encryptedcards_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { encryptedcards_ = new ::std::string; } encryptedcards_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:HandStartMessage.encryptedCards) } inline ::std::string* HandStartMessage::mutable_encryptedcards() { set_has_encryptedcards(); - if (encryptedcards_ == &::google::protobuf::internal::kEmptyString) { + if (encryptedcards_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { encryptedcards_ = new ::std::string; } + // @@protoc_insertion_point(field_mutable:HandStartMessage.encryptedCards) return encryptedcards_; } inline ::std::string* HandStartMessage::release_encryptedcards() { clear_has_encryptedcards(); - if (encryptedcards_ == &::google::protobuf::internal::kEmptyString) { + if (encryptedcards_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = encryptedcards_; - encryptedcards_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + encryptedcards_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void HandStartMessage::set_allocated_encryptedcards(::std::string* encryptedcards) { - if (encryptedcards_ != &::google::protobuf::internal::kEmptyString) { + if (encryptedcards_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete encryptedcards_; } if (encryptedcards) { @@ -15858,8 +16983,9 @@ inline void HandStartMessage::set_allocated_encryptedcards(::std::string* encryp encryptedcards_ = encryptedcards; } else { clear_has_encryptedcards(); - encryptedcards_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + encryptedcards_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } + // @@protoc_insertion_point(field_set_allocated:HandStartMessage.encryptedCards) } // required uint32 smallBlind = 4; @@ -15877,11 +17003,13 @@ inline void HandStartMessage::clear_smallblind() { clear_has_smallblind(); } inline ::google::protobuf::uint32 HandStartMessage::smallblind() const { + // @@protoc_insertion_point(field_get:HandStartMessage.smallBlind) return smallblind_; } inline void HandStartMessage::set_smallblind(::google::protobuf::uint32 value) { set_has_smallblind(); smallblind_ = value; + // @@protoc_insertion_point(field_set:HandStartMessage.smallBlind) } // repeated .NetPlayerState seatStates = 5; @@ -15892,22 +17020,27 @@ inline void HandStartMessage::clear_seatstates() { seatstates_.Clear(); } inline ::NetPlayerState HandStartMessage::seatstates(int index) const { + // @@protoc_insertion_point(field_get:HandStartMessage.seatStates) return static_cast< ::NetPlayerState >(seatstates_.Get(index)); } 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::add_seatstates(::NetPlayerState value) { assert(::NetPlayerState_IsValid(value)); seatstates_.Add(value); + // @@protoc_insertion_point(field_add:HandStartMessage.seatStates) } inline const ::google::protobuf::RepeatedField& HandStartMessage::seatstates() const { + // @@protoc_insertion_point(field_list:HandStartMessage.seatStates) return seatstates_; } inline ::google::protobuf::RepeatedField* HandStartMessage::mutable_seatstates() { + // @@protoc_insertion_point(field_mutable_list:HandStartMessage.seatStates) return &seatstates_; } @@ -15926,11 +17059,13 @@ inline void HandStartMessage::clear_dealerplayerid() { clear_has_dealerplayerid(); } inline ::google::protobuf::uint32 HandStartMessage::dealerplayerid() const { + // @@protoc_insertion_point(field_get:HandStartMessage.dealerPlayerId) return dealerplayerid_; } inline void HandStartMessage::set_dealerplayerid(::google::protobuf::uint32 value) { set_has_dealerplayerid(); dealerplayerid_ = value; + // @@protoc_insertion_point(field_set:HandStartMessage.dealerPlayerId) } // ------------------------------------------------------------------- @@ -15952,11 +17087,13 @@ inline void PlayersTurnMessage::clear_gameid() { clear_has_gameid(); } inline ::google::protobuf::uint32 PlayersTurnMessage::gameid() const { + // @@protoc_insertion_point(field_get:PlayersTurnMessage.gameId) return gameid_; } inline void PlayersTurnMessage::set_gameid(::google::protobuf::uint32 value) { set_has_gameid(); gameid_ = value; + // @@protoc_insertion_point(field_set:PlayersTurnMessage.gameId) } // required uint32 playerId = 2; @@ -15974,11 +17111,13 @@ inline void PlayersTurnMessage::clear_playerid() { clear_has_playerid(); } inline ::google::protobuf::uint32 PlayersTurnMessage::playerid() const { + // @@protoc_insertion_point(field_get:PlayersTurnMessage.playerId) return playerid_; } inline void PlayersTurnMessage::set_playerid(::google::protobuf::uint32 value) { set_has_playerid(); playerid_ = value; + // @@protoc_insertion_point(field_set:PlayersTurnMessage.playerId) } // required .NetGameState gameState = 3; @@ -15996,12 +17135,14 @@ inline void PlayersTurnMessage::clear_gamestate() { clear_has_gamestate(); } inline ::NetGameState PlayersTurnMessage::gamestate() const { + // @@protoc_insertion_point(field_get:PlayersTurnMessage.gameState) return static_cast< ::NetGameState >(gamestate_); } inline void PlayersTurnMessage::set_gamestate(::NetGameState value) { assert(::NetGameState_IsValid(value)); set_has_gamestate(); gamestate_ = value; + // @@protoc_insertion_point(field_set:PlayersTurnMessage.gameState) } // ------------------------------------------------------------------- @@ -16023,11 +17164,13 @@ inline void MyActionRequestMessage::clear_gameid() { clear_has_gameid(); } inline ::google::protobuf::uint32 MyActionRequestMessage::gameid() const { + // @@protoc_insertion_point(field_get:MyActionRequestMessage.gameId) return gameid_; } inline void MyActionRequestMessage::set_gameid(::google::protobuf::uint32 value) { set_has_gameid(); gameid_ = value; + // @@protoc_insertion_point(field_set:MyActionRequestMessage.gameId) } // required uint32 handNum = 2; @@ -16045,11 +17188,13 @@ inline void MyActionRequestMessage::clear_handnum() { clear_has_handnum(); } inline ::google::protobuf::uint32 MyActionRequestMessage::handnum() const { + // @@protoc_insertion_point(field_get:MyActionRequestMessage.handNum) return handnum_; } inline void MyActionRequestMessage::set_handnum(::google::protobuf::uint32 value) { set_has_handnum(); handnum_ = value; + // @@protoc_insertion_point(field_set:MyActionRequestMessage.handNum) } // required .NetGameState gameState = 3; @@ -16067,12 +17212,14 @@ inline void MyActionRequestMessage::clear_gamestate() { clear_has_gamestate(); } inline ::NetGameState MyActionRequestMessage::gamestate() const { + // @@protoc_insertion_point(field_get:MyActionRequestMessage.gameState) return static_cast< ::NetGameState >(gamestate_); } inline void MyActionRequestMessage::set_gamestate(::NetGameState value) { assert(::NetGameState_IsValid(value)); set_has_gamestate(); gamestate_ = value; + // @@protoc_insertion_point(field_set:MyActionRequestMessage.gameState) } // required .NetPlayerAction myAction = 4; @@ -16090,12 +17237,14 @@ inline void MyActionRequestMessage::clear_myaction() { clear_has_myaction(); } inline ::NetPlayerAction MyActionRequestMessage::myaction() const { + // @@protoc_insertion_point(field_get:MyActionRequestMessage.myAction) return static_cast< ::NetPlayerAction >(myaction_); } inline void MyActionRequestMessage::set_myaction(::NetPlayerAction value) { assert(::NetPlayerAction_IsValid(value)); set_has_myaction(); myaction_ = value; + // @@protoc_insertion_point(field_set:MyActionRequestMessage.myAction) } // required uint32 myRelativeBet = 5; @@ -16113,11 +17262,13 @@ inline void MyActionRequestMessage::clear_myrelativebet() { clear_has_myrelativebet(); } inline ::google::protobuf::uint32 MyActionRequestMessage::myrelativebet() const { + // @@protoc_insertion_point(field_get:MyActionRequestMessage.myRelativeBet) return myrelativebet_; } inline void MyActionRequestMessage::set_myrelativebet(::google::protobuf::uint32 value) { set_has_myrelativebet(); myrelativebet_ = value; + // @@protoc_insertion_point(field_set:MyActionRequestMessage.myRelativeBet) } // ------------------------------------------------------------------- @@ -16139,11 +17290,13 @@ inline void YourActionRejectedMessage::clear_gameid() { clear_has_gameid(); } inline ::google::protobuf::uint32 YourActionRejectedMessage::gameid() const { + // @@protoc_insertion_point(field_get:YourActionRejectedMessage.gameId) return gameid_; } inline void YourActionRejectedMessage::set_gameid(::google::protobuf::uint32 value) { set_has_gameid(); gameid_ = value; + // @@protoc_insertion_point(field_set:YourActionRejectedMessage.gameId) } // required .NetGameState gameState = 2; @@ -16161,12 +17314,14 @@ inline void YourActionRejectedMessage::clear_gamestate() { clear_has_gamestate(); } inline ::NetGameState YourActionRejectedMessage::gamestate() const { + // @@protoc_insertion_point(field_get:YourActionRejectedMessage.gameState) return static_cast< ::NetGameState >(gamestate_); } inline void YourActionRejectedMessage::set_gamestate(::NetGameState value) { assert(::NetGameState_IsValid(value)); set_has_gamestate(); gamestate_ = value; + // @@protoc_insertion_point(field_set:YourActionRejectedMessage.gameState) } // required .NetPlayerAction yourAction = 3; @@ -16184,12 +17339,14 @@ inline void YourActionRejectedMessage::clear_youraction() { clear_has_youraction(); } inline ::NetPlayerAction YourActionRejectedMessage::youraction() const { + // @@protoc_insertion_point(field_get:YourActionRejectedMessage.yourAction) return static_cast< ::NetPlayerAction >(youraction_); } inline void YourActionRejectedMessage::set_youraction(::NetPlayerAction value) { assert(::NetPlayerAction_IsValid(value)); set_has_youraction(); youraction_ = value; + // @@protoc_insertion_point(field_set:YourActionRejectedMessage.yourAction) } // required uint32 yourRelativeBet = 4; @@ -16207,11 +17364,13 @@ inline void YourActionRejectedMessage::clear_yourrelativebet() { clear_has_yourrelativebet(); } inline ::google::protobuf::uint32 YourActionRejectedMessage::yourrelativebet() const { + // @@protoc_insertion_point(field_get:YourActionRejectedMessage.yourRelativeBet) return yourrelativebet_; } inline void YourActionRejectedMessage::set_yourrelativebet(::google::protobuf::uint32 value) { set_has_yourrelativebet(); yourrelativebet_ = value; + // @@protoc_insertion_point(field_set:YourActionRejectedMessage.yourRelativeBet) } // required .YourActionRejectedMessage.RejectionReason rejectionReason = 5; @@ -16229,12 +17388,14 @@ inline void YourActionRejectedMessage::clear_rejectionreason() { clear_has_rejectionreason(); } inline ::YourActionRejectedMessage_RejectionReason YourActionRejectedMessage::rejectionreason() const { + // @@protoc_insertion_point(field_get:YourActionRejectedMessage.rejectionReason) return static_cast< ::YourActionRejectedMessage_RejectionReason >(rejectionreason_); } inline void YourActionRejectedMessage::set_rejectionreason(::YourActionRejectedMessage_RejectionReason value) { assert(::YourActionRejectedMessage_RejectionReason_IsValid(value)); set_has_rejectionreason(); rejectionreason_ = value; + // @@protoc_insertion_point(field_set:YourActionRejectedMessage.rejectionReason) } // ------------------------------------------------------------------- @@ -16256,11 +17417,13 @@ inline void PlayersActionDoneMessage::clear_gameid() { clear_has_gameid(); } inline ::google::protobuf::uint32 PlayersActionDoneMessage::gameid() const { + // @@protoc_insertion_point(field_get:PlayersActionDoneMessage.gameId) return gameid_; } inline void PlayersActionDoneMessage::set_gameid(::google::protobuf::uint32 value) { set_has_gameid(); gameid_ = value; + // @@protoc_insertion_point(field_set:PlayersActionDoneMessage.gameId) } // required uint32 playerId = 2; @@ -16278,11 +17441,13 @@ inline void PlayersActionDoneMessage::clear_playerid() { clear_has_playerid(); } inline ::google::protobuf::uint32 PlayersActionDoneMessage::playerid() const { + // @@protoc_insertion_point(field_get:PlayersActionDoneMessage.playerId) return playerid_; } inline void PlayersActionDoneMessage::set_playerid(::google::protobuf::uint32 value) { set_has_playerid(); playerid_ = value; + // @@protoc_insertion_point(field_set:PlayersActionDoneMessage.playerId) } // required .NetGameState gameState = 3; @@ -16300,12 +17465,14 @@ inline void PlayersActionDoneMessage::clear_gamestate() { clear_has_gamestate(); } inline ::NetGameState PlayersActionDoneMessage::gamestate() const { + // @@protoc_insertion_point(field_get:PlayersActionDoneMessage.gameState) return static_cast< ::NetGameState >(gamestate_); } inline void PlayersActionDoneMessage::set_gamestate(::NetGameState value) { assert(::NetGameState_IsValid(value)); set_has_gamestate(); gamestate_ = value; + // @@protoc_insertion_point(field_set:PlayersActionDoneMessage.gameState) } // required .NetPlayerAction playerAction = 4; @@ -16323,12 +17490,14 @@ inline void PlayersActionDoneMessage::clear_playeraction() { clear_has_playeraction(); } inline ::NetPlayerAction PlayersActionDoneMessage::playeraction() const { + // @@protoc_insertion_point(field_get:PlayersActionDoneMessage.playerAction) return static_cast< ::NetPlayerAction >(playeraction_); } inline void PlayersActionDoneMessage::set_playeraction(::NetPlayerAction value) { assert(::NetPlayerAction_IsValid(value)); set_has_playeraction(); playeraction_ = value; + // @@protoc_insertion_point(field_set:PlayersActionDoneMessage.playerAction) } // required uint32 totalPlayerBet = 5; @@ -16346,11 +17515,13 @@ inline void PlayersActionDoneMessage::clear_totalplayerbet() { clear_has_totalplayerbet(); } inline ::google::protobuf::uint32 PlayersActionDoneMessage::totalplayerbet() const { + // @@protoc_insertion_point(field_get:PlayersActionDoneMessage.totalPlayerBet) return totalplayerbet_; } inline void PlayersActionDoneMessage::set_totalplayerbet(::google::protobuf::uint32 value) { set_has_totalplayerbet(); totalplayerbet_ = value; + // @@protoc_insertion_point(field_set:PlayersActionDoneMessage.totalPlayerBet) } // required uint32 playerMoney = 6; @@ -16368,11 +17539,13 @@ inline void PlayersActionDoneMessage::clear_playermoney() { clear_has_playermoney(); } inline ::google::protobuf::uint32 PlayersActionDoneMessage::playermoney() const { + // @@protoc_insertion_point(field_get:PlayersActionDoneMessage.playerMoney) return playermoney_; } inline void PlayersActionDoneMessage::set_playermoney(::google::protobuf::uint32 value) { set_has_playermoney(); playermoney_ = value; + // @@protoc_insertion_point(field_set:PlayersActionDoneMessage.playerMoney) } // required uint32 highestSet = 7; @@ -16390,11 +17563,13 @@ inline void PlayersActionDoneMessage::clear_highestset() { clear_has_highestset(); } inline ::google::protobuf::uint32 PlayersActionDoneMessage::highestset() const { + // @@protoc_insertion_point(field_get:PlayersActionDoneMessage.highestSet) return highestset_; } inline void PlayersActionDoneMessage::set_highestset(::google::protobuf::uint32 value) { set_has_highestset(); highestset_ = value; + // @@protoc_insertion_point(field_set:PlayersActionDoneMessage.highestSet) } // required uint32 minimumRaise = 8; @@ -16412,11 +17587,13 @@ inline void PlayersActionDoneMessage::clear_minimumraise() { clear_has_minimumraise(); } inline ::google::protobuf::uint32 PlayersActionDoneMessage::minimumraise() const { + // @@protoc_insertion_point(field_get:PlayersActionDoneMessage.minimumRaise) return minimumraise_; } inline void PlayersActionDoneMessage::set_minimumraise(::google::protobuf::uint32 value) { set_has_minimumraise(); minimumraise_ = value; + // @@protoc_insertion_point(field_set:PlayersActionDoneMessage.minimumRaise) } // ------------------------------------------------------------------- @@ -16438,11 +17615,13 @@ inline void DealFlopCardsMessage::clear_gameid() { clear_has_gameid(); } inline ::google::protobuf::uint32 DealFlopCardsMessage::gameid() const { + // @@protoc_insertion_point(field_get:DealFlopCardsMessage.gameId) return gameid_; } inline void DealFlopCardsMessage::set_gameid(::google::protobuf::uint32 value) { set_has_gameid(); gameid_ = value; + // @@protoc_insertion_point(field_set:DealFlopCardsMessage.gameId) } // required uint32 flopCard1 = 2; @@ -16460,11 +17639,13 @@ inline void DealFlopCardsMessage::clear_flopcard1() { clear_has_flopcard1(); } inline ::google::protobuf::uint32 DealFlopCardsMessage::flopcard1() const { + // @@protoc_insertion_point(field_get:DealFlopCardsMessage.flopCard1) return flopcard1_; } inline void DealFlopCardsMessage::set_flopcard1(::google::protobuf::uint32 value) { set_has_flopcard1(); flopcard1_ = value; + // @@protoc_insertion_point(field_set:DealFlopCardsMessage.flopCard1) } // required uint32 flopCard2 = 3; @@ -16482,11 +17663,13 @@ inline void DealFlopCardsMessage::clear_flopcard2() { clear_has_flopcard2(); } inline ::google::protobuf::uint32 DealFlopCardsMessage::flopcard2() const { + // @@protoc_insertion_point(field_get:DealFlopCardsMessage.flopCard2) return flopcard2_; } inline void DealFlopCardsMessage::set_flopcard2(::google::protobuf::uint32 value) { set_has_flopcard2(); flopcard2_ = value; + // @@protoc_insertion_point(field_set:DealFlopCardsMessage.flopCard2) } // required uint32 flopCard3 = 4; @@ -16504,11 +17687,13 @@ inline void DealFlopCardsMessage::clear_flopcard3() { clear_has_flopcard3(); } inline ::google::protobuf::uint32 DealFlopCardsMessage::flopcard3() const { + // @@protoc_insertion_point(field_get:DealFlopCardsMessage.flopCard3) return flopcard3_; } inline void DealFlopCardsMessage::set_flopcard3(::google::protobuf::uint32 value) { set_has_flopcard3(); flopcard3_ = value; + // @@protoc_insertion_point(field_set:DealFlopCardsMessage.flopCard3) } // ------------------------------------------------------------------- @@ -16530,11 +17715,13 @@ inline void DealTurnCardMessage::clear_gameid() { clear_has_gameid(); } inline ::google::protobuf::uint32 DealTurnCardMessage::gameid() const { + // @@protoc_insertion_point(field_get:DealTurnCardMessage.gameId) return gameid_; } inline void DealTurnCardMessage::set_gameid(::google::protobuf::uint32 value) { set_has_gameid(); gameid_ = value; + // @@protoc_insertion_point(field_set:DealTurnCardMessage.gameId) } // required uint32 turnCard = 2; @@ -16552,11 +17739,13 @@ inline void DealTurnCardMessage::clear_turncard() { clear_has_turncard(); } inline ::google::protobuf::uint32 DealTurnCardMessage::turncard() const { + // @@protoc_insertion_point(field_get:DealTurnCardMessage.turnCard) return turncard_; } inline void DealTurnCardMessage::set_turncard(::google::protobuf::uint32 value) { set_has_turncard(); turncard_ = value; + // @@protoc_insertion_point(field_set:DealTurnCardMessage.turnCard) } // ------------------------------------------------------------------- @@ -16578,11 +17767,13 @@ inline void DealRiverCardMessage::clear_gameid() { clear_has_gameid(); } inline ::google::protobuf::uint32 DealRiverCardMessage::gameid() const { + // @@protoc_insertion_point(field_get:DealRiverCardMessage.gameId) return gameid_; } inline void DealRiverCardMessage::set_gameid(::google::protobuf::uint32 value) { set_has_gameid(); gameid_ = value; + // @@protoc_insertion_point(field_set:DealRiverCardMessage.gameId) } // required uint32 riverCard = 2; @@ -16600,11 +17791,13 @@ inline void DealRiverCardMessage::clear_rivercard() { clear_has_rivercard(); } inline ::google::protobuf::uint32 DealRiverCardMessage::rivercard() const { + // @@protoc_insertion_point(field_get:DealRiverCardMessage.riverCard) return rivercard_; } inline void DealRiverCardMessage::set_rivercard(::google::protobuf::uint32 value) { set_has_rivercard(); rivercard_ = value; + // @@protoc_insertion_point(field_set:DealRiverCardMessage.riverCard) } // ------------------------------------------------------------------- @@ -16626,11 +17819,13 @@ inline void AllInShowCardsMessage_PlayerAllIn::clear_playerid() { clear_has_playerid(); } inline ::google::protobuf::uint32 AllInShowCardsMessage_PlayerAllIn::playerid() const { + // @@protoc_insertion_point(field_get:AllInShowCardsMessage.PlayerAllIn.playerId) return playerid_; } inline void AllInShowCardsMessage_PlayerAllIn::set_playerid(::google::protobuf::uint32 value) { set_has_playerid(); playerid_ = value; + // @@protoc_insertion_point(field_set:AllInShowCardsMessage.PlayerAllIn.playerId) } // required uint32 allInCard1 = 2; @@ -16648,11 +17843,13 @@ inline void AllInShowCardsMessage_PlayerAllIn::clear_allincard1() { clear_has_allincard1(); } inline ::google::protobuf::uint32 AllInShowCardsMessage_PlayerAllIn::allincard1() const { + // @@protoc_insertion_point(field_get:AllInShowCardsMessage.PlayerAllIn.allInCard1) return allincard1_; } inline void AllInShowCardsMessage_PlayerAllIn::set_allincard1(::google::protobuf::uint32 value) { set_has_allincard1(); allincard1_ = value; + // @@protoc_insertion_point(field_set:AllInShowCardsMessage.PlayerAllIn.allInCard1) } // required uint32 allInCard2 = 3; @@ -16670,11 +17867,13 @@ inline void AllInShowCardsMessage_PlayerAllIn::clear_allincard2() { clear_has_allincard2(); } inline ::google::protobuf::uint32 AllInShowCardsMessage_PlayerAllIn::allincard2() const { + // @@protoc_insertion_point(field_get:AllInShowCardsMessage.PlayerAllIn.allInCard2) return allincard2_; } inline void AllInShowCardsMessage_PlayerAllIn::set_allincard2(::google::protobuf::uint32 value) { set_has_allincard2(); allincard2_ = value; + // @@protoc_insertion_point(field_set:AllInShowCardsMessage.PlayerAllIn.allInCard2) } // ------------------------------------------------------------------- @@ -16696,11 +17895,13 @@ inline void AllInShowCardsMessage::clear_gameid() { clear_has_gameid(); } inline ::google::protobuf::uint32 AllInShowCardsMessage::gameid() const { + // @@protoc_insertion_point(field_get:AllInShowCardsMessage.gameId) return gameid_; } inline void AllInShowCardsMessage::set_gameid(::google::protobuf::uint32 value) { set_has_gameid(); gameid_ = value; + // @@protoc_insertion_point(field_set:AllInShowCardsMessage.gameId) } // repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; @@ -16711,20 +17912,25 @@ inline void AllInShowCardsMessage::clear_playersallin() { playersallin_.Clear(); } inline const ::AllInShowCardsMessage_PlayerAllIn& AllInShowCardsMessage::playersallin(int index) const { + // @@protoc_insertion_point(field_get:AllInShowCardsMessage.playersAllIn) return playersallin_.Get(index); } inline ::AllInShowCardsMessage_PlayerAllIn* AllInShowCardsMessage::mutable_playersallin(int index) { + // @@protoc_insertion_point(field_mutable:AllInShowCardsMessage.playersAllIn) return playersallin_.Mutable(index); } inline ::AllInShowCardsMessage_PlayerAllIn* AllInShowCardsMessage::add_playersallin() { + // @@protoc_insertion_point(field_add:AllInShowCardsMessage.playersAllIn) return playersallin_.Add(); } inline const ::google::protobuf::RepeatedPtrField< ::AllInShowCardsMessage_PlayerAllIn >& AllInShowCardsMessage::playersallin() const { + // @@protoc_insertion_point(field_list:AllInShowCardsMessage.playersAllIn) return playersallin_; } inline ::google::protobuf::RepeatedPtrField< ::AllInShowCardsMessage_PlayerAllIn >* AllInShowCardsMessage::mutable_playersallin() { + // @@protoc_insertion_point(field_mutable_list:AllInShowCardsMessage.playersAllIn) return &playersallin_; } @@ -16747,11 +17953,13 @@ inline void EndOfHandShowCardsMessage::clear_gameid() { clear_has_gameid(); } inline ::google::protobuf::uint32 EndOfHandShowCardsMessage::gameid() const { + // @@protoc_insertion_point(field_get:EndOfHandShowCardsMessage.gameId) return gameid_; } inline void EndOfHandShowCardsMessage::set_gameid(::google::protobuf::uint32 value) { set_has_gameid(); gameid_ = value; + // @@protoc_insertion_point(field_set:EndOfHandShowCardsMessage.gameId) } // repeated .PlayerResult playerResults = 2; @@ -16762,20 +17970,25 @@ inline void EndOfHandShowCardsMessage::clear_playerresults() { playerresults_.Clear(); } inline const ::PlayerResult& EndOfHandShowCardsMessage::playerresults(int index) const { + // @@protoc_insertion_point(field_get:EndOfHandShowCardsMessage.playerResults) return playerresults_.Get(index); } inline ::PlayerResult* EndOfHandShowCardsMessage::mutable_playerresults(int index) { + // @@protoc_insertion_point(field_mutable:EndOfHandShowCardsMessage.playerResults) return playerresults_.Mutable(index); } inline ::PlayerResult* EndOfHandShowCardsMessage::add_playerresults() { + // @@protoc_insertion_point(field_add:EndOfHandShowCardsMessage.playerResults) return playerresults_.Add(); } inline const ::google::protobuf::RepeatedPtrField< ::PlayerResult >& EndOfHandShowCardsMessage::playerresults() const { + // @@protoc_insertion_point(field_list:EndOfHandShowCardsMessage.playerResults) return playerresults_; } inline ::google::protobuf::RepeatedPtrField< ::PlayerResult >* EndOfHandShowCardsMessage::mutable_playerresults() { + // @@protoc_insertion_point(field_mutable_list:EndOfHandShowCardsMessage.playerResults) return &playerresults_; } @@ -16798,11 +18011,13 @@ inline void EndOfHandHideCardsMessage::clear_gameid() { clear_has_gameid(); } inline ::google::protobuf::uint32 EndOfHandHideCardsMessage::gameid() const { + // @@protoc_insertion_point(field_get:EndOfHandHideCardsMessage.gameId) return gameid_; } inline void EndOfHandHideCardsMessage::set_gameid(::google::protobuf::uint32 value) { set_has_gameid(); gameid_ = value; + // @@protoc_insertion_point(field_set:EndOfHandHideCardsMessage.gameId) } // required uint32 playerId = 2; @@ -16820,11 +18035,13 @@ inline void EndOfHandHideCardsMessage::clear_playerid() { clear_has_playerid(); } inline ::google::protobuf::uint32 EndOfHandHideCardsMessage::playerid() const { + // @@protoc_insertion_point(field_get:EndOfHandHideCardsMessage.playerId) return playerid_; } inline void EndOfHandHideCardsMessage::set_playerid(::google::protobuf::uint32 value) { set_has_playerid(); playerid_ = value; + // @@protoc_insertion_point(field_set:EndOfHandHideCardsMessage.playerId) } // required uint32 moneyWon = 3; @@ -16842,11 +18059,13 @@ inline void EndOfHandHideCardsMessage::clear_moneywon() { clear_has_moneywon(); } inline ::google::protobuf::uint32 EndOfHandHideCardsMessage::moneywon() const { + // @@protoc_insertion_point(field_get:EndOfHandHideCardsMessage.moneyWon) return moneywon_; } inline void EndOfHandHideCardsMessage::set_moneywon(::google::protobuf::uint32 value) { set_has_moneywon(); moneywon_ = value; + // @@protoc_insertion_point(field_set:EndOfHandHideCardsMessage.moneyWon) } // required uint32 playerMoney = 4; @@ -16864,11 +18083,13 @@ inline void EndOfHandHideCardsMessage::clear_playermoney() { clear_has_playermoney(); } inline ::google::protobuf::uint32 EndOfHandHideCardsMessage::playermoney() const { + // @@protoc_insertion_point(field_get:EndOfHandHideCardsMessage.playerMoney) return playermoney_; } inline void EndOfHandHideCardsMessage::set_playermoney(::google::protobuf::uint32 value) { set_has_playermoney(); playermoney_ = value; + // @@protoc_insertion_point(field_set:EndOfHandHideCardsMessage.playerMoney) } // ------------------------------------------------------------------- @@ -16894,6 +18115,7 @@ inline void AfterHandShowCardsMessage::clear_playerresult() { clear_has_playerresult(); } inline const ::PlayerResult& AfterHandShowCardsMessage::playerresult() const { + // @@protoc_insertion_point(field_get:AfterHandShowCardsMessage.playerResult) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return playerresult_ != NULL ? *playerresult_ : *default_instance().playerresult_; #else @@ -16903,6 +18125,7 @@ inline const ::PlayerResult& AfterHandShowCardsMessage::playerresult() const { inline ::PlayerResult* AfterHandShowCardsMessage::mutable_playerresult() { set_has_playerresult(); if (playerresult_ == NULL) playerresult_ = new ::PlayerResult; + // @@protoc_insertion_point(field_mutable:AfterHandShowCardsMessage.playerResult) return playerresult_; } inline ::PlayerResult* AfterHandShowCardsMessage::release_playerresult() { @@ -16919,6 +18142,7 @@ inline void AfterHandShowCardsMessage::set_allocated_playerresult(::PlayerResult } else { clear_has_playerresult(); } + // @@protoc_insertion_point(field_set_allocated:AfterHandShowCardsMessage.playerResult) } // ------------------------------------------------------------------- @@ -16940,11 +18164,13 @@ inline void EndOfGameMessage::clear_gameid() { clear_has_gameid(); } inline ::google::protobuf::uint32 EndOfGameMessage::gameid() const { + // @@protoc_insertion_point(field_get:EndOfGameMessage.gameId) return gameid_; } inline void EndOfGameMessage::set_gameid(::google::protobuf::uint32 value) { set_has_gameid(); gameid_ = value; + // @@protoc_insertion_point(field_set:EndOfGameMessage.gameId) } // required uint32 winnerPlayerId = 2; @@ -16962,11 +18188,13 @@ inline void EndOfGameMessage::clear_winnerplayerid() { clear_has_winnerplayerid(); } inline ::google::protobuf::uint32 EndOfGameMessage::winnerplayerid() const { + // @@protoc_insertion_point(field_get:EndOfGameMessage.winnerPlayerId) return winnerplayerid_; } inline void EndOfGameMessage::set_winnerplayerid(::google::protobuf::uint32 value) { set_has_winnerplayerid(); winnerplayerid_ = value; + // @@protoc_insertion_point(field_set:EndOfGameMessage.winnerPlayerId) } // ------------------------------------------------------------------- @@ -16988,11 +18216,13 @@ inline void PlayerIdChangedMessage::clear_oldplayerid() { clear_has_oldplayerid(); } inline ::google::protobuf::uint32 PlayerIdChangedMessage::oldplayerid() const { + // @@protoc_insertion_point(field_get:PlayerIdChangedMessage.oldPlayerId) return oldplayerid_; } inline void PlayerIdChangedMessage::set_oldplayerid(::google::protobuf::uint32 value) { set_has_oldplayerid(); oldplayerid_ = value; + // @@protoc_insertion_point(field_set:PlayerIdChangedMessage.oldPlayerId) } // required uint32 newPlayerId = 2; @@ -17010,11 +18240,13 @@ inline void PlayerIdChangedMessage::clear_newplayerid() { clear_has_newplayerid(); } inline ::google::protobuf::uint32 PlayerIdChangedMessage::newplayerid() const { + // @@protoc_insertion_point(field_get:PlayerIdChangedMessage.newPlayerId) return newplayerid_; } inline void PlayerIdChangedMessage::set_newplayerid(::google::protobuf::uint32 value) { set_has_newplayerid(); newplayerid_ = value; + // @@protoc_insertion_point(field_set:PlayerIdChangedMessage.newPlayerId) } // ------------------------------------------------------------------- @@ -17036,11 +18268,13 @@ inline void AskKickPlayerMessage::clear_gameid() { clear_has_gameid(); } inline ::google::protobuf::uint32 AskKickPlayerMessage::gameid() const { + // @@protoc_insertion_point(field_get:AskKickPlayerMessage.gameId) return gameid_; } inline void AskKickPlayerMessage::set_gameid(::google::protobuf::uint32 value) { set_has_gameid(); gameid_ = value; + // @@protoc_insertion_point(field_set:AskKickPlayerMessage.gameId) } // required uint32 playerId = 2; @@ -17058,11 +18292,13 @@ inline void AskKickPlayerMessage::clear_playerid() { clear_has_playerid(); } inline ::google::protobuf::uint32 AskKickPlayerMessage::playerid() const { + // @@protoc_insertion_point(field_get:AskKickPlayerMessage.playerId) return playerid_; } inline void AskKickPlayerMessage::set_playerid(::google::protobuf::uint32 value) { set_has_playerid(); playerid_ = value; + // @@protoc_insertion_point(field_set:AskKickPlayerMessage.playerId) } // ------------------------------------------------------------------- @@ -17084,11 +18320,13 @@ inline void AskKickDeniedMessage::clear_gameid() { clear_has_gameid(); } inline ::google::protobuf::uint32 AskKickDeniedMessage::gameid() const { + // @@protoc_insertion_point(field_get:AskKickDeniedMessage.gameId) return gameid_; } inline void AskKickDeniedMessage::set_gameid(::google::protobuf::uint32 value) { set_has_gameid(); gameid_ = value; + // @@protoc_insertion_point(field_set:AskKickDeniedMessage.gameId) } // required uint32 playerId = 2; @@ -17106,11 +18344,13 @@ inline void AskKickDeniedMessage::clear_playerid() { clear_has_playerid(); } inline ::google::protobuf::uint32 AskKickDeniedMessage::playerid() const { + // @@protoc_insertion_point(field_get:AskKickDeniedMessage.playerId) return playerid_; } inline void AskKickDeniedMessage::set_playerid(::google::protobuf::uint32 value) { set_has_playerid(); playerid_ = value; + // @@protoc_insertion_point(field_set:AskKickDeniedMessage.playerId) } // required .AskKickDeniedMessage.KickDeniedReason kickDeniedReason = 3; @@ -17128,12 +18368,14 @@ inline void AskKickDeniedMessage::clear_kickdeniedreason() { clear_has_kickdeniedreason(); } inline ::AskKickDeniedMessage_KickDeniedReason AskKickDeniedMessage::kickdeniedreason() const { + // @@protoc_insertion_point(field_get:AskKickDeniedMessage.kickDeniedReason) return static_cast< ::AskKickDeniedMessage_KickDeniedReason >(kickdeniedreason_); } inline void AskKickDeniedMessage::set_kickdeniedreason(::AskKickDeniedMessage_KickDeniedReason value) { assert(::AskKickDeniedMessage_KickDeniedReason_IsValid(value)); set_has_kickdeniedreason(); kickdeniedreason_ = value; + // @@protoc_insertion_point(field_set:AskKickDeniedMessage.kickDeniedReason) } // ------------------------------------------------------------------- @@ -17155,11 +18397,13 @@ inline void StartKickPetitionMessage::clear_gameid() { clear_has_gameid(); } inline ::google::protobuf::uint32 StartKickPetitionMessage::gameid() const { + // @@protoc_insertion_point(field_get:StartKickPetitionMessage.gameId) return gameid_; } inline void StartKickPetitionMessage::set_gameid(::google::protobuf::uint32 value) { set_has_gameid(); gameid_ = value; + // @@protoc_insertion_point(field_set:StartKickPetitionMessage.gameId) } // required uint32 petitionId = 2; @@ -17177,11 +18421,13 @@ inline void StartKickPetitionMessage::clear_petitionid() { clear_has_petitionid(); } inline ::google::protobuf::uint32 StartKickPetitionMessage::petitionid() const { + // @@protoc_insertion_point(field_get:StartKickPetitionMessage.petitionId) return petitionid_; } inline void StartKickPetitionMessage::set_petitionid(::google::protobuf::uint32 value) { set_has_petitionid(); petitionid_ = value; + // @@protoc_insertion_point(field_set:StartKickPetitionMessage.petitionId) } // required uint32 proposingPlayerId = 3; @@ -17199,11 +18445,13 @@ inline void StartKickPetitionMessage::clear_proposingplayerid() { clear_has_proposingplayerid(); } inline ::google::protobuf::uint32 StartKickPetitionMessage::proposingplayerid() const { + // @@protoc_insertion_point(field_get:StartKickPetitionMessage.proposingPlayerId) return proposingplayerid_; } inline void StartKickPetitionMessage::set_proposingplayerid(::google::protobuf::uint32 value) { set_has_proposingplayerid(); proposingplayerid_ = value; + // @@protoc_insertion_point(field_set:StartKickPetitionMessage.proposingPlayerId) } // required uint32 kickPlayerId = 4; @@ -17221,11 +18469,13 @@ inline void StartKickPetitionMessage::clear_kickplayerid() { clear_has_kickplayerid(); } inline ::google::protobuf::uint32 StartKickPetitionMessage::kickplayerid() const { + // @@protoc_insertion_point(field_get:StartKickPetitionMessage.kickPlayerId) return kickplayerid_; } inline void StartKickPetitionMessage::set_kickplayerid(::google::protobuf::uint32 value) { set_has_kickplayerid(); kickplayerid_ = value; + // @@protoc_insertion_point(field_set:StartKickPetitionMessage.kickPlayerId) } // required uint32 kickTimeoutSec = 5; @@ -17243,11 +18493,13 @@ inline void StartKickPetitionMessage::clear_kicktimeoutsec() { clear_has_kicktimeoutsec(); } inline ::google::protobuf::uint32 StartKickPetitionMessage::kicktimeoutsec() const { + // @@protoc_insertion_point(field_get:StartKickPetitionMessage.kickTimeoutSec) return kicktimeoutsec_; } inline void StartKickPetitionMessage::set_kicktimeoutsec(::google::protobuf::uint32 value) { set_has_kicktimeoutsec(); kicktimeoutsec_ = value; + // @@protoc_insertion_point(field_set:StartKickPetitionMessage.kickTimeoutSec) } // required uint32 numVotesNeededToKick = 6; @@ -17265,11 +18517,13 @@ inline void StartKickPetitionMessage::clear_numvotesneededtokick() { clear_has_numvotesneededtokick(); } inline ::google::protobuf::uint32 StartKickPetitionMessage::numvotesneededtokick() const { + // @@protoc_insertion_point(field_get:StartKickPetitionMessage.numVotesNeededToKick) return numvotesneededtokick_; } inline void StartKickPetitionMessage::set_numvotesneededtokick(::google::protobuf::uint32 value) { set_has_numvotesneededtokick(); numvotesneededtokick_ = value; + // @@protoc_insertion_point(field_set:StartKickPetitionMessage.numVotesNeededToKick) } // ------------------------------------------------------------------- @@ -17291,11 +18545,13 @@ inline void VoteKickRequestMessage::clear_gameid() { clear_has_gameid(); } inline ::google::protobuf::uint32 VoteKickRequestMessage::gameid() const { + // @@protoc_insertion_point(field_get:VoteKickRequestMessage.gameId) return gameid_; } inline void VoteKickRequestMessage::set_gameid(::google::protobuf::uint32 value) { set_has_gameid(); gameid_ = value; + // @@protoc_insertion_point(field_set:VoteKickRequestMessage.gameId) } // required uint32 petitionId = 2; @@ -17313,11 +18569,13 @@ inline void VoteKickRequestMessage::clear_petitionid() { clear_has_petitionid(); } inline ::google::protobuf::uint32 VoteKickRequestMessage::petitionid() const { + // @@protoc_insertion_point(field_get:VoteKickRequestMessage.petitionId) return petitionid_; } inline void VoteKickRequestMessage::set_petitionid(::google::protobuf::uint32 value) { set_has_petitionid(); petitionid_ = value; + // @@protoc_insertion_point(field_set:VoteKickRequestMessage.petitionId) } // required bool voteKick = 3; @@ -17335,11 +18593,13 @@ inline void VoteKickRequestMessage::clear_votekick() { clear_has_votekick(); } inline bool VoteKickRequestMessage::votekick() const { + // @@protoc_insertion_point(field_get:VoteKickRequestMessage.voteKick) return votekick_; } inline void VoteKickRequestMessage::set_votekick(bool value) { set_has_votekick(); votekick_ = value; + // @@protoc_insertion_point(field_set:VoteKickRequestMessage.voteKick) } // ------------------------------------------------------------------- @@ -17361,11 +18621,13 @@ inline void VoteKickReplyMessage::clear_gameid() { clear_has_gameid(); } inline ::google::protobuf::uint32 VoteKickReplyMessage::gameid() const { + // @@protoc_insertion_point(field_get:VoteKickReplyMessage.gameId) return gameid_; } inline void VoteKickReplyMessage::set_gameid(::google::protobuf::uint32 value) { set_has_gameid(); gameid_ = value; + // @@protoc_insertion_point(field_set:VoteKickReplyMessage.gameId) } // required uint32 petitionId = 2; @@ -17383,11 +18645,13 @@ inline void VoteKickReplyMessage::clear_petitionid() { clear_has_petitionid(); } inline ::google::protobuf::uint32 VoteKickReplyMessage::petitionid() const { + // @@protoc_insertion_point(field_get:VoteKickReplyMessage.petitionId) return petitionid_; } inline void VoteKickReplyMessage::set_petitionid(::google::protobuf::uint32 value) { set_has_petitionid(); petitionid_ = value; + // @@protoc_insertion_point(field_set:VoteKickReplyMessage.petitionId) } // required .VoteKickReplyMessage.VoteKickReplyType voteKickReplyType = 3; @@ -17405,12 +18669,14 @@ inline void VoteKickReplyMessage::clear_votekickreplytype() { clear_has_votekickreplytype(); } inline ::VoteKickReplyMessage_VoteKickReplyType VoteKickReplyMessage::votekickreplytype() const { + // @@protoc_insertion_point(field_get:VoteKickReplyMessage.voteKickReplyType) return static_cast< ::VoteKickReplyMessage_VoteKickReplyType >(votekickreplytype_); } inline void VoteKickReplyMessage::set_votekickreplytype(::VoteKickReplyMessage_VoteKickReplyType value) { assert(::VoteKickReplyMessage_VoteKickReplyType_IsValid(value)); set_has_votekickreplytype(); votekickreplytype_ = value; + // @@protoc_insertion_point(field_set:VoteKickReplyMessage.voteKickReplyType) } // ------------------------------------------------------------------- @@ -17432,11 +18698,13 @@ inline void KickPetitionUpdateMessage::clear_gameid() { clear_has_gameid(); } inline ::google::protobuf::uint32 KickPetitionUpdateMessage::gameid() const { + // @@protoc_insertion_point(field_get:KickPetitionUpdateMessage.gameId) return gameid_; } inline void KickPetitionUpdateMessage::set_gameid(::google::protobuf::uint32 value) { set_has_gameid(); gameid_ = value; + // @@protoc_insertion_point(field_set:KickPetitionUpdateMessage.gameId) } // required uint32 petitionId = 2; @@ -17454,11 +18722,13 @@ inline void KickPetitionUpdateMessage::clear_petitionid() { clear_has_petitionid(); } inline ::google::protobuf::uint32 KickPetitionUpdateMessage::petitionid() const { + // @@protoc_insertion_point(field_get:KickPetitionUpdateMessage.petitionId) return petitionid_; } inline void KickPetitionUpdateMessage::set_petitionid(::google::protobuf::uint32 value) { set_has_petitionid(); petitionid_ = value; + // @@protoc_insertion_point(field_set:KickPetitionUpdateMessage.petitionId) } // required uint32 numVotesAgainstKicking = 3; @@ -17476,11 +18746,13 @@ inline void KickPetitionUpdateMessage::clear_numvotesagainstkicking() { clear_has_numvotesagainstkicking(); } inline ::google::protobuf::uint32 KickPetitionUpdateMessage::numvotesagainstkicking() const { + // @@protoc_insertion_point(field_get:KickPetitionUpdateMessage.numVotesAgainstKicking) return numvotesagainstkicking_; } inline void KickPetitionUpdateMessage::set_numvotesagainstkicking(::google::protobuf::uint32 value) { set_has_numvotesagainstkicking(); numvotesagainstkicking_ = value; + // @@protoc_insertion_point(field_set:KickPetitionUpdateMessage.numVotesAgainstKicking) } // required uint32 numVotesInFavourOfKicking = 4; @@ -17498,11 +18770,13 @@ inline void KickPetitionUpdateMessage::clear_numvotesinfavourofkicking() { clear_has_numvotesinfavourofkicking(); } inline ::google::protobuf::uint32 KickPetitionUpdateMessage::numvotesinfavourofkicking() const { + // @@protoc_insertion_point(field_get:KickPetitionUpdateMessage.numVotesInFavourOfKicking) return numvotesinfavourofkicking_; } inline void KickPetitionUpdateMessage::set_numvotesinfavourofkicking(::google::protobuf::uint32 value) { set_has_numvotesinfavourofkicking(); numvotesinfavourofkicking_ = value; + // @@protoc_insertion_point(field_set:KickPetitionUpdateMessage.numVotesInFavourOfKicking) } // required uint32 numVotesNeededToKick = 5; @@ -17520,11 +18794,13 @@ inline void KickPetitionUpdateMessage::clear_numvotesneededtokick() { clear_has_numvotesneededtokick(); } inline ::google::protobuf::uint32 KickPetitionUpdateMessage::numvotesneededtokick() const { + // @@protoc_insertion_point(field_get:KickPetitionUpdateMessage.numVotesNeededToKick) return numvotesneededtokick_; } inline void KickPetitionUpdateMessage::set_numvotesneededtokick(::google::protobuf::uint32 value) { set_has_numvotesneededtokick(); numvotesneededtokick_ = value; + // @@protoc_insertion_point(field_set:KickPetitionUpdateMessage.numVotesNeededToKick) } // ------------------------------------------------------------------- @@ -17546,11 +18822,13 @@ inline void EndKickPetitionMessage::clear_gameid() { clear_has_gameid(); } inline ::google::protobuf::uint32 EndKickPetitionMessage::gameid() const { + // @@protoc_insertion_point(field_get:EndKickPetitionMessage.gameId) return gameid_; } inline void EndKickPetitionMessage::set_gameid(::google::protobuf::uint32 value) { set_has_gameid(); gameid_ = value; + // @@protoc_insertion_point(field_set:EndKickPetitionMessage.gameId) } // required uint32 petitionId = 2; @@ -17568,11 +18846,13 @@ inline void EndKickPetitionMessage::clear_petitionid() { clear_has_petitionid(); } inline ::google::protobuf::uint32 EndKickPetitionMessage::petitionid() const { + // @@protoc_insertion_point(field_get:EndKickPetitionMessage.petitionId) return petitionid_; } inline void EndKickPetitionMessage::set_petitionid(::google::protobuf::uint32 value) { set_has_petitionid(); petitionid_ = value; + // @@protoc_insertion_point(field_set:EndKickPetitionMessage.petitionId) } // required uint32 numVotesAgainstKicking = 3; @@ -17590,11 +18870,13 @@ inline void EndKickPetitionMessage::clear_numvotesagainstkicking() { clear_has_numvotesagainstkicking(); } inline ::google::protobuf::uint32 EndKickPetitionMessage::numvotesagainstkicking() const { + // @@protoc_insertion_point(field_get:EndKickPetitionMessage.numVotesAgainstKicking) return numvotesagainstkicking_; } inline void EndKickPetitionMessage::set_numvotesagainstkicking(::google::protobuf::uint32 value) { set_has_numvotesagainstkicking(); numvotesagainstkicking_ = value; + // @@protoc_insertion_point(field_set:EndKickPetitionMessage.numVotesAgainstKicking) } // required uint32 numVotesInFavourOfKicking = 4; @@ -17612,11 +18894,13 @@ inline void EndKickPetitionMessage::clear_numvotesinfavourofkicking() { clear_has_numvotesinfavourofkicking(); } inline ::google::protobuf::uint32 EndKickPetitionMessage::numvotesinfavourofkicking() const { + // @@protoc_insertion_point(field_get:EndKickPetitionMessage.numVotesInFavourOfKicking) return numvotesinfavourofkicking_; } inline void EndKickPetitionMessage::set_numvotesinfavourofkicking(::google::protobuf::uint32 value) { set_has_numvotesinfavourofkicking(); numvotesinfavourofkicking_ = value; + // @@protoc_insertion_point(field_set:EndKickPetitionMessage.numVotesInFavourOfKicking) } // required uint32 resultPlayerKicked = 5; @@ -17634,11 +18918,13 @@ inline void EndKickPetitionMessage::clear_resultplayerkicked() { clear_has_resultplayerkicked(); } inline ::google::protobuf::uint32 EndKickPetitionMessage::resultplayerkicked() const { + // @@protoc_insertion_point(field_get:EndKickPetitionMessage.resultPlayerKicked) return resultplayerkicked_; } inline void EndKickPetitionMessage::set_resultplayerkicked(::google::protobuf::uint32 value) { set_has_resultplayerkicked(); resultplayerkicked_ = value; + // @@protoc_insertion_point(field_set:EndKickPetitionMessage.resultPlayerKicked) } // required .EndKickPetitionMessage.PetitionEndReason petitionEndReason = 6; @@ -17656,12 +18942,14 @@ inline void EndKickPetitionMessage::clear_petitionendreason() { clear_has_petitionendreason(); } inline ::EndKickPetitionMessage_PetitionEndReason EndKickPetitionMessage::petitionendreason() const { + // @@protoc_insertion_point(field_get:EndKickPetitionMessage.petitionEndReason) return static_cast< ::EndKickPetitionMessage_PetitionEndReason >(petitionendreason_); } inline void EndKickPetitionMessage::set_petitionendreason(::EndKickPetitionMessage_PetitionEndReason value) { assert(::EndKickPetitionMessage_PetitionEndReason_IsValid(value)); set_has_petitionendreason(); petitionendreason_ = value; + // @@protoc_insertion_point(field_set:EndKickPetitionMessage.petitionEndReason) } // ------------------------------------------------------------------- @@ -17683,12 +18971,14 @@ inline void StatisticsMessage_StatisticsData::clear_statisticstype() { clear_has_statisticstype(); } inline ::StatisticsMessage_StatisticsData_StatisticsType StatisticsMessage_StatisticsData::statisticstype() const { + // @@protoc_insertion_point(field_get:StatisticsMessage.StatisticsData.statisticsType) return static_cast< ::StatisticsMessage_StatisticsData_StatisticsType >(statisticstype_); } inline void StatisticsMessage_StatisticsData::set_statisticstype(::StatisticsMessage_StatisticsData_StatisticsType value) { assert(::StatisticsMessage_StatisticsData_StatisticsType_IsValid(value)); set_has_statisticstype(); statisticstype_ = value; + // @@protoc_insertion_point(field_set:StatisticsMessage.StatisticsData.statisticsType) } // required uint32 statisticsValue = 2; @@ -17706,11 +18996,13 @@ inline void StatisticsMessage_StatisticsData::clear_statisticsvalue() { clear_has_statisticsvalue(); } inline ::google::protobuf::uint32 StatisticsMessage_StatisticsData::statisticsvalue() const { + // @@protoc_insertion_point(field_get:StatisticsMessage.StatisticsData.statisticsValue) return statisticsvalue_; } inline void StatisticsMessage_StatisticsData::set_statisticsvalue(::google::protobuf::uint32 value) { set_has_statisticsvalue(); statisticsvalue_ = value; + // @@protoc_insertion_point(field_set:StatisticsMessage.StatisticsData.statisticsValue) } // ------------------------------------------------------------------- @@ -17725,20 +19017,25 @@ inline void StatisticsMessage::clear_statisticsdata() { statisticsdata_.Clear(); } inline const ::StatisticsMessage_StatisticsData& StatisticsMessage::statisticsdata(int index) const { + // @@protoc_insertion_point(field_get:StatisticsMessage.statisticsData) return statisticsdata_.Get(index); } inline ::StatisticsMessage_StatisticsData* StatisticsMessage::mutable_statisticsdata(int index) { + // @@protoc_insertion_point(field_mutable:StatisticsMessage.statisticsData) return statisticsdata_.Mutable(index); } inline ::StatisticsMessage_StatisticsData* StatisticsMessage::add_statisticsdata() { + // @@protoc_insertion_point(field_add:StatisticsMessage.statisticsData) return statisticsdata_.Add(); } inline const ::google::protobuf::RepeatedPtrField< ::StatisticsMessage_StatisticsData >& StatisticsMessage::statisticsdata() const { + // @@protoc_insertion_point(field_list:StatisticsMessage.statisticsData) return statisticsdata_; } inline ::google::protobuf::RepeatedPtrField< ::StatisticsMessage_StatisticsData >* StatisticsMessage::mutable_statisticsdata() { + // @@protoc_insertion_point(field_mutable_list:StatisticsMessage.statisticsData) return &statisticsdata_; } @@ -17761,11 +19058,13 @@ inline void ChatRequestMessage::clear_targetgameid() { clear_has_targetgameid(); } inline ::google::protobuf::uint32 ChatRequestMessage::targetgameid() const { + // @@protoc_insertion_point(field_get:ChatRequestMessage.targetGameId) return targetgameid_; } inline void ChatRequestMessage::set_targetgameid(::google::protobuf::uint32 value) { set_has_targetgameid(); targetgameid_ = value; + // @@protoc_insertion_point(field_set:ChatRequestMessage.targetGameId) } // optional uint32 targetPlayerId = 2; @@ -17783,11 +19082,13 @@ inline void ChatRequestMessage::clear_targetplayerid() { clear_has_targetplayerid(); } inline ::google::protobuf::uint32 ChatRequestMessage::targetplayerid() const { + // @@protoc_insertion_point(field_get:ChatRequestMessage.targetPlayerId) return targetplayerid_; } inline void ChatRequestMessage::set_targetplayerid(::google::protobuf::uint32 value) { set_has_targetplayerid(); targetplayerid_ = value; + // @@protoc_insertion_point(field_set:ChatRequestMessage.targetPlayerId) } // required string chatText = 3; @@ -17801,54 +19102,59 @@ inline void ChatRequestMessage::clear_has_chattext() { _has_bits_[0] &= ~0x00000004u; } inline void ChatRequestMessage::clear_chattext() { - if (chattext_ != &::google::protobuf::internal::kEmptyString) { + if (chattext_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { chattext_->clear(); } clear_has_chattext(); } inline const ::std::string& ChatRequestMessage::chattext() const { + // @@protoc_insertion_point(field_get:ChatRequestMessage.chatText) return *chattext_; } inline void ChatRequestMessage::set_chattext(const ::std::string& value) { set_has_chattext(); - if (chattext_ == &::google::protobuf::internal::kEmptyString) { + if (chattext_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { chattext_ = new ::std::string; } chattext_->assign(value); + // @@protoc_insertion_point(field_set:ChatRequestMessage.chatText) } inline void ChatRequestMessage::set_chattext(const char* value) { set_has_chattext(); - if (chattext_ == &::google::protobuf::internal::kEmptyString) { + if (chattext_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { chattext_ = new ::std::string; } chattext_->assign(value); + // @@protoc_insertion_point(field_set_char:ChatRequestMessage.chatText) } inline void ChatRequestMessage::set_chattext(const char* value, size_t size) { set_has_chattext(); - if (chattext_ == &::google::protobuf::internal::kEmptyString) { + if (chattext_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { chattext_ = new ::std::string; } chattext_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:ChatRequestMessage.chatText) } inline ::std::string* ChatRequestMessage::mutable_chattext() { set_has_chattext(); - if (chattext_ == &::google::protobuf::internal::kEmptyString) { + if (chattext_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { chattext_ = new ::std::string; } + // @@protoc_insertion_point(field_mutable:ChatRequestMessage.chatText) return chattext_; } inline ::std::string* ChatRequestMessage::release_chattext() { clear_has_chattext(); - if (chattext_ == &::google::protobuf::internal::kEmptyString) { + if (chattext_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = chattext_; - chattext_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + chattext_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ChatRequestMessage::set_allocated_chattext(::std::string* chattext) { - if (chattext_ != &::google::protobuf::internal::kEmptyString) { + if (chattext_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete chattext_; } if (chattext) { @@ -17856,8 +19162,9 @@ inline void ChatRequestMessage::set_allocated_chattext(::std::string* chattext) chattext_ = chattext; } else { clear_has_chattext(); - chattext_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + chattext_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } + // @@protoc_insertion_point(field_set_allocated:ChatRequestMessage.chatText) } // ------------------------------------------------------------------- @@ -17879,11 +19186,13 @@ inline void ChatMessage::clear_gameid() { clear_has_gameid(); } inline ::google::protobuf::uint32 ChatMessage::gameid() const { + // @@protoc_insertion_point(field_get:ChatMessage.gameId) return gameid_; } inline void ChatMessage::set_gameid(::google::protobuf::uint32 value) { set_has_gameid(); gameid_ = value; + // @@protoc_insertion_point(field_set:ChatMessage.gameId) } // optional uint32 playerId = 2; @@ -17901,11 +19210,13 @@ inline void ChatMessage::clear_playerid() { clear_has_playerid(); } inline ::google::protobuf::uint32 ChatMessage::playerid() const { + // @@protoc_insertion_point(field_get:ChatMessage.playerId) return playerid_; } inline void ChatMessage::set_playerid(::google::protobuf::uint32 value) { set_has_playerid(); playerid_ = value; + // @@protoc_insertion_point(field_set:ChatMessage.playerId) } // required .ChatMessage.ChatType chatType = 3; @@ -17923,12 +19234,14 @@ inline void ChatMessage::clear_chattype() { clear_has_chattype(); } inline ::ChatMessage_ChatType ChatMessage::chattype() const { + // @@protoc_insertion_point(field_get:ChatMessage.chatType) return static_cast< ::ChatMessage_ChatType >(chattype_); } inline void ChatMessage::set_chattype(::ChatMessage_ChatType value) { assert(::ChatMessage_ChatType_IsValid(value)); set_has_chattype(); chattype_ = value; + // @@protoc_insertion_point(field_set:ChatMessage.chatType) } // required string chatText = 4; @@ -17942,54 +19255,59 @@ inline void ChatMessage::clear_has_chattext() { _has_bits_[0] &= ~0x00000008u; } inline void ChatMessage::clear_chattext() { - if (chattext_ != &::google::protobuf::internal::kEmptyString) { + if (chattext_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { chattext_->clear(); } clear_has_chattext(); } inline const ::std::string& ChatMessage::chattext() const { + // @@protoc_insertion_point(field_get:ChatMessage.chatText) return *chattext_; } inline void ChatMessage::set_chattext(const ::std::string& value) { set_has_chattext(); - if (chattext_ == &::google::protobuf::internal::kEmptyString) { + if (chattext_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { chattext_ = new ::std::string; } chattext_->assign(value); + // @@protoc_insertion_point(field_set:ChatMessage.chatText) } inline void ChatMessage::set_chattext(const char* value) { set_has_chattext(); - if (chattext_ == &::google::protobuf::internal::kEmptyString) { + if (chattext_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { chattext_ = new ::std::string; } chattext_->assign(value); + // @@protoc_insertion_point(field_set_char:ChatMessage.chatText) } inline void ChatMessage::set_chattext(const char* value, size_t size) { set_has_chattext(); - if (chattext_ == &::google::protobuf::internal::kEmptyString) { + if (chattext_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { chattext_ = new ::std::string; } chattext_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:ChatMessage.chatText) } inline ::std::string* ChatMessage::mutable_chattext() { set_has_chattext(); - if (chattext_ == &::google::protobuf::internal::kEmptyString) { + if (chattext_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { chattext_ = new ::std::string; } + // @@protoc_insertion_point(field_mutable:ChatMessage.chatText) return chattext_; } inline ::std::string* ChatMessage::release_chattext() { clear_has_chattext(); - if (chattext_ == &::google::protobuf::internal::kEmptyString) { + if (chattext_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = chattext_; - chattext_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + chattext_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ChatMessage::set_allocated_chattext(::std::string* chattext) { - if (chattext_ != &::google::protobuf::internal::kEmptyString) { + if (chattext_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete chattext_; } if (chattext) { @@ -17997,8 +19315,9 @@ inline void ChatMessage::set_allocated_chattext(::std::string* chattext) { chattext_ = chattext; } else { clear_has_chattext(); - chattext_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + chattext_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } + // @@protoc_insertion_point(field_set_allocated:ChatMessage.chatText) } // ------------------------------------------------------------------- @@ -18016,54 +19335,59 @@ inline void ChatRejectMessage::clear_has_chattext() { _has_bits_[0] &= ~0x00000001u; } inline void ChatRejectMessage::clear_chattext() { - if (chattext_ != &::google::protobuf::internal::kEmptyString) { + if (chattext_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { chattext_->clear(); } clear_has_chattext(); } inline const ::std::string& ChatRejectMessage::chattext() const { + // @@protoc_insertion_point(field_get:ChatRejectMessage.chatText) return *chattext_; } inline void ChatRejectMessage::set_chattext(const ::std::string& value) { set_has_chattext(); - if (chattext_ == &::google::protobuf::internal::kEmptyString) { + if (chattext_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { chattext_ = new ::std::string; } chattext_->assign(value); + // @@protoc_insertion_point(field_set:ChatRejectMessage.chatText) } inline void ChatRejectMessage::set_chattext(const char* value) { set_has_chattext(); - if (chattext_ == &::google::protobuf::internal::kEmptyString) { + if (chattext_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { chattext_ = new ::std::string; } chattext_->assign(value); + // @@protoc_insertion_point(field_set_char:ChatRejectMessage.chatText) } inline void ChatRejectMessage::set_chattext(const char* value, size_t size) { set_has_chattext(); - if (chattext_ == &::google::protobuf::internal::kEmptyString) { + if (chattext_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { chattext_ = new ::std::string; } chattext_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:ChatRejectMessage.chatText) } inline ::std::string* ChatRejectMessage::mutable_chattext() { set_has_chattext(); - if (chattext_ == &::google::protobuf::internal::kEmptyString) { + if (chattext_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { chattext_ = new ::std::string; } + // @@protoc_insertion_point(field_mutable:ChatRejectMessage.chatText) return chattext_; } inline ::std::string* ChatRejectMessage::release_chattext() { clear_has_chattext(); - if (chattext_ == &::google::protobuf::internal::kEmptyString) { + if (chattext_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = chattext_; - chattext_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + chattext_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ChatRejectMessage::set_allocated_chattext(::std::string* chattext) { - if (chattext_ != &::google::protobuf::internal::kEmptyString) { + if (chattext_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete chattext_; } if (chattext) { @@ -18071,8 +19395,9 @@ inline void ChatRejectMessage::set_allocated_chattext(::std::string* chattext) { chattext_ = chattext; } else { clear_has_chattext(); - chattext_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + chattext_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } + // @@protoc_insertion_point(field_set_allocated:ChatRejectMessage.chatText) } // ------------------------------------------------------------------- @@ -18090,54 +19415,59 @@ inline void DialogMessage::clear_has_notificationtext() { _has_bits_[0] &= ~0x00000001u; } inline void DialogMessage::clear_notificationtext() { - if (notificationtext_ != &::google::protobuf::internal::kEmptyString) { + if (notificationtext_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { notificationtext_->clear(); } clear_has_notificationtext(); } inline const ::std::string& DialogMessage::notificationtext() const { + // @@protoc_insertion_point(field_get:DialogMessage.notificationText) return *notificationtext_; } inline void DialogMessage::set_notificationtext(const ::std::string& value) { set_has_notificationtext(); - if (notificationtext_ == &::google::protobuf::internal::kEmptyString) { + if (notificationtext_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { notificationtext_ = new ::std::string; } notificationtext_->assign(value); + // @@protoc_insertion_point(field_set:DialogMessage.notificationText) } inline void DialogMessage::set_notificationtext(const char* value) { set_has_notificationtext(); - if (notificationtext_ == &::google::protobuf::internal::kEmptyString) { + if (notificationtext_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { notificationtext_ = new ::std::string; } notificationtext_->assign(value); + // @@protoc_insertion_point(field_set_char:DialogMessage.notificationText) } inline void DialogMessage::set_notificationtext(const char* value, size_t size) { set_has_notificationtext(); - if (notificationtext_ == &::google::protobuf::internal::kEmptyString) { + if (notificationtext_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { notificationtext_ = new ::std::string; } notificationtext_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:DialogMessage.notificationText) } inline ::std::string* DialogMessage::mutable_notificationtext() { set_has_notificationtext(); - if (notificationtext_ == &::google::protobuf::internal::kEmptyString) { + if (notificationtext_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { notificationtext_ = new ::std::string; } + // @@protoc_insertion_point(field_mutable:DialogMessage.notificationText) return notificationtext_; } inline ::std::string* DialogMessage::release_notificationtext() { clear_has_notificationtext(); - if (notificationtext_ == &::google::protobuf::internal::kEmptyString) { + if (notificationtext_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = notificationtext_; - notificationtext_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + notificationtext_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void DialogMessage::set_allocated_notificationtext(::std::string* notificationtext) { - if (notificationtext_ != &::google::protobuf::internal::kEmptyString) { + if (notificationtext_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete notificationtext_; } if (notificationtext) { @@ -18145,8 +19475,9 @@ inline void DialogMessage::set_allocated_notificationtext(::std::string* notific notificationtext_ = notificationtext; } else { clear_has_notificationtext(); - notificationtext_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + notificationtext_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } + // @@protoc_insertion_point(field_set_allocated:DialogMessage.notificationText) } // ------------------------------------------------------------------- @@ -18168,12 +19499,14 @@ inline void TimeoutWarningMessage::clear_timeoutreason() { clear_has_timeoutreason(); } inline ::TimeoutWarningMessage_TimeoutReason TimeoutWarningMessage::timeoutreason() const { + // @@protoc_insertion_point(field_get:TimeoutWarningMessage.timeoutReason) return static_cast< ::TimeoutWarningMessage_TimeoutReason >(timeoutreason_); } inline void TimeoutWarningMessage::set_timeoutreason(::TimeoutWarningMessage_TimeoutReason value) { assert(::TimeoutWarningMessage_TimeoutReason_IsValid(value)); set_has_timeoutreason(); timeoutreason_ = value; + // @@protoc_insertion_point(field_set:TimeoutWarningMessage.timeoutReason) } // required uint32 remainingSeconds = 2; @@ -18191,11 +19524,13 @@ inline void TimeoutWarningMessage::clear_remainingseconds() { clear_has_remainingseconds(); } inline ::google::protobuf::uint32 TimeoutWarningMessage::remainingseconds() const { + // @@protoc_insertion_point(field_get:TimeoutWarningMessage.remainingSeconds) return remainingseconds_; } inline void TimeoutWarningMessage::set_remainingseconds(::google::protobuf::uint32 value) { set_has_remainingseconds(); remainingseconds_ = value; + // @@protoc_insertion_point(field_set:TimeoutWarningMessage.remainingSeconds) } // ------------------------------------------------------------------- @@ -18221,11 +19556,13 @@ inline void ReportAvatarMessage::clear_reportedplayerid() { clear_has_reportedplayerid(); } inline ::google::protobuf::uint32 ReportAvatarMessage::reportedplayerid() const { + // @@protoc_insertion_point(field_get:ReportAvatarMessage.reportedPlayerId) return reportedplayerid_; } inline void ReportAvatarMessage::set_reportedplayerid(::google::protobuf::uint32 value) { set_has_reportedplayerid(); reportedplayerid_ = value; + // @@protoc_insertion_point(field_set:ReportAvatarMessage.reportedPlayerId) } // required bytes reportedAvatarHash = 2; @@ -18239,54 +19576,59 @@ inline void ReportAvatarMessage::clear_has_reportedavatarhash() { _has_bits_[0] &= ~0x00000002u; } inline void ReportAvatarMessage::clear_reportedavatarhash() { - if (reportedavatarhash_ != &::google::protobuf::internal::kEmptyString) { + if (reportedavatarhash_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { reportedavatarhash_->clear(); } clear_has_reportedavatarhash(); } inline const ::std::string& ReportAvatarMessage::reportedavatarhash() const { + // @@protoc_insertion_point(field_get:ReportAvatarMessage.reportedAvatarHash) return *reportedavatarhash_; } inline void ReportAvatarMessage::set_reportedavatarhash(const ::std::string& value) { set_has_reportedavatarhash(); - if (reportedavatarhash_ == &::google::protobuf::internal::kEmptyString) { + if (reportedavatarhash_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { reportedavatarhash_ = new ::std::string; } reportedavatarhash_->assign(value); + // @@protoc_insertion_point(field_set:ReportAvatarMessage.reportedAvatarHash) } inline void ReportAvatarMessage::set_reportedavatarhash(const char* value) { set_has_reportedavatarhash(); - if (reportedavatarhash_ == &::google::protobuf::internal::kEmptyString) { + if (reportedavatarhash_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { reportedavatarhash_ = new ::std::string; } reportedavatarhash_->assign(value); + // @@protoc_insertion_point(field_set_char:ReportAvatarMessage.reportedAvatarHash) } inline void ReportAvatarMessage::set_reportedavatarhash(const void* value, size_t size) { set_has_reportedavatarhash(); - if (reportedavatarhash_ == &::google::protobuf::internal::kEmptyString) { + if (reportedavatarhash_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { reportedavatarhash_ = new ::std::string; } reportedavatarhash_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:ReportAvatarMessage.reportedAvatarHash) } inline ::std::string* ReportAvatarMessage::mutable_reportedavatarhash() { set_has_reportedavatarhash(); - if (reportedavatarhash_ == &::google::protobuf::internal::kEmptyString) { + if (reportedavatarhash_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { reportedavatarhash_ = new ::std::string; } + // @@protoc_insertion_point(field_mutable:ReportAvatarMessage.reportedAvatarHash) return reportedavatarhash_; } inline ::std::string* ReportAvatarMessage::release_reportedavatarhash() { clear_has_reportedavatarhash(); - if (reportedavatarhash_ == &::google::protobuf::internal::kEmptyString) { + if (reportedavatarhash_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = reportedavatarhash_; - reportedavatarhash_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + reportedavatarhash_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ReportAvatarMessage::set_allocated_reportedavatarhash(::std::string* reportedavatarhash) { - if (reportedavatarhash_ != &::google::protobuf::internal::kEmptyString) { + if (reportedavatarhash_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete reportedavatarhash_; } if (reportedavatarhash) { @@ -18294,8 +19636,9 @@ inline void ReportAvatarMessage::set_allocated_reportedavatarhash(::std::string* reportedavatarhash_ = reportedavatarhash; } else { clear_has_reportedavatarhash(); - reportedavatarhash_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + reportedavatarhash_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } + // @@protoc_insertion_point(field_set_allocated:ReportAvatarMessage.reportedAvatarHash) } // ------------------------------------------------------------------- @@ -18317,11 +19660,13 @@ inline void ReportAvatarAckMessage::clear_reportedplayerid() { clear_has_reportedplayerid(); } inline ::google::protobuf::uint32 ReportAvatarAckMessage::reportedplayerid() const { + // @@protoc_insertion_point(field_get:ReportAvatarAckMessage.reportedPlayerId) return reportedplayerid_; } inline void ReportAvatarAckMessage::set_reportedplayerid(::google::protobuf::uint32 value) { set_has_reportedplayerid(); reportedplayerid_ = value; + // @@protoc_insertion_point(field_set:ReportAvatarAckMessage.reportedPlayerId) } // required .ReportAvatarAckMessage.ReportAvatarResult reportAvatarResult = 2; @@ -18339,12 +19684,14 @@ inline void ReportAvatarAckMessage::clear_reportavatarresult() { clear_has_reportavatarresult(); } inline ::ReportAvatarAckMessage_ReportAvatarResult ReportAvatarAckMessage::reportavatarresult() const { + // @@protoc_insertion_point(field_get:ReportAvatarAckMessage.reportAvatarResult) return static_cast< ::ReportAvatarAckMessage_ReportAvatarResult >(reportavatarresult_); } inline void ReportAvatarAckMessage::set_reportavatarresult(::ReportAvatarAckMessage_ReportAvatarResult value) { assert(::ReportAvatarAckMessage_ReportAvatarResult_IsValid(value)); set_has_reportavatarresult(); reportavatarresult_ = value; + // @@protoc_insertion_point(field_set:ReportAvatarAckMessage.reportAvatarResult) } // ------------------------------------------------------------------- @@ -18366,11 +19713,13 @@ inline void ReportGameMessage::clear_reportedgameid() { clear_has_reportedgameid(); } inline ::google::protobuf::uint32 ReportGameMessage::reportedgameid() const { + // @@protoc_insertion_point(field_get:ReportGameMessage.reportedGameId) return reportedgameid_; } inline void ReportGameMessage::set_reportedgameid(::google::protobuf::uint32 value) { set_has_reportedgameid(); reportedgameid_ = value; + // @@protoc_insertion_point(field_set:ReportGameMessage.reportedGameId) } // ------------------------------------------------------------------- @@ -18392,11 +19741,13 @@ inline void ReportGameAckMessage::clear_reportedgameid() { clear_has_reportedgameid(); } inline ::google::protobuf::uint32 ReportGameAckMessage::reportedgameid() const { + // @@protoc_insertion_point(field_get:ReportGameAckMessage.reportedGameId) return reportedgameid_; } inline void ReportGameAckMessage::set_reportedgameid(::google::protobuf::uint32 value) { set_has_reportedgameid(); reportedgameid_ = value; + // @@protoc_insertion_point(field_set:ReportGameAckMessage.reportedGameId) } // required .ReportGameAckMessage.ReportGameResult reportGameResult = 2; @@ -18414,12 +19765,14 @@ inline void ReportGameAckMessage::clear_reportgameresult() { clear_has_reportgameresult(); } inline ::ReportGameAckMessage_ReportGameResult ReportGameAckMessage::reportgameresult() const { + // @@protoc_insertion_point(field_get:ReportGameAckMessage.reportGameResult) return static_cast< ::ReportGameAckMessage_ReportGameResult >(reportgameresult_); } inline void ReportGameAckMessage::set_reportgameresult(::ReportGameAckMessage_ReportGameResult value) { assert(::ReportGameAckMessage_ReportGameResult_IsValid(value)); set_has_reportgameresult(); reportgameresult_ = value; + // @@protoc_insertion_point(field_set:ReportGameAckMessage.reportGameResult) } // ------------------------------------------------------------------- @@ -18441,12 +19794,14 @@ inline void ErrorMessage::clear_errorreason() { clear_has_errorreason(); } inline ::ErrorMessage_ErrorReason ErrorMessage::errorreason() const { + // @@protoc_insertion_point(field_get:ErrorMessage.errorReason) return static_cast< ::ErrorMessage_ErrorReason >(errorreason_); } inline void ErrorMessage::set_errorreason(::ErrorMessage_ErrorReason value) { assert(::ErrorMessage_ErrorReason_IsValid(value)); set_has_errorreason(); errorreason_ = value; + // @@protoc_insertion_point(field_set:ErrorMessage.errorReason) } // ------------------------------------------------------------------- @@ -18468,11 +19823,13 @@ inline void AdminRemoveGameMessage::clear_removegameid() { clear_has_removegameid(); } inline ::google::protobuf::uint32 AdminRemoveGameMessage::removegameid() const { + // @@protoc_insertion_point(field_get:AdminRemoveGameMessage.removeGameId) return removegameid_; } inline void AdminRemoveGameMessage::set_removegameid(::google::protobuf::uint32 value) { set_has_removegameid(); removegameid_ = value; + // @@protoc_insertion_point(field_set:AdminRemoveGameMessage.removeGameId) } // ------------------------------------------------------------------- @@ -18494,11 +19851,13 @@ inline void AdminRemoveGameAckMessage::clear_removegameid() { clear_has_removegameid(); } inline ::google::protobuf::uint32 AdminRemoveGameAckMessage::removegameid() const { + // @@protoc_insertion_point(field_get:AdminRemoveGameAckMessage.removeGameId) return removegameid_; } inline void AdminRemoveGameAckMessage::set_removegameid(::google::protobuf::uint32 value) { set_has_removegameid(); removegameid_ = value; + // @@protoc_insertion_point(field_set:AdminRemoveGameAckMessage.removeGameId) } // required .AdminRemoveGameAckMessage.AdminRemoveGameResult removeGameResult = 2; @@ -18516,12 +19875,14 @@ inline void AdminRemoveGameAckMessage::clear_removegameresult() { clear_has_removegameresult(); } inline ::AdminRemoveGameAckMessage_AdminRemoveGameResult AdminRemoveGameAckMessage::removegameresult() const { + // @@protoc_insertion_point(field_get:AdminRemoveGameAckMessage.removeGameResult) return static_cast< ::AdminRemoveGameAckMessage_AdminRemoveGameResult >(removegameresult_); } inline void AdminRemoveGameAckMessage::set_removegameresult(::AdminRemoveGameAckMessage_AdminRemoveGameResult value) { assert(::AdminRemoveGameAckMessage_AdminRemoveGameResult_IsValid(value)); set_has_removegameresult(); removegameresult_ = value; + // @@protoc_insertion_point(field_set:AdminRemoveGameAckMessage.removeGameResult) } // ------------------------------------------------------------------- @@ -18543,11 +19904,13 @@ inline void AdminBanPlayerMessage::clear_banplayerid() { clear_has_banplayerid(); } inline ::google::protobuf::uint32 AdminBanPlayerMessage::banplayerid() const { + // @@protoc_insertion_point(field_get:AdminBanPlayerMessage.banPlayerId) return banplayerid_; } inline void AdminBanPlayerMessage::set_banplayerid(::google::protobuf::uint32 value) { set_has_banplayerid(); banplayerid_ = value; + // @@protoc_insertion_point(field_set:AdminBanPlayerMessage.banPlayerId) } // ------------------------------------------------------------------- @@ -18569,11 +19932,13 @@ inline void AdminBanPlayerAckMessage::clear_banplayerid() { clear_has_banplayerid(); } inline ::google::protobuf::uint32 AdminBanPlayerAckMessage::banplayerid() const { + // @@protoc_insertion_point(field_get:AdminBanPlayerAckMessage.banPlayerId) return banplayerid_; } inline void AdminBanPlayerAckMessage::set_banplayerid(::google::protobuf::uint32 value) { set_has_banplayerid(); banplayerid_ = value; + // @@protoc_insertion_point(field_set:AdminBanPlayerAckMessage.banPlayerId) } // required .AdminBanPlayerAckMessage.AdminBanPlayerResult banPlayerResult = 2; @@ -18591,12 +19956,14 @@ inline void AdminBanPlayerAckMessage::clear_banplayerresult() { clear_has_banplayerresult(); } inline ::AdminBanPlayerAckMessage_AdminBanPlayerResult AdminBanPlayerAckMessage::banplayerresult() const { + // @@protoc_insertion_point(field_get:AdminBanPlayerAckMessage.banPlayerResult) return static_cast< ::AdminBanPlayerAckMessage_AdminBanPlayerResult >(banplayerresult_); } inline void AdminBanPlayerAckMessage::set_banplayerresult(::AdminBanPlayerAckMessage_AdminBanPlayerResult value) { assert(::AdminBanPlayerAckMessage_AdminBanPlayerResult_IsValid(value)); set_has_banplayerresult(); banplayerresult_ = value; + // @@protoc_insertion_point(field_set:AdminBanPlayerAckMessage.banPlayerResult) } // ------------------------------------------------------------------- @@ -18618,12 +19985,14 @@ inline void PokerTHMessage::clear_messagetype() { clear_has_messagetype(); } inline ::PokerTHMessage_PokerTHMessageType PokerTHMessage::messagetype() const { + // @@protoc_insertion_point(field_get:PokerTHMessage.messageType) return static_cast< ::PokerTHMessage_PokerTHMessageType >(messagetype_); } inline void PokerTHMessage::set_messagetype(::PokerTHMessage_PokerTHMessageType value) { assert(::PokerTHMessage_PokerTHMessageType_IsValid(value)); set_has_messagetype(); messagetype_ = value; + // @@protoc_insertion_point(field_set:PokerTHMessage.messageType) } // optional .AnnounceMessage announceMessage = 2; @@ -18641,6 +20010,7 @@ inline void PokerTHMessage::clear_announcemessage() { clear_has_announcemessage(); } inline const ::AnnounceMessage& PokerTHMessage::announcemessage() const { + // @@protoc_insertion_point(field_get:PokerTHMessage.announceMessage) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return announcemessage_ != NULL ? *announcemessage_ : *default_instance().announcemessage_; #else @@ -18650,6 +20020,7 @@ inline const ::AnnounceMessage& PokerTHMessage::announcemessage() const { inline ::AnnounceMessage* PokerTHMessage::mutable_announcemessage() { set_has_announcemessage(); if (announcemessage_ == NULL) announcemessage_ = new ::AnnounceMessage; + // @@protoc_insertion_point(field_mutable:PokerTHMessage.announceMessage) return announcemessage_; } inline ::AnnounceMessage* PokerTHMessage::release_announcemessage() { @@ -18666,6 +20037,7 @@ inline void PokerTHMessage::set_allocated_announcemessage(::AnnounceMessage* ann } else { clear_has_announcemessage(); } + // @@protoc_insertion_point(field_set_allocated:PokerTHMessage.announceMessage) } // optional .InitMessage initMessage = 3; @@ -18683,6 +20055,7 @@ inline void PokerTHMessage::clear_initmessage() { clear_has_initmessage(); } inline const ::InitMessage& PokerTHMessage::initmessage() const { + // @@protoc_insertion_point(field_get:PokerTHMessage.initMessage) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return initmessage_ != NULL ? *initmessage_ : *default_instance().initmessage_; #else @@ -18692,6 +20065,7 @@ inline const ::InitMessage& PokerTHMessage::initmessage() const { inline ::InitMessage* PokerTHMessage::mutable_initmessage() { set_has_initmessage(); if (initmessage_ == NULL) initmessage_ = new ::InitMessage; + // @@protoc_insertion_point(field_mutable:PokerTHMessage.initMessage) return initmessage_; } inline ::InitMessage* PokerTHMessage::release_initmessage() { @@ -18708,6 +20082,7 @@ inline void PokerTHMessage::set_allocated_initmessage(::InitMessage* initmessage } else { clear_has_initmessage(); } + // @@protoc_insertion_point(field_set_allocated:PokerTHMessage.initMessage) } // optional .AuthServerChallengeMessage authServerChallengeMessage = 4; @@ -18725,6 +20100,7 @@ inline void PokerTHMessage::clear_authserverchallengemessage() { clear_has_authserverchallengemessage(); } inline const ::AuthServerChallengeMessage& PokerTHMessage::authserverchallengemessage() const { + // @@protoc_insertion_point(field_get:PokerTHMessage.authServerChallengeMessage) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return authserverchallengemessage_ != NULL ? *authserverchallengemessage_ : *default_instance().authserverchallengemessage_; #else @@ -18734,6 +20110,7 @@ inline const ::AuthServerChallengeMessage& PokerTHMessage::authserverchallengeme inline ::AuthServerChallengeMessage* PokerTHMessage::mutable_authserverchallengemessage() { set_has_authserverchallengemessage(); if (authserverchallengemessage_ == NULL) authserverchallengemessage_ = new ::AuthServerChallengeMessage; + // @@protoc_insertion_point(field_mutable:PokerTHMessage.authServerChallengeMessage) return authserverchallengemessage_; } inline ::AuthServerChallengeMessage* PokerTHMessage::release_authserverchallengemessage() { @@ -18750,6 +20127,7 @@ inline void PokerTHMessage::set_allocated_authserverchallengemessage(::AuthServe } else { clear_has_authserverchallengemessage(); } + // @@protoc_insertion_point(field_set_allocated:PokerTHMessage.authServerChallengeMessage) } // optional .AuthClientResponseMessage authClientResponseMessage = 5; @@ -18767,6 +20145,7 @@ inline void PokerTHMessage::clear_authclientresponsemessage() { clear_has_authclientresponsemessage(); } inline const ::AuthClientResponseMessage& PokerTHMessage::authclientresponsemessage() const { + // @@protoc_insertion_point(field_get:PokerTHMessage.authClientResponseMessage) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return authclientresponsemessage_ != NULL ? *authclientresponsemessage_ : *default_instance().authclientresponsemessage_; #else @@ -18776,6 +20155,7 @@ inline const ::AuthClientResponseMessage& PokerTHMessage::authclientresponsemess inline ::AuthClientResponseMessage* PokerTHMessage::mutable_authclientresponsemessage() { set_has_authclientresponsemessage(); if (authclientresponsemessage_ == NULL) authclientresponsemessage_ = new ::AuthClientResponseMessage; + // @@protoc_insertion_point(field_mutable:PokerTHMessage.authClientResponseMessage) return authclientresponsemessage_; } inline ::AuthClientResponseMessage* PokerTHMessage::release_authclientresponsemessage() { @@ -18792,6 +20172,7 @@ inline void PokerTHMessage::set_allocated_authclientresponsemessage(::AuthClient } else { clear_has_authclientresponsemessage(); } + // @@protoc_insertion_point(field_set_allocated:PokerTHMessage.authClientResponseMessage) } // optional .AuthServerVerificationMessage authServerVerificationMessage = 6; @@ -18809,6 +20190,7 @@ inline void PokerTHMessage::clear_authserververificationmessage() { clear_has_authserververificationmessage(); } inline const ::AuthServerVerificationMessage& PokerTHMessage::authserververificationmessage() const { + // @@protoc_insertion_point(field_get:PokerTHMessage.authServerVerificationMessage) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return authserververificationmessage_ != NULL ? *authserververificationmessage_ : *default_instance().authserververificationmessage_; #else @@ -18818,6 +20200,7 @@ inline const ::AuthServerVerificationMessage& PokerTHMessage::authserververifica inline ::AuthServerVerificationMessage* PokerTHMessage::mutable_authserververificationmessage() { set_has_authserververificationmessage(); if (authserververificationmessage_ == NULL) authserververificationmessage_ = new ::AuthServerVerificationMessage; + // @@protoc_insertion_point(field_mutable:PokerTHMessage.authServerVerificationMessage) return authserververificationmessage_; } inline ::AuthServerVerificationMessage* PokerTHMessage::release_authserververificationmessage() { @@ -18834,6 +20217,7 @@ inline void PokerTHMessage::set_allocated_authserververificationmessage(::AuthSe } else { clear_has_authserververificationmessage(); } + // @@protoc_insertion_point(field_set_allocated:PokerTHMessage.authServerVerificationMessage) } // optional .InitAckMessage initAckMessage = 7; @@ -18851,6 +20235,7 @@ inline void PokerTHMessage::clear_initackmessage() { clear_has_initackmessage(); } inline const ::InitAckMessage& PokerTHMessage::initackmessage() const { + // @@protoc_insertion_point(field_get:PokerTHMessage.initAckMessage) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return initackmessage_ != NULL ? *initackmessage_ : *default_instance().initackmessage_; #else @@ -18860,6 +20245,7 @@ inline const ::InitAckMessage& PokerTHMessage::initackmessage() const { inline ::InitAckMessage* PokerTHMessage::mutable_initackmessage() { set_has_initackmessage(); if (initackmessage_ == NULL) initackmessage_ = new ::InitAckMessage; + // @@protoc_insertion_point(field_mutable:PokerTHMessage.initAckMessage) return initackmessage_; } inline ::InitAckMessage* PokerTHMessage::release_initackmessage() { @@ -18876,6 +20262,7 @@ inline void PokerTHMessage::set_allocated_initackmessage(::InitAckMessage* inita } else { clear_has_initackmessage(); } + // @@protoc_insertion_point(field_set_allocated:PokerTHMessage.initAckMessage) } // optional .AvatarRequestMessage avatarRequestMessage = 8; @@ -18893,6 +20280,7 @@ inline void PokerTHMessage::clear_avatarrequestmessage() { clear_has_avatarrequestmessage(); } inline const ::AvatarRequestMessage& PokerTHMessage::avatarrequestmessage() const { + // @@protoc_insertion_point(field_get:PokerTHMessage.avatarRequestMessage) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return avatarrequestmessage_ != NULL ? *avatarrequestmessage_ : *default_instance().avatarrequestmessage_; #else @@ -18902,6 +20290,7 @@ inline const ::AvatarRequestMessage& PokerTHMessage::avatarrequestmessage() cons inline ::AvatarRequestMessage* PokerTHMessage::mutable_avatarrequestmessage() { set_has_avatarrequestmessage(); if (avatarrequestmessage_ == NULL) avatarrequestmessage_ = new ::AvatarRequestMessage; + // @@protoc_insertion_point(field_mutable:PokerTHMessage.avatarRequestMessage) return avatarrequestmessage_; } inline ::AvatarRequestMessage* PokerTHMessage::release_avatarrequestmessage() { @@ -18918,6 +20307,7 @@ inline void PokerTHMessage::set_allocated_avatarrequestmessage(::AvatarRequestMe } else { clear_has_avatarrequestmessage(); } + // @@protoc_insertion_point(field_set_allocated:PokerTHMessage.avatarRequestMessage) } // optional .AvatarHeaderMessage avatarHeaderMessage = 9; @@ -18935,6 +20325,7 @@ inline void PokerTHMessage::clear_avatarheadermessage() { clear_has_avatarheadermessage(); } inline const ::AvatarHeaderMessage& PokerTHMessage::avatarheadermessage() const { + // @@protoc_insertion_point(field_get:PokerTHMessage.avatarHeaderMessage) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return avatarheadermessage_ != NULL ? *avatarheadermessage_ : *default_instance().avatarheadermessage_; #else @@ -18944,6 +20335,7 @@ inline const ::AvatarHeaderMessage& PokerTHMessage::avatarheadermessage() const inline ::AvatarHeaderMessage* PokerTHMessage::mutable_avatarheadermessage() { set_has_avatarheadermessage(); if (avatarheadermessage_ == NULL) avatarheadermessage_ = new ::AvatarHeaderMessage; + // @@protoc_insertion_point(field_mutable:PokerTHMessage.avatarHeaderMessage) return avatarheadermessage_; } inline ::AvatarHeaderMessage* PokerTHMessage::release_avatarheadermessage() { @@ -18960,6 +20352,7 @@ inline void PokerTHMessage::set_allocated_avatarheadermessage(::AvatarHeaderMess } else { clear_has_avatarheadermessage(); } + // @@protoc_insertion_point(field_set_allocated:PokerTHMessage.avatarHeaderMessage) } // optional .AvatarDataMessage avatarDataMessage = 10; @@ -18977,6 +20370,7 @@ inline void PokerTHMessage::clear_avatardatamessage() { clear_has_avatardatamessage(); } inline const ::AvatarDataMessage& PokerTHMessage::avatardatamessage() const { + // @@protoc_insertion_point(field_get:PokerTHMessage.avatarDataMessage) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return avatardatamessage_ != NULL ? *avatardatamessage_ : *default_instance().avatardatamessage_; #else @@ -18986,6 +20380,7 @@ inline const ::AvatarDataMessage& PokerTHMessage::avatardatamessage() const { inline ::AvatarDataMessage* PokerTHMessage::mutable_avatardatamessage() { set_has_avatardatamessage(); if (avatardatamessage_ == NULL) avatardatamessage_ = new ::AvatarDataMessage; + // @@protoc_insertion_point(field_mutable:PokerTHMessage.avatarDataMessage) return avatardatamessage_; } inline ::AvatarDataMessage* PokerTHMessage::release_avatardatamessage() { @@ -19002,6 +20397,7 @@ inline void PokerTHMessage::set_allocated_avatardatamessage(::AvatarDataMessage* } else { clear_has_avatardatamessage(); } + // @@protoc_insertion_point(field_set_allocated:PokerTHMessage.avatarDataMessage) } // optional .AvatarEndMessage avatarEndMessage = 11; @@ -19019,6 +20415,7 @@ inline void PokerTHMessage::clear_avatarendmessage() { clear_has_avatarendmessage(); } inline const ::AvatarEndMessage& PokerTHMessage::avatarendmessage() const { + // @@protoc_insertion_point(field_get:PokerTHMessage.avatarEndMessage) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return avatarendmessage_ != NULL ? *avatarendmessage_ : *default_instance().avatarendmessage_; #else @@ -19028,6 +20425,7 @@ inline const ::AvatarEndMessage& PokerTHMessage::avatarendmessage() const { inline ::AvatarEndMessage* PokerTHMessage::mutable_avatarendmessage() { set_has_avatarendmessage(); if (avatarendmessage_ == NULL) avatarendmessage_ = new ::AvatarEndMessage; + // @@protoc_insertion_point(field_mutable:PokerTHMessage.avatarEndMessage) return avatarendmessage_; } inline ::AvatarEndMessage* PokerTHMessage::release_avatarendmessage() { @@ -19044,6 +20442,7 @@ inline void PokerTHMessage::set_allocated_avatarendmessage(::AvatarEndMessage* a } else { clear_has_avatarendmessage(); } + // @@protoc_insertion_point(field_set_allocated:PokerTHMessage.avatarEndMessage) } // optional .UnknownAvatarMessage unknownAvatarMessage = 12; @@ -19061,6 +20460,7 @@ inline void PokerTHMessage::clear_unknownavatarmessage() { clear_has_unknownavatarmessage(); } inline const ::UnknownAvatarMessage& PokerTHMessage::unknownavatarmessage() const { + // @@protoc_insertion_point(field_get:PokerTHMessage.unknownAvatarMessage) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return unknownavatarmessage_ != NULL ? *unknownavatarmessage_ : *default_instance().unknownavatarmessage_; #else @@ -19070,6 +20470,7 @@ inline const ::UnknownAvatarMessage& PokerTHMessage::unknownavatarmessage() cons inline ::UnknownAvatarMessage* PokerTHMessage::mutable_unknownavatarmessage() { set_has_unknownavatarmessage(); if (unknownavatarmessage_ == NULL) unknownavatarmessage_ = new ::UnknownAvatarMessage; + // @@protoc_insertion_point(field_mutable:PokerTHMessage.unknownAvatarMessage) return unknownavatarmessage_; } inline ::UnknownAvatarMessage* PokerTHMessage::release_unknownavatarmessage() { @@ -19086,6 +20487,7 @@ inline void PokerTHMessage::set_allocated_unknownavatarmessage(::UnknownAvatarMe } else { clear_has_unknownavatarmessage(); } + // @@protoc_insertion_point(field_set_allocated:PokerTHMessage.unknownAvatarMessage) } // optional .PlayerListMessage playerListMessage = 13; @@ -19103,6 +20505,7 @@ inline void PokerTHMessage::clear_playerlistmessage() { clear_has_playerlistmessage(); } inline const ::PlayerListMessage& PokerTHMessage::playerlistmessage() const { + // @@protoc_insertion_point(field_get:PokerTHMessage.playerListMessage) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return playerlistmessage_ != NULL ? *playerlistmessage_ : *default_instance().playerlistmessage_; #else @@ -19112,6 +20515,7 @@ inline const ::PlayerListMessage& PokerTHMessage::playerlistmessage() const { inline ::PlayerListMessage* PokerTHMessage::mutable_playerlistmessage() { set_has_playerlistmessage(); if (playerlistmessage_ == NULL) playerlistmessage_ = new ::PlayerListMessage; + // @@protoc_insertion_point(field_mutable:PokerTHMessage.playerListMessage) return playerlistmessage_; } inline ::PlayerListMessage* PokerTHMessage::release_playerlistmessage() { @@ -19128,6 +20532,7 @@ inline void PokerTHMessage::set_allocated_playerlistmessage(::PlayerListMessage* } else { clear_has_playerlistmessage(); } + // @@protoc_insertion_point(field_set_allocated:PokerTHMessage.playerListMessage) } // optional .GameListNewMessage gameListNewMessage = 14; @@ -19145,6 +20550,7 @@ inline void PokerTHMessage::clear_gamelistnewmessage() { clear_has_gamelistnewmessage(); } inline const ::GameListNewMessage& PokerTHMessage::gamelistnewmessage() const { + // @@protoc_insertion_point(field_get:PokerTHMessage.gameListNewMessage) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return gamelistnewmessage_ != NULL ? *gamelistnewmessage_ : *default_instance().gamelistnewmessage_; #else @@ -19154,6 +20560,7 @@ inline const ::GameListNewMessage& PokerTHMessage::gamelistnewmessage() const { inline ::GameListNewMessage* PokerTHMessage::mutable_gamelistnewmessage() { set_has_gamelistnewmessage(); if (gamelistnewmessage_ == NULL) gamelistnewmessage_ = new ::GameListNewMessage; + // @@protoc_insertion_point(field_mutable:PokerTHMessage.gameListNewMessage) return gamelistnewmessage_; } inline ::GameListNewMessage* PokerTHMessage::release_gamelistnewmessage() { @@ -19170,6 +20577,7 @@ inline void PokerTHMessage::set_allocated_gamelistnewmessage(::GameListNewMessag } else { clear_has_gamelistnewmessage(); } + // @@protoc_insertion_point(field_set_allocated:PokerTHMessage.gameListNewMessage) } // optional .GameListUpdateMessage gameListUpdateMessage = 15; @@ -19187,6 +20595,7 @@ inline void PokerTHMessage::clear_gamelistupdatemessage() { clear_has_gamelistupdatemessage(); } inline const ::GameListUpdateMessage& PokerTHMessage::gamelistupdatemessage() const { + // @@protoc_insertion_point(field_get:PokerTHMessage.gameListUpdateMessage) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return gamelistupdatemessage_ != NULL ? *gamelistupdatemessage_ : *default_instance().gamelistupdatemessage_; #else @@ -19196,6 +20605,7 @@ inline const ::GameListUpdateMessage& PokerTHMessage::gamelistupdatemessage() co inline ::GameListUpdateMessage* PokerTHMessage::mutable_gamelistupdatemessage() { set_has_gamelistupdatemessage(); if (gamelistupdatemessage_ == NULL) gamelistupdatemessage_ = new ::GameListUpdateMessage; + // @@protoc_insertion_point(field_mutable:PokerTHMessage.gameListUpdateMessage) return gamelistupdatemessage_; } inline ::GameListUpdateMessage* PokerTHMessage::release_gamelistupdatemessage() { @@ -19212,6 +20622,7 @@ inline void PokerTHMessage::set_allocated_gamelistupdatemessage(::GameListUpdate } else { clear_has_gamelistupdatemessage(); } + // @@protoc_insertion_point(field_set_allocated:PokerTHMessage.gameListUpdateMessage) } // optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 16; @@ -19229,6 +20640,7 @@ inline void PokerTHMessage::clear_gamelistplayerjoinedmessage() { clear_has_gamelistplayerjoinedmessage(); } inline const ::GameListPlayerJoinedMessage& PokerTHMessage::gamelistplayerjoinedmessage() const { + // @@protoc_insertion_point(field_get:PokerTHMessage.gameListPlayerJoinedMessage) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return gamelistplayerjoinedmessage_ != NULL ? *gamelistplayerjoinedmessage_ : *default_instance().gamelistplayerjoinedmessage_; #else @@ -19238,6 +20650,7 @@ inline const ::GameListPlayerJoinedMessage& PokerTHMessage::gamelistplayerjoined inline ::GameListPlayerJoinedMessage* PokerTHMessage::mutable_gamelistplayerjoinedmessage() { set_has_gamelistplayerjoinedmessage(); if (gamelistplayerjoinedmessage_ == NULL) gamelistplayerjoinedmessage_ = new ::GameListPlayerJoinedMessage; + // @@protoc_insertion_point(field_mutable:PokerTHMessage.gameListPlayerJoinedMessage) return gamelistplayerjoinedmessage_; } inline ::GameListPlayerJoinedMessage* PokerTHMessage::release_gamelistplayerjoinedmessage() { @@ -19254,6 +20667,7 @@ inline void PokerTHMessage::set_allocated_gamelistplayerjoinedmessage(::GameList } else { clear_has_gamelistplayerjoinedmessage(); } + // @@protoc_insertion_point(field_set_allocated:PokerTHMessage.gameListPlayerJoinedMessage) } // optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 17; @@ -19271,6 +20685,7 @@ inline void PokerTHMessage::clear_gamelistplayerleftmessage() { clear_has_gamelistplayerleftmessage(); } inline const ::GameListPlayerLeftMessage& PokerTHMessage::gamelistplayerleftmessage() const { + // @@protoc_insertion_point(field_get:PokerTHMessage.gameListPlayerLeftMessage) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return gamelistplayerleftmessage_ != NULL ? *gamelistplayerleftmessage_ : *default_instance().gamelistplayerleftmessage_; #else @@ -19280,6 +20695,7 @@ inline const ::GameListPlayerLeftMessage& PokerTHMessage::gamelistplayerleftmess inline ::GameListPlayerLeftMessage* PokerTHMessage::mutable_gamelistplayerleftmessage() { set_has_gamelistplayerleftmessage(); if (gamelistplayerleftmessage_ == NULL) gamelistplayerleftmessage_ = new ::GameListPlayerLeftMessage; + // @@protoc_insertion_point(field_mutable:PokerTHMessage.gameListPlayerLeftMessage) return gamelistplayerleftmessage_; } inline ::GameListPlayerLeftMessage* PokerTHMessage::release_gamelistplayerleftmessage() { @@ -19296,6 +20712,7 @@ inline void PokerTHMessage::set_allocated_gamelistplayerleftmessage(::GameListPl } else { clear_has_gamelistplayerleftmessage(); } + // @@protoc_insertion_point(field_set_allocated:PokerTHMessage.gameListPlayerLeftMessage) } // optional .GameListAdminChangedMessage gameListAdminChangedMessage = 18; @@ -19313,6 +20730,7 @@ inline void PokerTHMessage::clear_gamelistadminchangedmessage() { clear_has_gamelistadminchangedmessage(); } inline const ::GameListAdminChangedMessage& PokerTHMessage::gamelistadminchangedmessage() const { + // @@protoc_insertion_point(field_get:PokerTHMessage.gameListAdminChangedMessage) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return gamelistadminchangedmessage_ != NULL ? *gamelistadminchangedmessage_ : *default_instance().gamelistadminchangedmessage_; #else @@ -19322,6 +20740,7 @@ inline const ::GameListAdminChangedMessage& PokerTHMessage::gamelistadminchanged inline ::GameListAdminChangedMessage* PokerTHMessage::mutable_gamelistadminchangedmessage() { set_has_gamelistadminchangedmessage(); if (gamelistadminchangedmessage_ == NULL) gamelistadminchangedmessage_ = new ::GameListAdminChangedMessage; + // @@protoc_insertion_point(field_mutable:PokerTHMessage.gameListAdminChangedMessage) return gamelistadminchangedmessage_; } inline ::GameListAdminChangedMessage* PokerTHMessage::release_gamelistadminchangedmessage() { @@ -19338,6 +20757,7 @@ inline void PokerTHMessage::set_allocated_gamelistadminchangedmessage(::GameList } else { clear_has_gamelistadminchangedmessage(); } + // @@protoc_insertion_point(field_set_allocated:PokerTHMessage.gameListAdminChangedMessage) } // optional .PlayerInfoRequestMessage playerInfoRequestMessage = 19; @@ -19355,6 +20775,7 @@ inline void PokerTHMessage::clear_playerinforequestmessage() { clear_has_playerinforequestmessage(); } inline const ::PlayerInfoRequestMessage& PokerTHMessage::playerinforequestmessage() const { + // @@protoc_insertion_point(field_get:PokerTHMessage.playerInfoRequestMessage) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return playerinforequestmessage_ != NULL ? *playerinforequestmessage_ : *default_instance().playerinforequestmessage_; #else @@ -19364,6 +20785,7 @@ inline const ::PlayerInfoRequestMessage& PokerTHMessage::playerinforequestmessag inline ::PlayerInfoRequestMessage* PokerTHMessage::mutable_playerinforequestmessage() { set_has_playerinforequestmessage(); if (playerinforequestmessage_ == NULL) playerinforequestmessage_ = new ::PlayerInfoRequestMessage; + // @@protoc_insertion_point(field_mutable:PokerTHMessage.playerInfoRequestMessage) return playerinforequestmessage_; } inline ::PlayerInfoRequestMessage* PokerTHMessage::release_playerinforequestmessage() { @@ -19380,6 +20802,7 @@ inline void PokerTHMessage::set_allocated_playerinforequestmessage(::PlayerInfoR } else { clear_has_playerinforequestmessage(); } + // @@protoc_insertion_point(field_set_allocated:PokerTHMessage.playerInfoRequestMessage) } // optional .PlayerInfoReplyMessage playerInfoReplyMessage = 20; @@ -19397,6 +20820,7 @@ inline void PokerTHMessage::clear_playerinforeplymessage() { clear_has_playerinforeplymessage(); } inline const ::PlayerInfoReplyMessage& PokerTHMessage::playerinforeplymessage() const { + // @@protoc_insertion_point(field_get:PokerTHMessage.playerInfoReplyMessage) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return playerinforeplymessage_ != NULL ? *playerinforeplymessage_ : *default_instance().playerinforeplymessage_; #else @@ -19406,6 +20830,7 @@ inline const ::PlayerInfoReplyMessage& PokerTHMessage::playerinforeplymessage() inline ::PlayerInfoReplyMessage* PokerTHMessage::mutable_playerinforeplymessage() { set_has_playerinforeplymessage(); if (playerinforeplymessage_ == NULL) playerinforeplymessage_ = new ::PlayerInfoReplyMessage; + // @@protoc_insertion_point(field_mutable:PokerTHMessage.playerInfoReplyMessage) return playerinforeplymessage_; } inline ::PlayerInfoReplyMessage* PokerTHMessage::release_playerinforeplymessage() { @@ -19422,6 +20847,7 @@ inline void PokerTHMessage::set_allocated_playerinforeplymessage(::PlayerInfoRep } else { clear_has_playerinforeplymessage(); } + // @@protoc_insertion_point(field_set_allocated:PokerTHMessage.playerInfoReplyMessage) } // optional .SubscriptionRequestMessage subscriptionRequestMessage = 21; @@ -19439,6 +20865,7 @@ inline void PokerTHMessage::clear_subscriptionrequestmessage() { clear_has_subscriptionrequestmessage(); } inline const ::SubscriptionRequestMessage& PokerTHMessage::subscriptionrequestmessage() const { + // @@protoc_insertion_point(field_get:PokerTHMessage.subscriptionRequestMessage) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return subscriptionrequestmessage_ != NULL ? *subscriptionrequestmessage_ : *default_instance().subscriptionrequestmessage_; #else @@ -19448,6 +20875,7 @@ inline const ::SubscriptionRequestMessage& PokerTHMessage::subscriptionrequestme inline ::SubscriptionRequestMessage* PokerTHMessage::mutable_subscriptionrequestmessage() { set_has_subscriptionrequestmessage(); if (subscriptionrequestmessage_ == NULL) subscriptionrequestmessage_ = new ::SubscriptionRequestMessage; + // @@protoc_insertion_point(field_mutable:PokerTHMessage.subscriptionRequestMessage) return subscriptionrequestmessage_; } inline ::SubscriptionRequestMessage* PokerTHMessage::release_subscriptionrequestmessage() { @@ -19464,6 +20892,7 @@ inline void PokerTHMessage::set_allocated_subscriptionrequestmessage(::Subscript } else { clear_has_subscriptionrequestmessage(); } + // @@protoc_insertion_point(field_set_allocated:PokerTHMessage.subscriptionRequestMessage) } // optional .JoinExistingGameMessage joinExistingGameMessage = 22; @@ -19481,6 +20910,7 @@ inline void PokerTHMessage::clear_joinexistinggamemessage() { clear_has_joinexistinggamemessage(); } inline const ::JoinExistingGameMessage& PokerTHMessage::joinexistinggamemessage() const { + // @@protoc_insertion_point(field_get:PokerTHMessage.joinExistingGameMessage) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return joinexistinggamemessage_ != NULL ? *joinexistinggamemessage_ : *default_instance().joinexistinggamemessage_; #else @@ -19490,6 +20920,7 @@ inline const ::JoinExistingGameMessage& PokerTHMessage::joinexistinggamemessage( inline ::JoinExistingGameMessage* PokerTHMessage::mutable_joinexistinggamemessage() { set_has_joinexistinggamemessage(); if (joinexistinggamemessage_ == NULL) joinexistinggamemessage_ = new ::JoinExistingGameMessage; + // @@protoc_insertion_point(field_mutable:PokerTHMessage.joinExistingGameMessage) return joinexistinggamemessage_; } inline ::JoinExistingGameMessage* PokerTHMessage::release_joinexistinggamemessage() { @@ -19506,6 +20937,7 @@ inline void PokerTHMessage::set_allocated_joinexistinggamemessage(::JoinExisting } else { clear_has_joinexistinggamemessage(); } + // @@protoc_insertion_point(field_set_allocated:PokerTHMessage.joinExistingGameMessage) } // optional .JoinNewGameMessage joinNewGameMessage = 23; @@ -19523,6 +20955,7 @@ inline void PokerTHMessage::clear_joinnewgamemessage() { clear_has_joinnewgamemessage(); } inline const ::JoinNewGameMessage& PokerTHMessage::joinnewgamemessage() const { + // @@protoc_insertion_point(field_get:PokerTHMessage.joinNewGameMessage) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return joinnewgamemessage_ != NULL ? *joinnewgamemessage_ : *default_instance().joinnewgamemessage_; #else @@ -19532,6 +20965,7 @@ inline const ::JoinNewGameMessage& PokerTHMessage::joinnewgamemessage() const { inline ::JoinNewGameMessage* PokerTHMessage::mutable_joinnewgamemessage() { set_has_joinnewgamemessage(); if (joinnewgamemessage_ == NULL) joinnewgamemessage_ = new ::JoinNewGameMessage; + // @@protoc_insertion_point(field_mutable:PokerTHMessage.joinNewGameMessage) return joinnewgamemessage_; } inline ::JoinNewGameMessage* PokerTHMessage::release_joinnewgamemessage() { @@ -19548,6 +20982,7 @@ inline void PokerTHMessage::set_allocated_joinnewgamemessage(::JoinNewGameMessag } else { clear_has_joinnewgamemessage(); } + // @@protoc_insertion_point(field_set_allocated:PokerTHMessage.joinNewGameMessage) } // optional .RejoinExistingGameMessage rejoinExistingGameMessage = 24; @@ -19565,6 +21000,7 @@ inline void PokerTHMessage::clear_rejoinexistinggamemessage() { clear_has_rejoinexistinggamemessage(); } inline const ::RejoinExistingGameMessage& PokerTHMessage::rejoinexistinggamemessage() const { + // @@protoc_insertion_point(field_get:PokerTHMessage.rejoinExistingGameMessage) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return rejoinexistinggamemessage_ != NULL ? *rejoinexistinggamemessage_ : *default_instance().rejoinexistinggamemessage_; #else @@ -19574,6 +21010,7 @@ inline const ::RejoinExistingGameMessage& PokerTHMessage::rejoinexistinggamemess inline ::RejoinExistingGameMessage* PokerTHMessage::mutable_rejoinexistinggamemessage() { set_has_rejoinexistinggamemessage(); if (rejoinexistinggamemessage_ == NULL) rejoinexistinggamemessage_ = new ::RejoinExistingGameMessage; + // @@protoc_insertion_point(field_mutable:PokerTHMessage.rejoinExistingGameMessage) return rejoinexistinggamemessage_; } inline ::RejoinExistingGameMessage* PokerTHMessage::release_rejoinexistinggamemessage() { @@ -19590,6 +21027,7 @@ inline void PokerTHMessage::set_allocated_rejoinexistinggamemessage(::RejoinExis } else { clear_has_rejoinexistinggamemessage(); } + // @@protoc_insertion_point(field_set_allocated:PokerTHMessage.rejoinExistingGameMessage) } // optional .JoinGameAckMessage joinGameAckMessage = 25; @@ -19607,6 +21045,7 @@ inline void PokerTHMessage::clear_joingameackmessage() { clear_has_joingameackmessage(); } inline const ::JoinGameAckMessage& PokerTHMessage::joingameackmessage() const { + // @@protoc_insertion_point(field_get:PokerTHMessage.joinGameAckMessage) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return joingameackmessage_ != NULL ? *joingameackmessage_ : *default_instance().joingameackmessage_; #else @@ -19616,6 +21055,7 @@ inline const ::JoinGameAckMessage& PokerTHMessage::joingameackmessage() const { inline ::JoinGameAckMessage* PokerTHMessage::mutable_joingameackmessage() { set_has_joingameackmessage(); if (joingameackmessage_ == NULL) joingameackmessage_ = new ::JoinGameAckMessage; + // @@protoc_insertion_point(field_mutable:PokerTHMessage.joinGameAckMessage) return joingameackmessage_; } inline ::JoinGameAckMessage* PokerTHMessage::release_joingameackmessage() { @@ -19632,6 +21072,7 @@ inline void PokerTHMessage::set_allocated_joingameackmessage(::JoinGameAckMessag } else { clear_has_joingameackmessage(); } + // @@protoc_insertion_point(field_set_allocated:PokerTHMessage.joinGameAckMessage) } // optional .JoinGameFailedMessage joinGameFailedMessage = 26; @@ -19649,6 +21090,7 @@ inline void PokerTHMessage::clear_joingamefailedmessage() { clear_has_joingamefailedmessage(); } inline const ::JoinGameFailedMessage& PokerTHMessage::joingamefailedmessage() const { + // @@protoc_insertion_point(field_get:PokerTHMessage.joinGameFailedMessage) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return joingamefailedmessage_ != NULL ? *joingamefailedmessage_ : *default_instance().joingamefailedmessage_; #else @@ -19658,6 +21100,7 @@ inline const ::JoinGameFailedMessage& PokerTHMessage::joingamefailedmessage() co inline ::JoinGameFailedMessage* PokerTHMessage::mutable_joingamefailedmessage() { set_has_joingamefailedmessage(); if (joingamefailedmessage_ == NULL) joingamefailedmessage_ = new ::JoinGameFailedMessage; + // @@protoc_insertion_point(field_mutable:PokerTHMessage.joinGameFailedMessage) return joingamefailedmessage_; } inline ::JoinGameFailedMessage* PokerTHMessage::release_joingamefailedmessage() { @@ -19674,6 +21117,7 @@ inline void PokerTHMessage::set_allocated_joingamefailedmessage(::JoinGameFailed } else { clear_has_joingamefailedmessage(); } + // @@protoc_insertion_point(field_set_allocated:PokerTHMessage.joinGameFailedMessage) } // optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 27; @@ -19691,6 +21135,7 @@ inline void PokerTHMessage::clear_gameplayerjoinedmessage() { clear_has_gameplayerjoinedmessage(); } inline const ::GamePlayerJoinedMessage& PokerTHMessage::gameplayerjoinedmessage() const { + // @@protoc_insertion_point(field_get:PokerTHMessage.gamePlayerJoinedMessage) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return gameplayerjoinedmessage_ != NULL ? *gameplayerjoinedmessage_ : *default_instance().gameplayerjoinedmessage_; #else @@ -19700,6 +21145,7 @@ inline const ::GamePlayerJoinedMessage& PokerTHMessage::gameplayerjoinedmessage( inline ::GamePlayerJoinedMessage* PokerTHMessage::mutable_gameplayerjoinedmessage() { set_has_gameplayerjoinedmessage(); if (gameplayerjoinedmessage_ == NULL) gameplayerjoinedmessage_ = new ::GamePlayerJoinedMessage; + // @@protoc_insertion_point(field_mutable:PokerTHMessage.gamePlayerJoinedMessage) return gameplayerjoinedmessage_; } inline ::GamePlayerJoinedMessage* PokerTHMessage::release_gameplayerjoinedmessage() { @@ -19716,6 +21162,7 @@ inline void PokerTHMessage::set_allocated_gameplayerjoinedmessage(::GamePlayerJo } else { clear_has_gameplayerjoinedmessage(); } + // @@protoc_insertion_point(field_set_allocated:PokerTHMessage.gamePlayerJoinedMessage) } // optional .GamePlayerLeftMessage gamePlayerLeftMessage = 28; @@ -19733,6 +21180,7 @@ inline void PokerTHMessage::clear_gameplayerleftmessage() { clear_has_gameplayerleftmessage(); } inline const ::GamePlayerLeftMessage& PokerTHMessage::gameplayerleftmessage() const { + // @@protoc_insertion_point(field_get:PokerTHMessage.gamePlayerLeftMessage) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return gameplayerleftmessage_ != NULL ? *gameplayerleftmessage_ : *default_instance().gameplayerleftmessage_; #else @@ -19742,6 +21190,7 @@ inline const ::GamePlayerLeftMessage& PokerTHMessage::gameplayerleftmessage() co inline ::GamePlayerLeftMessage* PokerTHMessage::mutable_gameplayerleftmessage() { set_has_gameplayerleftmessage(); if (gameplayerleftmessage_ == NULL) gameplayerleftmessage_ = new ::GamePlayerLeftMessage; + // @@protoc_insertion_point(field_mutable:PokerTHMessage.gamePlayerLeftMessage) return gameplayerleftmessage_; } inline ::GamePlayerLeftMessage* PokerTHMessage::release_gameplayerleftmessage() { @@ -19758,6 +21207,7 @@ inline void PokerTHMessage::set_allocated_gameplayerleftmessage(::GamePlayerLeft } else { clear_has_gameplayerleftmessage(); } + // @@protoc_insertion_point(field_set_allocated:PokerTHMessage.gamePlayerLeftMessage) } // optional .GameAdminChangedMessage gameAdminChangedMessage = 29; @@ -19775,6 +21225,7 @@ inline void PokerTHMessage::clear_gameadminchangedmessage() { clear_has_gameadminchangedmessage(); } inline const ::GameAdminChangedMessage& PokerTHMessage::gameadminchangedmessage() const { + // @@protoc_insertion_point(field_get:PokerTHMessage.gameAdminChangedMessage) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return gameadminchangedmessage_ != NULL ? *gameadminchangedmessage_ : *default_instance().gameadminchangedmessage_; #else @@ -19784,6 +21235,7 @@ inline const ::GameAdminChangedMessage& PokerTHMessage::gameadminchangedmessage( inline ::GameAdminChangedMessage* PokerTHMessage::mutable_gameadminchangedmessage() { set_has_gameadminchangedmessage(); if (gameadminchangedmessage_ == NULL) gameadminchangedmessage_ = new ::GameAdminChangedMessage; + // @@protoc_insertion_point(field_mutable:PokerTHMessage.gameAdminChangedMessage) return gameadminchangedmessage_; } inline ::GameAdminChangedMessage* PokerTHMessage::release_gameadminchangedmessage() { @@ -19800,6 +21252,7 @@ inline void PokerTHMessage::set_allocated_gameadminchangedmessage(::GameAdminCha } else { clear_has_gameadminchangedmessage(); } + // @@protoc_insertion_point(field_set_allocated:PokerTHMessage.gameAdminChangedMessage) } // optional .RemovedFromGameMessage removedFromGameMessage = 30; @@ -19817,6 +21270,7 @@ inline void PokerTHMessage::clear_removedfromgamemessage() { clear_has_removedfromgamemessage(); } inline const ::RemovedFromGameMessage& PokerTHMessage::removedfromgamemessage() const { + // @@protoc_insertion_point(field_get:PokerTHMessage.removedFromGameMessage) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return removedfromgamemessage_ != NULL ? *removedfromgamemessage_ : *default_instance().removedfromgamemessage_; #else @@ -19826,6 +21280,7 @@ inline const ::RemovedFromGameMessage& PokerTHMessage::removedfromgamemessage() inline ::RemovedFromGameMessage* PokerTHMessage::mutable_removedfromgamemessage() { set_has_removedfromgamemessage(); if (removedfromgamemessage_ == NULL) removedfromgamemessage_ = new ::RemovedFromGameMessage; + // @@protoc_insertion_point(field_mutable:PokerTHMessage.removedFromGameMessage) return removedfromgamemessage_; } inline ::RemovedFromGameMessage* PokerTHMessage::release_removedfromgamemessage() { @@ -19842,6 +21297,7 @@ inline void PokerTHMessage::set_allocated_removedfromgamemessage(::RemovedFromGa } else { clear_has_removedfromgamemessage(); } + // @@protoc_insertion_point(field_set_allocated:PokerTHMessage.removedFromGameMessage) } // optional .KickPlayerRequestMessage kickPlayerRequestMessage = 31; @@ -19859,6 +21315,7 @@ inline void PokerTHMessage::clear_kickplayerrequestmessage() { clear_has_kickplayerrequestmessage(); } inline const ::KickPlayerRequestMessage& PokerTHMessage::kickplayerrequestmessage() const { + // @@protoc_insertion_point(field_get:PokerTHMessage.kickPlayerRequestMessage) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return kickplayerrequestmessage_ != NULL ? *kickplayerrequestmessage_ : *default_instance().kickplayerrequestmessage_; #else @@ -19868,6 +21325,7 @@ inline const ::KickPlayerRequestMessage& PokerTHMessage::kickplayerrequestmessag inline ::KickPlayerRequestMessage* PokerTHMessage::mutable_kickplayerrequestmessage() { set_has_kickplayerrequestmessage(); if (kickplayerrequestmessage_ == NULL) kickplayerrequestmessage_ = new ::KickPlayerRequestMessage; + // @@protoc_insertion_point(field_mutable:PokerTHMessage.kickPlayerRequestMessage) return kickplayerrequestmessage_; } inline ::KickPlayerRequestMessage* PokerTHMessage::release_kickplayerrequestmessage() { @@ -19884,6 +21342,7 @@ inline void PokerTHMessage::set_allocated_kickplayerrequestmessage(::KickPlayerR } else { clear_has_kickplayerrequestmessage(); } + // @@protoc_insertion_point(field_set_allocated:PokerTHMessage.kickPlayerRequestMessage) } // optional .LeaveGameRequestMessage leaveGameRequestMessage = 32; @@ -19901,6 +21360,7 @@ inline void PokerTHMessage::clear_leavegamerequestmessage() { clear_has_leavegamerequestmessage(); } inline const ::LeaveGameRequestMessage& PokerTHMessage::leavegamerequestmessage() const { + // @@protoc_insertion_point(field_get:PokerTHMessage.leaveGameRequestMessage) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return leavegamerequestmessage_ != NULL ? *leavegamerequestmessage_ : *default_instance().leavegamerequestmessage_; #else @@ -19910,6 +21370,7 @@ inline const ::LeaveGameRequestMessage& PokerTHMessage::leavegamerequestmessage( inline ::LeaveGameRequestMessage* PokerTHMessage::mutable_leavegamerequestmessage() { set_has_leavegamerequestmessage(); if (leavegamerequestmessage_ == NULL) leavegamerequestmessage_ = new ::LeaveGameRequestMessage; + // @@protoc_insertion_point(field_mutable:PokerTHMessage.leaveGameRequestMessage) return leavegamerequestmessage_; } inline ::LeaveGameRequestMessage* PokerTHMessage::release_leavegamerequestmessage() { @@ -19926,6 +21387,7 @@ inline void PokerTHMessage::set_allocated_leavegamerequestmessage(::LeaveGameReq } else { clear_has_leavegamerequestmessage(); } + // @@protoc_insertion_point(field_set_allocated:PokerTHMessage.leaveGameRequestMessage) } // optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 33; @@ -19943,6 +21405,7 @@ inline void PokerTHMessage::clear_inviteplayertogamemessage() { clear_has_inviteplayertogamemessage(); } inline const ::InvitePlayerToGameMessage& PokerTHMessage::inviteplayertogamemessage() const { + // @@protoc_insertion_point(field_get:PokerTHMessage.invitePlayerToGameMessage) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return inviteplayertogamemessage_ != NULL ? *inviteplayertogamemessage_ : *default_instance().inviteplayertogamemessage_; #else @@ -19952,6 +21415,7 @@ inline const ::InvitePlayerToGameMessage& PokerTHMessage::inviteplayertogamemess inline ::InvitePlayerToGameMessage* PokerTHMessage::mutable_inviteplayertogamemessage() { set_has_inviteplayertogamemessage(); if (inviteplayertogamemessage_ == NULL) inviteplayertogamemessage_ = new ::InvitePlayerToGameMessage; + // @@protoc_insertion_point(field_mutable:PokerTHMessage.invitePlayerToGameMessage) return inviteplayertogamemessage_; } inline ::InvitePlayerToGameMessage* PokerTHMessage::release_inviteplayertogamemessage() { @@ -19968,6 +21432,7 @@ inline void PokerTHMessage::set_allocated_inviteplayertogamemessage(::InvitePlay } else { clear_has_inviteplayertogamemessage(); } + // @@protoc_insertion_point(field_set_allocated:PokerTHMessage.invitePlayerToGameMessage) } // optional .InviteNotifyMessage inviteNotifyMessage = 34; @@ -19985,6 +21450,7 @@ inline void PokerTHMessage::clear_invitenotifymessage() { clear_has_invitenotifymessage(); } inline const ::InviteNotifyMessage& PokerTHMessage::invitenotifymessage() const { + // @@protoc_insertion_point(field_get:PokerTHMessage.inviteNotifyMessage) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return invitenotifymessage_ != NULL ? *invitenotifymessage_ : *default_instance().invitenotifymessage_; #else @@ -19994,6 +21460,7 @@ inline const ::InviteNotifyMessage& PokerTHMessage::invitenotifymessage() const inline ::InviteNotifyMessage* PokerTHMessage::mutable_invitenotifymessage() { set_has_invitenotifymessage(); if (invitenotifymessage_ == NULL) invitenotifymessage_ = new ::InviteNotifyMessage; + // @@protoc_insertion_point(field_mutable:PokerTHMessage.inviteNotifyMessage) return invitenotifymessage_; } inline ::InviteNotifyMessage* PokerTHMessage::release_invitenotifymessage() { @@ -20010,6 +21477,7 @@ inline void PokerTHMessage::set_allocated_invitenotifymessage(::InviteNotifyMess } else { clear_has_invitenotifymessage(); } + // @@protoc_insertion_point(field_set_allocated:PokerTHMessage.inviteNotifyMessage) } // optional .RejectGameInvitationMessage rejectGameInvitationMessage = 35; @@ -20027,6 +21495,7 @@ inline void PokerTHMessage::clear_rejectgameinvitationmessage() { clear_has_rejectgameinvitationmessage(); } inline const ::RejectGameInvitationMessage& PokerTHMessage::rejectgameinvitationmessage() const { + // @@protoc_insertion_point(field_get:PokerTHMessage.rejectGameInvitationMessage) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return rejectgameinvitationmessage_ != NULL ? *rejectgameinvitationmessage_ : *default_instance().rejectgameinvitationmessage_; #else @@ -20036,6 +21505,7 @@ inline const ::RejectGameInvitationMessage& PokerTHMessage::rejectgameinvitation inline ::RejectGameInvitationMessage* PokerTHMessage::mutable_rejectgameinvitationmessage() { set_has_rejectgameinvitationmessage(); if (rejectgameinvitationmessage_ == NULL) rejectgameinvitationmessage_ = new ::RejectGameInvitationMessage; + // @@protoc_insertion_point(field_mutable:PokerTHMessage.rejectGameInvitationMessage) return rejectgameinvitationmessage_; } inline ::RejectGameInvitationMessage* PokerTHMessage::release_rejectgameinvitationmessage() { @@ -20052,6 +21522,7 @@ inline void PokerTHMessage::set_allocated_rejectgameinvitationmessage(::RejectGa } else { clear_has_rejectgameinvitationmessage(); } + // @@protoc_insertion_point(field_set_allocated:PokerTHMessage.rejectGameInvitationMessage) } // optional .RejectInvNotifyMessage rejectInvNotifyMessage = 36; @@ -20069,6 +21540,7 @@ inline void PokerTHMessage::clear_rejectinvnotifymessage() { clear_has_rejectinvnotifymessage(); } inline const ::RejectInvNotifyMessage& PokerTHMessage::rejectinvnotifymessage() const { + // @@protoc_insertion_point(field_get:PokerTHMessage.rejectInvNotifyMessage) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return rejectinvnotifymessage_ != NULL ? *rejectinvnotifymessage_ : *default_instance().rejectinvnotifymessage_; #else @@ -20078,6 +21550,7 @@ inline const ::RejectInvNotifyMessage& PokerTHMessage::rejectinvnotifymessage() inline ::RejectInvNotifyMessage* PokerTHMessage::mutable_rejectinvnotifymessage() { set_has_rejectinvnotifymessage(); if (rejectinvnotifymessage_ == NULL) rejectinvnotifymessage_ = new ::RejectInvNotifyMessage; + // @@protoc_insertion_point(field_mutable:PokerTHMessage.rejectInvNotifyMessage) return rejectinvnotifymessage_; } inline ::RejectInvNotifyMessage* PokerTHMessage::release_rejectinvnotifymessage() { @@ -20094,6 +21567,7 @@ inline void PokerTHMessage::set_allocated_rejectinvnotifymessage(::RejectInvNoti } else { clear_has_rejectinvnotifymessage(); } + // @@protoc_insertion_point(field_set_allocated:PokerTHMessage.rejectInvNotifyMessage) } // optional .StartEventMessage startEventMessage = 37; @@ -20111,6 +21585,7 @@ inline void PokerTHMessage::clear_starteventmessage() { clear_has_starteventmessage(); } inline const ::StartEventMessage& PokerTHMessage::starteventmessage() const { + // @@protoc_insertion_point(field_get:PokerTHMessage.startEventMessage) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return starteventmessage_ != NULL ? *starteventmessage_ : *default_instance().starteventmessage_; #else @@ -20120,6 +21595,7 @@ inline const ::StartEventMessage& PokerTHMessage::starteventmessage() const { inline ::StartEventMessage* PokerTHMessage::mutable_starteventmessage() { set_has_starteventmessage(); if (starteventmessage_ == NULL) starteventmessage_ = new ::StartEventMessage; + // @@protoc_insertion_point(field_mutable:PokerTHMessage.startEventMessage) return starteventmessage_; } inline ::StartEventMessage* PokerTHMessage::release_starteventmessage() { @@ -20136,6 +21612,7 @@ inline void PokerTHMessage::set_allocated_starteventmessage(::StartEventMessage* } else { clear_has_starteventmessage(); } + // @@protoc_insertion_point(field_set_allocated:PokerTHMessage.startEventMessage) } // optional .StartEventAckMessage startEventAckMessage = 38; @@ -20153,6 +21630,7 @@ inline void PokerTHMessage::clear_starteventackmessage() { clear_has_starteventackmessage(); } inline const ::StartEventAckMessage& PokerTHMessage::starteventackmessage() const { + // @@protoc_insertion_point(field_get:PokerTHMessage.startEventAckMessage) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return starteventackmessage_ != NULL ? *starteventackmessage_ : *default_instance().starteventackmessage_; #else @@ -20162,6 +21640,7 @@ inline const ::StartEventAckMessage& PokerTHMessage::starteventackmessage() cons inline ::StartEventAckMessage* PokerTHMessage::mutable_starteventackmessage() { set_has_starteventackmessage(); if (starteventackmessage_ == NULL) starteventackmessage_ = new ::StartEventAckMessage; + // @@protoc_insertion_point(field_mutable:PokerTHMessage.startEventAckMessage) return starteventackmessage_; } inline ::StartEventAckMessage* PokerTHMessage::release_starteventackmessage() { @@ -20178,6 +21657,7 @@ inline void PokerTHMessage::set_allocated_starteventackmessage(::StartEventAckMe } else { clear_has_starteventackmessage(); } + // @@protoc_insertion_point(field_set_allocated:PokerTHMessage.startEventAckMessage) } // optional .GameStartInitialMessage gameStartInitialMessage = 39; @@ -20195,6 +21675,7 @@ inline void PokerTHMessage::clear_gamestartinitialmessage() { clear_has_gamestartinitialmessage(); } inline const ::GameStartInitialMessage& PokerTHMessage::gamestartinitialmessage() const { + // @@protoc_insertion_point(field_get:PokerTHMessage.gameStartInitialMessage) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return gamestartinitialmessage_ != NULL ? *gamestartinitialmessage_ : *default_instance().gamestartinitialmessage_; #else @@ -20204,6 +21685,7 @@ inline const ::GameStartInitialMessage& PokerTHMessage::gamestartinitialmessage( inline ::GameStartInitialMessage* PokerTHMessage::mutable_gamestartinitialmessage() { set_has_gamestartinitialmessage(); if (gamestartinitialmessage_ == NULL) gamestartinitialmessage_ = new ::GameStartInitialMessage; + // @@protoc_insertion_point(field_mutable:PokerTHMessage.gameStartInitialMessage) return gamestartinitialmessage_; } inline ::GameStartInitialMessage* PokerTHMessage::release_gamestartinitialmessage() { @@ -20220,6 +21702,7 @@ inline void PokerTHMessage::set_allocated_gamestartinitialmessage(::GameStartIni } else { clear_has_gamestartinitialmessage(); } + // @@protoc_insertion_point(field_set_allocated:PokerTHMessage.gameStartInitialMessage) } // optional .GameStartRejoinMessage gameStartRejoinMessage = 40; @@ -20237,6 +21720,7 @@ inline void PokerTHMessage::clear_gamestartrejoinmessage() { clear_has_gamestartrejoinmessage(); } inline const ::GameStartRejoinMessage& PokerTHMessage::gamestartrejoinmessage() const { + // @@protoc_insertion_point(field_get:PokerTHMessage.gameStartRejoinMessage) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return gamestartrejoinmessage_ != NULL ? *gamestartrejoinmessage_ : *default_instance().gamestartrejoinmessage_; #else @@ -20246,6 +21730,7 @@ inline const ::GameStartRejoinMessage& PokerTHMessage::gamestartrejoinmessage() inline ::GameStartRejoinMessage* PokerTHMessage::mutable_gamestartrejoinmessage() { set_has_gamestartrejoinmessage(); if (gamestartrejoinmessage_ == NULL) gamestartrejoinmessage_ = new ::GameStartRejoinMessage; + // @@protoc_insertion_point(field_mutable:PokerTHMessage.gameStartRejoinMessage) return gamestartrejoinmessage_; } inline ::GameStartRejoinMessage* PokerTHMessage::release_gamestartrejoinmessage() { @@ -20262,6 +21747,7 @@ inline void PokerTHMessage::set_allocated_gamestartrejoinmessage(::GameStartRejo } else { clear_has_gamestartrejoinmessage(); } + // @@protoc_insertion_point(field_set_allocated:PokerTHMessage.gameStartRejoinMessage) } // optional .HandStartMessage handStartMessage = 41; @@ -20279,6 +21765,7 @@ inline void PokerTHMessage::clear_handstartmessage() { clear_has_handstartmessage(); } inline const ::HandStartMessage& PokerTHMessage::handstartmessage() const { + // @@protoc_insertion_point(field_get:PokerTHMessage.handStartMessage) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return handstartmessage_ != NULL ? *handstartmessage_ : *default_instance().handstartmessage_; #else @@ -20288,6 +21775,7 @@ inline const ::HandStartMessage& PokerTHMessage::handstartmessage() const { inline ::HandStartMessage* PokerTHMessage::mutable_handstartmessage() { set_has_handstartmessage(); if (handstartmessage_ == NULL) handstartmessage_ = new ::HandStartMessage; + // @@protoc_insertion_point(field_mutable:PokerTHMessage.handStartMessage) return handstartmessage_; } inline ::HandStartMessage* PokerTHMessage::release_handstartmessage() { @@ -20304,6 +21792,7 @@ inline void PokerTHMessage::set_allocated_handstartmessage(::HandStartMessage* h } else { clear_has_handstartmessage(); } + // @@protoc_insertion_point(field_set_allocated:PokerTHMessage.handStartMessage) } // optional .PlayersTurnMessage playersTurnMessage = 42; @@ -20321,6 +21810,7 @@ inline void PokerTHMessage::clear_playersturnmessage() { clear_has_playersturnmessage(); } inline const ::PlayersTurnMessage& PokerTHMessage::playersturnmessage() const { + // @@protoc_insertion_point(field_get:PokerTHMessage.playersTurnMessage) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return playersturnmessage_ != NULL ? *playersturnmessage_ : *default_instance().playersturnmessage_; #else @@ -20330,6 +21820,7 @@ inline const ::PlayersTurnMessage& PokerTHMessage::playersturnmessage() const { inline ::PlayersTurnMessage* PokerTHMessage::mutable_playersturnmessage() { set_has_playersturnmessage(); if (playersturnmessage_ == NULL) playersturnmessage_ = new ::PlayersTurnMessage; + // @@protoc_insertion_point(field_mutable:PokerTHMessage.playersTurnMessage) return playersturnmessage_; } inline ::PlayersTurnMessage* PokerTHMessage::release_playersturnmessage() { @@ -20346,6 +21837,7 @@ inline void PokerTHMessage::set_allocated_playersturnmessage(::PlayersTurnMessag } else { clear_has_playersturnmessage(); } + // @@protoc_insertion_point(field_set_allocated:PokerTHMessage.playersTurnMessage) } // optional .MyActionRequestMessage myActionRequestMessage = 43; @@ -20363,6 +21855,7 @@ inline void PokerTHMessage::clear_myactionrequestmessage() { clear_has_myactionrequestmessage(); } inline const ::MyActionRequestMessage& PokerTHMessage::myactionrequestmessage() const { + // @@protoc_insertion_point(field_get:PokerTHMessage.myActionRequestMessage) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return myactionrequestmessage_ != NULL ? *myactionrequestmessage_ : *default_instance().myactionrequestmessage_; #else @@ -20372,6 +21865,7 @@ inline const ::MyActionRequestMessage& PokerTHMessage::myactionrequestmessage() inline ::MyActionRequestMessage* PokerTHMessage::mutable_myactionrequestmessage() { set_has_myactionrequestmessage(); if (myactionrequestmessage_ == NULL) myactionrequestmessage_ = new ::MyActionRequestMessage; + // @@protoc_insertion_point(field_mutable:PokerTHMessage.myActionRequestMessage) return myactionrequestmessage_; } inline ::MyActionRequestMessage* PokerTHMessage::release_myactionrequestmessage() { @@ -20388,6 +21882,7 @@ inline void PokerTHMessage::set_allocated_myactionrequestmessage(::MyActionReque } else { clear_has_myactionrequestmessage(); } + // @@protoc_insertion_point(field_set_allocated:PokerTHMessage.myActionRequestMessage) } // optional .YourActionRejectedMessage yourActionRejectedMessage = 44; @@ -20405,6 +21900,7 @@ inline void PokerTHMessage::clear_youractionrejectedmessage() { clear_has_youractionrejectedmessage(); } inline const ::YourActionRejectedMessage& PokerTHMessage::youractionrejectedmessage() const { + // @@protoc_insertion_point(field_get:PokerTHMessage.yourActionRejectedMessage) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return youractionrejectedmessage_ != NULL ? *youractionrejectedmessage_ : *default_instance().youractionrejectedmessage_; #else @@ -20414,6 +21910,7 @@ inline const ::YourActionRejectedMessage& PokerTHMessage::youractionrejectedmess inline ::YourActionRejectedMessage* PokerTHMessage::mutable_youractionrejectedmessage() { set_has_youractionrejectedmessage(); if (youractionrejectedmessage_ == NULL) youractionrejectedmessage_ = new ::YourActionRejectedMessage; + // @@protoc_insertion_point(field_mutable:PokerTHMessage.yourActionRejectedMessage) return youractionrejectedmessage_; } inline ::YourActionRejectedMessage* PokerTHMessage::release_youractionrejectedmessage() { @@ -20430,6 +21927,7 @@ inline void PokerTHMessage::set_allocated_youractionrejectedmessage(::YourAction } else { clear_has_youractionrejectedmessage(); } + // @@protoc_insertion_point(field_set_allocated:PokerTHMessage.yourActionRejectedMessage) } // optional .PlayersActionDoneMessage playersActionDoneMessage = 45; @@ -20447,6 +21945,7 @@ inline void PokerTHMessage::clear_playersactiondonemessage() { clear_has_playersactiondonemessage(); } inline const ::PlayersActionDoneMessage& PokerTHMessage::playersactiondonemessage() const { + // @@protoc_insertion_point(field_get:PokerTHMessage.playersActionDoneMessage) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return playersactiondonemessage_ != NULL ? *playersactiondonemessage_ : *default_instance().playersactiondonemessage_; #else @@ -20456,6 +21955,7 @@ inline const ::PlayersActionDoneMessage& PokerTHMessage::playersactiondonemessag inline ::PlayersActionDoneMessage* PokerTHMessage::mutable_playersactiondonemessage() { set_has_playersactiondonemessage(); if (playersactiondonemessage_ == NULL) playersactiondonemessage_ = new ::PlayersActionDoneMessage; + // @@protoc_insertion_point(field_mutable:PokerTHMessage.playersActionDoneMessage) return playersactiondonemessage_; } inline ::PlayersActionDoneMessage* PokerTHMessage::release_playersactiondonemessage() { @@ -20472,6 +21972,7 @@ inline void PokerTHMessage::set_allocated_playersactiondonemessage(::PlayersActi } else { clear_has_playersactiondonemessage(); } + // @@protoc_insertion_point(field_set_allocated:PokerTHMessage.playersActionDoneMessage) } // optional .DealFlopCardsMessage dealFlopCardsMessage = 46; @@ -20489,6 +21990,7 @@ inline void PokerTHMessage::clear_dealflopcardsmessage() { clear_has_dealflopcardsmessage(); } inline const ::DealFlopCardsMessage& PokerTHMessage::dealflopcardsmessage() const { + // @@protoc_insertion_point(field_get:PokerTHMessage.dealFlopCardsMessage) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return dealflopcardsmessage_ != NULL ? *dealflopcardsmessage_ : *default_instance().dealflopcardsmessage_; #else @@ -20498,6 +22000,7 @@ inline const ::DealFlopCardsMessage& PokerTHMessage::dealflopcardsmessage() cons inline ::DealFlopCardsMessage* PokerTHMessage::mutable_dealflopcardsmessage() { set_has_dealflopcardsmessage(); if (dealflopcardsmessage_ == NULL) dealflopcardsmessage_ = new ::DealFlopCardsMessage; + // @@protoc_insertion_point(field_mutable:PokerTHMessage.dealFlopCardsMessage) return dealflopcardsmessage_; } inline ::DealFlopCardsMessage* PokerTHMessage::release_dealflopcardsmessage() { @@ -20514,6 +22017,7 @@ inline void PokerTHMessage::set_allocated_dealflopcardsmessage(::DealFlopCardsMe } else { clear_has_dealflopcardsmessage(); } + // @@protoc_insertion_point(field_set_allocated:PokerTHMessage.dealFlopCardsMessage) } // optional .DealTurnCardMessage dealTurnCardMessage = 47; @@ -20531,6 +22035,7 @@ inline void PokerTHMessage::clear_dealturncardmessage() { clear_has_dealturncardmessage(); } inline const ::DealTurnCardMessage& PokerTHMessage::dealturncardmessage() const { + // @@protoc_insertion_point(field_get:PokerTHMessage.dealTurnCardMessage) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return dealturncardmessage_ != NULL ? *dealturncardmessage_ : *default_instance().dealturncardmessage_; #else @@ -20540,6 +22045,7 @@ inline const ::DealTurnCardMessage& PokerTHMessage::dealturncardmessage() const inline ::DealTurnCardMessage* PokerTHMessage::mutable_dealturncardmessage() { set_has_dealturncardmessage(); if (dealturncardmessage_ == NULL) dealturncardmessage_ = new ::DealTurnCardMessage; + // @@protoc_insertion_point(field_mutable:PokerTHMessage.dealTurnCardMessage) return dealturncardmessage_; } inline ::DealTurnCardMessage* PokerTHMessage::release_dealturncardmessage() { @@ -20556,6 +22062,7 @@ inline void PokerTHMessage::set_allocated_dealturncardmessage(::DealTurnCardMess } else { clear_has_dealturncardmessage(); } + // @@protoc_insertion_point(field_set_allocated:PokerTHMessage.dealTurnCardMessage) } // optional .DealRiverCardMessage dealRiverCardMessage = 48; @@ -20573,6 +22080,7 @@ inline void PokerTHMessage::clear_dealrivercardmessage() { clear_has_dealrivercardmessage(); } inline const ::DealRiverCardMessage& PokerTHMessage::dealrivercardmessage() const { + // @@protoc_insertion_point(field_get:PokerTHMessage.dealRiverCardMessage) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return dealrivercardmessage_ != NULL ? *dealrivercardmessage_ : *default_instance().dealrivercardmessage_; #else @@ -20582,6 +22090,7 @@ inline const ::DealRiverCardMessage& PokerTHMessage::dealrivercardmessage() cons inline ::DealRiverCardMessage* PokerTHMessage::mutable_dealrivercardmessage() { set_has_dealrivercardmessage(); if (dealrivercardmessage_ == NULL) dealrivercardmessage_ = new ::DealRiverCardMessage; + // @@protoc_insertion_point(field_mutable:PokerTHMessage.dealRiverCardMessage) return dealrivercardmessage_; } inline ::DealRiverCardMessage* PokerTHMessage::release_dealrivercardmessage() { @@ -20598,6 +22107,7 @@ inline void PokerTHMessage::set_allocated_dealrivercardmessage(::DealRiverCardMe } else { clear_has_dealrivercardmessage(); } + // @@protoc_insertion_point(field_set_allocated:PokerTHMessage.dealRiverCardMessage) } // optional .AllInShowCardsMessage allInShowCardsMessage = 49; @@ -20615,6 +22125,7 @@ inline void PokerTHMessage::clear_allinshowcardsmessage() { clear_has_allinshowcardsmessage(); } inline const ::AllInShowCardsMessage& PokerTHMessage::allinshowcardsmessage() const { + // @@protoc_insertion_point(field_get:PokerTHMessage.allInShowCardsMessage) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return allinshowcardsmessage_ != NULL ? *allinshowcardsmessage_ : *default_instance().allinshowcardsmessage_; #else @@ -20624,6 +22135,7 @@ inline const ::AllInShowCardsMessage& PokerTHMessage::allinshowcardsmessage() co inline ::AllInShowCardsMessage* PokerTHMessage::mutable_allinshowcardsmessage() { set_has_allinshowcardsmessage(); if (allinshowcardsmessage_ == NULL) allinshowcardsmessage_ = new ::AllInShowCardsMessage; + // @@protoc_insertion_point(field_mutable:PokerTHMessage.allInShowCardsMessage) return allinshowcardsmessage_; } inline ::AllInShowCardsMessage* PokerTHMessage::release_allinshowcardsmessage() { @@ -20640,6 +22152,7 @@ inline void PokerTHMessage::set_allocated_allinshowcardsmessage(::AllInShowCards } else { clear_has_allinshowcardsmessage(); } + // @@protoc_insertion_point(field_set_allocated:PokerTHMessage.allInShowCardsMessage) } // optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 50; @@ -20657,6 +22170,7 @@ inline void PokerTHMessage::clear_endofhandshowcardsmessage() { clear_has_endofhandshowcardsmessage(); } inline const ::EndOfHandShowCardsMessage& PokerTHMessage::endofhandshowcardsmessage() const { + // @@protoc_insertion_point(field_get:PokerTHMessage.endOfHandShowCardsMessage) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return endofhandshowcardsmessage_ != NULL ? *endofhandshowcardsmessage_ : *default_instance().endofhandshowcardsmessage_; #else @@ -20666,6 +22180,7 @@ inline const ::EndOfHandShowCardsMessage& PokerTHMessage::endofhandshowcardsmess inline ::EndOfHandShowCardsMessage* PokerTHMessage::mutable_endofhandshowcardsmessage() { set_has_endofhandshowcardsmessage(); if (endofhandshowcardsmessage_ == NULL) endofhandshowcardsmessage_ = new ::EndOfHandShowCardsMessage; + // @@protoc_insertion_point(field_mutable:PokerTHMessage.endOfHandShowCardsMessage) return endofhandshowcardsmessage_; } inline ::EndOfHandShowCardsMessage* PokerTHMessage::release_endofhandshowcardsmessage() { @@ -20682,6 +22197,7 @@ inline void PokerTHMessage::set_allocated_endofhandshowcardsmessage(::EndOfHandS } else { clear_has_endofhandshowcardsmessage(); } + // @@protoc_insertion_point(field_set_allocated:PokerTHMessage.endOfHandShowCardsMessage) } // optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 51; @@ -20699,6 +22215,7 @@ inline void PokerTHMessage::clear_endofhandhidecardsmessage() { clear_has_endofhandhidecardsmessage(); } inline const ::EndOfHandHideCardsMessage& PokerTHMessage::endofhandhidecardsmessage() const { + // @@protoc_insertion_point(field_get:PokerTHMessage.endOfHandHideCardsMessage) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return endofhandhidecardsmessage_ != NULL ? *endofhandhidecardsmessage_ : *default_instance().endofhandhidecardsmessage_; #else @@ -20708,6 +22225,7 @@ inline const ::EndOfHandHideCardsMessage& PokerTHMessage::endofhandhidecardsmess inline ::EndOfHandHideCardsMessage* PokerTHMessage::mutable_endofhandhidecardsmessage() { set_has_endofhandhidecardsmessage(); if (endofhandhidecardsmessage_ == NULL) endofhandhidecardsmessage_ = new ::EndOfHandHideCardsMessage; + // @@protoc_insertion_point(field_mutable:PokerTHMessage.endOfHandHideCardsMessage) return endofhandhidecardsmessage_; } inline ::EndOfHandHideCardsMessage* PokerTHMessage::release_endofhandhidecardsmessage() { @@ -20724,6 +22242,7 @@ inline void PokerTHMessage::set_allocated_endofhandhidecardsmessage(::EndOfHandH } else { clear_has_endofhandhidecardsmessage(); } + // @@protoc_insertion_point(field_set_allocated:PokerTHMessage.endOfHandHideCardsMessage) } // optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 52; @@ -20741,6 +22260,7 @@ inline void PokerTHMessage::clear_showmycardsrequestmessage() { clear_has_showmycardsrequestmessage(); } inline const ::ShowMyCardsRequestMessage& PokerTHMessage::showmycardsrequestmessage() const { + // @@protoc_insertion_point(field_get:PokerTHMessage.showMyCardsRequestMessage) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return showmycardsrequestmessage_ != NULL ? *showmycardsrequestmessage_ : *default_instance().showmycardsrequestmessage_; #else @@ -20750,6 +22270,7 @@ inline const ::ShowMyCardsRequestMessage& PokerTHMessage::showmycardsrequestmess inline ::ShowMyCardsRequestMessage* PokerTHMessage::mutable_showmycardsrequestmessage() { set_has_showmycardsrequestmessage(); if (showmycardsrequestmessage_ == NULL) showmycardsrequestmessage_ = new ::ShowMyCardsRequestMessage; + // @@protoc_insertion_point(field_mutable:PokerTHMessage.showMyCardsRequestMessage) return showmycardsrequestmessage_; } inline ::ShowMyCardsRequestMessage* PokerTHMessage::release_showmycardsrequestmessage() { @@ -20766,6 +22287,7 @@ inline void PokerTHMessage::set_allocated_showmycardsrequestmessage(::ShowMyCard } else { clear_has_showmycardsrequestmessage(); } + // @@protoc_insertion_point(field_set_allocated:PokerTHMessage.showMyCardsRequestMessage) } // optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 53; @@ -20783,6 +22305,7 @@ inline void PokerTHMessage::clear_afterhandshowcardsmessage() { clear_has_afterhandshowcardsmessage(); } inline const ::AfterHandShowCardsMessage& PokerTHMessage::afterhandshowcardsmessage() const { + // @@protoc_insertion_point(field_get:PokerTHMessage.afterHandShowCardsMessage) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return afterhandshowcardsmessage_ != NULL ? *afterhandshowcardsmessage_ : *default_instance().afterhandshowcardsmessage_; #else @@ -20792,6 +22315,7 @@ inline const ::AfterHandShowCardsMessage& PokerTHMessage::afterhandshowcardsmess inline ::AfterHandShowCardsMessage* PokerTHMessage::mutable_afterhandshowcardsmessage() { set_has_afterhandshowcardsmessage(); if (afterhandshowcardsmessage_ == NULL) afterhandshowcardsmessage_ = new ::AfterHandShowCardsMessage; + // @@protoc_insertion_point(field_mutable:PokerTHMessage.afterHandShowCardsMessage) return afterhandshowcardsmessage_; } inline ::AfterHandShowCardsMessage* PokerTHMessage::release_afterhandshowcardsmessage() { @@ -20808,6 +22332,7 @@ inline void PokerTHMessage::set_allocated_afterhandshowcardsmessage(::AfterHandS } else { clear_has_afterhandshowcardsmessage(); } + // @@protoc_insertion_point(field_set_allocated:PokerTHMessage.afterHandShowCardsMessage) } // optional .EndOfGameMessage endOfGameMessage = 54; @@ -20825,6 +22350,7 @@ inline void PokerTHMessage::clear_endofgamemessage() { clear_has_endofgamemessage(); } inline const ::EndOfGameMessage& PokerTHMessage::endofgamemessage() const { + // @@protoc_insertion_point(field_get:PokerTHMessage.endOfGameMessage) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return endofgamemessage_ != NULL ? *endofgamemessage_ : *default_instance().endofgamemessage_; #else @@ -20834,6 +22360,7 @@ inline const ::EndOfGameMessage& PokerTHMessage::endofgamemessage() const { inline ::EndOfGameMessage* PokerTHMessage::mutable_endofgamemessage() { set_has_endofgamemessage(); if (endofgamemessage_ == NULL) endofgamemessage_ = new ::EndOfGameMessage; + // @@protoc_insertion_point(field_mutable:PokerTHMessage.endOfGameMessage) return endofgamemessage_; } inline ::EndOfGameMessage* PokerTHMessage::release_endofgamemessage() { @@ -20850,6 +22377,7 @@ inline void PokerTHMessage::set_allocated_endofgamemessage(::EndOfGameMessage* e } else { clear_has_endofgamemessage(); } + // @@protoc_insertion_point(field_set_allocated:PokerTHMessage.endOfGameMessage) } // optional .PlayerIdChangedMessage playerIdChangedMessage = 55; @@ -20867,6 +22395,7 @@ inline void PokerTHMessage::clear_playeridchangedmessage() { clear_has_playeridchangedmessage(); } inline const ::PlayerIdChangedMessage& PokerTHMessage::playeridchangedmessage() const { + // @@protoc_insertion_point(field_get:PokerTHMessage.playerIdChangedMessage) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return playeridchangedmessage_ != NULL ? *playeridchangedmessage_ : *default_instance().playeridchangedmessage_; #else @@ -20876,6 +22405,7 @@ inline const ::PlayerIdChangedMessage& PokerTHMessage::playeridchangedmessage() inline ::PlayerIdChangedMessage* PokerTHMessage::mutable_playeridchangedmessage() { set_has_playeridchangedmessage(); if (playeridchangedmessage_ == NULL) playeridchangedmessage_ = new ::PlayerIdChangedMessage; + // @@protoc_insertion_point(field_mutable:PokerTHMessage.playerIdChangedMessage) return playeridchangedmessage_; } inline ::PlayerIdChangedMessage* PokerTHMessage::release_playeridchangedmessage() { @@ -20892,6 +22422,7 @@ inline void PokerTHMessage::set_allocated_playeridchangedmessage(::PlayerIdChang } else { clear_has_playeridchangedmessage(); } + // @@protoc_insertion_point(field_set_allocated:PokerTHMessage.playerIdChangedMessage) } // optional .AskKickPlayerMessage askKickPlayerMessage = 56; @@ -20909,6 +22440,7 @@ inline void PokerTHMessage::clear_askkickplayermessage() { clear_has_askkickplayermessage(); } inline const ::AskKickPlayerMessage& PokerTHMessage::askkickplayermessage() const { + // @@protoc_insertion_point(field_get:PokerTHMessage.askKickPlayerMessage) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return askkickplayermessage_ != NULL ? *askkickplayermessage_ : *default_instance().askkickplayermessage_; #else @@ -20918,6 +22450,7 @@ inline const ::AskKickPlayerMessage& PokerTHMessage::askkickplayermessage() cons inline ::AskKickPlayerMessage* PokerTHMessage::mutable_askkickplayermessage() { set_has_askkickplayermessage(); if (askkickplayermessage_ == NULL) askkickplayermessage_ = new ::AskKickPlayerMessage; + // @@protoc_insertion_point(field_mutable:PokerTHMessage.askKickPlayerMessage) return askkickplayermessage_; } inline ::AskKickPlayerMessage* PokerTHMessage::release_askkickplayermessage() { @@ -20934,6 +22467,7 @@ inline void PokerTHMessage::set_allocated_askkickplayermessage(::AskKickPlayerMe } else { clear_has_askkickplayermessage(); } + // @@protoc_insertion_point(field_set_allocated:PokerTHMessage.askKickPlayerMessage) } // optional .AskKickDeniedMessage askKickDeniedMessage = 57; @@ -20951,6 +22485,7 @@ inline void PokerTHMessage::clear_askkickdeniedmessage() { clear_has_askkickdeniedmessage(); } inline const ::AskKickDeniedMessage& PokerTHMessage::askkickdeniedmessage() const { + // @@protoc_insertion_point(field_get:PokerTHMessage.askKickDeniedMessage) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return askkickdeniedmessage_ != NULL ? *askkickdeniedmessage_ : *default_instance().askkickdeniedmessage_; #else @@ -20960,6 +22495,7 @@ inline const ::AskKickDeniedMessage& PokerTHMessage::askkickdeniedmessage() cons inline ::AskKickDeniedMessage* PokerTHMessage::mutable_askkickdeniedmessage() { set_has_askkickdeniedmessage(); if (askkickdeniedmessage_ == NULL) askkickdeniedmessage_ = new ::AskKickDeniedMessage; + // @@protoc_insertion_point(field_mutable:PokerTHMessage.askKickDeniedMessage) return askkickdeniedmessage_; } inline ::AskKickDeniedMessage* PokerTHMessage::release_askkickdeniedmessage() { @@ -20976,6 +22512,7 @@ inline void PokerTHMessage::set_allocated_askkickdeniedmessage(::AskKickDeniedMe } else { clear_has_askkickdeniedmessage(); } + // @@protoc_insertion_point(field_set_allocated:PokerTHMessage.askKickDeniedMessage) } // optional .StartKickPetitionMessage startKickPetitionMessage = 58; @@ -20993,6 +22530,7 @@ inline void PokerTHMessage::clear_startkickpetitionmessage() { clear_has_startkickpetitionmessage(); } inline const ::StartKickPetitionMessage& PokerTHMessage::startkickpetitionmessage() const { + // @@protoc_insertion_point(field_get:PokerTHMessage.startKickPetitionMessage) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return startkickpetitionmessage_ != NULL ? *startkickpetitionmessage_ : *default_instance().startkickpetitionmessage_; #else @@ -21002,6 +22540,7 @@ inline const ::StartKickPetitionMessage& PokerTHMessage::startkickpetitionmessag inline ::StartKickPetitionMessage* PokerTHMessage::mutable_startkickpetitionmessage() { set_has_startkickpetitionmessage(); if (startkickpetitionmessage_ == NULL) startkickpetitionmessage_ = new ::StartKickPetitionMessage; + // @@protoc_insertion_point(field_mutable:PokerTHMessage.startKickPetitionMessage) return startkickpetitionmessage_; } inline ::StartKickPetitionMessage* PokerTHMessage::release_startkickpetitionmessage() { @@ -21018,6 +22557,7 @@ inline void PokerTHMessage::set_allocated_startkickpetitionmessage(::StartKickPe } else { clear_has_startkickpetitionmessage(); } + // @@protoc_insertion_point(field_set_allocated:PokerTHMessage.startKickPetitionMessage) } // optional .VoteKickRequestMessage voteKickRequestMessage = 59; @@ -21035,6 +22575,7 @@ inline void PokerTHMessage::clear_votekickrequestmessage() { clear_has_votekickrequestmessage(); } inline const ::VoteKickRequestMessage& PokerTHMessage::votekickrequestmessage() const { + // @@protoc_insertion_point(field_get:PokerTHMessage.voteKickRequestMessage) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return votekickrequestmessage_ != NULL ? *votekickrequestmessage_ : *default_instance().votekickrequestmessage_; #else @@ -21044,6 +22585,7 @@ inline const ::VoteKickRequestMessage& PokerTHMessage::votekickrequestmessage() inline ::VoteKickRequestMessage* PokerTHMessage::mutable_votekickrequestmessage() { set_has_votekickrequestmessage(); if (votekickrequestmessage_ == NULL) votekickrequestmessage_ = new ::VoteKickRequestMessage; + // @@protoc_insertion_point(field_mutable:PokerTHMessage.voteKickRequestMessage) return votekickrequestmessage_; } inline ::VoteKickRequestMessage* PokerTHMessage::release_votekickrequestmessage() { @@ -21060,6 +22602,7 @@ inline void PokerTHMessage::set_allocated_votekickrequestmessage(::VoteKickReque } else { clear_has_votekickrequestmessage(); } + // @@protoc_insertion_point(field_set_allocated:PokerTHMessage.voteKickRequestMessage) } // optional .VoteKickReplyMessage voteKickReplyMessage = 60; @@ -21077,6 +22620,7 @@ inline void PokerTHMessage::clear_votekickreplymessage() { clear_has_votekickreplymessage(); } inline const ::VoteKickReplyMessage& PokerTHMessage::votekickreplymessage() const { + // @@protoc_insertion_point(field_get:PokerTHMessage.voteKickReplyMessage) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return votekickreplymessage_ != NULL ? *votekickreplymessage_ : *default_instance().votekickreplymessage_; #else @@ -21086,6 +22630,7 @@ inline const ::VoteKickReplyMessage& PokerTHMessage::votekickreplymessage() cons inline ::VoteKickReplyMessage* PokerTHMessage::mutable_votekickreplymessage() { set_has_votekickreplymessage(); if (votekickreplymessage_ == NULL) votekickreplymessage_ = new ::VoteKickReplyMessage; + // @@protoc_insertion_point(field_mutable:PokerTHMessage.voteKickReplyMessage) return votekickreplymessage_; } inline ::VoteKickReplyMessage* PokerTHMessage::release_votekickreplymessage() { @@ -21102,6 +22647,7 @@ inline void PokerTHMessage::set_allocated_votekickreplymessage(::VoteKickReplyMe } else { clear_has_votekickreplymessage(); } + // @@protoc_insertion_point(field_set_allocated:PokerTHMessage.voteKickReplyMessage) } // optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 61; @@ -21119,6 +22665,7 @@ inline void PokerTHMessage::clear_kickpetitionupdatemessage() { clear_has_kickpetitionupdatemessage(); } inline const ::KickPetitionUpdateMessage& PokerTHMessage::kickpetitionupdatemessage() const { + // @@protoc_insertion_point(field_get:PokerTHMessage.kickPetitionUpdateMessage) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return kickpetitionupdatemessage_ != NULL ? *kickpetitionupdatemessage_ : *default_instance().kickpetitionupdatemessage_; #else @@ -21128,6 +22675,7 @@ inline const ::KickPetitionUpdateMessage& PokerTHMessage::kickpetitionupdatemess inline ::KickPetitionUpdateMessage* PokerTHMessage::mutable_kickpetitionupdatemessage() { set_has_kickpetitionupdatemessage(); if (kickpetitionupdatemessage_ == NULL) kickpetitionupdatemessage_ = new ::KickPetitionUpdateMessage; + // @@protoc_insertion_point(field_mutable:PokerTHMessage.kickPetitionUpdateMessage) return kickpetitionupdatemessage_; } inline ::KickPetitionUpdateMessage* PokerTHMessage::release_kickpetitionupdatemessage() { @@ -21144,6 +22692,7 @@ inline void PokerTHMessage::set_allocated_kickpetitionupdatemessage(::KickPetiti } else { clear_has_kickpetitionupdatemessage(); } + // @@protoc_insertion_point(field_set_allocated:PokerTHMessage.kickPetitionUpdateMessage) } // optional .EndKickPetitionMessage endKickPetitionMessage = 62; @@ -21161,6 +22710,7 @@ inline void PokerTHMessage::clear_endkickpetitionmessage() { clear_has_endkickpetitionmessage(); } inline const ::EndKickPetitionMessage& PokerTHMessage::endkickpetitionmessage() const { + // @@protoc_insertion_point(field_get:PokerTHMessage.endKickPetitionMessage) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return endkickpetitionmessage_ != NULL ? *endkickpetitionmessage_ : *default_instance().endkickpetitionmessage_; #else @@ -21170,6 +22720,7 @@ inline const ::EndKickPetitionMessage& PokerTHMessage::endkickpetitionmessage() inline ::EndKickPetitionMessage* PokerTHMessage::mutable_endkickpetitionmessage() { set_has_endkickpetitionmessage(); if (endkickpetitionmessage_ == NULL) endkickpetitionmessage_ = new ::EndKickPetitionMessage; + // @@protoc_insertion_point(field_mutable:PokerTHMessage.endKickPetitionMessage) return endkickpetitionmessage_; } inline ::EndKickPetitionMessage* PokerTHMessage::release_endkickpetitionmessage() { @@ -21186,6 +22737,7 @@ inline void PokerTHMessage::set_allocated_endkickpetitionmessage(::EndKickPetiti } else { clear_has_endkickpetitionmessage(); } + // @@protoc_insertion_point(field_set_allocated:PokerTHMessage.endKickPetitionMessage) } // optional .StatisticsMessage statisticsMessage = 63; @@ -21203,6 +22755,7 @@ inline void PokerTHMessage::clear_statisticsmessage() { clear_has_statisticsmessage(); } inline const ::StatisticsMessage& PokerTHMessage::statisticsmessage() const { + // @@protoc_insertion_point(field_get:PokerTHMessage.statisticsMessage) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return statisticsmessage_ != NULL ? *statisticsmessage_ : *default_instance().statisticsmessage_; #else @@ -21212,6 +22765,7 @@ inline const ::StatisticsMessage& PokerTHMessage::statisticsmessage() const { inline ::StatisticsMessage* PokerTHMessage::mutable_statisticsmessage() { set_has_statisticsmessage(); if (statisticsmessage_ == NULL) statisticsmessage_ = new ::StatisticsMessage; + // @@protoc_insertion_point(field_mutable:PokerTHMessage.statisticsMessage) return statisticsmessage_; } inline ::StatisticsMessage* PokerTHMessage::release_statisticsmessage() { @@ -21228,6 +22782,7 @@ inline void PokerTHMessage::set_allocated_statisticsmessage(::StatisticsMessage* } else { clear_has_statisticsmessage(); } + // @@protoc_insertion_point(field_set_allocated:PokerTHMessage.statisticsMessage) } // optional .ChatRequestMessage chatRequestMessage = 64; @@ -21245,6 +22800,7 @@ inline void PokerTHMessage::clear_chatrequestmessage() { clear_has_chatrequestmessage(); } inline const ::ChatRequestMessage& PokerTHMessage::chatrequestmessage() const { + // @@protoc_insertion_point(field_get:PokerTHMessage.chatRequestMessage) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return chatrequestmessage_ != NULL ? *chatrequestmessage_ : *default_instance().chatrequestmessage_; #else @@ -21254,6 +22810,7 @@ inline const ::ChatRequestMessage& PokerTHMessage::chatrequestmessage() const { inline ::ChatRequestMessage* PokerTHMessage::mutable_chatrequestmessage() { set_has_chatrequestmessage(); if (chatrequestmessage_ == NULL) chatrequestmessage_ = new ::ChatRequestMessage; + // @@protoc_insertion_point(field_mutable:PokerTHMessage.chatRequestMessage) return chatrequestmessage_; } inline ::ChatRequestMessage* PokerTHMessage::release_chatrequestmessage() { @@ -21270,6 +22827,7 @@ inline void PokerTHMessage::set_allocated_chatrequestmessage(::ChatRequestMessag } else { clear_has_chatrequestmessage(); } + // @@protoc_insertion_point(field_set_allocated:PokerTHMessage.chatRequestMessage) } // optional .ChatMessage chatMessage = 65; @@ -21287,6 +22845,7 @@ inline void PokerTHMessage::clear_chatmessage() { clear_has_chatmessage(); } inline const ::ChatMessage& PokerTHMessage::chatmessage() const { + // @@protoc_insertion_point(field_get:PokerTHMessage.chatMessage) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return chatmessage_ != NULL ? *chatmessage_ : *default_instance().chatmessage_; #else @@ -21296,6 +22855,7 @@ inline const ::ChatMessage& PokerTHMessage::chatmessage() const { inline ::ChatMessage* PokerTHMessage::mutable_chatmessage() { set_has_chatmessage(); if (chatmessage_ == NULL) chatmessage_ = new ::ChatMessage; + // @@protoc_insertion_point(field_mutable:PokerTHMessage.chatMessage) return chatmessage_; } inline ::ChatMessage* PokerTHMessage::release_chatmessage() { @@ -21312,6 +22872,7 @@ inline void PokerTHMessage::set_allocated_chatmessage(::ChatMessage* chatmessage } else { clear_has_chatmessage(); } + // @@protoc_insertion_point(field_set_allocated:PokerTHMessage.chatMessage) } // optional .ChatRejectMessage chatRejectMessage = 66; @@ -21329,6 +22890,7 @@ inline void PokerTHMessage::clear_chatrejectmessage() { clear_has_chatrejectmessage(); } inline const ::ChatRejectMessage& PokerTHMessage::chatrejectmessage() const { + // @@protoc_insertion_point(field_get:PokerTHMessage.chatRejectMessage) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return chatrejectmessage_ != NULL ? *chatrejectmessage_ : *default_instance().chatrejectmessage_; #else @@ -21338,6 +22900,7 @@ inline const ::ChatRejectMessage& PokerTHMessage::chatrejectmessage() const { inline ::ChatRejectMessage* PokerTHMessage::mutable_chatrejectmessage() { set_has_chatrejectmessage(); if (chatrejectmessage_ == NULL) chatrejectmessage_ = new ::ChatRejectMessage; + // @@protoc_insertion_point(field_mutable:PokerTHMessage.chatRejectMessage) return chatrejectmessage_; } inline ::ChatRejectMessage* PokerTHMessage::release_chatrejectmessage() { @@ -21354,6 +22917,7 @@ inline void PokerTHMessage::set_allocated_chatrejectmessage(::ChatRejectMessage* } else { clear_has_chatrejectmessage(); } + // @@protoc_insertion_point(field_set_allocated:PokerTHMessage.chatRejectMessage) } // optional .DialogMessage dialogMessage = 67; @@ -21371,6 +22935,7 @@ inline void PokerTHMessage::clear_dialogmessage() { clear_has_dialogmessage(); } inline const ::DialogMessage& PokerTHMessage::dialogmessage() const { + // @@protoc_insertion_point(field_get:PokerTHMessage.dialogMessage) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return dialogmessage_ != NULL ? *dialogmessage_ : *default_instance().dialogmessage_; #else @@ -21380,6 +22945,7 @@ inline const ::DialogMessage& PokerTHMessage::dialogmessage() const { inline ::DialogMessage* PokerTHMessage::mutable_dialogmessage() { set_has_dialogmessage(); if (dialogmessage_ == NULL) dialogmessage_ = new ::DialogMessage; + // @@protoc_insertion_point(field_mutable:PokerTHMessage.dialogMessage) return dialogmessage_; } inline ::DialogMessage* PokerTHMessage::release_dialogmessage() { @@ -21396,6 +22962,7 @@ inline void PokerTHMessage::set_allocated_dialogmessage(::DialogMessage* dialogm } else { clear_has_dialogmessage(); } + // @@protoc_insertion_point(field_set_allocated:PokerTHMessage.dialogMessage) } // optional .TimeoutWarningMessage timeoutWarningMessage = 68; @@ -21413,6 +22980,7 @@ inline void PokerTHMessage::clear_timeoutwarningmessage() { clear_has_timeoutwarningmessage(); } inline const ::TimeoutWarningMessage& PokerTHMessage::timeoutwarningmessage() const { + // @@protoc_insertion_point(field_get:PokerTHMessage.timeoutWarningMessage) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return timeoutwarningmessage_ != NULL ? *timeoutwarningmessage_ : *default_instance().timeoutwarningmessage_; #else @@ -21422,6 +22990,7 @@ inline const ::TimeoutWarningMessage& PokerTHMessage::timeoutwarningmessage() co inline ::TimeoutWarningMessage* PokerTHMessage::mutable_timeoutwarningmessage() { set_has_timeoutwarningmessage(); if (timeoutwarningmessage_ == NULL) timeoutwarningmessage_ = new ::TimeoutWarningMessage; + // @@protoc_insertion_point(field_mutable:PokerTHMessage.timeoutWarningMessage) return timeoutwarningmessage_; } inline ::TimeoutWarningMessage* PokerTHMessage::release_timeoutwarningmessage() { @@ -21438,6 +23007,7 @@ inline void PokerTHMessage::set_allocated_timeoutwarningmessage(::TimeoutWarning } else { clear_has_timeoutwarningmessage(); } + // @@protoc_insertion_point(field_set_allocated:PokerTHMessage.timeoutWarningMessage) } // optional .ResetTimeoutMessage resetTimeoutMessage = 69; @@ -21455,6 +23025,7 @@ inline void PokerTHMessage::clear_resettimeoutmessage() { clear_has_resettimeoutmessage(); } inline const ::ResetTimeoutMessage& PokerTHMessage::resettimeoutmessage() const { + // @@protoc_insertion_point(field_get:PokerTHMessage.resetTimeoutMessage) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return resettimeoutmessage_ != NULL ? *resettimeoutmessage_ : *default_instance().resettimeoutmessage_; #else @@ -21464,6 +23035,7 @@ inline const ::ResetTimeoutMessage& PokerTHMessage::resettimeoutmessage() const inline ::ResetTimeoutMessage* PokerTHMessage::mutable_resettimeoutmessage() { set_has_resettimeoutmessage(); if (resettimeoutmessage_ == NULL) resettimeoutmessage_ = new ::ResetTimeoutMessage; + // @@protoc_insertion_point(field_mutable:PokerTHMessage.resetTimeoutMessage) return resettimeoutmessage_; } inline ::ResetTimeoutMessage* PokerTHMessage::release_resettimeoutmessage() { @@ -21480,6 +23052,7 @@ inline void PokerTHMessage::set_allocated_resettimeoutmessage(::ResetTimeoutMess } else { clear_has_resettimeoutmessage(); } + // @@protoc_insertion_point(field_set_allocated:PokerTHMessage.resetTimeoutMessage) } // optional .ReportAvatarMessage reportAvatarMessage = 70; @@ -21497,6 +23070,7 @@ inline void PokerTHMessage::clear_reportavatarmessage() { clear_has_reportavatarmessage(); } inline const ::ReportAvatarMessage& PokerTHMessage::reportavatarmessage() const { + // @@protoc_insertion_point(field_get:PokerTHMessage.reportAvatarMessage) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return reportavatarmessage_ != NULL ? *reportavatarmessage_ : *default_instance().reportavatarmessage_; #else @@ -21506,6 +23080,7 @@ inline const ::ReportAvatarMessage& PokerTHMessage::reportavatarmessage() const inline ::ReportAvatarMessage* PokerTHMessage::mutable_reportavatarmessage() { set_has_reportavatarmessage(); if (reportavatarmessage_ == NULL) reportavatarmessage_ = new ::ReportAvatarMessage; + // @@protoc_insertion_point(field_mutable:PokerTHMessage.reportAvatarMessage) return reportavatarmessage_; } inline ::ReportAvatarMessage* PokerTHMessage::release_reportavatarmessage() { @@ -21522,6 +23097,7 @@ inline void PokerTHMessage::set_allocated_reportavatarmessage(::ReportAvatarMess } else { clear_has_reportavatarmessage(); } + // @@protoc_insertion_point(field_set_allocated:PokerTHMessage.reportAvatarMessage) } // optional .ReportAvatarAckMessage reportAvatarAckMessage = 71; @@ -21539,6 +23115,7 @@ inline void PokerTHMessage::clear_reportavatarackmessage() { clear_has_reportavatarackmessage(); } inline const ::ReportAvatarAckMessage& PokerTHMessage::reportavatarackmessage() const { + // @@protoc_insertion_point(field_get:PokerTHMessage.reportAvatarAckMessage) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return reportavatarackmessage_ != NULL ? *reportavatarackmessage_ : *default_instance().reportavatarackmessage_; #else @@ -21548,6 +23125,7 @@ inline const ::ReportAvatarAckMessage& PokerTHMessage::reportavatarackmessage() inline ::ReportAvatarAckMessage* PokerTHMessage::mutable_reportavatarackmessage() { set_has_reportavatarackmessage(); if (reportavatarackmessage_ == NULL) reportavatarackmessage_ = new ::ReportAvatarAckMessage; + // @@protoc_insertion_point(field_mutable:PokerTHMessage.reportAvatarAckMessage) return reportavatarackmessage_; } inline ::ReportAvatarAckMessage* PokerTHMessage::release_reportavatarackmessage() { @@ -21564,6 +23142,7 @@ inline void PokerTHMessage::set_allocated_reportavatarackmessage(::ReportAvatarA } else { clear_has_reportavatarackmessage(); } + // @@protoc_insertion_point(field_set_allocated:PokerTHMessage.reportAvatarAckMessage) } // optional .ReportGameMessage reportGameMessage = 72; @@ -21581,6 +23160,7 @@ inline void PokerTHMessage::clear_reportgamemessage() { clear_has_reportgamemessage(); } inline const ::ReportGameMessage& PokerTHMessage::reportgamemessage() const { + // @@protoc_insertion_point(field_get:PokerTHMessage.reportGameMessage) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return reportgamemessage_ != NULL ? *reportgamemessage_ : *default_instance().reportgamemessage_; #else @@ -21590,6 +23170,7 @@ inline const ::ReportGameMessage& PokerTHMessage::reportgamemessage() const { inline ::ReportGameMessage* PokerTHMessage::mutable_reportgamemessage() { set_has_reportgamemessage(); if (reportgamemessage_ == NULL) reportgamemessage_ = new ::ReportGameMessage; + // @@protoc_insertion_point(field_mutable:PokerTHMessage.reportGameMessage) return reportgamemessage_; } inline ::ReportGameMessage* PokerTHMessage::release_reportgamemessage() { @@ -21606,6 +23187,7 @@ inline void PokerTHMessage::set_allocated_reportgamemessage(::ReportGameMessage* } else { clear_has_reportgamemessage(); } + // @@protoc_insertion_point(field_set_allocated:PokerTHMessage.reportGameMessage) } // optional .ReportGameAckMessage reportGameAckMessage = 73; @@ -21623,6 +23205,7 @@ inline void PokerTHMessage::clear_reportgameackmessage() { clear_has_reportgameackmessage(); } inline const ::ReportGameAckMessage& PokerTHMessage::reportgameackmessage() const { + // @@protoc_insertion_point(field_get:PokerTHMessage.reportGameAckMessage) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return reportgameackmessage_ != NULL ? *reportgameackmessage_ : *default_instance().reportgameackmessage_; #else @@ -21632,6 +23215,7 @@ inline const ::ReportGameAckMessage& PokerTHMessage::reportgameackmessage() cons inline ::ReportGameAckMessage* PokerTHMessage::mutable_reportgameackmessage() { set_has_reportgameackmessage(); if (reportgameackmessage_ == NULL) reportgameackmessage_ = new ::ReportGameAckMessage; + // @@protoc_insertion_point(field_mutable:PokerTHMessage.reportGameAckMessage) return reportgameackmessage_; } inline ::ReportGameAckMessage* PokerTHMessage::release_reportgameackmessage() { @@ -21648,6 +23232,7 @@ inline void PokerTHMessage::set_allocated_reportgameackmessage(::ReportGameAckMe } else { clear_has_reportgameackmessage(); } + // @@protoc_insertion_point(field_set_allocated:PokerTHMessage.reportGameAckMessage) } // optional .ErrorMessage errorMessage = 74; @@ -21665,6 +23250,7 @@ inline void PokerTHMessage::clear_errormessage() { clear_has_errormessage(); } inline const ::ErrorMessage& PokerTHMessage::errormessage() const { + // @@protoc_insertion_point(field_get:PokerTHMessage.errorMessage) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return errormessage_ != NULL ? *errormessage_ : *default_instance().errormessage_; #else @@ -21674,6 +23260,7 @@ inline const ::ErrorMessage& PokerTHMessage::errormessage() const { inline ::ErrorMessage* PokerTHMessage::mutable_errormessage() { set_has_errormessage(); if (errormessage_ == NULL) errormessage_ = new ::ErrorMessage; + // @@protoc_insertion_point(field_mutable:PokerTHMessage.errorMessage) return errormessage_; } inline ::ErrorMessage* PokerTHMessage::release_errormessage() { @@ -21690,6 +23277,7 @@ inline void PokerTHMessage::set_allocated_errormessage(::ErrorMessage* errormess } else { clear_has_errormessage(); } + // @@protoc_insertion_point(field_set_allocated:PokerTHMessage.errorMessage) } // optional .AdminRemoveGameMessage adminRemoveGameMessage = 75; @@ -21707,6 +23295,7 @@ inline void PokerTHMessage::clear_adminremovegamemessage() { clear_has_adminremovegamemessage(); } inline const ::AdminRemoveGameMessage& PokerTHMessage::adminremovegamemessage() const { + // @@protoc_insertion_point(field_get:PokerTHMessage.adminRemoveGameMessage) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return adminremovegamemessage_ != NULL ? *adminremovegamemessage_ : *default_instance().adminremovegamemessage_; #else @@ -21716,6 +23305,7 @@ inline const ::AdminRemoveGameMessage& PokerTHMessage::adminremovegamemessage() inline ::AdminRemoveGameMessage* PokerTHMessage::mutable_adminremovegamemessage() { set_has_adminremovegamemessage(); if (adminremovegamemessage_ == NULL) adminremovegamemessage_ = new ::AdminRemoveGameMessage; + // @@protoc_insertion_point(field_mutable:PokerTHMessage.adminRemoveGameMessage) return adminremovegamemessage_; } inline ::AdminRemoveGameMessage* PokerTHMessage::release_adminremovegamemessage() { @@ -21732,6 +23322,7 @@ inline void PokerTHMessage::set_allocated_adminremovegamemessage(::AdminRemoveGa } else { clear_has_adminremovegamemessage(); } + // @@protoc_insertion_point(field_set_allocated:PokerTHMessage.adminRemoveGameMessage) } // optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 76; @@ -21749,6 +23340,7 @@ inline void PokerTHMessage::clear_adminremovegameackmessage() { clear_has_adminremovegameackmessage(); } inline const ::AdminRemoveGameAckMessage& PokerTHMessage::adminremovegameackmessage() const { + // @@protoc_insertion_point(field_get:PokerTHMessage.adminRemoveGameAckMessage) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return adminremovegameackmessage_ != NULL ? *adminremovegameackmessage_ : *default_instance().adminremovegameackmessage_; #else @@ -21758,6 +23350,7 @@ inline const ::AdminRemoveGameAckMessage& PokerTHMessage::adminremovegameackmess inline ::AdminRemoveGameAckMessage* PokerTHMessage::mutable_adminremovegameackmessage() { set_has_adminremovegameackmessage(); if (adminremovegameackmessage_ == NULL) adminremovegameackmessage_ = new ::AdminRemoveGameAckMessage; + // @@protoc_insertion_point(field_mutable:PokerTHMessage.adminRemoveGameAckMessage) return adminremovegameackmessage_; } inline ::AdminRemoveGameAckMessage* PokerTHMessage::release_adminremovegameackmessage() { @@ -21774,6 +23367,7 @@ inline void PokerTHMessage::set_allocated_adminremovegameackmessage(::AdminRemov } else { clear_has_adminremovegameackmessage(); } + // @@protoc_insertion_point(field_set_allocated:PokerTHMessage.adminRemoveGameAckMessage) } // optional .AdminBanPlayerMessage adminBanPlayerMessage = 77; @@ -21791,6 +23385,7 @@ inline void PokerTHMessage::clear_adminbanplayermessage() { clear_has_adminbanplayermessage(); } inline const ::AdminBanPlayerMessage& PokerTHMessage::adminbanplayermessage() const { + // @@protoc_insertion_point(field_get:PokerTHMessage.adminBanPlayerMessage) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return adminbanplayermessage_ != NULL ? *adminbanplayermessage_ : *default_instance().adminbanplayermessage_; #else @@ -21800,6 +23395,7 @@ inline const ::AdminBanPlayerMessage& PokerTHMessage::adminbanplayermessage() co inline ::AdminBanPlayerMessage* PokerTHMessage::mutable_adminbanplayermessage() { set_has_adminbanplayermessage(); if (adminbanplayermessage_ == NULL) adminbanplayermessage_ = new ::AdminBanPlayerMessage; + // @@protoc_insertion_point(field_mutable:PokerTHMessage.adminBanPlayerMessage) return adminbanplayermessage_; } inline ::AdminBanPlayerMessage* PokerTHMessage::release_adminbanplayermessage() { @@ -21816,6 +23412,7 @@ inline void PokerTHMessage::set_allocated_adminbanplayermessage(::AdminBanPlayer } else { clear_has_adminbanplayermessage(); } + // @@protoc_insertion_point(field_set_allocated:PokerTHMessage.adminBanPlayerMessage) } // optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 78; @@ -21833,6 +23430,7 @@ inline void PokerTHMessage::clear_adminbanplayerackmessage() { clear_has_adminbanplayerackmessage(); } inline const ::AdminBanPlayerAckMessage& PokerTHMessage::adminbanplayerackmessage() const { + // @@protoc_insertion_point(field_get:PokerTHMessage.adminBanPlayerAckMessage) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return adminbanplayerackmessage_ != NULL ? *adminbanplayerackmessage_ : *default_instance().adminbanplayerackmessage_; #else @@ -21842,6 +23440,7 @@ inline const ::AdminBanPlayerAckMessage& PokerTHMessage::adminbanplayerackmessag inline ::AdminBanPlayerAckMessage* PokerTHMessage::mutable_adminbanplayerackmessage() { set_has_adminbanplayerackmessage(); if (adminbanplayerackmessage_ == NULL) adminbanplayerackmessage_ = new ::AdminBanPlayerAckMessage; + // @@protoc_insertion_point(field_mutable:PokerTHMessage.adminBanPlayerAckMessage) return adminbanplayerackmessage_; } inline ::AdminBanPlayerAckMessage* PokerTHMessage::release_adminbanplayerackmessage() { @@ -21858,6 +23457,7 @@ inline void PokerTHMessage::set_allocated_adminbanplayerackmessage(::AdminBanPla } else { clear_has_adminbanplayerackmessage(); } + // @@protoc_insertion_point(field_set_allocated:PokerTHMessage.adminBanPlayerAckMessage) } // optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 79; @@ -21875,6 +23475,7 @@ inline void PokerTHMessage::clear_gamelistspectatorjoinedmessage() { clear_has_gamelistspectatorjoinedmessage(); } inline const ::GameListSpectatorJoinedMessage& PokerTHMessage::gamelistspectatorjoinedmessage() const { + // @@protoc_insertion_point(field_get:PokerTHMessage.gameListSpectatorJoinedMessage) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return gamelistspectatorjoinedmessage_ != NULL ? *gamelistspectatorjoinedmessage_ : *default_instance().gamelistspectatorjoinedmessage_; #else @@ -21884,6 +23485,7 @@ inline const ::GameListSpectatorJoinedMessage& PokerTHMessage::gamelistspectator inline ::GameListSpectatorJoinedMessage* PokerTHMessage::mutable_gamelistspectatorjoinedmessage() { set_has_gamelistspectatorjoinedmessage(); if (gamelistspectatorjoinedmessage_ == NULL) gamelistspectatorjoinedmessage_ = new ::GameListSpectatorJoinedMessage; + // @@protoc_insertion_point(field_mutable:PokerTHMessage.gameListSpectatorJoinedMessage) return gamelistspectatorjoinedmessage_; } inline ::GameListSpectatorJoinedMessage* PokerTHMessage::release_gamelistspectatorjoinedmessage() { @@ -21900,6 +23502,7 @@ inline void PokerTHMessage::set_allocated_gamelistspectatorjoinedmessage(::GameL } else { clear_has_gamelistspectatorjoinedmessage(); } + // @@protoc_insertion_point(field_set_allocated:PokerTHMessage.gameListSpectatorJoinedMessage) } // optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 80; @@ -21917,6 +23520,7 @@ inline void PokerTHMessage::clear_gamelistspectatorleftmessage() { clear_has_gamelistspectatorleftmessage(); } inline const ::GameListSpectatorLeftMessage& PokerTHMessage::gamelistspectatorleftmessage() const { + // @@protoc_insertion_point(field_get:PokerTHMessage.gameListSpectatorLeftMessage) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return gamelistspectatorleftmessage_ != NULL ? *gamelistspectatorleftmessage_ : *default_instance().gamelistspectatorleftmessage_; #else @@ -21926,6 +23530,7 @@ inline const ::GameListSpectatorLeftMessage& PokerTHMessage::gamelistspectatorle inline ::GameListSpectatorLeftMessage* PokerTHMessage::mutable_gamelistspectatorleftmessage() { set_has_gamelistspectatorleftmessage(); if (gamelistspectatorleftmessage_ == NULL) gamelistspectatorleftmessage_ = new ::GameListSpectatorLeftMessage; + // @@protoc_insertion_point(field_mutable:PokerTHMessage.gameListSpectatorLeftMessage) return gamelistspectatorleftmessage_; } inline ::GameListSpectatorLeftMessage* PokerTHMessage::release_gamelistspectatorleftmessage() { @@ -21942,6 +23547,7 @@ inline void PokerTHMessage::set_allocated_gamelistspectatorleftmessage(::GameLis } else { clear_has_gamelistspectatorleftmessage(); } + // @@protoc_insertion_point(field_set_allocated:PokerTHMessage.gameListSpectatorLeftMessage) } // optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 81; @@ -21959,6 +23565,7 @@ inline void PokerTHMessage::clear_gamespectatorjoinedmessage() { clear_has_gamespectatorjoinedmessage(); } inline const ::GameSpectatorJoinedMessage& PokerTHMessage::gamespectatorjoinedmessage() const { + // @@protoc_insertion_point(field_get:PokerTHMessage.gameSpectatorJoinedMessage) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return gamespectatorjoinedmessage_ != NULL ? *gamespectatorjoinedmessage_ : *default_instance().gamespectatorjoinedmessage_; #else @@ -21968,6 +23575,7 @@ inline const ::GameSpectatorJoinedMessage& PokerTHMessage::gamespectatorjoinedme inline ::GameSpectatorJoinedMessage* PokerTHMessage::mutable_gamespectatorjoinedmessage() { set_has_gamespectatorjoinedmessage(); if (gamespectatorjoinedmessage_ == NULL) gamespectatorjoinedmessage_ = new ::GameSpectatorJoinedMessage; + // @@protoc_insertion_point(field_mutable:PokerTHMessage.gameSpectatorJoinedMessage) return gamespectatorjoinedmessage_; } inline ::GameSpectatorJoinedMessage* PokerTHMessage::release_gamespectatorjoinedmessage() { @@ -21984,6 +23592,7 @@ inline void PokerTHMessage::set_allocated_gamespectatorjoinedmessage(::GameSpect } else { clear_has_gamespectatorjoinedmessage(); } + // @@protoc_insertion_point(field_set_allocated:PokerTHMessage.gameSpectatorJoinedMessage) } // optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 82; @@ -22001,6 +23610,7 @@ inline void PokerTHMessage::clear_gamespectatorleftmessage() { clear_has_gamespectatorleftmessage(); } inline const ::GameSpectatorLeftMessage& PokerTHMessage::gamespectatorleftmessage() const { + // @@protoc_insertion_point(field_get:PokerTHMessage.gameSpectatorLeftMessage) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return gamespectatorleftmessage_ != NULL ? *gamespectatorleftmessage_ : *default_instance().gamespectatorleftmessage_; #else @@ -22010,6 +23620,7 @@ inline const ::GameSpectatorLeftMessage& PokerTHMessage::gamespectatorleftmessag inline ::GameSpectatorLeftMessage* PokerTHMessage::mutable_gamespectatorleftmessage() { set_has_gamespectatorleftmessage(); if (gamespectatorleftmessage_ == NULL) gamespectatorleftmessage_ = new ::GameSpectatorLeftMessage; + // @@protoc_insertion_point(field_mutable:PokerTHMessage.gameSpectatorLeftMessage) return gamespectatorleftmessage_; } inline ::GameSpectatorLeftMessage* PokerTHMessage::release_gamespectatorleftmessage() { @@ -22026,6 +23637,7 @@ inline void PokerTHMessage::set_allocated_gamespectatorleftmessage(::GameSpectat } else { clear_has_gamespectatorleftmessage(); } + // @@protoc_insertion_point(field_set_allocated:PokerTHMessage.gameSpectatorLeftMessage) } From f6fb0650e335329a327acc703227eafcbb60253d Mon Sep 17 00:00:00 2001 From: Kai Philipp Date: Fri, 17 Jun 2016 15:17:01 +0200 Subject: [PATCH 04/28] excluded some helper files --- .gitignore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index ba5e8183..6dd37f3c 100644 --- a/.gitignore +++ b/.gitignore @@ -14,4 +14,7 @@ obj/ pokerth qrc_pokerth.cpp uics/ +make.sh +gitpush_serverstuff_stable +pokerth_server From 935ec2ad926c6fa16201bb08283fd87edfb8b6ed Mon Sep 17 00:00:00 2001 From: Kai Philipp Date: Fri, 17 Jun 2016 18:02:10 +0200 Subject: [PATCH 05/28] limit guest logins - ip check done --- src/net/common/serverlobbythread.cpp | 11 +++++++++++ src/net/common/sessionmanager.cpp | 25 +++++++++++++++++++++++++ src/net/sessionmanager.h | 1 + 3 files changed, 37 insertions(+) diff --git a/src/net/common/serverlobbythread.cpp b/src/net/common/serverlobbythread.cpp index 96da31a1..913a6aeb 100644 --- a/src/net/common/serverlobbythread.cpp +++ b/src/net/common/serverlobbythread.cpp @@ -1006,6 +1006,12 @@ void ServerLobbyThread::HandleNetPacketInit(boost::shared_ptr session, const InitMessage &initMessage) { LOG_VERBOSE("Received init for session #" << session->GetId() << "."); + + // @XXX: debug tests + if(m_sessionManager.IsGuestConnectedMultiple(session->GetClientAddr())){ + LOG_ERROR("Guest with IP " << session->GetClientAddr() << " already connected! Should be declined!"); + } + // @XXX: end debug tests // Before any other processing, perform some denial of service and // brute force attack prevention by checking whether the user recently sent an @@ -1057,6 +1063,11 @@ ServerLobbyThread::HandleNetPacketInit(boost::shared_ptr session, c validGuest = true; noAuth = true; } + // @XXX: check if a guest session with same ip is already connected - decline if true + if(m_sessionManager.IsGuestConnectedMultiple(session->GetClientAddr())){ + LOG_ERROR("Guest with IP " << session->GetClientAddr() << " already connected! Decline!"); + validGuest = false; + } } if (!validGuest) { SessionError(session, ERR_NET_INVALID_PLAYER_NAME); diff --git a/src/net/common/sessionmanager.cpp b/src/net/common/sessionmanager.cpp index bd8b65eb..f2b417aa 100644 --- a/src/net/common/sessionmanager.cpp +++ b/src/net/common/sessionmanager.cpp @@ -247,6 +247,31 @@ SessionManager::IsClientAddressConnected(const std::string &clientAddress) const return retVal; } +bool +SessionManager::IsGuestConnectedMultiple(const std::string &clientAddress) const +{ + bool retVal = false; + boost::recursive_mutex::scoped_lock lock(m_sessionMapMutex); + + SessionMap::const_iterator i = m_sessionMap.begin(); + SessionMap::const_iterator end = m_sessionMap.end(); + + int j = 0; + + while (i != end) { + // @XXX: comparing PlayerRights does not yet work (e.g. throws an exception) + //if ((*i).second->GetClientAddr() == clientAddress && (*i).second->GetPlayerData()->GetRights() == PLAYER_RIGHTS_GUEST) { + if ((*i).second->GetClientAddr() == clientAddress) { + j++; + } + ++i; + } + if (j > 1) { + retVal = true; + } + return retVal; +} + void SessionManager::ForEach(boost::function)> func) { diff --git a/src/net/sessionmanager.h b/src/net/sessionmanager.h index 8e90a544..5eec02fc 100644 --- a/src/net/sessionmanager.h +++ b/src/net/sessionmanager.h @@ -64,6 +64,7 @@ public: bool IsPlayerConnected(const std::string &playerName) const; bool IsPlayerConnected(unsigned uniqueId) const; bool IsClientAddressConnected(const std::string &clientAddress) const; + bool IsGuestConnectedMultiple(const std::string &clientAddress) const; void ForEach(boost::function)> func); From cf280f0478cd0ec0bcbb7be5c971becb596817f0 Mon Sep 17 00:00:00 2001 From: Kai Philipp Date: Sat, 18 Jun 2016 15:42:38 +0200 Subject: [PATCH 06/28] limted guest login - guest playerrights check done --- src/net/common/serverlobbythread.cpp | 8 ++++---- src/net/common/sessionmanager.cpp | 19 +++++++++---------- 2 files changed, 13 insertions(+), 14 deletions(-) diff --git a/src/net/common/serverlobbythread.cpp b/src/net/common/serverlobbythread.cpp index 913a6aeb..5ad45628 100644 --- a/src/net/common/serverlobbythread.cpp +++ b/src/net/common/serverlobbythread.cpp @@ -1008,9 +1008,9 @@ ServerLobbyThread::HandleNetPacketInit(boost::shared_ptr session, c LOG_VERBOSE("Received init for session #" << session->GetId() << "."); // @XXX: debug tests - if(m_sessionManager.IsGuestConnectedMultiple(session->GetClientAddr())){ - LOG_ERROR("Guest with IP " << session->GetClientAddr() << " already connected! Should be declined!"); - } + //if(m_sessionManager.IsGuestConnectedMultiple(session->GetClientAddr())){ + // LOG_ERROR("Guest with IP " << session->GetClientAddr() << " already connected! Should be declined!"); + //} // @XXX: end debug tests // Before any other processing, perform some denial of service and @@ -1065,7 +1065,7 @@ ServerLobbyThread::HandleNetPacketInit(boost::shared_ptr session, c } // @XXX: check if a guest session with same ip is already connected - decline if true if(m_sessionManager.IsGuestConnectedMultiple(session->GetClientAddr())){ - LOG_ERROR("Guest with IP " << session->GetClientAddr() << " already connected! Decline!"); + //LOG_ERROR("Guest with IP " << session->GetClientAddr() << " already connected! Decline!"); validGuest = false; } } diff --git a/src/net/common/sessionmanager.cpp b/src/net/common/sessionmanager.cpp index f2b417aa..2dba6d39 100644 --- a/src/net/common/sessionmanager.cpp +++ b/src/net/common/sessionmanager.cpp @@ -256,19 +256,18 @@ SessionManager::IsGuestConnectedMultiple(const std::string &clientAddress) const SessionMap::const_iterator i = m_sessionMap.begin(); SessionMap::const_iterator end = m_sessionMap.end(); - int j = 0; - while (i != end) { - // @XXX: comparing PlayerRights does not yet work (e.g. throws an exception) - //if ((*i).second->GetClientAddr() == clientAddress && (*i).second->GetPlayerData()->GetRights() == PLAYER_RIGHTS_GUEST) { - if ((*i).second->GetClientAddr() == clientAddress) { - j++; - } + boost::shared_ptr tmpPlayer(i->second->GetPlayerData()); + // @XXX: productive: + //if(tmpPlayer && tmpPlayer->GetRights() == PLAYER_RIGHTS_GUEST && i->second->GetClientAddr() == clientAddress){ + // @XXX: debug: + // if(tmpPlayer && tmpPlayer->GetRights() == PLAYER_RIGHTS_NORMAL && i->second->GetClientAddr() == clientAddress){ + if(tmpPlayer && tmpPlayer->GetRights() == PLAYER_RIGHTS_GUEST && i->second->GetClientAddr() == clientAddress){ + retVal = true; + break; + } ++i; } - if (j > 1) { - retVal = true; - } return retVal; } From cd085bf8be8007810e2be184beddcd5ddc56c6a8 Mon Sep 17 00:00:00 2001 From: Kai Philipp Date: Sat, 18 Jun 2016 18:34:25 +0200 Subject: [PATCH 07/28] limit enter-leave game done. --- src/net/common/servergame.cpp | 33 ++++++++++++++++++++++++++++++ src/net/common/servergamestate.cpp | 14 +++++++++++++ src/net/servergame.h | 8 ++++++++ 3 files changed, 55 insertions(+) diff --git a/src/net/common/servergame.cpp b/src/net/common/servergame.cpp index bf7102b0..27967451 100644 --- a/src/net/common/servergame.cpp +++ b/src/net/common/servergame.cpp @@ -457,6 +457,8 @@ ServerGame::InternalEndGame() { StoreAndResetRanking(); m_game.reset(); + // @XXX: reset NumJoinsPerPlayerMap (if a game restarts, the number of joins will be set to 0 for each player) + ResetNumJoinsPerPlayer(); } void @@ -1164,3 +1166,34 @@ ServerGame::GetNextGameNum() return m_gameNum++; } +void +ServerGame::AddPlayerToNumJoinsPerPlayer(const std::string &playerName) +{ + if(m_numjoinsp.find(playerName) != m_numjoinsp.end()){ + m_numjoinsp[playerName] = m_numjoinsp[playerName] + 1; + }else{ + m_numjoinsp[playerName] = 1; + } +} + +int +ServerGame::GetNumJoinsPerPlayer(const std::string &playerName) +{ + int num = 0; + if(m_numjoinsp.find(playerName) != m_numjoinsp.end()){ + num = m_numjoinsp[playerName]; + } + return num; +} + +void +ServerGame::ResetNumJoinsPerPlayer() +{ + NumJoinsPerPlayerMap::const_iterator numj_i = m_numjoinsp.begin(); + NumJoinsPerPlayerMap::const_iterator numj_end = m_numjoinsp.end(); + + while (numj_i != numj_end) { + m_numjoinsp[numj_i->first] = 0; + ++numj_i; + } +} diff --git a/src/net/common/servergamestate.cpp b/src/net/common/servergamestate.cpp index 372e5165..b6930113 100644 --- a/src/net/common/servergamestate.cpp +++ b/src/net/common/servergamestate.cpp @@ -537,10 +537,24 @@ ServerGameStateInit::HandleNewPlayer(boost::shared_ptr server, boost { if (session && session->GetPlayerData()) { const GameData &tmpGameData = server->GetGameData(); + + // @XXX: debug + //LOG_ERROR("New Player: " << session->GetPlayerData()->GetName() << "."); + //server->AddPlayerToNumJoinsPerPlayer(session->GetPlayerData()->GetName()); + //LOG_ERROR("Num joins of " << session->GetPlayerData()->GetName() << " = " << server->GetNumJoinsPerPlayer(session->GetPlayerData()->GetName()) << "."); + + // @XXX: check if player joined the game more than 9 times - decline if > 9 + if (server->GetNumJoinsPerPlayer(session->GetPlayerData()->GetName()) > 9) { + server->MoveSessionToLobby(session, NTF_NET_REMOVED_GAME_FULL); + return; + } + // Check the number of players. if (server->GetCurNumberOfPlayers() >= tmpGameData.maxNumberOfPlayers) { server->MoveSessionToLobby(session, NTF_NET_REMOVED_GAME_FULL); } else { + // @XXX: add player to NumJoinsPerPlayerMap + server->AddPlayerToNumJoinsPerPlayer(session->GetPlayerData()->GetName()); AcceptNewSession(server, session, false); diff --git a/src/net/servergame.h b/src/net/servergame.h index 560c54aa..ab351b80 100644 --- a/src/net/servergame.h +++ b/src/net/servergame.h @@ -125,6 +125,10 @@ public: void KickPlayer(unsigned playerId); + void AddPlayerToNumJoinsPerPlayer(const std::string &playerName); + int GetNumJoinsPerPlayer(const std::string &playerName); + void ResetNumJoinsPerPlayer(); + protected: struct RankingData { @@ -191,6 +195,8 @@ protected: SessionManager &GetSessionManager(); ServerDBInterface &GetDatabase(); + typedef std::map NumJoinsPerPlayerMap; + private: ServerGame(const ServerGame &other); @@ -251,6 +257,8 @@ private: friend class ServerGameStateHand; friend class ServerGameStateWaitPlayerAction; friend class ServerGameStateWaitNextHand; + + NumJoinsPerPlayerMap m_numjoinsp; }; #endif From 1f9c066cbbadafa258dcd6b7f3c94245424aa99c Mon Sep 17 00:00:00 2001 From: Kai Philipp Date: Sun, 19 Jun 2016 17:33:48 +0200 Subject: [PATCH 08/28] limit enter-leave game - define GAME_NUM_JOINS_PER_PLAYER added --- src/net/common/servergamestate.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/net/common/servergamestate.cpp b/src/net/common/servergamestate.cpp index b6930113..80a90c7f 100644 --- a/src/net/common/servergamestate.cpp +++ b/src/net/common/servergamestate.cpp @@ -84,6 +84,8 @@ using namespace std; #define SERVER_LOOP_DELAY_MSEC 50 #define SERVER_MAX_NUM_SPECTATORS_PER_GAME 100 +#define GAME_NUM_JOINS_PER_PLAYER 6 + // Helper functions static void SendPlayerAction(ServerGame &server, boost::shared_ptr player) @@ -544,7 +546,7 @@ ServerGameStateInit::HandleNewPlayer(boost::shared_ptr server, boost //LOG_ERROR("Num joins of " << session->GetPlayerData()->GetName() << " = " << server->GetNumJoinsPerPlayer(session->GetPlayerData()->GetName()) << "."); // @XXX: check if player joined the game more than 9 times - decline if > 9 - if (server->GetNumJoinsPerPlayer(session->GetPlayerData()->GetName()) > 9) { + if (server->GetNumJoinsPerPlayer(session->GetPlayerData()->GetName()) > GAME_NUM_JOINS_PER_PLAYER) { server->MoveSessionToLobby(session, NTF_NET_REMOVED_GAME_FULL); return; } From 1c3edbaaaa29bf0dac7629fc61b136654a693a70 Mon Sep 17 00:00:00 2001 From: Kai Philipp Date: Sun, 19 Jun 2016 17:35:11 +0200 Subject: [PATCH 09/28] limit guest logins - temporary simulation of guest logins for testing purposes --- src/net/common/serverlobbythread.cpp | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/src/net/common/serverlobbythread.cpp b/src/net/common/serverlobbythread.cpp index 5ad45628..d3b54b13 100644 --- a/src/net/common/serverlobbythread.cpp +++ b/src/net/common/serverlobbythread.cpp @@ -1053,9 +1053,17 @@ ServerLobbyThread::HandleNetPacketInit(boost::shared_ptr session, c MD5Buf avatarMD5; bool noAuth = false; bool validGuest = false; - if (initMessage.login() == InitMessage::guestLogin) { + // @XXX: debug: unauthenticatedLogin - that is standard for dedicated server without auth! + // if (initMessage.login() == InitMessage::unauthenticatedLogin) { + // @XXX: productive + // if (initMessage.login() == InitMessage::guestLogin) { + if (initMessage.login() == InitMessage::unauthenticatedLogin) { playerName = initMessage.nickname(); + // @XXX: debug + LOG_ERROR("Guest " << playerName << " trys to connect."); // Verify guest player name. + // @XXX: debug - accept every playername - e.g. if(true){ + /* if (playerName.length() > sizeof(SERVER_GUEST_PLAYER_NAME - 1) && playerName.substr(0, sizeof(SERVER_GUEST_PLAYER_NAME) - 1) == SERVER_GUEST_PLAYER_NAME) { string guestId(playerName.substr(sizeof(SERVER_GUEST_PLAYER_NAME))); @@ -1063,10 +1071,15 @@ ServerLobbyThread::HandleNetPacketInit(boost::shared_ptr session, c validGuest = true; noAuth = true; } + */ + validGuest = true; // needed for guest login simulation + noAuth = true; // needed for guest login simulation + if(true){ // @XXX: check if a guest session with same ip is already connected - decline if true if(m_sessionManager.IsGuestConnectedMultiple(session->GetClientAddr())){ //LOG_ERROR("Guest with IP " << session->GetClientAddr() << " already connected! Decline!"); - validGuest = false; + SessionError(session, ERR_NET_PLAYER_BANNED); + return; } } if (!validGuest) { From 98ce4bd637ec6e63d21de1e4100e66da1b5a4c9a Mon Sep 17 00:00:00 2001 From: Kai Philipp Date: Tue, 21 Jun 2016 20:32:15 +0200 Subject: [PATCH 10/28] pokerth_server.pro - includepath fix - see issue https://github.com/pokerth/pokerth/issues/282 --- pokerth_server.pro | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pokerth_server.pro b/pokerth_server.pro index 706475f7..fd54b637 100644 --- a/pokerth_server.pro +++ b/pokerth_server.pro @@ -175,6 +175,8 @@ unix : !mac { LIBPATH += lib $${PREFIX}/lib /opt/gsasl/lib INCLUDEPATH += $${PREFIX}/include + # see issue https://github.com/pokerth/pokerth/issues/282 + INCLUDEPATH += $${PREFIX}/include/libircclient LIB_DIRS = $${PREFIX}/lib $${PREFIX}/lib64 $$system(qmake -query QT_INSTALL_LIBS) BOOST_FS = boost_filesystem boost_filesystem-mt BOOST_THREAD = boost_thread boost_thread-mt From c57a20482ad9a17eb02311b60ed3e357284fa33a Mon Sep 17 00:00:00 2001 From: Kai Philipp Date: Sat, 25 Jun 2016 13:45:58 +0200 Subject: [PATCH 11/28] Revert "limit guest logins - temporary simulation of guest logins for testing purposes" This reverts commit 1c3edbaaaa29bf0dac7629fc61b136654a693a70. --- src/net/common/serverlobbythread.cpp | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/src/net/common/serverlobbythread.cpp b/src/net/common/serverlobbythread.cpp index d3b54b13..5ad45628 100644 --- a/src/net/common/serverlobbythread.cpp +++ b/src/net/common/serverlobbythread.cpp @@ -1053,17 +1053,9 @@ ServerLobbyThread::HandleNetPacketInit(boost::shared_ptr session, c MD5Buf avatarMD5; bool noAuth = false; bool validGuest = false; - // @XXX: debug: unauthenticatedLogin - that is standard for dedicated server without auth! - // if (initMessage.login() == InitMessage::unauthenticatedLogin) { - // @XXX: productive - // if (initMessage.login() == InitMessage::guestLogin) { - if (initMessage.login() == InitMessage::unauthenticatedLogin) { + if (initMessage.login() == InitMessage::guestLogin) { playerName = initMessage.nickname(); - // @XXX: debug - LOG_ERROR("Guest " << playerName << " trys to connect."); // Verify guest player name. - // @XXX: debug - accept every playername - e.g. if(true){ - /* if (playerName.length() > sizeof(SERVER_GUEST_PLAYER_NAME - 1) && playerName.substr(0, sizeof(SERVER_GUEST_PLAYER_NAME) - 1) == SERVER_GUEST_PLAYER_NAME) { string guestId(playerName.substr(sizeof(SERVER_GUEST_PLAYER_NAME))); @@ -1071,15 +1063,10 @@ ServerLobbyThread::HandleNetPacketInit(boost::shared_ptr session, c validGuest = true; noAuth = true; } - */ - validGuest = true; // needed for guest login simulation - noAuth = true; // needed for guest login simulation - if(true){ // @XXX: check if a guest session with same ip is already connected - decline if true if(m_sessionManager.IsGuestConnectedMultiple(session->GetClientAddr())){ //LOG_ERROR("Guest with IP " << session->GetClientAddr() << " already connected! Decline!"); - SessionError(session, ERR_NET_PLAYER_BANNED); - return; + validGuest = false; } } if (!validGuest) { From 6092b3c30679f76ff606f7f9d168bd36586cea6d Mon Sep 17 00:00:00 2001 From: Kai Philipp Date: Tue, 28 Jun 2016 19:15:18 +0200 Subject: [PATCH 12/28] regenerated ProtoBuf.java to suit protobuf 2.6.1 --- tests/src/de/pokerth/protocol/ProtoBuf.java | 5006 ++++++++++++------- 1 file changed, 3095 insertions(+), 1911 deletions(-) diff --git a/tests/src/de/pokerth/protocol/ProtoBuf.java b/tests/src/de/pokerth/protocol/ProtoBuf.java index 02a11a46..91e40a82 100644 --- a/tests/src/de/pokerth/protocol/ProtoBuf.java +++ b/tests/src/de/pokerth/protocol/ProtoBuf.java @@ -461,10 +461,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required string gameName = 1; /** * required string gameName = 1; */ @@ -479,7 +479,6 @@ public final class ProtoBuf { com.google.protobuf.ByteString getGameNameBytes(); - // required .NetGameInfo.NetGameType netGameType = 2; /** * required .NetGameInfo.NetGameType netGameType = 2; */ @@ -489,7 +488,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.NetGameInfo.NetGameType getNetGameType(); - // required uint32 maxNumPlayers = 3; /** * required uint32 maxNumPlayers = 3; */ @@ -499,7 +497,6 @@ public final class ProtoBuf { */ int getMaxNumPlayers(); - // required .NetGameInfo.RaiseIntervalMode raiseIntervalMode = 4; /** * required .NetGameInfo.RaiseIntervalMode raiseIntervalMode = 4; */ @@ -509,7 +506,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.NetGameInfo.RaiseIntervalMode getRaiseIntervalMode(); - // optional uint32 raiseEveryHands = 5; /** * optional uint32 raiseEveryHands = 5; */ @@ -519,7 +515,6 @@ public final class ProtoBuf { */ int getRaiseEveryHands(); - // optional uint32 raiseEveryMinutes = 6; /** * optional uint32 raiseEveryMinutes = 6; */ @@ -529,7 +524,6 @@ public final class ProtoBuf { */ int getRaiseEveryMinutes(); - // required .NetGameInfo.EndRaiseMode endRaiseMode = 7; /** * required .NetGameInfo.EndRaiseMode endRaiseMode = 7; */ @@ -539,7 +533,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.NetGameInfo.EndRaiseMode getEndRaiseMode(); - // optional uint32 endRaiseSmallBlindValue = 8; /** * optional uint32 endRaiseSmallBlindValue = 8; */ @@ -549,7 +542,6 @@ public final class ProtoBuf { */ int getEndRaiseSmallBlindValue(); - // required uint32 proposedGuiSpeed = 9; /** * required uint32 proposedGuiSpeed = 9; */ @@ -559,7 +551,6 @@ public final class ProtoBuf { */ int getProposedGuiSpeed(); - // required uint32 delayBetweenHands = 10; /** * required uint32 delayBetweenHands = 10; * @@ -577,7 +568,6 @@ public final class ProtoBuf { */ int getDelayBetweenHands(); - // required uint32 playerActionTimeout = 11; /** * required uint32 playerActionTimeout = 11; * @@ -595,7 +585,6 @@ public final class ProtoBuf { */ int getPlayerActionTimeout(); - // required uint32 firstSmallBlind = 12; /** * required uint32 firstSmallBlind = 12; */ @@ -605,7 +594,6 @@ public final class ProtoBuf { */ int getFirstSmallBlind(); - // required uint32 startMoney = 13; /** * required uint32 startMoney = 13; */ @@ -615,7 +603,6 @@ public final class ProtoBuf { */ int getStartMoney(); - // repeated uint32 manualBlinds = 14 [packed = true]; /** * repeated uint32 manualBlinds = 14 [packed = true]; */ @@ -629,7 +616,6 @@ public final class ProtoBuf { */ int getManualBlinds(int index); - // optional bool allowSpectators = 15 [default = true]; /** * optional bool allowSpectators = 15 [default = true]; */ @@ -643,14 +629,15 @@ public final class ProtoBuf { * Protobuf type {@code NetGameInfo} */ public static final class NetGameInfo extends - com.google.protobuf.GeneratedMessageLite - implements NetGameInfoOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:NetGameInfo) + NetGameInfoOrBuilder { // Use NetGameInfo.newBuilder() to construct. private NetGameInfo(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private NetGameInfo(boolean noInit) {} + private NetGameInfo(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final NetGameInfo defaultInstance; public static NetGameInfo getDefaultInstance() { @@ -661,12 +648,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private NetGameInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -676,21 +669,25 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, 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(); de.pokerth.protocol.ProtoBuf.NetGameInfo.NetGameType value = de.pokerth.protocol.ProtoBuf.NetGameInfo.NetGameType.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFieldsCodedOutput.writeRawVarint32(tag); + unknownFieldsCodedOutput.writeRawVarint32(rawValue); + } else { bitField0_ |= 0x00000002; netGameType_ = value; } @@ -704,7 +701,10 @@ public final class ProtoBuf { case 32: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.NetGameInfo.RaiseIntervalMode value = de.pokerth.protocol.ProtoBuf.NetGameInfo.RaiseIntervalMode.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFieldsCodedOutput.writeRawVarint32(tag); + unknownFieldsCodedOutput.writeRawVarint32(rawValue); + } else { bitField0_ |= 0x00000008; raiseIntervalMode_ = value; } @@ -723,7 +723,10 @@ public final class ProtoBuf { case 56: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.NetGameInfo.EndRaiseMode value = de.pokerth.protocol.ProtoBuf.NetGameInfo.EndRaiseMode.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFieldsCodedOutput.writeRawVarint32(tag); + unknownFieldsCodedOutput.writeRawVarint32(rawValue); + } else { bitField0_ |= 0x00000040; endRaiseMode_ = value; } @@ -796,6 +799,13 @@ public final class ProtoBuf { if (((mutable_bitField0_ & 0x00002000) == 0x00002000)) { manualBlinds_ = java.util.Collections.unmodifiableList(manualBlinds_); } + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -1010,7 +1020,6 @@ public final class ProtoBuf { } private int bitField0_; - // required string gameName = 1; public static final int GAMENAME_FIELD_NUMBER = 1; private java.lang.Object gameName_; /** @@ -1053,7 +1062,6 @@ 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_; /** @@ -1069,7 +1077,6 @@ public final class ProtoBuf { return netGameType_; } - // required uint32 maxNumPlayers = 3; public static final int MAXNUMPLAYERS_FIELD_NUMBER = 3; private int maxNumPlayers_; /** @@ -1085,7 +1092,6 @@ public final class ProtoBuf { return maxNumPlayers_; } - // required .NetGameInfo.RaiseIntervalMode raiseIntervalMode = 4; public static final int RAISEINTERVALMODE_FIELD_NUMBER = 4; private de.pokerth.protocol.ProtoBuf.NetGameInfo.RaiseIntervalMode raiseIntervalMode_; /** @@ -1101,7 +1107,6 @@ public final class ProtoBuf { return raiseIntervalMode_; } - // optional uint32 raiseEveryHands = 5; public static final int RAISEEVERYHANDS_FIELD_NUMBER = 5; private int raiseEveryHands_; /** @@ -1117,7 +1122,6 @@ public final class ProtoBuf { return raiseEveryHands_; } - // optional uint32 raiseEveryMinutes = 6; public static final int RAISEEVERYMINUTES_FIELD_NUMBER = 6; private int raiseEveryMinutes_; /** @@ -1133,7 +1137,6 @@ public final class ProtoBuf { return raiseEveryMinutes_; } - // required .NetGameInfo.EndRaiseMode endRaiseMode = 7; public static final int ENDRAISEMODE_FIELD_NUMBER = 7; private de.pokerth.protocol.ProtoBuf.NetGameInfo.EndRaiseMode endRaiseMode_; /** @@ -1149,7 +1152,6 @@ public final class ProtoBuf { return endRaiseMode_; } - // optional uint32 endRaiseSmallBlindValue = 8; public static final int ENDRAISESMALLBLINDVALUE_FIELD_NUMBER = 8; private int endRaiseSmallBlindValue_; /** @@ -1165,7 +1167,6 @@ public final class ProtoBuf { return endRaiseSmallBlindValue_; } - // required uint32 proposedGuiSpeed = 9; public static final int PROPOSEDGUISPEED_FIELD_NUMBER = 9; private int proposedGuiSpeed_; /** @@ -1181,7 +1182,6 @@ public final class ProtoBuf { return proposedGuiSpeed_; } - // required uint32 delayBetweenHands = 10; public static final int DELAYBETWEENHANDS_FIELD_NUMBER = 10; private int delayBetweenHands_; /** @@ -1205,7 +1205,6 @@ public final class ProtoBuf { return delayBetweenHands_; } - // required uint32 playerActionTimeout = 11; public static final int PLAYERACTIONTIMEOUT_FIELD_NUMBER = 11; private int playerActionTimeout_; /** @@ -1229,7 +1228,6 @@ public final class ProtoBuf { return playerActionTimeout_; } - // required uint32 firstSmallBlind = 12; public static final int FIRSTSMALLBLIND_FIELD_NUMBER = 12; private int firstSmallBlind_; /** @@ -1245,7 +1243,6 @@ public final class ProtoBuf { return firstSmallBlind_; } - // required uint32 startMoney = 13; public static final int STARTMONEY_FIELD_NUMBER = 13; private int startMoney_; /** @@ -1261,7 +1258,6 @@ public final class ProtoBuf { return startMoney_; } - // repeated uint32 manualBlinds = 14 [packed = true]; public static final int MANUALBLINDS_FIELD_NUMBER = 14; private java.util.List manualBlinds_; /** @@ -1285,7 +1281,6 @@ public final class ProtoBuf { } private int manualBlindsMemoizedSerializedSize = -1; - // optional bool allowSpectators = 15 [default = true]; public static final int ALLOWSPECTATORS_FIELD_NUMBER = 15; private boolean allowSpectators_; /** @@ -1321,7 +1316,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -1419,6 +1415,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00002000) == 0x00002000)) { output.writeBool(15, allowSpectators_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -1497,6 +1494,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeBoolSize(15, allowSpectators_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -1574,7 +1572,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.NetGameInfo, Builder> - implements de.pokerth.protocol.ProtoBuf.NetGameInfoOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:NetGameInfo) + de.pokerth.protocol.ProtoBuf.NetGameInfoOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.NetGameInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -1762,6 +1762,8 @@ public final class ProtoBuf { if (other.hasAllowSpectators()) { setAllowSpectators(other.getAllowSpectators()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -1828,7 +1830,6 @@ public final class ProtoBuf { } private int bitField0_; - // required string gameName = 1; private java.lang.Object gameName_ = ""; /** * required string gameName = 1; @@ -1842,9 +1843,12 @@ public final class ProtoBuf { 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; @@ -1902,7 +1906,6 @@ public final class ProtoBuf { return this; } - // required .NetGameInfo.NetGameType netGameType = 2; private de.pokerth.protocol.ProtoBuf.NetGameInfo.NetGameType netGameType_ = de.pokerth.protocol.ProtoBuf.NetGameInfo.NetGameType.normalGame; /** * required .NetGameInfo.NetGameType netGameType = 2; @@ -1938,7 +1941,6 @@ public final class ProtoBuf { return this; } - // required uint32 maxNumPlayers = 3; private int maxNumPlayers_ ; /** * required uint32 maxNumPlayers = 3; @@ -1971,7 +1973,6 @@ public final class ProtoBuf { return this; } - // required .NetGameInfo.RaiseIntervalMode raiseIntervalMode = 4; private de.pokerth.protocol.ProtoBuf.NetGameInfo.RaiseIntervalMode raiseIntervalMode_ = de.pokerth.protocol.ProtoBuf.NetGameInfo.RaiseIntervalMode.raiseOnHandNum; /** * required .NetGameInfo.RaiseIntervalMode raiseIntervalMode = 4; @@ -2007,7 +2008,6 @@ public final class ProtoBuf { return this; } - // optional uint32 raiseEveryHands = 5; private int raiseEveryHands_ ; /** * optional uint32 raiseEveryHands = 5; @@ -2040,7 +2040,6 @@ public final class ProtoBuf { return this; } - // optional uint32 raiseEveryMinutes = 6; private int raiseEveryMinutes_ ; /** * optional uint32 raiseEveryMinutes = 6; @@ -2073,7 +2072,6 @@ public final class ProtoBuf { return this; } - // required .NetGameInfo.EndRaiseMode endRaiseMode = 7; private de.pokerth.protocol.ProtoBuf.NetGameInfo.EndRaiseMode endRaiseMode_ = de.pokerth.protocol.ProtoBuf.NetGameInfo.EndRaiseMode.doubleBlinds; /** * required .NetGameInfo.EndRaiseMode endRaiseMode = 7; @@ -2109,7 +2107,6 @@ public final class ProtoBuf { return this; } - // optional uint32 endRaiseSmallBlindValue = 8; private int endRaiseSmallBlindValue_ ; /** * optional uint32 endRaiseSmallBlindValue = 8; @@ -2142,7 +2139,6 @@ public final class ProtoBuf { return this; } - // required uint32 proposedGuiSpeed = 9; private int proposedGuiSpeed_ ; /** * required uint32 proposedGuiSpeed = 9; @@ -2175,7 +2171,6 @@ public final class ProtoBuf { return this; } - // required uint32 delayBetweenHands = 10; private int delayBetweenHands_ ; /** * required uint32 delayBetweenHands = 10; @@ -2224,7 +2219,6 @@ public final class ProtoBuf { return this; } - // required uint32 playerActionTimeout = 11; private int playerActionTimeout_ ; /** * required uint32 playerActionTimeout = 11; @@ -2273,7 +2267,6 @@ public final class ProtoBuf { return this; } - // required uint32 firstSmallBlind = 12; private int firstSmallBlind_ ; /** * required uint32 firstSmallBlind = 12; @@ -2306,7 +2299,6 @@ public final class ProtoBuf { return this; } - // required uint32 startMoney = 13; private int startMoney_ ; /** * required uint32 startMoney = 13; @@ -2339,7 +2331,6 @@ public final class ProtoBuf { return this; } - // repeated uint32 manualBlinds = 14 [packed = true]; private java.util.List manualBlinds_ = java.util.Collections.emptyList(); private void ensureManualBlindsIsMutable() { if (!((bitField0_ & 0x00002000) == 0x00002000)) { @@ -2391,7 +2382,8 @@ public final class ProtoBuf { public Builder addAllManualBlinds( java.lang.Iterable values) { ensureManualBlindsIsMutable(); - super.addAll(values, manualBlinds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, manualBlinds_); return this; } @@ -2405,7 +2397,6 @@ public final class ProtoBuf { return this; } - // optional bool allowSpectators = 15 [default = true]; private boolean allowSpectators_ = true; /** * optional bool allowSpectators = 15 [default = true]; @@ -2449,10 +2440,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 playerId = 1; /** * required uint32 playerId = 1; */ @@ -2462,7 +2453,6 @@ public final class ProtoBuf { */ int getPlayerId(); - // required uint32 resultCard1 = 2; /** * required uint32 resultCard1 = 2; */ @@ -2472,7 +2462,6 @@ public final class ProtoBuf { */ int getResultCard1(); - // required uint32 resultCard2 = 3; /** * required uint32 resultCard2 = 3; */ @@ -2482,7 +2471,6 @@ public final class ProtoBuf { */ int getResultCard2(); - // repeated uint32 bestHandPosition = 4 [packed = true]; /** * repeated uint32 bestHandPosition = 4 [packed = true]; */ @@ -2496,7 +2484,6 @@ public final class ProtoBuf { */ int getBestHandPosition(int index); - // required uint32 moneyWon = 5; /** * required uint32 moneyWon = 5; */ @@ -2506,7 +2493,6 @@ public final class ProtoBuf { */ int getMoneyWon(); - // required uint32 playerMoney = 6; /** * required uint32 playerMoney = 6; */ @@ -2516,7 +2502,6 @@ public final class ProtoBuf { */ int getPlayerMoney(); - // optional uint32 cardsValue = 7; /** * optional uint32 cardsValue = 7; */ @@ -2530,14 +2515,15 @@ public final class ProtoBuf { * Protobuf type {@code PlayerResult} */ public static final class PlayerResult extends - com.google.protobuf.GeneratedMessageLite - implements PlayerResultOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:PlayerResult) + PlayerResultOrBuilder { // Use PlayerResult.newBuilder() to construct. private PlayerResult(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private PlayerResult(boolean noInit) {} + private PlayerResult(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final PlayerResult defaultInstance; public static PlayerResult getDefaultInstance() { @@ -2548,12 +2534,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private PlayerResult( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -2563,7 +2555,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -2631,6 +2623,13 @@ public final class ProtoBuf { if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) { bestHandPosition_ = java.util.Collections.unmodifiableList(bestHandPosition_); } + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -2650,7 +2649,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 playerId = 1; public static final int PLAYERID_FIELD_NUMBER = 1; private int playerId_; /** @@ -2666,7 +2664,6 @@ public final class ProtoBuf { return playerId_; } - // required uint32 resultCard1 = 2; public static final int RESULTCARD1_FIELD_NUMBER = 2; private int resultCard1_; /** @@ -2682,7 +2679,6 @@ public final class ProtoBuf { return resultCard1_; } - // required uint32 resultCard2 = 3; public static final int RESULTCARD2_FIELD_NUMBER = 3; private int resultCard2_; /** @@ -2698,7 +2694,6 @@ public final class ProtoBuf { return resultCard2_; } - // repeated uint32 bestHandPosition = 4 [packed = true]; public static final int BESTHANDPOSITION_FIELD_NUMBER = 4; private java.util.List bestHandPosition_; /** @@ -2722,7 +2717,6 @@ public final class ProtoBuf { } private int bestHandPositionMemoizedSerializedSize = -1; - // required uint32 moneyWon = 5; public static final int MONEYWON_FIELD_NUMBER = 5; private int moneyWon_; /** @@ -2738,7 +2732,6 @@ public final class ProtoBuf { return moneyWon_; } - // required uint32 playerMoney = 6; public static final int PLAYERMONEY_FIELD_NUMBER = 6; private int playerMoney_; /** @@ -2754,7 +2747,6 @@ public final class ProtoBuf { return playerMoney_; } - // optional uint32 cardsValue = 7; public static final int CARDSVALUE_FIELD_NUMBER = 7; private int cardsValue_; /** @@ -2782,7 +2774,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -2836,6 +2829,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeUInt32(7, cardsValue_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -2882,6 +2876,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(7, cardsValue_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -2959,7 +2954,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.PlayerResult, Builder> - implements de.pokerth.protocol.ProtoBuf.PlayerResultOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:PlayerResult) + de.pokerth.protocol.ProtoBuf.PlayerResultOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.PlayerResult.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -3073,6 +3070,8 @@ public final class ProtoBuf { if (other.hasCardsValue()) { setCardsValue(other.getCardsValue()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -3119,7 +3118,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 playerId = 1; private int playerId_ ; /** * required uint32 playerId = 1; @@ -3152,7 +3150,6 @@ public final class ProtoBuf { return this; } - // required uint32 resultCard1 = 2; private int resultCard1_ ; /** * required uint32 resultCard1 = 2; @@ -3185,7 +3182,6 @@ public final class ProtoBuf { return this; } - // required uint32 resultCard2 = 3; private int resultCard2_ ; /** * required uint32 resultCard2 = 3; @@ -3218,7 +3214,6 @@ public final class ProtoBuf { return this; } - // repeated uint32 bestHandPosition = 4 [packed = true]; private java.util.List bestHandPosition_ = java.util.Collections.emptyList(); private void ensureBestHandPositionIsMutable() { if (!((bitField0_ & 0x00000008) == 0x00000008)) { @@ -3270,7 +3265,8 @@ public final class ProtoBuf { public Builder addAllBestHandPosition( java.lang.Iterable values) { ensureBestHandPositionIsMutable(); - super.addAll(values, bestHandPosition_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, bestHandPosition_); return this; } @@ -3284,7 +3280,6 @@ public final class ProtoBuf { return this; } - // required uint32 moneyWon = 5; private int moneyWon_ ; /** * required uint32 moneyWon = 5; @@ -3317,7 +3312,6 @@ public final class ProtoBuf { return this; } - // required uint32 playerMoney = 6; private int playerMoney_ ; /** * required uint32 playerMoney = 6; @@ -3350,7 +3344,6 @@ public final class ProtoBuf { return this; } - // optional uint32 cardsValue = 7; private int cardsValue_ ; /** * optional uint32 cardsValue = 7; @@ -3394,10 +3387,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required .AnnounceMessage.Version protocolVersion = 1; /** * required .AnnounceMessage.Version protocolVersion = 1; */ @@ -3407,7 +3400,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version getProtocolVersion(); - // required .AnnounceMessage.Version latestGameVersion = 2; /** * required .AnnounceMessage.Version latestGameVersion = 2; */ @@ -3417,7 +3409,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version getLatestGameVersion(); - // required uint32 latestBetaRevision = 3; /** * required uint32 latestBetaRevision = 3; */ @@ -3427,7 +3418,6 @@ public final class ProtoBuf { */ int getLatestBetaRevision(); - // required .AnnounceMessage.ServerType serverType = 4; /** * required .AnnounceMessage.ServerType serverType = 4; */ @@ -3437,7 +3427,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.AnnounceMessage.ServerType getServerType(); - // required uint32 numPlayersOnServer = 5; /** * required uint32 numPlayersOnServer = 5; */ @@ -3451,14 +3440,15 @@ public final class ProtoBuf { * Protobuf type {@code AnnounceMessage} */ public static final class AnnounceMessage extends - com.google.protobuf.GeneratedMessageLite - implements AnnounceMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:AnnounceMessage) + AnnounceMessageOrBuilder { // Use AnnounceMessage.newBuilder() to construct. private AnnounceMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private AnnounceMessage(boolean noInit) {} + private AnnounceMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final AnnounceMessage defaultInstance; public static AnnounceMessage getDefaultInstance() { @@ -3469,12 +3459,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private AnnounceMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -3484,7 +3480,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -3524,7 +3520,10 @@ public final class ProtoBuf { case 32: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.AnnounceMessage.ServerType value = de.pokerth.protocol.ProtoBuf.AnnounceMessage.ServerType.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFieldsCodedOutput.writeRawVarint32(tag); + unknownFieldsCodedOutput.writeRawVarint32(rawValue); + } else { bitField0_ |= 0x00000008; serverType_ = value; } @@ -3543,6 +3542,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -3626,10 +3632,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 majorVersion = 1; /** * required uint32 majorVersion = 1; */ @@ -3639,7 +3645,6 @@ public final class ProtoBuf { */ int getMajorVersion(); - // required uint32 minorVersion = 2; /** * required uint32 minorVersion = 2; */ @@ -3653,14 +3658,15 @@ public final class ProtoBuf { * Protobuf type {@code AnnounceMessage.Version} */ public static final class Version extends - com.google.protobuf.GeneratedMessageLite - implements VersionOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:AnnounceMessage.Version) + VersionOrBuilder { // Use Version.newBuilder() to construct. private Version(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private Version(boolean noInit) {} + private Version(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final Version defaultInstance; public static Version getDefaultInstance() { @@ -3671,12 +3677,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private Version( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -3686,7 +3698,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -3710,6 +3722,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -3729,7 +3748,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 majorVersion = 1; public static final int MAJORVERSION_FIELD_NUMBER = 1; private int majorVersion_; /** @@ -3745,7 +3763,6 @@ public final class ProtoBuf { return majorVersion_; } - // required uint32 minorVersion = 2; public static final int MINORVERSION_FIELD_NUMBER = 2; private int minorVersion_; /** @@ -3768,7 +3785,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -3791,6 +3809,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt32(2, minorVersion_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -3807,6 +3826,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, minorVersion_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -3884,7 +3904,9 @@ public final class ProtoBuf { 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 { + implements + // @@protoc_insertion_point(builder_implements:AnnounceMessage.Version) + de.pokerth.protocol.ProtoBuf.AnnounceMessage.VersionOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -3945,6 +3967,8 @@ public final class ProtoBuf { if (other.hasMinorVersion()) { setMinorVersion(other.getMinorVersion()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -3979,7 +4003,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 majorVersion = 1; private int majorVersion_ ; /** * required uint32 majorVersion = 1; @@ -4012,7 +4035,6 @@ public final class ProtoBuf { return this; } - // required uint32 minorVersion = 2; private int minorVersion_ ; /** * required uint32 minorVersion = 2; @@ -4057,7 +4079,6 @@ public final class ProtoBuf { } private int bitField0_; - // required .AnnounceMessage.Version protocolVersion = 1; public static final int PROTOCOLVERSION_FIELD_NUMBER = 1; private de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version protocolVersion_; /** @@ -4073,7 +4094,6 @@ public final class ProtoBuf { return protocolVersion_; } - // required .AnnounceMessage.Version latestGameVersion = 2; public static final int LATESTGAMEVERSION_FIELD_NUMBER = 2; private de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version latestGameVersion_; /** @@ -4089,7 +4109,6 @@ public final class ProtoBuf { return latestGameVersion_; } - // required uint32 latestBetaRevision = 3; public static final int LATESTBETAREVISION_FIELD_NUMBER = 3; private int latestBetaRevision_; /** @@ -4105,7 +4124,6 @@ public final class ProtoBuf { return latestBetaRevision_; } - // required .AnnounceMessage.ServerType serverType = 4; public static final int SERVERTYPE_FIELD_NUMBER = 4; private de.pokerth.protocol.ProtoBuf.AnnounceMessage.ServerType serverType_; /** @@ -4121,7 +4139,6 @@ public final class ProtoBuf { return serverType_; } - // required uint32 numPlayersOnServer = 5; public static final int NUMPLAYERSONSERVER_FIELD_NUMBER = 5; private int numPlayersOnServer_; /** @@ -4147,7 +4164,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -4199,6 +4217,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeUInt32(5, numPlayersOnServer_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -4227,6 +4246,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(5, numPlayersOnServer_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -4304,7 +4324,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.AnnounceMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.AnnounceMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:AnnounceMessage) + de.pokerth.protocol.ProtoBuf.AnnounceMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.AnnounceMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -4392,6 +4414,8 @@ public final class ProtoBuf { if (other.hasNumPlayersOnServer()) { setNumPlayersOnServer(other.getNumPlayersOnServer()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -4446,7 +4470,6 @@ 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(); /** * required .AnnounceMessage.Version protocolVersion = 1; @@ -4507,7 +4530,6 @@ public final class ProtoBuf { return this; } - // required .AnnounceMessage.Version latestGameVersion = 2; private de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version latestGameVersion_ = de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.getDefaultInstance(); /** * required .AnnounceMessage.Version latestGameVersion = 2; @@ -4568,7 +4590,6 @@ public final class ProtoBuf { return this; } - // required uint32 latestBetaRevision = 3; private int latestBetaRevision_ ; /** * required uint32 latestBetaRevision = 3; @@ -4601,7 +4622,6 @@ public final class ProtoBuf { return this; } - // required .AnnounceMessage.ServerType serverType = 4; private de.pokerth.protocol.ProtoBuf.AnnounceMessage.ServerType serverType_ = de.pokerth.protocol.ProtoBuf.AnnounceMessage.ServerType.serverTypeLAN; /** * required .AnnounceMessage.ServerType serverType = 4; @@ -4637,7 +4657,6 @@ public final class ProtoBuf { return this; } - // required uint32 numPlayersOnServer = 5; private int numPlayersOnServer_ ; /** * required uint32 numPlayersOnServer = 5; @@ -4681,10 +4700,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required .AnnounceMessage.Version requestedVersion = 1; /** * required .AnnounceMessage.Version requestedVersion = 1; */ @@ -4694,7 +4713,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version getRequestedVersion(); - // required uint32 buildId = 2; /** * required uint32 buildId = 2; */ @@ -4704,7 +4722,6 @@ public final class ProtoBuf { */ int getBuildId(); - // optional bytes myLastSessionId = 3; /** * optional bytes myLastSessionId = 3; */ @@ -4714,7 +4731,6 @@ public final class ProtoBuf { */ com.google.protobuf.ByteString getMyLastSessionId(); - // optional string authServerPassword = 4; /** * optional string authServerPassword = 4; */ @@ -4729,7 +4745,6 @@ public final class ProtoBuf { com.google.protobuf.ByteString getAuthServerPasswordBytes(); - // required .InitMessage.LoginType login = 5; /** * required .InitMessage.LoginType login = 5; */ @@ -4739,7 +4754,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.InitMessage.LoginType getLogin(); - // optional string nickName = 6; /** * optional string nickName = 6; * @@ -4766,7 +4780,6 @@ public final class ProtoBuf { com.google.protobuf.ByteString getNickNameBytes(); - // optional bytes clientUserData = 7; /** * optional bytes clientUserData = 7; * @@ -4784,7 +4797,6 @@ public final class ProtoBuf { */ com.google.protobuf.ByteString getClientUserData(); - // optional bytes avatarHash = 8; /** * optional bytes avatarHash = 8; * @@ -4810,14 +4822,15 @@ public final class ProtoBuf { * */ public static final class InitMessage extends - com.google.protobuf.GeneratedMessageLite - implements InitMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:InitMessage) + InitMessageOrBuilder { // Use InitMessage.newBuilder() to construct. private InitMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private InitMessage(boolean noInit) {} + private InitMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final InitMessage defaultInstance; public static InitMessage getDefaultInstance() { @@ -4828,12 +4841,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private InitMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -4843,7 +4862,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -4873,22 +4892,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(); de.pokerth.protocol.ProtoBuf.InitMessage.LoginType value = de.pokerth.protocol.ProtoBuf.InitMessage.LoginType.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFieldsCodedOutput.writeRawVarint32(tag); + unknownFieldsCodedOutput.writeRawVarint32(rawValue); + } else { bitField0_ |= 0x00000010; login_ = value; } break; } case 50: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000020; - nickName_ = input.readBytes(); + nickName_ = bs; break; } case 58: { @@ -4909,6 +4933,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -4993,7 +5024,6 @@ 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_; /** @@ -5009,7 +5039,6 @@ public final class ProtoBuf { return requestedVersion_; } - // required uint32 buildId = 2; public static final int BUILDID_FIELD_NUMBER = 2; private int buildId_; /** @@ -5025,7 +5054,6 @@ public final class ProtoBuf { return buildId_; } - // optional bytes myLastSessionId = 3; public static final int MYLASTSESSIONID_FIELD_NUMBER = 3; private com.google.protobuf.ByteString myLastSessionId_; /** @@ -5041,7 +5069,6 @@ public final class ProtoBuf { return myLastSessionId_; } - // optional string authServerPassword = 4; public static final int AUTHSERVERPASSWORD_FIELD_NUMBER = 4; private java.lang.Object authServerPassword_; /** @@ -5084,7 +5111,6 @@ 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_; /** @@ -5100,7 +5126,6 @@ public final class ProtoBuf { return login_; } - // optional string nickName = 6; public static final int NICKNAME_FIELD_NUMBER = 6; private java.lang.Object nickName_; /** @@ -5155,7 +5180,6 @@ public final class ProtoBuf { } } - // optional bytes clientUserData = 7; public static final int CLIENTUSERDATA_FIELD_NUMBER = 7; private com.google.protobuf.ByteString clientUserData_; /** @@ -5179,7 +5203,6 @@ public final class ProtoBuf { return clientUserData_; } - // optional bytes avatarHash = 8; public static final int AVATARHASH_FIELD_NUMBER = 8; private com.google.protobuf.ByteString avatarHash_; /** @@ -5216,7 +5239,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -5265,6 +5289,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000080) == 0x00000080)) { output.writeBytes(8, avatarHash_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -5305,6 +5330,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeBytesSize(8, avatarHash_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -5386,7 +5412,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.InitMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.InitMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:InitMessage) + de.pokerth.protocol.ProtoBuf.InitMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.InitMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -5505,6 +5533,8 @@ public final class ProtoBuf { if (other.hasAvatarHash()) { setAvatarHash(other.getAvatarHash()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -5547,7 +5577,6 @@ 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(); /** * required .AnnounceMessage.Version requestedVersion = 1; @@ -5608,7 +5637,6 @@ public final class ProtoBuf { return this; } - // required uint32 buildId = 2; private int buildId_ ; /** * required uint32 buildId = 2; @@ -5641,7 +5669,6 @@ public final class ProtoBuf { return this; } - // optional bytes myLastSessionId = 3; private com.google.protobuf.ByteString myLastSessionId_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes myLastSessionId = 3; @@ -5677,7 +5704,6 @@ public final class ProtoBuf { return this; } - // optional string authServerPassword = 4; private java.lang.Object authServerPassword_ = ""; /** * optional string authServerPassword = 4; @@ -5691,9 +5717,12 @@ public final class ProtoBuf { 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; @@ -5751,7 +5780,6 @@ public final class ProtoBuf { return this; } - // required .InitMessage.LoginType login = 5; private de.pokerth.protocol.ProtoBuf.InitMessage.LoginType login_ = de.pokerth.protocol.ProtoBuf.InitMessage.LoginType.guestLogin; /** * required .InitMessage.LoginType login = 5; @@ -5787,7 +5815,6 @@ public final class ProtoBuf { return this; } - // optional string nickName = 6; private java.lang.Object nickName_ = ""; /** * optional string nickName = 6; @@ -5809,9 +5836,12 @@ public final class ProtoBuf { 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; @@ -5885,7 +5915,6 @@ public final class ProtoBuf { return this; } - // optional bytes clientUserData = 7; private com.google.protobuf.ByteString clientUserData_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes clientUserData = 7; @@ -5937,7 +5966,6 @@ public final class ProtoBuf { return this; } - // optional bytes avatarHash = 8; private com.google.protobuf.ByteString avatarHash_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes avatarHash = 8; @@ -6000,10 +6028,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required bytes serverChallenge = 1; /** * required bytes serverChallenge = 1; */ @@ -6017,14 +6045,15 @@ public final class ProtoBuf { * Protobuf type {@code AuthServerChallengeMessage} */ public static final class AuthServerChallengeMessage extends - com.google.protobuf.GeneratedMessageLite - implements AuthServerChallengeMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:AuthServerChallengeMessage) + AuthServerChallengeMessageOrBuilder { // Use AuthServerChallengeMessage.newBuilder() to construct. private AuthServerChallengeMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private AuthServerChallengeMessage(boolean noInit) {} + private AuthServerChallengeMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final AuthServerChallengeMessage defaultInstance; public static AuthServerChallengeMessage getDefaultInstance() { @@ -6035,12 +6064,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private AuthServerChallengeMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -6050,7 +6085,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -6069,6 +6104,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -6088,7 +6130,6 @@ public final class ProtoBuf { } private int bitField0_; - // required bytes serverChallenge = 1; public static final int SERVERCHALLENGE_FIELD_NUMBER = 1; private com.google.protobuf.ByteString serverChallenge_; /** @@ -6110,7 +6151,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -6126,6 +6168,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, serverChallenge_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -6138,6 +6181,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, serverChallenge_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -6215,7 +6259,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:AuthServerChallengeMessage) + de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -6267,6 +6313,8 @@ public final class ProtoBuf { if (other.hasServerChallenge()) { setServerChallenge(other.getServerChallenge()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -6297,7 +6345,6 @@ 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; @@ -6344,10 +6391,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required bytes clientResponse = 1; /** * required bytes clientResponse = 1; */ @@ -6361,14 +6408,15 @@ public final class ProtoBuf { * Protobuf type {@code AuthClientResponseMessage} */ public static final class AuthClientResponseMessage extends - com.google.protobuf.GeneratedMessageLite - implements AuthClientResponseMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:AuthClientResponseMessage) + AuthClientResponseMessageOrBuilder { // Use AuthClientResponseMessage.newBuilder() to construct. private AuthClientResponseMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private AuthClientResponseMessage(boolean noInit) {} + private AuthClientResponseMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final AuthClientResponseMessage defaultInstance; public static AuthClientResponseMessage getDefaultInstance() { @@ -6379,12 +6427,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private AuthClientResponseMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -6394,7 +6448,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -6413,6 +6467,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -6432,7 +6493,6 @@ public final class ProtoBuf { } private int bitField0_; - // required bytes clientResponse = 1; public static final int CLIENTRESPONSE_FIELD_NUMBER = 1; private com.google.protobuf.ByteString clientResponse_; /** @@ -6454,7 +6514,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -6470,6 +6531,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, clientResponse_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -6482,6 +6544,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, clientResponse_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -6559,7 +6622,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.AuthClientResponseMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:AuthClientResponseMessage) + de.pokerth.protocol.ProtoBuf.AuthClientResponseMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -6611,6 +6676,8 @@ public final class ProtoBuf { if (other.hasClientResponse()) { setClientResponse(other.getClientResponse()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -6641,7 +6708,6 @@ 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; @@ -6688,10 +6754,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required bytes serverVerification = 1; /** * required bytes serverVerification = 1; */ @@ -6705,14 +6771,15 @@ public final class ProtoBuf { * Protobuf type {@code AuthServerVerificationMessage} */ public static final class AuthServerVerificationMessage extends - com.google.protobuf.GeneratedMessageLite - implements AuthServerVerificationMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:AuthServerVerificationMessage) + AuthServerVerificationMessageOrBuilder { // Use AuthServerVerificationMessage.newBuilder() to construct. private AuthServerVerificationMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private AuthServerVerificationMessage(boolean noInit) {} + private AuthServerVerificationMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final AuthServerVerificationMessage defaultInstance; public static AuthServerVerificationMessage getDefaultInstance() { @@ -6723,12 +6790,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private AuthServerVerificationMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -6738,7 +6811,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -6757,6 +6830,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -6776,7 +6856,6 @@ public final class ProtoBuf { } private int bitField0_; - // required bytes serverVerification = 1; public static final int SERVERVERIFICATION_FIELD_NUMBER = 1; private com.google.protobuf.ByteString serverVerification_; /** @@ -6798,7 +6877,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -6814,6 +6894,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, serverVerification_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -6826,6 +6907,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, serverVerification_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -6903,7 +6985,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:AuthServerVerificationMessage) + de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -6955,6 +7039,8 @@ public final class ProtoBuf { if (other.hasServerVerification()) { setServerVerification(other.getServerVerification()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -6985,7 +7071,6 @@ 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; @@ -7032,10 +7117,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required bytes yourSessionId = 1; /** * required bytes yourSessionId = 1; */ @@ -7045,7 +7130,6 @@ public final class ProtoBuf { */ com.google.protobuf.ByteString getYourSessionId(); - // required uint32 yourPlayerId = 2; /** * required uint32 yourPlayerId = 2; */ @@ -7055,7 +7139,6 @@ public final class ProtoBuf { */ int getYourPlayerId(); - // optional bytes yourAvatarHash = 3; /** * optional bytes yourAvatarHash = 3; */ @@ -7065,7 +7148,6 @@ public final class ProtoBuf { */ com.google.protobuf.ByteString getYourAvatarHash(); - // optional uint32 rejoinGameId = 4; /** * optional uint32 rejoinGameId = 4; */ @@ -7079,14 +7161,15 @@ public final class ProtoBuf { * Protobuf type {@code InitAckMessage} */ public static final class InitAckMessage extends - com.google.protobuf.GeneratedMessageLite - implements InitAckMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:InitAckMessage) + InitAckMessageOrBuilder { // Use InitAckMessage.newBuilder() to construct. private InitAckMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private InitAckMessage(boolean noInit) {} + private InitAckMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final InitAckMessage defaultInstance; public static InitAckMessage getDefaultInstance() { @@ -7097,12 +7180,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private InitAckMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -7112,7 +7201,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -7146,6 +7235,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -7165,7 +7261,6 @@ public final class ProtoBuf { } private int bitField0_; - // required bytes yourSessionId = 1; public static final int YOURSESSIONID_FIELD_NUMBER = 1; private com.google.protobuf.ByteString yourSessionId_; /** @@ -7181,7 +7276,6 @@ public final class ProtoBuf { return yourSessionId_; } - // required uint32 yourPlayerId = 2; public static final int YOURPLAYERID_FIELD_NUMBER = 2; private int yourPlayerId_; /** @@ -7197,7 +7291,6 @@ public final class ProtoBuf { return yourPlayerId_; } - // optional bytes yourAvatarHash = 3; public static final int YOURAVATARHASH_FIELD_NUMBER = 3; private com.google.protobuf.ByteString yourAvatarHash_; /** @@ -7213,7 +7306,6 @@ public final class ProtoBuf { return yourAvatarHash_; } - // optional uint32 rejoinGameId = 4; public static final int REJOINGAMEID_FIELD_NUMBER = 4; private int rejoinGameId_; /** @@ -7238,7 +7330,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -7267,6 +7360,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeUInt32(4, rejoinGameId_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -7291,6 +7385,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(4, rejoinGameId_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -7368,7 +7463,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.InitAckMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.InitAckMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:InitAckMessage) + de.pokerth.protocol.ProtoBuf.InitAckMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.InitAckMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -7447,6 +7544,8 @@ public final class ProtoBuf { if (other.hasRejoinGameId()) { setRejoinGameId(other.getRejoinGameId()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -7481,7 +7580,6 @@ 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; @@ -7517,7 +7615,6 @@ public final class ProtoBuf { return this; } - // required uint32 yourPlayerId = 2; private int yourPlayerId_ ; /** * required uint32 yourPlayerId = 2; @@ -7550,7 +7647,6 @@ public final class ProtoBuf { return this; } - // optional bytes yourAvatarHash = 3; private com.google.protobuf.ByteString yourAvatarHash_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes yourAvatarHash = 3; @@ -7586,7 +7682,6 @@ public final class ProtoBuf { return this; } - // optional uint32 rejoinGameId = 4; private int rejoinGameId_ ; /** * optional uint32 rejoinGameId = 4; @@ -7630,10 +7725,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 requestId = 1; /** * required uint32 requestId = 1; */ @@ -7643,7 +7738,6 @@ public final class ProtoBuf { */ int getRequestId(); - // required bytes avatarHash = 2; /** * required bytes avatarHash = 2; */ @@ -7657,14 +7751,15 @@ public final class ProtoBuf { * Protobuf type {@code AvatarRequestMessage} */ public static final class AvatarRequestMessage extends - com.google.protobuf.GeneratedMessageLite - implements AvatarRequestMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:AvatarRequestMessage) + AvatarRequestMessageOrBuilder { // Use AvatarRequestMessage.newBuilder() to construct. private AvatarRequestMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private AvatarRequestMessage(boolean noInit) {} + private AvatarRequestMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final AvatarRequestMessage defaultInstance; public static AvatarRequestMessage getDefaultInstance() { @@ -7675,12 +7770,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private AvatarRequestMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -7690,7 +7791,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -7714,6 +7815,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -7733,7 +7841,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 requestId = 1; public static final int REQUESTID_FIELD_NUMBER = 1; private int requestId_; /** @@ -7749,7 +7856,6 @@ public final class ProtoBuf { return requestId_; } - // required bytes avatarHash = 2; public static final int AVATARHASH_FIELD_NUMBER = 2; private com.google.protobuf.ByteString avatarHash_; /** @@ -7772,7 +7878,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -7795,6 +7902,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, avatarHash_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -7811,6 +7919,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, avatarHash_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -7888,7 +7997,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.AvatarRequestMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.AvatarRequestMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:AvatarRequestMessage) + de.pokerth.protocol.ProtoBuf.AvatarRequestMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.AvatarRequestMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -7949,6 +8060,8 @@ public final class ProtoBuf { if (other.hasAvatarHash()) { setAvatarHash(other.getAvatarHash()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -7983,7 +8096,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 requestId = 1; private int requestId_ ; /** * required uint32 requestId = 1; @@ -8016,7 +8128,6 @@ public final class ProtoBuf { return this; } - // required bytes avatarHash = 2; private com.google.protobuf.ByteString avatarHash_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes avatarHash = 2; @@ -8063,10 +8174,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 requestId = 1; /** * required uint32 requestId = 1; */ @@ -8076,7 +8187,6 @@ public final class ProtoBuf { */ int getRequestId(); - // required .NetAvatarType avatarType = 2; /** * required .NetAvatarType avatarType = 2; */ @@ -8086,7 +8196,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.NetAvatarType getAvatarType(); - // required uint32 avatarSize = 3; /** * required uint32 avatarSize = 3; */ @@ -8100,14 +8209,15 @@ public final class ProtoBuf { * Protobuf type {@code AvatarHeaderMessage} */ public static final class AvatarHeaderMessage extends - com.google.protobuf.GeneratedMessageLite - implements AvatarHeaderMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:AvatarHeaderMessage) + AvatarHeaderMessageOrBuilder { // Use AvatarHeaderMessage.newBuilder() to construct. private AvatarHeaderMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private AvatarHeaderMessage(boolean noInit) {} + private AvatarHeaderMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final AvatarHeaderMessage defaultInstance; public static AvatarHeaderMessage getDefaultInstance() { @@ -8118,12 +8228,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private AvatarHeaderMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -8133,7 +8249,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -8147,7 +8263,10 @@ public final class ProtoBuf { case 16: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.NetAvatarType value = de.pokerth.protocol.ProtoBuf.NetAvatarType.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFieldsCodedOutput.writeRawVarint32(tag); + unknownFieldsCodedOutput.writeRawVarint32(rawValue); + } else { bitField0_ |= 0x00000002; avatarType_ = value; } @@ -8166,6 +8285,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -8185,7 +8311,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 requestId = 1; public static final int REQUESTID_FIELD_NUMBER = 1; private int requestId_; /** @@ -8201,7 +8326,6 @@ public final class ProtoBuf { return requestId_; } - // required .NetAvatarType avatarType = 2; public static final int AVATARTYPE_FIELD_NUMBER = 2; private de.pokerth.protocol.ProtoBuf.NetAvatarType avatarType_; /** @@ -8217,7 +8341,6 @@ public final class ProtoBuf { return avatarType_; } - // required uint32 avatarSize = 3; public static final int AVATARSIZE_FIELD_NUMBER = 3; private int avatarSize_; /** @@ -8241,7 +8364,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -8271,6 +8395,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeUInt32(3, avatarSize_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -8291,6 +8416,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(3, avatarSize_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -8368,7 +8494,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.AvatarHeaderMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:AvatarHeaderMessage) + de.pokerth.protocol.ProtoBuf.AvatarHeaderMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -8438,6 +8566,8 @@ public final class ProtoBuf { if (other.hasAvatarSize()) { setAvatarSize(other.getAvatarSize()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -8476,7 +8606,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 requestId = 1; private int requestId_ ; /** * required uint32 requestId = 1; @@ -8509,7 +8638,6 @@ public final class ProtoBuf { return this; } - // required .NetAvatarType avatarType = 2; private de.pokerth.protocol.ProtoBuf.NetAvatarType avatarType_ = de.pokerth.protocol.ProtoBuf.NetAvatarType.netAvatarImagePng; /** * required .NetAvatarType avatarType = 2; @@ -8545,7 +8673,6 @@ public final class ProtoBuf { return this; } - // required uint32 avatarSize = 3; private int avatarSize_ ; /** * required uint32 avatarSize = 3; @@ -8589,10 +8716,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 requestId = 1; /** * required uint32 requestId = 1; */ @@ -8602,7 +8729,6 @@ public final class ProtoBuf { */ int getRequestId(); - // required bytes avatarBlock = 2; /** * required bytes avatarBlock = 2; */ @@ -8616,14 +8742,15 @@ public final class ProtoBuf { * Protobuf type {@code AvatarDataMessage} */ public static final class AvatarDataMessage extends - com.google.protobuf.GeneratedMessageLite - implements AvatarDataMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:AvatarDataMessage) + AvatarDataMessageOrBuilder { // Use AvatarDataMessage.newBuilder() to construct. private AvatarDataMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private AvatarDataMessage(boolean noInit) {} + private AvatarDataMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final AvatarDataMessage defaultInstance; public static AvatarDataMessage getDefaultInstance() { @@ -8634,12 +8761,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private AvatarDataMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -8649,7 +8782,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -8673,6 +8806,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -8692,7 +8832,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 requestId = 1; public static final int REQUESTID_FIELD_NUMBER = 1; private int requestId_; /** @@ -8708,7 +8847,6 @@ public final class ProtoBuf { return requestId_; } - // required bytes avatarBlock = 2; public static final int AVATARBLOCK_FIELD_NUMBER = 2; private com.google.protobuf.ByteString avatarBlock_; /** @@ -8731,7 +8869,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -8754,6 +8893,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, avatarBlock_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -8770,6 +8910,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, avatarBlock_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -8847,7 +8988,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.AvatarDataMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.AvatarDataMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:AvatarDataMessage) + de.pokerth.protocol.ProtoBuf.AvatarDataMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.AvatarDataMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -8908,6 +9051,8 @@ public final class ProtoBuf { if (other.hasAvatarBlock()) { setAvatarBlock(other.getAvatarBlock()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -8942,7 +9087,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 requestId = 1; private int requestId_ ; /** * required uint32 requestId = 1; @@ -8975,7 +9119,6 @@ public final class ProtoBuf { return this; } - // required bytes avatarBlock = 2; private com.google.protobuf.ByteString avatarBlock_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes avatarBlock = 2; @@ -9022,10 +9165,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 requestId = 1; /** * required uint32 requestId = 1; */ @@ -9039,14 +9182,15 @@ public final class ProtoBuf { * Protobuf type {@code AvatarEndMessage} */ public static final class AvatarEndMessage extends - com.google.protobuf.GeneratedMessageLite - implements AvatarEndMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:AvatarEndMessage) + AvatarEndMessageOrBuilder { // Use AvatarEndMessage.newBuilder() to construct. private AvatarEndMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private AvatarEndMessage(boolean noInit) {} + private AvatarEndMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final AvatarEndMessage defaultInstance; public static AvatarEndMessage getDefaultInstance() { @@ -9057,12 +9201,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private AvatarEndMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -9072,7 +9222,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -9091,6 +9241,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -9110,7 +9267,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 requestId = 1; public static final int REQUESTID_FIELD_NUMBER = 1; private int requestId_; /** @@ -9132,7 +9288,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -9148,6 +9305,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeUInt32(1, requestId_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -9160,6 +9318,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, requestId_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -9237,7 +9396,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.AvatarEndMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.AvatarEndMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:AvatarEndMessage) + de.pokerth.protocol.ProtoBuf.AvatarEndMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.AvatarEndMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -9289,6 +9450,8 @@ public final class ProtoBuf { if (other.hasRequestId()) { setRequestId(other.getRequestId()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -9319,7 +9482,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 requestId = 1; private int requestId_ ; /** * required uint32 requestId = 1; @@ -9363,10 +9525,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 requestId = 1; /** * required uint32 requestId = 1; */ @@ -9380,14 +9542,15 @@ public final class ProtoBuf { * Protobuf type {@code UnknownAvatarMessage} */ public static final class UnknownAvatarMessage extends - com.google.protobuf.GeneratedMessageLite - implements UnknownAvatarMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:UnknownAvatarMessage) + UnknownAvatarMessageOrBuilder { // Use UnknownAvatarMessage.newBuilder() to construct. private UnknownAvatarMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private UnknownAvatarMessage(boolean noInit) {} + private UnknownAvatarMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final UnknownAvatarMessage defaultInstance; public static UnknownAvatarMessage getDefaultInstance() { @@ -9398,12 +9561,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private UnknownAvatarMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -9413,7 +9582,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -9432,6 +9601,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -9451,7 +9627,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 requestId = 1; public static final int REQUESTID_FIELD_NUMBER = 1; private int requestId_; /** @@ -9473,7 +9648,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -9489,6 +9665,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeUInt32(1, requestId_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -9501,6 +9678,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, requestId_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -9578,7 +9756,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.UnknownAvatarMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:UnknownAvatarMessage) + de.pokerth.protocol.ProtoBuf.UnknownAvatarMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -9630,6 +9810,8 @@ public final class ProtoBuf { if (other.hasRequestId()) { setRequestId(other.getRequestId()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -9660,7 +9842,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 requestId = 1; private int requestId_ ; /** * required uint32 requestId = 1; @@ -9704,10 +9885,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 playerId = 1; /** * required uint32 playerId = 1; */ @@ -9717,7 +9898,6 @@ public final class ProtoBuf { */ int getPlayerId(); - // required .PlayerListMessage.PlayerListNotification playerListNotification = 2; /** * required .PlayerListMessage.PlayerListNotification playerListNotification = 2; */ @@ -9731,14 +9911,15 @@ public final class ProtoBuf { * Protobuf type {@code PlayerListMessage} */ public static final class PlayerListMessage extends - com.google.protobuf.GeneratedMessageLite - implements PlayerListMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:PlayerListMessage) + PlayerListMessageOrBuilder { // Use PlayerListMessage.newBuilder() to construct. private PlayerListMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private PlayerListMessage(boolean noInit) {} + private PlayerListMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final PlayerListMessage defaultInstance; public static PlayerListMessage getDefaultInstance() { @@ -9749,12 +9930,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private PlayerListMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -9764,7 +9951,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -9778,7 +9965,10 @@ public final class ProtoBuf { case 16: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.PlayerListMessage.PlayerListNotification value = de.pokerth.protocol.ProtoBuf.PlayerListMessage.PlayerListNotification.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFieldsCodedOutput.writeRawVarint32(tag); + unknownFieldsCodedOutput.writeRawVarint32(rawValue); + } else { bitField0_ |= 0x00000002; playerListNotification_ = value; } @@ -9792,6 +9982,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -9867,7 +10064,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 playerId = 1; public static final int PLAYERID_FIELD_NUMBER = 1; private int playerId_; /** @@ -9883,7 +10079,6 @@ public final class ProtoBuf { return playerId_; } - // required .PlayerListMessage.PlayerListNotification playerListNotification = 2; public static final int PLAYERLISTNOTIFICATION_FIELD_NUMBER = 2; private de.pokerth.protocol.ProtoBuf.PlayerListMessage.PlayerListNotification playerListNotification_; /** @@ -9906,7 +10101,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -9929,6 +10125,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeEnum(2, playerListNotification_.getNumber()); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -9945,6 +10142,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, playerListNotification_.getNumber()); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -10022,7 +10220,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.PlayerListMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.PlayerListMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:PlayerListMessage) + de.pokerth.protocol.ProtoBuf.PlayerListMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.PlayerListMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -10083,6 +10283,8 @@ public final class ProtoBuf { if (other.hasPlayerListNotification()) { setPlayerListNotification(other.getPlayerListNotification()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -10117,7 +10319,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 playerId = 1; private int playerId_ ; /** * required uint32 playerId = 1; @@ -10150,7 +10351,6 @@ public final class ProtoBuf { return this; } - // required .PlayerListMessage.PlayerListNotification playerListNotification = 2; private de.pokerth.protocol.ProtoBuf.PlayerListMessage.PlayerListNotification playerListNotification_ = de.pokerth.protocol.ProtoBuf.PlayerListMessage.PlayerListNotification.playerListNew; /** * required .PlayerListMessage.PlayerListNotification playerListNotification = 2; @@ -10197,10 +10397,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -10210,7 +10410,6 @@ public final class ProtoBuf { */ int getGameId(); - // required .NetGameMode gameMode = 2; /** * required .NetGameMode gameMode = 2; */ @@ -10220,7 +10419,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.NetGameMode getGameMode(); - // required bool isPrivate = 3; /** * required bool isPrivate = 3; */ @@ -10230,7 +10428,6 @@ public final class ProtoBuf { */ boolean getIsPrivate(); - // repeated uint32 playerIds = 4 [packed = true]; /** * repeated uint32 playerIds = 4 [packed = true]; */ @@ -10244,7 +10441,6 @@ public final class ProtoBuf { */ int getPlayerIds(int index); - // required uint32 adminPlayerId = 5; /** * required uint32 adminPlayerId = 5; */ @@ -10254,7 +10450,6 @@ public final class ProtoBuf { */ int getAdminPlayerId(); - // required .NetGameInfo gameInfo = 6; /** * required .NetGameInfo gameInfo = 6; */ @@ -10264,7 +10459,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.NetGameInfo getGameInfo(); - // repeated uint32 spectatorIds = 7 [packed = true]; /** * repeated uint32 spectatorIds = 7 [packed = true]; */ @@ -10282,14 +10476,15 @@ public final class ProtoBuf { * Protobuf type {@code GameListNewMessage} */ public static final class GameListNewMessage extends - com.google.protobuf.GeneratedMessageLite - implements GameListNewMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:GameListNewMessage) + GameListNewMessageOrBuilder { // Use GameListNewMessage.newBuilder() to construct. private GameListNewMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private GameListNewMessage(boolean noInit) {} + private GameListNewMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final GameListNewMessage defaultInstance; public static GameListNewMessage getDefaultInstance() { @@ -10300,12 +10495,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private GameListNewMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -10315,7 +10516,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -10329,7 +10530,10 @@ public final class ProtoBuf { case 16: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.NetGameMode value = de.pokerth.protocol.ProtoBuf.NetGameMode.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFieldsCodedOutput.writeRawVarint32(tag); + unknownFieldsCodedOutput.writeRawVarint32(rawValue); + } else { bitField0_ |= 0x00000002; gameMode_ = value; } @@ -10414,6 +10618,13 @@ public final class ProtoBuf { if (((mutable_bitField0_ & 0x00000040) == 0x00000040)) { spectatorIds_ = java.util.Collections.unmodifiableList(spectatorIds_); } + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -10433,7 +10644,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -10449,7 +10659,6 @@ public final class ProtoBuf { return gameId_; } - // required .NetGameMode gameMode = 2; public static final int GAMEMODE_FIELD_NUMBER = 2; private de.pokerth.protocol.ProtoBuf.NetGameMode gameMode_; /** @@ -10465,7 +10674,6 @@ public final class ProtoBuf { return gameMode_; } - // required bool isPrivate = 3; public static final int ISPRIVATE_FIELD_NUMBER = 3; private boolean isPrivate_; /** @@ -10481,7 +10689,6 @@ public final class ProtoBuf { return isPrivate_; } - // repeated uint32 playerIds = 4 [packed = true]; public static final int PLAYERIDS_FIELD_NUMBER = 4; private java.util.List playerIds_; /** @@ -10505,7 +10712,6 @@ public final class ProtoBuf { } private int playerIdsMemoizedSerializedSize = -1; - // required uint32 adminPlayerId = 5; public static final int ADMINPLAYERID_FIELD_NUMBER = 5; private int adminPlayerId_; /** @@ -10521,7 +10727,6 @@ public final class ProtoBuf { return adminPlayerId_; } - // required .NetGameInfo gameInfo = 6; public static final int GAMEINFO_FIELD_NUMBER = 6; private de.pokerth.protocol.ProtoBuf.NetGameInfo gameInfo_; /** @@ -10537,7 +10742,6 @@ public final class ProtoBuf { return gameInfo_; } - // repeated uint32 spectatorIds = 7 [packed = true]; public static final int SPECTATORIDS_FIELD_NUMBER = 7; private java.util.List spectatorIds_; /** @@ -10573,7 +10777,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -10635,6 +10840,7 @@ public final class ProtoBuf { for (int i = 0; i < spectatorIds_.size(); i++) { output.writeUInt32NoTag(spectatorIds_.get(i)); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -10691,6 +10897,7 @@ public final class ProtoBuf { } spectatorIdsMemoizedSerializedSize = dataSize; } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -10768,7 +10975,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.GameListNewMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.GameListNewMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:GameListNewMessage) + de.pokerth.protocol.ProtoBuf.GameListNewMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.GameListNewMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -10890,6 +11099,8 @@ public final class ProtoBuf { } } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -10940,7 +11151,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -10973,7 +11183,6 @@ public final class ProtoBuf { return this; } - // required .NetGameMode gameMode = 2; private de.pokerth.protocol.ProtoBuf.NetGameMode gameMode_ = de.pokerth.protocol.ProtoBuf.NetGameMode.netGameCreated; /** * required .NetGameMode gameMode = 2; @@ -11009,7 +11218,6 @@ public final class ProtoBuf { return this; } - // required bool isPrivate = 3; private boolean isPrivate_ ; /** * required bool isPrivate = 3; @@ -11042,7 +11250,6 @@ public final class ProtoBuf { return this; } - // repeated uint32 playerIds = 4 [packed = true]; private java.util.List playerIds_ = java.util.Collections.emptyList(); private void ensurePlayerIdsIsMutable() { if (!((bitField0_ & 0x00000008) == 0x00000008)) { @@ -11094,7 +11301,8 @@ public final class ProtoBuf { public Builder addAllPlayerIds( java.lang.Iterable values) { ensurePlayerIdsIsMutable(); - super.addAll(values, playerIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, playerIds_); return this; } @@ -11108,7 +11316,6 @@ public final class ProtoBuf { return this; } - // required uint32 adminPlayerId = 5; private int adminPlayerId_ ; /** * required uint32 adminPlayerId = 5; @@ -11141,7 +11348,6 @@ public final class ProtoBuf { return this; } - // required .NetGameInfo gameInfo = 6; private de.pokerth.protocol.ProtoBuf.NetGameInfo gameInfo_ = de.pokerth.protocol.ProtoBuf.NetGameInfo.getDefaultInstance(); /** * required .NetGameInfo gameInfo = 6; @@ -11202,7 +11408,6 @@ public final class ProtoBuf { return this; } - // repeated uint32 spectatorIds = 7 [packed = true]; private java.util.List spectatorIds_ = java.util.Collections.emptyList(); private void ensureSpectatorIdsIsMutable() { if (!((bitField0_ & 0x00000040) == 0x00000040)) { @@ -11254,7 +11459,8 @@ public final class ProtoBuf { public Builder addAllSpectatorIds( java.lang.Iterable values) { ensureSpectatorIdsIsMutable(); - super.addAll(values, spectatorIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, spectatorIds_); return this; } @@ -11279,10 +11485,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -11292,7 +11498,6 @@ public final class ProtoBuf { */ int getGameId(); - // required .NetGameMode gameMode = 2; /** * required .NetGameMode gameMode = 2; */ @@ -11306,14 +11511,15 @@ public final class ProtoBuf { * Protobuf type {@code GameListUpdateMessage} */ public static final class GameListUpdateMessage extends - com.google.protobuf.GeneratedMessageLite - implements GameListUpdateMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:GameListUpdateMessage) + GameListUpdateMessageOrBuilder { // Use GameListUpdateMessage.newBuilder() to construct. private GameListUpdateMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private GameListUpdateMessage(boolean noInit) {} + private GameListUpdateMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final GameListUpdateMessage defaultInstance; public static GameListUpdateMessage getDefaultInstance() { @@ -11324,12 +11530,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private GameListUpdateMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -11339,7 +11551,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -11353,7 +11565,10 @@ public final class ProtoBuf { case 16: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.NetGameMode value = de.pokerth.protocol.ProtoBuf.NetGameMode.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFieldsCodedOutput.writeRawVarint32(tag); + unknownFieldsCodedOutput.writeRawVarint32(rawValue); + } else { bitField0_ |= 0x00000002; gameMode_ = value; } @@ -11367,6 +11582,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -11386,7 +11608,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -11402,7 +11623,6 @@ public final class ProtoBuf { return gameId_; } - // required .NetGameMode gameMode = 2; public static final int GAMEMODE_FIELD_NUMBER = 2; private de.pokerth.protocol.ProtoBuf.NetGameMode gameMode_; /** @@ -11425,7 +11645,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -11448,6 +11669,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeEnum(2, gameMode_.getNumber()); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -11464,6 +11686,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, gameMode_.getNumber()); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -11541,7 +11764,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.GameListUpdateMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.GameListUpdateMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:GameListUpdateMessage) + de.pokerth.protocol.ProtoBuf.GameListUpdateMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.GameListUpdateMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -11602,6 +11827,8 @@ public final class ProtoBuf { if (other.hasGameMode()) { setGameMode(other.getGameMode()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -11636,7 +11863,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -11669,7 +11895,6 @@ public final class ProtoBuf { return this; } - // required .NetGameMode gameMode = 2; private de.pokerth.protocol.ProtoBuf.NetGameMode gameMode_ = de.pokerth.protocol.ProtoBuf.NetGameMode.netGameCreated; /** * required .NetGameMode gameMode = 2; @@ -11716,10 +11941,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -11729,7 +11954,6 @@ public final class ProtoBuf { */ int getGameId(); - // required uint32 playerId = 2; /** * required uint32 playerId = 2; */ @@ -11743,14 +11967,15 @@ public final class ProtoBuf { * Protobuf type {@code GameListPlayerJoinedMessage} */ public static final class GameListPlayerJoinedMessage extends - com.google.protobuf.GeneratedMessageLite - implements GameListPlayerJoinedMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:GameListPlayerJoinedMessage) + GameListPlayerJoinedMessageOrBuilder { // Use GameListPlayerJoinedMessage.newBuilder() to construct. private GameListPlayerJoinedMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private GameListPlayerJoinedMessage(boolean noInit) {} + private GameListPlayerJoinedMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final GameListPlayerJoinedMessage defaultInstance; public static GameListPlayerJoinedMessage getDefaultInstance() { @@ -11761,12 +11986,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private GameListPlayerJoinedMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -11776,7 +12007,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -11800,6 +12031,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -11819,7 +12057,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -11835,7 +12072,6 @@ public final class ProtoBuf { return gameId_; } - // required uint32 playerId = 2; public static final int PLAYERID_FIELD_NUMBER = 2; private int playerId_; /** @@ -11858,7 +12094,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -11881,6 +12118,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt32(2, playerId_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -11897,6 +12135,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, playerId_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -11974,7 +12213,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:GameListPlayerJoinedMessage) + de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -12035,6 +12276,8 @@ public final class ProtoBuf { if (other.hasPlayerId()) { setPlayerId(other.getPlayerId()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -12069,7 +12312,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -12102,7 +12344,6 @@ public final class ProtoBuf { return this; } - // required uint32 playerId = 2; private int playerId_ ; /** * required uint32 playerId = 2; @@ -12146,10 +12387,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -12159,7 +12400,6 @@ public final class ProtoBuf { */ int getGameId(); - // required uint32 playerId = 2; /** * required uint32 playerId = 2; */ @@ -12173,14 +12413,15 @@ public final class ProtoBuf { * Protobuf type {@code GameListPlayerLeftMessage} */ public static final class GameListPlayerLeftMessage extends - com.google.protobuf.GeneratedMessageLite - implements GameListPlayerLeftMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:GameListPlayerLeftMessage) + GameListPlayerLeftMessageOrBuilder { // Use GameListPlayerLeftMessage.newBuilder() to construct. private GameListPlayerLeftMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private GameListPlayerLeftMessage(boolean noInit) {} + private GameListPlayerLeftMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final GameListPlayerLeftMessage defaultInstance; public static GameListPlayerLeftMessage getDefaultInstance() { @@ -12191,12 +12432,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private GameListPlayerLeftMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -12206,7 +12453,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -12230,6 +12477,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -12249,7 +12503,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -12265,7 +12518,6 @@ public final class ProtoBuf { return gameId_; } - // required uint32 playerId = 2; public static final int PLAYERID_FIELD_NUMBER = 2; private int playerId_; /** @@ -12288,7 +12540,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -12311,6 +12564,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt32(2, playerId_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -12327,6 +12581,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, playerId_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -12404,7 +12659,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:GameListPlayerLeftMessage) + de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -12465,6 +12722,8 @@ public final class ProtoBuf { if (other.hasPlayerId()) { setPlayerId(other.getPlayerId()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -12499,7 +12758,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -12532,7 +12790,6 @@ public final class ProtoBuf { return this; } - // required uint32 playerId = 2; private int playerId_ ; /** * required uint32 playerId = 2; @@ -12576,10 +12833,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -12589,7 +12846,6 @@ public final class ProtoBuf { */ int getGameId(); - // required uint32 playerId = 2; /** * required uint32 playerId = 2; */ @@ -12603,14 +12859,15 @@ public final class ProtoBuf { * Protobuf type {@code GameListSpectatorJoinedMessage} */ public static final class GameListSpectatorJoinedMessage extends - com.google.protobuf.GeneratedMessageLite - implements GameListSpectatorJoinedMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:GameListSpectatorJoinedMessage) + GameListSpectatorJoinedMessageOrBuilder { // Use GameListSpectatorJoinedMessage.newBuilder() to construct. private GameListSpectatorJoinedMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private GameListSpectatorJoinedMessage(boolean noInit) {} + private GameListSpectatorJoinedMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final GameListSpectatorJoinedMessage defaultInstance; public static GameListSpectatorJoinedMessage getDefaultInstance() { @@ -12621,12 +12878,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private GameListSpectatorJoinedMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -12636,7 +12899,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -12660,6 +12923,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -12679,7 +12949,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -12695,7 +12964,6 @@ public final class ProtoBuf { return gameId_; } - // required uint32 playerId = 2; public static final int PLAYERID_FIELD_NUMBER = 2; private int playerId_; /** @@ -12718,7 +12986,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -12741,6 +13010,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt32(2, playerId_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -12757,6 +13027,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, playerId_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -12834,7 +13105,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:GameListSpectatorJoinedMessage) + de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -12895,6 +13168,8 @@ public final class ProtoBuf { if (other.hasPlayerId()) { setPlayerId(other.getPlayerId()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -12929,7 +13204,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -12962,7 +13236,6 @@ public final class ProtoBuf { return this; } - // required uint32 playerId = 2; private int playerId_ ; /** * required uint32 playerId = 2; @@ -13006,10 +13279,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -13019,7 +13292,6 @@ public final class ProtoBuf { */ int getGameId(); - // required uint32 playerId = 2; /** * required uint32 playerId = 2; */ @@ -13033,14 +13305,15 @@ public final class ProtoBuf { * Protobuf type {@code GameListSpectatorLeftMessage} */ public static final class GameListSpectatorLeftMessage extends - com.google.protobuf.GeneratedMessageLite - implements GameListSpectatorLeftMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:GameListSpectatorLeftMessage) + GameListSpectatorLeftMessageOrBuilder { // Use GameListSpectatorLeftMessage.newBuilder() to construct. private GameListSpectatorLeftMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private GameListSpectatorLeftMessage(boolean noInit) {} + private GameListSpectatorLeftMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final GameListSpectatorLeftMessage defaultInstance; public static GameListSpectatorLeftMessage getDefaultInstance() { @@ -13051,12 +13324,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private GameListSpectatorLeftMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -13066,7 +13345,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -13090,6 +13369,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -13109,7 +13395,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -13125,7 +13410,6 @@ public final class ProtoBuf { return gameId_; } - // required uint32 playerId = 2; public static final int PLAYERID_FIELD_NUMBER = 2; private int playerId_; /** @@ -13148,7 +13432,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -13171,6 +13456,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt32(2, playerId_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -13187,6 +13473,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, playerId_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -13264,7 +13551,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:GameListSpectatorLeftMessage) + de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -13325,6 +13614,8 @@ public final class ProtoBuf { if (other.hasPlayerId()) { setPlayerId(other.getPlayerId()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -13359,7 +13650,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -13392,7 +13682,6 @@ public final class ProtoBuf { return this; } - // required uint32 playerId = 2; private int playerId_ ; /** * required uint32 playerId = 2; @@ -13436,10 +13725,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -13449,7 +13738,6 @@ public final class ProtoBuf { */ int getGameId(); - // required uint32 newAdminPlayerId = 2; /** * required uint32 newAdminPlayerId = 2; */ @@ -13463,14 +13751,15 @@ public final class ProtoBuf { * Protobuf type {@code GameListAdminChangedMessage} */ public static final class GameListAdminChangedMessage extends - com.google.protobuf.GeneratedMessageLite - implements GameListAdminChangedMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:GameListAdminChangedMessage) + GameListAdminChangedMessageOrBuilder { // Use GameListAdminChangedMessage.newBuilder() to construct. private GameListAdminChangedMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private GameListAdminChangedMessage(boolean noInit) {} + private GameListAdminChangedMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final GameListAdminChangedMessage defaultInstance; public static GameListAdminChangedMessage getDefaultInstance() { @@ -13481,12 +13770,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private GameListAdminChangedMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -13496,7 +13791,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -13520,6 +13815,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -13539,7 +13841,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -13555,7 +13856,6 @@ public final class ProtoBuf { return gameId_; } - // required uint32 newAdminPlayerId = 2; public static final int NEWADMINPLAYERID_FIELD_NUMBER = 2; private int newAdminPlayerId_; /** @@ -13578,7 +13878,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -13601,6 +13902,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt32(2, newAdminPlayerId_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -13617,6 +13919,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, newAdminPlayerId_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -13694,7 +13997,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:GameListAdminChangedMessage) + de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -13755,6 +14060,8 @@ public final class ProtoBuf { if (other.hasNewAdminPlayerId()) { setNewAdminPlayerId(other.getNewAdminPlayerId()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -13789,7 +14096,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -13822,7 +14128,6 @@ public final class ProtoBuf { return this; } - // required uint32 newAdminPlayerId = 2; private int newAdminPlayerId_ ; /** * required uint32 newAdminPlayerId = 2; @@ -13866,10 +14171,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // repeated uint32 playerId = 1 [packed = true]; /** * repeated uint32 playerId = 1 [packed = true]; */ @@ -13887,14 +14192,15 @@ public final class ProtoBuf { * Protobuf type {@code PlayerInfoRequestMessage} */ public static final class PlayerInfoRequestMessage extends - com.google.protobuf.GeneratedMessageLite - implements PlayerInfoRequestMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:PlayerInfoRequestMessage) + PlayerInfoRequestMessageOrBuilder { // Use PlayerInfoRequestMessage.newBuilder() to construct. private PlayerInfoRequestMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private PlayerInfoRequestMessage(boolean noInit) {} + private PlayerInfoRequestMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final PlayerInfoRequestMessage defaultInstance; public static PlayerInfoRequestMessage getDefaultInstance() { @@ -13905,12 +14211,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private PlayerInfoRequestMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -13920,7 +14232,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -13958,6 +14270,13 @@ public final class ProtoBuf { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { playerId_ = java.util.Collections.unmodifiableList(playerId_); } + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -13976,7 +14295,6 @@ public final class ProtoBuf { return PARSER; } - // repeated uint32 playerId = 1 [packed = true]; public static final int PLAYERID_FIELD_NUMBER = 1; private java.util.List playerId_; /** @@ -14006,7 +14324,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -14022,6 +14341,7 @@ public final class ProtoBuf { for (int i = 0; i < playerId_.size(); i++) { output.writeUInt32NoTag(playerId_.get(i)); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -14044,6 +14364,7 @@ public final class ProtoBuf { } playerIdMemoizedSerializedSize = dataSize; } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -14121,7 +14442,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:PlayerInfoRequestMessage) + de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -14179,6 +14502,8 @@ public final class ProtoBuf { } } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -14205,7 +14530,6 @@ public final class ProtoBuf { } private int bitField0_; - // repeated uint32 playerId = 1 [packed = true]; private java.util.List playerId_ = java.util.Collections.emptyList(); private void ensurePlayerIdIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { @@ -14257,7 +14581,8 @@ public final class ProtoBuf { public Builder addAllPlayerId( java.lang.Iterable values) { ensurePlayerIdIsMutable(); - super.addAll(values, playerId_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, playerId_); return this; } @@ -14282,10 +14607,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 playerId = 1; /** * required uint32 playerId = 1; */ @@ -14295,7 +14620,6 @@ public final class ProtoBuf { */ int getPlayerId(); - // optional .PlayerInfoReplyMessage.PlayerInfoData playerInfoData = 2; /** * optional .PlayerInfoReplyMessage.PlayerInfoData playerInfoData = 2; */ @@ -14309,14 +14633,15 @@ public final class ProtoBuf { * Protobuf type {@code PlayerInfoReplyMessage} */ public static final class PlayerInfoReplyMessage extends - com.google.protobuf.GeneratedMessageLite - implements PlayerInfoReplyMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:PlayerInfoReplyMessage) + PlayerInfoReplyMessageOrBuilder { // Use PlayerInfoReplyMessage.newBuilder() to construct. private PlayerInfoReplyMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private PlayerInfoReplyMessage(boolean noInit) {} + private PlayerInfoReplyMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final PlayerInfoReplyMessage defaultInstance; public static PlayerInfoReplyMessage getDefaultInstance() { @@ -14327,12 +14652,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private PlayerInfoReplyMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -14342,7 +14673,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -14374,6 +14705,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -14392,10 +14730,10 @@ public final class ProtoBuf { return PARSER; } - public interface PlayerInfoDataOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface PlayerInfoDataOrBuilder extends + // @@protoc_insertion_point(interface_extends:PlayerInfoReplyMessage.PlayerInfoData) + com.google.protobuf.MessageLiteOrBuilder { - // required string playerName = 1; /** * required string playerName = 1; */ @@ -14410,7 +14748,6 @@ public final class ProtoBuf { com.google.protobuf.ByteString getPlayerNameBytes(); - // required bool isHuman = 2; /** * required bool isHuman = 2; */ @@ -14420,7 +14757,6 @@ public final class ProtoBuf { */ boolean getIsHuman(); - // required .NetPlayerInfoRights playerRights = 3; /** * required .NetPlayerInfoRights playerRights = 3; */ @@ -14430,7 +14766,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.NetPlayerInfoRights getPlayerRights(); - // optional string countryCode = 4; /** * optional string countryCode = 4; */ @@ -14445,7 +14780,6 @@ public final class ProtoBuf { com.google.protobuf.ByteString getCountryCodeBytes(); - // optional .PlayerInfoReplyMessage.PlayerInfoData.AvatarData avatarData = 5; /** * optional .PlayerInfoReplyMessage.PlayerInfoData.AvatarData avatarData = 5; */ @@ -14459,14 +14793,15 @@ public final class ProtoBuf { * Protobuf type {@code PlayerInfoReplyMessage.PlayerInfoData} */ public static final class PlayerInfoData extends - com.google.protobuf.GeneratedMessageLite - implements PlayerInfoDataOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:PlayerInfoReplyMessage.PlayerInfoData) + PlayerInfoDataOrBuilder { // Use PlayerInfoData.newBuilder() to construct. private PlayerInfoData(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private PlayerInfoData(boolean noInit) {} + private PlayerInfoData(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final PlayerInfoData defaultInstance; public static PlayerInfoData getDefaultInstance() { @@ -14477,12 +14812,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private PlayerInfoData( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -14492,15 +14833,16 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } break; } case 10: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; - playerName_ = input.readBytes(); + playerName_ = bs; break; } case 16: { @@ -14511,15 +14853,19 @@ public final class ProtoBuf { case 24: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.NetPlayerInfoRights value = de.pokerth.protocol.ProtoBuf.NetPlayerInfoRights.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFieldsCodedOutput.writeRawVarint32(tag); + unknownFieldsCodedOutput.writeRawVarint32(rawValue); + } else { bitField0_ |= 0x00000004; playerRights_ = value; } break; } case 34: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000008; - countryCode_ = input.readBytes(); + countryCode_ = bs; break; } case 42: { @@ -14543,6 +14889,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -14561,10 +14914,10 @@ public final class ProtoBuf { return PARSER; } - public interface AvatarDataOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface AvatarDataOrBuilder extends + // @@protoc_insertion_point(interface_extends:PlayerInfoReplyMessage.PlayerInfoData.AvatarData) + com.google.protobuf.MessageLiteOrBuilder { - // required .NetAvatarType avatarType = 1; /** * required .NetAvatarType avatarType = 1; */ @@ -14574,7 +14927,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.NetAvatarType getAvatarType(); - // required bytes avatarHash = 2; /** * required bytes avatarHash = 2; */ @@ -14588,14 +14940,15 @@ 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.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:PlayerInfoReplyMessage.PlayerInfoData.AvatarData) + AvatarDataOrBuilder { // Use AvatarData.newBuilder() to construct. private AvatarData(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private AvatarData(boolean noInit) {} + private AvatarData(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final AvatarData defaultInstance; public static AvatarData getDefaultInstance() { @@ -14606,12 +14959,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private AvatarData( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -14621,7 +14980,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -14630,7 +14989,10 @@ public final class ProtoBuf { case 8: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.NetAvatarType value = de.pokerth.protocol.ProtoBuf.NetAvatarType.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFieldsCodedOutput.writeRawVarint32(tag); + unknownFieldsCodedOutput.writeRawVarint32(rawValue); + } else { bitField0_ |= 0x00000001; avatarType_ = value; } @@ -14649,6 +15011,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -14668,7 +15037,6 @@ public final class ProtoBuf { } private int bitField0_; - // required .NetAvatarType avatarType = 1; public static final int AVATARTYPE_FIELD_NUMBER = 1; private de.pokerth.protocol.ProtoBuf.NetAvatarType avatarType_; /** @@ -14684,7 +15052,6 @@ public final class ProtoBuf { return avatarType_; } - // required bytes avatarHash = 2; public static final int AVATARHASH_FIELD_NUMBER = 2; private com.google.protobuf.ByteString avatarHash_; /** @@ -14707,7 +15074,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -14730,6 +15098,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, avatarHash_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -14746,6 +15115,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, avatarHash_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -14823,7 +15193,9 @@ public final class ProtoBuf { 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 { + implements + // @@protoc_insertion_point(builder_implements:PlayerInfoReplyMessage.PlayerInfoData.AvatarData) + de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarDataOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -14884,6 +15256,8 @@ public final class ProtoBuf { if (other.hasAvatarHash()) { setAvatarHash(other.getAvatarHash()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -14918,7 +15292,6 @@ public final class ProtoBuf { } private int bitField0_; - // required .NetAvatarType avatarType = 1; private de.pokerth.protocol.ProtoBuf.NetAvatarType avatarType_ = de.pokerth.protocol.ProtoBuf.NetAvatarType.netAvatarImagePng; /** * required .NetAvatarType avatarType = 1; @@ -14954,7 +15327,6 @@ public final class ProtoBuf { return this; } - // required bytes avatarHash = 2; private com.google.protobuf.ByteString avatarHash_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes avatarHash = 2; @@ -15002,7 +15374,6 @@ public final class ProtoBuf { } private int bitField0_; - // required string playerName = 1; public static final int PLAYERNAME_FIELD_NUMBER = 1; private java.lang.Object playerName_; /** @@ -15045,7 +15416,6 @@ public final class ProtoBuf { } } - // required bool isHuman = 2; public static final int ISHUMAN_FIELD_NUMBER = 2; private boolean isHuman_; /** @@ -15061,7 +15431,6 @@ public final class ProtoBuf { return isHuman_; } - // required .NetPlayerInfoRights playerRights = 3; public static final int PLAYERRIGHTS_FIELD_NUMBER = 3; private de.pokerth.protocol.ProtoBuf.NetPlayerInfoRights playerRights_; /** @@ -15077,7 +15446,6 @@ public final class ProtoBuf { return playerRights_; } - // optional string countryCode = 4; public static final int COUNTRYCODE_FIELD_NUMBER = 4; private java.lang.Object countryCode_; /** @@ -15120,7 +15488,6 @@ 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_; /** @@ -15146,7 +15513,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -15188,6 +15556,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeMessage(5, avatarData_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -15216,6 +15585,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, avatarData_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -15293,7 +15663,9 @@ public final class ProtoBuf { 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 { + implements + // @@protoc_insertion_point(builder_implements:PlayerInfoReplyMessage.PlayerInfoData) + de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoDataOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -15385,6 +15757,8 @@ public final class ProtoBuf { if (other.hasAvatarData()) { mergeAvatarData(other.getAvatarData()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -15429,7 +15803,6 @@ public final class ProtoBuf { } private int bitField0_; - // required string playerName = 1; private java.lang.Object playerName_ = ""; /** * required string playerName = 1; @@ -15443,9 +15816,12 @@ public final class ProtoBuf { 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; @@ -15503,7 +15879,6 @@ public final class ProtoBuf { return this; } - // required bool isHuman = 2; private boolean isHuman_ ; /** * required bool isHuman = 2; @@ -15536,7 +15911,6 @@ public final class ProtoBuf { return this; } - // required .NetPlayerInfoRights playerRights = 3; private de.pokerth.protocol.ProtoBuf.NetPlayerInfoRights playerRights_ = de.pokerth.protocol.ProtoBuf.NetPlayerInfoRights.netPlayerRightsGuest; /** * required .NetPlayerInfoRights playerRights = 3; @@ -15572,7 +15946,6 @@ public final class ProtoBuf { return this; } - // optional string countryCode = 4; private java.lang.Object countryCode_ = ""; /** * optional string countryCode = 4; @@ -15586,9 +15959,12 @@ public final class ProtoBuf { 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; @@ -15646,7 +16022,6 @@ public final class ProtoBuf { return this; } - // optional .PlayerInfoReplyMessage.PlayerInfoData.AvatarData avatarData = 5; private de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData avatarData_ = de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData.getDefaultInstance(); /** * optional .PlayerInfoReplyMessage.PlayerInfoData.AvatarData avatarData = 5; @@ -15719,7 +16094,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 playerId = 1; public static final int PLAYERID_FIELD_NUMBER = 1; private int playerId_; /** @@ -15735,7 +16109,6 @@ public final class ProtoBuf { return playerId_; } - // optional .PlayerInfoReplyMessage.PlayerInfoData playerInfoData = 2; public static final int PLAYERINFODATA_FIELD_NUMBER = 2; private de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData playerInfoData_; /** @@ -15758,7 +16131,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -15783,6 +16157,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeMessage(2, playerInfoData_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -15799,6 +16174,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, playerInfoData_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -15876,7 +16252,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:PlayerInfoReplyMessage) + de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -15937,6 +16315,8 @@ public final class ProtoBuf { if (other.hasPlayerInfoData()) { mergePlayerInfoData(other.getPlayerInfoData()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -15973,7 +16353,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 playerId = 1; private int playerId_ ; /** * required uint32 playerId = 1; @@ -16006,7 +16385,6 @@ public final class ProtoBuf { return this; } - // optional .PlayerInfoReplyMessage.PlayerInfoData playerInfoData = 2; private de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData playerInfoData_ = de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.getDefaultInstance(); /** * optional .PlayerInfoReplyMessage.PlayerInfoData playerInfoData = 2; @@ -16078,10 +16456,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required .SubscriptionRequestMessage.SubscriptionAction subscriptionAction = 1; /** * required .SubscriptionRequestMessage.SubscriptionAction subscriptionAction = 1; */ @@ -16100,14 +16478,15 @@ public final class ProtoBuf { * */ public static final class SubscriptionRequestMessage extends - com.google.protobuf.GeneratedMessageLite - implements SubscriptionRequestMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:SubscriptionRequestMessage) + SubscriptionRequestMessageOrBuilder { // Use SubscriptionRequestMessage.newBuilder() to construct. private SubscriptionRequestMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private SubscriptionRequestMessage(boolean noInit) {} + private SubscriptionRequestMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final SubscriptionRequestMessage defaultInstance; public static SubscriptionRequestMessage getDefaultInstance() { @@ -16118,12 +16497,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private SubscriptionRequestMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -16133,7 +16518,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -16142,7 +16527,10 @@ public final class ProtoBuf { case 8: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.SubscriptionAction value = de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.SubscriptionAction.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFieldsCodedOutput.writeRawVarint32(tag); + unknownFieldsCodedOutput.writeRawVarint32(rawValue); + } else { bitField0_ |= 0x00000001; subscriptionAction_ = value; } @@ -16156,6 +16544,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -16231,7 +16626,6 @@ 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_; /** @@ -16253,7 +16647,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -16269,6 +16664,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeEnum(1, subscriptionAction_.getNumber()); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -16281,6 +16677,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, subscriptionAction_.getNumber()); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -16363,7 +16760,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:SubscriptionRequestMessage) + de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -16415,6 +16814,8 @@ public final class ProtoBuf { if (other.hasSubscriptionAction()) { setSubscriptionAction(other.getSubscriptionAction()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -16445,7 +16846,6 @@ 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; /** * required .SubscriptionRequestMessage.SubscriptionAction subscriptionAction = 1; @@ -16492,10 +16892,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -16505,7 +16905,6 @@ public final class ProtoBuf { */ int getGameId(); - // optional string password = 2; /** * optional string password = 2; */ @@ -16520,7 +16919,6 @@ public final class ProtoBuf { com.google.protobuf.ByteString getPasswordBytes(); - // optional bool autoLeave = 3 [default = false]; /** * optional bool autoLeave = 3 [default = false]; */ @@ -16530,7 +16928,6 @@ public final class ProtoBuf { */ boolean getAutoLeave(); - // optional bool spectateOnly = 4 [default = false]; /** * optional bool spectateOnly = 4 [default = false]; */ @@ -16544,14 +16941,15 @@ public final class ProtoBuf { * Protobuf type {@code JoinExistingGameMessage} */ public static final class JoinExistingGameMessage extends - com.google.protobuf.GeneratedMessageLite - implements JoinExistingGameMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:JoinExistingGameMessage) + JoinExistingGameMessageOrBuilder { // Use JoinExistingGameMessage.newBuilder() to construct. private JoinExistingGameMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private JoinExistingGameMessage(boolean noInit) {} + private JoinExistingGameMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final JoinExistingGameMessage defaultInstance; public static JoinExistingGameMessage getDefaultInstance() { @@ -16562,12 +16960,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private JoinExistingGameMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -16577,7 +16981,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -16589,8 +16993,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: { @@ -16611,6 +17016,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -16630,7 +17042,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -16646,7 +17057,6 @@ public final class ProtoBuf { return gameId_; } - // optional string password = 2; public static final int PASSWORD_FIELD_NUMBER = 2; private java.lang.Object password_; /** @@ -16689,7 +17099,6 @@ public final class ProtoBuf { } } - // optional bool autoLeave = 3 [default = false]; public static final int AUTOLEAVE_FIELD_NUMBER = 3; private boolean autoLeave_; /** @@ -16705,7 +17114,6 @@ public final class ProtoBuf { return autoLeave_; } - // optional bool spectateOnly = 4 [default = false]; public static final int SPECTATEONLY_FIELD_NUMBER = 4; private boolean spectateOnly_; /** @@ -16730,7 +17138,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -16755,6 +17164,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeBool(4, spectateOnly_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -16779,6 +17189,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeBoolSize(4, spectateOnly_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -16856,7 +17267,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.JoinExistingGameMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:JoinExistingGameMessage) + de.pokerth.protocol.ProtoBuf.JoinExistingGameMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -16937,6 +17350,8 @@ public final class ProtoBuf { if (other.hasSpectateOnly()) { setSpectateOnly(other.getSpectateOnly()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -16967,7 +17382,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -17000,7 +17414,6 @@ public final class ProtoBuf { return this; } - // optional string password = 2; private java.lang.Object password_ = ""; /** * optional string password = 2; @@ -17014,9 +17427,12 @@ public final class ProtoBuf { 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; @@ -17074,7 +17490,6 @@ public final class ProtoBuf { return this; } - // optional bool autoLeave = 3 [default = false]; private boolean autoLeave_ ; /** * optional bool autoLeave = 3 [default = false]; @@ -17107,7 +17522,6 @@ public final class ProtoBuf { return this; } - // optional bool spectateOnly = 4 [default = false]; private boolean spectateOnly_ ; /** * optional bool spectateOnly = 4 [default = false]; @@ -17151,10 +17565,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required .NetGameInfo gameInfo = 1; /** * required .NetGameInfo gameInfo = 1; */ @@ -17164,7 +17578,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.NetGameInfo getGameInfo(); - // optional string password = 2; /** * optional string password = 2; */ @@ -17179,7 +17592,6 @@ public final class ProtoBuf { com.google.protobuf.ByteString getPasswordBytes(); - // optional bool autoLeave = 3; /** * optional bool autoLeave = 3; */ @@ -17193,14 +17605,15 @@ public final class ProtoBuf { * Protobuf type {@code JoinNewGameMessage} */ public static final class JoinNewGameMessage extends - com.google.protobuf.GeneratedMessageLite - implements JoinNewGameMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:JoinNewGameMessage) + JoinNewGameMessageOrBuilder { // Use JoinNewGameMessage.newBuilder() to construct. private JoinNewGameMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private JoinNewGameMessage(boolean noInit) {} + private JoinNewGameMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final JoinNewGameMessage defaultInstance; public static JoinNewGameMessage getDefaultInstance() { @@ -17211,12 +17624,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private JoinNewGameMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -17226,7 +17645,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -17246,8 +17665,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: { @@ -17263,6 +17683,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -17282,7 +17709,6 @@ public final class ProtoBuf { } private int bitField0_; - // required .NetGameInfo gameInfo = 1; public static final int GAMEINFO_FIELD_NUMBER = 1; private de.pokerth.protocol.ProtoBuf.NetGameInfo gameInfo_; /** @@ -17298,7 +17724,6 @@ public final class ProtoBuf { return gameInfo_; } - // optional string password = 2; public static final int PASSWORD_FIELD_NUMBER = 2; private java.lang.Object password_; /** @@ -17341,7 +17766,6 @@ public final class ProtoBuf { } } - // optional bool autoLeave = 3; public static final int AUTOLEAVE_FIELD_NUMBER = 3; private boolean autoLeave_; /** @@ -17365,7 +17789,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -17391,6 +17816,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBool(3, autoLeave_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -17411,6 +17837,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, autoLeave_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -17488,7 +17915,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.JoinNewGameMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.JoinNewGameMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:JoinNewGameMessage) + de.pokerth.protocol.ProtoBuf.JoinNewGameMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.JoinNewGameMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -17560,6 +17989,8 @@ public final class ProtoBuf { if (other.hasAutoLeave()) { setAutoLeave(other.getAutoLeave()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -17594,7 +18025,6 @@ public final class ProtoBuf { } private int bitField0_; - // required .NetGameInfo gameInfo = 1; private de.pokerth.protocol.ProtoBuf.NetGameInfo gameInfo_ = de.pokerth.protocol.ProtoBuf.NetGameInfo.getDefaultInstance(); /** * required .NetGameInfo gameInfo = 1; @@ -17655,7 +18085,6 @@ public final class ProtoBuf { return this; } - // optional string password = 2; private java.lang.Object password_ = ""; /** * optional string password = 2; @@ -17669,9 +18098,12 @@ public final class ProtoBuf { 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; @@ -17729,7 +18161,6 @@ public final class ProtoBuf { return this; } - // optional bool autoLeave = 3; private boolean autoLeave_ ; /** * optional bool autoLeave = 3; @@ -17773,10 +18204,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -17786,7 +18217,6 @@ public final class ProtoBuf { */ int getGameId(); - // optional bool autoLeave = 2; /** * optional bool autoLeave = 2; */ @@ -17800,14 +18230,15 @@ public final class ProtoBuf { * Protobuf type {@code RejoinExistingGameMessage} */ public static final class RejoinExistingGameMessage extends - com.google.protobuf.GeneratedMessageLite - implements RejoinExistingGameMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:RejoinExistingGameMessage) + RejoinExistingGameMessageOrBuilder { // Use RejoinExistingGameMessage.newBuilder() to construct. private RejoinExistingGameMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private RejoinExistingGameMessage(boolean noInit) {} + private RejoinExistingGameMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final RejoinExistingGameMessage defaultInstance; public static RejoinExistingGameMessage getDefaultInstance() { @@ -17818,12 +18249,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private RejoinExistingGameMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -17833,7 +18270,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -17857,6 +18294,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -17876,7 +18320,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -17892,7 +18335,6 @@ public final class ProtoBuf { return gameId_; } - // optional bool autoLeave = 2; public static final int AUTOLEAVE_FIELD_NUMBER = 2; private boolean autoLeave_; /** @@ -17915,7 +18357,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -17934,6 +18377,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBool(2, autoLeave_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -17950,6 +18394,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeBoolSize(2, autoLeave_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -18027,7 +18472,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:RejoinExistingGameMessage) + de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -18088,6 +18535,8 @@ public final class ProtoBuf { if (other.hasAutoLeave()) { setAutoLeave(other.getAutoLeave()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -18118,7 +18567,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -18151,7 +18599,6 @@ public final class ProtoBuf { return this; } - // optional bool autoLeave = 2; private boolean autoLeave_ ; /** * optional bool autoLeave = 2; @@ -18195,10 +18642,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -18208,7 +18655,6 @@ public final class ProtoBuf { */ int getGameId(); - // required bool areYouGameAdmin = 2; /** * required bool areYouGameAdmin = 2; */ @@ -18218,7 +18664,6 @@ public final class ProtoBuf { */ boolean getAreYouGameAdmin(); - // required .NetGameInfo gameInfo = 3; /** * required .NetGameInfo gameInfo = 3; */ @@ -18228,7 +18673,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.NetGameInfo getGameInfo(); - // optional bool spectateOnly = 4; /** * optional bool spectateOnly = 4; */ @@ -18242,14 +18686,15 @@ public final class ProtoBuf { * Protobuf type {@code JoinGameAckMessage} */ public static final class JoinGameAckMessage extends - com.google.protobuf.GeneratedMessageLite - implements JoinGameAckMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:JoinGameAckMessage) + JoinGameAckMessageOrBuilder { // Use JoinGameAckMessage.newBuilder() to construct. private JoinGameAckMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private JoinGameAckMessage(boolean noInit) {} + private JoinGameAckMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final JoinGameAckMessage defaultInstance; public static JoinGameAckMessage getDefaultInstance() { @@ -18260,12 +18705,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private JoinGameAckMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -18275,7 +18726,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -18317,6 +18768,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -18336,7 +18794,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -18352,7 +18809,6 @@ public final class ProtoBuf { return gameId_; } - // required bool areYouGameAdmin = 2; public static final int AREYOUGAMEADMIN_FIELD_NUMBER = 2; private boolean areYouGameAdmin_; /** @@ -18368,7 +18824,6 @@ public final class ProtoBuf { return areYouGameAdmin_; } - // required .NetGameInfo gameInfo = 3; public static final int GAMEINFO_FIELD_NUMBER = 3; private de.pokerth.protocol.ProtoBuf.NetGameInfo gameInfo_; /** @@ -18384,7 +18839,6 @@ public final class ProtoBuf { return gameInfo_; } - // optional bool spectateOnly = 4; public static final int SPECTATEONLY_FIELD_NUMBER = 4; private boolean spectateOnly_; /** @@ -18409,7 +18863,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -18446,6 +18901,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeBool(4, spectateOnly_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -18470,6 +18926,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeBoolSize(4, spectateOnly_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -18547,7 +19004,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.JoinGameAckMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.JoinGameAckMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:JoinGameAckMessage) + de.pokerth.protocol.ProtoBuf.JoinGameAckMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.JoinGameAckMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -18626,6 +19085,8 @@ public final class ProtoBuf { if (other.hasSpectateOnly()) { setSpectateOnly(other.getSpectateOnly()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -18668,7 +19129,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -18701,7 +19161,6 @@ public final class ProtoBuf { return this; } - // required bool areYouGameAdmin = 2; private boolean areYouGameAdmin_ ; /** * required bool areYouGameAdmin = 2; @@ -18734,7 +19193,6 @@ public final class ProtoBuf { return this; } - // required .NetGameInfo gameInfo = 3; private de.pokerth.protocol.ProtoBuf.NetGameInfo gameInfo_ = de.pokerth.protocol.ProtoBuf.NetGameInfo.getDefaultInstance(); /** * required .NetGameInfo gameInfo = 3; @@ -18795,7 +19253,6 @@ public final class ProtoBuf { return this; } - // optional bool spectateOnly = 4; private boolean spectateOnly_ ; /** * optional bool spectateOnly = 4; @@ -18839,10 +19296,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -18852,7 +19309,6 @@ public final class ProtoBuf { */ int getGameId(); - // required .JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason = 2; /** * required .JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason = 2; */ @@ -18866,14 +19322,15 @@ public final class ProtoBuf { * Protobuf type {@code JoinGameFailedMessage} */ public static final class JoinGameFailedMessage extends - com.google.protobuf.GeneratedMessageLite - implements JoinGameFailedMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:JoinGameFailedMessage) + JoinGameFailedMessageOrBuilder { // Use JoinGameFailedMessage.newBuilder() to construct. private JoinGameFailedMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private JoinGameFailedMessage(boolean noInit) {} + private JoinGameFailedMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final JoinGameFailedMessage defaultInstance; public static JoinGameFailedMessage getDefaultInstance() { @@ -18884,12 +19341,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private JoinGameFailedMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -18899,7 +19362,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -18913,7 +19376,10 @@ public final class ProtoBuf { case 16: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.JoinGameFailureReason value = de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.JoinGameFailureReason.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFieldsCodedOutput.writeRawVarint32(tag); + unknownFieldsCodedOutput.writeRawVarint32(rawValue); + } else { bitField0_ |= 0x00000002; joinGameFailureReason_ = value; } @@ -18927,6 +19393,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -19092,7 +19565,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -19108,7 +19580,6 @@ public final class ProtoBuf { return gameId_; } - // required .JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason = 2; public static final int JOINGAMEFAILUREREASON_FIELD_NUMBER = 2; private de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason_; /** @@ -19131,7 +19602,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -19154,6 +19626,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeEnum(2, joinGameFailureReason_.getNumber()); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -19170,6 +19643,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, joinGameFailureReason_.getNumber()); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -19247,7 +19721,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.JoinGameFailedMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:JoinGameFailedMessage) + de.pokerth.protocol.ProtoBuf.JoinGameFailedMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -19308,6 +19784,8 @@ public final class ProtoBuf { if (other.hasJoinGameFailureReason()) { setJoinGameFailureReason(other.getJoinGameFailureReason()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -19342,7 +19820,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -19375,7 +19852,6 @@ public final class ProtoBuf { return this; } - // required .JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason = 2; private de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason_ = de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.JoinGameFailureReason.invalidGame; /** * required .JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason = 2; @@ -19422,10 +19898,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -19435,7 +19911,6 @@ public final class ProtoBuf { */ int getGameId(); - // required uint32 playerId = 2; /** * required uint32 playerId = 2; */ @@ -19445,7 +19920,6 @@ public final class ProtoBuf { */ int getPlayerId(); - // required bool isGameAdmin = 3; /** * required bool isGameAdmin = 3; */ @@ -19459,14 +19933,15 @@ public final class ProtoBuf { * Protobuf type {@code GamePlayerJoinedMessage} */ public static final class GamePlayerJoinedMessage extends - com.google.protobuf.GeneratedMessageLite - implements GamePlayerJoinedMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:GamePlayerJoinedMessage) + GamePlayerJoinedMessageOrBuilder { // Use GamePlayerJoinedMessage.newBuilder() to construct. private GamePlayerJoinedMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private GamePlayerJoinedMessage(boolean noInit) {} + private GamePlayerJoinedMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final GamePlayerJoinedMessage defaultInstance; public static GamePlayerJoinedMessage getDefaultInstance() { @@ -19477,12 +19952,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private GamePlayerJoinedMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -19492,7 +19973,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -19521,6 +20002,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -19540,7 +20028,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -19556,7 +20043,6 @@ public final class ProtoBuf { return gameId_; } - // required uint32 playerId = 2; public static final int PLAYERID_FIELD_NUMBER = 2; private int playerId_; /** @@ -19572,7 +20058,6 @@ public final class ProtoBuf { return playerId_; } - // required bool isGameAdmin = 3; public static final int ISGAMEADMIN_FIELD_NUMBER = 3; private boolean isGameAdmin_; /** @@ -19596,7 +20081,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -19626,6 +20112,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBool(3, isGameAdmin_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -19646,6 +20133,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, isGameAdmin_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -19723,7 +20211,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:GamePlayerJoinedMessage) + de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -19793,6 +20283,8 @@ public final class ProtoBuf { if (other.hasIsGameAdmin()) { setIsGameAdmin(other.getIsGameAdmin()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -19831,7 +20323,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -19864,7 +20355,6 @@ public final class ProtoBuf { return this; } - // required uint32 playerId = 2; private int playerId_ ; /** * required uint32 playerId = 2; @@ -19897,7 +20387,6 @@ public final class ProtoBuf { return this; } - // required bool isGameAdmin = 3; private boolean isGameAdmin_ ; /** * required bool isGameAdmin = 3; @@ -19941,10 +20430,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -19954,7 +20443,6 @@ public final class ProtoBuf { */ int getGameId(); - // required uint32 playerId = 2; /** * required uint32 playerId = 2; */ @@ -19964,7 +20452,6 @@ public final class ProtoBuf { */ int getPlayerId(); - // required .GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason = 3; /** * required .GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason = 3; */ @@ -19978,14 +20465,15 @@ public final class ProtoBuf { * Protobuf type {@code GamePlayerLeftMessage} */ public static final class GamePlayerLeftMessage extends - com.google.protobuf.GeneratedMessageLite - implements GamePlayerLeftMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:GamePlayerLeftMessage) + GamePlayerLeftMessageOrBuilder { // Use GamePlayerLeftMessage.newBuilder() to construct. private GamePlayerLeftMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private GamePlayerLeftMessage(boolean noInit) {} + private GamePlayerLeftMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final GamePlayerLeftMessage defaultInstance; public static GamePlayerLeftMessage getDefaultInstance() { @@ -19996,12 +20484,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private GamePlayerLeftMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -20011,7 +20505,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -20030,7 +20524,10 @@ public final class ProtoBuf { case 24: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason value = de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFieldsCodedOutput.writeRawVarint32(tag); + unknownFieldsCodedOutput.writeRawVarint32(rawValue); + } else { bitField0_ |= 0x00000004; gamePlayerLeftReason_ = value; } @@ -20044,6 +20541,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -20128,7 +20632,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -20144,7 +20647,6 @@ public final class ProtoBuf { return gameId_; } - // required uint32 playerId = 2; public static final int PLAYERID_FIELD_NUMBER = 2; private int playerId_; /** @@ -20160,7 +20662,6 @@ public final class ProtoBuf { return playerId_; } - // required .GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason = 3; public static final int GAMEPLAYERLEFTREASON_FIELD_NUMBER = 3; private de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason_; /** @@ -20184,7 +20685,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -20214,6 +20716,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeEnum(3, gamePlayerLeftReason_.getNumber()); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -20234,6 +20737,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeEnumSize(3, gamePlayerLeftReason_.getNumber()); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -20311,7 +20815,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:GamePlayerLeftMessage) + de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -20381,6 +20887,8 @@ public final class ProtoBuf { if (other.hasGamePlayerLeftReason()) { setGamePlayerLeftReason(other.getGamePlayerLeftReason()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -20419,7 +20927,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -20452,7 +20959,6 @@ public final class ProtoBuf { return this; } - // required uint32 playerId = 2; private int playerId_ ; /** * required uint32 playerId = 2; @@ -20485,7 +20991,6 @@ public final class ProtoBuf { return this; } - // required .GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason = 3; private de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason_ = de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason.leftOnRequest; /** * required .GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason = 3; @@ -20532,10 +21037,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -20545,7 +21050,6 @@ public final class ProtoBuf { */ int getGameId(); - // required uint32 playerId = 2; /** * required uint32 playerId = 2; */ @@ -20559,14 +21063,15 @@ public final class ProtoBuf { * Protobuf type {@code GameSpectatorJoinedMessage} */ public static final class GameSpectatorJoinedMessage extends - com.google.protobuf.GeneratedMessageLite - implements GameSpectatorJoinedMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:GameSpectatorJoinedMessage) + GameSpectatorJoinedMessageOrBuilder { // Use GameSpectatorJoinedMessage.newBuilder() to construct. private GameSpectatorJoinedMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private GameSpectatorJoinedMessage(boolean noInit) {} + private GameSpectatorJoinedMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final GameSpectatorJoinedMessage defaultInstance; public static GameSpectatorJoinedMessage getDefaultInstance() { @@ -20577,12 +21082,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private GameSpectatorJoinedMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -20592,7 +21103,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -20616,6 +21127,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -20635,7 +21153,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -20651,7 +21168,6 @@ public final class ProtoBuf { return gameId_; } - // required uint32 playerId = 2; public static final int PLAYERID_FIELD_NUMBER = 2; private int playerId_; /** @@ -20674,7 +21190,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -20697,6 +21214,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt32(2, playerId_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -20713,6 +21231,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, playerId_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -20790,7 +21309,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:GameSpectatorJoinedMessage) + de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -20851,6 +21372,8 @@ public final class ProtoBuf { if (other.hasPlayerId()) { setPlayerId(other.getPlayerId()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -20885,7 +21408,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -20918,7 +21440,6 @@ public final class ProtoBuf { return this; } - // required uint32 playerId = 2; private int playerId_ ; /** * required uint32 playerId = 2; @@ -20962,10 +21483,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -20975,7 +21496,6 @@ public final class ProtoBuf { */ int getGameId(); - // required uint32 playerId = 2; /** * required uint32 playerId = 2; */ @@ -20985,7 +21505,6 @@ public final class ProtoBuf { */ int getPlayerId(); - // required .GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason = 3; /** * required .GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason = 3; */ @@ -20999,14 +21518,15 @@ public final class ProtoBuf { * Protobuf type {@code GameSpectatorLeftMessage} */ public static final class GameSpectatorLeftMessage extends - com.google.protobuf.GeneratedMessageLite - implements GameSpectatorLeftMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:GameSpectatorLeftMessage) + GameSpectatorLeftMessageOrBuilder { // Use GameSpectatorLeftMessage.newBuilder() to construct. private GameSpectatorLeftMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private GameSpectatorLeftMessage(boolean noInit) {} + private GameSpectatorLeftMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final GameSpectatorLeftMessage defaultInstance; public static GameSpectatorLeftMessage getDefaultInstance() { @@ -21017,12 +21537,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private GameSpectatorLeftMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -21032,7 +21558,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -21051,7 +21577,10 @@ public final class ProtoBuf { case 24: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason value = de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFieldsCodedOutput.writeRawVarint32(tag); + unknownFieldsCodedOutput.writeRawVarint32(rawValue); + } else { bitField0_ |= 0x00000004; gameSpectatorLeftReason_ = value; } @@ -21065,6 +21594,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -21084,7 +21620,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -21100,7 +21635,6 @@ public final class ProtoBuf { return gameId_; } - // required uint32 playerId = 2; public static final int PLAYERID_FIELD_NUMBER = 2; private int playerId_; /** @@ -21116,7 +21650,6 @@ public final class ProtoBuf { return playerId_; } - // required .GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason = 3; public static final int GAMESPECTATORLEFTREASON_FIELD_NUMBER = 3; private de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason_; /** @@ -21140,7 +21673,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -21170,6 +21704,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeEnum(3, gameSpectatorLeftReason_.getNumber()); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -21190,6 +21725,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeEnumSize(3, gameSpectatorLeftReason_.getNumber()); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -21267,7 +21803,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:GameSpectatorLeftMessage) + de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -21337,6 +21875,8 @@ public final class ProtoBuf { if (other.hasGameSpectatorLeftReason()) { setGameSpectatorLeftReason(other.getGameSpectatorLeftReason()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -21375,7 +21915,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -21408,7 +21947,6 @@ public final class ProtoBuf { return this; } - // required uint32 playerId = 2; private int playerId_ ; /** * required uint32 playerId = 2; @@ -21441,7 +21979,6 @@ public final class ProtoBuf { return this; } - // required .GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason = 3; private de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason_ = de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason.leftOnRequest; /** * required .GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason = 3; @@ -21488,10 +22025,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -21501,7 +22038,6 @@ public final class ProtoBuf { */ int getGameId(); - // required uint32 newAdminPlayerId = 2; /** * required uint32 newAdminPlayerId = 2; */ @@ -21515,14 +22051,15 @@ public final class ProtoBuf { * Protobuf type {@code GameAdminChangedMessage} */ public static final class GameAdminChangedMessage extends - com.google.protobuf.GeneratedMessageLite - implements GameAdminChangedMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:GameAdminChangedMessage) + GameAdminChangedMessageOrBuilder { // Use GameAdminChangedMessage.newBuilder() to construct. private GameAdminChangedMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private GameAdminChangedMessage(boolean noInit) {} + private GameAdminChangedMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final GameAdminChangedMessage defaultInstance; public static GameAdminChangedMessage getDefaultInstance() { @@ -21533,12 +22070,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private GameAdminChangedMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -21548,7 +22091,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -21572,6 +22115,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -21591,7 +22141,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -21607,7 +22156,6 @@ public final class ProtoBuf { return gameId_; } - // required uint32 newAdminPlayerId = 2; public static final int NEWADMINPLAYERID_FIELD_NUMBER = 2; private int newAdminPlayerId_; /** @@ -21630,7 +22178,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -21653,6 +22202,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt32(2, newAdminPlayerId_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -21669,6 +22219,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, newAdminPlayerId_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -21746,7 +22297,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.GameAdminChangedMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:GameAdminChangedMessage) + de.pokerth.protocol.ProtoBuf.GameAdminChangedMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -21807,6 +22360,8 @@ public final class ProtoBuf { if (other.hasNewAdminPlayerId()) { setNewAdminPlayerId(other.getNewAdminPlayerId()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -21841,7 +22396,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -21874,7 +22428,6 @@ public final class ProtoBuf { return this; } - // required uint32 newAdminPlayerId = 2; private int newAdminPlayerId_ ; /** * required uint32 newAdminPlayerId = 2; @@ -21918,10 +22471,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -21931,7 +22484,6 @@ public final class ProtoBuf { */ int getGameId(); - // required .RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason = 2; /** * required .RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason = 2; */ @@ -21945,14 +22497,15 @@ public final class ProtoBuf { * Protobuf type {@code RemovedFromGameMessage} */ public static final class RemovedFromGameMessage extends - com.google.protobuf.GeneratedMessageLite - implements RemovedFromGameMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:RemovedFromGameMessage) + RemovedFromGameMessageOrBuilder { // Use RemovedFromGameMessage.newBuilder() to construct. private RemovedFromGameMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private RemovedFromGameMessage(boolean noInit) {} + private RemovedFromGameMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final RemovedFromGameMessage defaultInstance; public static RemovedFromGameMessage getDefaultInstance() { @@ -21963,12 +22516,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private RemovedFromGameMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -21978,7 +22537,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -21992,7 +22551,10 @@ public final class ProtoBuf { case 16: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.RemovedFromGameReason value = de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.RemovedFromGameReason.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFieldsCodedOutput.writeRawVarint32(tag); + unknownFieldsCodedOutput.writeRawVarint32(rawValue); + } else { bitField0_ |= 0x00000002; removedFromGameReason_ = value; } @@ -22006,6 +22568,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -22134,7 +22703,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -22150,7 +22718,6 @@ public final class ProtoBuf { return gameId_; } - // required .RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason = 2; public static final int REMOVEDFROMGAMEREASON_FIELD_NUMBER = 2; private de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason_; /** @@ -22173,7 +22740,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -22196,6 +22764,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeEnum(2, removedFromGameReason_.getNumber()); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -22212,6 +22781,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, removedFromGameReason_.getNumber()); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -22289,7 +22859,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.RemovedFromGameMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:RemovedFromGameMessage) + de.pokerth.protocol.ProtoBuf.RemovedFromGameMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -22350,6 +22922,8 @@ public final class ProtoBuf { if (other.hasRemovedFromGameReason()) { setRemovedFromGameReason(other.getRemovedFromGameReason()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -22384,7 +22958,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -22417,7 +22990,6 @@ public final class ProtoBuf { return this; } - // required .RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason = 2; private de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason_ = de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.RemovedFromGameReason.removedOnRequest; /** * required .RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason = 2; @@ -22464,10 +23036,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -22477,7 +23049,6 @@ public final class ProtoBuf { */ int getGameId(); - // required uint32 playerId = 2; /** * required uint32 playerId = 2; */ @@ -22491,14 +23062,15 @@ public final class ProtoBuf { * Protobuf type {@code KickPlayerRequestMessage} */ public static final class KickPlayerRequestMessage extends - com.google.protobuf.GeneratedMessageLite - implements KickPlayerRequestMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:KickPlayerRequestMessage) + KickPlayerRequestMessageOrBuilder { // Use KickPlayerRequestMessage.newBuilder() to construct. private KickPlayerRequestMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private KickPlayerRequestMessage(boolean noInit) {} + private KickPlayerRequestMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final KickPlayerRequestMessage defaultInstance; public static KickPlayerRequestMessage getDefaultInstance() { @@ -22509,12 +23081,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private KickPlayerRequestMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -22524,7 +23102,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -22548,6 +23126,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -22567,7 +23152,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -22583,7 +23167,6 @@ public final class ProtoBuf { return gameId_; } - // required uint32 playerId = 2; public static final int PLAYERID_FIELD_NUMBER = 2; private int playerId_; /** @@ -22606,7 +23189,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -22629,6 +23213,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt32(2, playerId_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -22645,6 +23230,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, playerId_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -22722,7 +23308,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:KickPlayerRequestMessage) + de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -22783,6 +23371,8 @@ public final class ProtoBuf { if (other.hasPlayerId()) { setPlayerId(other.getPlayerId()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -22817,7 +23407,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -22850,7 +23439,6 @@ public final class ProtoBuf { return this; } - // required uint32 playerId = 2; private int playerId_ ; /** * required uint32 playerId = 2; @@ -22894,10 +23482,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -22911,14 +23499,15 @@ public final class ProtoBuf { * Protobuf type {@code LeaveGameRequestMessage} */ public static final class LeaveGameRequestMessage extends - com.google.protobuf.GeneratedMessageLite - implements LeaveGameRequestMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:LeaveGameRequestMessage) + LeaveGameRequestMessageOrBuilder { // Use LeaveGameRequestMessage.newBuilder() to construct. private LeaveGameRequestMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private LeaveGameRequestMessage(boolean noInit) {} + private LeaveGameRequestMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final LeaveGameRequestMessage defaultInstance; public static LeaveGameRequestMessage getDefaultInstance() { @@ -22929,12 +23518,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private LeaveGameRequestMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -22944,7 +23539,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -22963,6 +23558,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -22982,7 +23584,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -23004,7 +23605,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -23020,6 +23622,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeUInt32(1, gameId_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -23032,6 +23635,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, gameId_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -23109,7 +23713,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:LeaveGameRequestMessage) + de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -23161,6 +23767,8 @@ public final class ProtoBuf { if (other.hasGameId()) { setGameId(other.getGameId()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -23191,7 +23799,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -23235,10 +23842,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -23248,7 +23855,6 @@ public final class ProtoBuf { */ int getGameId(); - // required uint32 playerId = 2; /** * required uint32 playerId = 2; */ @@ -23262,14 +23868,15 @@ public final class ProtoBuf { * Protobuf type {@code InvitePlayerToGameMessage} */ public static final class InvitePlayerToGameMessage extends - com.google.protobuf.GeneratedMessageLite - implements InvitePlayerToGameMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:InvitePlayerToGameMessage) + InvitePlayerToGameMessageOrBuilder { // Use InvitePlayerToGameMessage.newBuilder() to construct. private InvitePlayerToGameMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private InvitePlayerToGameMessage(boolean noInit) {} + private InvitePlayerToGameMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final InvitePlayerToGameMessage defaultInstance; public static InvitePlayerToGameMessage getDefaultInstance() { @@ -23280,12 +23887,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private InvitePlayerToGameMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -23295,7 +23908,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -23319,6 +23932,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -23338,7 +23958,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -23354,7 +23973,6 @@ public final class ProtoBuf { return gameId_; } - // required uint32 playerId = 2; public static final int PLAYERID_FIELD_NUMBER = 2; private int playerId_; /** @@ -23377,7 +23995,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -23400,6 +24019,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt32(2, playerId_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -23416,6 +24036,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, playerId_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -23493,7 +24114,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:InvitePlayerToGameMessage) + de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -23554,6 +24177,8 @@ public final class ProtoBuf { if (other.hasPlayerId()) { setPlayerId(other.getPlayerId()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -23588,7 +24213,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -23621,7 +24245,6 @@ public final class ProtoBuf { return this; } - // required uint32 playerId = 2; private int playerId_ ; /** * required uint32 playerId = 2; @@ -23665,10 +24288,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -23678,7 +24301,6 @@ public final class ProtoBuf { */ int getGameId(); - // required uint32 playerIdWho = 2; /** * required uint32 playerIdWho = 2; */ @@ -23688,7 +24310,6 @@ public final class ProtoBuf { */ int getPlayerIdWho(); - // required uint32 playerIdByWhom = 3; /** * required uint32 playerIdByWhom = 3; */ @@ -23702,14 +24323,15 @@ public final class ProtoBuf { * Protobuf type {@code InviteNotifyMessage} */ public static final class InviteNotifyMessage extends - com.google.protobuf.GeneratedMessageLite - implements InviteNotifyMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:InviteNotifyMessage) + InviteNotifyMessageOrBuilder { // Use InviteNotifyMessage.newBuilder() to construct. private InviteNotifyMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private InviteNotifyMessage(boolean noInit) {} + private InviteNotifyMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final InviteNotifyMessage defaultInstance; public static InviteNotifyMessage getDefaultInstance() { @@ -23720,12 +24342,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private InviteNotifyMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -23735,7 +24363,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -23764,6 +24392,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -23783,7 +24418,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -23799,7 +24433,6 @@ public final class ProtoBuf { return gameId_; } - // required uint32 playerIdWho = 2; public static final int PLAYERIDWHO_FIELD_NUMBER = 2; private int playerIdWho_; /** @@ -23815,7 +24448,6 @@ public final class ProtoBuf { return playerIdWho_; } - // required uint32 playerIdByWhom = 3; public static final int PLAYERIDBYWHOM_FIELD_NUMBER = 3; private int playerIdByWhom_; /** @@ -23839,7 +24471,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -23869,6 +24502,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeUInt32(3, playerIdByWhom_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -23889,6 +24523,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(3, playerIdByWhom_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -23966,7 +24601,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.InviteNotifyMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.InviteNotifyMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:InviteNotifyMessage) + de.pokerth.protocol.ProtoBuf.InviteNotifyMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.InviteNotifyMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -24036,6 +24673,8 @@ public final class ProtoBuf { if (other.hasPlayerIdByWhom()) { setPlayerIdByWhom(other.getPlayerIdByWhom()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -24074,7 +24713,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -24107,7 +24745,6 @@ public final class ProtoBuf { return this; } - // required uint32 playerIdWho = 2; private int playerIdWho_ ; /** * required uint32 playerIdWho = 2; @@ -24140,7 +24777,6 @@ public final class ProtoBuf { return this; } - // required uint32 playerIdByWhom = 3; private int playerIdByWhom_ ; /** * required uint32 playerIdByWhom = 3; @@ -24184,10 +24820,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -24197,7 +24833,6 @@ public final class ProtoBuf { */ int getGameId(); - // required .RejectGameInvitationMessage.RejectGameInvReason myRejectReason = 2; /** * required .RejectGameInvitationMessage.RejectGameInvReason myRejectReason = 2; */ @@ -24211,14 +24846,15 @@ public final class ProtoBuf { * Protobuf type {@code RejectGameInvitationMessage} */ public static final class RejectGameInvitationMessage extends - com.google.protobuf.GeneratedMessageLite - implements RejectGameInvitationMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:RejectGameInvitationMessage) + RejectGameInvitationMessageOrBuilder { // Use RejectGameInvitationMessage.newBuilder() to construct. private RejectGameInvitationMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private RejectGameInvitationMessage(boolean noInit) {} + private RejectGameInvitationMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final RejectGameInvitationMessage defaultInstance; public static RejectGameInvitationMessage getDefaultInstance() { @@ -24229,12 +24865,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private RejectGameInvitationMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -24244,7 +24886,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -24258,7 +24900,10 @@ public final class ProtoBuf { case 16: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason value = de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFieldsCodedOutput.writeRawVarint32(tag); + unknownFieldsCodedOutput.writeRawVarint32(rawValue); + } else { bitField0_ |= 0x00000002; myRejectReason_ = value; } @@ -24272,6 +24917,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -24347,7 +24999,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -24363,7 +25014,6 @@ public final class ProtoBuf { return gameId_; } - // required .RejectGameInvitationMessage.RejectGameInvReason myRejectReason = 2; public static final int MYREJECTREASON_FIELD_NUMBER = 2; private de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason myRejectReason_; /** @@ -24386,7 +25036,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -24409,6 +25060,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeEnum(2, myRejectReason_.getNumber()); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -24425,6 +25077,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, myRejectReason_.getNumber()); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -24502,7 +25155,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:RejectGameInvitationMessage) + de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -24563,6 +25218,8 @@ public final class ProtoBuf { if (other.hasMyRejectReason()) { setMyRejectReason(other.getMyRejectReason()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -24597,7 +25254,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -24630,7 +25286,6 @@ public final class ProtoBuf { return this; } - // required .RejectGameInvitationMessage.RejectGameInvReason myRejectReason = 2; private de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason myRejectReason_ = de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason.rejectReasonNo; /** * required .RejectGameInvitationMessage.RejectGameInvReason myRejectReason = 2; @@ -24677,10 +25332,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -24690,7 +25345,6 @@ public final class ProtoBuf { */ int getGameId(); - // required uint32 playerId = 2; /** * required uint32 playerId = 2; */ @@ -24700,7 +25354,6 @@ public final class ProtoBuf { */ int getPlayerId(); - // required .RejectGameInvitationMessage.RejectGameInvReason playerRejectReason = 3; /** * required .RejectGameInvitationMessage.RejectGameInvReason playerRejectReason = 3; */ @@ -24714,14 +25367,15 @@ public final class ProtoBuf { * Protobuf type {@code RejectInvNotifyMessage} */ public static final class RejectInvNotifyMessage extends - com.google.protobuf.GeneratedMessageLite - implements RejectInvNotifyMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:RejectInvNotifyMessage) + RejectInvNotifyMessageOrBuilder { // Use RejectInvNotifyMessage.newBuilder() to construct. private RejectInvNotifyMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private RejectInvNotifyMessage(boolean noInit) {} + private RejectInvNotifyMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final RejectInvNotifyMessage defaultInstance; public static RejectInvNotifyMessage getDefaultInstance() { @@ -24732,12 +25386,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private RejectInvNotifyMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -24747,7 +25407,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -24766,7 +25426,10 @@ public final class ProtoBuf { case 24: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason value = de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFieldsCodedOutput.writeRawVarint32(tag); + unknownFieldsCodedOutput.writeRawVarint32(rawValue); + } else { bitField0_ |= 0x00000004; playerRejectReason_ = value; } @@ -24780,6 +25443,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -24799,7 +25469,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -24815,7 +25484,6 @@ public final class ProtoBuf { return gameId_; } - // required uint32 playerId = 2; public static final int PLAYERID_FIELD_NUMBER = 2; private int playerId_; /** @@ -24831,7 +25499,6 @@ public final class ProtoBuf { return playerId_; } - // required .RejectGameInvitationMessage.RejectGameInvReason playerRejectReason = 3; public static final int PLAYERREJECTREASON_FIELD_NUMBER = 3; private de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason playerRejectReason_; /** @@ -24855,7 +25522,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -24885,6 +25553,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeEnum(3, playerRejectReason_.getNumber()); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -24905,6 +25574,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeEnumSize(3, playerRejectReason_.getNumber()); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -24982,7 +25652,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:RejectInvNotifyMessage) + de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -25052,6 +25724,8 @@ public final class ProtoBuf { if (other.hasPlayerRejectReason()) { setPlayerRejectReason(other.getPlayerRejectReason()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -25090,7 +25764,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -25123,7 +25796,6 @@ public final class ProtoBuf { return this; } - // required uint32 playerId = 2; private int playerId_ ; /** * required uint32 playerId = 2; @@ -25156,7 +25828,6 @@ public final class ProtoBuf { return this; } - // required .RejectGameInvitationMessage.RejectGameInvReason playerRejectReason = 3; private de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason playerRejectReason_ = de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason.rejectReasonNo; /** * required .RejectGameInvitationMessage.RejectGameInvReason playerRejectReason = 3; @@ -25203,10 +25874,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -25216,7 +25887,6 @@ public final class ProtoBuf { */ int getGameId(); - // required .StartEventMessage.StartEventType startEventType = 2; /** * required .StartEventMessage.StartEventType startEventType = 2; */ @@ -25226,7 +25896,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.StartEventMessage.StartEventType getStartEventType(); - // optional bool fillWithComputerPlayers = 3; /** * optional bool fillWithComputerPlayers = 3; */ @@ -25240,14 +25909,15 @@ public final class ProtoBuf { * Protobuf type {@code StartEventMessage} */ public static final class StartEventMessage extends - com.google.protobuf.GeneratedMessageLite - implements StartEventMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:StartEventMessage) + StartEventMessageOrBuilder { // Use StartEventMessage.newBuilder() to construct. private StartEventMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private StartEventMessage(boolean noInit) {} + private StartEventMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final StartEventMessage defaultInstance; public static StartEventMessage getDefaultInstance() { @@ -25258,12 +25928,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private StartEventMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -25273,7 +25949,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -25287,7 +25963,10 @@ public final class ProtoBuf { case 16: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.StartEventMessage.StartEventType value = de.pokerth.protocol.ProtoBuf.StartEventMessage.StartEventType.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFieldsCodedOutput.writeRawVarint32(tag); + unknownFieldsCodedOutput.writeRawVarint32(rawValue); + } else { bitField0_ |= 0x00000002; startEventType_ = value; } @@ -25306,6 +25985,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -25381,7 +26067,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -25397,7 +26082,6 @@ public final class ProtoBuf { return gameId_; } - // required .StartEventMessage.StartEventType startEventType = 2; public static final int STARTEVENTTYPE_FIELD_NUMBER = 2; private de.pokerth.protocol.ProtoBuf.StartEventMessage.StartEventType startEventType_; /** @@ -25413,7 +26097,6 @@ public final class ProtoBuf { return startEventType_; } - // optional bool fillWithComputerPlayers = 3; public static final int FILLWITHCOMPUTERPLAYERS_FIELD_NUMBER = 3; private boolean fillWithComputerPlayers_; /** @@ -25437,7 +26120,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -25463,6 +26147,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBool(3, fillWithComputerPlayers_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -25483,6 +26168,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, fillWithComputerPlayers_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -25560,7 +26246,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.StartEventMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.StartEventMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:StartEventMessage) + de.pokerth.protocol.ProtoBuf.StartEventMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.StartEventMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -25630,6 +26318,8 @@ public final class ProtoBuf { if (other.hasFillWithComputerPlayers()) { setFillWithComputerPlayers(other.getFillWithComputerPlayers()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -25664,7 +26354,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -25697,7 +26386,6 @@ public final class ProtoBuf { return this; } - // required .StartEventMessage.StartEventType startEventType = 2; private de.pokerth.protocol.ProtoBuf.StartEventMessage.StartEventType startEventType_ = de.pokerth.protocol.ProtoBuf.StartEventMessage.StartEventType.startEvent; /** * required .StartEventMessage.StartEventType startEventType = 2; @@ -25733,7 +26421,6 @@ public final class ProtoBuf { return this; } - // optional bool fillWithComputerPlayers = 3; private boolean fillWithComputerPlayers_ ; /** * optional bool fillWithComputerPlayers = 3; @@ -25777,10 +26464,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -25794,14 +26481,15 @@ public final class ProtoBuf { * Protobuf type {@code StartEventAckMessage} */ public static final class StartEventAckMessage extends - com.google.protobuf.GeneratedMessageLite - implements StartEventAckMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:StartEventAckMessage) + StartEventAckMessageOrBuilder { // Use StartEventAckMessage.newBuilder() to construct. private StartEventAckMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private StartEventAckMessage(boolean noInit) {} + private StartEventAckMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final StartEventAckMessage defaultInstance; public static StartEventAckMessage getDefaultInstance() { @@ -25812,12 +26500,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private StartEventAckMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -25827,7 +26521,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -25846,6 +26540,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -25865,7 +26566,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -25887,7 +26587,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -25903,6 +26604,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeUInt32(1, gameId_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -25915,6 +26617,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, gameId_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -25992,7 +26695,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.StartEventAckMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.StartEventAckMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:StartEventAckMessage) + de.pokerth.protocol.ProtoBuf.StartEventAckMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.StartEventAckMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -26044,6 +26749,8 @@ public final class ProtoBuf { if (other.hasGameId()) { setGameId(other.getGameId()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -26074,7 +26781,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -26118,10 +26824,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -26131,7 +26837,6 @@ public final class ProtoBuf { */ int getGameId(); - // required uint32 startDealerPlayerId = 2; /** * required uint32 startDealerPlayerId = 2; */ @@ -26141,7 +26846,6 @@ public final class ProtoBuf { */ int getStartDealerPlayerId(); - // repeated uint32 playerSeats = 3 [packed = true]; /** * repeated uint32 playerSeats = 3 [packed = true]; */ @@ -26159,14 +26863,15 @@ public final class ProtoBuf { * Protobuf type {@code GameStartInitialMessage} */ public static final class GameStartInitialMessage extends - com.google.protobuf.GeneratedMessageLite - implements GameStartInitialMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:GameStartInitialMessage) + GameStartInitialMessageOrBuilder { // Use GameStartInitialMessage.newBuilder() to construct. private GameStartInitialMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private GameStartInitialMessage(boolean noInit) {} + private GameStartInitialMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final GameStartInitialMessage defaultInstance; public static GameStartInitialMessage getDefaultInstance() { @@ -26177,12 +26882,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private GameStartInitialMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -26192,7 +26903,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -26240,6 +26951,13 @@ public final class ProtoBuf { if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) { playerSeats_ = java.util.Collections.unmodifiableList(playerSeats_); } + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -26259,7 +26977,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -26275,7 +26992,6 @@ public final class ProtoBuf { return gameId_; } - // required uint32 startDealerPlayerId = 2; public static final int STARTDEALERPLAYERID_FIELD_NUMBER = 2; private int startDealerPlayerId_; /** @@ -26291,7 +27007,6 @@ public final class ProtoBuf { return startDealerPlayerId_; } - // repeated uint32 playerSeats = 3 [packed = true]; public static final int PLAYERSEATS_FIELD_NUMBER = 3; private java.util.List playerSeats_; /** @@ -26323,7 +27038,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -26353,6 +27069,7 @@ public final class ProtoBuf { for (int i = 0; i < playerSeats_.size(); i++) { output.writeUInt32NoTag(playerSeats_.get(i)); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -26383,6 +27100,7 @@ public final class ProtoBuf { } playerSeatsMemoizedSerializedSize = dataSize; } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -26460,7 +27178,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.GameStartInitialMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.GameStartInitialMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:GameStartInitialMessage) + de.pokerth.protocol.ProtoBuf.GameStartInitialMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.GameStartInitialMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -26538,6 +27258,8 @@ public final class ProtoBuf { } } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -26572,7 +27294,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -26605,7 +27326,6 @@ public final class ProtoBuf { return this; } - // required uint32 startDealerPlayerId = 2; private int startDealerPlayerId_ ; /** * required uint32 startDealerPlayerId = 2; @@ -26638,7 +27358,6 @@ public final class ProtoBuf { return this; } - // repeated uint32 playerSeats = 3 [packed = true]; private java.util.List playerSeats_ = java.util.Collections.emptyList(); private void ensurePlayerSeatsIsMutable() { if (!((bitField0_ & 0x00000004) == 0x00000004)) { @@ -26690,7 +27409,8 @@ public final class ProtoBuf { public Builder addAllPlayerSeats( java.lang.Iterable values) { ensurePlayerSeatsIsMutable(); - super.addAll(values, playerSeats_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, playerSeats_); return this; } @@ -26715,10 +27435,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -26728,7 +27448,6 @@ public final class ProtoBuf { */ int getGameId(); - // required uint32 startDealerPlayerId = 2; /** * required uint32 startDealerPlayerId = 2; */ @@ -26738,7 +27457,6 @@ public final class ProtoBuf { */ int getStartDealerPlayerId(); - // required uint32 handNum = 3; /** * required uint32 handNum = 3; */ @@ -26748,7 +27466,6 @@ public final class ProtoBuf { */ int getHandNum(); - // repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; /** * repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; */ @@ -26767,14 +27484,15 @@ public final class ProtoBuf { * Protobuf type {@code GameStartRejoinMessage} */ public static final class GameStartRejoinMessage extends - com.google.protobuf.GeneratedMessageLite - implements GameStartRejoinMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:GameStartRejoinMessage) + GameStartRejoinMessageOrBuilder { // Use GameStartRejoinMessage.newBuilder() to construct. private GameStartRejoinMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private GameStartRejoinMessage(boolean noInit) {} + private GameStartRejoinMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final GameStartRejoinMessage defaultInstance; public static GameStartRejoinMessage getDefaultInstance() { @@ -26785,12 +27503,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private GameStartRejoinMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -26800,7 +27524,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -26840,6 +27564,13 @@ public final class ProtoBuf { if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) { rejoinPlayerData_ = java.util.Collections.unmodifiableList(rejoinPlayerData_); } + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -26858,10 +27589,10 @@ public final class ProtoBuf { return PARSER; } - public interface RejoinPlayerDataOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface RejoinPlayerDataOrBuilder extends + // @@protoc_insertion_point(interface_extends:GameStartRejoinMessage.RejoinPlayerData) + com.google.protobuf.MessageLiteOrBuilder { - // required uint32 playerId = 1; /** * required uint32 playerId = 1; */ @@ -26871,7 +27602,6 @@ public final class ProtoBuf { */ int getPlayerId(); - // required uint32 playerMoney = 2; /** * required uint32 playerMoney = 2; */ @@ -26885,14 +27615,15 @@ public final class ProtoBuf { * Protobuf type {@code GameStartRejoinMessage.RejoinPlayerData} */ public static final class RejoinPlayerData extends - com.google.protobuf.GeneratedMessageLite - implements RejoinPlayerDataOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:GameStartRejoinMessage.RejoinPlayerData) + RejoinPlayerDataOrBuilder { // Use RejoinPlayerData.newBuilder() to construct. private RejoinPlayerData(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private RejoinPlayerData(boolean noInit) {} + private RejoinPlayerData(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final RejoinPlayerData defaultInstance; public static RejoinPlayerData getDefaultInstance() { @@ -26903,12 +27634,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private RejoinPlayerData( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -26918,7 +27655,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -26942,6 +27679,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -26961,7 +27705,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 playerId = 1; public static final int PLAYERID_FIELD_NUMBER = 1; private int playerId_; /** @@ -26977,7 +27720,6 @@ public final class ProtoBuf { return playerId_; } - // required uint32 playerMoney = 2; public static final int PLAYERMONEY_FIELD_NUMBER = 2; private int playerMoney_; /** @@ -27000,7 +27742,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -27023,6 +27766,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt32(2, playerMoney_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -27039,6 +27783,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, playerMoney_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -27116,7 +27861,9 @@ public final class ProtoBuf { 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 { + implements + // @@protoc_insertion_point(builder_implements:GameStartRejoinMessage.RejoinPlayerData) + de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerDataOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -27177,6 +27924,8 @@ public final class ProtoBuf { if (other.hasPlayerMoney()) { setPlayerMoney(other.getPlayerMoney()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -27211,7 +27960,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 playerId = 1; private int playerId_ ; /** * required uint32 playerId = 1; @@ -27244,7 +27992,6 @@ public final class ProtoBuf { return this; } - // required uint32 playerMoney = 2; private int playerMoney_ ; /** * required uint32 playerMoney = 2; @@ -27289,7 +28036,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -27305,7 +28051,6 @@ public final class ProtoBuf { return gameId_; } - // required uint32 startDealerPlayerId = 2; public static final int STARTDEALERPLAYERID_FIELD_NUMBER = 2; private int startDealerPlayerId_; /** @@ -27321,7 +28066,6 @@ public final class ProtoBuf { return startDealerPlayerId_; } - // required uint32 handNum = 3; public static final int HANDNUM_FIELD_NUMBER = 3; private int handNum_; /** @@ -27337,7 +28081,6 @@ public final class ProtoBuf { return handNum_; } - // repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; public static final int REJOINPLAYERDATA_FIELD_NUMBER = 4; private java.util.List rejoinPlayerData_; /** @@ -27382,7 +28125,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -27421,6 +28165,7 @@ public final class ProtoBuf { for (int i = 0; i < rejoinPlayerData_.size(); i++) { output.writeMessage(4, rejoinPlayerData_.get(i)); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -27445,6 +28190,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, rejoinPlayerData_.get(i)); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -27522,7 +28268,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.GameStartRejoinMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:GameStartRejoinMessage) + de.pokerth.protocol.ProtoBuf.GameStartRejoinMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -27609,6 +28357,8 @@ public final class ProtoBuf { } } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -27653,7 +28403,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -27686,7 +28435,6 @@ public final class ProtoBuf { return this; } - // required uint32 startDealerPlayerId = 2; private int startDealerPlayerId_ ; /** * required uint32 startDealerPlayerId = 2; @@ -27719,7 +28467,6 @@ public final class ProtoBuf { return this; } - // required uint32 handNum = 3; private int handNum_ ; /** * required uint32 handNum = 3; @@ -27752,7 +28499,6 @@ public final class ProtoBuf { return this; } - // repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; private java.util.List rejoinPlayerData_ = java.util.Collections.emptyList(); private void ensureRejoinPlayerDataIsMutable() { @@ -27854,7 +28600,8 @@ public final class ProtoBuf { public Builder addAllRejoinPlayerData( java.lang.Iterable values) { ensureRejoinPlayerDataIsMutable(); - super.addAll(values, rejoinPlayerData_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, rejoinPlayerData_); return this; } @@ -27888,10 +28635,10 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:GameStartRejoinMessage) } - public interface HandStartMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface HandStartMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:HandStartMessage) + com.google.protobuf.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -27901,7 +28648,6 @@ public final class ProtoBuf { */ int getGameId(); - // optional .HandStartMessage.PlainCards plainCards = 2; /** * optional .HandStartMessage.PlainCards plainCards = 2; */ @@ -27911,7 +28657,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards getPlainCards(); - // optional bytes encryptedCards = 3; /** * optional bytes encryptedCards = 3; */ @@ -27921,7 +28666,6 @@ public final class ProtoBuf { */ com.google.protobuf.ByteString getEncryptedCards(); - // required uint32 smallBlind = 4; /** * required uint32 smallBlind = 4; */ @@ -27931,7 +28675,6 @@ public final class ProtoBuf { */ int getSmallBlind(); - // repeated .NetPlayerState seatStates = 5; /** * repeated .NetPlayerState seatStates = 5; */ @@ -27945,7 +28688,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.NetPlayerState getSeatStates(int index); - // optional uint32 dealerPlayerId = 6; /** * optional uint32 dealerPlayerId = 6; */ @@ -27959,14 +28701,15 @@ public final class ProtoBuf { * Protobuf type {@code HandStartMessage} */ public static final class HandStartMessage extends - com.google.protobuf.GeneratedMessageLite - implements HandStartMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:HandStartMessage) + HandStartMessageOrBuilder { // Use HandStartMessage.newBuilder() to construct. private HandStartMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private HandStartMessage(boolean noInit) {} + private HandStartMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final HandStartMessage defaultInstance; public static HandStartMessage getDefaultInstance() { @@ -27977,12 +28720,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private HandStartMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -27992,7 +28741,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -28029,7 +28778,10 @@ public final class ProtoBuf { case 40: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.NetPlayerState value = de.pokerth.protocol.ProtoBuf.NetPlayerState.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFieldsCodedOutput.writeRawVarint32(tag); + unknownFieldsCodedOutput.writeRawVarint32(rawValue); + } else { if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) { seatStates_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000010; @@ -28044,7 +28796,10 @@ public final class ProtoBuf { while(input.getBytesUntilLimit() > 0) { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.NetPlayerState value = de.pokerth.protocol.ProtoBuf.NetPlayerState.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFieldsCodedOutput.writeRawVarint32(tag); + unknownFieldsCodedOutput.writeRawVarint32(rawValue); + } else { if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) { seatStates_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000010; @@ -28071,6 +28826,13 @@ public final class ProtoBuf { if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) { seatStates_ = java.util.Collections.unmodifiableList(seatStates_); } + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -28089,10 +28851,10 @@ public final class ProtoBuf { return PARSER; } - public interface PlainCardsOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface PlainCardsOrBuilder extends + // @@protoc_insertion_point(interface_extends:HandStartMessage.PlainCards) + com.google.protobuf.MessageLiteOrBuilder { - // required uint32 plainCard1 = 1; /** * required uint32 plainCard1 = 1; */ @@ -28102,7 +28864,6 @@ public final class ProtoBuf { */ int getPlainCard1(); - // required uint32 plainCard2 = 2; /** * required uint32 plainCard2 = 2; */ @@ -28116,14 +28877,15 @@ public final class ProtoBuf { * Protobuf type {@code HandStartMessage.PlainCards} */ public static final class PlainCards extends - com.google.protobuf.GeneratedMessageLite - implements PlainCardsOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:HandStartMessage.PlainCards) + PlainCardsOrBuilder { // Use PlainCards.newBuilder() to construct. private PlainCards(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private PlainCards(boolean noInit) {} + private PlainCards(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final PlainCards defaultInstance; public static PlainCards getDefaultInstance() { @@ -28134,12 +28896,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private PlainCards( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -28149,7 +28917,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -28173,6 +28941,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -28192,7 +28967,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 plainCard1 = 1; public static final int PLAINCARD1_FIELD_NUMBER = 1; private int plainCard1_; /** @@ -28208,7 +28982,6 @@ public final class ProtoBuf { return plainCard1_; } - // required uint32 plainCard2 = 2; public static final int PLAINCARD2_FIELD_NUMBER = 2; private int plainCard2_; /** @@ -28231,7 +29004,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -28254,6 +29028,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt32(2, plainCard2_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -28270,6 +29045,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, plainCard2_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -28347,7 +29123,9 @@ public final class ProtoBuf { 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 { + implements + // @@protoc_insertion_point(builder_implements:HandStartMessage.PlainCards) + de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCardsOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -28408,6 +29186,8 @@ public final class ProtoBuf { if (other.hasPlainCard2()) { setPlainCard2(other.getPlainCard2()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -28442,7 +29222,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 plainCard1 = 1; private int plainCard1_ ; /** * required uint32 plainCard1 = 1; @@ -28475,7 +29254,6 @@ public final class ProtoBuf { return this; } - // required uint32 plainCard2 = 2; private int plainCard2_ ; /** * required uint32 plainCard2 = 2; @@ -28520,7 +29298,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -28536,7 +29313,6 @@ public final class ProtoBuf { return gameId_; } - // optional .HandStartMessage.PlainCards plainCards = 2; public static final int PLAINCARDS_FIELD_NUMBER = 2; private de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards plainCards_; /** @@ -28552,7 +29328,6 @@ public final class ProtoBuf { return plainCards_; } - // optional bytes encryptedCards = 3; public static final int ENCRYPTEDCARDS_FIELD_NUMBER = 3; private com.google.protobuf.ByteString encryptedCards_; /** @@ -28568,7 +29343,6 @@ public final class ProtoBuf { return encryptedCards_; } - // required uint32 smallBlind = 4; public static final int SMALLBLIND_FIELD_NUMBER = 4; private int smallBlind_; /** @@ -28584,7 +29358,6 @@ public final class ProtoBuf { return smallBlind_; } - // repeated .NetPlayerState seatStates = 5; public static final int SEATSTATES_FIELD_NUMBER = 5; private java.util.List seatStates_; /** @@ -28606,7 +29379,6 @@ public final class ProtoBuf { return seatStates_.get(index); } - // optional uint32 dealerPlayerId = 6; public static final int DEALERPLAYERID_FIELD_NUMBER = 6; private int dealerPlayerId_; /** @@ -28633,7 +29405,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -28674,6 +29447,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeUInt32(6, dealerPlayerId_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -28711,6 +29485,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(6, dealerPlayerId_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -28788,7 +29563,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.HandStartMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.HandStartMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:HandStartMessage) + de.pokerth.protocol.ProtoBuf.HandStartMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.HandStartMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -28893,6 +29670,8 @@ public final class ProtoBuf { if (other.hasDealerPlayerId()) { setDealerPlayerId(other.getDealerPlayerId()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -28933,7 +29712,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -28966,7 +29744,6 @@ public final class ProtoBuf { return this; } - // optional .HandStartMessage.PlainCards plainCards = 2; private de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards plainCards_ = de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards.getDefaultInstance(); /** * optional .HandStartMessage.PlainCards plainCards = 2; @@ -29027,7 +29804,6 @@ public final class ProtoBuf { return this; } - // optional bytes encryptedCards = 3; private com.google.protobuf.ByteString encryptedCards_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes encryptedCards = 3; @@ -29063,7 +29839,6 @@ public final class ProtoBuf { return this; } - // required uint32 smallBlind = 4; private int smallBlind_ ; /** * required uint32 smallBlind = 4; @@ -29096,7 +29871,6 @@ public final class ProtoBuf { return this; } - // repeated .NetPlayerState seatStates = 5; private java.util.List seatStates_ = java.util.Collections.emptyList(); private void ensureSeatStatesIsMutable() { @@ -29154,7 +29928,8 @@ public final class ProtoBuf { public Builder addAllSeatStates( java.lang.Iterable values) { ensureSeatStatesIsMutable(); - super.addAll(values, seatStates_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, seatStates_); return this; } @@ -29168,7 +29943,6 @@ public final class ProtoBuf { return this; } - // optional uint32 dealerPlayerId = 6; private int dealerPlayerId_ ; /** * optional uint32 dealerPlayerId = 6; @@ -29212,10 +29986,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -29225,7 +29999,6 @@ public final class ProtoBuf { */ int getGameId(); - // required uint32 playerId = 2; /** * required uint32 playerId = 2; */ @@ -29235,7 +30008,6 @@ public final class ProtoBuf { */ int getPlayerId(); - // required .NetGameState gameState = 3; /** * required .NetGameState gameState = 3; */ @@ -29249,14 +30021,15 @@ public final class ProtoBuf { * Protobuf type {@code PlayersTurnMessage} */ public static final class PlayersTurnMessage extends - com.google.protobuf.GeneratedMessageLite - implements PlayersTurnMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:PlayersTurnMessage) + PlayersTurnMessageOrBuilder { // Use PlayersTurnMessage.newBuilder() to construct. private PlayersTurnMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private PlayersTurnMessage(boolean noInit) {} + private PlayersTurnMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final PlayersTurnMessage defaultInstance; public static PlayersTurnMessage getDefaultInstance() { @@ -29267,12 +30040,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private PlayersTurnMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -29282,7 +30061,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -29301,7 +30080,10 @@ public final class ProtoBuf { case 24: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.NetGameState value = de.pokerth.protocol.ProtoBuf.NetGameState.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFieldsCodedOutput.writeRawVarint32(tag); + unknownFieldsCodedOutput.writeRawVarint32(rawValue); + } else { bitField0_ |= 0x00000004; gameState_ = value; } @@ -29315,6 +30097,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -29334,7 +30123,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -29350,7 +30138,6 @@ public final class ProtoBuf { return gameId_; } - // required uint32 playerId = 2; public static final int PLAYERID_FIELD_NUMBER = 2; private int playerId_; /** @@ -29366,7 +30153,6 @@ public final class ProtoBuf { return playerId_; } - // required .NetGameState gameState = 3; public static final int GAMESTATE_FIELD_NUMBER = 3; private de.pokerth.protocol.ProtoBuf.NetGameState gameState_; /** @@ -29390,7 +30176,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -29420,6 +30207,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeEnum(3, gameState_.getNumber()); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -29440,6 +30228,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeEnumSize(3, gameState_.getNumber()); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -29517,7 +30306,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.PlayersTurnMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.PlayersTurnMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:PlayersTurnMessage) + de.pokerth.protocol.ProtoBuf.PlayersTurnMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.PlayersTurnMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -29587,6 +30378,8 @@ public final class ProtoBuf { if (other.hasGameState()) { setGameState(other.getGameState()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -29625,7 +30418,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -29658,7 +30450,6 @@ public final class ProtoBuf { return this; } - // required uint32 playerId = 2; private int playerId_ ; /** * required uint32 playerId = 2; @@ -29691,7 +30482,6 @@ public final class ProtoBuf { return this; } - // required .NetGameState gameState = 3; private de.pokerth.protocol.ProtoBuf.NetGameState gameState_ = de.pokerth.protocol.ProtoBuf.NetGameState.netStatePreflop; /** * required .NetGameState gameState = 3; @@ -29738,10 +30528,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -29751,7 +30541,6 @@ public final class ProtoBuf { */ int getGameId(); - // required uint32 handNum = 2; /** * required uint32 handNum = 2; */ @@ -29761,7 +30550,6 @@ public final class ProtoBuf { */ int getHandNum(); - // required .NetGameState gameState = 3; /** * required .NetGameState gameState = 3; */ @@ -29771,7 +30559,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.NetGameState getGameState(); - // required .NetPlayerAction myAction = 4; /** * required .NetPlayerAction myAction = 4; */ @@ -29781,7 +30568,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.NetPlayerAction getMyAction(); - // required uint32 myRelativeBet = 5; /** * required uint32 myRelativeBet = 5; */ @@ -29795,14 +30581,15 @@ public final class ProtoBuf { * Protobuf type {@code MyActionRequestMessage} */ public static final class MyActionRequestMessage extends - com.google.protobuf.GeneratedMessageLite - implements MyActionRequestMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:MyActionRequestMessage) + MyActionRequestMessageOrBuilder { // Use MyActionRequestMessage.newBuilder() to construct. private MyActionRequestMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private MyActionRequestMessage(boolean noInit) {} + private MyActionRequestMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final MyActionRequestMessage defaultInstance; public static MyActionRequestMessage getDefaultInstance() { @@ -29813,12 +30600,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private MyActionRequestMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -29828,7 +30621,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -29847,7 +30640,10 @@ public final class ProtoBuf { case 24: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.NetGameState value = de.pokerth.protocol.ProtoBuf.NetGameState.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFieldsCodedOutput.writeRawVarint32(tag); + unknownFieldsCodedOutput.writeRawVarint32(rawValue); + } else { bitField0_ |= 0x00000004; gameState_ = value; } @@ -29856,7 +30652,10 @@ public final class ProtoBuf { case 32: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.NetPlayerAction value = de.pokerth.protocol.ProtoBuf.NetPlayerAction.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFieldsCodedOutput.writeRawVarint32(tag); + unknownFieldsCodedOutput.writeRawVarint32(rawValue); + } else { bitField0_ |= 0x00000008; myAction_ = value; } @@ -29875,6 +30674,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -29894,7 +30700,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -29910,7 +30715,6 @@ public final class ProtoBuf { return gameId_; } - // required uint32 handNum = 2; public static final int HANDNUM_FIELD_NUMBER = 2; private int handNum_; /** @@ -29926,7 +30730,6 @@ public final class ProtoBuf { return handNum_; } - // required .NetGameState gameState = 3; public static final int GAMESTATE_FIELD_NUMBER = 3; private de.pokerth.protocol.ProtoBuf.NetGameState gameState_; /** @@ -29942,7 +30745,6 @@ public final class ProtoBuf { return gameState_; } - // required .NetPlayerAction myAction = 4; public static final int MYACTION_FIELD_NUMBER = 4; private de.pokerth.protocol.ProtoBuf.NetPlayerAction myAction_; /** @@ -29958,7 +30760,6 @@ public final class ProtoBuf { return myAction_; } - // required uint32 myRelativeBet = 5; public static final int MYRELATIVEBET_FIELD_NUMBER = 5; private int myRelativeBet_; /** @@ -29984,7 +30785,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -30028,6 +30830,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeUInt32(5, myRelativeBet_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -30056,6 +30859,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(5, myRelativeBet_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -30133,7 +30937,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.MyActionRequestMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.MyActionRequestMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:MyActionRequestMessage) + de.pokerth.protocol.ProtoBuf.MyActionRequestMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.MyActionRequestMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -30221,6 +31027,8 @@ public final class ProtoBuf { if (other.hasMyRelativeBet()) { setMyRelativeBet(other.getMyRelativeBet()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -30267,7 +31075,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -30300,7 +31107,6 @@ public final class ProtoBuf { return this; } - // required uint32 handNum = 2; private int handNum_ ; /** * required uint32 handNum = 2; @@ -30333,7 +31139,6 @@ public final class ProtoBuf { return this; } - // required .NetGameState gameState = 3; private de.pokerth.protocol.ProtoBuf.NetGameState gameState_ = de.pokerth.protocol.ProtoBuf.NetGameState.netStatePreflop; /** * required .NetGameState gameState = 3; @@ -30369,7 +31174,6 @@ public final class ProtoBuf { return this; } - // required .NetPlayerAction myAction = 4; private de.pokerth.protocol.ProtoBuf.NetPlayerAction myAction_ = de.pokerth.protocol.ProtoBuf.NetPlayerAction.netActionNone; /** * required .NetPlayerAction myAction = 4; @@ -30405,7 +31209,6 @@ public final class ProtoBuf { return this; } - // required uint32 myRelativeBet = 5; private int myRelativeBet_ ; /** * required uint32 myRelativeBet = 5; @@ -30449,10 +31252,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -30462,7 +31265,6 @@ public final class ProtoBuf { */ int getGameId(); - // required .NetGameState gameState = 2; /** * required .NetGameState gameState = 2; */ @@ -30472,7 +31274,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.NetGameState getGameState(); - // required .NetPlayerAction yourAction = 3; /** * required .NetPlayerAction yourAction = 3; */ @@ -30482,7 +31283,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.NetPlayerAction getYourAction(); - // required uint32 yourRelativeBet = 4; /** * required uint32 yourRelativeBet = 4; */ @@ -30492,7 +31292,6 @@ public final class ProtoBuf { */ int getYourRelativeBet(); - // required .YourActionRejectedMessage.RejectionReason rejectionReason = 5; /** * required .YourActionRejectedMessage.RejectionReason rejectionReason = 5; */ @@ -30506,14 +31305,15 @@ public final class ProtoBuf { * Protobuf type {@code YourActionRejectedMessage} */ public static final class YourActionRejectedMessage extends - com.google.protobuf.GeneratedMessageLite - implements YourActionRejectedMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:YourActionRejectedMessage) + YourActionRejectedMessageOrBuilder { // Use YourActionRejectedMessage.newBuilder() to construct. private YourActionRejectedMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private YourActionRejectedMessage(boolean noInit) {} + private YourActionRejectedMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final YourActionRejectedMessage defaultInstance; public static YourActionRejectedMessage getDefaultInstance() { @@ -30524,12 +31324,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private YourActionRejectedMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -30539,7 +31345,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -30553,7 +31359,10 @@ public final class ProtoBuf { case 16: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.NetGameState value = de.pokerth.protocol.ProtoBuf.NetGameState.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFieldsCodedOutput.writeRawVarint32(tag); + unknownFieldsCodedOutput.writeRawVarint32(rawValue); + } else { bitField0_ |= 0x00000002; gameState_ = value; } @@ -30562,7 +31371,10 @@ public final class ProtoBuf { case 24: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.NetPlayerAction value = de.pokerth.protocol.ProtoBuf.NetPlayerAction.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFieldsCodedOutput.writeRawVarint32(tag); + unknownFieldsCodedOutput.writeRawVarint32(rawValue); + } else { bitField0_ |= 0x00000004; yourAction_ = value; } @@ -30576,7 +31388,10 @@ public final class ProtoBuf { case 40: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.RejectionReason value = de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.RejectionReason.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFieldsCodedOutput.writeRawVarint32(tag); + unknownFieldsCodedOutput.writeRawVarint32(rawValue); + } else { bitField0_ |= 0x00000010; rejectionReason_ = value; } @@ -30590,6 +31405,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -30674,7 +31496,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -30690,7 +31511,6 @@ public final class ProtoBuf { return gameId_; } - // required .NetGameState gameState = 2; public static final int GAMESTATE_FIELD_NUMBER = 2; private de.pokerth.protocol.ProtoBuf.NetGameState gameState_; /** @@ -30706,7 +31526,6 @@ public final class ProtoBuf { return gameState_; } - // required .NetPlayerAction yourAction = 3; public static final int YOURACTION_FIELD_NUMBER = 3; private de.pokerth.protocol.ProtoBuf.NetPlayerAction yourAction_; /** @@ -30722,7 +31541,6 @@ public final class ProtoBuf { return yourAction_; } - // required uint32 yourRelativeBet = 4; public static final int YOURRELATIVEBET_FIELD_NUMBER = 4; private int yourRelativeBet_; /** @@ -30738,7 +31556,6 @@ public final class ProtoBuf { return yourRelativeBet_; } - // required .YourActionRejectedMessage.RejectionReason rejectionReason = 5; public static final int REJECTIONREASON_FIELD_NUMBER = 5; private de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.RejectionReason rejectionReason_; /** @@ -30764,7 +31581,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -30808,6 +31626,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeEnum(5, rejectionReason_.getNumber()); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -30836,6 +31655,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeEnumSize(5, rejectionReason_.getNumber()); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -30913,7 +31733,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.YourActionRejectedMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:YourActionRejectedMessage) + de.pokerth.protocol.ProtoBuf.YourActionRejectedMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -31001,6 +31823,8 @@ public final class ProtoBuf { if (other.hasRejectionReason()) { setRejectionReason(other.getRejectionReason()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -31047,7 +31871,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -31080,7 +31903,6 @@ public final class ProtoBuf { return this; } - // required .NetGameState gameState = 2; private de.pokerth.protocol.ProtoBuf.NetGameState gameState_ = de.pokerth.protocol.ProtoBuf.NetGameState.netStatePreflop; /** * required .NetGameState gameState = 2; @@ -31116,7 +31938,6 @@ public final class ProtoBuf { return this; } - // required .NetPlayerAction yourAction = 3; private de.pokerth.protocol.ProtoBuf.NetPlayerAction yourAction_ = de.pokerth.protocol.ProtoBuf.NetPlayerAction.netActionNone; /** * required .NetPlayerAction yourAction = 3; @@ -31152,7 +31973,6 @@ public final class ProtoBuf { return this; } - // required uint32 yourRelativeBet = 4; private int yourRelativeBet_ ; /** * required uint32 yourRelativeBet = 4; @@ -31185,7 +32005,6 @@ public final class ProtoBuf { return this; } - // required .YourActionRejectedMessage.RejectionReason rejectionReason = 5; private de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.RejectionReason rejectionReason_ = de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.RejectionReason.rejectedInvalidGameState; /** * required .YourActionRejectedMessage.RejectionReason rejectionReason = 5; @@ -31232,10 +32051,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -31245,7 +32064,6 @@ public final class ProtoBuf { */ int getGameId(); - // required uint32 playerId = 2; /** * required uint32 playerId = 2; */ @@ -31255,7 +32073,6 @@ public final class ProtoBuf { */ int getPlayerId(); - // required .NetGameState gameState = 3; /** * required .NetGameState gameState = 3; */ @@ -31265,7 +32082,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.NetGameState getGameState(); - // required .NetPlayerAction playerAction = 4; /** * required .NetPlayerAction playerAction = 4; */ @@ -31275,7 +32091,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.NetPlayerAction getPlayerAction(); - // required uint32 totalPlayerBet = 5; /** * required uint32 totalPlayerBet = 5; */ @@ -31285,7 +32100,6 @@ public final class ProtoBuf { */ int getTotalPlayerBet(); - // required uint32 playerMoney = 6; /** * required uint32 playerMoney = 6; */ @@ -31295,7 +32109,6 @@ public final class ProtoBuf { */ int getPlayerMoney(); - // required uint32 highestSet = 7; /** * required uint32 highestSet = 7; */ @@ -31305,7 +32118,6 @@ public final class ProtoBuf { */ int getHighestSet(); - // required uint32 minimumRaise = 8; /** * required uint32 minimumRaise = 8; */ @@ -31319,14 +32131,15 @@ public final class ProtoBuf { * Protobuf type {@code PlayersActionDoneMessage} */ public static final class PlayersActionDoneMessage extends - com.google.protobuf.GeneratedMessageLite - implements PlayersActionDoneMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:PlayersActionDoneMessage) + PlayersActionDoneMessageOrBuilder { // Use PlayersActionDoneMessage.newBuilder() to construct. private PlayersActionDoneMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private PlayersActionDoneMessage(boolean noInit) {} + private PlayersActionDoneMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final PlayersActionDoneMessage defaultInstance; public static PlayersActionDoneMessage getDefaultInstance() { @@ -31337,12 +32150,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private PlayersActionDoneMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -31352,7 +32171,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -31371,7 +32190,10 @@ public final class ProtoBuf { case 24: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.NetGameState value = de.pokerth.protocol.ProtoBuf.NetGameState.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFieldsCodedOutput.writeRawVarint32(tag); + unknownFieldsCodedOutput.writeRawVarint32(rawValue); + } else { bitField0_ |= 0x00000004; gameState_ = value; } @@ -31380,7 +32202,10 @@ public final class ProtoBuf { case 32: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.NetPlayerAction value = de.pokerth.protocol.ProtoBuf.NetPlayerAction.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFieldsCodedOutput.writeRawVarint32(tag); + unknownFieldsCodedOutput.writeRawVarint32(rawValue); + } else { bitField0_ |= 0x00000008; playerAction_ = value; } @@ -31414,6 +32239,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -31433,7 +32265,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -31449,7 +32280,6 @@ public final class ProtoBuf { return gameId_; } - // required uint32 playerId = 2; public static final int PLAYERID_FIELD_NUMBER = 2; private int playerId_; /** @@ -31465,7 +32295,6 @@ public final class ProtoBuf { return playerId_; } - // required .NetGameState gameState = 3; public static final int GAMESTATE_FIELD_NUMBER = 3; private de.pokerth.protocol.ProtoBuf.NetGameState gameState_; /** @@ -31481,7 +32310,6 @@ public final class ProtoBuf { return gameState_; } - // required .NetPlayerAction playerAction = 4; public static final int PLAYERACTION_FIELD_NUMBER = 4; private de.pokerth.protocol.ProtoBuf.NetPlayerAction playerAction_; /** @@ -31497,7 +32325,6 @@ public final class ProtoBuf { return playerAction_; } - // required uint32 totalPlayerBet = 5; public static final int TOTALPLAYERBET_FIELD_NUMBER = 5; private int totalPlayerBet_; /** @@ -31513,7 +32340,6 @@ public final class ProtoBuf { return totalPlayerBet_; } - // required uint32 playerMoney = 6; public static final int PLAYERMONEY_FIELD_NUMBER = 6; private int playerMoney_; /** @@ -31529,7 +32355,6 @@ public final class ProtoBuf { return playerMoney_; } - // required uint32 highestSet = 7; public static final int HIGHESTSET_FIELD_NUMBER = 7; private int highestSet_; /** @@ -31545,7 +32370,6 @@ public final class ProtoBuf { return highestSet_; } - // required uint32 minimumRaise = 8; public static final int MINIMUMRAISE_FIELD_NUMBER = 8; private int minimumRaise_; /** @@ -31574,7 +32398,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -31639,6 +32464,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000080) == 0x00000080)) { output.writeUInt32(8, minimumRaise_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -31679,6 +32505,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(8, minimumRaise_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -31756,7 +32583,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:PlayersActionDoneMessage) + de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -31871,6 +32700,8 @@ public final class ProtoBuf { if (other.hasMinimumRaise()) { setMinimumRaise(other.getMinimumRaise()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -31929,7 +32760,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -31962,7 +32792,6 @@ public final class ProtoBuf { return this; } - // required uint32 playerId = 2; private int playerId_ ; /** * required uint32 playerId = 2; @@ -31995,7 +32824,6 @@ public final class ProtoBuf { return this; } - // required .NetGameState gameState = 3; private de.pokerth.protocol.ProtoBuf.NetGameState gameState_ = de.pokerth.protocol.ProtoBuf.NetGameState.netStatePreflop; /** * required .NetGameState gameState = 3; @@ -32031,7 +32859,6 @@ public final class ProtoBuf { return this; } - // required .NetPlayerAction playerAction = 4; private de.pokerth.protocol.ProtoBuf.NetPlayerAction playerAction_ = de.pokerth.protocol.ProtoBuf.NetPlayerAction.netActionNone; /** * required .NetPlayerAction playerAction = 4; @@ -32067,7 +32894,6 @@ public final class ProtoBuf { return this; } - // required uint32 totalPlayerBet = 5; private int totalPlayerBet_ ; /** * required uint32 totalPlayerBet = 5; @@ -32100,7 +32926,6 @@ public final class ProtoBuf { return this; } - // required uint32 playerMoney = 6; private int playerMoney_ ; /** * required uint32 playerMoney = 6; @@ -32133,7 +32958,6 @@ public final class ProtoBuf { return this; } - // required uint32 highestSet = 7; private int highestSet_ ; /** * required uint32 highestSet = 7; @@ -32166,7 +32990,6 @@ public final class ProtoBuf { return this; } - // required uint32 minimumRaise = 8; private int minimumRaise_ ; /** * required uint32 minimumRaise = 8; @@ -32210,10 +33033,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -32223,7 +33046,6 @@ public final class ProtoBuf { */ int getGameId(); - // required uint32 flopCard1 = 2; /** * required uint32 flopCard1 = 2; */ @@ -32233,7 +33055,6 @@ public final class ProtoBuf { */ int getFlopCard1(); - // required uint32 flopCard2 = 3; /** * required uint32 flopCard2 = 3; */ @@ -32243,7 +33064,6 @@ public final class ProtoBuf { */ int getFlopCard2(); - // required uint32 flopCard3 = 4; /** * required uint32 flopCard3 = 4; */ @@ -32257,14 +33077,15 @@ public final class ProtoBuf { * Protobuf type {@code DealFlopCardsMessage} */ public static final class DealFlopCardsMessage extends - com.google.protobuf.GeneratedMessageLite - implements DealFlopCardsMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:DealFlopCardsMessage) + DealFlopCardsMessageOrBuilder { // Use DealFlopCardsMessage.newBuilder() to construct. private DealFlopCardsMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private DealFlopCardsMessage(boolean noInit) {} + private DealFlopCardsMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final DealFlopCardsMessage defaultInstance; public static DealFlopCardsMessage getDefaultInstance() { @@ -32275,12 +33096,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private DealFlopCardsMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -32290,7 +33117,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -32324,6 +33151,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -32343,7 +33177,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -32359,7 +33192,6 @@ public final class ProtoBuf { return gameId_; } - // required uint32 flopCard1 = 2; public static final int FLOPCARD1_FIELD_NUMBER = 2; private int flopCard1_; /** @@ -32375,7 +33207,6 @@ public final class ProtoBuf { return flopCard1_; } - // required uint32 flopCard2 = 3; public static final int FLOPCARD2_FIELD_NUMBER = 3; private int flopCard2_; /** @@ -32391,7 +33222,6 @@ public final class ProtoBuf { return flopCard2_; } - // required uint32 flopCard3 = 4; public static final int FLOPCARD3_FIELD_NUMBER = 4; private int flopCard3_; /** @@ -32416,7 +33246,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -32453,6 +33284,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeUInt32(4, flopCard3_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -32477,6 +33309,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(4, flopCard3_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -32554,7 +33387,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.DealFlopCardsMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:DealFlopCardsMessage) + de.pokerth.protocol.ProtoBuf.DealFlopCardsMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -32633,6 +33468,8 @@ public final class ProtoBuf { if (other.hasFlopCard3()) { setFlopCard3(other.getFlopCard3()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -32675,7 +33512,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -32708,7 +33544,6 @@ public final class ProtoBuf { return this; } - // required uint32 flopCard1 = 2; private int flopCard1_ ; /** * required uint32 flopCard1 = 2; @@ -32741,7 +33576,6 @@ public final class ProtoBuf { return this; } - // required uint32 flopCard2 = 3; private int flopCard2_ ; /** * required uint32 flopCard2 = 3; @@ -32774,7 +33608,6 @@ public final class ProtoBuf { return this; } - // required uint32 flopCard3 = 4; private int flopCard3_ ; /** * required uint32 flopCard3 = 4; @@ -32818,10 +33651,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -32831,7 +33664,6 @@ public final class ProtoBuf { */ int getGameId(); - // required uint32 turnCard = 2; /** * required uint32 turnCard = 2; */ @@ -32845,14 +33677,15 @@ public final class ProtoBuf { * Protobuf type {@code DealTurnCardMessage} */ public static final class DealTurnCardMessage extends - com.google.protobuf.GeneratedMessageLite - implements DealTurnCardMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:DealTurnCardMessage) + DealTurnCardMessageOrBuilder { // Use DealTurnCardMessage.newBuilder() to construct. private DealTurnCardMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private DealTurnCardMessage(boolean noInit) {} + private DealTurnCardMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final DealTurnCardMessage defaultInstance; public static DealTurnCardMessage getDefaultInstance() { @@ -32863,12 +33696,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private DealTurnCardMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -32878,7 +33717,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -32902,6 +33741,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -32921,7 +33767,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -32937,7 +33782,6 @@ public final class ProtoBuf { return gameId_; } - // required uint32 turnCard = 2; public static final int TURNCARD_FIELD_NUMBER = 2; private int turnCard_; /** @@ -32960,7 +33804,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -32983,6 +33828,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt32(2, turnCard_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -32999,6 +33845,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, turnCard_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -33076,7 +33923,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.DealTurnCardMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.DealTurnCardMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:DealTurnCardMessage) + de.pokerth.protocol.ProtoBuf.DealTurnCardMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.DealTurnCardMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -33137,6 +33986,8 @@ public final class ProtoBuf { if (other.hasTurnCard()) { setTurnCard(other.getTurnCard()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -33171,7 +34022,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -33204,7 +34054,6 @@ public final class ProtoBuf { return this; } - // required uint32 turnCard = 2; private int turnCard_ ; /** * required uint32 turnCard = 2; @@ -33248,10 +34097,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -33261,7 +34110,6 @@ public final class ProtoBuf { */ int getGameId(); - // required uint32 riverCard = 2; /** * required uint32 riverCard = 2; */ @@ -33275,14 +34123,15 @@ public final class ProtoBuf { * Protobuf type {@code DealRiverCardMessage} */ public static final class DealRiverCardMessage extends - com.google.protobuf.GeneratedMessageLite - implements DealRiverCardMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:DealRiverCardMessage) + DealRiverCardMessageOrBuilder { // Use DealRiverCardMessage.newBuilder() to construct. private DealRiverCardMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private DealRiverCardMessage(boolean noInit) {} + private DealRiverCardMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final DealRiverCardMessage defaultInstance; public static DealRiverCardMessage getDefaultInstance() { @@ -33293,12 +34142,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private DealRiverCardMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -33308,7 +34163,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -33332,6 +34187,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -33351,7 +34213,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -33367,7 +34228,6 @@ public final class ProtoBuf { return gameId_; } - // required uint32 riverCard = 2; public static final int RIVERCARD_FIELD_NUMBER = 2; private int riverCard_; /** @@ -33390,7 +34250,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -33413,6 +34274,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt32(2, riverCard_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -33429,6 +34291,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, riverCard_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -33506,7 +34369,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.DealRiverCardMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.DealRiverCardMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:DealRiverCardMessage) + de.pokerth.protocol.ProtoBuf.DealRiverCardMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.DealRiverCardMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -33567,6 +34432,8 @@ public final class ProtoBuf { if (other.hasRiverCard()) { setRiverCard(other.getRiverCard()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -33601,7 +34468,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -33634,7 +34500,6 @@ public final class ProtoBuf { return this; } - // required uint32 riverCard = 2; private int riverCard_ ; /** * required uint32 riverCard = 2; @@ -33678,10 +34543,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -33691,7 +34556,6 @@ public final class ProtoBuf { */ int getGameId(); - // repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; /** * repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; */ @@ -33710,14 +34574,15 @@ public final class ProtoBuf { * Protobuf type {@code AllInShowCardsMessage} */ public static final class AllInShowCardsMessage extends - com.google.protobuf.GeneratedMessageLite - implements AllInShowCardsMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:AllInShowCardsMessage) + AllInShowCardsMessageOrBuilder { // Use AllInShowCardsMessage.newBuilder() to construct. private AllInShowCardsMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private AllInShowCardsMessage(boolean noInit) {} + private AllInShowCardsMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final AllInShowCardsMessage defaultInstance; public static AllInShowCardsMessage getDefaultInstance() { @@ -33728,12 +34593,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private AllInShowCardsMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -33743,7 +34614,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -33773,6 +34644,13 @@ public final class ProtoBuf { if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { playersAllIn_ = java.util.Collections.unmodifiableList(playersAllIn_); } + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -33791,10 +34669,10 @@ public final class ProtoBuf { return PARSER; } - public interface PlayerAllInOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface PlayerAllInOrBuilder extends + // @@protoc_insertion_point(interface_extends:AllInShowCardsMessage.PlayerAllIn) + com.google.protobuf.MessageLiteOrBuilder { - // required uint32 playerId = 1; /** * required uint32 playerId = 1; */ @@ -33804,7 +34682,6 @@ public final class ProtoBuf { */ int getPlayerId(); - // required uint32 allInCard1 = 2; /** * required uint32 allInCard1 = 2; */ @@ -33814,7 +34691,6 @@ public final class ProtoBuf { */ int getAllInCard1(); - // required uint32 allInCard2 = 3; /** * required uint32 allInCard2 = 3; */ @@ -33828,14 +34704,15 @@ public final class ProtoBuf { * Protobuf type {@code AllInShowCardsMessage.PlayerAllIn} */ public static final class PlayerAllIn extends - com.google.protobuf.GeneratedMessageLite - implements PlayerAllInOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:AllInShowCardsMessage.PlayerAllIn) + PlayerAllInOrBuilder { // Use PlayerAllIn.newBuilder() to construct. private PlayerAllIn(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private PlayerAllIn(boolean noInit) {} + private PlayerAllIn(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final PlayerAllIn defaultInstance; public static PlayerAllIn getDefaultInstance() { @@ -33846,12 +34723,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private PlayerAllIn( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -33861,7 +34744,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -33890,6 +34773,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -33909,7 +34799,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 playerId = 1; public static final int PLAYERID_FIELD_NUMBER = 1; private int playerId_; /** @@ -33925,7 +34814,6 @@ public final class ProtoBuf { return playerId_; } - // required uint32 allInCard1 = 2; public static final int ALLINCARD1_FIELD_NUMBER = 2; private int allInCard1_; /** @@ -33941,7 +34829,6 @@ public final class ProtoBuf { return allInCard1_; } - // required uint32 allInCard2 = 3; public static final int ALLINCARD2_FIELD_NUMBER = 3; private int allInCard2_; /** @@ -33965,7 +34852,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -33995,6 +34883,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeUInt32(3, allInCard2_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -34015,6 +34904,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(3, allInCard2_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -34092,7 +34982,9 @@ public final class ProtoBuf { 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 { + implements + // @@protoc_insertion_point(builder_implements:AllInShowCardsMessage.PlayerAllIn) + de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllInOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -34162,6 +35054,8 @@ public final class ProtoBuf { if (other.hasAllInCard2()) { setAllInCard2(other.getAllInCard2()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -34200,7 +35094,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 playerId = 1; private int playerId_ ; /** * required uint32 playerId = 1; @@ -34233,7 +35126,6 @@ public final class ProtoBuf { return this; } - // required uint32 allInCard1 = 2; private int allInCard1_ ; /** * required uint32 allInCard1 = 2; @@ -34266,7 +35158,6 @@ public final class ProtoBuf { return this; } - // required uint32 allInCard2 = 3; private int allInCard2_ ; /** * required uint32 allInCard2 = 3; @@ -34311,7 +35202,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -34327,7 +35217,6 @@ public final class ProtoBuf { return gameId_; } - // repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; public static final int PLAYERSALLIN_FIELD_NUMBER = 2; private java.util.List playersAllIn_; /** @@ -34370,7 +35259,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -34395,6 +35285,7 @@ public final class ProtoBuf { for (int i = 0; i < playersAllIn_.size(); i++) { output.writeMessage(2, playersAllIn_.get(i)); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -34411,6 +35302,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, playersAllIn_.get(i)); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -34488,7 +35380,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.AllInShowCardsMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:AllInShowCardsMessage) + de.pokerth.protocol.ProtoBuf.AllInShowCardsMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -34557,6 +35451,8 @@ public final class ProtoBuf { } } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -34593,7 +35489,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -34626,7 +35521,6 @@ public final class ProtoBuf { return this; } - // repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; private java.util.List playersAllIn_ = java.util.Collections.emptyList(); private void ensurePlayersAllInIsMutable() { @@ -34728,7 +35622,8 @@ public final class ProtoBuf { public Builder addAllPlayersAllIn( java.lang.Iterable values) { ensurePlayersAllInIsMutable(); - super.addAll(values, playersAllIn_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, playersAllIn_); return this; } @@ -34762,10 +35657,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -34775,7 +35670,6 @@ public final class ProtoBuf { */ int getGameId(); - // repeated .PlayerResult playerResults = 2; /** * repeated .PlayerResult playerResults = 2; */ @@ -34794,14 +35688,15 @@ public final class ProtoBuf { * Protobuf type {@code EndOfHandShowCardsMessage} */ public static final class EndOfHandShowCardsMessage extends - com.google.protobuf.GeneratedMessageLite - implements EndOfHandShowCardsMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:EndOfHandShowCardsMessage) + EndOfHandShowCardsMessageOrBuilder { // Use EndOfHandShowCardsMessage.newBuilder() to construct. private EndOfHandShowCardsMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private EndOfHandShowCardsMessage(boolean noInit) {} + private EndOfHandShowCardsMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final EndOfHandShowCardsMessage defaultInstance; public static EndOfHandShowCardsMessage getDefaultInstance() { @@ -34812,12 +35707,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private EndOfHandShowCardsMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -34827,7 +35728,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -34857,6 +35758,13 @@ public final class ProtoBuf { if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { playerResults_ = java.util.Collections.unmodifiableList(playerResults_); } + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -34876,7 +35784,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -34892,7 +35799,6 @@ public final class ProtoBuf { return gameId_; } - // repeated .PlayerResult playerResults = 2; public static final int PLAYERRESULTS_FIELD_NUMBER = 2; private java.util.List playerResults_; /** @@ -34935,7 +35841,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -34960,6 +35867,7 @@ public final class ProtoBuf { for (int i = 0; i < playerResults_.size(); i++) { output.writeMessage(2, playerResults_.get(i)); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -34976,6 +35884,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, playerResults_.get(i)); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -35053,7 +35962,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:EndOfHandShowCardsMessage) + de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -35122,6 +36033,8 @@ public final class ProtoBuf { } } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -35158,7 +36071,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -35191,7 +36103,6 @@ public final class ProtoBuf { return this; } - // repeated .PlayerResult playerResults = 2; private java.util.List playerResults_ = java.util.Collections.emptyList(); private void ensurePlayerResultsIsMutable() { @@ -35293,7 +36204,8 @@ public final class ProtoBuf { public Builder addAllPlayerResults( java.lang.Iterable values) { ensurePlayerResultsIsMutable(); - super.addAll(values, playerResults_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, playerResults_); return this; } @@ -35327,10 +36239,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -35340,7 +36252,6 @@ public final class ProtoBuf { */ int getGameId(); - // required uint32 playerId = 2; /** * required uint32 playerId = 2; */ @@ -35350,7 +36261,6 @@ public final class ProtoBuf { */ int getPlayerId(); - // required uint32 moneyWon = 3; /** * required uint32 moneyWon = 3; */ @@ -35360,7 +36270,6 @@ public final class ProtoBuf { */ int getMoneyWon(); - // required uint32 playerMoney = 4; /** * required uint32 playerMoney = 4; */ @@ -35374,14 +36283,15 @@ public final class ProtoBuf { * Protobuf type {@code EndOfHandHideCardsMessage} */ public static final class EndOfHandHideCardsMessage extends - com.google.protobuf.GeneratedMessageLite - implements EndOfHandHideCardsMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:EndOfHandHideCardsMessage) + EndOfHandHideCardsMessageOrBuilder { // Use EndOfHandHideCardsMessage.newBuilder() to construct. private EndOfHandHideCardsMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private EndOfHandHideCardsMessage(boolean noInit) {} + private EndOfHandHideCardsMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final EndOfHandHideCardsMessage defaultInstance; public static EndOfHandHideCardsMessage getDefaultInstance() { @@ -35392,12 +36302,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private EndOfHandHideCardsMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -35407,7 +36323,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -35441,6 +36357,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -35460,7 +36383,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -35476,7 +36398,6 @@ public final class ProtoBuf { return gameId_; } - // required uint32 playerId = 2; public static final int PLAYERID_FIELD_NUMBER = 2; private int playerId_; /** @@ -35492,7 +36413,6 @@ public final class ProtoBuf { return playerId_; } - // required uint32 moneyWon = 3; public static final int MONEYWON_FIELD_NUMBER = 3; private int moneyWon_; /** @@ -35508,7 +36428,6 @@ public final class ProtoBuf { return moneyWon_; } - // required uint32 playerMoney = 4; public static final int PLAYERMONEY_FIELD_NUMBER = 4; private int playerMoney_; /** @@ -35533,7 +36452,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -35570,6 +36490,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeUInt32(4, playerMoney_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -35594,6 +36515,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(4, playerMoney_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -35671,7 +36593,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:EndOfHandHideCardsMessage) + de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -35750,6 +36674,8 @@ public final class ProtoBuf { if (other.hasPlayerMoney()) { setPlayerMoney(other.getPlayerMoney()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -35792,7 +36718,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -35825,7 +36750,6 @@ public final class ProtoBuf { return this; } - // required uint32 playerId = 2; private int playerId_ ; /** * required uint32 playerId = 2; @@ -35858,7 +36782,6 @@ public final class ProtoBuf { return this; } - // required uint32 moneyWon = 3; private int moneyWon_ ; /** * required uint32 moneyWon = 3; @@ -35891,7 +36814,6 @@ public final class ProtoBuf { return this; } - // required uint32 playerMoney = 4; private int playerMoney_ ; /** * required uint32 playerMoney = 4; @@ -35935,21 +36857,23 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { } /** * Protobuf type {@code ShowMyCardsRequestMessage} */ public static final class ShowMyCardsRequestMessage extends - com.google.protobuf.GeneratedMessageLite - implements ShowMyCardsRequestMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:ShowMyCardsRequestMessage) + ShowMyCardsRequestMessageOrBuilder { // Use ShowMyCardsRequestMessage.newBuilder() to construct. private ShowMyCardsRequestMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private ShowMyCardsRequestMessage(boolean noInit) {} + private ShowMyCardsRequestMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final ShowMyCardsRequestMessage defaultInstance; public static ShowMyCardsRequestMessage getDefaultInstance() { @@ -35960,11 +36884,17 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private ShowMyCardsRequestMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -35974,7 +36904,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -35988,6 +36918,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -36011,7 +36948,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -36020,6 +36958,7 @@ public final class ProtoBuf { public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -36028,6 +36967,7 @@ public final class ProtoBuf { if (size != -1) return size; size = 0; + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -36105,7 +37045,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:ShowMyCardsRequestMessage) + de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -36145,6 +37087,8 @@ public final class ProtoBuf { public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage other) { if (other == de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage.getDefaultInstance()) return this; + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -36181,10 +37125,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required .PlayerResult playerResult = 1; /** * required .PlayerResult playerResult = 1; */ @@ -36198,14 +37142,15 @@ public final class ProtoBuf { * Protobuf type {@code AfterHandShowCardsMessage} */ public static final class AfterHandShowCardsMessage extends - com.google.protobuf.GeneratedMessageLite - implements AfterHandShowCardsMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:AfterHandShowCardsMessage) + AfterHandShowCardsMessageOrBuilder { // Use AfterHandShowCardsMessage.newBuilder() to construct. private AfterHandShowCardsMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private AfterHandShowCardsMessage(boolean noInit) {} + private AfterHandShowCardsMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final AfterHandShowCardsMessage defaultInstance; public static AfterHandShowCardsMessage getDefaultInstance() { @@ -36216,12 +37161,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private AfterHandShowCardsMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -36231,7 +37182,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -36258,6 +37209,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -36277,7 +37235,6 @@ public final class ProtoBuf { } private int bitField0_; - // required .PlayerResult playerResult = 1; public static final int PLAYERRESULT_FIELD_NUMBER = 1; private de.pokerth.protocol.ProtoBuf.PlayerResult playerResult_; /** @@ -36299,7 +37256,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -36319,6 +37277,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeMessage(1, playerResult_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -36331,6 +37290,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, playerResult_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -36408,7 +37368,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:AfterHandShowCardsMessage) + de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -36460,6 +37422,8 @@ public final class ProtoBuf { if (other.hasPlayerResult()) { mergePlayerResult(other.getPlayerResult()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -36494,7 +37458,6 @@ public final class ProtoBuf { } private int bitField0_; - // required .PlayerResult playerResult = 1; private de.pokerth.protocol.ProtoBuf.PlayerResult playerResult_ = de.pokerth.protocol.ProtoBuf.PlayerResult.getDefaultInstance(); /** * required .PlayerResult playerResult = 1; @@ -36566,10 +37529,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -36579,7 +37542,6 @@ public final class ProtoBuf { */ int getGameId(); - // required uint32 winnerPlayerId = 2; /** * required uint32 winnerPlayerId = 2; */ @@ -36593,14 +37555,15 @@ public final class ProtoBuf { * Protobuf type {@code EndOfGameMessage} */ public static final class EndOfGameMessage extends - com.google.protobuf.GeneratedMessageLite - implements EndOfGameMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:EndOfGameMessage) + EndOfGameMessageOrBuilder { // Use EndOfGameMessage.newBuilder() to construct. private EndOfGameMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private EndOfGameMessage(boolean noInit) {} + private EndOfGameMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final EndOfGameMessage defaultInstance; public static EndOfGameMessage getDefaultInstance() { @@ -36611,12 +37574,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private EndOfGameMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -36626,7 +37595,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -36650,6 +37619,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -36669,7 +37645,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -36685,7 +37660,6 @@ public final class ProtoBuf { return gameId_; } - // required uint32 winnerPlayerId = 2; public static final int WINNERPLAYERID_FIELD_NUMBER = 2; private int winnerPlayerId_; /** @@ -36708,7 +37682,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -36731,6 +37706,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt32(2, winnerPlayerId_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -36747,6 +37723,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, winnerPlayerId_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -36824,7 +37801,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.EndOfGameMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.EndOfGameMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:EndOfGameMessage) + de.pokerth.protocol.ProtoBuf.EndOfGameMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.EndOfGameMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -36885,6 +37864,8 @@ public final class ProtoBuf { if (other.hasWinnerPlayerId()) { setWinnerPlayerId(other.getWinnerPlayerId()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -36919,7 +37900,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -36952,7 +37932,6 @@ public final class ProtoBuf { return this; } - // required uint32 winnerPlayerId = 2; private int winnerPlayerId_ ; /** * required uint32 winnerPlayerId = 2; @@ -36996,10 +37975,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 oldPlayerId = 1; /** * required uint32 oldPlayerId = 1; */ @@ -37009,7 +37988,6 @@ public final class ProtoBuf { */ int getOldPlayerId(); - // required uint32 newPlayerId = 2; /** * required uint32 newPlayerId = 2; */ @@ -37023,14 +38001,15 @@ public final class ProtoBuf { * Protobuf type {@code PlayerIdChangedMessage} */ public static final class PlayerIdChangedMessage extends - com.google.protobuf.GeneratedMessageLite - implements PlayerIdChangedMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:PlayerIdChangedMessage) + PlayerIdChangedMessageOrBuilder { // Use PlayerIdChangedMessage.newBuilder() to construct. private PlayerIdChangedMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private PlayerIdChangedMessage(boolean noInit) {} + private PlayerIdChangedMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final PlayerIdChangedMessage defaultInstance; public static PlayerIdChangedMessage getDefaultInstance() { @@ -37041,12 +38020,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private PlayerIdChangedMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -37056,7 +38041,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -37080,6 +38065,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -37099,7 +38091,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 oldPlayerId = 1; public static final int OLDPLAYERID_FIELD_NUMBER = 1; private int oldPlayerId_; /** @@ -37115,7 +38106,6 @@ public final class ProtoBuf { return oldPlayerId_; } - // required uint32 newPlayerId = 2; public static final int NEWPLAYERID_FIELD_NUMBER = 2; private int newPlayerId_; /** @@ -37138,7 +38128,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -37161,6 +38152,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt32(2, newPlayerId_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -37177,6 +38169,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, newPlayerId_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -37254,7 +38247,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:PlayerIdChangedMessage) + de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -37315,6 +38310,8 @@ public final class ProtoBuf { if (other.hasNewPlayerId()) { setNewPlayerId(other.getNewPlayerId()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -37349,7 +38346,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 oldPlayerId = 1; private int oldPlayerId_ ; /** * required uint32 oldPlayerId = 1; @@ -37382,7 +38378,6 @@ public final class ProtoBuf { return this; } - // required uint32 newPlayerId = 2; private int newPlayerId_ ; /** * required uint32 newPlayerId = 2; @@ -37426,10 +38421,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -37439,7 +38434,6 @@ public final class ProtoBuf { */ int getGameId(); - // required uint32 playerId = 2; /** * required uint32 playerId = 2; */ @@ -37453,14 +38447,15 @@ public final class ProtoBuf { * Protobuf type {@code AskKickPlayerMessage} */ public static final class AskKickPlayerMessage extends - com.google.protobuf.GeneratedMessageLite - implements AskKickPlayerMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:AskKickPlayerMessage) + AskKickPlayerMessageOrBuilder { // Use AskKickPlayerMessage.newBuilder() to construct. private AskKickPlayerMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private AskKickPlayerMessage(boolean noInit) {} + private AskKickPlayerMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final AskKickPlayerMessage defaultInstance; public static AskKickPlayerMessage getDefaultInstance() { @@ -37471,12 +38466,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private AskKickPlayerMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -37486,7 +38487,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -37510,6 +38511,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -37529,7 +38537,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -37545,7 +38552,6 @@ public final class ProtoBuf { return gameId_; } - // required uint32 playerId = 2; public static final int PLAYERID_FIELD_NUMBER = 2; private int playerId_; /** @@ -37568,7 +38574,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -37591,6 +38598,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt32(2, playerId_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -37607,6 +38615,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, playerId_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -37684,7 +38693,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.AskKickPlayerMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:AskKickPlayerMessage) + de.pokerth.protocol.ProtoBuf.AskKickPlayerMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -37745,6 +38756,8 @@ public final class ProtoBuf { if (other.hasPlayerId()) { setPlayerId(other.getPlayerId()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -37779,7 +38792,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -37812,7 +38824,6 @@ public final class ProtoBuf { return this; } - // required uint32 playerId = 2; private int playerId_ ; /** * required uint32 playerId = 2; @@ -37856,10 +38867,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -37869,7 +38880,6 @@ public final class ProtoBuf { */ int getGameId(); - // required uint32 playerId = 2; /** * required uint32 playerId = 2; */ @@ -37879,7 +38889,6 @@ public final class ProtoBuf { */ int getPlayerId(); - // required .AskKickDeniedMessage.KickDeniedReason kickDeniedReason = 3; /** * required .AskKickDeniedMessage.KickDeniedReason kickDeniedReason = 3; */ @@ -37893,14 +38902,15 @@ public final class ProtoBuf { * Protobuf type {@code AskKickDeniedMessage} */ public static final class AskKickDeniedMessage extends - com.google.protobuf.GeneratedMessageLite - implements AskKickDeniedMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:AskKickDeniedMessage) + AskKickDeniedMessageOrBuilder { // Use AskKickDeniedMessage.newBuilder() to construct. private AskKickDeniedMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private AskKickDeniedMessage(boolean noInit) {} + private AskKickDeniedMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final AskKickDeniedMessage defaultInstance; public static AskKickDeniedMessage getDefaultInstance() { @@ -37911,12 +38921,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private AskKickDeniedMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -37926,7 +38942,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -37945,7 +38961,10 @@ public final class ProtoBuf { case 24: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.KickDeniedReason value = de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.KickDeniedReason.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFieldsCodedOutput.writeRawVarint32(tag); + unknownFieldsCodedOutput.writeRawVarint32(rawValue); + } else { bitField0_ |= 0x00000004; kickDeniedReason_ = value; } @@ -37959,6 +38978,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -38061,7 +39087,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -38077,7 +39102,6 @@ public final class ProtoBuf { return gameId_; } - // required uint32 playerId = 2; public static final int PLAYERID_FIELD_NUMBER = 2; private int playerId_; /** @@ -38093,7 +39117,6 @@ public final class ProtoBuf { return playerId_; } - // required .AskKickDeniedMessage.KickDeniedReason kickDeniedReason = 3; public static final int KICKDENIEDREASON_FIELD_NUMBER = 3; private de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.KickDeniedReason kickDeniedReason_; /** @@ -38117,7 +39140,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -38147,6 +39171,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeEnum(3, kickDeniedReason_.getNumber()); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -38167,6 +39192,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeEnumSize(3, kickDeniedReason_.getNumber()); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -38244,7 +39270,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.AskKickDeniedMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:AskKickDeniedMessage) + de.pokerth.protocol.ProtoBuf.AskKickDeniedMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -38314,6 +39342,8 @@ public final class ProtoBuf { if (other.hasKickDeniedReason()) { setKickDeniedReason(other.getKickDeniedReason()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -38352,7 +39382,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -38385,7 +39414,6 @@ public final class ProtoBuf { return this; } - // required uint32 playerId = 2; private int playerId_ ; /** * required uint32 playerId = 2; @@ -38418,7 +39446,6 @@ public final class ProtoBuf { return this; } - // required .AskKickDeniedMessage.KickDeniedReason kickDeniedReason = 3; private de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.KickDeniedReason kickDeniedReason_ = de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.KickDeniedReason.kickDeniedInvalidGameState; /** * required .AskKickDeniedMessage.KickDeniedReason kickDeniedReason = 3; @@ -38465,10 +39492,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -38478,7 +39505,6 @@ public final class ProtoBuf { */ int getGameId(); - // required uint32 petitionId = 2; /** * required uint32 petitionId = 2; */ @@ -38488,7 +39514,6 @@ public final class ProtoBuf { */ int getPetitionId(); - // required uint32 proposingPlayerId = 3; /** * required uint32 proposingPlayerId = 3; */ @@ -38498,7 +39523,6 @@ public final class ProtoBuf { */ int getProposingPlayerId(); - // required uint32 kickPlayerId = 4; /** * required uint32 kickPlayerId = 4; */ @@ -38508,7 +39532,6 @@ public final class ProtoBuf { */ int getKickPlayerId(); - // required uint32 kickTimeoutSec = 5; /** * required uint32 kickTimeoutSec = 5; */ @@ -38518,7 +39541,6 @@ public final class ProtoBuf { */ int getKickTimeoutSec(); - // required uint32 numVotesNeededToKick = 6; /** * required uint32 numVotesNeededToKick = 6; */ @@ -38532,14 +39554,15 @@ public final class ProtoBuf { * Protobuf type {@code StartKickPetitionMessage} */ public static final class StartKickPetitionMessage extends - com.google.protobuf.GeneratedMessageLite - implements StartKickPetitionMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:StartKickPetitionMessage) + StartKickPetitionMessageOrBuilder { // Use StartKickPetitionMessage.newBuilder() to construct. private StartKickPetitionMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private StartKickPetitionMessage(boolean noInit) {} + private StartKickPetitionMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final StartKickPetitionMessage defaultInstance; public static StartKickPetitionMessage getDefaultInstance() { @@ -38550,12 +39573,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private StartKickPetitionMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -38565,7 +39594,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -38609,6 +39638,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -38628,7 +39664,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -38644,7 +39679,6 @@ public final class ProtoBuf { return gameId_; } - // required uint32 petitionId = 2; public static final int PETITIONID_FIELD_NUMBER = 2; private int petitionId_; /** @@ -38660,7 +39694,6 @@ public final class ProtoBuf { return petitionId_; } - // required uint32 proposingPlayerId = 3; public static final int PROPOSINGPLAYERID_FIELD_NUMBER = 3; private int proposingPlayerId_; /** @@ -38676,7 +39709,6 @@ public final class ProtoBuf { return proposingPlayerId_; } - // required uint32 kickPlayerId = 4; public static final int KICKPLAYERID_FIELD_NUMBER = 4; private int kickPlayerId_; /** @@ -38692,7 +39724,6 @@ public final class ProtoBuf { return kickPlayerId_; } - // required uint32 kickTimeoutSec = 5; public static final int KICKTIMEOUTSEC_FIELD_NUMBER = 5; private int kickTimeoutSec_; /** @@ -38708,7 +39739,6 @@ public final class ProtoBuf { return kickTimeoutSec_; } - // required uint32 numVotesNeededToKick = 6; public static final int NUMVOTESNEEDEDTOKICK_FIELD_NUMBER = 6; private int numVotesNeededToKick_; /** @@ -38735,7 +39765,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -38786,6 +39817,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeUInt32(6, numVotesNeededToKick_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -38818,6 +39850,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(6, numVotesNeededToKick_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -38895,7 +39928,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.StartKickPetitionMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:StartKickPetitionMessage) + de.pokerth.protocol.ProtoBuf.StartKickPetitionMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -38992,6 +40027,8 @@ public final class ProtoBuf { if (other.hasNumVotesNeededToKick()) { setNumVotesNeededToKick(other.getNumVotesNeededToKick()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -39042,7 +40079,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -39075,7 +40111,6 @@ public final class ProtoBuf { return this; } - // required uint32 petitionId = 2; private int petitionId_ ; /** * required uint32 petitionId = 2; @@ -39108,7 +40143,6 @@ public final class ProtoBuf { return this; } - // required uint32 proposingPlayerId = 3; private int proposingPlayerId_ ; /** * required uint32 proposingPlayerId = 3; @@ -39141,7 +40175,6 @@ public final class ProtoBuf { return this; } - // required uint32 kickPlayerId = 4; private int kickPlayerId_ ; /** * required uint32 kickPlayerId = 4; @@ -39174,7 +40207,6 @@ public final class ProtoBuf { return this; } - // required uint32 kickTimeoutSec = 5; private int kickTimeoutSec_ ; /** * required uint32 kickTimeoutSec = 5; @@ -39207,7 +40239,6 @@ public final class ProtoBuf { return this; } - // required uint32 numVotesNeededToKick = 6; private int numVotesNeededToKick_ ; /** * required uint32 numVotesNeededToKick = 6; @@ -39251,10 +40282,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -39264,7 +40295,6 @@ public final class ProtoBuf { */ int getGameId(); - // required uint32 petitionId = 2; /** * required uint32 petitionId = 2; */ @@ -39274,7 +40304,6 @@ public final class ProtoBuf { */ int getPetitionId(); - // required bool voteKick = 3; /** * required bool voteKick = 3; */ @@ -39288,14 +40317,15 @@ public final class ProtoBuf { * Protobuf type {@code VoteKickRequestMessage} */ public static final class VoteKickRequestMessage extends - com.google.protobuf.GeneratedMessageLite - implements VoteKickRequestMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:VoteKickRequestMessage) + VoteKickRequestMessageOrBuilder { // Use VoteKickRequestMessage.newBuilder() to construct. private VoteKickRequestMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private VoteKickRequestMessage(boolean noInit) {} + private VoteKickRequestMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final VoteKickRequestMessage defaultInstance; public static VoteKickRequestMessage getDefaultInstance() { @@ -39306,12 +40336,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private VoteKickRequestMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -39321,7 +40357,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -39350,6 +40386,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -39369,7 +40412,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -39385,7 +40427,6 @@ public final class ProtoBuf { return gameId_; } - // required uint32 petitionId = 2; public static final int PETITIONID_FIELD_NUMBER = 2; private int petitionId_; /** @@ -39401,7 +40442,6 @@ public final class ProtoBuf { return petitionId_; } - // required bool voteKick = 3; public static final int VOTEKICK_FIELD_NUMBER = 3; private boolean voteKick_; /** @@ -39425,7 +40465,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -39455,6 +40496,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBool(3, voteKick_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -39475,6 +40517,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, voteKick_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -39552,7 +40595,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.VoteKickRequestMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:VoteKickRequestMessage) + de.pokerth.protocol.ProtoBuf.VoteKickRequestMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -39622,6 +40667,8 @@ public final class ProtoBuf { if (other.hasVoteKick()) { setVoteKick(other.getVoteKick()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -39660,7 +40707,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -39693,7 +40739,6 @@ public final class ProtoBuf { return this; } - // required uint32 petitionId = 2; private int petitionId_ ; /** * required uint32 petitionId = 2; @@ -39726,7 +40771,6 @@ public final class ProtoBuf { return this; } - // required bool voteKick = 3; private boolean voteKick_ ; /** * required bool voteKick = 3; @@ -39770,10 +40814,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -39783,7 +40827,6 @@ public final class ProtoBuf { */ int getGameId(); - // required uint32 petitionId = 2; /** * required uint32 petitionId = 2; */ @@ -39793,7 +40836,6 @@ public final class ProtoBuf { */ int getPetitionId(); - // required .VoteKickReplyMessage.VoteKickReplyType voteKickReplyType = 3; /** * required .VoteKickReplyMessage.VoteKickReplyType voteKickReplyType = 3; */ @@ -39807,14 +40849,15 @@ public final class ProtoBuf { * Protobuf type {@code VoteKickReplyMessage} */ public static final class VoteKickReplyMessage extends - com.google.protobuf.GeneratedMessageLite - implements VoteKickReplyMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:VoteKickReplyMessage) + VoteKickReplyMessageOrBuilder { // Use VoteKickReplyMessage.newBuilder() to construct. private VoteKickReplyMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private VoteKickReplyMessage(boolean noInit) {} + private VoteKickReplyMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final VoteKickReplyMessage defaultInstance; public static VoteKickReplyMessage getDefaultInstance() { @@ -39825,12 +40868,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private VoteKickReplyMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -39840,7 +40889,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -39859,7 +40908,10 @@ public final class ProtoBuf { case 24: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.VoteKickReplyType value = de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.VoteKickReplyType.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFieldsCodedOutput.writeRawVarint32(tag); + unknownFieldsCodedOutput.writeRawVarint32(rawValue); + } else { bitField0_ |= 0x00000004; voteKickReplyType_ = value; } @@ -39873,6 +40925,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -39957,7 +41016,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -39973,7 +41031,6 @@ public final class ProtoBuf { return gameId_; } - // required uint32 petitionId = 2; public static final int PETITIONID_FIELD_NUMBER = 2; private int petitionId_; /** @@ -39989,7 +41046,6 @@ public final class ProtoBuf { return petitionId_; } - // required .VoteKickReplyMessage.VoteKickReplyType voteKickReplyType = 3; public static final int VOTEKICKREPLYTYPE_FIELD_NUMBER = 3; private de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.VoteKickReplyType voteKickReplyType_; /** @@ -40013,7 +41069,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -40043,6 +41100,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeEnum(3, voteKickReplyType_.getNumber()); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -40063,6 +41121,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeEnumSize(3, voteKickReplyType_.getNumber()); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -40140,7 +41199,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.VoteKickReplyMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:VoteKickReplyMessage) + de.pokerth.protocol.ProtoBuf.VoteKickReplyMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -40210,6 +41271,8 @@ public final class ProtoBuf { if (other.hasVoteKickReplyType()) { setVoteKickReplyType(other.getVoteKickReplyType()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -40248,7 +41311,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -40281,7 +41343,6 @@ public final class ProtoBuf { return this; } - // required uint32 petitionId = 2; private int petitionId_ ; /** * required uint32 petitionId = 2; @@ -40314,7 +41375,6 @@ public final class ProtoBuf { return this; } - // required .VoteKickReplyMessage.VoteKickReplyType voteKickReplyType = 3; private de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.VoteKickReplyType voteKickReplyType_ = de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.VoteKickReplyType.voteKickAck; /** * required .VoteKickReplyMessage.VoteKickReplyType voteKickReplyType = 3; @@ -40361,10 +41421,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -40374,7 +41434,6 @@ public final class ProtoBuf { */ int getGameId(); - // required uint32 petitionId = 2; /** * required uint32 petitionId = 2; */ @@ -40384,7 +41443,6 @@ public final class ProtoBuf { */ int getPetitionId(); - // required uint32 numVotesAgainstKicking = 3; /** * required uint32 numVotesAgainstKicking = 3; */ @@ -40394,7 +41452,6 @@ public final class ProtoBuf { */ int getNumVotesAgainstKicking(); - // required uint32 numVotesInFavourOfKicking = 4; /** * required uint32 numVotesInFavourOfKicking = 4; */ @@ -40404,7 +41461,6 @@ public final class ProtoBuf { */ int getNumVotesInFavourOfKicking(); - // required uint32 numVotesNeededToKick = 5; /** * required uint32 numVotesNeededToKick = 5; */ @@ -40418,14 +41474,15 @@ public final class ProtoBuf { * Protobuf type {@code KickPetitionUpdateMessage} */ public static final class KickPetitionUpdateMessage extends - com.google.protobuf.GeneratedMessageLite - implements KickPetitionUpdateMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:KickPetitionUpdateMessage) + KickPetitionUpdateMessageOrBuilder { // Use KickPetitionUpdateMessage.newBuilder() to construct. private KickPetitionUpdateMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private KickPetitionUpdateMessage(boolean noInit) {} + private KickPetitionUpdateMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final KickPetitionUpdateMessage defaultInstance; public static KickPetitionUpdateMessage getDefaultInstance() { @@ -40436,12 +41493,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private KickPetitionUpdateMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -40451,7 +41514,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -40490,6 +41553,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -40509,7 +41579,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -40525,7 +41594,6 @@ public final class ProtoBuf { return gameId_; } - // required uint32 petitionId = 2; public static final int PETITIONID_FIELD_NUMBER = 2; private int petitionId_; /** @@ -40541,7 +41609,6 @@ public final class ProtoBuf { return petitionId_; } - // required uint32 numVotesAgainstKicking = 3; public static final int NUMVOTESAGAINSTKICKING_FIELD_NUMBER = 3; private int numVotesAgainstKicking_; /** @@ -40557,7 +41624,6 @@ public final class ProtoBuf { return numVotesAgainstKicking_; } - // required uint32 numVotesInFavourOfKicking = 4; public static final int NUMVOTESINFAVOUROFKICKING_FIELD_NUMBER = 4; private int numVotesInFavourOfKicking_; /** @@ -40573,7 +41639,6 @@ public final class ProtoBuf { return numVotesInFavourOfKicking_; } - // required uint32 numVotesNeededToKick = 5; public static final int NUMVOTESNEEDEDTOKICK_FIELD_NUMBER = 5; private int numVotesNeededToKick_; /** @@ -40599,7 +41664,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -40643,6 +41709,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeUInt32(5, numVotesNeededToKick_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -40671,6 +41738,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(5, numVotesNeededToKick_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -40748,7 +41816,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:KickPetitionUpdateMessage) + de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -40836,6 +41906,8 @@ public final class ProtoBuf { if (other.hasNumVotesNeededToKick()) { setNumVotesNeededToKick(other.getNumVotesNeededToKick()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -40882,7 +41954,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -40915,7 +41986,6 @@ public final class ProtoBuf { return this; } - // required uint32 petitionId = 2; private int petitionId_ ; /** * required uint32 petitionId = 2; @@ -40948,7 +42018,6 @@ public final class ProtoBuf { return this; } - // required uint32 numVotesAgainstKicking = 3; private int numVotesAgainstKicking_ ; /** * required uint32 numVotesAgainstKicking = 3; @@ -40981,7 +42050,6 @@ public final class ProtoBuf { return this; } - // required uint32 numVotesInFavourOfKicking = 4; private int numVotesInFavourOfKicking_ ; /** * required uint32 numVotesInFavourOfKicking = 4; @@ -41014,7 +42082,6 @@ public final class ProtoBuf { return this; } - // required uint32 numVotesNeededToKick = 5; private int numVotesNeededToKick_ ; /** * required uint32 numVotesNeededToKick = 5; @@ -41058,10 +42125,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -41071,7 +42138,6 @@ public final class ProtoBuf { */ int getGameId(); - // required uint32 petitionId = 2; /** * required uint32 petitionId = 2; */ @@ -41081,7 +42147,6 @@ public final class ProtoBuf { */ int getPetitionId(); - // required uint32 numVotesAgainstKicking = 3; /** * required uint32 numVotesAgainstKicking = 3; */ @@ -41091,7 +42156,6 @@ public final class ProtoBuf { */ int getNumVotesAgainstKicking(); - // required uint32 numVotesInFavourOfKicking = 4; /** * required uint32 numVotesInFavourOfKicking = 4; */ @@ -41101,7 +42165,6 @@ public final class ProtoBuf { */ int getNumVotesInFavourOfKicking(); - // required uint32 resultPlayerKicked = 5; /** * required uint32 resultPlayerKicked = 5; */ @@ -41111,7 +42174,6 @@ public final class ProtoBuf { */ int getResultPlayerKicked(); - // required .EndKickPetitionMessage.PetitionEndReason petitionEndReason = 6; /** * required .EndKickPetitionMessage.PetitionEndReason petitionEndReason = 6; */ @@ -41125,14 +42187,15 @@ public final class ProtoBuf { * Protobuf type {@code EndKickPetitionMessage} */ public static final class EndKickPetitionMessage extends - com.google.protobuf.GeneratedMessageLite - implements EndKickPetitionMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:EndKickPetitionMessage) + EndKickPetitionMessageOrBuilder { // Use EndKickPetitionMessage.newBuilder() to construct. private EndKickPetitionMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private EndKickPetitionMessage(boolean noInit) {} + private EndKickPetitionMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final EndKickPetitionMessage defaultInstance; public static EndKickPetitionMessage getDefaultInstance() { @@ -41143,12 +42206,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private EndKickPetitionMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -41158,7 +42227,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -41192,7 +42261,10 @@ public final class ProtoBuf { case 48: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.PetitionEndReason value = de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.PetitionEndReason.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFieldsCodedOutput.writeRawVarint32(tag); + unknownFieldsCodedOutput.writeRawVarint32(rawValue); + } else { bitField0_ |= 0x00000020; petitionEndReason_ = value; } @@ -41206,6 +42278,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -41299,7 +42378,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -41315,7 +42393,6 @@ public final class ProtoBuf { return gameId_; } - // required uint32 petitionId = 2; public static final int PETITIONID_FIELD_NUMBER = 2; private int petitionId_; /** @@ -41331,7 +42408,6 @@ public final class ProtoBuf { return petitionId_; } - // required uint32 numVotesAgainstKicking = 3; public static final int NUMVOTESAGAINSTKICKING_FIELD_NUMBER = 3; private int numVotesAgainstKicking_; /** @@ -41347,7 +42423,6 @@ public final class ProtoBuf { return numVotesAgainstKicking_; } - // required uint32 numVotesInFavourOfKicking = 4; public static final int NUMVOTESINFAVOUROFKICKING_FIELD_NUMBER = 4; private int numVotesInFavourOfKicking_; /** @@ -41363,7 +42438,6 @@ public final class ProtoBuf { return numVotesInFavourOfKicking_; } - // required uint32 resultPlayerKicked = 5; public static final int RESULTPLAYERKICKED_FIELD_NUMBER = 5; private int resultPlayerKicked_; /** @@ -41379,7 +42453,6 @@ public final class ProtoBuf { return resultPlayerKicked_; } - // required .EndKickPetitionMessage.PetitionEndReason petitionEndReason = 6; public static final int PETITIONENDREASON_FIELD_NUMBER = 6; private de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.PetitionEndReason petitionEndReason_; /** @@ -41406,7 +42479,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -41457,6 +42531,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeEnum(6, petitionEndReason_.getNumber()); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -41489,6 +42564,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeEnumSize(6, petitionEndReason_.getNumber()); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -41566,7 +42642,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.EndKickPetitionMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:EndKickPetitionMessage) + de.pokerth.protocol.ProtoBuf.EndKickPetitionMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -41663,6 +42741,8 @@ public final class ProtoBuf { if (other.hasPetitionEndReason()) { setPetitionEndReason(other.getPetitionEndReason()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -41713,7 +42793,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -41746,7 +42825,6 @@ public final class ProtoBuf { return this; } - // required uint32 petitionId = 2; private int petitionId_ ; /** * required uint32 petitionId = 2; @@ -41779,7 +42857,6 @@ public final class ProtoBuf { return this; } - // required uint32 numVotesAgainstKicking = 3; private int numVotesAgainstKicking_ ; /** * required uint32 numVotesAgainstKicking = 3; @@ -41812,7 +42889,6 @@ public final class ProtoBuf { return this; } - // required uint32 numVotesInFavourOfKicking = 4; private int numVotesInFavourOfKicking_ ; /** * required uint32 numVotesInFavourOfKicking = 4; @@ -41845,7 +42921,6 @@ public final class ProtoBuf { return this; } - // required uint32 resultPlayerKicked = 5; private int resultPlayerKicked_ ; /** * required uint32 resultPlayerKicked = 5; @@ -41878,7 +42953,6 @@ public final class ProtoBuf { return this; } - // required .EndKickPetitionMessage.PetitionEndReason petitionEndReason = 6; private de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.PetitionEndReason petitionEndReason_ = de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.PetitionEndReason.petitionEndEnoughVotes; /** * required .EndKickPetitionMessage.PetitionEndReason petitionEndReason = 6; @@ -41925,10 +42999,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // repeated .StatisticsMessage.StatisticsData statisticsData = 1; /** * repeated .StatisticsMessage.StatisticsData statisticsData = 1; */ @@ -41947,14 +43021,15 @@ public final class ProtoBuf { * Protobuf type {@code StatisticsMessage} */ public static final class StatisticsMessage extends - com.google.protobuf.GeneratedMessageLite - implements StatisticsMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:StatisticsMessage) + StatisticsMessageOrBuilder { // Use StatisticsMessage.newBuilder() to construct. private StatisticsMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private StatisticsMessage(boolean noInit) {} + private StatisticsMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final StatisticsMessage defaultInstance; public static StatisticsMessage getDefaultInstance() { @@ -41965,12 +43040,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private StatisticsMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -41980,7 +43061,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -42005,6 +43086,13 @@ public final class ProtoBuf { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { statisticsData_ = java.util.Collections.unmodifiableList(statisticsData_); } + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -42023,10 +43111,10 @@ public final class ProtoBuf { return PARSER; } - public interface StatisticsDataOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface StatisticsDataOrBuilder extends + // @@protoc_insertion_point(interface_extends:StatisticsMessage.StatisticsData) + com.google.protobuf.MessageLiteOrBuilder { - // required .StatisticsMessage.StatisticsData.StatisticsType statisticsType = 1; /** * required .StatisticsMessage.StatisticsData.StatisticsType statisticsType = 1; */ @@ -42036,7 +43124,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData.StatisticsType getStatisticsType(); - // required uint32 statisticsValue = 2; /** * required uint32 statisticsValue = 2; */ @@ -42050,14 +43137,15 @@ public final class ProtoBuf { * Protobuf type {@code StatisticsMessage.StatisticsData} */ public static final class StatisticsData extends - com.google.protobuf.GeneratedMessageLite - implements StatisticsDataOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:StatisticsMessage.StatisticsData) + StatisticsDataOrBuilder { // Use StatisticsData.newBuilder() to construct. private StatisticsData(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private StatisticsData(boolean noInit) {} + private StatisticsData(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final StatisticsData defaultInstance; public static StatisticsData getDefaultInstance() { @@ -42068,12 +43156,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private StatisticsData( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -42083,7 +43177,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -42092,7 +43186,10 @@ public final class ProtoBuf { case 8: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData.StatisticsType value = de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData.StatisticsType.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFieldsCodedOutput.writeRawVarint32(tag); + unknownFieldsCodedOutput.writeRawVarint32(rawValue); + } else { bitField0_ |= 0x00000001; statisticsType_ = value; } @@ -42111,6 +43208,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -42177,7 +43281,6 @@ 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_; /** @@ -42193,7 +43296,6 @@ public final class ProtoBuf { return statisticsType_; } - // required uint32 statisticsValue = 2; public static final int STATISTICSVALUE_FIELD_NUMBER = 2; private int statisticsValue_; /** @@ -42216,7 +43318,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -42239,6 +43342,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt32(2, statisticsValue_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -42255,6 +43359,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, statisticsValue_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -42332,7 +43437,9 @@ public final class ProtoBuf { 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 { + implements + // @@protoc_insertion_point(builder_implements:StatisticsMessage.StatisticsData) + de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsDataOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -42393,6 +43500,8 @@ public final class ProtoBuf { if (other.hasStatisticsValue()) { setStatisticsValue(other.getStatisticsValue()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -42427,7 +43536,6 @@ 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; /** * required .StatisticsMessage.StatisticsData.StatisticsType statisticsType = 1; @@ -42463,7 +43571,6 @@ public final class ProtoBuf { return this; } - // required uint32 statisticsValue = 2; private int statisticsValue_ ; /** * required uint32 statisticsValue = 2; @@ -42507,7 +43614,6 @@ public final class ProtoBuf { // @@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_; /** @@ -42549,7 +43655,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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()) { @@ -42567,6 +43674,7 @@ public final class ProtoBuf { for (int i = 0; i < statisticsData_.size(); i++) { output.writeMessage(1, statisticsData_.get(i)); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -42579,6 +43687,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, statisticsData_.get(i)); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -42656,7 +43765,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.StatisticsMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.StatisticsMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:StatisticsMessage) + de.pokerth.protocol.ProtoBuf.StatisticsMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.StatisticsMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -42714,6 +43825,8 @@ public final class ProtoBuf { } } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -42746,7 +43859,6 @@ public final class ProtoBuf { } private int bitField0_; - // repeated .StatisticsMessage.StatisticsData statisticsData = 1; private java.util.List statisticsData_ = java.util.Collections.emptyList(); private void ensureStatisticsDataIsMutable() { @@ -42848,7 +43960,8 @@ public final class ProtoBuf { public Builder addAllStatisticsData( java.lang.Iterable values) { ensureStatisticsDataIsMutable(); - super.addAll(values, statisticsData_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, statisticsData_); return this; } @@ -42882,10 +43995,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // optional uint32 targetGameId = 1; /** * optional uint32 targetGameId = 1; */ @@ -42895,7 +44008,6 @@ public final class ProtoBuf { */ int getTargetGameId(); - // optional uint32 targetPlayerId = 2; /** * optional uint32 targetPlayerId = 2; */ @@ -42905,7 +44017,6 @@ public final class ProtoBuf { */ int getTargetPlayerId(); - // required string chatText = 3; /** * required string chatText = 3; */ @@ -42924,14 +44035,15 @@ public final class ProtoBuf { * Protobuf type {@code ChatRequestMessage} */ public static final class ChatRequestMessage extends - com.google.protobuf.GeneratedMessageLite - implements ChatRequestMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:ChatRequestMessage) + ChatRequestMessageOrBuilder { // Use ChatRequestMessage.newBuilder() to construct. private ChatRequestMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private ChatRequestMessage(boolean noInit) {} + private ChatRequestMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final ChatRequestMessage defaultInstance; public static ChatRequestMessage getDefaultInstance() { @@ -42942,12 +44054,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private ChatRequestMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -42957,7 +44075,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -42974,8 +44092,9 @@ public final class ProtoBuf { break; } case 26: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; - chatText_ = input.readBytes(); + chatText_ = bs; break; } } @@ -42986,6 +44105,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -43005,7 +44131,6 @@ public final class ProtoBuf { } private int bitField0_; - // optional uint32 targetGameId = 1; public static final int TARGETGAMEID_FIELD_NUMBER = 1; private int targetGameId_; /** @@ -43021,7 +44146,6 @@ public final class ProtoBuf { return targetGameId_; } - // optional uint32 targetPlayerId = 2; public static final int TARGETPLAYERID_FIELD_NUMBER = 2; private int targetPlayerId_; /** @@ -43037,7 +44161,6 @@ public final class ProtoBuf { return targetPlayerId_; } - // required string chatText = 3; public static final int CHATTEXT_FIELD_NUMBER = 3; private java.lang.Object chatText_; /** @@ -43088,7 +44211,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -43110,6 +44234,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBytes(3, getChatTextBytes()); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -43130,6 +44255,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, getChatTextBytes()); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -43207,7 +44333,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.ChatRequestMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.ChatRequestMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:ChatRequestMessage) + de.pokerth.protocol.ProtoBuf.ChatRequestMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.ChatRequestMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -43279,6 +44407,8 @@ public final class ProtoBuf { chatText_ = other.chatText_; } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -43309,7 +44439,6 @@ public final class ProtoBuf { } private int bitField0_; - // optional uint32 targetGameId = 1; private int targetGameId_ ; /** * optional uint32 targetGameId = 1; @@ -43342,7 +44471,6 @@ public final class ProtoBuf { return this; } - // optional uint32 targetPlayerId = 2; private int targetPlayerId_ ; /** * optional uint32 targetPlayerId = 2; @@ -43375,7 +44503,6 @@ public final class ProtoBuf { return this; } - // required string chatText = 3; private java.lang.Object chatText_ = ""; /** * required string chatText = 3; @@ -43389,9 +44516,12 @@ public final class ProtoBuf { 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; @@ -43460,10 +44590,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // optional uint32 gameId = 1; /** * optional uint32 gameId = 1; */ @@ -43473,7 +44603,6 @@ public final class ProtoBuf { */ int getGameId(); - // optional uint32 playerId = 2; /** * optional uint32 playerId = 2; */ @@ -43483,7 +44612,6 @@ public final class ProtoBuf { */ int getPlayerId(); - // required .ChatMessage.ChatType chatType = 3; /** * required .ChatMessage.ChatType chatType = 3; */ @@ -43493,7 +44621,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.ChatMessage.ChatType getChatType(); - // required string chatText = 4; /** * required string chatText = 4; */ @@ -43512,14 +44639,15 @@ public final class ProtoBuf { * Protobuf type {@code ChatMessage} */ public static final class ChatMessage extends - com.google.protobuf.GeneratedMessageLite - implements ChatMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:ChatMessage) + ChatMessageOrBuilder { // Use ChatMessage.newBuilder() to construct. private ChatMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private ChatMessage(boolean noInit) {} + private ChatMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final ChatMessage defaultInstance; public static ChatMessage getDefaultInstance() { @@ -43530,12 +44658,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private ChatMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -43545,7 +44679,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -43564,15 +44698,19 @@ public final class ProtoBuf { case 24: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.ChatMessage.ChatType value = de.pokerth.protocol.ProtoBuf.ChatMessage.ChatType.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFieldsCodedOutput.writeRawVarint32(tag); + unknownFieldsCodedOutput.writeRawVarint32(rawValue); + } else { bitField0_ |= 0x00000004; chatType_ = value; } break; } case 34: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000008; - chatText_ = input.readBytes(); + chatText_ = bs; break; } } @@ -43583,6 +44721,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -43685,7 +44830,6 @@ public final class ProtoBuf { } private int bitField0_; - // optional uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -43701,7 +44845,6 @@ public final class ProtoBuf { return gameId_; } - // optional uint32 playerId = 2; public static final int PLAYERID_FIELD_NUMBER = 2; private int playerId_; /** @@ -43717,7 +44860,6 @@ public final class ProtoBuf { return playerId_; } - // required .ChatMessage.ChatType chatType = 3; public static final int CHATTYPE_FIELD_NUMBER = 3; private de.pokerth.protocol.ProtoBuf.ChatMessage.ChatType chatType_; /** @@ -43733,7 +44875,6 @@ public final class ProtoBuf { return chatType_; } - // required string chatText = 4; public static final int CHATTEXT_FIELD_NUMBER = 4; private java.lang.Object chatText_; /** @@ -43785,7 +44926,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -43814,6 +44956,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeBytes(4, getChatTextBytes()); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -43838,6 +44981,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeBytesSize(4, getChatTextBytes()); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -43915,7 +45059,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.ChatMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.ChatMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:ChatMessage) + de.pokerth.protocol.ProtoBuf.ChatMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.ChatMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -43996,6 +45142,8 @@ public final class ProtoBuf { chatText_ = other.chatText_; } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -44030,7 +45178,6 @@ public final class ProtoBuf { } private int bitField0_; - // optional uint32 gameId = 1; private int gameId_ ; /** * optional uint32 gameId = 1; @@ -44063,7 +45210,6 @@ public final class ProtoBuf { return this; } - // optional uint32 playerId = 2; private int playerId_ ; /** * optional uint32 playerId = 2; @@ -44096,7 +45242,6 @@ public final class ProtoBuf { return this; } - // required .ChatMessage.ChatType chatType = 3; private de.pokerth.protocol.ProtoBuf.ChatMessage.ChatType chatType_ = de.pokerth.protocol.ProtoBuf.ChatMessage.ChatType.chatTypeLobby; /** * required .ChatMessage.ChatType chatType = 3; @@ -44132,7 +45277,6 @@ public final class ProtoBuf { return this; } - // required string chatText = 4; private java.lang.Object chatText_ = ""; /** * required string chatText = 4; @@ -44146,9 +45290,12 @@ public final class ProtoBuf { 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; @@ -44217,10 +45364,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required string chatText = 1; /** * required string chatText = 1; */ @@ -44239,14 +45386,15 @@ public final class ProtoBuf { * Protobuf type {@code ChatRejectMessage} */ public static final class ChatRejectMessage extends - com.google.protobuf.GeneratedMessageLite - implements ChatRejectMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:ChatRejectMessage) + ChatRejectMessageOrBuilder { // Use ChatRejectMessage.newBuilder() to construct. private ChatRejectMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private ChatRejectMessage(boolean noInit) {} + private ChatRejectMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final ChatRejectMessage defaultInstance; public static ChatRejectMessage getDefaultInstance() { @@ -44257,12 +45405,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private ChatRejectMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -44272,15 +45426,16 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } break; } case 10: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; - chatText_ = input.readBytes(); + chatText_ = bs; break; } } @@ -44291,6 +45446,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -44310,7 +45472,6 @@ public final class ProtoBuf { } private int bitField0_; - // required string chatText = 1; public static final int CHATTEXT_FIELD_NUMBER = 1; private java.lang.Object chatText_; /** @@ -44359,7 +45520,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -44375,6 +45537,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, getChatTextBytes()); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -44387,6 +45550,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, getChatTextBytes()); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -44464,7 +45628,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.ChatRejectMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.ChatRejectMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:ChatRejectMessage) + de.pokerth.protocol.ProtoBuf.ChatRejectMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.ChatRejectMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -44518,6 +45684,8 @@ public final class ProtoBuf { chatText_ = other.chatText_; } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -44548,7 +45716,6 @@ public final class ProtoBuf { } private int bitField0_; - // required string chatText = 1; private java.lang.Object chatText_ = ""; /** * required string chatText = 1; @@ -44562,9 +45729,12 @@ public final class ProtoBuf { 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; @@ -44633,10 +45803,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required string notificationText = 1; /** * required string notificationText = 1; */ @@ -44655,14 +45825,15 @@ public final class ProtoBuf { * Protobuf type {@code DialogMessage} */ public static final class DialogMessage extends - com.google.protobuf.GeneratedMessageLite - implements DialogMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:DialogMessage) + DialogMessageOrBuilder { // Use DialogMessage.newBuilder() to construct. private DialogMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private DialogMessage(boolean noInit) {} + private DialogMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final DialogMessage defaultInstance; public static DialogMessage getDefaultInstance() { @@ -44673,12 +45844,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private DialogMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -44688,15 +45865,16 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } break; } case 10: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; - notificationText_ = input.readBytes(); + notificationText_ = bs; break; } } @@ -44707,6 +45885,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -44726,7 +45911,6 @@ public final class ProtoBuf { } private int bitField0_; - // required string notificationText = 1; public static final int NOTIFICATIONTEXT_FIELD_NUMBER = 1; private java.lang.Object notificationText_; /** @@ -44775,7 +45959,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -44791,6 +45976,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, getNotificationTextBytes()); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -44803,6 +45989,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, getNotificationTextBytes()); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -44880,7 +46067,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.DialogMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.DialogMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:DialogMessage) + de.pokerth.protocol.ProtoBuf.DialogMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.DialogMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -44934,6 +46123,8 @@ public final class ProtoBuf { notificationText_ = other.notificationText_; } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -44964,7 +46155,6 @@ public final class ProtoBuf { } private int bitField0_; - // required string notificationText = 1; private java.lang.Object notificationText_ = ""; /** * required string notificationText = 1; @@ -44978,9 +46168,12 @@ public final class ProtoBuf { 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; @@ -45049,10 +46242,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required .TimeoutWarningMessage.TimeoutReason timeoutReason = 1; /** * required .TimeoutWarningMessage.TimeoutReason timeoutReason = 1; */ @@ -45062,7 +46255,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.TimeoutReason getTimeoutReason(); - // required uint32 remainingSeconds = 2; /** * required uint32 remainingSeconds = 2; */ @@ -45076,14 +46268,15 @@ public final class ProtoBuf { * Protobuf type {@code TimeoutWarningMessage} */ public static final class TimeoutWarningMessage extends - com.google.protobuf.GeneratedMessageLite - implements TimeoutWarningMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:TimeoutWarningMessage) + TimeoutWarningMessageOrBuilder { // Use TimeoutWarningMessage.newBuilder() to construct. private TimeoutWarningMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private TimeoutWarningMessage(boolean noInit) {} + private TimeoutWarningMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final TimeoutWarningMessage defaultInstance; public static TimeoutWarningMessage getDefaultInstance() { @@ -45094,12 +46287,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private TimeoutWarningMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -45109,7 +46308,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -45118,7 +46317,10 @@ public final class ProtoBuf { case 8: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.TimeoutReason value = de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.TimeoutReason.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFieldsCodedOutput.writeRawVarint32(tag); + unknownFieldsCodedOutput.writeRawVarint32(rawValue); + } else { bitField0_ |= 0x00000001; timeoutReason_ = value; } @@ -45137,6 +46339,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -45221,7 +46430,6 @@ 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_; /** @@ -45237,7 +46445,6 @@ public final class ProtoBuf { return timeoutReason_; } - // required uint32 remainingSeconds = 2; public static final int REMAININGSECONDS_FIELD_NUMBER = 2; private int remainingSeconds_; /** @@ -45260,7 +46467,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -45283,6 +46491,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt32(2, remainingSeconds_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -45299,6 +46508,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, remainingSeconds_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -45376,7 +46586,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.TimeoutWarningMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:TimeoutWarningMessage) + de.pokerth.protocol.ProtoBuf.TimeoutWarningMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -45437,6 +46649,8 @@ public final class ProtoBuf { if (other.hasRemainingSeconds()) { setRemainingSeconds(other.getRemainingSeconds()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -45471,7 +46685,6 @@ 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; /** * required .TimeoutWarningMessage.TimeoutReason timeoutReason = 1; @@ -45507,7 +46720,6 @@ public final class ProtoBuf { return this; } - // required uint32 remainingSeconds = 2; private int remainingSeconds_ ; /** * required uint32 remainingSeconds = 2; @@ -45551,21 +46763,23 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { } /** * Protobuf type {@code ResetTimeoutMessage} */ public static final class ResetTimeoutMessage extends - com.google.protobuf.GeneratedMessageLite - implements ResetTimeoutMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:ResetTimeoutMessage) + ResetTimeoutMessageOrBuilder { // Use ResetTimeoutMessage.newBuilder() to construct. private ResetTimeoutMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private ResetTimeoutMessage(boolean noInit) {} + private ResetTimeoutMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final ResetTimeoutMessage defaultInstance; public static ResetTimeoutMessage getDefaultInstance() { @@ -45576,11 +46790,17 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private ResetTimeoutMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -45590,7 +46810,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -45604,6 +46824,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -45627,7 +46854,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -45636,6 +46864,7 @@ public final class ProtoBuf { public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -45644,6 +46873,7 @@ public final class ProtoBuf { if (size != -1) return size; size = 0; + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -45721,7 +46951,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.ResetTimeoutMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:ResetTimeoutMessage) + de.pokerth.protocol.ProtoBuf.ResetTimeoutMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -45761,6 +46993,8 @@ public final class ProtoBuf { public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage other) { if (other == de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage.getDefaultInstance()) return this; + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -45797,10 +47031,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 reportedPlayerId = 1; /** * required uint32 reportedPlayerId = 1; */ @@ -45810,7 +47044,6 @@ public final class ProtoBuf { */ int getReportedPlayerId(); - // required bytes reportedAvatarHash = 2; /** * required bytes reportedAvatarHash = 2; */ @@ -45824,14 +47057,15 @@ public final class ProtoBuf { * Protobuf type {@code ReportAvatarMessage} */ public static final class ReportAvatarMessage extends - com.google.protobuf.GeneratedMessageLite - implements ReportAvatarMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:ReportAvatarMessage) + ReportAvatarMessageOrBuilder { // Use ReportAvatarMessage.newBuilder() to construct. private ReportAvatarMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private ReportAvatarMessage(boolean noInit) {} + private ReportAvatarMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final ReportAvatarMessage defaultInstance; public static ReportAvatarMessage getDefaultInstance() { @@ -45842,12 +47076,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private ReportAvatarMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -45857,7 +47097,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -45881,6 +47121,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -45900,7 +47147,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 reportedPlayerId = 1; public static final int REPORTEDPLAYERID_FIELD_NUMBER = 1; private int reportedPlayerId_; /** @@ -45916,7 +47162,6 @@ public final class ProtoBuf { return reportedPlayerId_; } - // required bytes reportedAvatarHash = 2; public static final int REPORTEDAVATARHASH_FIELD_NUMBER = 2; private com.google.protobuf.ByteString reportedAvatarHash_; /** @@ -45939,7 +47184,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -45962,6 +47208,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, reportedAvatarHash_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -45978,6 +47225,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, reportedAvatarHash_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -46055,7 +47303,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.ReportAvatarMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.ReportAvatarMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:ReportAvatarMessage) + de.pokerth.protocol.ProtoBuf.ReportAvatarMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.ReportAvatarMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -46116,6 +47366,8 @@ public final class ProtoBuf { if (other.hasReportedAvatarHash()) { setReportedAvatarHash(other.getReportedAvatarHash()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -46150,7 +47402,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 reportedPlayerId = 1; private int reportedPlayerId_ ; /** * required uint32 reportedPlayerId = 1; @@ -46183,7 +47434,6 @@ public final class ProtoBuf { return this; } - // required bytes reportedAvatarHash = 2; private com.google.protobuf.ByteString reportedAvatarHash_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes reportedAvatarHash = 2; @@ -46230,10 +47480,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 reportedPlayerId = 1; /** * required uint32 reportedPlayerId = 1; */ @@ -46243,7 +47493,6 @@ public final class ProtoBuf { */ int getReportedPlayerId(); - // required .ReportAvatarAckMessage.ReportAvatarResult reportAvatarResult = 2; /** * required .ReportAvatarAckMessage.ReportAvatarResult reportAvatarResult = 2; */ @@ -46257,14 +47506,15 @@ public final class ProtoBuf { * Protobuf type {@code ReportAvatarAckMessage} */ public static final class ReportAvatarAckMessage extends - com.google.protobuf.GeneratedMessageLite - implements ReportAvatarAckMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:ReportAvatarAckMessage) + ReportAvatarAckMessageOrBuilder { // Use ReportAvatarAckMessage.newBuilder() to construct. private ReportAvatarAckMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private ReportAvatarAckMessage(boolean noInit) {} + private ReportAvatarAckMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final ReportAvatarAckMessage defaultInstance; public static ReportAvatarAckMessage getDefaultInstance() { @@ -46275,12 +47525,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private ReportAvatarAckMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -46290,7 +47546,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -46304,7 +47560,10 @@ public final class ProtoBuf { case 16: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.ReportAvatarResult value = de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.ReportAvatarResult.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFieldsCodedOutput.writeRawVarint32(tag); + unknownFieldsCodedOutput.writeRawVarint32(rawValue); + } else { bitField0_ |= 0x00000002; reportAvatarResult_ = value; } @@ -46318,6 +47577,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -46402,7 +47668,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 reportedPlayerId = 1; public static final int REPORTEDPLAYERID_FIELD_NUMBER = 1; private int reportedPlayerId_; /** @@ -46418,7 +47683,6 @@ public final class ProtoBuf { return reportedPlayerId_; } - // required .ReportAvatarAckMessage.ReportAvatarResult reportAvatarResult = 2; public static final int REPORTAVATARRESULT_FIELD_NUMBER = 2; private de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.ReportAvatarResult reportAvatarResult_; /** @@ -46441,7 +47705,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -46464,6 +47729,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeEnum(2, reportAvatarResult_.getNumber()); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -46480,6 +47746,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, reportAvatarResult_.getNumber()); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -46557,7 +47824,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:ReportAvatarAckMessage) + de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -46618,6 +47887,8 @@ public final class ProtoBuf { if (other.hasReportAvatarResult()) { setReportAvatarResult(other.getReportAvatarResult()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -46652,7 +47923,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 reportedPlayerId = 1; private int reportedPlayerId_ ; /** * required uint32 reportedPlayerId = 1; @@ -46685,7 +47955,6 @@ public final class ProtoBuf { return this; } - // required .ReportAvatarAckMessage.ReportAvatarResult reportAvatarResult = 2; private de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.ReportAvatarResult reportAvatarResult_ = de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.ReportAvatarResult.avatarReportAccepted; /** * required .ReportAvatarAckMessage.ReportAvatarResult reportAvatarResult = 2; @@ -46732,10 +48001,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 reportedGameId = 1; /** * required uint32 reportedGameId = 1; */ @@ -46749,14 +48018,15 @@ public final class ProtoBuf { * Protobuf type {@code ReportGameMessage} */ public static final class ReportGameMessage extends - com.google.protobuf.GeneratedMessageLite - implements ReportGameMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:ReportGameMessage) + ReportGameMessageOrBuilder { // Use ReportGameMessage.newBuilder() to construct. private ReportGameMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private ReportGameMessage(boolean noInit) {} + private ReportGameMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final ReportGameMessage defaultInstance; public static ReportGameMessage getDefaultInstance() { @@ -46767,12 +48037,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private ReportGameMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -46782,7 +48058,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -46801,6 +48077,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -46820,7 +48103,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 reportedGameId = 1; public static final int REPORTEDGAMEID_FIELD_NUMBER = 1; private int reportedGameId_; /** @@ -46842,7 +48124,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -46858,6 +48141,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeUInt32(1, reportedGameId_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -46870,6 +48154,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, reportedGameId_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -46947,7 +48232,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.ReportGameMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.ReportGameMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:ReportGameMessage) + de.pokerth.protocol.ProtoBuf.ReportGameMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.ReportGameMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -46999,6 +48286,8 @@ public final class ProtoBuf { if (other.hasReportedGameId()) { setReportedGameId(other.getReportedGameId()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -47029,7 +48318,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 reportedGameId = 1; private int reportedGameId_ ; /** * required uint32 reportedGameId = 1; @@ -47073,10 +48361,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 reportedGameId = 1; /** * required uint32 reportedGameId = 1; */ @@ -47086,7 +48374,6 @@ public final class ProtoBuf { */ int getReportedGameId(); - // required .ReportGameAckMessage.ReportGameResult reportGameResult = 2; /** * required .ReportGameAckMessage.ReportGameResult reportGameResult = 2; */ @@ -47100,14 +48387,15 @@ public final class ProtoBuf { * Protobuf type {@code ReportGameAckMessage} */ public static final class ReportGameAckMessage extends - com.google.protobuf.GeneratedMessageLite - implements ReportGameAckMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:ReportGameAckMessage) + ReportGameAckMessageOrBuilder { // Use ReportGameAckMessage.newBuilder() to construct. private ReportGameAckMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private ReportGameAckMessage(boolean noInit) {} + private ReportGameAckMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final ReportGameAckMessage defaultInstance; public static ReportGameAckMessage getDefaultInstance() { @@ -47118,12 +48406,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private ReportGameAckMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -47133,7 +48427,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -47147,7 +48441,10 @@ public final class ProtoBuf { case 16: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.ReportGameResult value = de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.ReportGameResult.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFieldsCodedOutput.writeRawVarint32(tag); + unknownFieldsCodedOutput.writeRawVarint32(rawValue); + } else { bitField0_ |= 0x00000002; reportGameResult_ = value; } @@ -47161,6 +48458,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -47245,7 +48549,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 reportedGameId = 1; public static final int REPORTEDGAMEID_FIELD_NUMBER = 1; private int reportedGameId_; /** @@ -47261,7 +48564,6 @@ public final class ProtoBuf { return reportedGameId_; } - // required .ReportGameAckMessage.ReportGameResult reportGameResult = 2; public static final int REPORTGAMERESULT_FIELD_NUMBER = 2; private de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.ReportGameResult reportGameResult_; /** @@ -47284,7 +48586,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -47307,6 +48610,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeEnum(2, reportGameResult_.getNumber()); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -47323,6 +48627,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, reportGameResult_.getNumber()); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -47400,7 +48705,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.ReportGameAckMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.ReportGameAckMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:ReportGameAckMessage) + de.pokerth.protocol.ProtoBuf.ReportGameAckMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -47461,6 +48768,8 @@ public final class ProtoBuf { if (other.hasReportGameResult()) { setReportGameResult(other.getReportGameResult()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -47495,7 +48804,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 reportedGameId = 1; private int reportedGameId_ ; /** * required uint32 reportedGameId = 1; @@ -47528,7 +48836,6 @@ public final class ProtoBuf { return this; } - // required .ReportGameAckMessage.ReportGameResult reportGameResult = 2; private de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.ReportGameResult reportGameResult_ = de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.ReportGameResult.gameReportAccepted; /** * required .ReportGameAckMessage.ReportGameResult reportGameResult = 2; @@ -47575,10 +48882,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required .ErrorMessage.ErrorReason errorReason = 1; /** * required .ErrorMessage.ErrorReason errorReason = 1; */ @@ -47592,14 +48899,15 @@ public final class ProtoBuf { * Protobuf type {@code ErrorMessage} */ public static final class ErrorMessage extends - com.google.protobuf.GeneratedMessageLite - implements ErrorMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:ErrorMessage) + ErrorMessageOrBuilder { // Use ErrorMessage.newBuilder() to construct. private ErrorMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private ErrorMessage(boolean noInit) {} + private ErrorMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final ErrorMessage defaultInstance; public static ErrorMessage getDefaultInstance() { @@ -47610,12 +48918,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private ErrorMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -47625,7 +48939,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -47634,7 +48948,10 @@ public final class ProtoBuf { case 8: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.ErrorMessage.ErrorReason value = de.pokerth.protocol.ProtoBuf.ErrorMessage.ErrorReason.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFieldsCodedOutput.writeRawVarint32(tag); + unknownFieldsCodedOutput.writeRawVarint32(rawValue); + } else { bitField0_ |= 0x00000001; errorReason_ = value; } @@ -47648,6 +48965,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -47840,7 +49164,6 @@ 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_; /** @@ -47862,7 +49185,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -47878,6 +49202,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeEnum(1, errorReason_.getNumber()); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -47890,6 +49215,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, errorReason_.getNumber()); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -47967,7 +49293,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.ErrorMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.ErrorMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:ErrorMessage) + de.pokerth.protocol.ProtoBuf.ErrorMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.ErrorMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -48019,6 +49347,8 @@ public final class ProtoBuf { if (other.hasErrorReason()) { setErrorReason(other.getErrorReason()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -48049,7 +49379,6 @@ 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.reserved; /** * required .ErrorMessage.ErrorReason errorReason = 1; @@ -48096,10 +49425,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 removeGameId = 1; /** * required uint32 removeGameId = 1; */ @@ -48113,14 +49442,15 @@ public final class ProtoBuf { * Protobuf type {@code AdminRemoveGameMessage} */ public static final class AdminRemoveGameMessage extends - com.google.protobuf.GeneratedMessageLite - implements AdminRemoveGameMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:AdminRemoveGameMessage) + AdminRemoveGameMessageOrBuilder { // Use AdminRemoveGameMessage.newBuilder() to construct. private AdminRemoveGameMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private AdminRemoveGameMessage(boolean noInit) {} + private AdminRemoveGameMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final AdminRemoveGameMessage defaultInstance; public static AdminRemoveGameMessage getDefaultInstance() { @@ -48131,12 +49461,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private AdminRemoveGameMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -48146,7 +49482,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -48165,6 +49501,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -48184,7 +49527,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 removeGameId = 1; public static final int REMOVEGAMEID_FIELD_NUMBER = 1; private int removeGameId_; /** @@ -48206,7 +49548,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -48222,6 +49565,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeUInt32(1, removeGameId_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -48234,6 +49578,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, removeGameId_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -48311,7 +49656,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:AdminRemoveGameMessage) + de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -48363,6 +49710,8 @@ public final class ProtoBuf { if (other.hasRemoveGameId()) { setRemoveGameId(other.getRemoveGameId()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -48393,7 +49742,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 removeGameId = 1; private int removeGameId_ ; /** * required uint32 removeGameId = 1; @@ -48437,10 +49785,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 removeGameId = 1; /** * required uint32 removeGameId = 1; */ @@ -48450,7 +49798,6 @@ public final class ProtoBuf { */ int getRemoveGameId(); - // required .AdminRemoveGameAckMessage.AdminRemoveGameResult removeGameResult = 2; /** * required .AdminRemoveGameAckMessage.AdminRemoveGameResult removeGameResult = 2; */ @@ -48464,14 +49811,15 @@ public final class ProtoBuf { * Protobuf type {@code AdminRemoveGameAckMessage} */ public static final class AdminRemoveGameAckMessage extends - com.google.protobuf.GeneratedMessageLite - implements AdminRemoveGameAckMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:AdminRemoveGameAckMessage) + AdminRemoveGameAckMessageOrBuilder { // Use AdminRemoveGameAckMessage.newBuilder() to construct. private AdminRemoveGameAckMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private AdminRemoveGameAckMessage(boolean noInit) {} + private AdminRemoveGameAckMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final AdminRemoveGameAckMessage defaultInstance; public static AdminRemoveGameAckMessage getDefaultInstance() { @@ -48482,12 +49830,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private AdminRemoveGameAckMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -48497,7 +49851,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -48511,7 +49865,10 @@ public final class ProtoBuf { case 16: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.AdminRemoveGameResult value = de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.AdminRemoveGameResult.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFieldsCodedOutput.writeRawVarint32(tag); + unknownFieldsCodedOutput.writeRawVarint32(rawValue); + } else { bitField0_ |= 0x00000002; removeGameResult_ = value; } @@ -48525,6 +49882,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -48600,7 +49964,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 removeGameId = 1; public static final int REMOVEGAMEID_FIELD_NUMBER = 1; private int removeGameId_; /** @@ -48616,7 +49979,6 @@ public final class ProtoBuf { return removeGameId_; } - // required .AdminRemoveGameAckMessage.AdminRemoveGameResult removeGameResult = 2; public static final int REMOVEGAMERESULT_FIELD_NUMBER = 2; private de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.AdminRemoveGameResult removeGameResult_; /** @@ -48639,7 +50001,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -48662,6 +50025,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeEnum(2, removeGameResult_.getNumber()); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -48678,6 +50042,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, removeGameResult_.getNumber()); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -48755,7 +50120,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:AdminRemoveGameAckMessage) + de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -48816,6 +50183,8 @@ public final class ProtoBuf { if (other.hasRemoveGameResult()) { setRemoveGameResult(other.getRemoveGameResult()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -48850,7 +50219,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 removeGameId = 1; private int removeGameId_ ; /** * required uint32 removeGameId = 1; @@ -48883,7 +50251,6 @@ public final class ProtoBuf { return this; } - // required .AdminRemoveGameAckMessage.AdminRemoveGameResult removeGameResult = 2; private de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.AdminRemoveGameResult removeGameResult_ = de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.AdminRemoveGameResult.gameRemoveAccepted; /** * required .AdminRemoveGameAckMessage.AdminRemoveGameResult removeGameResult = 2; @@ -48930,10 +50297,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 banPlayerId = 1; /** * required uint32 banPlayerId = 1; */ @@ -48947,14 +50314,15 @@ public final class ProtoBuf { * Protobuf type {@code AdminBanPlayerMessage} */ public static final class AdminBanPlayerMessage extends - com.google.protobuf.GeneratedMessageLite - implements AdminBanPlayerMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:AdminBanPlayerMessage) + AdminBanPlayerMessageOrBuilder { // Use AdminBanPlayerMessage.newBuilder() to construct. private AdminBanPlayerMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private AdminBanPlayerMessage(boolean noInit) {} + private AdminBanPlayerMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final AdminBanPlayerMessage defaultInstance; public static AdminBanPlayerMessage getDefaultInstance() { @@ -48965,12 +50333,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private AdminBanPlayerMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -48980,7 +50354,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -48999,6 +50373,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -49018,7 +50399,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 banPlayerId = 1; public static final int BANPLAYERID_FIELD_NUMBER = 1; private int banPlayerId_; /** @@ -49040,7 +50420,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -49056,6 +50437,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeUInt32(1, banPlayerId_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -49068,6 +50450,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, banPlayerId_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -49145,7 +50528,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:AdminBanPlayerMessage) + de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -49197,6 +50582,8 @@ public final class ProtoBuf { if (other.hasBanPlayerId()) { setBanPlayerId(other.getBanPlayerId()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -49227,7 +50614,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 banPlayerId = 1; private int banPlayerId_ ; /** * required uint32 banPlayerId = 1; @@ -49271,10 +50657,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 banPlayerId = 1; /** * required uint32 banPlayerId = 1; */ @@ -49284,7 +50670,6 @@ public final class ProtoBuf { */ int getBanPlayerId(); - // required .AdminBanPlayerAckMessage.AdminBanPlayerResult banPlayerResult = 2; /** * required .AdminBanPlayerAckMessage.AdminBanPlayerResult banPlayerResult = 2; */ @@ -49298,14 +50683,15 @@ public final class ProtoBuf { * Protobuf type {@code AdminBanPlayerAckMessage} */ public static final class AdminBanPlayerAckMessage extends - com.google.protobuf.GeneratedMessageLite - implements AdminBanPlayerAckMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:AdminBanPlayerAckMessage) + AdminBanPlayerAckMessageOrBuilder { // Use AdminBanPlayerAckMessage.newBuilder() to construct. private AdminBanPlayerAckMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private AdminBanPlayerAckMessage(boolean noInit) {} + private AdminBanPlayerAckMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final AdminBanPlayerAckMessage defaultInstance; public static AdminBanPlayerAckMessage getDefaultInstance() { @@ -49316,12 +50702,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private AdminBanPlayerAckMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -49331,7 +50723,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -49345,7 +50737,10 @@ public final class ProtoBuf { case 16: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.AdminBanPlayerResult value = de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.AdminBanPlayerResult.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFieldsCodedOutput.writeRawVarint32(tag); + unknownFieldsCodedOutput.writeRawVarint32(rawValue); + } else { bitField0_ |= 0x00000002; banPlayerResult_ = value; } @@ -49359,6 +50754,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -49461,7 +50863,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 banPlayerId = 1; public static final int BANPLAYERID_FIELD_NUMBER = 1; private int banPlayerId_; /** @@ -49477,7 +50878,6 @@ public final class ProtoBuf { return banPlayerId_; } - // required .AdminBanPlayerAckMessage.AdminBanPlayerResult banPlayerResult = 2; public static final int BANPLAYERRESULT_FIELD_NUMBER = 2; private de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.AdminBanPlayerResult banPlayerResult_; /** @@ -49500,7 +50900,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -49523,6 +50924,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeEnum(2, banPlayerResult_.getNumber()); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -49539,6 +50941,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, banPlayerResult_.getNumber()); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -49616,7 +51019,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:AdminBanPlayerAckMessage) + de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -49677,6 +51082,8 @@ public final class ProtoBuf { if (other.hasBanPlayerResult()) { setBanPlayerResult(other.getBanPlayerResult()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -49711,7 +51118,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 banPlayerId = 1; private int banPlayerId_ ; /** * required uint32 banPlayerId = 1; @@ -49744,7 +51150,6 @@ public final class ProtoBuf { return this; } - // required .AdminBanPlayerAckMessage.AdminBanPlayerResult banPlayerResult = 2; private de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.AdminBanPlayerResult banPlayerResult_ = de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.AdminBanPlayerResult.banPlayerAccepted; /** * required .AdminBanPlayerAckMessage.AdminBanPlayerResult banPlayerResult = 2; @@ -49791,10 +51196,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required .PokerTHMessage.PokerTHMessageType messageType = 1; /** * required .PokerTHMessage.PokerTHMessageType messageType = 1; */ @@ -49804,7 +51209,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.PokerTHMessage.PokerTHMessageType getMessageType(); - // optional .AnnounceMessage announceMessage = 2; /** * optional .AnnounceMessage announceMessage = 2; */ @@ -49814,7 +51218,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.AnnounceMessage getAnnounceMessage(); - // optional .InitMessage initMessage = 3; /** * optional .InitMessage initMessage = 3; */ @@ -49824,7 +51227,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.InitMessage getInitMessage(); - // optional .AuthServerChallengeMessage authServerChallengeMessage = 4; /** * optional .AuthServerChallengeMessage authServerChallengeMessage = 4; */ @@ -49834,7 +51236,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage getAuthServerChallengeMessage(); - // optional .AuthClientResponseMessage authClientResponseMessage = 5; /** * optional .AuthClientResponseMessage authClientResponseMessage = 5; */ @@ -49844,7 +51245,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage getAuthClientResponseMessage(); - // optional .AuthServerVerificationMessage authServerVerificationMessage = 6; /** * optional .AuthServerVerificationMessage authServerVerificationMessage = 6; */ @@ -49854,7 +51254,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage getAuthServerVerificationMessage(); - // optional .InitAckMessage initAckMessage = 7; /** * optional .InitAckMessage initAckMessage = 7; */ @@ -49864,7 +51263,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.InitAckMessage getInitAckMessage(); - // optional .AvatarRequestMessage avatarRequestMessage = 8; /** * optional .AvatarRequestMessage avatarRequestMessage = 8; */ @@ -49874,7 +51272,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.AvatarRequestMessage getAvatarRequestMessage(); - // optional .AvatarHeaderMessage avatarHeaderMessage = 9; /** * optional .AvatarHeaderMessage avatarHeaderMessage = 9; */ @@ -49884,7 +51281,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage getAvatarHeaderMessage(); - // optional .AvatarDataMessage avatarDataMessage = 10; /** * optional .AvatarDataMessage avatarDataMessage = 10; */ @@ -49894,7 +51290,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.AvatarDataMessage getAvatarDataMessage(); - // optional .AvatarEndMessage avatarEndMessage = 11; /** * optional .AvatarEndMessage avatarEndMessage = 11; */ @@ -49904,7 +51299,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.AvatarEndMessage getAvatarEndMessage(); - // optional .UnknownAvatarMessage unknownAvatarMessage = 12; /** * optional .UnknownAvatarMessage unknownAvatarMessage = 12; */ @@ -49914,7 +51308,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage getUnknownAvatarMessage(); - // optional .PlayerListMessage playerListMessage = 13; /** * optional .PlayerListMessage playerListMessage = 13; */ @@ -49924,7 +51317,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.PlayerListMessage getPlayerListMessage(); - // optional .GameListNewMessage gameListNewMessage = 14; /** * optional .GameListNewMessage gameListNewMessage = 14; */ @@ -49934,7 +51326,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.GameListNewMessage getGameListNewMessage(); - // optional .GameListUpdateMessage gameListUpdateMessage = 15; /** * optional .GameListUpdateMessage gameListUpdateMessage = 15; */ @@ -49944,7 +51335,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.GameListUpdateMessage getGameListUpdateMessage(); - // optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 16; /** * optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 16; */ @@ -49954,7 +51344,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage getGameListPlayerJoinedMessage(); - // optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 17; /** * optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 17; */ @@ -49964,7 +51353,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage getGameListPlayerLeftMessage(); - // optional .GameListAdminChangedMessage gameListAdminChangedMessage = 18; /** * optional .GameListAdminChangedMessage gameListAdminChangedMessage = 18; */ @@ -49974,7 +51362,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage getGameListAdminChangedMessage(); - // optional .PlayerInfoRequestMessage playerInfoRequestMessage = 19; /** * optional .PlayerInfoRequestMessage playerInfoRequestMessage = 19; */ @@ -49984,7 +51371,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage getPlayerInfoRequestMessage(); - // optional .PlayerInfoReplyMessage playerInfoReplyMessage = 20; /** * optional .PlayerInfoReplyMessage playerInfoReplyMessage = 20; */ @@ -49994,7 +51380,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage getPlayerInfoReplyMessage(); - // optional .SubscriptionRequestMessage subscriptionRequestMessage = 21; /** * optional .SubscriptionRequestMessage subscriptionRequestMessage = 21; */ @@ -50004,7 +51389,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage getSubscriptionRequestMessage(); - // optional .JoinExistingGameMessage joinExistingGameMessage = 22; /** * optional .JoinExistingGameMessage joinExistingGameMessage = 22; */ @@ -50014,7 +51398,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage getJoinExistingGameMessage(); - // optional .JoinNewGameMessage joinNewGameMessage = 23; /** * optional .JoinNewGameMessage joinNewGameMessage = 23; */ @@ -50024,7 +51407,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.JoinNewGameMessage getJoinNewGameMessage(); - // optional .RejoinExistingGameMessage rejoinExistingGameMessage = 24; /** * optional .RejoinExistingGameMessage rejoinExistingGameMessage = 24; */ @@ -50034,7 +51416,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage getRejoinExistingGameMessage(); - // optional .JoinGameAckMessage joinGameAckMessage = 25; /** * optional .JoinGameAckMessage joinGameAckMessage = 25; */ @@ -50044,7 +51425,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.JoinGameAckMessage getJoinGameAckMessage(); - // optional .JoinGameFailedMessage joinGameFailedMessage = 26; /** * optional .JoinGameFailedMessage joinGameFailedMessage = 26; */ @@ -50054,7 +51434,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage getJoinGameFailedMessage(); - // optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 27; /** * optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 27; */ @@ -50064,7 +51443,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage getGamePlayerJoinedMessage(); - // optional .GamePlayerLeftMessage gamePlayerLeftMessage = 28; /** * optional .GamePlayerLeftMessage gamePlayerLeftMessage = 28; */ @@ -50074,7 +51452,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage getGamePlayerLeftMessage(); - // optional .GameAdminChangedMessage gameAdminChangedMessage = 29; /** * optional .GameAdminChangedMessage gameAdminChangedMessage = 29; */ @@ -50084,7 +51461,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage getGameAdminChangedMessage(); - // optional .RemovedFromGameMessage removedFromGameMessage = 30; /** * optional .RemovedFromGameMessage removedFromGameMessage = 30; */ @@ -50094,7 +51470,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage getRemovedFromGameMessage(); - // optional .KickPlayerRequestMessage kickPlayerRequestMessage = 31; /** * optional .KickPlayerRequestMessage kickPlayerRequestMessage = 31; */ @@ -50104,7 +51479,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage getKickPlayerRequestMessage(); - // optional .LeaveGameRequestMessage leaveGameRequestMessage = 32; /** * optional .LeaveGameRequestMessage leaveGameRequestMessage = 32; */ @@ -50114,7 +51488,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage getLeaveGameRequestMessage(); - // optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 33; /** * optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 33; */ @@ -50124,7 +51497,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage getInvitePlayerToGameMessage(); - // optional .InviteNotifyMessage inviteNotifyMessage = 34; /** * optional .InviteNotifyMessage inviteNotifyMessage = 34; */ @@ -50134,7 +51506,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.InviteNotifyMessage getInviteNotifyMessage(); - // optional .RejectGameInvitationMessage rejectGameInvitationMessage = 35; /** * optional .RejectGameInvitationMessage rejectGameInvitationMessage = 35; */ @@ -50144,7 +51515,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage getRejectGameInvitationMessage(); - // optional .RejectInvNotifyMessage rejectInvNotifyMessage = 36; /** * optional .RejectInvNotifyMessage rejectInvNotifyMessage = 36; */ @@ -50154,7 +51524,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage getRejectInvNotifyMessage(); - // optional .StartEventMessage startEventMessage = 37; /** * optional .StartEventMessage startEventMessage = 37; */ @@ -50164,7 +51533,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.StartEventMessage getStartEventMessage(); - // optional .StartEventAckMessage startEventAckMessage = 38; /** * optional .StartEventAckMessage startEventAckMessage = 38; */ @@ -50174,7 +51542,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.StartEventAckMessage getStartEventAckMessage(); - // optional .GameStartInitialMessage gameStartInitialMessage = 39; /** * optional .GameStartInitialMessage gameStartInitialMessage = 39; */ @@ -50184,7 +51551,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.GameStartInitialMessage getGameStartInitialMessage(); - // optional .GameStartRejoinMessage gameStartRejoinMessage = 40; /** * optional .GameStartRejoinMessage gameStartRejoinMessage = 40; */ @@ -50194,7 +51560,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage getGameStartRejoinMessage(); - // optional .HandStartMessage handStartMessage = 41; /** * optional .HandStartMessage handStartMessage = 41; */ @@ -50204,7 +51569,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.HandStartMessage getHandStartMessage(); - // optional .PlayersTurnMessage playersTurnMessage = 42; /** * optional .PlayersTurnMessage playersTurnMessage = 42; */ @@ -50214,7 +51578,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.PlayersTurnMessage getPlayersTurnMessage(); - // optional .MyActionRequestMessage myActionRequestMessage = 43; /** * optional .MyActionRequestMessage myActionRequestMessage = 43; */ @@ -50224,7 +51587,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.MyActionRequestMessage getMyActionRequestMessage(); - // optional .YourActionRejectedMessage yourActionRejectedMessage = 44; /** * optional .YourActionRejectedMessage yourActionRejectedMessage = 44; */ @@ -50234,7 +51596,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage getYourActionRejectedMessage(); - // optional .PlayersActionDoneMessage playersActionDoneMessage = 45; /** * optional .PlayersActionDoneMessage playersActionDoneMessage = 45; */ @@ -50244,7 +51605,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage getPlayersActionDoneMessage(); - // optional .DealFlopCardsMessage dealFlopCardsMessage = 46; /** * optional .DealFlopCardsMessage dealFlopCardsMessage = 46; */ @@ -50254,7 +51614,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage getDealFlopCardsMessage(); - // optional .DealTurnCardMessage dealTurnCardMessage = 47; /** * optional .DealTurnCardMessage dealTurnCardMessage = 47; */ @@ -50264,7 +51623,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.DealTurnCardMessage getDealTurnCardMessage(); - // optional .DealRiverCardMessage dealRiverCardMessage = 48; /** * optional .DealRiverCardMessage dealRiverCardMessage = 48; */ @@ -50274,7 +51632,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.DealRiverCardMessage getDealRiverCardMessage(); - // optional .AllInShowCardsMessage allInShowCardsMessage = 49; /** * optional .AllInShowCardsMessage allInShowCardsMessage = 49; */ @@ -50284,7 +51641,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage getAllInShowCardsMessage(); - // optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 50; /** * optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 50; */ @@ -50294,7 +51650,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage getEndOfHandShowCardsMessage(); - // optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 51; /** * optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 51; */ @@ -50304,7 +51659,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage getEndOfHandHideCardsMessage(); - // optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 52; /** * optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 52; */ @@ -50314,7 +51668,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage getShowMyCardsRequestMessage(); - // optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 53; /** * optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 53; */ @@ -50324,7 +51677,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage getAfterHandShowCardsMessage(); - // optional .EndOfGameMessage endOfGameMessage = 54; /** * optional .EndOfGameMessage endOfGameMessage = 54; */ @@ -50334,7 +51686,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.EndOfGameMessage getEndOfGameMessage(); - // optional .PlayerIdChangedMessage playerIdChangedMessage = 55; /** * optional .PlayerIdChangedMessage playerIdChangedMessage = 55; */ @@ -50344,7 +51695,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage getPlayerIdChangedMessage(); - // optional .AskKickPlayerMessage askKickPlayerMessage = 56; /** * optional .AskKickPlayerMessage askKickPlayerMessage = 56; */ @@ -50354,7 +51704,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage getAskKickPlayerMessage(); - // optional .AskKickDeniedMessage askKickDeniedMessage = 57; /** * optional .AskKickDeniedMessage askKickDeniedMessage = 57; */ @@ -50364,7 +51713,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage getAskKickDeniedMessage(); - // optional .StartKickPetitionMessage startKickPetitionMessage = 58; /** * optional .StartKickPetitionMessage startKickPetitionMessage = 58; */ @@ -50374,7 +51722,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage getStartKickPetitionMessage(); - // optional .VoteKickRequestMessage voteKickRequestMessage = 59; /** * optional .VoteKickRequestMessage voteKickRequestMessage = 59; */ @@ -50384,7 +51731,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage getVoteKickRequestMessage(); - // optional .VoteKickReplyMessage voteKickReplyMessage = 60; /** * optional .VoteKickReplyMessage voteKickReplyMessage = 60; */ @@ -50394,7 +51740,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage getVoteKickReplyMessage(); - // optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 61; /** * optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 61; */ @@ -50404,7 +51749,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage getKickPetitionUpdateMessage(); - // optional .EndKickPetitionMessage endKickPetitionMessage = 62; /** * optional .EndKickPetitionMessage endKickPetitionMessage = 62; */ @@ -50414,7 +51758,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage getEndKickPetitionMessage(); - // optional .StatisticsMessage statisticsMessage = 63; /** * optional .StatisticsMessage statisticsMessage = 63; */ @@ -50424,7 +51767,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.StatisticsMessage getStatisticsMessage(); - // optional .ChatRequestMessage chatRequestMessage = 64; /** * optional .ChatRequestMessage chatRequestMessage = 64; */ @@ -50434,7 +51776,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.ChatRequestMessage getChatRequestMessage(); - // optional .ChatMessage chatMessage = 65; /** * optional .ChatMessage chatMessage = 65; */ @@ -50444,7 +51785,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.ChatMessage getChatMessage(); - // optional .ChatRejectMessage chatRejectMessage = 66; /** * optional .ChatRejectMessage chatRejectMessage = 66; */ @@ -50454,7 +51794,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.ChatRejectMessage getChatRejectMessage(); - // optional .DialogMessage dialogMessage = 67; /** * optional .DialogMessage dialogMessage = 67; */ @@ -50464,7 +51803,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.DialogMessage getDialogMessage(); - // optional .TimeoutWarningMessage timeoutWarningMessage = 68; /** * optional .TimeoutWarningMessage timeoutWarningMessage = 68; */ @@ -50474,7 +51812,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage getTimeoutWarningMessage(); - // optional .ResetTimeoutMessage resetTimeoutMessage = 69; /** * optional .ResetTimeoutMessage resetTimeoutMessage = 69; */ @@ -50484,7 +51821,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage getResetTimeoutMessage(); - // optional .ReportAvatarMessage reportAvatarMessage = 70; /** * optional .ReportAvatarMessage reportAvatarMessage = 70; */ @@ -50494,7 +51830,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.ReportAvatarMessage getReportAvatarMessage(); - // optional .ReportAvatarAckMessage reportAvatarAckMessage = 71; /** * optional .ReportAvatarAckMessage reportAvatarAckMessage = 71; */ @@ -50504,7 +51839,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage getReportAvatarAckMessage(); - // optional .ReportGameMessage reportGameMessage = 72; /** * optional .ReportGameMessage reportGameMessage = 72; */ @@ -50514,7 +51848,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.ReportGameMessage getReportGameMessage(); - // optional .ReportGameAckMessage reportGameAckMessage = 73; /** * optional .ReportGameAckMessage reportGameAckMessage = 73; */ @@ -50524,7 +51857,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.ReportGameAckMessage getReportGameAckMessage(); - // optional .ErrorMessage errorMessage = 74; /** * optional .ErrorMessage errorMessage = 74; */ @@ -50534,7 +51866,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.ErrorMessage getErrorMessage(); - // optional .AdminRemoveGameMessage adminRemoveGameMessage = 75; /** * optional .AdminRemoveGameMessage adminRemoveGameMessage = 75; */ @@ -50544,7 +51875,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage getAdminRemoveGameMessage(); - // optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 76; /** * optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 76; */ @@ -50554,7 +51884,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage getAdminRemoveGameAckMessage(); - // optional .AdminBanPlayerMessage adminBanPlayerMessage = 77; /** * optional .AdminBanPlayerMessage adminBanPlayerMessage = 77; */ @@ -50564,7 +51893,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage getAdminBanPlayerMessage(); - // optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 78; /** * optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 78; */ @@ -50574,7 +51902,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage getAdminBanPlayerAckMessage(); - // optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 79; /** * optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 79; */ @@ -50584,7 +51911,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage getGameListSpectatorJoinedMessage(); - // optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 80; /** * optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 80; */ @@ -50594,7 +51920,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage getGameListSpectatorLeftMessage(); - // optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 81; /** * optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 81; */ @@ -50604,7 +51929,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage getGameSpectatorJoinedMessage(); - // optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 82; /** * optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 82; */ @@ -50618,14 +51942,15 @@ public final class ProtoBuf { * Protobuf type {@code PokerTHMessage} */ public static final class PokerTHMessage extends - com.google.protobuf.GeneratedMessageLite - implements PokerTHMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:PokerTHMessage) + PokerTHMessageOrBuilder { // Use PokerTHMessage.newBuilder() to construct. private PokerTHMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private PokerTHMessage(boolean noInit) {} + private PokerTHMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final PokerTHMessage defaultInstance; public static PokerTHMessage getDefaultInstance() { @@ -50636,6 +51961,7 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private PokerTHMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -50644,6 +51970,11 @@ public final class ProtoBuf { int mutable_bitField0_ = 0; int mutable_bitField1_ = 0; int mutable_bitField2_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -50653,7 +51984,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -50662,7 +51993,10 @@ public final class ProtoBuf { case 8: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.PokerTHMessage.PokerTHMessageType value = de.pokerth.protocol.ProtoBuf.PokerTHMessage.PokerTHMessageType.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFieldsCodedOutput.writeRawVarint32(tag); + unknownFieldsCodedOutput.writeRawVarint32(rawValue); + } else { bitField0_ |= 0x00000001; messageType_ = value; } @@ -51729,6 +53063,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -52517,7 +53858,6 @@ 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_; /** @@ -52533,7 +53873,6 @@ public final class ProtoBuf { return messageType_; } - // optional .AnnounceMessage announceMessage = 2; public static final int ANNOUNCEMESSAGE_FIELD_NUMBER = 2; private de.pokerth.protocol.ProtoBuf.AnnounceMessage announceMessage_; /** @@ -52549,7 +53888,6 @@ public final class ProtoBuf { return announceMessage_; } - // optional .InitMessage initMessage = 3; public static final int INITMESSAGE_FIELD_NUMBER = 3; private de.pokerth.protocol.ProtoBuf.InitMessage initMessage_; /** @@ -52565,7 +53903,6 @@ public final class ProtoBuf { return initMessage_; } - // optional .AuthServerChallengeMessage authServerChallengeMessage = 4; public static final int AUTHSERVERCHALLENGEMESSAGE_FIELD_NUMBER = 4; private de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage authServerChallengeMessage_; /** @@ -52581,7 +53918,6 @@ public final class ProtoBuf { return authServerChallengeMessage_; } - // optional .AuthClientResponseMessage authClientResponseMessage = 5; public static final int AUTHCLIENTRESPONSEMESSAGE_FIELD_NUMBER = 5; private de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage authClientResponseMessage_; /** @@ -52597,7 +53933,6 @@ public final class ProtoBuf { return authClientResponseMessage_; } - // optional .AuthServerVerificationMessage authServerVerificationMessage = 6; public static final int AUTHSERVERVERIFICATIONMESSAGE_FIELD_NUMBER = 6; private de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage authServerVerificationMessage_; /** @@ -52613,7 +53948,6 @@ public final class ProtoBuf { return authServerVerificationMessage_; } - // optional .InitAckMessage initAckMessage = 7; public static final int INITACKMESSAGE_FIELD_NUMBER = 7; private de.pokerth.protocol.ProtoBuf.InitAckMessage initAckMessage_; /** @@ -52629,7 +53963,6 @@ public final class ProtoBuf { return initAckMessage_; } - // optional .AvatarRequestMessage avatarRequestMessage = 8; public static final int AVATARREQUESTMESSAGE_FIELD_NUMBER = 8; private de.pokerth.protocol.ProtoBuf.AvatarRequestMessage avatarRequestMessage_; /** @@ -52645,7 +53978,6 @@ public final class ProtoBuf { return avatarRequestMessage_; } - // optional .AvatarHeaderMessage avatarHeaderMessage = 9; public static final int AVATARHEADERMESSAGE_FIELD_NUMBER = 9; private de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage avatarHeaderMessage_; /** @@ -52661,7 +53993,6 @@ public final class ProtoBuf { return avatarHeaderMessage_; } - // optional .AvatarDataMessage avatarDataMessage = 10; public static final int AVATARDATAMESSAGE_FIELD_NUMBER = 10; private de.pokerth.protocol.ProtoBuf.AvatarDataMessage avatarDataMessage_; /** @@ -52677,7 +54008,6 @@ public final class ProtoBuf { return avatarDataMessage_; } - // optional .AvatarEndMessage avatarEndMessage = 11; public static final int AVATARENDMESSAGE_FIELD_NUMBER = 11; private de.pokerth.protocol.ProtoBuf.AvatarEndMessage avatarEndMessage_; /** @@ -52693,7 +54023,6 @@ public final class ProtoBuf { return avatarEndMessage_; } - // optional .UnknownAvatarMessage unknownAvatarMessage = 12; public static final int UNKNOWNAVATARMESSAGE_FIELD_NUMBER = 12; private de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage unknownAvatarMessage_; /** @@ -52709,7 +54038,6 @@ public final class ProtoBuf { return unknownAvatarMessage_; } - // optional .PlayerListMessage playerListMessage = 13; public static final int PLAYERLISTMESSAGE_FIELD_NUMBER = 13; private de.pokerth.protocol.ProtoBuf.PlayerListMessage playerListMessage_; /** @@ -52725,7 +54053,6 @@ public final class ProtoBuf { return playerListMessage_; } - // optional .GameListNewMessage gameListNewMessage = 14; public static final int GAMELISTNEWMESSAGE_FIELD_NUMBER = 14; private de.pokerth.protocol.ProtoBuf.GameListNewMessage gameListNewMessage_; /** @@ -52741,7 +54068,6 @@ public final class ProtoBuf { return gameListNewMessage_; } - // optional .GameListUpdateMessage gameListUpdateMessage = 15; public static final int GAMELISTUPDATEMESSAGE_FIELD_NUMBER = 15; private de.pokerth.protocol.ProtoBuf.GameListUpdateMessage gameListUpdateMessage_; /** @@ -52757,7 +54083,6 @@ public final class ProtoBuf { return gameListUpdateMessage_; } - // optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 16; public static final int GAMELISTPLAYERJOINEDMESSAGE_FIELD_NUMBER = 16; private de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage gameListPlayerJoinedMessage_; /** @@ -52773,7 +54098,6 @@ public final class ProtoBuf { return gameListPlayerJoinedMessage_; } - // optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 17; public static final int GAMELISTPLAYERLEFTMESSAGE_FIELD_NUMBER = 17; private de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage gameListPlayerLeftMessage_; /** @@ -52789,7 +54113,6 @@ public final class ProtoBuf { return gameListPlayerLeftMessage_; } - // optional .GameListAdminChangedMessage gameListAdminChangedMessage = 18; public static final int GAMELISTADMINCHANGEDMESSAGE_FIELD_NUMBER = 18; private de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage gameListAdminChangedMessage_; /** @@ -52805,7 +54128,6 @@ public final class ProtoBuf { return gameListAdminChangedMessage_; } - // optional .PlayerInfoRequestMessage playerInfoRequestMessage = 19; public static final int PLAYERINFOREQUESTMESSAGE_FIELD_NUMBER = 19; private de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage playerInfoRequestMessage_; /** @@ -52821,7 +54143,6 @@ public final class ProtoBuf { return playerInfoRequestMessage_; } - // optional .PlayerInfoReplyMessage playerInfoReplyMessage = 20; public static final int PLAYERINFOREPLYMESSAGE_FIELD_NUMBER = 20; private de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage playerInfoReplyMessage_; /** @@ -52837,7 +54158,6 @@ public final class ProtoBuf { return playerInfoReplyMessage_; } - // optional .SubscriptionRequestMessage subscriptionRequestMessage = 21; public static final int SUBSCRIPTIONREQUESTMESSAGE_FIELD_NUMBER = 21; private de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage subscriptionRequestMessage_; /** @@ -52853,7 +54173,6 @@ public final class ProtoBuf { return subscriptionRequestMessage_; } - // optional .JoinExistingGameMessage joinExistingGameMessage = 22; public static final int JOINEXISTINGGAMEMESSAGE_FIELD_NUMBER = 22; private de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage joinExistingGameMessage_; /** @@ -52869,7 +54188,6 @@ public final class ProtoBuf { return joinExistingGameMessage_; } - // optional .JoinNewGameMessage joinNewGameMessage = 23; public static final int JOINNEWGAMEMESSAGE_FIELD_NUMBER = 23; private de.pokerth.protocol.ProtoBuf.JoinNewGameMessage joinNewGameMessage_; /** @@ -52885,7 +54203,6 @@ public final class ProtoBuf { return joinNewGameMessage_; } - // optional .RejoinExistingGameMessage rejoinExistingGameMessage = 24; public static final int REJOINEXISTINGGAMEMESSAGE_FIELD_NUMBER = 24; private de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage rejoinExistingGameMessage_; /** @@ -52901,7 +54218,6 @@ public final class ProtoBuf { return rejoinExistingGameMessage_; } - // optional .JoinGameAckMessage joinGameAckMessage = 25; public static final int JOINGAMEACKMESSAGE_FIELD_NUMBER = 25; private de.pokerth.protocol.ProtoBuf.JoinGameAckMessage joinGameAckMessage_; /** @@ -52917,7 +54233,6 @@ public final class ProtoBuf { return joinGameAckMessage_; } - // optional .JoinGameFailedMessage joinGameFailedMessage = 26; public static final int JOINGAMEFAILEDMESSAGE_FIELD_NUMBER = 26; private de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage joinGameFailedMessage_; /** @@ -52933,7 +54248,6 @@ public final class ProtoBuf { return joinGameFailedMessage_; } - // optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 27; public static final int GAMEPLAYERJOINEDMESSAGE_FIELD_NUMBER = 27; private de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage gamePlayerJoinedMessage_; /** @@ -52949,7 +54263,6 @@ public final class ProtoBuf { return gamePlayerJoinedMessage_; } - // optional .GamePlayerLeftMessage gamePlayerLeftMessage = 28; public static final int GAMEPLAYERLEFTMESSAGE_FIELD_NUMBER = 28; private de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage gamePlayerLeftMessage_; /** @@ -52965,7 +54278,6 @@ public final class ProtoBuf { return gamePlayerLeftMessage_; } - // optional .GameAdminChangedMessage gameAdminChangedMessage = 29; public static final int GAMEADMINCHANGEDMESSAGE_FIELD_NUMBER = 29; private de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage gameAdminChangedMessage_; /** @@ -52981,7 +54293,6 @@ public final class ProtoBuf { return gameAdminChangedMessage_; } - // optional .RemovedFromGameMessage removedFromGameMessage = 30; public static final int REMOVEDFROMGAMEMESSAGE_FIELD_NUMBER = 30; private de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage removedFromGameMessage_; /** @@ -52997,7 +54308,6 @@ public final class ProtoBuf { return removedFromGameMessage_; } - // optional .KickPlayerRequestMessage kickPlayerRequestMessage = 31; public static final int KICKPLAYERREQUESTMESSAGE_FIELD_NUMBER = 31; private de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage kickPlayerRequestMessage_; /** @@ -53013,7 +54323,6 @@ public final class ProtoBuf { return kickPlayerRequestMessage_; } - // optional .LeaveGameRequestMessage leaveGameRequestMessage = 32; public static final int LEAVEGAMEREQUESTMESSAGE_FIELD_NUMBER = 32; private de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage leaveGameRequestMessage_; /** @@ -53029,7 +54338,6 @@ public final class ProtoBuf { return leaveGameRequestMessage_; } - // optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 33; public static final int INVITEPLAYERTOGAMEMESSAGE_FIELD_NUMBER = 33; private de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage invitePlayerToGameMessage_; /** @@ -53045,7 +54353,6 @@ public final class ProtoBuf { return invitePlayerToGameMessage_; } - // optional .InviteNotifyMessage inviteNotifyMessage = 34; public static final int INVITENOTIFYMESSAGE_FIELD_NUMBER = 34; private de.pokerth.protocol.ProtoBuf.InviteNotifyMessage inviteNotifyMessage_; /** @@ -53061,7 +54368,6 @@ public final class ProtoBuf { return inviteNotifyMessage_; } - // optional .RejectGameInvitationMessage rejectGameInvitationMessage = 35; public static final int REJECTGAMEINVITATIONMESSAGE_FIELD_NUMBER = 35; private de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage rejectGameInvitationMessage_; /** @@ -53077,7 +54383,6 @@ public final class ProtoBuf { return rejectGameInvitationMessage_; } - // optional .RejectInvNotifyMessage rejectInvNotifyMessage = 36; public static final int REJECTINVNOTIFYMESSAGE_FIELD_NUMBER = 36; private de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage rejectInvNotifyMessage_; /** @@ -53093,7 +54398,6 @@ public final class ProtoBuf { return rejectInvNotifyMessage_; } - // optional .StartEventMessage startEventMessage = 37; public static final int STARTEVENTMESSAGE_FIELD_NUMBER = 37; private de.pokerth.protocol.ProtoBuf.StartEventMessage startEventMessage_; /** @@ -53109,7 +54413,6 @@ public final class ProtoBuf { return startEventMessage_; } - // optional .StartEventAckMessage startEventAckMessage = 38; public static final int STARTEVENTACKMESSAGE_FIELD_NUMBER = 38; private de.pokerth.protocol.ProtoBuf.StartEventAckMessage startEventAckMessage_; /** @@ -53125,7 +54428,6 @@ public final class ProtoBuf { return startEventAckMessage_; } - // optional .GameStartInitialMessage gameStartInitialMessage = 39; public static final int GAMESTARTINITIALMESSAGE_FIELD_NUMBER = 39; private de.pokerth.protocol.ProtoBuf.GameStartInitialMessage gameStartInitialMessage_; /** @@ -53141,7 +54443,6 @@ public final class ProtoBuf { return gameStartInitialMessage_; } - // optional .GameStartRejoinMessage gameStartRejoinMessage = 40; public static final int GAMESTARTREJOINMESSAGE_FIELD_NUMBER = 40; private de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage gameStartRejoinMessage_; /** @@ -53157,7 +54458,6 @@ public final class ProtoBuf { return gameStartRejoinMessage_; } - // optional .HandStartMessage handStartMessage = 41; public static final int HANDSTARTMESSAGE_FIELD_NUMBER = 41; private de.pokerth.protocol.ProtoBuf.HandStartMessage handStartMessage_; /** @@ -53173,7 +54473,6 @@ public final class ProtoBuf { return handStartMessage_; } - // optional .PlayersTurnMessage playersTurnMessage = 42; public static final int PLAYERSTURNMESSAGE_FIELD_NUMBER = 42; private de.pokerth.protocol.ProtoBuf.PlayersTurnMessage playersTurnMessage_; /** @@ -53189,7 +54488,6 @@ public final class ProtoBuf { return playersTurnMessage_; } - // optional .MyActionRequestMessage myActionRequestMessage = 43; public static final int MYACTIONREQUESTMESSAGE_FIELD_NUMBER = 43; private de.pokerth.protocol.ProtoBuf.MyActionRequestMessage myActionRequestMessage_; /** @@ -53205,7 +54503,6 @@ public final class ProtoBuf { return myActionRequestMessage_; } - // optional .YourActionRejectedMessage yourActionRejectedMessage = 44; public static final int YOURACTIONREJECTEDMESSAGE_FIELD_NUMBER = 44; private de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage yourActionRejectedMessage_; /** @@ -53221,7 +54518,6 @@ public final class ProtoBuf { return yourActionRejectedMessage_; } - // optional .PlayersActionDoneMessage playersActionDoneMessage = 45; public static final int PLAYERSACTIONDONEMESSAGE_FIELD_NUMBER = 45; private de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage playersActionDoneMessage_; /** @@ -53237,7 +54533,6 @@ public final class ProtoBuf { return playersActionDoneMessage_; } - // optional .DealFlopCardsMessage dealFlopCardsMessage = 46; public static final int DEALFLOPCARDSMESSAGE_FIELD_NUMBER = 46; private de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage dealFlopCardsMessage_; /** @@ -53253,7 +54548,6 @@ public final class ProtoBuf { return dealFlopCardsMessage_; } - // optional .DealTurnCardMessage dealTurnCardMessage = 47; public static final int DEALTURNCARDMESSAGE_FIELD_NUMBER = 47; private de.pokerth.protocol.ProtoBuf.DealTurnCardMessage dealTurnCardMessage_; /** @@ -53269,7 +54563,6 @@ public final class ProtoBuf { return dealTurnCardMessage_; } - // optional .DealRiverCardMessage dealRiverCardMessage = 48; public static final int DEALRIVERCARDMESSAGE_FIELD_NUMBER = 48; private de.pokerth.protocol.ProtoBuf.DealRiverCardMessage dealRiverCardMessage_; /** @@ -53285,7 +54578,6 @@ public final class ProtoBuf { return dealRiverCardMessage_; } - // optional .AllInShowCardsMessage allInShowCardsMessage = 49; public static final int ALLINSHOWCARDSMESSAGE_FIELD_NUMBER = 49; private de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage allInShowCardsMessage_; /** @@ -53301,7 +54593,6 @@ public final class ProtoBuf { return allInShowCardsMessage_; } - // optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 50; public static final int ENDOFHANDSHOWCARDSMESSAGE_FIELD_NUMBER = 50; private de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage endOfHandShowCardsMessage_; /** @@ -53317,7 +54608,6 @@ public final class ProtoBuf { return endOfHandShowCardsMessage_; } - // optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 51; public static final int ENDOFHANDHIDECARDSMESSAGE_FIELD_NUMBER = 51; private de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage endOfHandHideCardsMessage_; /** @@ -53333,7 +54623,6 @@ public final class ProtoBuf { return endOfHandHideCardsMessage_; } - // optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 52; public static final int SHOWMYCARDSREQUESTMESSAGE_FIELD_NUMBER = 52; private de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage showMyCardsRequestMessage_; /** @@ -53349,7 +54638,6 @@ public final class ProtoBuf { return showMyCardsRequestMessage_; } - // optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 53; public static final int AFTERHANDSHOWCARDSMESSAGE_FIELD_NUMBER = 53; private de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage afterHandShowCardsMessage_; /** @@ -53365,7 +54653,6 @@ public final class ProtoBuf { return afterHandShowCardsMessage_; } - // optional .EndOfGameMessage endOfGameMessage = 54; public static final int ENDOFGAMEMESSAGE_FIELD_NUMBER = 54; private de.pokerth.protocol.ProtoBuf.EndOfGameMessage endOfGameMessage_; /** @@ -53381,7 +54668,6 @@ public final class ProtoBuf { return endOfGameMessage_; } - // optional .PlayerIdChangedMessage playerIdChangedMessage = 55; public static final int PLAYERIDCHANGEDMESSAGE_FIELD_NUMBER = 55; private de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage playerIdChangedMessage_; /** @@ -53397,7 +54683,6 @@ public final class ProtoBuf { return playerIdChangedMessage_; } - // optional .AskKickPlayerMessage askKickPlayerMessage = 56; public static final int ASKKICKPLAYERMESSAGE_FIELD_NUMBER = 56; private de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage askKickPlayerMessage_; /** @@ -53413,7 +54698,6 @@ public final class ProtoBuf { return askKickPlayerMessage_; } - // optional .AskKickDeniedMessage askKickDeniedMessage = 57; public static final int ASKKICKDENIEDMESSAGE_FIELD_NUMBER = 57; private de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage askKickDeniedMessage_; /** @@ -53429,7 +54713,6 @@ public final class ProtoBuf { return askKickDeniedMessage_; } - // optional .StartKickPetitionMessage startKickPetitionMessage = 58; public static final int STARTKICKPETITIONMESSAGE_FIELD_NUMBER = 58; private de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage startKickPetitionMessage_; /** @@ -53445,7 +54728,6 @@ public final class ProtoBuf { return startKickPetitionMessage_; } - // optional .VoteKickRequestMessage voteKickRequestMessage = 59; public static final int VOTEKICKREQUESTMESSAGE_FIELD_NUMBER = 59; private de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage voteKickRequestMessage_; /** @@ -53461,7 +54743,6 @@ public final class ProtoBuf { return voteKickRequestMessage_; } - // optional .VoteKickReplyMessage voteKickReplyMessage = 60; public static final int VOTEKICKREPLYMESSAGE_FIELD_NUMBER = 60; private de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage voteKickReplyMessage_; /** @@ -53477,7 +54758,6 @@ public final class ProtoBuf { return voteKickReplyMessage_; } - // optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 61; public static final int KICKPETITIONUPDATEMESSAGE_FIELD_NUMBER = 61; private de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage kickPetitionUpdateMessage_; /** @@ -53493,7 +54773,6 @@ public final class ProtoBuf { return kickPetitionUpdateMessage_; } - // optional .EndKickPetitionMessage endKickPetitionMessage = 62; public static final int ENDKICKPETITIONMESSAGE_FIELD_NUMBER = 62; private de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage endKickPetitionMessage_; /** @@ -53509,7 +54788,6 @@ public final class ProtoBuf { return endKickPetitionMessage_; } - // optional .StatisticsMessage statisticsMessage = 63; public static final int STATISTICSMESSAGE_FIELD_NUMBER = 63; private de.pokerth.protocol.ProtoBuf.StatisticsMessage statisticsMessage_; /** @@ -53525,7 +54803,6 @@ public final class ProtoBuf { return statisticsMessage_; } - // optional .ChatRequestMessage chatRequestMessage = 64; public static final int CHATREQUESTMESSAGE_FIELD_NUMBER = 64; private de.pokerth.protocol.ProtoBuf.ChatRequestMessage chatRequestMessage_; /** @@ -53541,7 +54818,6 @@ public final class ProtoBuf { return chatRequestMessage_; } - // optional .ChatMessage chatMessage = 65; public static final int CHATMESSAGE_FIELD_NUMBER = 65; private de.pokerth.protocol.ProtoBuf.ChatMessage chatMessage_; /** @@ -53557,7 +54833,6 @@ public final class ProtoBuf { return chatMessage_; } - // optional .ChatRejectMessage chatRejectMessage = 66; public static final int CHATREJECTMESSAGE_FIELD_NUMBER = 66; private de.pokerth.protocol.ProtoBuf.ChatRejectMessage chatRejectMessage_; /** @@ -53573,7 +54848,6 @@ public final class ProtoBuf { return chatRejectMessage_; } - // optional .DialogMessage dialogMessage = 67; public static final int DIALOGMESSAGE_FIELD_NUMBER = 67; private de.pokerth.protocol.ProtoBuf.DialogMessage dialogMessage_; /** @@ -53589,7 +54863,6 @@ public final class ProtoBuf { return dialogMessage_; } - // optional .TimeoutWarningMessage timeoutWarningMessage = 68; public static final int TIMEOUTWARNINGMESSAGE_FIELD_NUMBER = 68; private de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage timeoutWarningMessage_; /** @@ -53605,7 +54878,6 @@ public final class ProtoBuf { return timeoutWarningMessage_; } - // optional .ResetTimeoutMessage resetTimeoutMessage = 69; public static final int RESETTIMEOUTMESSAGE_FIELD_NUMBER = 69; private de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage resetTimeoutMessage_; /** @@ -53621,7 +54893,6 @@ public final class ProtoBuf { return resetTimeoutMessage_; } - // optional .ReportAvatarMessage reportAvatarMessage = 70; public static final int REPORTAVATARMESSAGE_FIELD_NUMBER = 70; private de.pokerth.protocol.ProtoBuf.ReportAvatarMessage reportAvatarMessage_; /** @@ -53637,7 +54908,6 @@ public final class ProtoBuf { return reportAvatarMessage_; } - // optional .ReportAvatarAckMessage reportAvatarAckMessage = 71; public static final int REPORTAVATARACKMESSAGE_FIELD_NUMBER = 71; private de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage reportAvatarAckMessage_; /** @@ -53653,7 +54923,6 @@ public final class ProtoBuf { return reportAvatarAckMessage_; } - // optional .ReportGameMessage reportGameMessage = 72; public static final int REPORTGAMEMESSAGE_FIELD_NUMBER = 72; private de.pokerth.protocol.ProtoBuf.ReportGameMessage reportGameMessage_; /** @@ -53669,7 +54938,6 @@ public final class ProtoBuf { return reportGameMessage_; } - // optional .ReportGameAckMessage reportGameAckMessage = 73; public static final int REPORTGAMEACKMESSAGE_FIELD_NUMBER = 73; private de.pokerth.protocol.ProtoBuf.ReportGameAckMessage reportGameAckMessage_; /** @@ -53685,7 +54953,6 @@ public final class ProtoBuf { return reportGameAckMessage_; } - // optional .ErrorMessage errorMessage = 74; public static final int ERRORMESSAGE_FIELD_NUMBER = 74; private de.pokerth.protocol.ProtoBuf.ErrorMessage errorMessage_; /** @@ -53701,7 +54968,6 @@ public final class ProtoBuf { return errorMessage_; } - // optional .AdminRemoveGameMessage adminRemoveGameMessage = 75; public static final int ADMINREMOVEGAMEMESSAGE_FIELD_NUMBER = 75; private de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage adminRemoveGameMessage_; /** @@ -53717,7 +54983,6 @@ public final class ProtoBuf { return adminRemoveGameMessage_; } - // optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 76; public static final int ADMINREMOVEGAMEACKMESSAGE_FIELD_NUMBER = 76; private de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage adminRemoveGameAckMessage_; /** @@ -53733,7 +54998,6 @@ public final class ProtoBuf { return adminRemoveGameAckMessage_; } - // optional .AdminBanPlayerMessage adminBanPlayerMessage = 77; public static final int ADMINBANPLAYERMESSAGE_FIELD_NUMBER = 77; private de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage adminBanPlayerMessage_; /** @@ -53749,7 +55013,6 @@ public final class ProtoBuf { return adminBanPlayerMessage_; } - // optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 78; public static final int ADMINBANPLAYERACKMESSAGE_FIELD_NUMBER = 78; private de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage adminBanPlayerAckMessage_; /** @@ -53765,7 +55028,6 @@ public final class ProtoBuf { return adminBanPlayerAckMessage_; } - // optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 79; public static final int GAMELISTSPECTATORJOINEDMESSAGE_FIELD_NUMBER = 79; private de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage_; /** @@ -53781,7 +55043,6 @@ public final class ProtoBuf { return gameListSpectatorJoinedMessage_; } - // optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 80; public static final int GAMELISTSPECTATORLEFTMESSAGE_FIELD_NUMBER = 80; private de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage gameListSpectatorLeftMessage_; /** @@ -53797,7 +55058,6 @@ public final class ProtoBuf { return gameListSpectatorLeftMessage_; } - // optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 81; public static final int GAMESPECTATORJOINEDMESSAGE_FIELD_NUMBER = 81; private de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage gameSpectatorJoinedMessage_; /** @@ -53813,7 +55073,6 @@ public final class ProtoBuf { return gameSpectatorJoinedMessage_; } - // optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 82; public static final int GAMESPECTATORLEFTMESSAGE_FIELD_NUMBER = 82; private de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage gameSpectatorLeftMessage_; /** @@ -53916,7 +55175,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -54643,6 +55903,7 @@ public final class ProtoBuf { if (((bitField2_ & 0x00020000) == 0x00020000)) { output.writeMessage(82, gameSpectatorLeftMessage_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -54979,6 +56240,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeMessageSize(82, gameSpectatorLeftMessage_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -55056,7 +56318,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.PokerTHMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.PokerTHMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:PokerTHMessage) + de.pokerth.protocol.ProtoBuf.PokerTHMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.PokerTHMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -55843,6 +57107,8 @@ public final class ProtoBuf { if (other.hasGameSpectatorLeftMessage()) { mergeGameSpectatorLeftMessage(other.getGameSpectatorLeftMessage()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -56343,7 +57609,6 @@ 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; /** * required .PokerTHMessage.PokerTHMessageType messageType = 1; @@ -56379,7 +57644,6 @@ public final class ProtoBuf { return this; } - // optional .AnnounceMessage announceMessage = 2; private de.pokerth.protocol.ProtoBuf.AnnounceMessage announceMessage_ = de.pokerth.protocol.ProtoBuf.AnnounceMessage.getDefaultInstance(); /** * optional .AnnounceMessage announceMessage = 2; @@ -56440,7 +57704,6 @@ public final class ProtoBuf { return this; } - // optional .InitMessage initMessage = 3; private de.pokerth.protocol.ProtoBuf.InitMessage initMessage_ = de.pokerth.protocol.ProtoBuf.InitMessage.getDefaultInstance(); /** * optional .InitMessage initMessage = 3; @@ -56501,7 +57764,6 @@ public final class ProtoBuf { return this; } - // optional .AuthServerChallengeMessage authServerChallengeMessage = 4; private de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage authServerChallengeMessage_ = de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage.getDefaultInstance(); /** * optional .AuthServerChallengeMessage authServerChallengeMessage = 4; @@ -56562,7 +57824,6 @@ public final class ProtoBuf { return this; } - // optional .AuthClientResponseMessage authClientResponseMessage = 5; private de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage authClientResponseMessage_ = de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage.getDefaultInstance(); /** * optional .AuthClientResponseMessage authClientResponseMessage = 5; @@ -56623,7 +57884,6 @@ public final class ProtoBuf { return this; } - // optional .AuthServerVerificationMessage authServerVerificationMessage = 6; private de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage authServerVerificationMessage_ = de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage.getDefaultInstance(); /** * optional .AuthServerVerificationMessage authServerVerificationMessage = 6; @@ -56684,7 +57944,6 @@ public final class ProtoBuf { return this; } - // optional .InitAckMessage initAckMessage = 7; private de.pokerth.protocol.ProtoBuf.InitAckMessage initAckMessage_ = de.pokerth.protocol.ProtoBuf.InitAckMessage.getDefaultInstance(); /** * optional .InitAckMessage initAckMessage = 7; @@ -56745,7 +58004,6 @@ public final class ProtoBuf { return this; } - // optional .AvatarRequestMessage avatarRequestMessage = 8; private de.pokerth.protocol.ProtoBuf.AvatarRequestMessage avatarRequestMessage_ = de.pokerth.protocol.ProtoBuf.AvatarRequestMessage.getDefaultInstance(); /** * optional .AvatarRequestMessage avatarRequestMessage = 8; @@ -56806,7 +58064,6 @@ public final class ProtoBuf { return this; } - // optional .AvatarHeaderMessage avatarHeaderMessage = 9; private de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage avatarHeaderMessage_ = de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage.getDefaultInstance(); /** * optional .AvatarHeaderMessage avatarHeaderMessage = 9; @@ -56867,7 +58124,6 @@ public final class ProtoBuf { return this; } - // optional .AvatarDataMessage avatarDataMessage = 10; private de.pokerth.protocol.ProtoBuf.AvatarDataMessage avatarDataMessage_ = de.pokerth.protocol.ProtoBuf.AvatarDataMessage.getDefaultInstance(); /** * optional .AvatarDataMessage avatarDataMessage = 10; @@ -56928,7 +58184,6 @@ public final class ProtoBuf { return this; } - // optional .AvatarEndMessage avatarEndMessage = 11; private de.pokerth.protocol.ProtoBuf.AvatarEndMessage avatarEndMessage_ = de.pokerth.protocol.ProtoBuf.AvatarEndMessage.getDefaultInstance(); /** * optional .AvatarEndMessage avatarEndMessage = 11; @@ -56989,7 +58244,6 @@ public final class ProtoBuf { return this; } - // optional .UnknownAvatarMessage unknownAvatarMessage = 12; private de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage unknownAvatarMessage_ = de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage.getDefaultInstance(); /** * optional .UnknownAvatarMessage unknownAvatarMessage = 12; @@ -57050,7 +58304,6 @@ public final class ProtoBuf { return this; } - // optional .PlayerListMessage playerListMessage = 13; private de.pokerth.protocol.ProtoBuf.PlayerListMessage playerListMessage_ = de.pokerth.protocol.ProtoBuf.PlayerListMessage.getDefaultInstance(); /** * optional .PlayerListMessage playerListMessage = 13; @@ -57111,7 +58364,6 @@ public final class ProtoBuf { return this; } - // optional .GameListNewMessage gameListNewMessage = 14; private de.pokerth.protocol.ProtoBuf.GameListNewMessage gameListNewMessage_ = de.pokerth.protocol.ProtoBuf.GameListNewMessage.getDefaultInstance(); /** * optional .GameListNewMessage gameListNewMessage = 14; @@ -57172,7 +58424,6 @@ public final class ProtoBuf { return this; } - // optional .GameListUpdateMessage gameListUpdateMessage = 15; private de.pokerth.protocol.ProtoBuf.GameListUpdateMessage gameListUpdateMessage_ = de.pokerth.protocol.ProtoBuf.GameListUpdateMessage.getDefaultInstance(); /** * optional .GameListUpdateMessage gameListUpdateMessage = 15; @@ -57233,7 +58484,6 @@ public final class ProtoBuf { return this; } - // optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 16; private de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage gameListPlayerJoinedMessage_ = de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage.getDefaultInstance(); /** * optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 16; @@ -57294,7 +58544,6 @@ public final class ProtoBuf { return this; } - // optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 17; private de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage gameListPlayerLeftMessage_ = de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage.getDefaultInstance(); /** * optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 17; @@ -57355,7 +58604,6 @@ public final class ProtoBuf { return this; } - // optional .GameListAdminChangedMessage gameListAdminChangedMessage = 18; private de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage gameListAdminChangedMessage_ = de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage.getDefaultInstance(); /** * optional .GameListAdminChangedMessage gameListAdminChangedMessage = 18; @@ -57416,7 +58664,6 @@ public final class ProtoBuf { return this; } - // optional .PlayerInfoRequestMessage playerInfoRequestMessage = 19; private de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage playerInfoRequestMessage_ = de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage.getDefaultInstance(); /** * optional .PlayerInfoRequestMessage playerInfoRequestMessage = 19; @@ -57477,7 +58724,6 @@ public final class ProtoBuf { return this; } - // optional .PlayerInfoReplyMessage playerInfoReplyMessage = 20; private de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage playerInfoReplyMessage_ = de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.getDefaultInstance(); /** * optional .PlayerInfoReplyMessage playerInfoReplyMessage = 20; @@ -57538,7 +58784,6 @@ public final class ProtoBuf { return this; } - // optional .SubscriptionRequestMessage subscriptionRequestMessage = 21; private de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage subscriptionRequestMessage_ = de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.getDefaultInstance(); /** * optional .SubscriptionRequestMessage subscriptionRequestMessage = 21; @@ -57599,7 +58844,6 @@ public final class ProtoBuf { return this; } - // optional .JoinExistingGameMessage joinExistingGameMessage = 22; private de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage joinExistingGameMessage_ = de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage.getDefaultInstance(); /** * optional .JoinExistingGameMessage joinExistingGameMessage = 22; @@ -57660,7 +58904,6 @@ public final class ProtoBuf { return this; } - // optional .JoinNewGameMessage joinNewGameMessage = 23; private de.pokerth.protocol.ProtoBuf.JoinNewGameMessage joinNewGameMessage_ = de.pokerth.protocol.ProtoBuf.JoinNewGameMessage.getDefaultInstance(); /** * optional .JoinNewGameMessage joinNewGameMessage = 23; @@ -57721,7 +58964,6 @@ public final class ProtoBuf { return this; } - // optional .RejoinExistingGameMessage rejoinExistingGameMessage = 24; private de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage rejoinExistingGameMessage_ = de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage.getDefaultInstance(); /** * optional .RejoinExistingGameMessage rejoinExistingGameMessage = 24; @@ -57782,7 +59024,6 @@ public final class ProtoBuf { return this; } - // optional .JoinGameAckMessage joinGameAckMessage = 25; private de.pokerth.protocol.ProtoBuf.JoinGameAckMessage joinGameAckMessage_ = de.pokerth.protocol.ProtoBuf.JoinGameAckMessage.getDefaultInstance(); /** * optional .JoinGameAckMessage joinGameAckMessage = 25; @@ -57843,7 +59084,6 @@ public final class ProtoBuf { return this; } - // optional .JoinGameFailedMessage joinGameFailedMessage = 26; private de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage joinGameFailedMessage_ = de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.getDefaultInstance(); /** * optional .JoinGameFailedMessage joinGameFailedMessage = 26; @@ -57904,7 +59144,6 @@ public final class ProtoBuf { return this; } - // optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 27; private de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage gamePlayerJoinedMessage_ = de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage.getDefaultInstance(); /** * optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 27; @@ -57965,7 +59204,6 @@ public final class ProtoBuf { return this; } - // optional .GamePlayerLeftMessage gamePlayerLeftMessage = 28; private de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage gamePlayerLeftMessage_ = de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.getDefaultInstance(); /** * optional .GamePlayerLeftMessage gamePlayerLeftMessage = 28; @@ -58026,7 +59264,6 @@ public final class ProtoBuf { return this; } - // optional .GameAdminChangedMessage gameAdminChangedMessage = 29; private de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage gameAdminChangedMessage_ = de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage.getDefaultInstance(); /** * optional .GameAdminChangedMessage gameAdminChangedMessage = 29; @@ -58087,7 +59324,6 @@ public final class ProtoBuf { return this; } - // optional .RemovedFromGameMessage removedFromGameMessage = 30; private de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage removedFromGameMessage_ = de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.getDefaultInstance(); /** * optional .RemovedFromGameMessage removedFromGameMessage = 30; @@ -58148,7 +59384,6 @@ public final class ProtoBuf { return this; } - // optional .KickPlayerRequestMessage kickPlayerRequestMessage = 31; private de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage kickPlayerRequestMessage_ = de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage.getDefaultInstance(); /** * optional .KickPlayerRequestMessage kickPlayerRequestMessage = 31; @@ -58209,7 +59444,6 @@ public final class ProtoBuf { return this; } - // optional .LeaveGameRequestMessage leaveGameRequestMessage = 32; private de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage leaveGameRequestMessage_ = de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage.getDefaultInstance(); /** * optional .LeaveGameRequestMessage leaveGameRequestMessage = 32; @@ -58270,7 +59504,6 @@ public final class ProtoBuf { return this; } - // optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 33; private de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage invitePlayerToGameMessage_ = de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage.getDefaultInstance(); /** * optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 33; @@ -58331,7 +59564,6 @@ public final class ProtoBuf { return this; } - // optional .InviteNotifyMessage inviteNotifyMessage = 34; private de.pokerth.protocol.ProtoBuf.InviteNotifyMessage inviteNotifyMessage_ = de.pokerth.protocol.ProtoBuf.InviteNotifyMessage.getDefaultInstance(); /** * optional .InviteNotifyMessage inviteNotifyMessage = 34; @@ -58392,7 +59624,6 @@ public final class ProtoBuf { return this; } - // optional .RejectGameInvitationMessage rejectGameInvitationMessage = 35; private de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage rejectGameInvitationMessage_ = de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.getDefaultInstance(); /** * optional .RejectGameInvitationMessage rejectGameInvitationMessage = 35; @@ -58453,7 +59684,6 @@ public final class ProtoBuf { return this; } - // optional .RejectInvNotifyMessage rejectInvNotifyMessage = 36; private de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage rejectInvNotifyMessage_ = de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage.getDefaultInstance(); /** * optional .RejectInvNotifyMessage rejectInvNotifyMessage = 36; @@ -58514,7 +59744,6 @@ public final class ProtoBuf { return this; } - // optional .StartEventMessage startEventMessage = 37; private de.pokerth.protocol.ProtoBuf.StartEventMessage startEventMessage_ = de.pokerth.protocol.ProtoBuf.StartEventMessage.getDefaultInstance(); /** * optional .StartEventMessage startEventMessage = 37; @@ -58575,7 +59804,6 @@ public final class ProtoBuf { return this; } - // optional .StartEventAckMessage startEventAckMessage = 38; private de.pokerth.protocol.ProtoBuf.StartEventAckMessage startEventAckMessage_ = de.pokerth.protocol.ProtoBuf.StartEventAckMessage.getDefaultInstance(); /** * optional .StartEventAckMessage startEventAckMessage = 38; @@ -58636,7 +59864,6 @@ public final class ProtoBuf { return this; } - // optional .GameStartInitialMessage gameStartInitialMessage = 39; private de.pokerth.protocol.ProtoBuf.GameStartInitialMessage gameStartInitialMessage_ = de.pokerth.protocol.ProtoBuf.GameStartInitialMessage.getDefaultInstance(); /** * optional .GameStartInitialMessage gameStartInitialMessage = 39; @@ -58697,7 +59924,6 @@ public final class ProtoBuf { return this; } - // optional .GameStartRejoinMessage gameStartRejoinMessage = 40; private de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage gameStartRejoinMessage_ = de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.getDefaultInstance(); /** * optional .GameStartRejoinMessage gameStartRejoinMessage = 40; @@ -58758,7 +59984,6 @@ public final class ProtoBuf { return this; } - // optional .HandStartMessage handStartMessage = 41; private de.pokerth.protocol.ProtoBuf.HandStartMessage handStartMessage_ = de.pokerth.protocol.ProtoBuf.HandStartMessage.getDefaultInstance(); /** * optional .HandStartMessage handStartMessage = 41; @@ -58819,7 +60044,6 @@ public final class ProtoBuf { return this; } - // optional .PlayersTurnMessage playersTurnMessage = 42; private de.pokerth.protocol.ProtoBuf.PlayersTurnMessage playersTurnMessage_ = de.pokerth.protocol.ProtoBuf.PlayersTurnMessage.getDefaultInstance(); /** * optional .PlayersTurnMessage playersTurnMessage = 42; @@ -58880,7 +60104,6 @@ public final class ProtoBuf { return this; } - // optional .MyActionRequestMessage myActionRequestMessage = 43; private de.pokerth.protocol.ProtoBuf.MyActionRequestMessage myActionRequestMessage_ = de.pokerth.protocol.ProtoBuf.MyActionRequestMessage.getDefaultInstance(); /** * optional .MyActionRequestMessage myActionRequestMessage = 43; @@ -58941,7 +60164,6 @@ public final class ProtoBuf { return this; } - // optional .YourActionRejectedMessage yourActionRejectedMessage = 44; private de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage yourActionRejectedMessage_ = de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.getDefaultInstance(); /** * optional .YourActionRejectedMessage yourActionRejectedMessage = 44; @@ -59002,7 +60224,6 @@ public final class ProtoBuf { return this; } - // optional .PlayersActionDoneMessage playersActionDoneMessage = 45; private de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage playersActionDoneMessage_ = de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage.getDefaultInstance(); /** * optional .PlayersActionDoneMessage playersActionDoneMessage = 45; @@ -59063,7 +60284,6 @@ public final class ProtoBuf { return this; } - // optional .DealFlopCardsMessage dealFlopCardsMessage = 46; private de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage dealFlopCardsMessage_ = de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage.getDefaultInstance(); /** * optional .DealFlopCardsMessage dealFlopCardsMessage = 46; @@ -59124,7 +60344,6 @@ public final class ProtoBuf { return this; } - // optional .DealTurnCardMessage dealTurnCardMessage = 47; private de.pokerth.protocol.ProtoBuf.DealTurnCardMessage dealTurnCardMessage_ = de.pokerth.protocol.ProtoBuf.DealTurnCardMessage.getDefaultInstance(); /** * optional .DealTurnCardMessage dealTurnCardMessage = 47; @@ -59185,7 +60404,6 @@ public final class ProtoBuf { return this; } - // optional .DealRiverCardMessage dealRiverCardMessage = 48; private de.pokerth.protocol.ProtoBuf.DealRiverCardMessage dealRiverCardMessage_ = de.pokerth.protocol.ProtoBuf.DealRiverCardMessage.getDefaultInstance(); /** * optional .DealRiverCardMessage dealRiverCardMessage = 48; @@ -59246,7 +60464,6 @@ public final class ProtoBuf { return this; } - // optional .AllInShowCardsMessage allInShowCardsMessage = 49; private de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage allInShowCardsMessage_ = de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.getDefaultInstance(); /** * optional .AllInShowCardsMessage allInShowCardsMessage = 49; @@ -59307,7 +60524,6 @@ public final class ProtoBuf { return this; } - // optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 50; private de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage endOfHandShowCardsMessage_ = de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage.getDefaultInstance(); /** * optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 50; @@ -59368,7 +60584,6 @@ public final class ProtoBuf { return this; } - // optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 51; private de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage endOfHandHideCardsMessage_ = de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage.getDefaultInstance(); /** * optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 51; @@ -59429,7 +60644,6 @@ public final class ProtoBuf { return this; } - // optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 52; private de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage showMyCardsRequestMessage_ = de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage.getDefaultInstance(); /** * optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 52; @@ -59490,7 +60704,6 @@ public final class ProtoBuf { return this; } - // optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 53; private de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage afterHandShowCardsMessage_ = de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage.getDefaultInstance(); /** * optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 53; @@ -59551,7 +60764,6 @@ public final class ProtoBuf { return this; } - // optional .EndOfGameMessage endOfGameMessage = 54; private de.pokerth.protocol.ProtoBuf.EndOfGameMessage endOfGameMessage_ = de.pokerth.protocol.ProtoBuf.EndOfGameMessage.getDefaultInstance(); /** * optional .EndOfGameMessage endOfGameMessage = 54; @@ -59612,7 +60824,6 @@ public final class ProtoBuf { return this; } - // optional .PlayerIdChangedMessage playerIdChangedMessage = 55; private de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage playerIdChangedMessage_ = de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage.getDefaultInstance(); /** * optional .PlayerIdChangedMessage playerIdChangedMessage = 55; @@ -59673,7 +60884,6 @@ public final class ProtoBuf { return this; } - // optional .AskKickPlayerMessage askKickPlayerMessage = 56; private de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage askKickPlayerMessage_ = de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage.getDefaultInstance(); /** * optional .AskKickPlayerMessage askKickPlayerMessage = 56; @@ -59734,7 +60944,6 @@ public final class ProtoBuf { return this; } - // optional .AskKickDeniedMessage askKickDeniedMessage = 57; private de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage askKickDeniedMessage_ = de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.getDefaultInstance(); /** * optional .AskKickDeniedMessage askKickDeniedMessage = 57; @@ -59795,7 +61004,6 @@ public final class ProtoBuf { return this; } - // optional .StartKickPetitionMessage startKickPetitionMessage = 58; private de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage startKickPetitionMessage_ = de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage.getDefaultInstance(); /** * optional .StartKickPetitionMessage startKickPetitionMessage = 58; @@ -59856,7 +61064,6 @@ public final class ProtoBuf { return this; } - // optional .VoteKickRequestMessage voteKickRequestMessage = 59; private de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage voteKickRequestMessage_ = de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage.getDefaultInstance(); /** * optional .VoteKickRequestMessage voteKickRequestMessage = 59; @@ -59917,7 +61124,6 @@ public final class ProtoBuf { return this; } - // optional .VoteKickReplyMessage voteKickReplyMessage = 60; private de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage voteKickReplyMessage_ = de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.getDefaultInstance(); /** * optional .VoteKickReplyMessage voteKickReplyMessage = 60; @@ -59978,7 +61184,6 @@ public final class ProtoBuf { return this; } - // optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 61; private de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage kickPetitionUpdateMessage_ = de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage.getDefaultInstance(); /** * optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 61; @@ -60039,7 +61244,6 @@ public final class ProtoBuf { return this; } - // optional .EndKickPetitionMessage endKickPetitionMessage = 62; private de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage endKickPetitionMessage_ = de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.getDefaultInstance(); /** * optional .EndKickPetitionMessage endKickPetitionMessage = 62; @@ -60100,7 +61304,6 @@ public final class ProtoBuf { return this; } - // optional .StatisticsMessage statisticsMessage = 63; private de.pokerth.protocol.ProtoBuf.StatisticsMessage statisticsMessage_ = de.pokerth.protocol.ProtoBuf.StatisticsMessage.getDefaultInstance(); /** * optional .StatisticsMessage statisticsMessage = 63; @@ -60161,7 +61364,6 @@ public final class ProtoBuf { return this; } - // optional .ChatRequestMessage chatRequestMessage = 64; private de.pokerth.protocol.ProtoBuf.ChatRequestMessage chatRequestMessage_ = de.pokerth.protocol.ProtoBuf.ChatRequestMessage.getDefaultInstance(); /** * optional .ChatRequestMessage chatRequestMessage = 64; @@ -60222,7 +61424,6 @@ public final class ProtoBuf { return this; } - // optional .ChatMessage chatMessage = 65; private de.pokerth.protocol.ProtoBuf.ChatMessage chatMessage_ = de.pokerth.protocol.ProtoBuf.ChatMessage.getDefaultInstance(); /** * optional .ChatMessage chatMessage = 65; @@ -60283,7 +61484,6 @@ public final class ProtoBuf { return this; } - // optional .ChatRejectMessage chatRejectMessage = 66; private de.pokerth.protocol.ProtoBuf.ChatRejectMessage chatRejectMessage_ = de.pokerth.protocol.ProtoBuf.ChatRejectMessage.getDefaultInstance(); /** * optional .ChatRejectMessage chatRejectMessage = 66; @@ -60344,7 +61544,6 @@ public final class ProtoBuf { return this; } - // optional .DialogMessage dialogMessage = 67; private de.pokerth.protocol.ProtoBuf.DialogMessage dialogMessage_ = de.pokerth.protocol.ProtoBuf.DialogMessage.getDefaultInstance(); /** * optional .DialogMessage dialogMessage = 67; @@ -60405,7 +61604,6 @@ public final class ProtoBuf { return this; } - // optional .TimeoutWarningMessage timeoutWarningMessage = 68; private de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage timeoutWarningMessage_ = de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.getDefaultInstance(); /** * optional .TimeoutWarningMessage timeoutWarningMessage = 68; @@ -60466,7 +61664,6 @@ public final class ProtoBuf { return this; } - // optional .ResetTimeoutMessage resetTimeoutMessage = 69; private de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage resetTimeoutMessage_ = de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage.getDefaultInstance(); /** * optional .ResetTimeoutMessage resetTimeoutMessage = 69; @@ -60527,7 +61724,6 @@ public final class ProtoBuf { return this; } - // optional .ReportAvatarMessage reportAvatarMessage = 70; private de.pokerth.protocol.ProtoBuf.ReportAvatarMessage reportAvatarMessage_ = de.pokerth.protocol.ProtoBuf.ReportAvatarMessage.getDefaultInstance(); /** * optional .ReportAvatarMessage reportAvatarMessage = 70; @@ -60588,7 +61784,6 @@ public final class ProtoBuf { return this; } - // optional .ReportAvatarAckMessage reportAvatarAckMessage = 71; private de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage reportAvatarAckMessage_ = de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.getDefaultInstance(); /** * optional .ReportAvatarAckMessage reportAvatarAckMessage = 71; @@ -60649,7 +61844,6 @@ public final class ProtoBuf { return this; } - // optional .ReportGameMessage reportGameMessage = 72; private de.pokerth.protocol.ProtoBuf.ReportGameMessage reportGameMessage_ = de.pokerth.protocol.ProtoBuf.ReportGameMessage.getDefaultInstance(); /** * optional .ReportGameMessage reportGameMessage = 72; @@ -60710,7 +61904,6 @@ public final class ProtoBuf { return this; } - // optional .ReportGameAckMessage reportGameAckMessage = 73; private de.pokerth.protocol.ProtoBuf.ReportGameAckMessage reportGameAckMessage_ = de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.getDefaultInstance(); /** * optional .ReportGameAckMessage reportGameAckMessage = 73; @@ -60771,7 +61964,6 @@ public final class ProtoBuf { return this; } - // optional .ErrorMessage errorMessage = 74; private de.pokerth.protocol.ProtoBuf.ErrorMessage errorMessage_ = de.pokerth.protocol.ProtoBuf.ErrorMessage.getDefaultInstance(); /** * optional .ErrorMessage errorMessage = 74; @@ -60832,7 +62024,6 @@ public final class ProtoBuf { return this; } - // optional .AdminRemoveGameMessage adminRemoveGameMessage = 75; private de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage adminRemoveGameMessage_ = de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage.getDefaultInstance(); /** * optional .AdminRemoveGameMessage adminRemoveGameMessage = 75; @@ -60893,7 +62084,6 @@ public final class ProtoBuf { return this; } - // optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 76; private de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage adminRemoveGameAckMessage_ = de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.getDefaultInstance(); /** * optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 76; @@ -60954,7 +62144,6 @@ public final class ProtoBuf { return this; } - // optional .AdminBanPlayerMessage adminBanPlayerMessage = 77; private de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage adminBanPlayerMessage_ = de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage.getDefaultInstance(); /** * optional .AdminBanPlayerMessage adminBanPlayerMessage = 77; @@ -61015,7 +62204,6 @@ public final class ProtoBuf { return this; } - // optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 78; private de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage adminBanPlayerAckMessage_ = de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.getDefaultInstance(); /** * optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 78; @@ -61076,7 +62264,6 @@ public final class ProtoBuf { return this; } - // optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 79; private de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage_ = de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage.getDefaultInstance(); /** * optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 79; @@ -61137,7 +62324,6 @@ public final class ProtoBuf { return this; } - // optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 80; private de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage gameListSpectatorLeftMessage_ = de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage.getDefaultInstance(); /** * optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 80; @@ -61198,7 +62384,6 @@ public final class ProtoBuf { return this; } - // optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 81; private de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage gameSpectatorJoinedMessage_ = de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage.getDefaultInstance(); /** * optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 81; @@ -61259,7 +62444,6 @@ public final class ProtoBuf { return this; } - // optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 82; private de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage gameSpectatorLeftMessage_ = de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage.getDefaultInstance(); /** * optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 82; From b6763bcfe846e6bf1399a2f49b015feb4cedfa89 Mon Sep 17 00:00:00 2001 From: Kai Philipp Date: Wed, 29 Jun 2016 18:06:28 +0200 Subject: [PATCH 13/28] number of guests limited --- src/net/common/netpacket.cpp | 3 +++ src/net/common/serverlobbythread.cpp | 23 ++++++++++++++++++++--- src/net/common/sessionmanager.cpp | 15 +++++++++++++++ src/net/sessionmanager.h | 6 ++++++ src/net/socket_msg.h | 1 + 5 files changed, 45 insertions(+), 3 deletions(-) diff --git a/src/net/common/netpacket.cpp b/src/net/common/netpacket.cpp index c07cc7a7..54b5a1e4 100644 --- a/src/net/common/netpacket.cpp +++ b/src/net/common/netpacket.cpp @@ -248,6 +248,9 @@ NetPacket::GameErrorToNetError(int gameErrorReason) case ERR_NET_SESSION_TIMED_OUT : retVal = ErrorMessage::sessionTimeout; break; + case ERR_NET_TOO_MANY_GUESTS : + retVal = ErrorMessage::initServerFull; // @TODO: maybe create a better error message + break; default : retVal = ErrorMessage::reserved; break; diff --git a/src/net/common/serverlobbythread.cpp b/src/net/common/serverlobbythread.cpp index 5ad45628..70b1044d 100644 --- a/src/net/common/serverlobbythread.cpp +++ b/src/net/common/serverlobbythread.cpp @@ -65,6 +65,7 @@ #define SERVER_MAX_NUM_LOBBY_SESSIONS 512 // Maximum number of idle users in lobby. #define SERVER_MAX_NUM_TOTAL_SESSIONS 2000 // Total maximum of sessions, fitting a 2048 handle limit +#define SERVER_MAX_GUEST_USERS 150 // Maximum number of guests users allowed #define SERVER_SAVE_STATISTICS_INTERVAL_SEC 60 #define SERVER_CHECK_SESSION_TIMEOUTS_INTERVAL_MSEC 500 @@ -395,8 +396,12 @@ ServerLobbyThread::CloseSession(boost::shared_ptr session) m_sessionManager.RemoveSession(session->GetId()); m_gameSessionManager.RemoveSession(session->GetId()); - if (session->GetPlayerData()) + if (session->GetPlayerData()){ + if (session->GetPlayerData()->GetRights() == PLAYER_RIGHTS_GUEST){ + m_sessionManager.DecrementGuest(); + } NotifyPlayerLeftLobby(session->GetPlayerData()->GetUniqueId()); + } // Update stats (if needed). UpdateStatisticsNumberOfPlayers(); @@ -1010,6 +1015,7 @@ ServerLobbyThread::HandleNetPacketInit(boost::shared_ptr session, c // @XXX: debug tests //if(m_sessionManager.IsGuestConnectedMultiple(session->GetClientAddr())){ // LOG_ERROR("Guest with IP " << session->GetClientAddr() << " already connected! Should be declined!"); + //LOG_ERROR("number of guests (before this session is accepted) = " << m_sessionManager.GetGuestUsers() << "."); //} // @XXX: end debug tests @@ -1053,7 +1059,9 @@ ServerLobbyThread::HandleNetPacketInit(boost::shared_ptr session, c MD5Buf avatarMD5; bool noAuth = false; bool validGuest = false; - if (initMessage.login() == InitMessage::guestLogin) { + // @XXX: productive: if (initMessage.login() == InitMessage::guestLogin) { + // @XXX: debug: if (initMessage.login() == InitMessage::unauthenticatedLogin) { + if (initMessage.login() == InitMessage::guestLogin) { playerName = initMessage.nickname(); // Verify guest player name. if (playerName.length() > sizeof(SERVER_GUEST_PLAYER_NAME - 1) @@ -1066,7 +1074,12 @@ ServerLobbyThread::HandleNetPacketInit(boost::shared_ptr session, c // @XXX: check if a guest session with same ip is already connected - decline if true if(m_sessionManager.IsGuestConnectedMultiple(session->GetClientAddr())){ //LOG_ERROR("Guest with IP " << session->GetClientAddr() << " already connected! Decline!"); - validGuest = false; + SessionError(session, ERR_NET_TOO_MANY_GUESTS); + return; + } + if (m_sessionManager.GetGuestUsers() >= SERVER_MAX_GUEST_USERS) { + SessionError(session, ERR_NET_TOO_MANY_GUESTS); + return; } } if (!validGuest) { @@ -1133,6 +1146,10 @@ ServerLobbyThread::HandleNetPacketInit(boost::shared_ptr session, c m_sessionManager.SetSessionPlayerData(session->GetId(), tmpPlayerData); session->SetPlayerData(tmpPlayerData); + if (validGuest){ + m_sessionManager.IncrementGuest(); + } + if (noAuth) InitAfterLogin(session); else diff --git a/src/net/common/sessionmanager.cpp b/src/net/common/sessionmanager.cpp index 2dba6d39..88adb3bc 100644 --- a/src/net/common/sessionmanager.cpp +++ b/src/net/common/sessionmanager.cpp @@ -39,6 +39,7 @@ using namespace std; SessionManager::SessionManager() { + guestUsers = 0; } SessionManager::~SessionManager() @@ -433,3 +434,17 @@ SessionManager::SendToAllButOneSessions(SenderHelper &sender, boost::shared_ptr< } } +void +SessionManager::IncrementGuest() { + guestUsers++; +} + +void +SessionManager::DecrementGuest() { + guestUsers--; +} + +int +SessionManager::GetGuestUsers() const { + return guestUsers; +} \ No newline at end of file diff --git a/src/net/sessionmanager.h b/src/net/sessionmanager.h index 5eec02fc..9fb2918c 100644 --- a/src/net/sessionmanager.h +++ b/src/net/sessionmanager.h @@ -79,6 +79,10 @@ public: void SendToAllSessions(SenderHelper &sender, boost::shared_ptr packet, int state); void SendLobbyMsgToAllSessions(SenderHelper &sender, boost::shared_ptr packet, int state); void SendToAllButOneSessions(SenderHelper &sender, boost::shared_ptr packet, SessionId except, int state); + + void IncrementGuest(); + void DecrementGuest(); + int GetGuestUsers() const; protected: @@ -88,6 +92,8 @@ private: SessionMap m_sessionMap; mutable boost::recursive_mutex m_sessionMapMutex; + + int guestUsers; }; #endif diff --git a/src/net/socket_msg.h b/src/net/socket_msg.h index d65fe604..5a0499e8 100644 --- a/src/net/socket_msg.h +++ b/src/net/socket_msg.h @@ -98,6 +98,7 @@ #define ERR_NET_GSASL_INIT_FAILED 134 #define ERR_NET_GSASL_NO_SCRAM 135 #define ERR_NET_DB_CONNECT_FAILED 136 +#define ERR_NET_TOO_MANY_GUESTS 137 #define ERR_IRC_INTERNAL 151 #define ERR_IRC_CONNECT_FAILED 152 From 724d30e61fc4412ffd4922cebde69a4ddf2e4bff Mon Sep 17 00:00:00 2001 From: Albert Medela Date: Thu, 7 Jul 2016 20:36:02 +0200 Subject: [PATCH 14/28] Limit Guests users --- src/net/common/netpacket.cpp | 4 +- src/net/common/serverlobbythread.cpp | 47 +- src/net/common/sessionmanager.cpp | 16 - src/net/serverlobbythread.h | 9 + src/net/sessionmanager.h | 6 - src/net/socket_msg.h | 3 +- tests/src/de/pokerth/protocol/ProtoBuf.java | 5006 +++++++------------ 7 files changed, 1955 insertions(+), 3136 deletions(-) diff --git a/src/net/common/netpacket.cpp b/src/net/common/netpacket.cpp index 54b5a1e4..cf2a316a 100644 --- a/src/net/common/netpacket.cpp +++ b/src/net/common/netpacket.cpp @@ -248,8 +248,8 @@ NetPacket::GameErrorToNetError(int gameErrorReason) case ERR_NET_SESSION_TIMED_OUT : retVal = ErrorMessage::sessionTimeout; break; - case ERR_NET_TOO_MANY_GUESTS : - retVal = ErrorMessage::initServerFull; // @TODO: maybe create a better error message + case ERR_NET_FULL_GUESTS : + retVal = ErrorMessage::initServerFull; // LG: @TODO: maybe create a better error message, if possible break; default : retVal = ErrorMessage::reserved; diff --git a/src/net/common/serverlobbythread.cpp b/src/net/common/serverlobbythread.cpp index 70b1044d..3e36a55b 100644 --- a/src/net/common/serverlobbythread.cpp +++ b/src/net/common/serverlobbythread.cpp @@ -65,7 +65,7 @@ #define SERVER_MAX_NUM_LOBBY_SESSIONS 512 // Maximum number of idle users in lobby. #define SERVER_MAX_NUM_TOTAL_SESSIONS 2000 // Total maximum of sessions, fitting a 2048 handle limit -#define SERVER_MAX_GUEST_USERS 150 // Maximum number of guests users allowed +#define SERVER_MAX_GUEST_USERS 100 // LG: Maximum number of guests users allowed #define SERVER_SAVE_STATISTICS_INTERVAL_SEC 60 #define SERVER_CHECK_SESSION_TIMEOUTS_INTERVAL_MSEC 500 @@ -223,7 +223,7 @@ ServerLobbyThread::ServerLobbyThread(GuiInterface &gui, ServerMode mode, ServerI m_mode(mode), m_serverConfig(serverConfig), m_curGameId(0), m_curUniquePlayerId(0), m_curSessionId(INVALID_SESSION + 1), m_statDataChanged(false), m_removeGameTimer(*ioService), m_saveStatisticsTimer(*ioService), m_loginLockTimer(*ioService), - m_startTime(boost::posix_time::second_clock::local_time()) + m_startTime(boost::posix_time::second_clock::local_time()), guests_(0) { m_internalServerCallback.reset(new InternalServerCallback(*this)); m_sender.reset(new SenderHelper(m_ioService)); @@ -397,9 +397,9 @@ ServerLobbyThread::CloseSession(boost::shared_ptr session) m_gameSessionManager.RemoveSession(session->GetId()); if (session->GetPlayerData()){ - if (session->GetPlayerData()->GetRights() == PLAYER_RIGHTS_GUEST){ - m_sessionManager.DecrementGuest(); - } + if (session->GetPlayerData()->GetRights() == PLAYER_RIGHTS_GUEST) { + DecrementGuests(); + } NotifyPlayerLeftLobby(session->GetPlayerData()->GetUniqueId()); } // Update stats (if needed). @@ -1015,7 +1015,6 @@ ServerLobbyThread::HandleNetPacketInit(boost::shared_ptr session, c // @XXX: debug tests //if(m_sessionManager.IsGuestConnectedMultiple(session->GetClientAddr())){ // LOG_ERROR("Guest with IP " << session->GetClientAddr() << " already connected! Should be declined!"); - //LOG_ERROR("number of guests (before this session is accepted) = " << m_sessionManager.GetGuestUsers() << "."); //} // @XXX: end debug tests @@ -1061,7 +1060,7 @@ ServerLobbyThread::HandleNetPacketInit(boost::shared_ptr session, c bool validGuest = false; // @XXX: productive: if (initMessage.login() == InitMessage::guestLogin) { // @XXX: debug: if (initMessage.login() == InitMessage::unauthenticatedLogin) { - if (initMessage.login() == InitMessage::guestLogin) { + if (initMessage.login() == InitMessage::guestLogin) { playerName = initMessage.nickname(); // Verify guest player name. if (playerName.length() > sizeof(SERVER_GUEST_PLAYER_NAME - 1) @@ -1074,18 +1073,21 @@ ServerLobbyThread::HandleNetPacketInit(boost::shared_ptr session, c // @XXX: check if a guest session with same ip is already connected - decline if true if(m_sessionManager.IsGuestConnectedMultiple(session->GetClientAddr())){ //LOG_ERROR("Guest with IP " << session->GetClientAddr() << " already connected! Decline!"); - SessionError(session, ERR_NET_TOO_MANY_GUESTS); + SessionError(session, ERR_NET_FULL_GUESTS); return; - } - if (m_sessionManager.GetGuestUsers() >= SERVER_MAX_GUEST_USERS) { - SessionError(session, ERR_NET_TOO_MANY_GUESTS); - return; } } + if (!validGuest) { SessionError(session, ERR_NET_INVALID_PLAYER_NAME); return; } + // LG: If user is guest, and SERVER_MAX_GUEST_USERS reached, don't allow connection. + else if (getGuests() > SERVER_MAX_GUEST_USERS) { + SessionError(session, ERR_NET_FULL_GUESTS); + return; + } + } #ifdef POKERTH_OFFICIAL_SERVER else if (initMessage.login() == InitMessage::authenticatedLogin) { @@ -1146,10 +1148,6 @@ ServerLobbyThread::HandleNetPacketInit(boost::shared_ptr session, c m_sessionManager.SetSessionPlayerData(session->GetId(), tmpPlayerData); session->SetPlayerData(tmpPlayerData); - if (validGuest){ - m_sessionManager.IncrementGuest(); - } - if (noAuth) InitAfterLogin(session); else @@ -1764,6 +1762,11 @@ ServerLobbyThread::EstablishSession(boost::shared_ptr session) // Session is now established. session->SetState(SessionData::Established); + // LG: Increment guests + if (session->GetPlayerData()->GetRights() == PLAYER_RIGHTS_GUEST) { + IncrementGuests(); + } + { boost::mutex::scoped_lock lock(m_statMutex); ++m_statData.totalPlayersEverLoggedIn; @@ -2394,3 +2397,15 @@ ServerLobbyThread::GetRejoinGameIdForPlayer(const std::string &playerName, const return retGameId; } +// LG: Handle guests_ variable. Remove in production to access variable itself +void ServerLobbyThread::DecrementGuests(){ + this->guests_.fetch_sub(1); +} + +void ServerLobbyThread::IncrementGuests() { + this->guests_.fetch_add(1); +} + +int ServerLobbyThread::getGuests() { + return this->guests_; +} diff --git a/src/net/common/sessionmanager.cpp b/src/net/common/sessionmanager.cpp index 88adb3bc..53fe858f 100644 --- a/src/net/common/sessionmanager.cpp +++ b/src/net/common/sessionmanager.cpp @@ -39,7 +39,6 @@ using namespace std; SessionManager::SessionManager() { - guestUsers = 0; } SessionManager::~SessionManager() @@ -433,18 +432,3 @@ SessionManager::SendToAllButOneSessions(SenderHelper &sender, boost::shared_ptr< ++i; } } - -void -SessionManager::IncrementGuest() { - guestUsers++; -} - -void -SessionManager::DecrementGuest() { - guestUsers--; -} - -int -SessionManager::GetGuestUsers() const { - return guestUsers; -} \ No newline at end of file diff --git a/src/net/serverlobbythread.h b/src/net/serverlobbythread.h index c26486b7..b9bae419 100644 --- a/src/net/serverlobbythread.h +++ b/src/net/serverlobbythread.h @@ -36,6 +36,7 @@ #include #include #include +#include #include #include @@ -224,6 +225,11 @@ protected: u_int32_t GetRejoinGameIdForPlayer(const std::string &playerName, const std::string &guid, unsigned &outPlayerUniqueId); + // LG: Handle guests_ counter. NOTE: These functions in production could be removed and access directly to guest_ + void IncrementGuests(); + void DecrementGuests(); + int getGuests(); + private: boost::shared_ptr m_ioService; @@ -276,6 +282,9 @@ private: const boost::posix_time::ptime m_startTime; + // LG: guest_ is thread safe, even if ServerLobbyThread pointer is shared accross the code, as long as it is ONLY ONE running instance + boost::atomic guests_; + friend class InternalServerCallback; }; diff --git a/src/net/sessionmanager.h b/src/net/sessionmanager.h index 9fb2918c..5eec02fc 100644 --- a/src/net/sessionmanager.h +++ b/src/net/sessionmanager.h @@ -79,10 +79,6 @@ public: void SendToAllSessions(SenderHelper &sender, boost::shared_ptr packet, int state); void SendLobbyMsgToAllSessions(SenderHelper &sender, boost::shared_ptr packet, int state); void SendToAllButOneSessions(SenderHelper &sender, boost::shared_ptr packet, SessionId except, int state); - - void IncrementGuest(); - void DecrementGuest(); - int GetGuestUsers() const; protected: @@ -92,8 +88,6 @@ private: SessionMap m_sessionMap; mutable boost::recursive_mutex m_sessionMapMutex; - - int guestUsers; }; #endif diff --git a/src/net/socket_msg.h b/src/net/socket_msg.h index 5a0499e8..84987a4b 100644 --- a/src/net/socket_msg.h +++ b/src/net/socket_msg.h @@ -98,7 +98,8 @@ #define ERR_NET_GSASL_INIT_FAILED 134 #define ERR_NET_GSASL_NO_SCRAM 135 #define ERR_NET_DB_CONNECT_FAILED 136 -#define ERR_NET_TOO_MANY_GUESTS 137 +// LG: New code for max number of guest users +#define ERR_NET_FULL_GUESTS 137 #define ERR_IRC_INTERNAL 151 #define ERR_IRC_CONNECT_FAILED 152 diff --git a/tests/src/de/pokerth/protocol/ProtoBuf.java b/tests/src/de/pokerth/protocol/ProtoBuf.java index 91e40a82..02a11a46 100644 --- a/tests/src/de/pokerth/protocol/ProtoBuf.java +++ b/tests/src/de/pokerth/protocol/ProtoBuf.java @@ -461,10 +461,10 @@ public final class ProtoBuf { // @@protoc_insertion_point(enum_scope:NetAvatarType) } - public interface NetGameInfoOrBuilder extends - // @@protoc_insertion_point(interface_extends:NetGameInfo) - com.google.protobuf.MessageLiteOrBuilder { + public interface NetGameInfoOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // required string gameName = 1; /** * required string gameName = 1; */ @@ -479,6 +479,7 @@ public final class ProtoBuf { com.google.protobuf.ByteString getGameNameBytes(); + // required .NetGameInfo.NetGameType netGameType = 2; /** * required .NetGameInfo.NetGameType netGameType = 2; */ @@ -488,6 +489,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.NetGameInfo.NetGameType getNetGameType(); + // required uint32 maxNumPlayers = 3; /** * required uint32 maxNumPlayers = 3; */ @@ -497,6 +499,7 @@ public final class ProtoBuf { */ int getMaxNumPlayers(); + // required .NetGameInfo.RaiseIntervalMode raiseIntervalMode = 4; /** * required .NetGameInfo.RaiseIntervalMode raiseIntervalMode = 4; */ @@ -506,6 +509,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.NetGameInfo.RaiseIntervalMode getRaiseIntervalMode(); + // optional uint32 raiseEveryHands = 5; /** * optional uint32 raiseEveryHands = 5; */ @@ -515,6 +519,7 @@ public final class ProtoBuf { */ int getRaiseEveryHands(); + // optional uint32 raiseEveryMinutes = 6; /** * optional uint32 raiseEveryMinutes = 6; */ @@ -524,6 +529,7 @@ public final class ProtoBuf { */ int getRaiseEveryMinutes(); + // required .NetGameInfo.EndRaiseMode endRaiseMode = 7; /** * required .NetGameInfo.EndRaiseMode endRaiseMode = 7; */ @@ -533,6 +539,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.NetGameInfo.EndRaiseMode getEndRaiseMode(); + // optional uint32 endRaiseSmallBlindValue = 8; /** * optional uint32 endRaiseSmallBlindValue = 8; */ @@ -542,6 +549,7 @@ public final class ProtoBuf { */ int getEndRaiseSmallBlindValue(); + // required uint32 proposedGuiSpeed = 9; /** * required uint32 proposedGuiSpeed = 9; */ @@ -551,6 +559,7 @@ public final class ProtoBuf { */ int getProposedGuiSpeed(); + // required uint32 delayBetweenHands = 10; /** * required uint32 delayBetweenHands = 10; * @@ -568,6 +577,7 @@ public final class ProtoBuf { */ int getDelayBetweenHands(); + // required uint32 playerActionTimeout = 11; /** * required uint32 playerActionTimeout = 11; * @@ -585,6 +595,7 @@ public final class ProtoBuf { */ int getPlayerActionTimeout(); + // required uint32 firstSmallBlind = 12; /** * required uint32 firstSmallBlind = 12; */ @@ -594,6 +605,7 @@ public final class ProtoBuf { */ int getFirstSmallBlind(); + // required uint32 startMoney = 13; /** * required uint32 startMoney = 13; */ @@ -603,6 +615,7 @@ public final class ProtoBuf { */ int getStartMoney(); + // repeated uint32 manualBlinds = 14 [packed = true]; /** * repeated uint32 manualBlinds = 14 [packed = true]; */ @@ -616,6 +629,7 @@ public final class ProtoBuf { */ int getManualBlinds(int index); + // optional bool allowSpectators = 15 [default = true]; /** * optional bool allowSpectators = 15 [default = true]; */ @@ -629,15 +643,14 @@ public final class ProtoBuf { * Protobuf type {@code NetGameInfo} */ public static final class NetGameInfo extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:NetGameInfo) - NetGameInfoOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements NetGameInfoOrBuilder { // Use NetGameInfo.newBuilder() to construct. private NetGameInfo(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private NetGameInfo(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private NetGameInfo(boolean noInit) {} private static final NetGameInfo defaultInstance; public static NetGameInfo getDefaultInstance() { @@ -648,18 +661,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private NetGameInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -669,25 +676,21 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } break; } case 10: { - com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; - gameName_ = bs; + gameName_ = input.readBytes(); break; } case 16: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.NetGameInfo.NetGameType value = de.pokerth.protocol.ProtoBuf.NetGameInfo.NetGameType.valueOf(rawValue); - if (value == null) { - unknownFieldsCodedOutput.writeRawVarint32(tag); - unknownFieldsCodedOutput.writeRawVarint32(rawValue); - } else { + if (value != null) { bitField0_ |= 0x00000002; netGameType_ = value; } @@ -701,10 +704,7 @@ public final class ProtoBuf { case 32: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.NetGameInfo.RaiseIntervalMode value = de.pokerth.protocol.ProtoBuf.NetGameInfo.RaiseIntervalMode.valueOf(rawValue); - if (value == null) { - unknownFieldsCodedOutput.writeRawVarint32(tag); - unknownFieldsCodedOutput.writeRawVarint32(rawValue); - } else { + if (value != null) { bitField0_ |= 0x00000008; raiseIntervalMode_ = value; } @@ -723,10 +723,7 @@ public final class ProtoBuf { case 56: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.NetGameInfo.EndRaiseMode value = de.pokerth.protocol.ProtoBuf.NetGameInfo.EndRaiseMode.valueOf(rawValue); - if (value == null) { - unknownFieldsCodedOutput.writeRawVarint32(tag); - unknownFieldsCodedOutput.writeRawVarint32(rawValue); - } else { + if (value != null) { bitField0_ |= 0x00000040; endRaiseMode_ = value; } @@ -799,13 +796,6 @@ public final class ProtoBuf { if (((mutable_bitField0_ & 0x00002000) == 0x00002000)) { manualBlinds_ = java.util.Collections.unmodifiableList(manualBlinds_); } - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -1020,6 +1010,7 @@ public final class ProtoBuf { } private int bitField0_; + // required string gameName = 1; public static final int GAMENAME_FIELD_NUMBER = 1; private java.lang.Object gameName_; /** @@ -1062,6 +1053,7 @@ 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_; /** @@ -1077,6 +1069,7 @@ public final class ProtoBuf { return netGameType_; } + // required uint32 maxNumPlayers = 3; public static final int MAXNUMPLAYERS_FIELD_NUMBER = 3; private int maxNumPlayers_; /** @@ -1092,6 +1085,7 @@ public final class ProtoBuf { return maxNumPlayers_; } + // required .NetGameInfo.RaiseIntervalMode raiseIntervalMode = 4; public static final int RAISEINTERVALMODE_FIELD_NUMBER = 4; private de.pokerth.protocol.ProtoBuf.NetGameInfo.RaiseIntervalMode raiseIntervalMode_; /** @@ -1107,6 +1101,7 @@ public final class ProtoBuf { return raiseIntervalMode_; } + // optional uint32 raiseEveryHands = 5; public static final int RAISEEVERYHANDS_FIELD_NUMBER = 5; private int raiseEveryHands_; /** @@ -1122,6 +1117,7 @@ public final class ProtoBuf { return raiseEveryHands_; } + // optional uint32 raiseEveryMinutes = 6; public static final int RAISEEVERYMINUTES_FIELD_NUMBER = 6; private int raiseEveryMinutes_; /** @@ -1137,6 +1133,7 @@ public final class ProtoBuf { return raiseEveryMinutes_; } + // required .NetGameInfo.EndRaiseMode endRaiseMode = 7; public static final int ENDRAISEMODE_FIELD_NUMBER = 7; private de.pokerth.protocol.ProtoBuf.NetGameInfo.EndRaiseMode endRaiseMode_; /** @@ -1152,6 +1149,7 @@ public final class ProtoBuf { return endRaiseMode_; } + // optional uint32 endRaiseSmallBlindValue = 8; public static final int ENDRAISESMALLBLINDVALUE_FIELD_NUMBER = 8; private int endRaiseSmallBlindValue_; /** @@ -1167,6 +1165,7 @@ public final class ProtoBuf { return endRaiseSmallBlindValue_; } + // required uint32 proposedGuiSpeed = 9; public static final int PROPOSEDGUISPEED_FIELD_NUMBER = 9; private int proposedGuiSpeed_; /** @@ -1182,6 +1181,7 @@ public final class ProtoBuf { return proposedGuiSpeed_; } + // required uint32 delayBetweenHands = 10; public static final int DELAYBETWEENHANDS_FIELD_NUMBER = 10; private int delayBetweenHands_; /** @@ -1205,6 +1205,7 @@ public final class ProtoBuf { return delayBetweenHands_; } + // required uint32 playerActionTimeout = 11; public static final int PLAYERACTIONTIMEOUT_FIELD_NUMBER = 11; private int playerActionTimeout_; /** @@ -1228,6 +1229,7 @@ public final class ProtoBuf { return playerActionTimeout_; } + // required uint32 firstSmallBlind = 12; public static final int FIRSTSMALLBLIND_FIELD_NUMBER = 12; private int firstSmallBlind_; /** @@ -1243,6 +1245,7 @@ public final class ProtoBuf { return firstSmallBlind_; } + // required uint32 startMoney = 13; public static final int STARTMONEY_FIELD_NUMBER = 13; private int startMoney_; /** @@ -1258,6 +1261,7 @@ public final class ProtoBuf { return startMoney_; } + // repeated uint32 manualBlinds = 14 [packed = true]; public static final int MANUALBLINDS_FIELD_NUMBER = 14; private java.util.List manualBlinds_; /** @@ -1281,6 +1285,7 @@ public final class ProtoBuf { } private int manualBlindsMemoizedSerializedSize = -1; + // optional bool allowSpectators = 15 [default = true]; public static final int ALLOWSPECTATORS_FIELD_NUMBER = 15; private boolean allowSpectators_; /** @@ -1316,8 +1321,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasGameName()) { memoizedIsInitialized = 0; @@ -1415,7 +1419,6 @@ public final class ProtoBuf { if (((bitField0_ & 0x00002000) == 0x00002000)) { output.writeBool(15, allowSpectators_); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -1494,7 +1497,6 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeBoolSize(15, allowSpectators_); } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -1572,9 +1574,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.NetGameInfo, Builder> - implements - // @@protoc_insertion_point(builder_implements:NetGameInfo) - de.pokerth.protocol.ProtoBuf.NetGameInfoOrBuilder { + implements de.pokerth.protocol.ProtoBuf.NetGameInfoOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.NetGameInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -1762,8 +1762,6 @@ public final class ProtoBuf { if (other.hasAllowSpectators()) { setAllowSpectators(other.getAllowSpectators()); } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -1830,6 +1828,7 @@ public final class ProtoBuf { } private int bitField0_; + // required string gameName = 1; private java.lang.Object gameName_ = ""; /** * required string gameName = 1; @@ -1843,12 +1842,9 @@ public final class ProtoBuf { public java.lang.String getGameName() { java.lang.Object ref = gameName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - gameName_ = s; - } + java.lang.String s = ((com.google.protobuf.ByteString) ref) + .toStringUtf8(); + gameName_ = s; return s; } else { return (java.lang.String) ref; @@ -1906,6 +1902,7 @@ public final class ProtoBuf { return this; } + // required .NetGameInfo.NetGameType netGameType = 2; private de.pokerth.protocol.ProtoBuf.NetGameInfo.NetGameType netGameType_ = de.pokerth.protocol.ProtoBuf.NetGameInfo.NetGameType.normalGame; /** * required .NetGameInfo.NetGameType netGameType = 2; @@ -1941,6 +1938,7 @@ public final class ProtoBuf { return this; } + // required uint32 maxNumPlayers = 3; private int maxNumPlayers_ ; /** * required uint32 maxNumPlayers = 3; @@ -1973,6 +1971,7 @@ public final class ProtoBuf { return this; } + // required .NetGameInfo.RaiseIntervalMode raiseIntervalMode = 4; private de.pokerth.protocol.ProtoBuf.NetGameInfo.RaiseIntervalMode raiseIntervalMode_ = de.pokerth.protocol.ProtoBuf.NetGameInfo.RaiseIntervalMode.raiseOnHandNum; /** * required .NetGameInfo.RaiseIntervalMode raiseIntervalMode = 4; @@ -2008,6 +2007,7 @@ public final class ProtoBuf { return this; } + // optional uint32 raiseEveryHands = 5; private int raiseEveryHands_ ; /** * optional uint32 raiseEveryHands = 5; @@ -2040,6 +2040,7 @@ public final class ProtoBuf { return this; } + // optional uint32 raiseEveryMinutes = 6; private int raiseEveryMinutes_ ; /** * optional uint32 raiseEveryMinutes = 6; @@ -2072,6 +2073,7 @@ public final class ProtoBuf { return this; } + // required .NetGameInfo.EndRaiseMode endRaiseMode = 7; private de.pokerth.protocol.ProtoBuf.NetGameInfo.EndRaiseMode endRaiseMode_ = de.pokerth.protocol.ProtoBuf.NetGameInfo.EndRaiseMode.doubleBlinds; /** * required .NetGameInfo.EndRaiseMode endRaiseMode = 7; @@ -2107,6 +2109,7 @@ public final class ProtoBuf { return this; } + // optional uint32 endRaiseSmallBlindValue = 8; private int endRaiseSmallBlindValue_ ; /** * optional uint32 endRaiseSmallBlindValue = 8; @@ -2139,6 +2142,7 @@ public final class ProtoBuf { return this; } + // required uint32 proposedGuiSpeed = 9; private int proposedGuiSpeed_ ; /** * required uint32 proposedGuiSpeed = 9; @@ -2171,6 +2175,7 @@ public final class ProtoBuf { return this; } + // required uint32 delayBetweenHands = 10; private int delayBetweenHands_ ; /** * required uint32 delayBetweenHands = 10; @@ -2219,6 +2224,7 @@ public final class ProtoBuf { return this; } + // required uint32 playerActionTimeout = 11; private int playerActionTimeout_ ; /** * required uint32 playerActionTimeout = 11; @@ -2267,6 +2273,7 @@ public final class ProtoBuf { return this; } + // required uint32 firstSmallBlind = 12; private int firstSmallBlind_ ; /** * required uint32 firstSmallBlind = 12; @@ -2299,6 +2306,7 @@ public final class ProtoBuf { return this; } + // required uint32 startMoney = 13; private int startMoney_ ; /** * required uint32 startMoney = 13; @@ -2331,6 +2339,7 @@ public final class ProtoBuf { return this; } + // repeated uint32 manualBlinds = 14 [packed = true]; private java.util.List manualBlinds_ = java.util.Collections.emptyList(); private void ensureManualBlindsIsMutable() { if (!((bitField0_ & 0x00002000) == 0x00002000)) { @@ -2382,8 +2391,7 @@ public final class ProtoBuf { public Builder addAllManualBlinds( java.lang.Iterable values) { ensureManualBlindsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, manualBlinds_); + super.addAll(values, manualBlinds_); return this; } @@ -2397,6 +2405,7 @@ public final class ProtoBuf { return this; } + // optional bool allowSpectators = 15 [default = true]; private boolean allowSpectators_ = true; /** * optional bool allowSpectators = 15 [default = true]; @@ -2440,10 +2449,10 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:NetGameInfo) } - public interface PlayerResultOrBuilder extends - // @@protoc_insertion_point(interface_extends:PlayerResult) - com.google.protobuf.MessageLiteOrBuilder { + public interface PlayerResultOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // required uint32 playerId = 1; /** * required uint32 playerId = 1; */ @@ -2453,6 +2462,7 @@ public final class ProtoBuf { */ int getPlayerId(); + // required uint32 resultCard1 = 2; /** * required uint32 resultCard1 = 2; */ @@ -2462,6 +2472,7 @@ public final class ProtoBuf { */ int getResultCard1(); + // required uint32 resultCard2 = 3; /** * required uint32 resultCard2 = 3; */ @@ -2471,6 +2482,7 @@ public final class ProtoBuf { */ int getResultCard2(); + // repeated uint32 bestHandPosition = 4 [packed = true]; /** * repeated uint32 bestHandPosition = 4 [packed = true]; */ @@ -2484,6 +2496,7 @@ public final class ProtoBuf { */ int getBestHandPosition(int index); + // required uint32 moneyWon = 5; /** * required uint32 moneyWon = 5; */ @@ -2493,6 +2506,7 @@ public final class ProtoBuf { */ int getMoneyWon(); + // required uint32 playerMoney = 6; /** * required uint32 playerMoney = 6; */ @@ -2502,6 +2516,7 @@ public final class ProtoBuf { */ int getPlayerMoney(); + // optional uint32 cardsValue = 7; /** * optional uint32 cardsValue = 7; */ @@ -2515,15 +2530,14 @@ public final class ProtoBuf { * Protobuf type {@code PlayerResult} */ public static final class PlayerResult extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:PlayerResult) - PlayerResultOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements PlayerResultOrBuilder { // Use PlayerResult.newBuilder() to construct. private PlayerResult(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private PlayerResult(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private PlayerResult(boolean noInit) {} private static final PlayerResult defaultInstance; public static PlayerResult getDefaultInstance() { @@ -2534,18 +2548,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private PlayerResult( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -2555,7 +2563,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -2623,13 +2631,6 @@ public final class ProtoBuf { if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) { bestHandPosition_ = java.util.Collections.unmodifiableList(bestHandPosition_); } - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -2649,6 +2650,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 playerId = 1; public static final int PLAYERID_FIELD_NUMBER = 1; private int playerId_; /** @@ -2664,6 +2666,7 @@ public final class ProtoBuf { return playerId_; } + // required uint32 resultCard1 = 2; public static final int RESULTCARD1_FIELD_NUMBER = 2; private int resultCard1_; /** @@ -2679,6 +2682,7 @@ public final class ProtoBuf { return resultCard1_; } + // required uint32 resultCard2 = 3; public static final int RESULTCARD2_FIELD_NUMBER = 3; private int resultCard2_; /** @@ -2694,6 +2698,7 @@ public final class ProtoBuf { return resultCard2_; } + // repeated uint32 bestHandPosition = 4 [packed = true]; public static final int BESTHANDPOSITION_FIELD_NUMBER = 4; private java.util.List bestHandPosition_; /** @@ -2717,6 +2722,7 @@ public final class ProtoBuf { } private int bestHandPositionMemoizedSerializedSize = -1; + // required uint32 moneyWon = 5; public static final int MONEYWON_FIELD_NUMBER = 5; private int moneyWon_; /** @@ -2732,6 +2738,7 @@ public final class ProtoBuf { return moneyWon_; } + // required uint32 playerMoney = 6; public static final int PLAYERMONEY_FIELD_NUMBER = 6; private int playerMoney_; /** @@ -2747,6 +2754,7 @@ public final class ProtoBuf { return playerMoney_; } + // optional uint32 cardsValue = 7; public static final int CARDSVALUE_FIELD_NUMBER = 7; private int cardsValue_; /** @@ -2774,8 +2782,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasPlayerId()) { memoizedIsInitialized = 0; @@ -2829,7 +2836,6 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeUInt32(7, cardsValue_); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -2876,7 +2882,6 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(7, cardsValue_); } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -2954,9 +2959,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.PlayerResult, Builder> - implements - // @@protoc_insertion_point(builder_implements:PlayerResult) - de.pokerth.protocol.ProtoBuf.PlayerResultOrBuilder { + implements de.pokerth.protocol.ProtoBuf.PlayerResultOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.PlayerResult.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -3070,8 +3073,6 @@ public final class ProtoBuf { if (other.hasCardsValue()) { setCardsValue(other.getCardsValue()); } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -3118,6 +3119,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 playerId = 1; private int playerId_ ; /** * required uint32 playerId = 1; @@ -3150,6 +3152,7 @@ public final class ProtoBuf { return this; } + // required uint32 resultCard1 = 2; private int resultCard1_ ; /** * required uint32 resultCard1 = 2; @@ -3182,6 +3185,7 @@ public final class ProtoBuf { return this; } + // required uint32 resultCard2 = 3; private int resultCard2_ ; /** * required uint32 resultCard2 = 3; @@ -3214,6 +3218,7 @@ public final class ProtoBuf { return this; } + // repeated uint32 bestHandPosition = 4 [packed = true]; private java.util.List bestHandPosition_ = java.util.Collections.emptyList(); private void ensureBestHandPositionIsMutable() { if (!((bitField0_ & 0x00000008) == 0x00000008)) { @@ -3265,8 +3270,7 @@ public final class ProtoBuf { public Builder addAllBestHandPosition( java.lang.Iterable values) { ensureBestHandPositionIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, bestHandPosition_); + super.addAll(values, bestHandPosition_); return this; } @@ -3280,6 +3284,7 @@ public final class ProtoBuf { return this; } + // required uint32 moneyWon = 5; private int moneyWon_ ; /** * required uint32 moneyWon = 5; @@ -3312,6 +3317,7 @@ public final class ProtoBuf { return this; } + // required uint32 playerMoney = 6; private int playerMoney_ ; /** * required uint32 playerMoney = 6; @@ -3344,6 +3350,7 @@ public final class ProtoBuf { return this; } + // optional uint32 cardsValue = 7; private int cardsValue_ ; /** * optional uint32 cardsValue = 7; @@ -3387,10 +3394,10 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:PlayerResult) } - public interface AnnounceMessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:AnnounceMessage) - com.google.protobuf.MessageLiteOrBuilder { + public interface AnnounceMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // required .AnnounceMessage.Version protocolVersion = 1; /** * required .AnnounceMessage.Version protocolVersion = 1; */ @@ -3400,6 +3407,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version getProtocolVersion(); + // required .AnnounceMessage.Version latestGameVersion = 2; /** * required .AnnounceMessage.Version latestGameVersion = 2; */ @@ -3409,6 +3417,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version getLatestGameVersion(); + // required uint32 latestBetaRevision = 3; /** * required uint32 latestBetaRevision = 3; */ @@ -3418,6 +3427,7 @@ public final class ProtoBuf { */ int getLatestBetaRevision(); + // required .AnnounceMessage.ServerType serverType = 4; /** * required .AnnounceMessage.ServerType serverType = 4; */ @@ -3427,6 +3437,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.AnnounceMessage.ServerType getServerType(); + // required uint32 numPlayersOnServer = 5; /** * required uint32 numPlayersOnServer = 5; */ @@ -3440,15 +3451,14 @@ public final class ProtoBuf { * Protobuf type {@code AnnounceMessage} */ public static final class AnnounceMessage extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:AnnounceMessage) - AnnounceMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements AnnounceMessageOrBuilder { // Use AnnounceMessage.newBuilder() to construct. private AnnounceMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private AnnounceMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private AnnounceMessage(boolean noInit) {} private static final AnnounceMessage defaultInstance; public static AnnounceMessage getDefaultInstance() { @@ -3459,18 +3469,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private AnnounceMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -3480,7 +3484,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -3520,10 +3524,7 @@ public final class ProtoBuf { case 32: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.AnnounceMessage.ServerType value = de.pokerth.protocol.ProtoBuf.AnnounceMessage.ServerType.valueOf(rawValue); - if (value == null) { - unknownFieldsCodedOutput.writeRawVarint32(tag); - unknownFieldsCodedOutput.writeRawVarint32(rawValue); - } else { + if (value != null) { bitField0_ |= 0x00000008; serverType_ = value; } @@ -3542,13 +3543,6 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -3632,10 +3626,10 @@ public final class ProtoBuf { // @@protoc_insertion_point(enum_scope:AnnounceMessage.ServerType) } - public interface VersionOrBuilder extends - // @@protoc_insertion_point(interface_extends:AnnounceMessage.Version) - com.google.protobuf.MessageLiteOrBuilder { + public interface VersionOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // required uint32 majorVersion = 1; /** * required uint32 majorVersion = 1; */ @@ -3645,6 +3639,7 @@ public final class ProtoBuf { */ int getMajorVersion(); + // required uint32 minorVersion = 2; /** * required uint32 minorVersion = 2; */ @@ -3658,15 +3653,14 @@ public final class ProtoBuf { * Protobuf type {@code AnnounceMessage.Version} */ public static final class Version extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:AnnounceMessage.Version) - VersionOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements VersionOrBuilder { // Use Version.newBuilder() to construct. private Version(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private Version(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private Version(boolean noInit) {} private static final Version defaultInstance; public static Version getDefaultInstance() { @@ -3677,18 +3671,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private Version( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -3698,7 +3686,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -3722,13 +3710,6 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -3748,6 +3729,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 majorVersion = 1; public static final int MAJORVERSION_FIELD_NUMBER = 1; private int majorVersion_; /** @@ -3763,6 +3745,7 @@ public final class ProtoBuf { return majorVersion_; } + // required uint32 minorVersion = 2; public static final int MINORVERSION_FIELD_NUMBER = 2; private int minorVersion_; /** @@ -3785,8 +3768,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasMajorVersion()) { memoizedIsInitialized = 0; @@ -3809,7 +3791,6 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt32(2, minorVersion_); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -3826,7 +3807,6 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, minorVersion_); } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -3904,9 +3884,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version, Builder> - implements - // @@protoc_insertion_point(builder_implements:AnnounceMessage.Version) - de.pokerth.protocol.ProtoBuf.AnnounceMessage.VersionOrBuilder { + implements de.pokerth.protocol.ProtoBuf.AnnounceMessage.VersionOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -3967,8 +3945,6 @@ public final class ProtoBuf { if (other.hasMinorVersion()) { setMinorVersion(other.getMinorVersion()); } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -4003,6 +3979,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 majorVersion = 1; private int majorVersion_ ; /** * required uint32 majorVersion = 1; @@ -4035,6 +4012,7 @@ public final class ProtoBuf { return this; } + // required uint32 minorVersion = 2; private int minorVersion_ ; /** * required uint32 minorVersion = 2; @@ -4079,6 +4057,7 @@ public final class ProtoBuf { } private int bitField0_; + // required .AnnounceMessage.Version protocolVersion = 1; public static final int PROTOCOLVERSION_FIELD_NUMBER = 1; private de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version protocolVersion_; /** @@ -4094,6 +4073,7 @@ public final class ProtoBuf { return protocolVersion_; } + // required .AnnounceMessage.Version latestGameVersion = 2; public static final int LATESTGAMEVERSION_FIELD_NUMBER = 2; private de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version latestGameVersion_; /** @@ -4109,6 +4089,7 @@ public final class ProtoBuf { return latestGameVersion_; } + // required uint32 latestBetaRevision = 3; public static final int LATESTBETAREVISION_FIELD_NUMBER = 3; private int latestBetaRevision_; /** @@ -4124,6 +4105,7 @@ public final class ProtoBuf { return latestBetaRevision_; } + // required .AnnounceMessage.ServerType serverType = 4; public static final int SERVERTYPE_FIELD_NUMBER = 4; private de.pokerth.protocol.ProtoBuf.AnnounceMessage.ServerType serverType_; /** @@ -4139,6 +4121,7 @@ public final class ProtoBuf { return serverType_; } + // required uint32 numPlayersOnServer = 5; public static final int NUMPLAYERSONSERVER_FIELD_NUMBER = 5; private int numPlayersOnServer_; /** @@ -4164,8 +4147,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasProtocolVersion()) { memoizedIsInitialized = 0; @@ -4217,7 +4199,6 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeUInt32(5, numPlayersOnServer_); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -4246,7 +4227,6 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(5, numPlayersOnServer_); } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -4324,9 +4304,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.AnnounceMessage, Builder> - implements - // @@protoc_insertion_point(builder_implements:AnnounceMessage) - de.pokerth.protocol.ProtoBuf.AnnounceMessageOrBuilder { + implements de.pokerth.protocol.ProtoBuf.AnnounceMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.AnnounceMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -4414,8 +4392,6 @@ public final class ProtoBuf { if (other.hasNumPlayersOnServer()) { setNumPlayersOnServer(other.getNumPlayersOnServer()); } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -4470,6 +4446,7 @@ 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(); /** * required .AnnounceMessage.Version protocolVersion = 1; @@ -4530,6 +4507,7 @@ public final class ProtoBuf { return this; } + // required .AnnounceMessage.Version latestGameVersion = 2; private de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version latestGameVersion_ = de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.getDefaultInstance(); /** * required .AnnounceMessage.Version latestGameVersion = 2; @@ -4590,6 +4568,7 @@ public final class ProtoBuf { return this; } + // required uint32 latestBetaRevision = 3; private int latestBetaRevision_ ; /** * required uint32 latestBetaRevision = 3; @@ -4622,6 +4601,7 @@ public final class ProtoBuf { return this; } + // required .AnnounceMessage.ServerType serverType = 4; private de.pokerth.protocol.ProtoBuf.AnnounceMessage.ServerType serverType_ = de.pokerth.protocol.ProtoBuf.AnnounceMessage.ServerType.serverTypeLAN; /** * required .AnnounceMessage.ServerType serverType = 4; @@ -4657,6 +4637,7 @@ public final class ProtoBuf { return this; } + // required uint32 numPlayersOnServer = 5; private int numPlayersOnServer_ ; /** * required uint32 numPlayersOnServer = 5; @@ -4700,10 +4681,10 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:AnnounceMessage) } - public interface InitMessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:InitMessage) - com.google.protobuf.MessageLiteOrBuilder { + public interface InitMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // required .AnnounceMessage.Version requestedVersion = 1; /** * required .AnnounceMessage.Version requestedVersion = 1; */ @@ -4713,6 +4694,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version getRequestedVersion(); + // required uint32 buildId = 2; /** * required uint32 buildId = 2; */ @@ -4722,6 +4704,7 @@ public final class ProtoBuf { */ int getBuildId(); + // optional bytes myLastSessionId = 3; /** * optional bytes myLastSessionId = 3; */ @@ -4731,6 +4714,7 @@ public final class ProtoBuf { */ com.google.protobuf.ByteString getMyLastSessionId(); + // optional string authServerPassword = 4; /** * optional string authServerPassword = 4; */ @@ -4745,6 +4729,7 @@ public final class ProtoBuf { com.google.protobuf.ByteString getAuthServerPasswordBytes(); + // required .InitMessage.LoginType login = 5; /** * required .InitMessage.LoginType login = 5; */ @@ -4754,6 +4739,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.InitMessage.LoginType getLogin(); + // optional string nickName = 6; /** * optional string nickName = 6; * @@ -4780,6 +4766,7 @@ public final class ProtoBuf { com.google.protobuf.ByteString getNickNameBytes(); + // optional bytes clientUserData = 7; /** * optional bytes clientUserData = 7; * @@ -4797,6 +4784,7 @@ public final class ProtoBuf { */ com.google.protobuf.ByteString getClientUserData(); + // optional bytes avatarHash = 8; /** * optional bytes avatarHash = 8; * @@ -4822,15 +4810,14 @@ public final class ProtoBuf { * */ public static final class InitMessage extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:InitMessage) - InitMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements InitMessageOrBuilder { // Use InitMessage.newBuilder() to construct. private InitMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private InitMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private InitMessage(boolean noInit) {} private static final InitMessage defaultInstance; public static InitMessage getDefaultInstance() { @@ -4841,18 +4828,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private InitMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -4862,7 +4843,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -4892,27 +4873,22 @@ public final class ProtoBuf { break; } case 34: { - com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000008; - authServerPassword_ = bs; + authServerPassword_ = input.readBytes(); break; } case 40: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.InitMessage.LoginType value = de.pokerth.protocol.ProtoBuf.InitMessage.LoginType.valueOf(rawValue); - if (value == null) { - unknownFieldsCodedOutput.writeRawVarint32(tag); - unknownFieldsCodedOutput.writeRawVarint32(rawValue); - } else { + if (value != null) { bitField0_ |= 0x00000010; login_ = value; } break; } case 50: { - com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000020; - nickName_ = bs; + nickName_ = input.readBytes(); break; } case 58: { @@ -4933,13 +4909,6 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -5024,6 +4993,7 @@ 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_; /** @@ -5039,6 +5009,7 @@ public final class ProtoBuf { return requestedVersion_; } + // required uint32 buildId = 2; public static final int BUILDID_FIELD_NUMBER = 2; private int buildId_; /** @@ -5054,6 +5025,7 @@ public final class ProtoBuf { return buildId_; } + // optional bytes myLastSessionId = 3; public static final int MYLASTSESSIONID_FIELD_NUMBER = 3; private com.google.protobuf.ByteString myLastSessionId_; /** @@ -5069,6 +5041,7 @@ public final class ProtoBuf { return myLastSessionId_; } + // optional string authServerPassword = 4; public static final int AUTHSERVERPASSWORD_FIELD_NUMBER = 4; private java.lang.Object authServerPassword_; /** @@ -5111,6 +5084,7 @@ 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_; /** @@ -5126,6 +5100,7 @@ public final class ProtoBuf { return login_; } + // optional string nickName = 6; public static final int NICKNAME_FIELD_NUMBER = 6; private java.lang.Object nickName_; /** @@ -5180,6 +5155,7 @@ public final class ProtoBuf { } } + // optional bytes clientUserData = 7; public static final int CLIENTUSERDATA_FIELD_NUMBER = 7; private com.google.protobuf.ByteString clientUserData_; /** @@ -5203,6 +5179,7 @@ public final class ProtoBuf { return clientUserData_; } + // optional bytes avatarHash = 8; public static final int AVATARHASH_FIELD_NUMBER = 8; private com.google.protobuf.ByteString avatarHash_; /** @@ -5239,8 +5216,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasRequestedVersion()) { memoizedIsInitialized = 0; @@ -5289,7 +5265,6 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000080) == 0x00000080)) { output.writeBytes(8, avatarHash_); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -5330,7 +5305,6 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeBytesSize(8, avatarHash_); } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -5412,9 +5386,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.InitMessage, Builder> - implements - // @@protoc_insertion_point(builder_implements:InitMessage) - de.pokerth.protocol.ProtoBuf.InitMessageOrBuilder { + implements de.pokerth.protocol.ProtoBuf.InitMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.InitMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -5533,8 +5505,6 @@ public final class ProtoBuf { if (other.hasAvatarHash()) { setAvatarHash(other.getAvatarHash()); } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -5577,6 +5547,7 @@ 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(); /** * required .AnnounceMessage.Version requestedVersion = 1; @@ -5637,6 +5608,7 @@ public final class ProtoBuf { return this; } + // required uint32 buildId = 2; private int buildId_ ; /** * required uint32 buildId = 2; @@ -5669,6 +5641,7 @@ public final class ProtoBuf { return this; } + // optional bytes myLastSessionId = 3; private com.google.protobuf.ByteString myLastSessionId_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes myLastSessionId = 3; @@ -5704,6 +5677,7 @@ public final class ProtoBuf { return this; } + // optional string authServerPassword = 4; private java.lang.Object authServerPassword_ = ""; /** * optional string authServerPassword = 4; @@ -5717,12 +5691,9 @@ public final class ProtoBuf { public java.lang.String getAuthServerPassword() { java.lang.Object ref = authServerPassword_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - authServerPassword_ = s; - } + java.lang.String s = ((com.google.protobuf.ByteString) ref) + .toStringUtf8(); + authServerPassword_ = s; return s; } else { return (java.lang.String) ref; @@ -5780,6 +5751,7 @@ public final class ProtoBuf { return this; } + // required .InitMessage.LoginType login = 5; private de.pokerth.protocol.ProtoBuf.InitMessage.LoginType login_ = de.pokerth.protocol.ProtoBuf.InitMessage.LoginType.guestLogin; /** * required .InitMessage.LoginType login = 5; @@ -5815,6 +5787,7 @@ public final class ProtoBuf { return this; } + // optional string nickName = 6; private java.lang.Object nickName_ = ""; /** * optional string nickName = 6; @@ -5836,12 +5809,9 @@ public final class ProtoBuf { public java.lang.String getNickName() { java.lang.Object ref = nickName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - nickName_ = s; - } + java.lang.String s = ((com.google.protobuf.ByteString) ref) + .toStringUtf8(); + nickName_ = s; return s; } else { return (java.lang.String) ref; @@ -5915,6 +5885,7 @@ public final class ProtoBuf { return this; } + // optional bytes clientUserData = 7; private com.google.protobuf.ByteString clientUserData_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes clientUserData = 7; @@ -5966,6 +5937,7 @@ public final class ProtoBuf { return this; } + // optional bytes avatarHash = 8; private com.google.protobuf.ByteString avatarHash_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes avatarHash = 8; @@ -6028,10 +6000,10 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:InitMessage) } - public interface AuthServerChallengeMessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:AuthServerChallengeMessage) - com.google.protobuf.MessageLiteOrBuilder { + public interface AuthServerChallengeMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // required bytes serverChallenge = 1; /** * required bytes serverChallenge = 1; */ @@ -6045,15 +6017,14 @@ public final class ProtoBuf { * Protobuf type {@code AuthServerChallengeMessage} */ public static final class AuthServerChallengeMessage extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:AuthServerChallengeMessage) - AuthServerChallengeMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements AuthServerChallengeMessageOrBuilder { // Use AuthServerChallengeMessage.newBuilder() to construct. private AuthServerChallengeMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private AuthServerChallengeMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private AuthServerChallengeMessage(boolean noInit) {} private static final AuthServerChallengeMessage defaultInstance; public static AuthServerChallengeMessage getDefaultInstance() { @@ -6064,18 +6035,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private AuthServerChallengeMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -6085,7 +6050,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -6104,13 +6069,6 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -6130,6 +6088,7 @@ public final class ProtoBuf { } private int bitField0_; + // required bytes serverChallenge = 1; public static final int SERVERCHALLENGE_FIELD_NUMBER = 1; private com.google.protobuf.ByteString serverChallenge_; /** @@ -6151,8 +6110,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasServerChallenge()) { memoizedIsInitialized = 0; @@ -6168,7 +6126,6 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, serverChallenge_); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -6181,7 +6138,6 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, serverChallenge_); } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -6259,9 +6215,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage, Builder> - implements - // @@protoc_insertion_point(builder_implements:AuthServerChallengeMessage) - de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessageOrBuilder { + implements de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -6313,8 +6267,6 @@ public final class ProtoBuf { if (other.hasServerChallenge()) { setServerChallenge(other.getServerChallenge()); } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -6345,6 +6297,7 @@ 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; @@ -6391,10 +6344,10 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:AuthServerChallengeMessage) } - public interface AuthClientResponseMessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:AuthClientResponseMessage) - com.google.protobuf.MessageLiteOrBuilder { + public interface AuthClientResponseMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // required bytes clientResponse = 1; /** * required bytes clientResponse = 1; */ @@ -6408,15 +6361,14 @@ public final class ProtoBuf { * Protobuf type {@code AuthClientResponseMessage} */ public static final class AuthClientResponseMessage extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:AuthClientResponseMessage) - AuthClientResponseMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements AuthClientResponseMessageOrBuilder { // Use AuthClientResponseMessage.newBuilder() to construct. private AuthClientResponseMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private AuthClientResponseMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private AuthClientResponseMessage(boolean noInit) {} private static final AuthClientResponseMessage defaultInstance; public static AuthClientResponseMessage getDefaultInstance() { @@ -6427,18 +6379,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private AuthClientResponseMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -6448,7 +6394,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -6467,13 +6413,6 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -6493,6 +6432,7 @@ public final class ProtoBuf { } private int bitField0_; + // required bytes clientResponse = 1; public static final int CLIENTRESPONSE_FIELD_NUMBER = 1; private com.google.protobuf.ByteString clientResponse_; /** @@ -6514,8 +6454,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasClientResponse()) { memoizedIsInitialized = 0; @@ -6531,7 +6470,6 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, clientResponse_); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -6544,7 +6482,6 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, clientResponse_); } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -6622,9 +6559,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage, Builder> - implements - // @@protoc_insertion_point(builder_implements:AuthClientResponseMessage) - de.pokerth.protocol.ProtoBuf.AuthClientResponseMessageOrBuilder { + implements de.pokerth.protocol.ProtoBuf.AuthClientResponseMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -6676,8 +6611,6 @@ public final class ProtoBuf { if (other.hasClientResponse()) { setClientResponse(other.getClientResponse()); } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -6708,6 +6641,7 @@ 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; @@ -6754,10 +6688,10 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:AuthClientResponseMessage) } - public interface AuthServerVerificationMessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:AuthServerVerificationMessage) - com.google.protobuf.MessageLiteOrBuilder { + public interface AuthServerVerificationMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // required bytes serverVerification = 1; /** * required bytes serverVerification = 1; */ @@ -6771,15 +6705,14 @@ public final class ProtoBuf { * Protobuf type {@code AuthServerVerificationMessage} */ public static final class AuthServerVerificationMessage extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:AuthServerVerificationMessage) - AuthServerVerificationMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements AuthServerVerificationMessageOrBuilder { // Use AuthServerVerificationMessage.newBuilder() to construct. private AuthServerVerificationMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private AuthServerVerificationMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private AuthServerVerificationMessage(boolean noInit) {} private static final AuthServerVerificationMessage defaultInstance; public static AuthServerVerificationMessage getDefaultInstance() { @@ -6790,18 +6723,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private AuthServerVerificationMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -6811,7 +6738,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -6830,13 +6757,6 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -6856,6 +6776,7 @@ public final class ProtoBuf { } private int bitField0_; + // required bytes serverVerification = 1; public static final int SERVERVERIFICATION_FIELD_NUMBER = 1; private com.google.protobuf.ByteString serverVerification_; /** @@ -6877,8 +6798,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasServerVerification()) { memoizedIsInitialized = 0; @@ -6894,7 +6814,6 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, serverVerification_); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -6907,7 +6826,6 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, serverVerification_); } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -6985,9 +6903,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage, Builder> - implements - // @@protoc_insertion_point(builder_implements:AuthServerVerificationMessage) - de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessageOrBuilder { + implements de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -7039,8 +6955,6 @@ public final class ProtoBuf { if (other.hasServerVerification()) { setServerVerification(other.getServerVerification()); } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -7071,6 +6985,7 @@ 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; @@ -7117,10 +7032,10 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:AuthServerVerificationMessage) } - public interface InitAckMessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:InitAckMessage) - com.google.protobuf.MessageLiteOrBuilder { + public interface InitAckMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // required bytes yourSessionId = 1; /** * required bytes yourSessionId = 1; */ @@ -7130,6 +7045,7 @@ public final class ProtoBuf { */ com.google.protobuf.ByteString getYourSessionId(); + // required uint32 yourPlayerId = 2; /** * required uint32 yourPlayerId = 2; */ @@ -7139,6 +7055,7 @@ public final class ProtoBuf { */ int getYourPlayerId(); + // optional bytes yourAvatarHash = 3; /** * optional bytes yourAvatarHash = 3; */ @@ -7148,6 +7065,7 @@ public final class ProtoBuf { */ com.google.protobuf.ByteString getYourAvatarHash(); + // optional uint32 rejoinGameId = 4; /** * optional uint32 rejoinGameId = 4; */ @@ -7161,15 +7079,14 @@ public final class ProtoBuf { * Protobuf type {@code InitAckMessage} */ public static final class InitAckMessage extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:InitAckMessage) - InitAckMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements InitAckMessageOrBuilder { // Use InitAckMessage.newBuilder() to construct. private InitAckMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private InitAckMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private InitAckMessage(boolean noInit) {} private static final InitAckMessage defaultInstance; public static InitAckMessage getDefaultInstance() { @@ -7180,18 +7097,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private InitAckMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -7201,7 +7112,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -7235,13 +7146,6 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -7261,6 +7165,7 @@ public final class ProtoBuf { } private int bitField0_; + // required bytes yourSessionId = 1; public static final int YOURSESSIONID_FIELD_NUMBER = 1; private com.google.protobuf.ByteString yourSessionId_; /** @@ -7276,6 +7181,7 @@ public final class ProtoBuf { return yourSessionId_; } + // required uint32 yourPlayerId = 2; public static final int YOURPLAYERID_FIELD_NUMBER = 2; private int yourPlayerId_; /** @@ -7291,6 +7197,7 @@ public final class ProtoBuf { return yourPlayerId_; } + // optional bytes yourAvatarHash = 3; public static final int YOURAVATARHASH_FIELD_NUMBER = 3; private com.google.protobuf.ByteString yourAvatarHash_; /** @@ -7306,6 +7213,7 @@ public final class ProtoBuf { return yourAvatarHash_; } + // optional uint32 rejoinGameId = 4; public static final int REJOINGAMEID_FIELD_NUMBER = 4; private int rejoinGameId_; /** @@ -7330,8 +7238,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasYourSessionId()) { memoizedIsInitialized = 0; @@ -7360,7 +7267,6 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeUInt32(4, rejoinGameId_); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -7385,7 +7291,6 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(4, rejoinGameId_); } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -7463,9 +7368,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.InitAckMessage, Builder> - implements - // @@protoc_insertion_point(builder_implements:InitAckMessage) - de.pokerth.protocol.ProtoBuf.InitAckMessageOrBuilder { + implements de.pokerth.protocol.ProtoBuf.InitAckMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.InitAckMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -7544,8 +7447,6 @@ public final class ProtoBuf { if (other.hasRejoinGameId()) { setRejoinGameId(other.getRejoinGameId()); } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -7580,6 +7481,7 @@ 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; @@ -7615,6 +7517,7 @@ public final class ProtoBuf { return this; } + // required uint32 yourPlayerId = 2; private int yourPlayerId_ ; /** * required uint32 yourPlayerId = 2; @@ -7647,6 +7550,7 @@ public final class ProtoBuf { return this; } + // optional bytes yourAvatarHash = 3; private com.google.protobuf.ByteString yourAvatarHash_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes yourAvatarHash = 3; @@ -7682,6 +7586,7 @@ public final class ProtoBuf { return this; } + // optional uint32 rejoinGameId = 4; private int rejoinGameId_ ; /** * optional uint32 rejoinGameId = 4; @@ -7725,10 +7630,10 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:InitAckMessage) } - public interface AvatarRequestMessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:AvatarRequestMessage) - com.google.protobuf.MessageLiteOrBuilder { + public interface AvatarRequestMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // required uint32 requestId = 1; /** * required uint32 requestId = 1; */ @@ -7738,6 +7643,7 @@ public final class ProtoBuf { */ int getRequestId(); + // required bytes avatarHash = 2; /** * required bytes avatarHash = 2; */ @@ -7751,15 +7657,14 @@ public final class ProtoBuf { * Protobuf type {@code AvatarRequestMessage} */ public static final class AvatarRequestMessage extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:AvatarRequestMessage) - AvatarRequestMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements AvatarRequestMessageOrBuilder { // Use AvatarRequestMessage.newBuilder() to construct. private AvatarRequestMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private AvatarRequestMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private AvatarRequestMessage(boolean noInit) {} private static final AvatarRequestMessage defaultInstance; public static AvatarRequestMessage getDefaultInstance() { @@ -7770,18 +7675,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private AvatarRequestMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -7791,7 +7690,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -7815,13 +7714,6 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -7841,6 +7733,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 requestId = 1; public static final int REQUESTID_FIELD_NUMBER = 1; private int requestId_; /** @@ -7856,6 +7749,7 @@ public final class ProtoBuf { return requestId_; } + // required bytes avatarHash = 2; public static final int AVATARHASH_FIELD_NUMBER = 2; private com.google.protobuf.ByteString avatarHash_; /** @@ -7878,8 +7772,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasRequestId()) { memoizedIsInitialized = 0; @@ -7902,7 +7795,6 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, avatarHash_); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -7919,7 +7811,6 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, avatarHash_); } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -7997,9 +7888,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.AvatarRequestMessage, Builder> - implements - // @@protoc_insertion_point(builder_implements:AvatarRequestMessage) - de.pokerth.protocol.ProtoBuf.AvatarRequestMessageOrBuilder { + implements de.pokerth.protocol.ProtoBuf.AvatarRequestMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.AvatarRequestMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -8060,8 +7949,6 @@ public final class ProtoBuf { if (other.hasAvatarHash()) { setAvatarHash(other.getAvatarHash()); } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -8096,6 +7983,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 requestId = 1; private int requestId_ ; /** * required uint32 requestId = 1; @@ -8128,6 +8016,7 @@ public final class ProtoBuf { return this; } + // required bytes avatarHash = 2; private com.google.protobuf.ByteString avatarHash_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes avatarHash = 2; @@ -8174,10 +8063,10 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:AvatarRequestMessage) } - public interface AvatarHeaderMessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:AvatarHeaderMessage) - com.google.protobuf.MessageLiteOrBuilder { + public interface AvatarHeaderMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // required uint32 requestId = 1; /** * required uint32 requestId = 1; */ @@ -8187,6 +8076,7 @@ public final class ProtoBuf { */ int getRequestId(); + // required .NetAvatarType avatarType = 2; /** * required .NetAvatarType avatarType = 2; */ @@ -8196,6 +8086,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.NetAvatarType getAvatarType(); + // required uint32 avatarSize = 3; /** * required uint32 avatarSize = 3; */ @@ -8209,15 +8100,14 @@ public final class ProtoBuf { * Protobuf type {@code AvatarHeaderMessage} */ public static final class AvatarHeaderMessage extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:AvatarHeaderMessage) - AvatarHeaderMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements AvatarHeaderMessageOrBuilder { // Use AvatarHeaderMessage.newBuilder() to construct. private AvatarHeaderMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private AvatarHeaderMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private AvatarHeaderMessage(boolean noInit) {} private static final AvatarHeaderMessage defaultInstance; public static AvatarHeaderMessage getDefaultInstance() { @@ -8228,18 +8118,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private AvatarHeaderMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -8249,7 +8133,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -8263,10 +8147,7 @@ public final class ProtoBuf { case 16: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.NetAvatarType value = de.pokerth.protocol.ProtoBuf.NetAvatarType.valueOf(rawValue); - if (value == null) { - unknownFieldsCodedOutput.writeRawVarint32(tag); - unknownFieldsCodedOutput.writeRawVarint32(rawValue); - } else { + if (value != null) { bitField0_ |= 0x00000002; avatarType_ = value; } @@ -8285,13 +8166,6 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -8311,6 +8185,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 requestId = 1; public static final int REQUESTID_FIELD_NUMBER = 1; private int requestId_; /** @@ -8326,6 +8201,7 @@ public final class ProtoBuf { return requestId_; } + // required .NetAvatarType avatarType = 2; public static final int AVATARTYPE_FIELD_NUMBER = 2; private de.pokerth.protocol.ProtoBuf.NetAvatarType avatarType_; /** @@ -8341,6 +8217,7 @@ public final class ProtoBuf { return avatarType_; } + // required uint32 avatarSize = 3; public static final int AVATARSIZE_FIELD_NUMBER = 3; private int avatarSize_; /** @@ -8364,8 +8241,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasRequestId()) { memoizedIsInitialized = 0; @@ -8395,7 +8271,6 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeUInt32(3, avatarSize_); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -8416,7 +8291,6 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(3, avatarSize_); } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -8494,9 +8368,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage, Builder> - implements - // @@protoc_insertion_point(builder_implements:AvatarHeaderMessage) - de.pokerth.protocol.ProtoBuf.AvatarHeaderMessageOrBuilder { + implements de.pokerth.protocol.ProtoBuf.AvatarHeaderMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -8566,8 +8438,6 @@ public final class ProtoBuf { if (other.hasAvatarSize()) { setAvatarSize(other.getAvatarSize()); } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -8606,6 +8476,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 requestId = 1; private int requestId_ ; /** * required uint32 requestId = 1; @@ -8638,6 +8509,7 @@ public final class ProtoBuf { return this; } + // required .NetAvatarType avatarType = 2; private de.pokerth.protocol.ProtoBuf.NetAvatarType avatarType_ = de.pokerth.protocol.ProtoBuf.NetAvatarType.netAvatarImagePng; /** * required .NetAvatarType avatarType = 2; @@ -8673,6 +8545,7 @@ public final class ProtoBuf { return this; } + // required uint32 avatarSize = 3; private int avatarSize_ ; /** * required uint32 avatarSize = 3; @@ -8716,10 +8589,10 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:AvatarHeaderMessage) } - public interface AvatarDataMessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:AvatarDataMessage) - com.google.protobuf.MessageLiteOrBuilder { + public interface AvatarDataMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // required uint32 requestId = 1; /** * required uint32 requestId = 1; */ @@ -8729,6 +8602,7 @@ public final class ProtoBuf { */ int getRequestId(); + // required bytes avatarBlock = 2; /** * required bytes avatarBlock = 2; */ @@ -8742,15 +8616,14 @@ public final class ProtoBuf { * Protobuf type {@code AvatarDataMessage} */ public static final class AvatarDataMessage extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:AvatarDataMessage) - AvatarDataMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements AvatarDataMessageOrBuilder { // Use AvatarDataMessage.newBuilder() to construct. private AvatarDataMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private AvatarDataMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private AvatarDataMessage(boolean noInit) {} private static final AvatarDataMessage defaultInstance; public static AvatarDataMessage getDefaultInstance() { @@ -8761,18 +8634,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private AvatarDataMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -8782,7 +8649,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -8806,13 +8673,6 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -8832,6 +8692,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 requestId = 1; public static final int REQUESTID_FIELD_NUMBER = 1; private int requestId_; /** @@ -8847,6 +8708,7 @@ public final class ProtoBuf { return requestId_; } + // required bytes avatarBlock = 2; public static final int AVATARBLOCK_FIELD_NUMBER = 2; private com.google.protobuf.ByteString avatarBlock_; /** @@ -8869,8 +8731,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasRequestId()) { memoizedIsInitialized = 0; @@ -8893,7 +8754,6 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, avatarBlock_); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -8910,7 +8770,6 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, avatarBlock_); } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -8988,9 +8847,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.AvatarDataMessage, Builder> - implements - // @@protoc_insertion_point(builder_implements:AvatarDataMessage) - de.pokerth.protocol.ProtoBuf.AvatarDataMessageOrBuilder { + implements de.pokerth.protocol.ProtoBuf.AvatarDataMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.AvatarDataMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -9051,8 +8908,6 @@ public final class ProtoBuf { if (other.hasAvatarBlock()) { setAvatarBlock(other.getAvatarBlock()); } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -9087,6 +8942,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 requestId = 1; private int requestId_ ; /** * required uint32 requestId = 1; @@ -9119,6 +8975,7 @@ public final class ProtoBuf { return this; } + // required bytes avatarBlock = 2; private com.google.protobuf.ByteString avatarBlock_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes avatarBlock = 2; @@ -9165,10 +9022,10 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:AvatarDataMessage) } - public interface AvatarEndMessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:AvatarEndMessage) - com.google.protobuf.MessageLiteOrBuilder { + public interface AvatarEndMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // required uint32 requestId = 1; /** * required uint32 requestId = 1; */ @@ -9182,15 +9039,14 @@ public final class ProtoBuf { * Protobuf type {@code AvatarEndMessage} */ public static final class AvatarEndMessage extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:AvatarEndMessage) - AvatarEndMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements AvatarEndMessageOrBuilder { // Use AvatarEndMessage.newBuilder() to construct. private AvatarEndMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private AvatarEndMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private AvatarEndMessage(boolean noInit) {} private static final AvatarEndMessage defaultInstance; public static AvatarEndMessage getDefaultInstance() { @@ -9201,18 +9057,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private AvatarEndMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -9222,7 +9072,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -9241,13 +9091,6 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -9267,6 +9110,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 requestId = 1; public static final int REQUESTID_FIELD_NUMBER = 1; private int requestId_; /** @@ -9288,8 +9132,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasRequestId()) { memoizedIsInitialized = 0; @@ -9305,7 +9148,6 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeUInt32(1, requestId_); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -9318,7 +9160,6 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, requestId_); } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -9396,9 +9237,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.AvatarEndMessage, Builder> - implements - // @@protoc_insertion_point(builder_implements:AvatarEndMessage) - de.pokerth.protocol.ProtoBuf.AvatarEndMessageOrBuilder { + implements de.pokerth.protocol.ProtoBuf.AvatarEndMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.AvatarEndMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -9450,8 +9289,6 @@ public final class ProtoBuf { if (other.hasRequestId()) { setRequestId(other.getRequestId()); } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -9482,6 +9319,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 requestId = 1; private int requestId_ ; /** * required uint32 requestId = 1; @@ -9525,10 +9363,10 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:AvatarEndMessage) } - public interface UnknownAvatarMessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:UnknownAvatarMessage) - com.google.protobuf.MessageLiteOrBuilder { + public interface UnknownAvatarMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // required uint32 requestId = 1; /** * required uint32 requestId = 1; */ @@ -9542,15 +9380,14 @@ public final class ProtoBuf { * Protobuf type {@code UnknownAvatarMessage} */ public static final class UnknownAvatarMessage extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:UnknownAvatarMessage) - UnknownAvatarMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements UnknownAvatarMessageOrBuilder { // Use UnknownAvatarMessage.newBuilder() to construct. private UnknownAvatarMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private UnknownAvatarMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private UnknownAvatarMessage(boolean noInit) {} private static final UnknownAvatarMessage defaultInstance; public static UnknownAvatarMessage getDefaultInstance() { @@ -9561,18 +9398,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private UnknownAvatarMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -9582,7 +9413,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -9601,13 +9432,6 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -9627,6 +9451,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 requestId = 1; public static final int REQUESTID_FIELD_NUMBER = 1; private int requestId_; /** @@ -9648,8 +9473,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasRequestId()) { memoizedIsInitialized = 0; @@ -9665,7 +9489,6 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeUInt32(1, requestId_); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -9678,7 +9501,6 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, requestId_); } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -9756,9 +9578,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage, Builder> - implements - // @@protoc_insertion_point(builder_implements:UnknownAvatarMessage) - de.pokerth.protocol.ProtoBuf.UnknownAvatarMessageOrBuilder { + implements de.pokerth.protocol.ProtoBuf.UnknownAvatarMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -9810,8 +9630,6 @@ public final class ProtoBuf { if (other.hasRequestId()) { setRequestId(other.getRequestId()); } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -9842,6 +9660,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 requestId = 1; private int requestId_ ; /** * required uint32 requestId = 1; @@ -9885,10 +9704,10 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:UnknownAvatarMessage) } - public interface PlayerListMessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:PlayerListMessage) - com.google.protobuf.MessageLiteOrBuilder { + public interface PlayerListMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // required uint32 playerId = 1; /** * required uint32 playerId = 1; */ @@ -9898,6 +9717,7 @@ public final class ProtoBuf { */ int getPlayerId(); + // required .PlayerListMessage.PlayerListNotification playerListNotification = 2; /** * required .PlayerListMessage.PlayerListNotification playerListNotification = 2; */ @@ -9911,15 +9731,14 @@ public final class ProtoBuf { * Protobuf type {@code PlayerListMessage} */ public static final class PlayerListMessage extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:PlayerListMessage) - PlayerListMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements PlayerListMessageOrBuilder { // Use PlayerListMessage.newBuilder() to construct. private PlayerListMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private PlayerListMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private PlayerListMessage(boolean noInit) {} private static final PlayerListMessage defaultInstance; public static PlayerListMessage getDefaultInstance() { @@ -9930,18 +9749,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private PlayerListMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -9951,7 +9764,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -9965,10 +9778,7 @@ public final class ProtoBuf { case 16: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.PlayerListMessage.PlayerListNotification value = de.pokerth.protocol.ProtoBuf.PlayerListMessage.PlayerListNotification.valueOf(rawValue); - if (value == null) { - unknownFieldsCodedOutput.writeRawVarint32(tag); - unknownFieldsCodedOutput.writeRawVarint32(rawValue); - } else { + if (value != null) { bitField0_ |= 0x00000002; playerListNotification_ = value; } @@ -9982,13 +9792,6 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -10064,6 +9867,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 playerId = 1; public static final int PLAYERID_FIELD_NUMBER = 1; private int playerId_; /** @@ -10079,6 +9883,7 @@ public final class ProtoBuf { return playerId_; } + // required .PlayerListMessage.PlayerListNotification playerListNotification = 2; public static final int PLAYERLISTNOTIFICATION_FIELD_NUMBER = 2; private de.pokerth.protocol.ProtoBuf.PlayerListMessage.PlayerListNotification playerListNotification_; /** @@ -10101,8 +9906,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasPlayerId()) { memoizedIsInitialized = 0; @@ -10125,7 +9929,6 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeEnum(2, playerListNotification_.getNumber()); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -10142,7 +9945,6 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, playerListNotification_.getNumber()); } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -10220,9 +10022,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.PlayerListMessage, Builder> - implements - // @@protoc_insertion_point(builder_implements:PlayerListMessage) - de.pokerth.protocol.ProtoBuf.PlayerListMessageOrBuilder { + implements de.pokerth.protocol.ProtoBuf.PlayerListMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.PlayerListMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -10283,8 +10083,6 @@ public final class ProtoBuf { if (other.hasPlayerListNotification()) { setPlayerListNotification(other.getPlayerListNotification()); } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -10319,6 +10117,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 playerId = 1; private int playerId_ ; /** * required uint32 playerId = 1; @@ -10351,6 +10150,7 @@ public final class ProtoBuf { return this; } + // required .PlayerListMessage.PlayerListNotification playerListNotification = 2; private de.pokerth.protocol.ProtoBuf.PlayerListMessage.PlayerListNotification playerListNotification_ = de.pokerth.protocol.ProtoBuf.PlayerListMessage.PlayerListNotification.playerListNew; /** * required .PlayerListMessage.PlayerListNotification playerListNotification = 2; @@ -10397,10 +10197,10 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:PlayerListMessage) } - public interface GameListNewMessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:GameListNewMessage) - com.google.protobuf.MessageLiteOrBuilder { + public interface GameListNewMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -10410,6 +10210,7 @@ public final class ProtoBuf { */ int getGameId(); + // required .NetGameMode gameMode = 2; /** * required .NetGameMode gameMode = 2; */ @@ -10419,6 +10220,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.NetGameMode getGameMode(); + // required bool isPrivate = 3; /** * required bool isPrivate = 3; */ @@ -10428,6 +10230,7 @@ public final class ProtoBuf { */ boolean getIsPrivate(); + // repeated uint32 playerIds = 4 [packed = true]; /** * repeated uint32 playerIds = 4 [packed = true]; */ @@ -10441,6 +10244,7 @@ public final class ProtoBuf { */ int getPlayerIds(int index); + // required uint32 adminPlayerId = 5; /** * required uint32 adminPlayerId = 5; */ @@ -10450,6 +10254,7 @@ public final class ProtoBuf { */ int getAdminPlayerId(); + // required .NetGameInfo gameInfo = 6; /** * required .NetGameInfo gameInfo = 6; */ @@ -10459,6 +10264,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.NetGameInfo getGameInfo(); + // repeated uint32 spectatorIds = 7 [packed = true]; /** * repeated uint32 spectatorIds = 7 [packed = true]; */ @@ -10476,15 +10282,14 @@ public final class ProtoBuf { * Protobuf type {@code GameListNewMessage} */ public static final class GameListNewMessage extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:GameListNewMessage) - GameListNewMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements GameListNewMessageOrBuilder { // Use GameListNewMessage.newBuilder() to construct. private GameListNewMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private GameListNewMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private GameListNewMessage(boolean noInit) {} private static final GameListNewMessage defaultInstance; public static GameListNewMessage getDefaultInstance() { @@ -10495,18 +10300,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private GameListNewMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -10516,7 +10315,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -10530,10 +10329,7 @@ public final class ProtoBuf { case 16: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.NetGameMode value = de.pokerth.protocol.ProtoBuf.NetGameMode.valueOf(rawValue); - if (value == null) { - unknownFieldsCodedOutput.writeRawVarint32(tag); - unknownFieldsCodedOutput.writeRawVarint32(rawValue); - } else { + if (value != null) { bitField0_ |= 0x00000002; gameMode_ = value; } @@ -10618,13 +10414,6 @@ public final class ProtoBuf { if (((mutable_bitField0_ & 0x00000040) == 0x00000040)) { spectatorIds_ = java.util.Collections.unmodifiableList(spectatorIds_); } - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -10644,6 +10433,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -10659,6 +10449,7 @@ public final class ProtoBuf { return gameId_; } + // required .NetGameMode gameMode = 2; public static final int GAMEMODE_FIELD_NUMBER = 2; private de.pokerth.protocol.ProtoBuf.NetGameMode gameMode_; /** @@ -10674,6 +10465,7 @@ public final class ProtoBuf { return gameMode_; } + // required bool isPrivate = 3; public static final int ISPRIVATE_FIELD_NUMBER = 3; private boolean isPrivate_; /** @@ -10689,6 +10481,7 @@ public final class ProtoBuf { return isPrivate_; } + // repeated uint32 playerIds = 4 [packed = true]; public static final int PLAYERIDS_FIELD_NUMBER = 4; private java.util.List playerIds_; /** @@ -10712,6 +10505,7 @@ public final class ProtoBuf { } private int playerIdsMemoizedSerializedSize = -1; + // required uint32 adminPlayerId = 5; public static final int ADMINPLAYERID_FIELD_NUMBER = 5; private int adminPlayerId_; /** @@ -10727,6 +10521,7 @@ public final class ProtoBuf { return adminPlayerId_; } + // required .NetGameInfo gameInfo = 6; public static final int GAMEINFO_FIELD_NUMBER = 6; private de.pokerth.protocol.ProtoBuf.NetGameInfo gameInfo_; /** @@ -10742,6 +10537,7 @@ public final class ProtoBuf { return gameInfo_; } + // repeated uint32 spectatorIds = 7 [packed = true]; public static final int SPECTATORIDS_FIELD_NUMBER = 7; private java.util.List spectatorIds_; /** @@ -10777,8 +10573,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -10840,7 +10635,6 @@ public final class ProtoBuf { for (int i = 0; i < spectatorIds_.size(); i++) { output.writeUInt32NoTag(spectatorIds_.get(i)); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -10897,7 +10691,6 @@ public final class ProtoBuf { } spectatorIdsMemoizedSerializedSize = dataSize; } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -10975,9 +10768,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.GameListNewMessage, Builder> - implements - // @@protoc_insertion_point(builder_implements:GameListNewMessage) - de.pokerth.protocol.ProtoBuf.GameListNewMessageOrBuilder { + implements de.pokerth.protocol.ProtoBuf.GameListNewMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.GameListNewMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -11099,8 +10890,6 @@ public final class ProtoBuf { } } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -11151,6 +10940,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -11183,6 +10973,7 @@ public final class ProtoBuf { return this; } + // required .NetGameMode gameMode = 2; private de.pokerth.protocol.ProtoBuf.NetGameMode gameMode_ = de.pokerth.protocol.ProtoBuf.NetGameMode.netGameCreated; /** * required .NetGameMode gameMode = 2; @@ -11218,6 +11009,7 @@ public final class ProtoBuf { return this; } + // required bool isPrivate = 3; private boolean isPrivate_ ; /** * required bool isPrivate = 3; @@ -11250,6 +11042,7 @@ public final class ProtoBuf { return this; } + // repeated uint32 playerIds = 4 [packed = true]; private java.util.List playerIds_ = java.util.Collections.emptyList(); private void ensurePlayerIdsIsMutable() { if (!((bitField0_ & 0x00000008) == 0x00000008)) { @@ -11301,8 +11094,7 @@ public final class ProtoBuf { public Builder addAllPlayerIds( java.lang.Iterable values) { ensurePlayerIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, playerIds_); + super.addAll(values, playerIds_); return this; } @@ -11316,6 +11108,7 @@ public final class ProtoBuf { return this; } + // required uint32 adminPlayerId = 5; private int adminPlayerId_ ; /** * required uint32 adminPlayerId = 5; @@ -11348,6 +11141,7 @@ public final class ProtoBuf { return this; } + // required .NetGameInfo gameInfo = 6; private de.pokerth.protocol.ProtoBuf.NetGameInfo gameInfo_ = de.pokerth.protocol.ProtoBuf.NetGameInfo.getDefaultInstance(); /** * required .NetGameInfo gameInfo = 6; @@ -11408,6 +11202,7 @@ public final class ProtoBuf { return this; } + // repeated uint32 spectatorIds = 7 [packed = true]; private java.util.List spectatorIds_ = java.util.Collections.emptyList(); private void ensureSpectatorIdsIsMutable() { if (!((bitField0_ & 0x00000040) == 0x00000040)) { @@ -11459,8 +11254,7 @@ public final class ProtoBuf { public Builder addAllSpectatorIds( java.lang.Iterable values) { ensureSpectatorIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, spectatorIds_); + super.addAll(values, spectatorIds_); return this; } @@ -11485,10 +11279,10 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:GameListNewMessage) } - public interface GameListUpdateMessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:GameListUpdateMessage) - com.google.protobuf.MessageLiteOrBuilder { + public interface GameListUpdateMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -11498,6 +11292,7 @@ public final class ProtoBuf { */ int getGameId(); + // required .NetGameMode gameMode = 2; /** * required .NetGameMode gameMode = 2; */ @@ -11511,15 +11306,14 @@ public final class ProtoBuf { * Protobuf type {@code GameListUpdateMessage} */ public static final class GameListUpdateMessage extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:GameListUpdateMessage) - GameListUpdateMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements GameListUpdateMessageOrBuilder { // Use GameListUpdateMessage.newBuilder() to construct. private GameListUpdateMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private GameListUpdateMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private GameListUpdateMessage(boolean noInit) {} private static final GameListUpdateMessage defaultInstance; public static GameListUpdateMessage getDefaultInstance() { @@ -11530,18 +11324,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private GameListUpdateMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -11551,7 +11339,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -11565,10 +11353,7 @@ public final class ProtoBuf { case 16: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.NetGameMode value = de.pokerth.protocol.ProtoBuf.NetGameMode.valueOf(rawValue); - if (value == null) { - unknownFieldsCodedOutput.writeRawVarint32(tag); - unknownFieldsCodedOutput.writeRawVarint32(rawValue); - } else { + if (value != null) { bitField0_ |= 0x00000002; gameMode_ = value; } @@ -11582,13 +11367,6 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -11608,6 +11386,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -11623,6 +11402,7 @@ public final class ProtoBuf { return gameId_; } + // required .NetGameMode gameMode = 2; public static final int GAMEMODE_FIELD_NUMBER = 2; private de.pokerth.protocol.ProtoBuf.NetGameMode gameMode_; /** @@ -11645,8 +11425,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -11669,7 +11448,6 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeEnum(2, gameMode_.getNumber()); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -11686,7 +11464,6 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, gameMode_.getNumber()); } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -11764,9 +11541,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.GameListUpdateMessage, Builder> - implements - // @@protoc_insertion_point(builder_implements:GameListUpdateMessage) - de.pokerth.protocol.ProtoBuf.GameListUpdateMessageOrBuilder { + implements de.pokerth.protocol.ProtoBuf.GameListUpdateMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.GameListUpdateMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -11827,8 +11602,6 @@ public final class ProtoBuf { if (other.hasGameMode()) { setGameMode(other.getGameMode()); } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -11863,6 +11636,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -11895,6 +11669,7 @@ public final class ProtoBuf { return this; } + // required .NetGameMode gameMode = 2; private de.pokerth.protocol.ProtoBuf.NetGameMode gameMode_ = de.pokerth.protocol.ProtoBuf.NetGameMode.netGameCreated; /** * required .NetGameMode gameMode = 2; @@ -11941,10 +11716,10 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:GameListUpdateMessage) } - public interface GameListPlayerJoinedMessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:GameListPlayerJoinedMessage) - com.google.protobuf.MessageLiteOrBuilder { + public interface GameListPlayerJoinedMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -11954,6 +11729,7 @@ public final class ProtoBuf { */ int getGameId(); + // required uint32 playerId = 2; /** * required uint32 playerId = 2; */ @@ -11967,15 +11743,14 @@ public final class ProtoBuf { * Protobuf type {@code GameListPlayerJoinedMessage} */ public static final class GameListPlayerJoinedMessage extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:GameListPlayerJoinedMessage) - GameListPlayerJoinedMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements GameListPlayerJoinedMessageOrBuilder { // Use GameListPlayerJoinedMessage.newBuilder() to construct. private GameListPlayerJoinedMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private GameListPlayerJoinedMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private GameListPlayerJoinedMessage(boolean noInit) {} private static final GameListPlayerJoinedMessage defaultInstance; public static GameListPlayerJoinedMessage getDefaultInstance() { @@ -11986,18 +11761,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private GameListPlayerJoinedMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -12007,7 +11776,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -12031,13 +11800,6 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -12057,6 +11819,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -12072,6 +11835,7 @@ public final class ProtoBuf { return gameId_; } + // required uint32 playerId = 2; public static final int PLAYERID_FIELD_NUMBER = 2; private int playerId_; /** @@ -12094,8 +11858,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -12118,7 +11881,6 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt32(2, playerId_); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -12135,7 +11897,6 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, playerId_); } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -12213,9 +11974,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage, Builder> - implements - // @@protoc_insertion_point(builder_implements:GameListPlayerJoinedMessage) - de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessageOrBuilder { + implements de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -12276,8 +12035,6 @@ public final class ProtoBuf { if (other.hasPlayerId()) { setPlayerId(other.getPlayerId()); } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -12312,6 +12069,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -12344,6 +12102,7 @@ public final class ProtoBuf { return this; } + // required uint32 playerId = 2; private int playerId_ ; /** * required uint32 playerId = 2; @@ -12387,10 +12146,10 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:GameListPlayerJoinedMessage) } - public interface GameListPlayerLeftMessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:GameListPlayerLeftMessage) - com.google.protobuf.MessageLiteOrBuilder { + public interface GameListPlayerLeftMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -12400,6 +12159,7 @@ public final class ProtoBuf { */ int getGameId(); + // required uint32 playerId = 2; /** * required uint32 playerId = 2; */ @@ -12413,15 +12173,14 @@ public final class ProtoBuf { * Protobuf type {@code GameListPlayerLeftMessage} */ public static final class GameListPlayerLeftMessage extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:GameListPlayerLeftMessage) - GameListPlayerLeftMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements GameListPlayerLeftMessageOrBuilder { // Use GameListPlayerLeftMessage.newBuilder() to construct. private GameListPlayerLeftMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private GameListPlayerLeftMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private GameListPlayerLeftMessage(boolean noInit) {} private static final GameListPlayerLeftMessage defaultInstance; public static GameListPlayerLeftMessage getDefaultInstance() { @@ -12432,18 +12191,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private GameListPlayerLeftMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -12453,7 +12206,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -12477,13 +12230,6 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -12503,6 +12249,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -12518,6 +12265,7 @@ public final class ProtoBuf { return gameId_; } + // required uint32 playerId = 2; public static final int PLAYERID_FIELD_NUMBER = 2; private int playerId_; /** @@ -12540,8 +12288,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -12564,7 +12311,6 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt32(2, playerId_); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -12581,7 +12327,6 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, playerId_); } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -12659,9 +12404,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage, Builder> - implements - // @@protoc_insertion_point(builder_implements:GameListPlayerLeftMessage) - de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessageOrBuilder { + implements de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -12722,8 +12465,6 @@ public final class ProtoBuf { if (other.hasPlayerId()) { setPlayerId(other.getPlayerId()); } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -12758,6 +12499,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -12790,6 +12532,7 @@ public final class ProtoBuf { return this; } + // required uint32 playerId = 2; private int playerId_ ; /** * required uint32 playerId = 2; @@ -12833,10 +12576,10 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:GameListPlayerLeftMessage) } - public interface GameListSpectatorJoinedMessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:GameListSpectatorJoinedMessage) - com.google.protobuf.MessageLiteOrBuilder { + public interface GameListSpectatorJoinedMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -12846,6 +12589,7 @@ public final class ProtoBuf { */ int getGameId(); + // required uint32 playerId = 2; /** * required uint32 playerId = 2; */ @@ -12859,15 +12603,14 @@ public final class ProtoBuf { * Protobuf type {@code GameListSpectatorJoinedMessage} */ public static final class GameListSpectatorJoinedMessage extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:GameListSpectatorJoinedMessage) - GameListSpectatorJoinedMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements GameListSpectatorJoinedMessageOrBuilder { // Use GameListSpectatorJoinedMessage.newBuilder() to construct. private GameListSpectatorJoinedMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private GameListSpectatorJoinedMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private GameListSpectatorJoinedMessage(boolean noInit) {} private static final GameListSpectatorJoinedMessage defaultInstance; public static GameListSpectatorJoinedMessage getDefaultInstance() { @@ -12878,18 +12621,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private GameListSpectatorJoinedMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -12899,7 +12636,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -12923,13 +12660,6 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -12949,6 +12679,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -12964,6 +12695,7 @@ public final class ProtoBuf { return gameId_; } + // required uint32 playerId = 2; public static final int PLAYERID_FIELD_NUMBER = 2; private int playerId_; /** @@ -12986,8 +12718,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -13010,7 +12741,6 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt32(2, playerId_); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -13027,7 +12757,6 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, playerId_); } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -13105,9 +12834,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage, Builder> - implements - // @@protoc_insertion_point(builder_implements:GameListSpectatorJoinedMessage) - de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessageOrBuilder { + implements de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -13168,8 +12895,6 @@ public final class ProtoBuf { if (other.hasPlayerId()) { setPlayerId(other.getPlayerId()); } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -13204,6 +12929,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -13236,6 +12962,7 @@ public final class ProtoBuf { return this; } + // required uint32 playerId = 2; private int playerId_ ; /** * required uint32 playerId = 2; @@ -13279,10 +13006,10 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:GameListSpectatorJoinedMessage) } - public interface GameListSpectatorLeftMessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:GameListSpectatorLeftMessage) - com.google.protobuf.MessageLiteOrBuilder { + public interface GameListSpectatorLeftMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -13292,6 +13019,7 @@ public final class ProtoBuf { */ int getGameId(); + // required uint32 playerId = 2; /** * required uint32 playerId = 2; */ @@ -13305,15 +13033,14 @@ public final class ProtoBuf { * Protobuf type {@code GameListSpectatorLeftMessage} */ public static final class GameListSpectatorLeftMessage extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:GameListSpectatorLeftMessage) - GameListSpectatorLeftMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements GameListSpectatorLeftMessageOrBuilder { // Use GameListSpectatorLeftMessage.newBuilder() to construct. private GameListSpectatorLeftMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private GameListSpectatorLeftMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private GameListSpectatorLeftMessage(boolean noInit) {} private static final GameListSpectatorLeftMessage defaultInstance; public static GameListSpectatorLeftMessage getDefaultInstance() { @@ -13324,18 +13051,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private GameListSpectatorLeftMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -13345,7 +13066,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -13369,13 +13090,6 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -13395,6 +13109,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -13410,6 +13125,7 @@ public final class ProtoBuf { return gameId_; } + // required uint32 playerId = 2; public static final int PLAYERID_FIELD_NUMBER = 2; private int playerId_; /** @@ -13432,8 +13148,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -13456,7 +13171,6 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt32(2, playerId_); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -13473,7 +13187,6 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, playerId_); } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -13551,9 +13264,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage, Builder> - implements - // @@protoc_insertion_point(builder_implements:GameListSpectatorLeftMessage) - de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessageOrBuilder { + implements de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -13614,8 +13325,6 @@ public final class ProtoBuf { if (other.hasPlayerId()) { setPlayerId(other.getPlayerId()); } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -13650,6 +13359,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -13682,6 +13392,7 @@ public final class ProtoBuf { return this; } + // required uint32 playerId = 2; private int playerId_ ; /** * required uint32 playerId = 2; @@ -13725,10 +13436,10 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:GameListSpectatorLeftMessage) } - public interface GameListAdminChangedMessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:GameListAdminChangedMessage) - com.google.protobuf.MessageLiteOrBuilder { + public interface GameListAdminChangedMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -13738,6 +13449,7 @@ public final class ProtoBuf { */ int getGameId(); + // required uint32 newAdminPlayerId = 2; /** * required uint32 newAdminPlayerId = 2; */ @@ -13751,15 +13463,14 @@ public final class ProtoBuf { * Protobuf type {@code GameListAdminChangedMessage} */ public static final class GameListAdminChangedMessage extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:GameListAdminChangedMessage) - GameListAdminChangedMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements GameListAdminChangedMessageOrBuilder { // Use GameListAdminChangedMessage.newBuilder() to construct. private GameListAdminChangedMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private GameListAdminChangedMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private GameListAdminChangedMessage(boolean noInit) {} private static final GameListAdminChangedMessage defaultInstance; public static GameListAdminChangedMessage getDefaultInstance() { @@ -13770,18 +13481,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private GameListAdminChangedMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -13791,7 +13496,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -13815,13 +13520,6 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -13841,6 +13539,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -13856,6 +13555,7 @@ public final class ProtoBuf { return gameId_; } + // required uint32 newAdminPlayerId = 2; public static final int NEWADMINPLAYERID_FIELD_NUMBER = 2; private int newAdminPlayerId_; /** @@ -13878,8 +13578,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -13902,7 +13601,6 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt32(2, newAdminPlayerId_); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -13919,7 +13617,6 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, newAdminPlayerId_); } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -13997,9 +13694,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage, Builder> - implements - // @@protoc_insertion_point(builder_implements:GameListAdminChangedMessage) - de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessageOrBuilder { + implements de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -14060,8 +13755,6 @@ public final class ProtoBuf { if (other.hasNewAdminPlayerId()) { setNewAdminPlayerId(other.getNewAdminPlayerId()); } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -14096,6 +13789,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -14128,6 +13822,7 @@ public final class ProtoBuf { return this; } + // required uint32 newAdminPlayerId = 2; private int newAdminPlayerId_ ; /** * required uint32 newAdminPlayerId = 2; @@ -14171,10 +13866,10 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:GameListAdminChangedMessage) } - public interface PlayerInfoRequestMessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:PlayerInfoRequestMessage) - com.google.protobuf.MessageLiteOrBuilder { + public interface PlayerInfoRequestMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // repeated uint32 playerId = 1 [packed = true]; /** * repeated uint32 playerId = 1 [packed = true]; */ @@ -14192,15 +13887,14 @@ public final class ProtoBuf { * Protobuf type {@code PlayerInfoRequestMessage} */ public static final class PlayerInfoRequestMessage extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:PlayerInfoRequestMessage) - PlayerInfoRequestMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements PlayerInfoRequestMessageOrBuilder { // Use PlayerInfoRequestMessage.newBuilder() to construct. private PlayerInfoRequestMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private PlayerInfoRequestMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private PlayerInfoRequestMessage(boolean noInit) {} private static final PlayerInfoRequestMessage defaultInstance; public static PlayerInfoRequestMessage getDefaultInstance() { @@ -14211,18 +13905,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private PlayerInfoRequestMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -14232,7 +13920,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -14270,13 +13958,6 @@ public final class ProtoBuf { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { playerId_ = java.util.Collections.unmodifiableList(playerId_); } - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -14295,6 +13976,7 @@ public final class ProtoBuf { return PARSER; } + // repeated uint32 playerId = 1 [packed = true]; public static final int PLAYERID_FIELD_NUMBER = 1; private java.util.List playerId_; /** @@ -14324,8 +14006,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; memoizedIsInitialized = 1; return true; @@ -14341,7 +14022,6 @@ public final class ProtoBuf { for (int i = 0; i < playerId_.size(); i++) { output.writeUInt32NoTag(playerId_.get(i)); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -14364,7 +14044,6 @@ public final class ProtoBuf { } playerIdMemoizedSerializedSize = dataSize; } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -14442,9 +14121,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage, Builder> - implements - // @@protoc_insertion_point(builder_implements:PlayerInfoRequestMessage) - de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessageOrBuilder { + implements de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -14502,8 +14179,6 @@ public final class ProtoBuf { } } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -14530,6 +14205,7 @@ public final class ProtoBuf { } private int bitField0_; + // repeated uint32 playerId = 1 [packed = true]; private java.util.List playerId_ = java.util.Collections.emptyList(); private void ensurePlayerIdIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { @@ -14581,8 +14257,7 @@ public final class ProtoBuf { public Builder addAllPlayerId( java.lang.Iterable values) { ensurePlayerIdIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, playerId_); + super.addAll(values, playerId_); return this; } @@ -14607,10 +14282,10 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:PlayerInfoRequestMessage) } - public interface PlayerInfoReplyMessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:PlayerInfoReplyMessage) - com.google.protobuf.MessageLiteOrBuilder { + public interface PlayerInfoReplyMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // required uint32 playerId = 1; /** * required uint32 playerId = 1; */ @@ -14620,6 +14295,7 @@ public final class ProtoBuf { */ int getPlayerId(); + // optional .PlayerInfoReplyMessage.PlayerInfoData playerInfoData = 2; /** * optional .PlayerInfoReplyMessage.PlayerInfoData playerInfoData = 2; */ @@ -14633,15 +14309,14 @@ public final class ProtoBuf { * Protobuf type {@code PlayerInfoReplyMessage} */ public static final class PlayerInfoReplyMessage extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:PlayerInfoReplyMessage) - PlayerInfoReplyMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements PlayerInfoReplyMessageOrBuilder { // Use PlayerInfoReplyMessage.newBuilder() to construct. private PlayerInfoReplyMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private PlayerInfoReplyMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private PlayerInfoReplyMessage(boolean noInit) {} private static final PlayerInfoReplyMessage defaultInstance; public static PlayerInfoReplyMessage getDefaultInstance() { @@ -14652,18 +14327,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private PlayerInfoReplyMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -14673,7 +14342,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -14705,13 +14374,6 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -14730,10 +14392,10 @@ public final class ProtoBuf { return PARSER; } - public interface PlayerInfoDataOrBuilder extends - // @@protoc_insertion_point(interface_extends:PlayerInfoReplyMessage.PlayerInfoData) - com.google.protobuf.MessageLiteOrBuilder { + public interface PlayerInfoDataOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // required string playerName = 1; /** * required string playerName = 1; */ @@ -14748,6 +14410,7 @@ public final class ProtoBuf { com.google.protobuf.ByteString getPlayerNameBytes(); + // required bool isHuman = 2; /** * required bool isHuman = 2; */ @@ -14757,6 +14420,7 @@ public final class ProtoBuf { */ boolean getIsHuman(); + // required .NetPlayerInfoRights playerRights = 3; /** * required .NetPlayerInfoRights playerRights = 3; */ @@ -14766,6 +14430,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.NetPlayerInfoRights getPlayerRights(); + // optional string countryCode = 4; /** * optional string countryCode = 4; */ @@ -14780,6 +14445,7 @@ public final class ProtoBuf { com.google.protobuf.ByteString getCountryCodeBytes(); + // optional .PlayerInfoReplyMessage.PlayerInfoData.AvatarData avatarData = 5; /** * optional .PlayerInfoReplyMessage.PlayerInfoData.AvatarData avatarData = 5; */ @@ -14793,15 +14459,14 @@ public final class ProtoBuf { * Protobuf type {@code PlayerInfoReplyMessage.PlayerInfoData} */ public static final class PlayerInfoData extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:PlayerInfoReplyMessage.PlayerInfoData) - PlayerInfoDataOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements PlayerInfoDataOrBuilder { // Use PlayerInfoData.newBuilder() to construct. private PlayerInfoData(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private PlayerInfoData(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private PlayerInfoData(boolean noInit) {} private static final PlayerInfoData defaultInstance; public static PlayerInfoData getDefaultInstance() { @@ -14812,18 +14477,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private PlayerInfoData( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -14833,16 +14492,15 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } break; } case 10: { - com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; - playerName_ = bs; + playerName_ = input.readBytes(); break; } case 16: { @@ -14853,19 +14511,15 @@ public final class ProtoBuf { case 24: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.NetPlayerInfoRights value = de.pokerth.protocol.ProtoBuf.NetPlayerInfoRights.valueOf(rawValue); - if (value == null) { - unknownFieldsCodedOutput.writeRawVarint32(tag); - unknownFieldsCodedOutput.writeRawVarint32(rawValue); - } else { + if (value != null) { bitField0_ |= 0x00000004; playerRights_ = value; } break; } case 34: { - com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000008; - countryCode_ = bs; + countryCode_ = input.readBytes(); break; } case 42: { @@ -14889,13 +14543,6 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -14914,10 +14561,10 @@ public final class ProtoBuf { return PARSER; } - public interface AvatarDataOrBuilder extends - // @@protoc_insertion_point(interface_extends:PlayerInfoReplyMessage.PlayerInfoData.AvatarData) - com.google.protobuf.MessageLiteOrBuilder { + public interface AvatarDataOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // required .NetAvatarType avatarType = 1; /** * required .NetAvatarType avatarType = 1; */ @@ -14927,6 +14574,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.NetAvatarType getAvatarType(); + // required bytes avatarHash = 2; /** * required bytes avatarHash = 2; */ @@ -14940,15 +14588,14 @@ public final class ProtoBuf { * Protobuf type {@code PlayerInfoReplyMessage.PlayerInfoData.AvatarData} */ public static final class AvatarData extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:PlayerInfoReplyMessage.PlayerInfoData.AvatarData) - AvatarDataOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements AvatarDataOrBuilder { // Use AvatarData.newBuilder() to construct. private AvatarData(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private AvatarData(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private AvatarData(boolean noInit) {} private static final AvatarData defaultInstance; public static AvatarData getDefaultInstance() { @@ -14959,18 +14606,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private AvatarData( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -14980,7 +14621,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -14989,10 +14630,7 @@ public final class ProtoBuf { case 8: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.NetAvatarType value = de.pokerth.protocol.ProtoBuf.NetAvatarType.valueOf(rawValue); - if (value == null) { - unknownFieldsCodedOutput.writeRawVarint32(tag); - unknownFieldsCodedOutput.writeRawVarint32(rawValue); - } else { + if (value != null) { bitField0_ |= 0x00000001; avatarType_ = value; } @@ -15011,13 +14649,6 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -15037,6 +14668,7 @@ public final class ProtoBuf { } private int bitField0_; + // required .NetAvatarType avatarType = 1; public static final int AVATARTYPE_FIELD_NUMBER = 1; private de.pokerth.protocol.ProtoBuf.NetAvatarType avatarType_; /** @@ -15052,6 +14684,7 @@ public final class ProtoBuf { return avatarType_; } + // required bytes avatarHash = 2; public static final int AVATARHASH_FIELD_NUMBER = 2; private com.google.protobuf.ByteString avatarHash_; /** @@ -15074,8 +14707,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasAvatarType()) { memoizedIsInitialized = 0; @@ -15098,7 +14730,6 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, avatarHash_); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -15115,7 +14746,6 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, avatarHash_); } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -15193,9 +14823,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData, Builder> - implements - // @@protoc_insertion_point(builder_implements:PlayerInfoReplyMessage.PlayerInfoData.AvatarData) - de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarDataOrBuilder { + implements de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarDataOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -15256,8 +14884,6 @@ public final class ProtoBuf { if (other.hasAvatarHash()) { setAvatarHash(other.getAvatarHash()); } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -15292,6 +14918,7 @@ public final class ProtoBuf { } private int bitField0_; + // required .NetAvatarType avatarType = 1; private de.pokerth.protocol.ProtoBuf.NetAvatarType avatarType_ = de.pokerth.protocol.ProtoBuf.NetAvatarType.netAvatarImagePng; /** * required .NetAvatarType avatarType = 1; @@ -15327,6 +14954,7 @@ public final class ProtoBuf { return this; } + // required bytes avatarHash = 2; private com.google.protobuf.ByteString avatarHash_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes avatarHash = 2; @@ -15374,6 +15002,7 @@ public final class ProtoBuf { } private int bitField0_; + // required string playerName = 1; public static final int PLAYERNAME_FIELD_NUMBER = 1; private java.lang.Object playerName_; /** @@ -15416,6 +15045,7 @@ public final class ProtoBuf { } } + // required bool isHuman = 2; public static final int ISHUMAN_FIELD_NUMBER = 2; private boolean isHuman_; /** @@ -15431,6 +15061,7 @@ public final class ProtoBuf { return isHuman_; } + // required .NetPlayerInfoRights playerRights = 3; public static final int PLAYERRIGHTS_FIELD_NUMBER = 3; private de.pokerth.protocol.ProtoBuf.NetPlayerInfoRights playerRights_; /** @@ -15446,6 +15077,7 @@ public final class ProtoBuf { return playerRights_; } + // optional string countryCode = 4; public static final int COUNTRYCODE_FIELD_NUMBER = 4; private java.lang.Object countryCode_; /** @@ -15488,6 +15120,7 @@ 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_; /** @@ -15513,8 +15146,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasPlayerName()) { memoizedIsInitialized = 0; @@ -15556,7 +15188,6 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeMessage(5, avatarData_); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -15585,7 +15216,6 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, avatarData_); } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -15663,9 +15293,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData, Builder> - implements - // @@protoc_insertion_point(builder_implements:PlayerInfoReplyMessage.PlayerInfoData) - de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoDataOrBuilder { + implements de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoDataOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -15757,8 +15385,6 @@ public final class ProtoBuf { if (other.hasAvatarData()) { mergeAvatarData(other.getAvatarData()); } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -15803,6 +15429,7 @@ public final class ProtoBuf { } private int bitField0_; + // required string playerName = 1; private java.lang.Object playerName_ = ""; /** * required string playerName = 1; @@ -15816,12 +15443,9 @@ public final class ProtoBuf { public java.lang.String getPlayerName() { java.lang.Object ref = playerName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - playerName_ = s; - } + java.lang.String s = ((com.google.protobuf.ByteString) ref) + .toStringUtf8(); + playerName_ = s; return s; } else { return (java.lang.String) ref; @@ -15879,6 +15503,7 @@ public final class ProtoBuf { return this; } + // required bool isHuman = 2; private boolean isHuman_ ; /** * required bool isHuman = 2; @@ -15911,6 +15536,7 @@ public final class ProtoBuf { return this; } + // required .NetPlayerInfoRights playerRights = 3; private de.pokerth.protocol.ProtoBuf.NetPlayerInfoRights playerRights_ = de.pokerth.protocol.ProtoBuf.NetPlayerInfoRights.netPlayerRightsGuest; /** * required .NetPlayerInfoRights playerRights = 3; @@ -15946,6 +15572,7 @@ public final class ProtoBuf { return this; } + // optional string countryCode = 4; private java.lang.Object countryCode_ = ""; /** * optional string countryCode = 4; @@ -15959,12 +15586,9 @@ public final class ProtoBuf { public java.lang.String getCountryCode() { java.lang.Object ref = countryCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - countryCode_ = s; - } + java.lang.String s = ((com.google.protobuf.ByteString) ref) + .toStringUtf8(); + countryCode_ = s; return s; } else { return (java.lang.String) ref; @@ -16022,6 +15646,7 @@ public final class ProtoBuf { return this; } + // optional .PlayerInfoReplyMessage.PlayerInfoData.AvatarData avatarData = 5; private de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData avatarData_ = de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData.getDefaultInstance(); /** * optional .PlayerInfoReplyMessage.PlayerInfoData.AvatarData avatarData = 5; @@ -16094,6 +15719,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 playerId = 1; public static final int PLAYERID_FIELD_NUMBER = 1; private int playerId_; /** @@ -16109,6 +15735,7 @@ public final class ProtoBuf { return playerId_; } + // optional .PlayerInfoReplyMessage.PlayerInfoData playerInfoData = 2; public static final int PLAYERINFODATA_FIELD_NUMBER = 2; private de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData playerInfoData_; /** @@ -16131,8 +15758,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasPlayerId()) { memoizedIsInitialized = 0; @@ -16157,7 +15783,6 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeMessage(2, playerInfoData_); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -16174,7 +15799,6 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, playerInfoData_); } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -16252,9 +15876,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage, Builder> - implements - // @@protoc_insertion_point(builder_implements:PlayerInfoReplyMessage) - de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessageOrBuilder { + implements de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -16315,8 +15937,6 @@ public final class ProtoBuf { if (other.hasPlayerInfoData()) { mergePlayerInfoData(other.getPlayerInfoData()); } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -16353,6 +15973,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 playerId = 1; private int playerId_ ; /** * required uint32 playerId = 1; @@ -16385,6 +16006,7 @@ public final class ProtoBuf { return this; } + // optional .PlayerInfoReplyMessage.PlayerInfoData playerInfoData = 2; private de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData playerInfoData_ = de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.getDefaultInstance(); /** * optional .PlayerInfoReplyMessage.PlayerInfoData playerInfoData = 2; @@ -16456,10 +16078,10 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:PlayerInfoReplyMessage) } - public interface SubscriptionRequestMessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:SubscriptionRequestMessage) - com.google.protobuf.MessageLiteOrBuilder { + public interface SubscriptionRequestMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // required .SubscriptionRequestMessage.SubscriptionAction subscriptionAction = 1; /** * required .SubscriptionRequestMessage.SubscriptionAction subscriptionAction = 1; */ @@ -16478,15 +16100,14 @@ public final class ProtoBuf { * */ public static final class SubscriptionRequestMessage extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:SubscriptionRequestMessage) - SubscriptionRequestMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements SubscriptionRequestMessageOrBuilder { // Use SubscriptionRequestMessage.newBuilder() to construct. private SubscriptionRequestMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private SubscriptionRequestMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private SubscriptionRequestMessage(boolean noInit) {} private static final SubscriptionRequestMessage defaultInstance; public static SubscriptionRequestMessage getDefaultInstance() { @@ -16497,18 +16118,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private SubscriptionRequestMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -16518,7 +16133,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -16527,10 +16142,7 @@ public final class ProtoBuf { case 8: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.SubscriptionAction value = de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.SubscriptionAction.valueOf(rawValue); - if (value == null) { - unknownFieldsCodedOutput.writeRawVarint32(tag); - unknownFieldsCodedOutput.writeRawVarint32(rawValue); - } else { + if (value != null) { bitField0_ |= 0x00000001; subscriptionAction_ = value; } @@ -16544,13 +16156,6 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -16626,6 +16231,7 @@ 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_; /** @@ -16647,8 +16253,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasSubscriptionAction()) { memoizedIsInitialized = 0; @@ -16664,7 +16269,6 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeEnum(1, subscriptionAction_.getNumber()); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -16677,7 +16281,6 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, subscriptionAction_.getNumber()); } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -16760,9 +16363,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage, Builder> - implements - // @@protoc_insertion_point(builder_implements:SubscriptionRequestMessage) - de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessageOrBuilder { + implements de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -16814,8 +16415,6 @@ public final class ProtoBuf { if (other.hasSubscriptionAction()) { setSubscriptionAction(other.getSubscriptionAction()); } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -16846,6 +16445,7 @@ 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; /** * required .SubscriptionRequestMessage.SubscriptionAction subscriptionAction = 1; @@ -16892,10 +16492,10 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:SubscriptionRequestMessage) } - public interface JoinExistingGameMessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:JoinExistingGameMessage) - com.google.protobuf.MessageLiteOrBuilder { + public interface JoinExistingGameMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -16905,6 +16505,7 @@ public final class ProtoBuf { */ int getGameId(); + // optional string password = 2; /** * optional string password = 2; */ @@ -16919,6 +16520,7 @@ public final class ProtoBuf { com.google.protobuf.ByteString getPasswordBytes(); + // optional bool autoLeave = 3 [default = false]; /** * optional bool autoLeave = 3 [default = false]; */ @@ -16928,6 +16530,7 @@ public final class ProtoBuf { */ boolean getAutoLeave(); + // optional bool spectateOnly = 4 [default = false]; /** * optional bool spectateOnly = 4 [default = false]; */ @@ -16941,15 +16544,14 @@ public final class ProtoBuf { * Protobuf type {@code JoinExistingGameMessage} */ public static final class JoinExistingGameMessage extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:JoinExistingGameMessage) - JoinExistingGameMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements JoinExistingGameMessageOrBuilder { // Use JoinExistingGameMessage.newBuilder() to construct. private JoinExistingGameMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private JoinExistingGameMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private JoinExistingGameMessage(boolean noInit) {} private static final JoinExistingGameMessage defaultInstance; public static JoinExistingGameMessage getDefaultInstance() { @@ -16960,18 +16562,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private JoinExistingGameMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -16981,7 +16577,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -16993,9 +16589,8 @@ public final class ProtoBuf { break; } case 18: { - com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; - password_ = bs; + password_ = input.readBytes(); break; } case 24: { @@ -17016,13 +16611,6 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -17042,6 +16630,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -17057,6 +16646,7 @@ public final class ProtoBuf { return gameId_; } + // optional string password = 2; public static final int PASSWORD_FIELD_NUMBER = 2; private java.lang.Object password_; /** @@ -17099,6 +16689,7 @@ public final class ProtoBuf { } } + // optional bool autoLeave = 3 [default = false]; public static final int AUTOLEAVE_FIELD_NUMBER = 3; private boolean autoLeave_; /** @@ -17114,6 +16705,7 @@ public final class ProtoBuf { return autoLeave_; } + // optional bool spectateOnly = 4 [default = false]; public static final int SPECTATEONLY_FIELD_NUMBER = 4; private boolean spectateOnly_; /** @@ -17138,8 +16730,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -17164,7 +16755,6 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeBool(4, spectateOnly_); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -17189,7 +16779,6 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeBoolSize(4, spectateOnly_); } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -17267,9 +16856,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage, Builder> - implements - // @@protoc_insertion_point(builder_implements:JoinExistingGameMessage) - de.pokerth.protocol.ProtoBuf.JoinExistingGameMessageOrBuilder { + implements de.pokerth.protocol.ProtoBuf.JoinExistingGameMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -17350,8 +16937,6 @@ public final class ProtoBuf { if (other.hasSpectateOnly()) { setSpectateOnly(other.getSpectateOnly()); } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -17382,6 +16967,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -17414,6 +17000,7 @@ public final class ProtoBuf { return this; } + // optional string password = 2; private java.lang.Object password_ = ""; /** * optional string password = 2; @@ -17427,12 +17014,9 @@ public final class ProtoBuf { public java.lang.String getPassword() { java.lang.Object ref = password_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - password_ = s; - } + java.lang.String s = ((com.google.protobuf.ByteString) ref) + .toStringUtf8(); + password_ = s; return s; } else { return (java.lang.String) ref; @@ -17490,6 +17074,7 @@ public final class ProtoBuf { return this; } + // optional bool autoLeave = 3 [default = false]; private boolean autoLeave_ ; /** * optional bool autoLeave = 3 [default = false]; @@ -17522,6 +17107,7 @@ public final class ProtoBuf { return this; } + // optional bool spectateOnly = 4 [default = false]; private boolean spectateOnly_ ; /** * optional bool spectateOnly = 4 [default = false]; @@ -17565,10 +17151,10 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:JoinExistingGameMessage) } - public interface JoinNewGameMessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:JoinNewGameMessage) - com.google.protobuf.MessageLiteOrBuilder { + public interface JoinNewGameMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // required .NetGameInfo gameInfo = 1; /** * required .NetGameInfo gameInfo = 1; */ @@ -17578,6 +17164,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.NetGameInfo getGameInfo(); + // optional string password = 2; /** * optional string password = 2; */ @@ -17592,6 +17179,7 @@ public final class ProtoBuf { com.google.protobuf.ByteString getPasswordBytes(); + // optional bool autoLeave = 3; /** * optional bool autoLeave = 3; */ @@ -17605,15 +17193,14 @@ public final class ProtoBuf { * Protobuf type {@code JoinNewGameMessage} */ public static final class JoinNewGameMessage extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:JoinNewGameMessage) - JoinNewGameMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements JoinNewGameMessageOrBuilder { // Use JoinNewGameMessage.newBuilder() to construct. private JoinNewGameMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private JoinNewGameMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private JoinNewGameMessage(boolean noInit) {} private static final JoinNewGameMessage defaultInstance; public static JoinNewGameMessage getDefaultInstance() { @@ -17624,18 +17211,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private JoinNewGameMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -17645,7 +17226,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -17665,9 +17246,8 @@ public final class ProtoBuf { break; } case 18: { - com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; - password_ = bs; + password_ = input.readBytes(); break; } case 24: { @@ -17683,13 +17263,6 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -17709,6 +17282,7 @@ public final class ProtoBuf { } private int bitField0_; + // required .NetGameInfo gameInfo = 1; public static final int GAMEINFO_FIELD_NUMBER = 1; private de.pokerth.protocol.ProtoBuf.NetGameInfo gameInfo_; /** @@ -17724,6 +17298,7 @@ public final class ProtoBuf { return gameInfo_; } + // optional string password = 2; public static final int PASSWORD_FIELD_NUMBER = 2; private java.lang.Object password_; /** @@ -17766,6 +17341,7 @@ public final class ProtoBuf { } } + // optional bool autoLeave = 3; public static final int AUTOLEAVE_FIELD_NUMBER = 3; private boolean autoLeave_; /** @@ -17789,8 +17365,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasGameInfo()) { memoizedIsInitialized = 0; @@ -17816,7 +17391,6 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBool(3, autoLeave_); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -17837,7 +17411,6 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, autoLeave_); } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -17915,9 +17488,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.JoinNewGameMessage, Builder> - implements - // @@protoc_insertion_point(builder_implements:JoinNewGameMessage) - de.pokerth.protocol.ProtoBuf.JoinNewGameMessageOrBuilder { + implements de.pokerth.protocol.ProtoBuf.JoinNewGameMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.JoinNewGameMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -17989,8 +17560,6 @@ public final class ProtoBuf { if (other.hasAutoLeave()) { setAutoLeave(other.getAutoLeave()); } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -18025,6 +17594,7 @@ public final class ProtoBuf { } private int bitField0_; + // required .NetGameInfo gameInfo = 1; private de.pokerth.protocol.ProtoBuf.NetGameInfo gameInfo_ = de.pokerth.protocol.ProtoBuf.NetGameInfo.getDefaultInstance(); /** * required .NetGameInfo gameInfo = 1; @@ -18085,6 +17655,7 @@ public final class ProtoBuf { return this; } + // optional string password = 2; private java.lang.Object password_ = ""; /** * optional string password = 2; @@ -18098,12 +17669,9 @@ public final class ProtoBuf { public java.lang.String getPassword() { java.lang.Object ref = password_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - password_ = s; - } + java.lang.String s = ((com.google.protobuf.ByteString) ref) + .toStringUtf8(); + password_ = s; return s; } else { return (java.lang.String) ref; @@ -18161,6 +17729,7 @@ public final class ProtoBuf { return this; } + // optional bool autoLeave = 3; private boolean autoLeave_ ; /** * optional bool autoLeave = 3; @@ -18204,10 +17773,10 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:JoinNewGameMessage) } - public interface RejoinExistingGameMessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:RejoinExistingGameMessage) - com.google.protobuf.MessageLiteOrBuilder { + public interface RejoinExistingGameMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -18217,6 +17786,7 @@ public final class ProtoBuf { */ int getGameId(); + // optional bool autoLeave = 2; /** * optional bool autoLeave = 2; */ @@ -18230,15 +17800,14 @@ public final class ProtoBuf { * Protobuf type {@code RejoinExistingGameMessage} */ public static final class RejoinExistingGameMessage extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:RejoinExistingGameMessage) - RejoinExistingGameMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements RejoinExistingGameMessageOrBuilder { // Use RejoinExistingGameMessage.newBuilder() to construct. private RejoinExistingGameMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private RejoinExistingGameMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private RejoinExistingGameMessage(boolean noInit) {} private static final RejoinExistingGameMessage defaultInstance; public static RejoinExistingGameMessage getDefaultInstance() { @@ -18249,18 +17818,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private RejoinExistingGameMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -18270,7 +17833,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -18294,13 +17857,6 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -18320,6 +17876,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -18335,6 +17892,7 @@ public final class ProtoBuf { return gameId_; } + // optional bool autoLeave = 2; public static final int AUTOLEAVE_FIELD_NUMBER = 2; private boolean autoLeave_; /** @@ -18357,8 +17915,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -18377,7 +17934,6 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBool(2, autoLeave_); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -18394,7 +17950,6 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeBoolSize(2, autoLeave_); } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -18472,9 +18027,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage, Builder> - implements - // @@protoc_insertion_point(builder_implements:RejoinExistingGameMessage) - de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessageOrBuilder { + implements de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -18535,8 +18088,6 @@ public final class ProtoBuf { if (other.hasAutoLeave()) { setAutoLeave(other.getAutoLeave()); } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -18567,6 +18118,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -18599,6 +18151,7 @@ public final class ProtoBuf { return this; } + // optional bool autoLeave = 2; private boolean autoLeave_ ; /** * optional bool autoLeave = 2; @@ -18642,10 +18195,10 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:RejoinExistingGameMessage) } - public interface JoinGameAckMessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:JoinGameAckMessage) - com.google.protobuf.MessageLiteOrBuilder { + public interface JoinGameAckMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -18655,6 +18208,7 @@ public final class ProtoBuf { */ int getGameId(); + // required bool areYouGameAdmin = 2; /** * required bool areYouGameAdmin = 2; */ @@ -18664,6 +18218,7 @@ public final class ProtoBuf { */ boolean getAreYouGameAdmin(); + // required .NetGameInfo gameInfo = 3; /** * required .NetGameInfo gameInfo = 3; */ @@ -18673,6 +18228,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.NetGameInfo getGameInfo(); + // optional bool spectateOnly = 4; /** * optional bool spectateOnly = 4; */ @@ -18686,15 +18242,14 @@ public final class ProtoBuf { * Protobuf type {@code JoinGameAckMessage} */ public static final class JoinGameAckMessage extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:JoinGameAckMessage) - JoinGameAckMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements JoinGameAckMessageOrBuilder { // Use JoinGameAckMessage.newBuilder() to construct. private JoinGameAckMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private JoinGameAckMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private JoinGameAckMessage(boolean noInit) {} private static final JoinGameAckMessage defaultInstance; public static JoinGameAckMessage getDefaultInstance() { @@ -18705,18 +18260,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private JoinGameAckMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -18726,7 +18275,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -18768,13 +18317,6 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -18794,6 +18336,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -18809,6 +18352,7 @@ public final class ProtoBuf { return gameId_; } + // required bool areYouGameAdmin = 2; public static final int AREYOUGAMEADMIN_FIELD_NUMBER = 2; private boolean areYouGameAdmin_; /** @@ -18824,6 +18368,7 @@ public final class ProtoBuf { return areYouGameAdmin_; } + // required .NetGameInfo gameInfo = 3; public static final int GAMEINFO_FIELD_NUMBER = 3; private de.pokerth.protocol.ProtoBuf.NetGameInfo gameInfo_; /** @@ -18839,6 +18384,7 @@ public final class ProtoBuf { return gameInfo_; } + // optional bool spectateOnly = 4; public static final int SPECTATEONLY_FIELD_NUMBER = 4; private boolean spectateOnly_; /** @@ -18863,8 +18409,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -18901,7 +18446,6 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeBool(4, spectateOnly_); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -18926,7 +18470,6 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeBoolSize(4, spectateOnly_); } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -19004,9 +18547,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.JoinGameAckMessage, Builder> - implements - // @@protoc_insertion_point(builder_implements:JoinGameAckMessage) - de.pokerth.protocol.ProtoBuf.JoinGameAckMessageOrBuilder { + implements de.pokerth.protocol.ProtoBuf.JoinGameAckMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.JoinGameAckMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -19085,8 +18626,6 @@ public final class ProtoBuf { if (other.hasSpectateOnly()) { setSpectateOnly(other.getSpectateOnly()); } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -19129,6 +18668,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -19161,6 +18701,7 @@ public final class ProtoBuf { return this; } + // required bool areYouGameAdmin = 2; private boolean areYouGameAdmin_ ; /** * required bool areYouGameAdmin = 2; @@ -19193,6 +18734,7 @@ public final class ProtoBuf { return this; } + // required .NetGameInfo gameInfo = 3; private de.pokerth.protocol.ProtoBuf.NetGameInfo gameInfo_ = de.pokerth.protocol.ProtoBuf.NetGameInfo.getDefaultInstance(); /** * required .NetGameInfo gameInfo = 3; @@ -19253,6 +18795,7 @@ public final class ProtoBuf { return this; } + // optional bool spectateOnly = 4; private boolean spectateOnly_ ; /** * optional bool spectateOnly = 4; @@ -19296,10 +18839,10 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:JoinGameAckMessage) } - public interface JoinGameFailedMessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:JoinGameFailedMessage) - com.google.protobuf.MessageLiteOrBuilder { + public interface JoinGameFailedMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -19309,6 +18852,7 @@ public final class ProtoBuf { */ int getGameId(); + // required .JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason = 2; /** * required .JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason = 2; */ @@ -19322,15 +18866,14 @@ public final class ProtoBuf { * Protobuf type {@code JoinGameFailedMessage} */ public static final class JoinGameFailedMessage extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:JoinGameFailedMessage) - JoinGameFailedMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements JoinGameFailedMessageOrBuilder { // Use JoinGameFailedMessage.newBuilder() to construct. private JoinGameFailedMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private JoinGameFailedMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private JoinGameFailedMessage(boolean noInit) {} private static final JoinGameFailedMessage defaultInstance; public static JoinGameFailedMessage getDefaultInstance() { @@ -19341,18 +18884,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private JoinGameFailedMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -19362,7 +18899,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -19376,10 +18913,7 @@ public final class ProtoBuf { case 16: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.JoinGameFailureReason value = de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.JoinGameFailureReason.valueOf(rawValue); - if (value == null) { - unknownFieldsCodedOutput.writeRawVarint32(tag); - unknownFieldsCodedOutput.writeRawVarint32(rawValue); - } else { + if (value != null) { bitField0_ |= 0x00000002; joinGameFailureReason_ = value; } @@ -19393,13 +18927,6 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -19565,6 +19092,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -19580,6 +19108,7 @@ public final class ProtoBuf { return gameId_; } + // required .JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason = 2; public static final int JOINGAMEFAILUREREASON_FIELD_NUMBER = 2; private de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason_; /** @@ -19602,8 +19131,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -19626,7 +19154,6 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeEnum(2, joinGameFailureReason_.getNumber()); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -19643,7 +19170,6 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, joinGameFailureReason_.getNumber()); } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -19721,9 +19247,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage, Builder> - implements - // @@protoc_insertion_point(builder_implements:JoinGameFailedMessage) - de.pokerth.protocol.ProtoBuf.JoinGameFailedMessageOrBuilder { + implements de.pokerth.protocol.ProtoBuf.JoinGameFailedMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -19784,8 +19308,6 @@ public final class ProtoBuf { if (other.hasJoinGameFailureReason()) { setJoinGameFailureReason(other.getJoinGameFailureReason()); } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -19820,6 +19342,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -19852,6 +19375,7 @@ public final class ProtoBuf { return this; } + // required .JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason = 2; private de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason_ = de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.JoinGameFailureReason.invalidGame; /** * required .JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason = 2; @@ -19898,10 +19422,10 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:JoinGameFailedMessage) } - public interface GamePlayerJoinedMessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:GamePlayerJoinedMessage) - com.google.protobuf.MessageLiteOrBuilder { + public interface GamePlayerJoinedMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -19911,6 +19435,7 @@ public final class ProtoBuf { */ int getGameId(); + // required uint32 playerId = 2; /** * required uint32 playerId = 2; */ @@ -19920,6 +19445,7 @@ public final class ProtoBuf { */ int getPlayerId(); + // required bool isGameAdmin = 3; /** * required bool isGameAdmin = 3; */ @@ -19933,15 +19459,14 @@ public final class ProtoBuf { * Protobuf type {@code GamePlayerJoinedMessage} */ public static final class GamePlayerJoinedMessage extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:GamePlayerJoinedMessage) - GamePlayerJoinedMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements GamePlayerJoinedMessageOrBuilder { // Use GamePlayerJoinedMessage.newBuilder() to construct. private GamePlayerJoinedMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private GamePlayerJoinedMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private GamePlayerJoinedMessage(boolean noInit) {} private static final GamePlayerJoinedMessage defaultInstance; public static GamePlayerJoinedMessage getDefaultInstance() { @@ -19952,18 +19477,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private GamePlayerJoinedMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -19973,7 +19492,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -20002,13 +19521,6 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -20028,6 +19540,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -20043,6 +19556,7 @@ public final class ProtoBuf { return gameId_; } + // required uint32 playerId = 2; public static final int PLAYERID_FIELD_NUMBER = 2; private int playerId_; /** @@ -20058,6 +19572,7 @@ public final class ProtoBuf { return playerId_; } + // required bool isGameAdmin = 3; public static final int ISGAMEADMIN_FIELD_NUMBER = 3; private boolean isGameAdmin_; /** @@ -20081,8 +19596,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -20112,7 +19626,6 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBool(3, isGameAdmin_); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -20133,7 +19646,6 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, isGameAdmin_); } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -20211,9 +19723,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage, Builder> - implements - // @@protoc_insertion_point(builder_implements:GamePlayerJoinedMessage) - de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessageOrBuilder { + implements de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -20283,8 +19793,6 @@ public final class ProtoBuf { if (other.hasIsGameAdmin()) { setIsGameAdmin(other.getIsGameAdmin()); } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -20323,6 +19831,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -20355,6 +19864,7 @@ public final class ProtoBuf { return this; } + // required uint32 playerId = 2; private int playerId_ ; /** * required uint32 playerId = 2; @@ -20387,6 +19897,7 @@ public final class ProtoBuf { return this; } + // required bool isGameAdmin = 3; private boolean isGameAdmin_ ; /** * required bool isGameAdmin = 3; @@ -20430,10 +19941,10 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:GamePlayerJoinedMessage) } - public interface GamePlayerLeftMessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:GamePlayerLeftMessage) - com.google.protobuf.MessageLiteOrBuilder { + public interface GamePlayerLeftMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -20443,6 +19954,7 @@ public final class ProtoBuf { */ int getGameId(); + // required uint32 playerId = 2; /** * required uint32 playerId = 2; */ @@ -20452,6 +19964,7 @@ public final class ProtoBuf { */ int getPlayerId(); + // required .GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason = 3; /** * required .GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason = 3; */ @@ -20465,15 +19978,14 @@ public final class ProtoBuf { * Protobuf type {@code GamePlayerLeftMessage} */ public static final class GamePlayerLeftMessage extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:GamePlayerLeftMessage) - GamePlayerLeftMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements GamePlayerLeftMessageOrBuilder { // Use GamePlayerLeftMessage.newBuilder() to construct. private GamePlayerLeftMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private GamePlayerLeftMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private GamePlayerLeftMessage(boolean noInit) {} private static final GamePlayerLeftMessage defaultInstance; public static GamePlayerLeftMessage getDefaultInstance() { @@ -20484,18 +19996,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private GamePlayerLeftMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -20505,7 +20011,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -20524,10 +20030,7 @@ public final class ProtoBuf { case 24: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason value = de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason.valueOf(rawValue); - if (value == null) { - unknownFieldsCodedOutput.writeRawVarint32(tag); - unknownFieldsCodedOutput.writeRawVarint32(rawValue); - } else { + if (value != null) { bitField0_ |= 0x00000004; gamePlayerLeftReason_ = value; } @@ -20541,13 +20044,6 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -20632,6 +20128,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -20647,6 +20144,7 @@ public final class ProtoBuf { return gameId_; } + // required uint32 playerId = 2; public static final int PLAYERID_FIELD_NUMBER = 2; private int playerId_; /** @@ -20662,6 +20160,7 @@ public final class ProtoBuf { return playerId_; } + // required .GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason = 3; public static final int GAMEPLAYERLEFTREASON_FIELD_NUMBER = 3; private de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason_; /** @@ -20685,8 +20184,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -20716,7 +20214,6 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeEnum(3, gamePlayerLeftReason_.getNumber()); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -20737,7 +20234,6 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeEnumSize(3, gamePlayerLeftReason_.getNumber()); } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -20815,9 +20311,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage, Builder> - implements - // @@protoc_insertion_point(builder_implements:GamePlayerLeftMessage) - de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessageOrBuilder { + implements de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -20887,8 +20381,6 @@ public final class ProtoBuf { if (other.hasGamePlayerLeftReason()) { setGamePlayerLeftReason(other.getGamePlayerLeftReason()); } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -20927,6 +20419,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -20959,6 +20452,7 @@ public final class ProtoBuf { return this; } + // required uint32 playerId = 2; private int playerId_ ; /** * required uint32 playerId = 2; @@ -20991,6 +20485,7 @@ public final class ProtoBuf { return this; } + // required .GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason = 3; private de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason_ = de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason.leftOnRequest; /** * required .GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason = 3; @@ -21037,10 +20532,10 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:GamePlayerLeftMessage) } - public interface GameSpectatorJoinedMessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:GameSpectatorJoinedMessage) - com.google.protobuf.MessageLiteOrBuilder { + public interface GameSpectatorJoinedMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -21050,6 +20545,7 @@ public final class ProtoBuf { */ int getGameId(); + // required uint32 playerId = 2; /** * required uint32 playerId = 2; */ @@ -21063,15 +20559,14 @@ public final class ProtoBuf { * Protobuf type {@code GameSpectatorJoinedMessage} */ public static final class GameSpectatorJoinedMessage extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:GameSpectatorJoinedMessage) - GameSpectatorJoinedMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements GameSpectatorJoinedMessageOrBuilder { // Use GameSpectatorJoinedMessage.newBuilder() to construct. private GameSpectatorJoinedMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private GameSpectatorJoinedMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private GameSpectatorJoinedMessage(boolean noInit) {} private static final GameSpectatorJoinedMessage defaultInstance; public static GameSpectatorJoinedMessage getDefaultInstance() { @@ -21082,18 +20577,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private GameSpectatorJoinedMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -21103,7 +20592,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -21127,13 +20616,6 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -21153,6 +20635,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -21168,6 +20651,7 @@ public final class ProtoBuf { return gameId_; } + // required uint32 playerId = 2; public static final int PLAYERID_FIELD_NUMBER = 2; private int playerId_; /** @@ -21190,8 +20674,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -21214,7 +20697,6 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt32(2, playerId_); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -21231,7 +20713,6 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, playerId_); } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -21309,9 +20790,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage, Builder> - implements - // @@protoc_insertion_point(builder_implements:GameSpectatorJoinedMessage) - de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessageOrBuilder { + implements de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -21372,8 +20851,6 @@ public final class ProtoBuf { if (other.hasPlayerId()) { setPlayerId(other.getPlayerId()); } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -21408,6 +20885,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -21440,6 +20918,7 @@ public final class ProtoBuf { return this; } + // required uint32 playerId = 2; private int playerId_ ; /** * required uint32 playerId = 2; @@ -21483,10 +20962,10 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:GameSpectatorJoinedMessage) } - public interface GameSpectatorLeftMessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:GameSpectatorLeftMessage) - com.google.protobuf.MessageLiteOrBuilder { + public interface GameSpectatorLeftMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -21496,6 +20975,7 @@ public final class ProtoBuf { */ int getGameId(); + // required uint32 playerId = 2; /** * required uint32 playerId = 2; */ @@ -21505,6 +20985,7 @@ public final class ProtoBuf { */ int getPlayerId(); + // required .GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason = 3; /** * required .GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason = 3; */ @@ -21518,15 +20999,14 @@ public final class ProtoBuf { * Protobuf type {@code GameSpectatorLeftMessage} */ public static final class GameSpectatorLeftMessage extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:GameSpectatorLeftMessage) - GameSpectatorLeftMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements GameSpectatorLeftMessageOrBuilder { // Use GameSpectatorLeftMessage.newBuilder() to construct. private GameSpectatorLeftMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private GameSpectatorLeftMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private GameSpectatorLeftMessage(boolean noInit) {} private static final GameSpectatorLeftMessage defaultInstance; public static GameSpectatorLeftMessage getDefaultInstance() { @@ -21537,18 +21017,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private GameSpectatorLeftMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -21558,7 +21032,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -21577,10 +21051,7 @@ public final class ProtoBuf { case 24: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason value = de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason.valueOf(rawValue); - if (value == null) { - unknownFieldsCodedOutput.writeRawVarint32(tag); - unknownFieldsCodedOutput.writeRawVarint32(rawValue); - } else { + if (value != null) { bitField0_ |= 0x00000004; gameSpectatorLeftReason_ = value; } @@ -21594,13 +21065,6 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -21620,6 +21084,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -21635,6 +21100,7 @@ public final class ProtoBuf { return gameId_; } + // required uint32 playerId = 2; public static final int PLAYERID_FIELD_NUMBER = 2; private int playerId_; /** @@ -21650,6 +21116,7 @@ public final class ProtoBuf { return playerId_; } + // required .GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason = 3; public static final int GAMESPECTATORLEFTREASON_FIELD_NUMBER = 3; private de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason_; /** @@ -21673,8 +21140,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -21704,7 +21170,6 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeEnum(3, gameSpectatorLeftReason_.getNumber()); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -21725,7 +21190,6 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeEnumSize(3, gameSpectatorLeftReason_.getNumber()); } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -21803,9 +21267,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage, Builder> - implements - // @@protoc_insertion_point(builder_implements:GameSpectatorLeftMessage) - de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessageOrBuilder { + implements de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -21875,8 +21337,6 @@ public final class ProtoBuf { if (other.hasGameSpectatorLeftReason()) { setGameSpectatorLeftReason(other.getGameSpectatorLeftReason()); } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -21915,6 +21375,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -21947,6 +21408,7 @@ public final class ProtoBuf { return this; } + // required uint32 playerId = 2; private int playerId_ ; /** * required uint32 playerId = 2; @@ -21979,6 +21441,7 @@ public final class ProtoBuf { return this; } + // required .GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason = 3; private de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason_ = de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason.leftOnRequest; /** * required .GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason = 3; @@ -22025,10 +21488,10 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:GameSpectatorLeftMessage) } - public interface GameAdminChangedMessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:GameAdminChangedMessage) - com.google.protobuf.MessageLiteOrBuilder { + public interface GameAdminChangedMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -22038,6 +21501,7 @@ public final class ProtoBuf { */ int getGameId(); + // required uint32 newAdminPlayerId = 2; /** * required uint32 newAdminPlayerId = 2; */ @@ -22051,15 +21515,14 @@ public final class ProtoBuf { * Protobuf type {@code GameAdminChangedMessage} */ public static final class GameAdminChangedMessage extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:GameAdminChangedMessage) - GameAdminChangedMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements GameAdminChangedMessageOrBuilder { // Use GameAdminChangedMessage.newBuilder() to construct. private GameAdminChangedMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private GameAdminChangedMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private GameAdminChangedMessage(boolean noInit) {} private static final GameAdminChangedMessage defaultInstance; public static GameAdminChangedMessage getDefaultInstance() { @@ -22070,18 +21533,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private GameAdminChangedMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -22091,7 +21548,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -22115,13 +21572,6 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -22141,6 +21591,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -22156,6 +21607,7 @@ public final class ProtoBuf { return gameId_; } + // required uint32 newAdminPlayerId = 2; public static final int NEWADMINPLAYERID_FIELD_NUMBER = 2; private int newAdminPlayerId_; /** @@ -22178,8 +21630,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -22202,7 +21653,6 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt32(2, newAdminPlayerId_); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -22219,7 +21669,6 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, newAdminPlayerId_); } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -22297,9 +21746,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage, Builder> - implements - // @@protoc_insertion_point(builder_implements:GameAdminChangedMessage) - de.pokerth.protocol.ProtoBuf.GameAdminChangedMessageOrBuilder { + implements de.pokerth.protocol.ProtoBuf.GameAdminChangedMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -22360,8 +21807,6 @@ public final class ProtoBuf { if (other.hasNewAdminPlayerId()) { setNewAdminPlayerId(other.getNewAdminPlayerId()); } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -22396,6 +21841,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -22428,6 +21874,7 @@ public final class ProtoBuf { return this; } + // required uint32 newAdminPlayerId = 2; private int newAdminPlayerId_ ; /** * required uint32 newAdminPlayerId = 2; @@ -22471,10 +21918,10 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:GameAdminChangedMessage) } - public interface RemovedFromGameMessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:RemovedFromGameMessage) - com.google.protobuf.MessageLiteOrBuilder { + public interface RemovedFromGameMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -22484,6 +21931,7 @@ public final class ProtoBuf { */ int getGameId(); + // required .RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason = 2; /** * required .RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason = 2; */ @@ -22497,15 +21945,14 @@ public final class ProtoBuf { * Protobuf type {@code RemovedFromGameMessage} */ public static final class RemovedFromGameMessage extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:RemovedFromGameMessage) - RemovedFromGameMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements RemovedFromGameMessageOrBuilder { // Use RemovedFromGameMessage.newBuilder() to construct. private RemovedFromGameMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private RemovedFromGameMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private RemovedFromGameMessage(boolean noInit) {} private static final RemovedFromGameMessage defaultInstance; public static RemovedFromGameMessage getDefaultInstance() { @@ -22516,18 +21963,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private RemovedFromGameMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -22537,7 +21978,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -22551,10 +21992,7 @@ public final class ProtoBuf { case 16: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.RemovedFromGameReason value = de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.RemovedFromGameReason.valueOf(rawValue); - if (value == null) { - unknownFieldsCodedOutput.writeRawVarint32(tag); - unknownFieldsCodedOutput.writeRawVarint32(rawValue); - } else { + if (value != null) { bitField0_ |= 0x00000002; removedFromGameReason_ = value; } @@ -22568,13 +22006,6 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -22703,6 +22134,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -22718,6 +22150,7 @@ public final class ProtoBuf { return gameId_; } + // required .RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason = 2; public static final int REMOVEDFROMGAMEREASON_FIELD_NUMBER = 2; private de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason_; /** @@ -22740,8 +22173,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -22764,7 +22196,6 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeEnum(2, removedFromGameReason_.getNumber()); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -22781,7 +22212,6 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, removedFromGameReason_.getNumber()); } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -22859,9 +22289,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage, Builder> - implements - // @@protoc_insertion_point(builder_implements:RemovedFromGameMessage) - de.pokerth.protocol.ProtoBuf.RemovedFromGameMessageOrBuilder { + implements de.pokerth.protocol.ProtoBuf.RemovedFromGameMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -22922,8 +22350,6 @@ public final class ProtoBuf { if (other.hasRemovedFromGameReason()) { setRemovedFromGameReason(other.getRemovedFromGameReason()); } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -22958,6 +22384,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -22990,6 +22417,7 @@ public final class ProtoBuf { return this; } + // required .RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason = 2; private de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason_ = de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.RemovedFromGameReason.removedOnRequest; /** * required .RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason = 2; @@ -23036,10 +22464,10 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:RemovedFromGameMessage) } - public interface KickPlayerRequestMessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:KickPlayerRequestMessage) - com.google.protobuf.MessageLiteOrBuilder { + public interface KickPlayerRequestMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -23049,6 +22477,7 @@ public final class ProtoBuf { */ int getGameId(); + // required uint32 playerId = 2; /** * required uint32 playerId = 2; */ @@ -23062,15 +22491,14 @@ public final class ProtoBuf { * Protobuf type {@code KickPlayerRequestMessage} */ public static final class KickPlayerRequestMessage extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:KickPlayerRequestMessage) - KickPlayerRequestMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements KickPlayerRequestMessageOrBuilder { // Use KickPlayerRequestMessage.newBuilder() to construct. private KickPlayerRequestMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private KickPlayerRequestMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private KickPlayerRequestMessage(boolean noInit) {} private static final KickPlayerRequestMessage defaultInstance; public static KickPlayerRequestMessage getDefaultInstance() { @@ -23081,18 +22509,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private KickPlayerRequestMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -23102,7 +22524,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -23126,13 +22548,6 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -23152,6 +22567,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -23167,6 +22583,7 @@ public final class ProtoBuf { return gameId_; } + // required uint32 playerId = 2; public static final int PLAYERID_FIELD_NUMBER = 2; private int playerId_; /** @@ -23189,8 +22606,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -23213,7 +22629,6 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt32(2, playerId_); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -23230,7 +22645,6 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, playerId_); } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -23308,9 +22722,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage, Builder> - implements - // @@protoc_insertion_point(builder_implements:KickPlayerRequestMessage) - de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessageOrBuilder { + implements de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -23371,8 +22783,6 @@ public final class ProtoBuf { if (other.hasPlayerId()) { setPlayerId(other.getPlayerId()); } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -23407,6 +22817,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -23439,6 +22850,7 @@ public final class ProtoBuf { return this; } + // required uint32 playerId = 2; private int playerId_ ; /** * required uint32 playerId = 2; @@ -23482,10 +22894,10 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:KickPlayerRequestMessage) } - public interface LeaveGameRequestMessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:LeaveGameRequestMessage) - com.google.protobuf.MessageLiteOrBuilder { + public interface LeaveGameRequestMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -23499,15 +22911,14 @@ public final class ProtoBuf { * Protobuf type {@code LeaveGameRequestMessage} */ public static final class LeaveGameRequestMessage extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:LeaveGameRequestMessage) - LeaveGameRequestMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements LeaveGameRequestMessageOrBuilder { // Use LeaveGameRequestMessage.newBuilder() to construct. private LeaveGameRequestMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private LeaveGameRequestMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private LeaveGameRequestMessage(boolean noInit) {} private static final LeaveGameRequestMessage defaultInstance; public static LeaveGameRequestMessage getDefaultInstance() { @@ -23518,18 +22929,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private LeaveGameRequestMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -23539,7 +22944,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -23558,13 +22963,6 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -23584,6 +22982,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -23605,8 +23004,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -23622,7 +23020,6 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeUInt32(1, gameId_); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -23635,7 +23032,6 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, gameId_); } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -23713,9 +23109,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage, Builder> - implements - // @@protoc_insertion_point(builder_implements:LeaveGameRequestMessage) - de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessageOrBuilder { + implements de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -23767,8 +23161,6 @@ public final class ProtoBuf { if (other.hasGameId()) { setGameId(other.getGameId()); } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -23799,6 +23191,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -23842,10 +23235,10 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:LeaveGameRequestMessage) } - public interface InvitePlayerToGameMessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:InvitePlayerToGameMessage) - com.google.protobuf.MessageLiteOrBuilder { + public interface InvitePlayerToGameMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -23855,6 +23248,7 @@ public final class ProtoBuf { */ int getGameId(); + // required uint32 playerId = 2; /** * required uint32 playerId = 2; */ @@ -23868,15 +23262,14 @@ public final class ProtoBuf { * Protobuf type {@code InvitePlayerToGameMessage} */ public static final class InvitePlayerToGameMessage extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:InvitePlayerToGameMessage) - InvitePlayerToGameMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements InvitePlayerToGameMessageOrBuilder { // Use InvitePlayerToGameMessage.newBuilder() to construct. private InvitePlayerToGameMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private InvitePlayerToGameMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private InvitePlayerToGameMessage(boolean noInit) {} private static final InvitePlayerToGameMessage defaultInstance; public static InvitePlayerToGameMessage getDefaultInstance() { @@ -23887,18 +23280,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private InvitePlayerToGameMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -23908,7 +23295,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -23932,13 +23319,6 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -23958,6 +23338,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -23973,6 +23354,7 @@ public final class ProtoBuf { return gameId_; } + // required uint32 playerId = 2; public static final int PLAYERID_FIELD_NUMBER = 2; private int playerId_; /** @@ -23995,8 +23377,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -24019,7 +23400,6 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt32(2, playerId_); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -24036,7 +23416,6 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, playerId_); } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -24114,9 +23493,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage, Builder> - implements - // @@protoc_insertion_point(builder_implements:InvitePlayerToGameMessage) - de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessageOrBuilder { + implements de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -24177,8 +23554,6 @@ public final class ProtoBuf { if (other.hasPlayerId()) { setPlayerId(other.getPlayerId()); } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -24213,6 +23588,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -24245,6 +23621,7 @@ public final class ProtoBuf { return this; } + // required uint32 playerId = 2; private int playerId_ ; /** * required uint32 playerId = 2; @@ -24288,10 +23665,10 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:InvitePlayerToGameMessage) } - public interface InviteNotifyMessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:InviteNotifyMessage) - com.google.protobuf.MessageLiteOrBuilder { + public interface InviteNotifyMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -24301,6 +23678,7 @@ public final class ProtoBuf { */ int getGameId(); + // required uint32 playerIdWho = 2; /** * required uint32 playerIdWho = 2; */ @@ -24310,6 +23688,7 @@ public final class ProtoBuf { */ int getPlayerIdWho(); + // required uint32 playerIdByWhom = 3; /** * required uint32 playerIdByWhom = 3; */ @@ -24323,15 +23702,14 @@ public final class ProtoBuf { * Protobuf type {@code InviteNotifyMessage} */ public static final class InviteNotifyMessage extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:InviteNotifyMessage) - InviteNotifyMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements InviteNotifyMessageOrBuilder { // Use InviteNotifyMessage.newBuilder() to construct. private InviteNotifyMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private InviteNotifyMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private InviteNotifyMessage(boolean noInit) {} private static final InviteNotifyMessage defaultInstance; public static InviteNotifyMessage getDefaultInstance() { @@ -24342,18 +23720,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private InviteNotifyMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -24363,7 +23735,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -24392,13 +23764,6 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -24418,6 +23783,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -24433,6 +23799,7 @@ public final class ProtoBuf { return gameId_; } + // required uint32 playerIdWho = 2; public static final int PLAYERIDWHO_FIELD_NUMBER = 2; private int playerIdWho_; /** @@ -24448,6 +23815,7 @@ public final class ProtoBuf { return playerIdWho_; } + // required uint32 playerIdByWhom = 3; public static final int PLAYERIDBYWHOM_FIELD_NUMBER = 3; private int playerIdByWhom_; /** @@ -24471,8 +23839,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -24502,7 +23869,6 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeUInt32(3, playerIdByWhom_); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -24523,7 +23889,6 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(3, playerIdByWhom_); } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -24601,9 +23966,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.InviteNotifyMessage, Builder> - implements - // @@protoc_insertion_point(builder_implements:InviteNotifyMessage) - de.pokerth.protocol.ProtoBuf.InviteNotifyMessageOrBuilder { + implements de.pokerth.protocol.ProtoBuf.InviteNotifyMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.InviteNotifyMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -24673,8 +24036,6 @@ public final class ProtoBuf { if (other.hasPlayerIdByWhom()) { setPlayerIdByWhom(other.getPlayerIdByWhom()); } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -24713,6 +24074,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -24745,6 +24107,7 @@ public final class ProtoBuf { return this; } + // required uint32 playerIdWho = 2; private int playerIdWho_ ; /** * required uint32 playerIdWho = 2; @@ -24777,6 +24140,7 @@ public final class ProtoBuf { return this; } + // required uint32 playerIdByWhom = 3; private int playerIdByWhom_ ; /** * required uint32 playerIdByWhom = 3; @@ -24820,10 +24184,10 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:InviteNotifyMessage) } - public interface RejectGameInvitationMessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:RejectGameInvitationMessage) - com.google.protobuf.MessageLiteOrBuilder { + public interface RejectGameInvitationMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -24833,6 +24197,7 @@ public final class ProtoBuf { */ int getGameId(); + // required .RejectGameInvitationMessage.RejectGameInvReason myRejectReason = 2; /** * required .RejectGameInvitationMessage.RejectGameInvReason myRejectReason = 2; */ @@ -24846,15 +24211,14 @@ public final class ProtoBuf { * Protobuf type {@code RejectGameInvitationMessage} */ public static final class RejectGameInvitationMessage extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:RejectGameInvitationMessage) - RejectGameInvitationMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements RejectGameInvitationMessageOrBuilder { // Use RejectGameInvitationMessage.newBuilder() to construct. private RejectGameInvitationMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private RejectGameInvitationMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private RejectGameInvitationMessage(boolean noInit) {} private static final RejectGameInvitationMessage defaultInstance; public static RejectGameInvitationMessage getDefaultInstance() { @@ -24865,18 +24229,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private RejectGameInvitationMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -24886,7 +24244,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -24900,10 +24258,7 @@ public final class ProtoBuf { case 16: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason value = de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason.valueOf(rawValue); - if (value == null) { - unknownFieldsCodedOutput.writeRawVarint32(tag); - unknownFieldsCodedOutput.writeRawVarint32(rawValue); - } else { + if (value != null) { bitField0_ |= 0x00000002; myRejectReason_ = value; } @@ -24917,13 +24272,6 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -24999,6 +24347,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -25014,6 +24363,7 @@ public final class ProtoBuf { return gameId_; } + // required .RejectGameInvitationMessage.RejectGameInvReason myRejectReason = 2; public static final int MYREJECTREASON_FIELD_NUMBER = 2; private de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason myRejectReason_; /** @@ -25036,8 +24386,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -25060,7 +24409,6 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeEnum(2, myRejectReason_.getNumber()); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -25077,7 +24425,6 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, myRejectReason_.getNumber()); } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -25155,9 +24502,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage, Builder> - implements - // @@protoc_insertion_point(builder_implements:RejectGameInvitationMessage) - de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessageOrBuilder { + implements de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -25218,8 +24563,6 @@ public final class ProtoBuf { if (other.hasMyRejectReason()) { setMyRejectReason(other.getMyRejectReason()); } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -25254,6 +24597,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -25286,6 +24630,7 @@ public final class ProtoBuf { return this; } + // required .RejectGameInvitationMessage.RejectGameInvReason myRejectReason = 2; private de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason myRejectReason_ = de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason.rejectReasonNo; /** * required .RejectGameInvitationMessage.RejectGameInvReason myRejectReason = 2; @@ -25332,10 +24677,10 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:RejectGameInvitationMessage) } - public interface RejectInvNotifyMessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:RejectInvNotifyMessage) - com.google.protobuf.MessageLiteOrBuilder { + public interface RejectInvNotifyMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -25345,6 +24690,7 @@ public final class ProtoBuf { */ int getGameId(); + // required uint32 playerId = 2; /** * required uint32 playerId = 2; */ @@ -25354,6 +24700,7 @@ public final class ProtoBuf { */ int getPlayerId(); + // required .RejectGameInvitationMessage.RejectGameInvReason playerRejectReason = 3; /** * required .RejectGameInvitationMessage.RejectGameInvReason playerRejectReason = 3; */ @@ -25367,15 +24714,14 @@ public final class ProtoBuf { * Protobuf type {@code RejectInvNotifyMessage} */ public static final class RejectInvNotifyMessage extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:RejectInvNotifyMessage) - RejectInvNotifyMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements RejectInvNotifyMessageOrBuilder { // Use RejectInvNotifyMessage.newBuilder() to construct. private RejectInvNotifyMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private RejectInvNotifyMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private RejectInvNotifyMessage(boolean noInit) {} private static final RejectInvNotifyMessage defaultInstance; public static RejectInvNotifyMessage getDefaultInstance() { @@ -25386,18 +24732,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private RejectInvNotifyMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -25407,7 +24747,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -25426,10 +24766,7 @@ public final class ProtoBuf { case 24: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason value = de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason.valueOf(rawValue); - if (value == null) { - unknownFieldsCodedOutput.writeRawVarint32(tag); - unknownFieldsCodedOutput.writeRawVarint32(rawValue); - } else { + if (value != null) { bitField0_ |= 0x00000004; playerRejectReason_ = value; } @@ -25443,13 +24780,6 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -25469,6 +24799,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -25484,6 +24815,7 @@ public final class ProtoBuf { return gameId_; } + // required uint32 playerId = 2; public static final int PLAYERID_FIELD_NUMBER = 2; private int playerId_; /** @@ -25499,6 +24831,7 @@ public final class ProtoBuf { return playerId_; } + // required .RejectGameInvitationMessage.RejectGameInvReason playerRejectReason = 3; public static final int PLAYERREJECTREASON_FIELD_NUMBER = 3; private de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason playerRejectReason_; /** @@ -25522,8 +24855,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -25553,7 +24885,6 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeEnum(3, playerRejectReason_.getNumber()); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -25574,7 +24905,6 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeEnumSize(3, playerRejectReason_.getNumber()); } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -25652,9 +24982,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage, Builder> - implements - // @@protoc_insertion_point(builder_implements:RejectInvNotifyMessage) - de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessageOrBuilder { + implements de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -25724,8 +25052,6 @@ public final class ProtoBuf { if (other.hasPlayerRejectReason()) { setPlayerRejectReason(other.getPlayerRejectReason()); } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -25764,6 +25090,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -25796,6 +25123,7 @@ public final class ProtoBuf { return this; } + // required uint32 playerId = 2; private int playerId_ ; /** * required uint32 playerId = 2; @@ -25828,6 +25156,7 @@ public final class ProtoBuf { return this; } + // required .RejectGameInvitationMessage.RejectGameInvReason playerRejectReason = 3; private de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason playerRejectReason_ = de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason.rejectReasonNo; /** * required .RejectGameInvitationMessage.RejectGameInvReason playerRejectReason = 3; @@ -25874,10 +25203,10 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:RejectInvNotifyMessage) } - public interface StartEventMessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:StartEventMessage) - com.google.protobuf.MessageLiteOrBuilder { + public interface StartEventMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -25887,6 +25216,7 @@ public final class ProtoBuf { */ int getGameId(); + // required .StartEventMessage.StartEventType startEventType = 2; /** * required .StartEventMessage.StartEventType startEventType = 2; */ @@ -25896,6 +25226,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.StartEventMessage.StartEventType getStartEventType(); + // optional bool fillWithComputerPlayers = 3; /** * optional bool fillWithComputerPlayers = 3; */ @@ -25909,15 +25240,14 @@ public final class ProtoBuf { * Protobuf type {@code StartEventMessage} */ public static final class StartEventMessage extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:StartEventMessage) - StartEventMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements StartEventMessageOrBuilder { // Use StartEventMessage.newBuilder() to construct. private StartEventMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private StartEventMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private StartEventMessage(boolean noInit) {} private static final StartEventMessage defaultInstance; public static StartEventMessage getDefaultInstance() { @@ -25928,18 +25258,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private StartEventMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -25949,7 +25273,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -25963,10 +25287,7 @@ public final class ProtoBuf { case 16: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.StartEventMessage.StartEventType value = de.pokerth.protocol.ProtoBuf.StartEventMessage.StartEventType.valueOf(rawValue); - if (value == null) { - unknownFieldsCodedOutput.writeRawVarint32(tag); - unknownFieldsCodedOutput.writeRawVarint32(rawValue); - } else { + if (value != null) { bitField0_ |= 0x00000002; startEventType_ = value; } @@ -25985,13 +25306,6 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -26067,6 +25381,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -26082,6 +25397,7 @@ public final class ProtoBuf { return gameId_; } + // required .StartEventMessage.StartEventType startEventType = 2; public static final int STARTEVENTTYPE_FIELD_NUMBER = 2; private de.pokerth.protocol.ProtoBuf.StartEventMessage.StartEventType startEventType_; /** @@ -26097,6 +25413,7 @@ public final class ProtoBuf { return startEventType_; } + // optional bool fillWithComputerPlayers = 3; public static final int FILLWITHCOMPUTERPLAYERS_FIELD_NUMBER = 3; private boolean fillWithComputerPlayers_; /** @@ -26120,8 +25437,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -26147,7 +25463,6 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBool(3, fillWithComputerPlayers_); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -26168,7 +25483,6 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, fillWithComputerPlayers_); } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -26246,9 +25560,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.StartEventMessage, Builder> - implements - // @@protoc_insertion_point(builder_implements:StartEventMessage) - de.pokerth.protocol.ProtoBuf.StartEventMessageOrBuilder { + implements de.pokerth.protocol.ProtoBuf.StartEventMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.StartEventMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -26318,8 +25630,6 @@ public final class ProtoBuf { if (other.hasFillWithComputerPlayers()) { setFillWithComputerPlayers(other.getFillWithComputerPlayers()); } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -26354,6 +25664,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -26386,6 +25697,7 @@ public final class ProtoBuf { return this; } + // required .StartEventMessage.StartEventType startEventType = 2; private de.pokerth.protocol.ProtoBuf.StartEventMessage.StartEventType startEventType_ = de.pokerth.protocol.ProtoBuf.StartEventMessage.StartEventType.startEvent; /** * required .StartEventMessage.StartEventType startEventType = 2; @@ -26421,6 +25733,7 @@ public final class ProtoBuf { return this; } + // optional bool fillWithComputerPlayers = 3; private boolean fillWithComputerPlayers_ ; /** * optional bool fillWithComputerPlayers = 3; @@ -26464,10 +25777,10 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:StartEventMessage) } - public interface StartEventAckMessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:StartEventAckMessage) - com.google.protobuf.MessageLiteOrBuilder { + public interface StartEventAckMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -26481,15 +25794,14 @@ public final class ProtoBuf { * Protobuf type {@code StartEventAckMessage} */ public static final class StartEventAckMessage extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:StartEventAckMessage) - StartEventAckMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements StartEventAckMessageOrBuilder { // Use StartEventAckMessage.newBuilder() to construct. private StartEventAckMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private StartEventAckMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private StartEventAckMessage(boolean noInit) {} private static final StartEventAckMessage defaultInstance; public static StartEventAckMessage getDefaultInstance() { @@ -26500,18 +25812,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private StartEventAckMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -26521,7 +25827,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -26540,13 +25846,6 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -26566,6 +25865,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -26587,8 +25887,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -26604,7 +25903,6 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeUInt32(1, gameId_); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -26617,7 +25915,6 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, gameId_); } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -26695,9 +25992,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.StartEventAckMessage, Builder> - implements - // @@protoc_insertion_point(builder_implements:StartEventAckMessage) - de.pokerth.protocol.ProtoBuf.StartEventAckMessageOrBuilder { + implements de.pokerth.protocol.ProtoBuf.StartEventAckMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.StartEventAckMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -26749,8 +26044,6 @@ public final class ProtoBuf { if (other.hasGameId()) { setGameId(other.getGameId()); } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -26781,6 +26074,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -26824,10 +26118,10 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:StartEventAckMessage) } - public interface GameStartInitialMessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:GameStartInitialMessage) - com.google.protobuf.MessageLiteOrBuilder { + public interface GameStartInitialMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -26837,6 +26131,7 @@ public final class ProtoBuf { */ int getGameId(); + // required uint32 startDealerPlayerId = 2; /** * required uint32 startDealerPlayerId = 2; */ @@ -26846,6 +26141,7 @@ public final class ProtoBuf { */ int getStartDealerPlayerId(); + // repeated uint32 playerSeats = 3 [packed = true]; /** * repeated uint32 playerSeats = 3 [packed = true]; */ @@ -26863,15 +26159,14 @@ public final class ProtoBuf { * Protobuf type {@code GameStartInitialMessage} */ public static final class GameStartInitialMessage extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:GameStartInitialMessage) - GameStartInitialMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements GameStartInitialMessageOrBuilder { // Use GameStartInitialMessage.newBuilder() to construct. private GameStartInitialMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private GameStartInitialMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private GameStartInitialMessage(boolean noInit) {} private static final GameStartInitialMessage defaultInstance; public static GameStartInitialMessage getDefaultInstance() { @@ -26882,18 +26177,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private GameStartInitialMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -26903,7 +26192,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -26951,13 +26240,6 @@ public final class ProtoBuf { if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) { playerSeats_ = java.util.Collections.unmodifiableList(playerSeats_); } - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -26977,6 +26259,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -26992,6 +26275,7 @@ public final class ProtoBuf { return gameId_; } + // required uint32 startDealerPlayerId = 2; public static final int STARTDEALERPLAYERID_FIELD_NUMBER = 2; private int startDealerPlayerId_; /** @@ -27007,6 +26291,7 @@ public final class ProtoBuf { return startDealerPlayerId_; } + // repeated uint32 playerSeats = 3 [packed = true]; public static final int PLAYERSEATS_FIELD_NUMBER = 3; private java.util.List playerSeats_; /** @@ -27038,8 +26323,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -27069,7 +26353,6 @@ public final class ProtoBuf { for (int i = 0; i < playerSeats_.size(); i++) { output.writeUInt32NoTag(playerSeats_.get(i)); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -27100,7 +26383,6 @@ public final class ProtoBuf { } playerSeatsMemoizedSerializedSize = dataSize; } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -27178,9 +26460,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.GameStartInitialMessage, Builder> - implements - // @@protoc_insertion_point(builder_implements:GameStartInitialMessage) - de.pokerth.protocol.ProtoBuf.GameStartInitialMessageOrBuilder { + implements de.pokerth.protocol.ProtoBuf.GameStartInitialMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.GameStartInitialMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -27258,8 +26538,6 @@ public final class ProtoBuf { } } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -27294,6 +26572,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -27326,6 +26605,7 @@ public final class ProtoBuf { return this; } + // required uint32 startDealerPlayerId = 2; private int startDealerPlayerId_ ; /** * required uint32 startDealerPlayerId = 2; @@ -27358,6 +26638,7 @@ public final class ProtoBuf { return this; } + // repeated uint32 playerSeats = 3 [packed = true]; private java.util.List playerSeats_ = java.util.Collections.emptyList(); private void ensurePlayerSeatsIsMutable() { if (!((bitField0_ & 0x00000004) == 0x00000004)) { @@ -27409,8 +26690,7 @@ public final class ProtoBuf { public Builder addAllPlayerSeats( java.lang.Iterable values) { ensurePlayerSeatsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, playerSeats_); + super.addAll(values, playerSeats_); return this; } @@ -27435,10 +26715,10 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:GameStartInitialMessage) } - public interface GameStartRejoinMessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:GameStartRejoinMessage) - com.google.protobuf.MessageLiteOrBuilder { + public interface GameStartRejoinMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -27448,6 +26728,7 @@ public final class ProtoBuf { */ int getGameId(); + // required uint32 startDealerPlayerId = 2; /** * required uint32 startDealerPlayerId = 2; */ @@ -27457,6 +26738,7 @@ public final class ProtoBuf { */ int getStartDealerPlayerId(); + // required uint32 handNum = 3; /** * required uint32 handNum = 3; */ @@ -27466,6 +26748,7 @@ public final class ProtoBuf { */ int getHandNum(); + // repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; /** * repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; */ @@ -27484,15 +26767,14 @@ public final class ProtoBuf { * Protobuf type {@code GameStartRejoinMessage} */ public static final class GameStartRejoinMessage extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:GameStartRejoinMessage) - GameStartRejoinMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements GameStartRejoinMessageOrBuilder { // Use GameStartRejoinMessage.newBuilder() to construct. private GameStartRejoinMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private GameStartRejoinMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private GameStartRejoinMessage(boolean noInit) {} private static final GameStartRejoinMessage defaultInstance; public static GameStartRejoinMessage getDefaultInstance() { @@ -27503,18 +26785,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private GameStartRejoinMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -27524,7 +26800,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -27564,13 +26840,6 @@ public final class ProtoBuf { if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) { rejoinPlayerData_ = java.util.Collections.unmodifiableList(rejoinPlayerData_); } - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -27589,10 +26858,10 @@ public final class ProtoBuf { return PARSER; } - public interface RejoinPlayerDataOrBuilder extends - // @@protoc_insertion_point(interface_extends:GameStartRejoinMessage.RejoinPlayerData) - com.google.protobuf.MessageLiteOrBuilder { + public interface RejoinPlayerDataOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // required uint32 playerId = 1; /** * required uint32 playerId = 1; */ @@ -27602,6 +26871,7 @@ public final class ProtoBuf { */ int getPlayerId(); + // required uint32 playerMoney = 2; /** * required uint32 playerMoney = 2; */ @@ -27615,15 +26885,14 @@ public final class ProtoBuf { * Protobuf type {@code GameStartRejoinMessage.RejoinPlayerData} */ public static final class RejoinPlayerData extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:GameStartRejoinMessage.RejoinPlayerData) - RejoinPlayerDataOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements RejoinPlayerDataOrBuilder { // Use RejoinPlayerData.newBuilder() to construct. private RejoinPlayerData(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private RejoinPlayerData(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private RejoinPlayerData(boolean noInit) {} private static final RejoinPlayerData defaultInstance; public static RejoinPlayerData getDefaultInstance() { @@ -27634,18 +26903,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private RejoinPlayerData( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -27655,7 +26918,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -27679,13 +26942,6 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -27705,6 +26961,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 playerId = 1; public static final int PLAYERID_FIELD_NUMBER = 1; private int playerId_; /** @@ -27720,6 +26977,7 @@ public final class ProtoBuf { return playerId_; } + // required uint32 playerMoney = 2; public static final int PLAYERMONEY_FIELD_NUMBER = 2; private int playerMoney_; /** @@ -27742,8 +27000,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasPlayerId()) { memoizedIsInitialized = 0; @@ -27766,7 +27023,6 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt32(2, playerMoney_); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -27783,7 +27039,6 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, playerMoney_); } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -27861,9 +27116,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData, Builder> - implements - // @@protoc_insertion_point(builder_implements:GameStartRejoinMessage.RejoinPlayerData) - de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerDataOrBuilder { + implements de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerDataOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -27924,8 +27177,6 @@ public final class ProtoBuf { if (other.hasPlayerMoney()) { setPlayerMoney(other.getPlayerMoney()); } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -27960,6 +27211,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 playerId = 1; private int playerId_ ; /** * required uint32 playerId = 1; @@ -27992,6 +27244,7 @@ public final class ProtoBuf { return this; } + // required uint32 playerMoney = 2; private int playerMoney_ ; /** * required uint32 playerMoney = 2; @@ -28036,6 +27289,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -28051,6 +27305,7 @@ public final class ProtoBuf { return gameId_; } + // required uint32 startDealerPlayerId = 2; public static final int STARTDEALERPLAYERID_FIELD_NUMBER = 2; private int startDealerPlayerId_; /** @@ -28066,6 +27321,7 @@ public final class ProtoBuf { return startDealerPlayerId_; } + // required uint32 handNum = 3; public static final int HANDNUM_FIELD_NUMBER = 3; private int handNum_; /** @@ -28081,6 +27337,7 @@ public final class ProtoBuf { return handNum_; } + // repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; public static final int REJOINPLAYERDATA_FIELD_NUMBER = 4; private java.util.List rejoinPlayerData_; /** @@ -28125,8 +27382,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -28165,7 +27421,6 @@ public final class ProtoBuf { for (int i = 0; i < rejoinPlayerData_.size(); i++) { output.writeMessage(4, rejoinPlayerData_.get(i)); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -28190,7 +27445,6 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, rejoinPlayerData_.get(i)); } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -28268,9 +27522,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage, Builder> - implements - // @@protoc_insertion_point(builder_implements:GameStartRejoinMessage) - de.pokerth.protocol.ProtoBuf.GameStartRejoinMessageOrBuilder { + implements de.pokerth.protocol.ProtoBuf.GameStartRejoinMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -28357,8 +27609,6 @@ public final class ProtoBuf { } } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -28403,6 +27653,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -28435,6 +27686,7 @@ public final class ProtoBuf { return this; } + // required uint32 startDealerPlayerId = 2; private int startDealerPlayerId_ ; /** * required uint32 startDealerPlayerId = 2; @@ -28467,6 +27719,7 @@ public final class ProtoBuf { return this; } + // required uint32 handNum = 3; private int handNum_ ; /** * required uint32 handNum = 3; @@ -28499,6 +27752,7 @@ public final class ProtoBuf { return this; } + // repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; private java.util.List rejoinPlayerData_ = java.util.Collections.emptyList(); private void ensureRejoinPlayerDataIsMutable() { @@ -28600,8 +27854,7 @@ public final class ProtoBuf { public Builder addAllRejoinPlayerData( java.lang.Iterable values) { ensureRejoinPlayerDataIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, rejoinPlayerData_); + super.addAll(values, rejoinPlayerData_); return this; } @@ -28635,10 +27888,10 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:GameStartRejoinMessage) } - public interface HandStartMessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:HandStartMessage) - com.google.protobuf.MessageLiteOrBuilder { + public interface HandStartMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -28648,6 +27901,7 @@ public final class ProtoBuf { */ int getGameId(); + // optional .HandStartMessage.PlainCards plainCards = 2; /** * optional .HandStartMessage.PlainCards plainCards = 2; */ @@ -28657,6 +27911,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards getPlainCards(); + // optional bytes encryptedCards = 3; /** * optional bytes encryptedCards = 3; */ @@ -28666,6 +27921,7 @@ public final class ProtoBuf { */ com.google.protobuf.ByteString getEncryptedCards(); + // required uint32 smallBlind = 4; /** * required uint32 smallBlind = 4; */ @@ -28675,6 +27931,7 @@ public final class ProtoBuf { */ int getSmallBlind(); + // repeated .NetPlayerState seatStates = 5; /** * repeated .NetPlayerState seatStates = 5; */ @@ -28688,6 +27945,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.NetPlayerState getSeatStates(int index); + // optional uint32 dealerPlayerId = 6; /** * optional uint32 dealerPlayerId = 6; */ @@ -28701,15 +27959,14 @@ public final class ProtoBuf { * Protobuf type {@code HandStartMessage} */ public static final class HandStartMessage extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:HandStartMessage) - HandStartMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements HandStartMessageOrBuilder { // Use HandStartMessage.newBuilder() to construct. private HandStartMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private HandStartMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private HandStartMessage(boolean noInit) {} private static final HandStartMessage defaultInstance; public static HandStartMessage getDefaultInstance() { @@ -28720,18 +27977,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private HandStartMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -28741,7 +27992,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -28778,10 +28029,7 @@ public final class ProtoBuf { case 40: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.NetPlayerState value = de.pokerth.protocol.ProtoBuf.NetPlayerState.valueOf(rawValue); - if (value == null) { - unknownFieldsCodedOutput.writeRawVarint32(tag); - unknownFieldsCodedOutput.writeRawVarint32(rawValue); - } else { + if (value != null) { if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) { seatStates_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000010; @@ -28796,10 +28044,7 @@ public final class ProtoBuf { while(input.getBytesUntilLimit() > 0) { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.NetPlayerState value = de.pokerth.protocol.ProtoBuf.NetPlayerState.valueOf(rawValue); - if (value == null) { - unknownFieldsCodedOutput.writeRawVarint32(tag); - unknownFieldsCodedOutput.writeRawVarint32(rawValue); - } else { + if (value != null) { if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) { seatStates_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000010; @@ -28826,13 +28071,6 @@ public final class ProtoBuf { if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) { seatStates_ = java.util.Collections.unmodifiableList(seatStates_); } - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -28851,10 +28089,10 @@ public final class ProtoBuf { return PARSER; } - public interface PlainCardsOrBuilder extends - // @@protoc_insertion_point(interface_extends:HandStartMessage.PlainCards) - com.google.protobuf.MessageLiteOrBuilder { + public interface PlainCardsOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // required uint32 plainCard1 = 1; /** * required uint32 plainCard1 = 1; */ @@ -28864,6 +28102,7 @@ public final class ProtoBuf { */ int getPlainCard1(); + // required uint32 plainCard2 = 2; /** * required uint32 plainCard2 = 2; */ @@ -28877,15 +28116,14 @@ public final class ProtoBuf { * Protobuf type {@code HandStartMessage.PlainCards} */ public static final class PlainCards extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:HandStartMessage.PlainCards) - PlainCardsOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements PlainCardsOrBuilder { // Use PlainCards.newBuilder() to construct. private PlainCards(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private PlainCards(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private PlainCards(boolean noInit) {} private static final PlainCards defaultInstance; public static PlainCards getDefaultInstance() { @@ -28896,18 +28134,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private PlainCards( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -28917,7 +28149,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -28941,13 +28173,6 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -28967,6 +28192,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 plainCard1 = 1; public static final int PLAINCARD1_FIELD_NUMBER = 1; private int plainCard1_; /** @@ -28982,6 +28208,7 @@ public final class ProtoBuf { return plainCard1_; } + // required uint32 plainCard2 = 2; public static final int PLAINCARD2_FIELD_NUMBER = 2; private int plainCard2_; /** @@ -29004,8 +28231,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasPlainCard1()) { memoizedIsInitialized = 0; @@ -29028,7 +28254,6 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt32(2, plainCard2_); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -29045,7 +28270,6 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, plainCard2_); } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -29123,9 +28347,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards, Builder> - implements - // @@protoc_insertion_point(builder_implements:HandStartMessage.PlainCards) - de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCardsOrBuilder { + implements de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCardsOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -29186,8 +28408,6 @@ public final class ProtoBuf { if (other.hasPlainCard2()) { setPlainCard2(other.getPlainCard2()); } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -29222,6 +28442,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 plainCard1 = 1; private int plainCard1_ ; /** * required uint32 plainCard1 = 1; @@ -29254,6 +28475,7 @@ public final class ProtoBuf { return this; } + // required uint32 plainCard2 = 2; private int plainCard2_ ; /** * required uint32 plainCard2 = 2; @@ -29298,6 +28520,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -29313,6 +28536,7 @@ public final class ProtoBuf { return gameId_; } + // optional .HandStartMessage.PlainCards plainCards = 2; public static final int PLAINCARDS_FIELD_NUMBER = 2; private de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards plainCards_; /** @@ -29328,6 +28552,7 @@ public final class ProtoBuf { return plainCards_; } + // optional bytes encryptedCards = 3; public static final int ENCRYPTEDCARDS_FIELD_NUMBER = 3; private com.google.protobuf.ByteString encryptedCards_; /** @@ -29343,6 +28568,7 @@ public final class ProtoBuf { return encryptedCards_; } + // required uint32 smallBlind = 4; public static final int SMALLBLIND_FIELD_NUMBER = 4; private int smallBlind_; /** @@ -29358,6 +28584,7 @@ public final class ProtoBuf { return smallBlind_; } + // repeated .NetPlayerState seatStates = 5; public static final int SEATSTATES_FIELD_NUMBER = 5; private java.util.List seatStates_; /** @@ -29379,6 +28606,7 @@ public final class ProtoBuf { return seatStates_.get(index); } + // optional uint32 dealerPlayerId = 6; public static final int DEALERPLAYERID_FIELD_NUMBER = 6; private int dealerPlayerId_; /** @@ -29405,8 +28633,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -29447,7 +28674,6 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeUInt32(6, dealerPlayerId_); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -29485,7 +28711,6 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(6, dealerPlayerId_); } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -29563,9 +28788,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.HandStartMessage, Builder> - implements - // @@protoc_insertion_point(builder_implements:HandStartMessage) - de.pokerth.protocol.ProtoBuf.HandStartMessageOrBuilder { + implements de.pokerth.protocol.ProtoBuf.HandStartMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.HandStartMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -29670,8 +28893,6 @@ public final class ProtoBuf { if (other.hasDealerPlayerId()) { setDealerPlayerId(other.getDealerPlayerId()); } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -29712,6 +28933,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -29744,6 +28966,7 @@ public final class ProtoBuf { return this; } + // optional .HandStartMessage.PlainCards plainCards = 2; private de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards plainCards_ = de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards.getDefaultInstance(); /** * optional .HandStartMessage.PlainCards plainCards = 2; @@ -29804,6 +29027,7 @@ public final class ProtoBuf { return this; } + // optional bytes encryptedCards = 3; private com.google.protobuf.ByteString encryptedCards_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes encryptedCards = 3; @@ -29839,6 +29063,7 @@ public final class ProtoBuf { return this; } + // required uint32 smallBlind = 4; private int smallBlind_ ; /** * required uint32 smallBlind = 4; @@ -29871,6 +29096,7 @@ public final class ProtoBuf { return this; } + // repeated .NetPlayerState seatStates = 5; private java.util.List seatStates_ = java.util.Collections.emptyList(); private void ensureSeatStatesIsMutable() { @@ -29928,8 +29154,7 @@ public final class ProtoBuf { public Builder addAllSeatStates( java.lang.Iterable values) { ensureSeatStatesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, seatStates_); + super.addAll(values, seatStates_); return this; } @@ -29943,6 +29168,7 @@ public final class ProtoBuf { return this; } + // optional uint32 dealerPlayerId = 6; private int dealerPlayerId_ ; /** * optional uint32 dealerPlayerId = 6; @@ -29986,10 +29212,10 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:HandStartMessage) } - public interface PlayersTurnMessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:PlayersTurnMessage) - com.google.protobuf.MessageLiteOrBuilder { + public interface PlayersTurnMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -29999,6 +29225,7 @@ public final class ProtoBuf { */ int getGameId(); + // required uint32 playerId = 2; /** * required uint32 playerId = 2; */ @@ -30008,6 +29235,7 @@ public final class ProtoBuf { */ int getPlayerId(); + // required .NetGameState gameState = 3; /** * required .NetGameState gameState = 3; */ @@ -30021,15 +29249,14 @@ public final class ProtoBuf { * Protobuf type {@code PlayersTurnMessage} */ public static final class PlayersTurnMessage extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:PlayersTurnMessage) - PlayersTurnMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements PlayersTurnMessageOrBuilder { // Use PlayersTurnMessage.newBuilder() to construct. private PlayersTurnMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private PlayersTurnMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private PlayersTurnMessage(boolean noInit) {} private static final PlayersTurnMessage defaultInstance; public static PlayersTurnMessage getDefaultInstance() { @@ -30040,18 +29267,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private PlayersTurnMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -30061,7 +29282,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -30080,10 +29301,7 @@ public final class ProtoBuf { case 24: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.NetGameState value = de.pokerth.protocol.ProtoBuf.NetGameState.valueOf(rawValue); - if (value == null) { - unknownFieldsCodedOutput.writeRawVarint32(tag); - unknownFieldsCodedOutput.writeRawVarint32(rawValue); - } else { + if (value != null) { bitField0_ |= 0x00000004; gameState_ = value; } @@ -30097,13 +29315,6 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -30123,6 +29334,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -30138,6 +29350,7 @@ public final class ProtoBuf { return gameId_; } + // required uint32 playerId = 2; public static final int PLAYERID_FIELD_NUMBER = 2; private int playerId_; /** @@ -30153,6 +29366,7 @@ public final class ProtoBuf { return playerId_; } + // required .NetGameState gameState = 3; public static final int GAMESTATE_FIELD_NUMBER = 3; private de.pokerth.protocol.ProtoBuf.NetGameState gameState_; /** @@ -30176,8 +29390,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -30207,7 +29420,6 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeEnum(3, gameState_.getNumber()); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -30228,7 +29440,6 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeEnumSize(3, gameState_.getNumber()); } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -30306,9 +29517,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.PlayersTurnMessage, Builder> - implements - // @@protoc_insertion_point(builder_implements:PlayersTurnMessage) - de.pokerth.protocol.ProtoBuf.PlayersTurnMessageOrBuilder { + implements de.pokerth.protocol.ProtoBuf.PlayersTurnMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.PlayersTurnMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -30378,8 +29587,6 @@ public final class ProtoBuf { if (other.hasGameState()) { setGameState(other.getGameState()); } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -30418,6 +29625,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -30450,6 +29658,7 @@ public final class ProtoBuf { return this; } + // required uint32 playerId = 2; private int playerId_ ; /** * required uint32 playerId = 2; @@ -30482,6 +29691,7 @@ public final class ProtoBuf { return this; } + // required .NetGameState gameState = 3; private de.pokerth.protocol.ProtoBuf.NetGameState gameState_ = de.pokerth.protocol.ProtoBuf.NetGameState.netStatePreflop; /** * required .NetGameState gameState = 3; @@ -30528,10 +29738,10 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:PlayersTurnMessage) } - public interface MyActionRequestMessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:MyActionRequestMessage) - com.google.protobuf.MessageLiteOrBuilder { + public interface MyActionRequestMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -30541,6 +29751,7 @@ public final class ProtoBuf { */ int getGameId(); + // required uint32 handNum = 2; /** * required uint32 handNum = 2; */ @@ -30550,6 +29761,7 @@ public final class ProtoBuf { */ int getHandNum(); + // required .NetGameState gameState = 3; /** * required .NetGameState gameState = 3; */ @@ -30559,6 +29771,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.NetGameState getGameState(); + // required .NetPlayerAction myAction = 4; /** * required .NetPlayerAction myAction = 4; */ @@ -30568,6 +29781,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.NetPlayerAction getMyAction(); + // required uint32 myRelativeBet = 5; /** * required uint32 myRelativeBet = 5; */ @@ -30581,15 +29795,14 @@ public final class ProtoBuf { * Protobuf type {@code MyActionRequestMessage} */ public static final class MyActionRequestMessage extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:MyActionRequestMessage) - MyActionRequestMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements MyActionRequestMessageOrBuilder { // Use MyActionRequestMessage.newBuilder() to construct. private MyActionRequestMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private MyActionRequestMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private MyActionRequestMessage(boolean noInit) {} private static final MyActionRequestMessage defaultInstance; public static MyActionRequestMessage getDefaultInstance() { @@ -30600,18 +29813,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private MyActionRequestMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -30621,7 +29828,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -30640,10 +29847,7 @@ public final class ProtoBuf { case 24: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.NetGameState value = de.pokerth.protocol.ProtoBuf.NetGameState.valueOf(rawValue); - if (value == null) { - unknownFieldsCodedOutput.writeRawVarint32(tag); - unknownFieldsCodedOutput.writeRawVarint32(rawValue); - } else { + if (value != null) { bitField0_ |= 0x00000004; gameState_ = value; } @@ -30652,10 +29856,7 @@ public final class ProtoBuf { case 32: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.NetPlayerAction value = de.pokerth.protocol.ProtoBuf.NetPlayerAction.valueOf(rawValue); - if (value == null) { - unknownFieldsCodedOutput.writeRawVarint32(tag); - unknownFieldsCodedOutput.writeRawVarint32(rawValue); - } else { + if (value != null) { bitField0_ |= 0x00000008; myAction_ = value; } @@ -30674,13 +29875,6 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -30700,6 +29894,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -30715,6 +29910,7 @@ public final class ProtoBuf { return gameId_; } + // required uint32 handNum = 2; public static final int HANDNUM_FIELD_NUMBER = 2; private int handNum_; /** @@ -30730,6 +29926,7 @@ public final class ProtoBuf { return handNum_; } + // required .NetGameState gameState = 3; public static final int GAMESTATE_FIELD_NUMBER = 3; private de.pokerth.protocol.ProtoBuf.NetGameState gameState_; /** @@ -30745,6 +29942,7 @@ public final class ProtoBuf { return gameState_; } + // required .NetPlayerAction myAction = 4; public static final int MYACTION_FIELD_NUMBER = 4; private de.pokerth.protocol.ProtoBuf.NetPlayerAction myAction_; /** @@ -30760,6 +29958,7 @@ public final class ProtoBuf { return myAction_; } + // required uint32 myRelativeBet = 5; public static final int MYRELATIVEBET_FIELD_NUMBER = 5; private int myRelativeBet_; /** @@ -30785,8 +29984,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -30830,7 +30028,6 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeUInt32(5, myRelativeBet_); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -30859,7 +30056,6 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(5, myRelativeBet_); } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -30937,9 +30133,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.MyActionRequestMessage, Builder> - implements - // @@protoc_insertion_point(builder_implements:MyActionRequestMessage) - de.pokerth.protocol.ProtoBuf.MyActionRequestMessageOrBuilder { + implements de.pokerth.protocol.ProtoBuf.MyActionRequestMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.MyActionRequestMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -31027,8 +30221,6 @@ public final class ProtoBuf { if (other.hasMyRelativeBet()) { setMyRelativeBet(other.getMyRelativeBet()); } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -31075,6 +30267,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -31107,6 +30300,7 @@ public final class ProtoBuf { return this; } + // required uint32 handNum = 2; private int handNum_ ; /** * required uint32 handNum = 2; @@ -31139,6 +30333,7 @@ public final class ProtoBuf { return this; } + // required .NetGameState gameState = 3; private de.pokerth.protocol.ProtoBuf.NetGameState gameState_ = de.pokerth.protocol.ProtoBuf.NetGameState.netStatePreflop; /** * required .NetGameState gameState = 3; @@ -31174,6 +30369,7 @@ public final class ProtoBuf { return this; } + // required .NetPlayerAction myAction = 4; private de.pokerth.protocol.ProtoBuf.NetPlayerAction myAction_ = de.pokerth.protocol.ProtoBuf.NetPlayerAction.netActionNone; /** * required .NetPlayerAction myAction = 4; @@ -31209,6 +30405,7 @@ public final class ProtoBuf { return this; } + // required uint32 myRelativeBet = 5; private int myRelativeBet_ ; /** * required uint32 myRelativeBet = 5; @@ -31252,10 +30449,10 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:MyActionRequestMessage) } - public interface YourActionRejectedMessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:YourActionRejectedMessage) - com.google.protobuf.MessageLiteOrBuilder { + public interface YourActionRejectedMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -31265,6 +30462,7 @@ public final class ProtoBuf { */ int getGameId(); + // required .NetGameState gameState = 2; /** * required .NetGameState gameState = 2; */ @@ -31274,6 +30472,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.NetGameState getGameState(); + // required .NetPlayerAction yourAction = 3; /** * required .NetPlayerAction yourAction = 3; */ @@ -31283,6 +30482,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.NetPlayerAction getYourAction(); + // required uint32 yourRelativeBet = 4; /** * required uint32 yourRelativeBet = 4; */ @@ -31292,6 +30492,7 @@ public final class ProtoBuf { */ int getYourRelativeBet(); + // required .YourActionRejectedMessage.RejectionReason rejectionReason = 5; /** * required .YourActionRejectedMessage.RejectionReason rejectionReason = 5; */ @@ -31305,15 +30506,14 @@ public final class ProtoBuf { * Protobuf type {@code YourActionRejectedMessage} */ public static final class YourActionRejectedMessage extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:YourActionRejectedMessage) - YourActionRejectedMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements YourActionRejectedMessageOrBuilder { // Use YourActionRejectedMessage.newBuilder() to construct. private YourActionRejectedMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private YourActionRejectedMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private YourActionRejectedMessage(boolean noInit) {} private static final YourActionRejectedMessage defaultInstance; public static YourActionRejectedMessage getDefaultInstance() { @@ -31324,18 +30524,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private YourActionRejectedMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -31345,7 +30539,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -31359,10 +30553,7 @@ public final class ProtoBuf { case 16: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.NetGameState value = de.pokerth.protocol.ProtoBuf.NetGameState.valueOf(rawValue); - if (value == null) { - unknownFieldsCodedOutput.writeRawVarint32(tag); - unknownFieldsCodedOutput.writeRawVarint32(rawValue); - } else { + if (value != null) { bitField0_ |= 0x00000002; gameState_ = value; } @@ -31371,10 +30562,7 @@ public final class ProtoBuf { case 24: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.NetPlayerAction value = de.pokerth.protocol.ProtoBuf.NetPlayerAction.valueOf(rawValue); - if (value == null) { - unknownFieldsCodedOutput.writeRawVarint32(tag); - unknownFieldsCodedOutput.writeRawVarint32(rawValue); - } else { + if (value != null) { bitField0_ |= 0x00000004; yourAction_ = value; } @@ -31388,10 +30576,7 @@ public final class ProtoBuf { case 40: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.RejectionReason value = de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.RejectionReason.valueOf(rawValue); - if (value == null) { - unknownFieldsCodedOutput.writeRawVarint32(tag); - unknownFieldsCodedOutput.writeRawVarint32(rawValue); - } else { + if (value != null) { bitField0_ |= 0x00000010; rejectionReason_ = value; } @@ -31405,13 +30590,6 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -31496,6 +30674,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -31511,6 +30690,7 @@ public final class ProtoBuf { return gameId_; } + // required .NetGameState gameState = 2; public static final int GAMESTATE_FIELD_NUMBER = 2; private de.pokerth.protocol.ProtoBuf.NetGameState gameState_; /** @@ -31526,6 +30706,7 @@ public final class ProtoBuf { return gameState_; } + // required .NetPlayerAction yourAction = 3; public static final int YOURACTION_FIELD_NUMBER = 3; private de.pokerth.protocol.ProtoBuf.NetPlayerAction yourAction_; /** @@ -31541,6 +30722,7 @@ public final class ProtoBuf { return yourAction_; } + // required uint32 yourRelativeBet = 4; public static final int YOURRELATIVEBET_FIELD_NUMBER = 4; private int yourRelativeBet_; /** @@ -31556,6 +30738,7 @@ public final class ProtoBuf { return yourRelativeBet_; } + // required .YourActionRejectedMessage.RejectionReason rejectionReason = 5; public static final int REJECTIONREASON_FIELD_NUMBER = 5; private de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.RejectionReason rejectionReason_; /** @@ -31581,8 +30764,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -31626,7 +30808,6 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeEnum(5, rejectionReason_.getNumber()); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -31655,7 +30836,6 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeEnumSize(5, rejectionReason_.getNumber()); } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -31733,9 +30913,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage, Builder> - implements - // @@protoc_insertion_point(builder_implements:YourActionRejectedMessage) - de.pokerth.protocol.ProtoBuf.YourActionRejectedMessageOrBuilder { + implements de.pokerth.protocol.ProtoBuf.YourActionRejectedMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -31823,8 +31001,6 @@ public final class ProtoBuf { if (other.hasRejectionReason()) { setRejectionReason(other.getRejectionReason()); } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -31871,6 +31047,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -31903,6 +31080,7 @@ public final class ProtoBuf { return this; } + // required .NetGameState gameState = 2; private de.pokerth.protocol.ProtoBuf.NetGameState gameState_ = de.pokerth.protocol.ProtoBuf.NetGameState.netStatePreflop; /** * required .NetGameState gameState = 2; @@ -31938,6 +31116,7 @@ public final class ProtoBuf { return this; } + // required .NetPlayerAction yourAction = 3; private de.pokerth.protocol.ProtoBuf.NetPlayerAction yourAction_ = de.pokerth.protocol.ProtoBuf.NetPlayerAction.netActionNone; /** * required .NetPlayerAction yourAction = 3; @@ -31973,6 +31152,7 @@ public final class ProtoBuf { return this; } + // required uint32 yourRelativeBet = 4; private int yourRelativeBet_ ; /** * required uint32 yourRelativeBet = 4; @@ -32005,6 +31185,7 @@ public final class ProtoBuf { return this; } + // required .YourActionRejectedMessage.RejectionReason rejectionReason = 5; private de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.RejectionReason rejectionReason_ = de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.RejectionReason.rejectedInvalidGameState; /** * required .YourActionRejectedMessage.RejectionReason rejectionReason = 5; @@ -32051,10 +31232,10 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:YourActionRejectedMessage) } - public interface PlayersActionDoneMessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:PlayersActionDoneMessage) - com.google.protobuf.MessageLiteOrBuilder { + public interface PlayersActionDoneMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -32064,6 +31245,7 @@ public final class ProtoBuf { */ int getGameId(); + // required uint32 playerId = 2; /** * required uint32 playerId = 2; */ @@ -32073,6 +31255,7 @@ public final class ProtoBuf { */ int getPlayerId(); + // required .NetGameState gameState = 3; /** * required .NetGameState gameState = 3; */ @@ -32082,6 +31265,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.NetGameState getGameState(); + // required .NetPlayerAction playerAction = 4; /** * required .NetPlayerAction playerAction = 4; */ @@ -32091,6 +31275,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.NetPlayerAction getPlayerAction(); + // required uint32 totalPlayerBet = 5; /** * required uint32 totalPlayerBet = 5; */ @@ -32100,6 +31285,7 @@ public final class ProtoBuf { */ int getTotalPlayerBet(); + // required uint32 playerMoney = 6; /** * required uint32 playerMoney = 6; */ @@ -32109,6 +31295,7 @@ public final class ProtoBuf { */ int getPlayerMoney(); + // required uint32 highestSet = 7; /** * required uint32 highestSet = 7; */ @@ -32118,6 +31305,7 @@ public final class ProtoBuf { */ int getHighestSet(); + // required uint32 minimumRaise = 8; /** * required uint32 minimumRaise = 8; */ @@ -32131,15 +31319,14 @@ public final class ProtoBuf { * Protobuf type {@code PlayersActionDoneMessage} */ public static final class PlayersActionDoneMessage extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:PlayersActionDoneMessage) - PlayersActionDoneMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements PlayersActionDoneMessageOrBuilder { // Use PlayersActionDoneMessage.newBuilder() to construct. private PlayersActionDoneMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private PlayersActionDoneMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private PlayersActionDoneMessage(boolean noInit) {} private static final PlayersActionDoneMessage defaultInstance; public static PlayersActionDoneMessage getDefaultInstance() { @@ -32150,18 +31337,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private PlayersActionDoneMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -32171,7 +31352,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -32190,10 +31371,7 @@ public final class ProtoBuf { case 24: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.NetGameState value = de.pokerth.protocol.ProtoBuf.NetGameState.valueOf(rawValue); - if (value == null) { - unknownFieldsCodedOutput.writeRawVarint32(tag); - unknownFieldsCodedOutput.writeRawVarint32(rawValue); - } else { + if (value != null) { bitField0_ |= 0x00000004; gameState_ = value; } @@ -32202,10 +31380,7 @@ public final class ProtoBuf { case 32: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.NetPlayerAction value = de.pokerth.protocol.ProtoBuf.NetPlayerAction.valueOf(rawValue); - if (value == null) { - unknownFieldsCodedOutput.writeRawVarint32(tag); - unknownFieldsCodedOutput.writeRawVarint32(rawValue); - } else { + if (value != null) { bitField0_ |= 0x00000008; playerAction_ = value; } @@ -32239,13 +31414,6 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -32265,6 +31433,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -32280,6 +31449,7 @@ public final class ProtoBuf { return gameId_; } + // required uint32 playerId = 2; public static final int PLAYERID_FIELD_NUMBER = 2; private int playerId_; /** @@ -32295,6 +31465,7 @@ public final class ProtoBuf { return playerId_; } + // required .NetGameState gameState = 3; public static final int GAMESTATE_FIELD_NUMBER = 3; private de.pokerth.protocol.ProtoBuf.NetGameState gameState_; /** @@ -32310,6 +31481,7 @@ public final class ProtoBuf { return gameState_; } + // required .NetPlayerAction playerAction = 4; public static final int PLAYERACTION_FIELD_NUMBER = 4; private de.pokerth.protocol.ProtoBuf.NetPlayerAction playerAction_; /** @@ -32325,6 +31497,7 @@ public final class ProtoBuf { return playerAction_; } + // required uint32 totalPlayerBet = 5; public static final int TOTALPLAYERBET_FIELD_NUMBER = 5; private int totalPlayerBet_; /** @@ -32340,6 +31513,7 @@ public final class ProtoBuf { return totalPlayerBet_; } + // required uint32 playerMoney = 6; public static final int PLAYERMONEY_FIELD_NUMBER = 6; private int playerMoney_; /** @@ -32355,6 +31529,7 @@ public final class ProtoBuf { return playerMoney_; } + // required uint32 highestSet = 7; public static final int HIGHESTSET_FIELD_NUMBER = 7; private int highestSet_; /** @@ -32370,6 +31545,7 @@ public final class ProtoBuf { return highestSet_; } + // required uint32 minimumRaise = 8; public static final int MINIMUMRAISE_FIELD_NUMBER = 8; private int minimumRaise_; /** @@ -32398,8 +31574,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -32464,7 +31639,6 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000080) == 0x00000080)) { output.writeUInt32(8, minimumRaise_); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -32505,7 +31679,6 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(8, minimumRaise_); } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -32583,9 +31756,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage, Builder> - implements - // @@protoc_insertion_point(builder_implements:PlayersActionDoneMessage) - de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessageOrBuilder { + implements de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -32700,8 +31871,6 @@ public final class ProtoBuf { if (other.hasMinimumRaise()) { setMinimumRaise(other.getMinimumRaise()); } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -32760,6 +31929,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -32792,6 +31962,7 @@ public final class ProtoBuf { return this; } + // required uint32 playerId = 2; private int playerId_ ; /** * required uint32 playerId = 2; @@ -32824,6 +31995,7 @@ public final class ProtoBuf { return this; } + // required .NetGameState gameState = 3; private de.pokerth.protocol.ProtoBuf.NetGameState gameState_ = de.pokerth.protocol.ProtoBuf.NetGameState.netStatePreflop; /** * required .NetGameState gameState = 3; @@ -32859,6 +32031,7 @@ public final class ProtoBuf { return this; } + // required .NetPlayerAction playerAction = 4; private de.pokerth.protocol.ProtoBuf.NetPlayerAction playerAction_ = de.pokerth.protocol.ProtoBuf.NetPlayerAction.netActionNone; /** * required .NetPlayerAction playerAction = 4; @@ -32894,6 +32067,7 @@ public final class ProtoBuf { return this; } + // required uint32 totalPlayerBet = 5; private int totalPlayerBet_ ; /** * required uint32 totalPlayerBet = 5; @@ -32926,6 +32100,7 @@ public final class ProtoBuf { return this; } + // required uint32 playerMoney = 6; private int playerMoney_ ; /** * required uint32 playerMoney = 6; @@ -32958,6 +32133,7 @@ public final class ProtoBuf { return this; } + // required uint32 highestSet = 7; private int highestSet_ ; /** * required uint32 highestSet = 7; @@ -32990,6 +32166,7 @@ public final class ProtoBuf { return this; } + // required uint32 minimumRaise = 8; private int minimumRaise_ ; /** * required uint32 minimumRaise = 8; @@ -33033,10 +32210,10 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:PlayersActionDoneMessage) } - public interface DealFlopCardsMessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:DealFlopCardsMessage) - com.google.protobuf.MessageLiteOrBuilder { + public interface DealFlopCardsMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -33046,6 +32223,7 @@ public final class ProtoBuf { */ int getGameId(); + // required uint32 flopCard1 = 2; /** * required uint32 flopCard1 = 2; */ @@ -33055,6 +32233,7 @@ public final class ProtoBuf { */ int getFlopCard1(); + // required uint32 flopCard2 = 3; /** * required uint32 flopCard2 = 3; */ @@ -33064,6 +32243,7 @@ public final class ProtoBuf { */ int getFlopCard2(); + // required uint32 flopCard3 = 4; /** * required uint32 flopCard3 = 4; */ @@ -33077,15 +32257,14 @@ public final class ProtoBuf { * Protobuf type {@code DealFlopCardsMessage} */ public static final class DealFlopCardsMessage extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:DealFlopCardsMessage) - DealFlopCardsMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements DealFlopCardsMessageOrBuilder { // Use DealFlopCardsMessage.newBuilder() to construct. private DealFlopCardsMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private DealFlopCardsMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private DealFlopCardsMessage(boolean noInit) {} private static final DealFlopCardsMessage defaultInstance; public static DealFlopCardsMessage getDefaultInstance() { @@ -33096,18 +32275,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private DealFlopCardsMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -33117,7 +32290,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -33151,13 +32324,6 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -33177,6 +32343,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -33192,6 +32359,7 @@ public final class ProtoBuf { return gameId_; } + // required uint32 flopCard1 = 2; public static final int FLOPCARD1_FIELD_NUMBER = 2; private int flopCard1_; /** @@ -33207,6 +32375,7 @@ public final class ProtoBuf { return flopCard1_; } + // required uint32 flopCard2 = 3; public static final int FLOPCARD2_FIELD_NUMBER = 3; private int flopCard2_; /** @@ -33222,6 +32391,7 @@ public final class ProtoBuf { return flopCard2_; } + // required uint32 flopCard3 = 4; public static final int FLOPCARD3_FIELD_NUMBER = 4; private int flopCard3_; /** @@ -33246,8 +32416,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -33284,7 +32453,6 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeUInt32(4, flopCard3_); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -33309,7 +32477,6 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(4, flopCard3_); } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -33387,9 +32554,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage, Builder> - implements - // @@protoc_insertion_point(builder_implements:DealFlopCardsMessage) - de.pokerth.protocol.ProtoBuf.DealFlopCardsMessageOrBuilder { + implements de.pokerth.protocol.ProtoBuf.DealFlopCardsMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -33468,8 +32633,6 @@ public final class ProtoBuf { if (other.hasFlopCard3()) { setFlopCard3(other.getFlopCard3()); } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -33512,6 +32675,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -33544,6 +32708,7 @@ public final class ProtoBuf { return this; } + // required uint32 flopCard1 = 2; private int flopCard1_ ; /** * required uint32 flopCard1 = 2; @@ -33576,6 +32741,7 @@ public final class ProtoBuf { return this; } + // required uint32 flopCard2 = 3; private int flopCard2_ ; /** * required uint32 flopCard2 = 3; @@ -33608,6 +32774,7 @@ public final class ProtoBuf { return this; } + // required uint32 flopCard3 = 4; private int flopCard3_ ; /** * required uint32 flopCard3 = 4; @@ -33651,10 +32818,10 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:DealFlopCardsMessage) } - public interface DealTurnCardMessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:DealTurnCardMessage) - com.google.protobuf.MessageLiteOrBuilder { + public interface DealTurnCardMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -33664,6 +32831,7 @@ public final class ProtoBuf { */ int getGameId(); + // required uint32 turnCard = 2; /** * required uint32 turnCard = 2; */ @@ -33677,15 +32845,14 @@ public final class ProtoBuf { * Protobuf type {@code DealTurnCardMessage} */ public static final class DealTurnCardMessage extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:DealTurnCardMessage) - DealTurnCardMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements DealTurnCardMessageOrBuilder { // Use DealTurnCardMessage.newBuilder() to construct. private DealTurnCardMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private DealTurnCardMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private DealTurnCardMessage(boolean noInit) {} private static final DealTurnCardMessage defaultInstance; public static DealTurnCardMessage getDefaultInstance() { @@ -33696,18 +32863,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private DealTurnCardMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -33717,7 +32878,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -33741,13 +32902,6 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -33767,6 +32921,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -33782,6 +32937,7 @@ public final class ProtoBuf { return gameId_; } + // required uint32 turnCard = 2; public static final int TURNCARD_FIELD_NUMBER = 2; private int turnCard_; /** @@ -33804,8 +32960,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -33828,7 +32983,6 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt32(2, turnCard_); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -33845,7 +32999,6 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, turnCard_); } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -33923,9 +33076,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.DealTurnCardMessage, Builder> - implements - // @@protoc_insertion_point(builder_implements:DealTurnCardMessage) - de.pokerth.protocol.ProtoBuf.DealTurnCardMessageOrBuilder { + implements de.pokerth.protocol.ProtoBuf.DealTurnCardMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.DealTurnCardMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -33986,8 +33137,6 @@ public final class ProtoBuf { if (other.hasTurnCard()) { setTurnCard(other.getTurnCard()); } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -34022,6 +33171,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -34054,6 +33204,7 @@ public final class ProtoBuf { return this; } + // required uint32 turnCard = 2; private int turnCard_ ; /** * required uint32 turnCard = 2; @@ -34097,10 +33248,10 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:DealTurnCardMessage) } - public interface DealRiverCardMessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:DealRiverCardMessage) - com.google.protobuf.MessageLiteOrBuilder { + public interface DealRiverCardMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -34110,6 +33261,7 @@ public final class ProtoBuf { */ int getGameId(); + // required uint32 riverCard = 2; /** * required uint32 riverCard = 2; */ @@ -34123,15 +33275,14 @@ public final class ProtoBuf { * Protobuf type {@code DealRiverCardMessage} */ public static final class DealRiverCardMessage extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:DealRiverCardMessage) - DealRiverCardMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements DealRiverCardMessageOrBuilder { // Use DealRiverCardMessage.newBuilder() to construct. private DealRiverCardMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private DealRiverCardMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private DealRiverCardMessage(boolean noInit) {} private static final DealRiverCardMessage defaultInstance; public static DealRiverCardMessage getDefaultInstance() { @@ -34142,18 +33293,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private DealRiverCardMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -34163,7 +33308,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -34187,13 +33332,6 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -34213,6 +33351,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -34228,6 +33367,7 @@ public final class ProtoBuf { return gameId_; } + // required uint32 riverCard = 2; public static final int RIVERCARD_FIELD_NUMBER = 2; private int riverCard_; /** @@ -34250,8 +33390,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -34274,7 +33413,6 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt32(2, riverCard_); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -34291,7 +33429,6 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, riverCard_); } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -34369,9 +33506,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.DealRiverCardMessage, Builder> - implements - // @@protoc_insertion_point(builder_implements:DealRiverCardMessage) - de.pokerth.protocol.ProtoBuf.DealRiverCardMessageOrBuilder { + implements de.pokerth.protocol.ProtoBuf.DealRiverCardMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.DealRiverCardMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -34432,8 +33567,6 @@ public final class ProtoBuf { if (other.hasRiverCard()) { setRiverCard(other.getRiverCard()); } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -34468,6 +33601,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -34500,6 +33634,7 @@ public final class ProtoBuf { return this; } + // required uint32 riverCard = 2; private int riverCard_ ; /** * required uint32 riverCard = 2; @@ -34543,10 +33678,10 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:DealRiverCardMessage) } - public interface AllInShowCardsMessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:AllInShowCardsMessage) - com.google.protobuf.MessageLiteOrBuilder { + public interface AllInShowCardsMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -34556,6 +33691,7 @@ public final class ProtoBuf { */ int getGameId(); + // repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; /** * repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; */ @@ -34574,15 +33710,14 @@ public final class ProtoBuf { * Protobuf type {@code AllInShowCardsMessage} */ public static final class AllInShowCardsMessage extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:AllInShowCardsMessage) - AllInShowCardsMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements AllInShowCardsMessageOrBuilder { // Use AllInShowCardsMessage.newBuilder() to construct. private AllInShowCardsMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private AllInShowCardsMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private AllInShowCardsMessage(boolean noInit) {} private static final AllInShowCardsMessage defaultInstance; public static AllInShowCardsMessage getDefaultInstance() { @@ -34593,18 +33728,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private AllInShowCardsMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -34614,7 +33743,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -34644,13 +33773,6 @@ public final class ProtoBuf { if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { playersAllIn_ = java.util.Collections.unmodifiableList(playersAllIn_); } - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -34669,10 +33791,10 @@ public final class ProtoBuf { return PARSER; } - public interface PlayerAllInOrBuilder extends - // @@protoc_insertion_point(interface_extends:AllInShowCardsMessage.PlayerAllIn) - com.google.protobuf.MessageLiteOrBuilder { + public interface PlayerAllInOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // required uint32 playerId = 1; /** * required uint32 playerId = 1; */ @@ -34682,6 +33804,7 @@ public final class ProtoBuf { */ int getPlayerId(); + // required uint32 allInCard1 = 2; /** * required uint32 allInCard1 = 2; */ @@ -34691,6 +33814,7 @@ public final class ProtoBuf { */ int getAllInCard1(); + // required uint32 allInCard2 = 3; /** * required uint32 allInCard2 = 3; */ @@ -34704,15 +33828,14 @@ public final class ProtoBuf { * Protobuf type {@code AllInShowCardsMessage.PlayerAllIn} */ public static final class PlayerAllIn extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:AllInShowCardsMessage.PlayerAllIn) - PlayerAllInOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements PlayerAllInOrBuilder { // Use PlayerAllIn.newBuilder() to construct. private PlayerAllIn(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private PlayerAllIn(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private PlayerAllIn(boolean noInit) {} private static final PlayerAllIn defaultInstance; public static PlayerAllIn getDefaultInstance() { @@ -34723,18 +33846,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private PlayerAllIn( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -34744,7 +33861,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -34773,13 +33890,6 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -34799,6 +33909,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 playerId = 1; public static final int PLAYERID_FIELD_NUMBER = 1; private int playerId_; /** @@ -34814,6 +33925,7 @@ public final class ProtoBuf { return playerId_; } + // required uint32 allInCard1 = 2; public static final int ALLINCARD1_FIELD_NUMBER = 2; private int allInCard1_; /** @@ -34829,6 +33941,7 @@ public final class ProtoBuf { return allInCard1_; } + // required uint32 allInCard2 = 3; public static final int ALLINCARD2_FIELD_NUMBER = 3; private int allInCard2_; /** @@ -34852,8 +33965,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasPlayerId()) { memoizedIsInitialized = 0; @@ -34883,7 +33995,6 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeUInt32(3, allInCard2_); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -34904,7 +34015,6 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(3, allInCard2_); } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -34982,9 +34092,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn, Builder> - implements - // @@protoc_insertion_point(builder_implements:AllInShowCardsMessage.PlayerAllIn) - de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllInOrBuilder { + implements de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllInOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -35054,8 +34162,6 @@ public final class ProtoBuf { if (other.hasAllInCard2()) { setAllInCard2(other.getAllInCard2()); } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -35094,6 +34200,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 playerId = 1; private int playerId_ ; /** * required uint32 playerId = 1; @@ -35126,6 +34233,7 @@ public final class ProtoBuf { return this; } + // required uint32 allInCard1 = 2; private int allInCard1_ ; /** * required uint32 allInCard1 = 2; @@ -35158,6 +34266,7 @@ public final class ProtoBuf { return this; } + // required uint32 allInCard2 = 3; private int allInCard2_ ; /** * required uint32 allInCard2 = 3; @@ -35202,6 +34311,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -35217,6 +34327,7 @@ public final class ProtoBuf { return gameId_; } + // repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; public static final int PLAYERSALLIN_FIELD_NUMBER = 2; private java.util.List playersAllIn_; /** @@ -35259,8 +34370,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -35285,7 +34395,6 @@ public final class ProtoBuf { for (int i = 0; i < playersAllIn_.size(); i++) { output.writeMessage(2, playersAllIn_.get(i)); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -35302,7 +34411,6 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, playersAllIn_.get(i)); } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -35380,9 +34488,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage, Builder> - implements - // @@protoc_insertion_point(builder_implements:AllInShowCardsMessage) - de.pokerth.protocol.ProtoBuf.AllInShowCardsMessageOrBuilder { + implements de.pokerth.protocol.ProtoBuf.AllInShowCardsMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -35451,8 +34557,6 @@ public final class ProtoBuf { } } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -35489,6 +34593,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -35521,6 +34626,7 @@ public final class ProtoBuf { return this; } + // repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; private java.util.List playersAllIn_ = java.util.Collections.emptyList(); private void ensurePlayersAllInIsMutable() { @@ -35622,8 +34728,7 @@ public final class ProtoBuf { public Builder addAllPlayersAllIn( java.lang.Iterable values) { ensurePlayersAllInIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, playersAllIn_); + super.addAll(values, playersAllIn_); return this; } @@ -35657,10 +34762,10 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:AllInShowCardsMessage) } - public interface EndOfHandShowCardsMessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:EndOfHandShowCardsMessage) - com.google.protobuf.MessageLiteOrBuilder { + public interface EndOfHandShowCardsMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -35670,6 +34775,7 @@ public final class ProtoBuf { */ int getGameId(); + // repeated .PlayerResult playerResults = 2; /** * repeated .PlayerResult playerResults = 2; */ @@ -35688,15 +34794,14 @@ public final class ProtoBuf { * Protobuf type {@code EndOfHandShowCardsMessage} */ public static final class EndOfHandShowCardsMessage extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:EndOfHandShowCardsMessage) - EndOfHandShowCardsMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements EndOfHandShowCardsMessageOrBuilder { // Use EndOfHandShowCardsMessage.newBuilder() to construct. private EndOfHandShowCardsMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private EndOfHandShowCardsMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private EndOfHandShowCardsMessage(boolean noInit) {} private static final EndOfHandShowCardsMessage defaultInstance; public static EndOfHandShowCardsMessage getDefaultInstance() { @@ -35707,18 +34812,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private EndOfHandShowCardsMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -35728,7 +34827,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -35758,13 +34857,6 @@ public final class ProtoBuf { if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { playerResults_ = java.util.Collections.unmodifiableList(playerResults_); } - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -35784,6 +34876,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -35799,6 +34892,7 @@ public final class ProtoBuf { return gameId_; } + // repeated .PlayerResult playerResults = 2; public static final int PLAYERRESULTS_FIELD_NUMBER = 2; private java.util.List playerResults_; /** @@ -35841,8 +34935,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -35867,7 +34960,6 @@ public final class ProtoBuf { for (int i = 0; i < playerResults_.size(); i++) { output.writeMessage(2, playerResults_.get(i)); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -35884,7 +34976,6 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, playerResults_.get(i)); } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -35962,9 +35053,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage, Builder> - implements - // @@protoc_insertion_point(builder_implements:EndOfHandShowCardsMessage) - de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessageOrBuilder { + implements de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -36033,8 +35122,6 @@ public final class ProtoBuf { } } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -36071,6 +35158,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -36103,6 +35191,7 @@ public final class ProtoBuf { return this; } + // repeated .PlayerResult playerResults = 2; private java.util.List playerResults_ = java.util.Collections.emptyList(); private void ensurePlayerResultsIsMutable() { @@ -36204,8 +35293,7 @@ public final class ProtoBuf { public Builder addAllPlayerResults( java.lang.Iterable values) { ensurePlayerResultsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, playerResults_); + super.addAll(values, playerResults_); return this; } @@ -36239,10 +35327,10 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:EndOfHandShowCardsMessage) } - public interface EndOfHandHideCardsMessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:EndOfHandHideCardsMessage) - com.google.protobuf.MessageLiteOrBuilder { + public interface EndOfHandHideCardsMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -36252,6 +35340,7 @@ public final class ProtoBuf { */ int getGameId(); + // required uint32 playerId = 2; /** * required uint32 playerId = 2; */ @@ -36261,6 +35350,7 @@ public final class ProtoBuf { */ int getPlayerId(); + // required uint32 moneyWon = 3; /** * required uint32 moneyWon = 3; */ @@ -36270,6 +35360,7 @@ public final class ProtoBuf { */ int getMoneyWon(); + // required uint32 playerMoney = 4; /** * required uint32 playerMoney = 4; */ @@ -36283,15 +35374,14 @@ public final class ProtoBuf { * Protobuf type {@code EndOfHandHideCardsMessage} */ public static final class EndOfHandHideCardsMessage extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:EndOfHandHideCardsMessage) - EndOfHandHideCardsMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements EndOfHandHideCardsMessageOrBuilder { // Use EndOfHandHideCardsMessage.newBuilder() to construct. private EndOfHandHideCardsMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private EndOfHandHideCardsMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private EndOfHandHideCardsMessage(boolean noInit) {} private static final EndOfHandHideCardsMessage defaultInstance; public static EndOfHandHideCardsMessage getDefaultInstance() { @@ -36302,18 +35392,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private EndOfHandHideCardsMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -36323,7 +35407,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -36357,13 +35441,6 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -36383,6 +35460,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -36398,6 +35476,7 @@ public final class ProtoBuf { return gameId_; } + // required uint32 playerId = 2; public static final int PLAYERID_FIELD_NUMBER = 2; private int playerId_; /** @@ -36413,6 +35492,7 @@ public final class ProtoBuf { return playerId_; } + // required uint32 moneyWon = 3; public static final int MONEYWON_FIELD_NUMBER = 3; private int moneyWon_; /** @@ -36428,6 +35508,7 @@ public final class ProtoBuf { return moneyWon_; } + // required uint32 playerMoney = 4; public static final int PLAYERMONEY_FIELD_NUMBER = 4; private int playerMoney_; /** @@ -36452,8 +35533,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -36490,7 +35570,6 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeUInt32(4, playerMoney_); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -36515,7 +35594,6 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(4, playerMoney_); } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -36593,9 +35671,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage, Builder> - implements - // @@protoc_insertion_point(builder_implements:EndOfHandHideCardsMessage) - de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessageOrBuilder { + implements de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -36674,8 +35750,6 @@ public final class ProtoBuf { if (other.hasPlayerMoney()) { setPlayerMoney(other.getPlayerMoney()); } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -36718,6 +35792,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -36750,6 +35825,7 @@ public final class ProtoBuf { return this; } + // required uint32 playerId = 2; private int playerId_ ; /** * required uint32 playerId = 2; @@ -36782,6 +35858,7 @@ public final class ProtoBuf { return this; } + // required uint32 moneyWon = 3; private int moneyWon_ ; /** * required uint32 moneyWon = 3; @@ -36814,6 +35891,7 @@ public final class ProtoBuf { return this; } + // required uint32 playerMoney = 4; private int playerMoney_ ; /** * required uint32 playerMoney = 4; @@ -36857,23 +35935,21 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:EndOfHandHideCardsMessage) } - public interface ShowMyCardsRequestMessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:ShowMyCardsRequestMessage) - com.google.protobuf.MessageLiteOrBuilder { + public interface ShowMyCardsRequestMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { } /** * Protobuf type {@code ShowMyCardsRequestMessage} */ public static final class ShowMyCardsRequestMessage extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:ShowMyCardsRequestMessage) - ShowMyCardsRequestMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements ShowMyCardsRequestMessageOrBuilder { // Use ShowMyCardsRequestMessage.newBuilder() to construct. private ShowMyCardsRequestMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private ShowMyCardsRequestMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private ShowMyCardsRequestMessage(boolean noInit) {} private static final ShowMyCardsRequestMessage defaultInstance; public static ShowMyCardsRequestMessage getDefaultInstance() { @@ -36884,17 +35960,11 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private ShowMyCardsRequestMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -36904,7 +35974,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -36918,13 +35988,6 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -36948,8 +36011,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; memoizedIsInitialized = 1; return true; @@ -36958,7 +36020,6 @@ public final class ProtoBuf { public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -36967,7 +36028,6 @@ public final class ProtoBuf { if (size != -1) return size; size = 0; - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -37045,9 +36105,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage, Builder> - implements - // @@protoc_insertion_point(builder_implements:ShowMyCardsRequestMessage) - de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessageOrBuilder { + implements de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -37087,8 +36145,6 @@ public final class ProtoBuf { public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage other) { if (other == de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage.getDefaultInstance()) return this; - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -37125,10 +36181,10 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:ShowMyCardsRequestMessage) } - public interface AfterHandShowCardsMessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:AfterHandShowCardsMessage) - com.google.protobuf.MessageLiteOrBuilder { + public interface AfterHandShowCardsMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // required .PlayerResult playerResult = 1; /** * required .PlayerResult playerResult = 1; */ @@ -37142,15 +36198,14 @@ public final class ProtoBuf { * Protobuf type {@code AfterHandShowCardsMessage} */ public static final class AfterHandShowCardsMessage extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:AfterHandShowCardsMessage) - AfterHandShowCardsMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements AfterHandShowCardsMessageOrBuilder { // Use AfterHandShowCardsMessage.newBuilder() to construct. private AfterHandShowCardsMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private AfterHandShowCardsMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private AfterHandShowCardsMessage(boolean noInit) {} private static final AfterHandShowCardsMessage defaultInstance; public static AfterHandShowCardsMessage getDefaultInstance() { @@ -37161,18 +36216,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private AfterHandShowCardsMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -37182,7 +36231,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -37209,13 +36258,6 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -37235,6 +36277,7 @@ public final class ProtoBuf { } private int bitField0_; + // required .PlayerResult playerResult = 1; public static final int PLAYERRESULT_FIELD_NUMBER = 1; private de.pokerth.protocol.ProtoBuf.PlayerResult playerResult_; /** @@ -37256,8 +36299,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasPlayerResult()) { memoizedIsInitialized = 0; @@ -37277,7 +36319,6 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeMessage(1, playerResult_); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -37290,7 +36331,6 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, playerResult_); } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -37368,9 +36408,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage, Builder> - implements - // @@protoc_insertion_point(builder_implements:AfterHandShowCardsMessage) - de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessageOrBuilder { + implements de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -37422,8 +36460,6 @@ public final class ProtoBuf { if (other.hasPlayerResult()) { mergePlayerResult(other.getPlayerResult()); } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -37458,6 +36494,7 @@ public final class ProtoBuf { } private int bitField0_; + // required .PlayerResult playerResult = 1; private de.pokerth.protocol.ProtoBuf.PlayerResult playerResult_ = de.pokerth.protocol.ProtoBuf.PlayerResult.getDefaultInstance(); /** * required .PlayerResult playerResult = 1; @@ -37529,10 +36566,10 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:AfterHandShowCardsMessage) } - public interface EndOfGameMessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:EndOfGameMessage) - com.google.protobuf.MessageLiteOrBuilder { + public interface EndOfGameMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -37542,6 +36579,7 @@ public final class ProtoBuf { */ int getGameId(); + // required uint32 winnerPlayerId = 2; /** * required uint32 winnerPlayerId = 2; */ @@ -37555,15 +36593,14 @@ public final class ProtoBuf { * Protobuf type {@code EndOfGameMessage} */ public static final class EndOfGameMessage extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:EndOfGameMessage) - EndOfGameMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements EndOfGameMessageOrBuilder { // Use EndOfGameMessage.newBuilder() to construct. private EndOfGameMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private EndOfGameMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private EndOfGameMessage(boolean noInit) {} private static final EndOfGameMessage defaultInstance; public static EndOfGameMessage getDefaultInstance() { @@ -37574,18 +36611,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private EndOfGameMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -37595,7 +36626,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -37619,13 +36650,6 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -37645,6 +36669,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -37660,6 +36685,7 @@ public final class ProtoBuf { return gameId_; } + // required uint32 winnerPlayerId = 2; public static final int WINNERPLAYERID_FIELD_NUMBER = 2; private int winnerPlayerId_; /** @@ -37682,8 +36708,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -37706,7 +36731,6 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt32(2, winnerPlayerId_); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -37723,7 +36747,6 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, winnerPlayerId_); } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -37801,9 +36824,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.EndOfGameMessage, Builder> - implements - // @@protoc_insertion_point(builder_implements:EndOfGameMessage) - de.pokerth.protocol.ProtoBuf.EndOfGameMessageOrBuilder { + implements de.pokerth.protocol.ProtoBuf.EndOfGameMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.EndOfGameMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -37864,8 +36885,6 @@ public final class ProtoBuf { if (other.hasWinnerPlayerId()) { setWinnerPlayerId(other.getWinnerPlayerId()); } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -37900,6 +36919,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -37932,6 +36952,7 @@ public final class ProtoBuf { return this; } + // required uint32 winnerPlayerId = 2; private int winnerPlayerId_ ; /** * required uint32 winnerPlayerId = 2; @@ -37975,10 +36996,10 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:EndOfGameMessage) } - public interface PlayerIdChangedMessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:PlayerIdChangedMessage) - com.google.protobuf.MessageLiteOrBuilder { + public interface PlayerIdChangedMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // required uint32 oldPlayerId = 1; /** * required uint32 oldPlayerId = 1; */ @@ -37988,6 +37009,7 @@ public final class ProtoBuf { */ int getOldPlayerId(); + // required uint32 newPlayerId = 2; /** * required uint32 newPlayerId = 2; */ @@ -38001,15 +37023,14 @@ public final class ProtoBuf { * Protobuf type {@code PlayerIdChangedMessage} */ public static final class PlayerIdChangedMessage extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:PlayerIdChangedMessage) - PlayerIdChangedMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements PlayerIdChangedMessageOrBuilder { // Use PlayerIdChangedMessage.newBuilder() to construct. private PlayerIdChangedMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private PlayerIdChangedMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private PlayerIdChangedMessage(boolean noInit) {} private static final PlayerIdChangedMessage defaultInstance; public static PlayerIdChangedMessage getDefaultInstance() { @@ -38020,18 +37041,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private PlayerIdChangedMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -38041,7 +37056,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -38065,13 +37080,6 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -38091,6 +37099,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 oldPlayerId = 1; public static final int OLDPLAYERID_FIELD_NUMBER = 1; private int oldPlayerId_; /** @@ -38106,6 +37115,7 @@ public final class ProtoBuf { return oldPlayerId_; } + // required uint32 newPlayerId = 2; public static final int NEWPLAYERID_FIELD_NUMBER = 2; private int newPlayerId_; /** @@ -38128,8 +37138,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasOldPlayerId()) { memoizedIsInitialized = 0; @@ -38152,7 +37161,6 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt32(2, newPlayerId_); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -38169,7 +37177,6 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, newPlayerId_); } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -38247,9 +37254,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage, Builder> - implements - // @@protoc_insertion_point(builder_implements:PlayerIdChangedMessage) - de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessageOrBuilder { + implements de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -38310,8 +37315,6 @@ public final class ProtoBuf { if (other.hasNewPlayerId()) { setNewPlayerId(other.getNewPlayerId()); } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -38346,6 +37349,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 oldPlayerId = 1; private int oldPlayerId_ ; /** * required uint32 oldPlayerId = 1; @@ -38378,6 +37382,7 @@ public final class ProtoBuf { return this; } + // required uint32 newPlayerId = 2; private int newPlayerId_ ; /** * required uint32 newPlayerId = 2; @@ -38421,10 +37426,10 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:PlayerIdChangedMessage) } - public interface AskKickPlayerMessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:AskKickPlayerMessage) - com.google.protobuf.MessageLiteOrBuilder { + public interface AskKickPlayerMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -38434,6 +37439,7 @@ public final class ProtoBuf { */ int getGameId(); + // required uint32 playerId = 2; /** * required uint32 playerId = 2; */ @@ -38447,15 +37453,14 @@ public final class ProtoBuf { * Protobuf type {@code AskKickPlayerMessage} */ public static final class AskKickPlayerMessage extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:AskKickPlayerMessage) - AskKickPlayerMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements AskKickPlayerMessageOrBuilder { // Use AskKickPlayerMessage.newBuilder() to construct. private AskKickPlayerMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private AskKickPlayerMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private AskKickPlayerMessage(boolean noInit) {} private static final AskKickPlayerMessage defaultInstance; public static AskKickPlayerMessage getDefaultInstance() { @@ -38466,18 +37471,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private AskKickPlayerMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -38487,7 +37486,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -38511,13 +37510,6 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -38537,6 +37529,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -38552,6 +37545,7 @@ public final class ProtoBuf { return gameId_; } + // required uint32 playerId = 2; public static final int PLAYERID_FIELD_NUMBER = 2; private int playerId_; /** @@ -38574,8 +37568,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -38598,7 +37591,6 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt32(2, playerId_); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -38615,7 +37607,6 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, playerId_); } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -38693,9 +37684,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage, Builder> - implements - // @@protoc_insertion_point(builder_implements:AskKickPlayerMessage) - de.pokerth.protocol.ProtoBuf.AskKickPlayerMessageOrBuilder { + implements de.pokerth.protocol.ProtoBuf.AskKickPlayerMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -38756,8 +37745,6 @@ public final class ProtoBuf { if (other.hasPlayerId()) { setPlayerId(other.getPlayerId()); } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -38792,6 +37779,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -38824,6 +37812,7 @@ public final class ProtoBuf { return this; } + // required uint32 playerId = 2; private int playerId_ ; /** * required uint32 playerId = 2; @@ -38867,10 +37856,10 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:AskKickPlayerMessage) } - public interface AskKickDeniedMessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:AskKickDeniedMessage) - com.google.protobuf.MessageLiteOrBuilder { + public interface AskKickDeniedMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -38880,6 +37869,7 @@ public final class ProtoBuf { */ int getGameId(); + // required uint32 playerId = 2; /** * required uint32 playerId = 2; */ @@ -38889,6 +37879,7 @@ public final class ProtoBuf { */ int getPlayerId(); + // required .AskKickDeniedMessage.KickDeniedReason kickDeniedReason = 3; /** * required .AskKickDeniedMessage.KickDeniedReason kickDeniedReason = 3; */ @@ -38902,15 +37893,14 @@ public final class ProtoBuf { * Protobuf type {@code AskKickDeniedMessage} */ public static final class AskKickDeniedMessage extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:AskKickDeniedMessage) - AskKickDeniedMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements AskKickDeniedMessageOrBuilder { // Use AskKickDeniedMessage.newBuilder() to construct. private AskKickDeniedMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private AskKickDeniedMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private AskKickDeniedMessage(boolean noInit) {} private static final AskKickDeniedMessage defaultInstance; public static AskKickDeniedMessage getDefaultInstance() { @@ -38921,18 +37911,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private AskKickDeniedMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -38942,7 +37926,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -38961,10 +37945,7 @@ public final class ProtoBuf { case 24: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.KickDeniedReason value = de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.KickDeniedReason.valueOf(rawValue); - if (value == null) { - unknownFieldsCodedOutput.writeRawVarint32(tag); - unknownFieldsCodedOutput.writeRawVarint32(rawValue); - } else { + if (value != null) { bitField0_ |= 0x00000004; kickDeniedReason_ = value; } @@ -38978,13 +37959,6 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -39087,6 +38061,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -39102,6 +38077,7 @@ public final class ProtoBuf { return gameId_; } + // required uint32 playerId = 2; public static final int PLAYERID_FIELD_NUMBER = 2; private int playerId_; /** @@ -39117,6 +38093,7 @@ public final class ProtoBuf { return playerId_; } + // required .AskKickDeniedMessage.KickDeniedReason kickDeniedReason = 3; public static final int KICKDENIEDREASON_FIELD_NUMBER = 3; private de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.KickDeniedReason kickDeniedReason_; /** @@ -39140,8 +38117,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -39171,7 +38147,6 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeEnum(3, kickDeniedReason_.getNumber()); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -39192,7 +38167,6 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeEnumSize(3, kickDeniedReason_.getNumber()); } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -39270,9 +38244,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage, Builder> - implements - // @@protoc_insertion_point(builder_implements:AskKickDeniedMessage) - de.pokerth.protocol.ProtoBuf.AskKickDeniedMessageOrBuilder { + implements de.pokerth.protocol.ProtoBuf.AskKickDeniedMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -39342,8 +38314,6 @@ public final class ProtoBuf { if (other.hasKickDeniedReason()) { setKickDeniedReason(other.getKickDeniedReason()); } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -39382,6 +38352,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -39414,6 +38385,7 @@ public final class ProtoBuf { return this; } + // required uint32 playerId = 2; private int playerId_ ; /** * required uint32 playerId = 2; @@ -39446,6 +38418,7 @@ public final class ProtoBuf { return this; } + // required .AskKickDeniedMessage.KickDeniedReason kickDeniedReason = 3; private de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.KickDeniedReason kickDeniedReason_ = de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.KickDeniedReason.kickDeniedInvalidGameState; /** * required .AskKickDeniedMessage.KickDeniedReason kickDeniedReason = 3; @@ -39492,10 +38465,10 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:AskKickDeniedMessage) } - public interface StartKickPetitionMessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:StartKickPetitionMessage) - com.google.protobuf.MessageLiteOrBuilder { + public interface StartKickPetitionMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -39505,6 +38478,7 @@ public final class ProtoBuf { */ int getGameId(); + // required uint32 petitionId = 2; /** * required uint32 petitionId = 2; */ @@ -39514,6 +38488,7 @@ public final class ProtoBuf { */ int getPetitionId(); + // required uint32 proposingPlayerId = 3; /** * required uint32 proposingPlayerId = 3; */ @@ -39523,6 +38498,7 @@ public final class ProtoBuf { */ int getProposingPlayerId(); + // required uint32 kickPlayerId = 4; /** * required uint32 kickPlayerId = 4; */ @@ -39532,6 +38508,7 @@ public final class ProtoBuf { */ int getKickPlayerId(); + // required uint32 kickTimeoutSec = 5; /** * required uint32 kickTimeoutSec = 5; */ @@ -39541,6 +38518,7 @@ public final class ProtoBuf { */ int getKickTimeoutSec(); + // required uint32 numVotesNeededToKick = 6; /** * required uint32 numVotesNeededToKick = 6; */ @@ -39554,15 +38532,14 @@ public final class ProtoBuf { * Protobuf type {@code StartKickPetitionMessage} */ public static final class StartKickPetitionMessage extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:StartKickPetitionMessage) - StartKickPetitionMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements StartKickPetitionMessageOrBuilder { // Use StartKickPetitionMessage.newBuilder() to construct. private StartKickPetitionMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private StartKickPetitionMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private StartKickPetitionMessage(boolean noInit) {} private static final StartKickPetitionMessage defaultInstance; public static StartKickPetitionMessage getDefaultInstance() { @@ -39573,18 +38550,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private StartKickPetitionMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -39594,7 +38565,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -39638,13 +38609,6 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -39664,6 +38628,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -39679,6 +38644,7 @@ public final class ProtoBuf { return gameId_; } + // required uint32 petitionId = 2; public static final int PETITIONID_FIELD_NUMBER = 2; private int petitionId_; /** @@ -39694,6 +38660,7 @@ public final class ProtoBuf { return petitionId_; } + // required uint32 proposingPlayerId = 3; public static final int PROPOSINGPLAYERID_FIELD_NUMBER = 3; private int proposingPlayerId_; /** @@ -39709,6 +38676,7 @@ public final class ProtoBuf { return proposingPlayerId_; } + // required uint32 kickPlayerId = 4; public static final int KICKPLAYERID_FIELD_NUMBER = 4; private int kickPlayerId_; /** @@ -39724,6 +38692,7 @@ public final class ProtoBuf { return kickPlayerId_; } + // required uint32 kickTimeoutSec = 5; public static final int KICKTIMEOUTSEC_FIELD_NUMBER = 5; private int kickTimeoutSec_; /** @@ -39739,6 +38708,7 @@ public final class ProtoBuf { return kickTimeoutSec_; } + // required uint32 numVotesNeededToKick = 6; public static final int NUMVOTESNEEDEDTOKICK_FIELD_NUMBER = 6; private int numVotesNeededToKick_; /** @@ -39765,8 +38735,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -39817,7 +38786,6 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeUInt32(6, numVotesNeededToKick_); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -39850,7 +38818,6 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(6, numVotesNeededToKick_); } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -39928,9 +38895,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage, Builder> - implements - // @@protoc_insertion_point(builder_implements:StartKickPetitionMessage) - de.pokerth.protocol.ProtoBuf.StartKickPetitionMessageOrBuilder { + implements de.pokerth.protocol.ProtoBuf.StartKickPetitionMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -40027,8 +38992,6 @@ public final class ProtoBuf { if (other.hasNumVotesNeededToKick()) { setNumVotesNeededToKick(other.getNumVotesNeededToKick()); } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -40079,6 +39042,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -40111,6 +39075,7 @@ public final class ProtoBuf { return this; } + // required uint32 petitionId = 2; private int petitionId_ ; /** * required uint32 petitionId = 2; @@ -40143,6 +39108,7 @@ public final class ProtoBuf { return this; } + // required uint32 proposingPlayerId = 3; private int proposingPlayerId_ ; /** * required uint32 proposingPlayerId = 3; @@ -40175,6 +39141,7 @@ public final class ProtoBuf { return this; } + // required uint32 kickPlayerId = 4; private int kickPlayerId_ ; /** * required uint32 kickPlayerId = 4; @@ -40207,6 +39174,7 @@ public final class ProtoBuf { return this; } + // required uint32 kickTimeoutSec = 5; private int kickTimeoutSec_ ; /** * required uint32 kickTimeoutSec = 5; @@ -40239,6 +39207,7 @@ public final class ProtoBuf { return this; } + // required uint32 numVotesNeededToKick = 6; private int numVotesNeededToKick_ ; /** * required uint32 numVotesNeededToKick = 6; @@ -40282,10 +39251,10 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:StartKickPetitionMessage) } - public interface VoteKickRequestMessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:VoteKickRequestMessage) - com.google.protobuf.MessageLiteOrBuilder { + public interface VoteKickRequestMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -40295,6 +39264,7 @@ public final class ProtoBuf { */ int getGameId(); + // required uint32 petitionId = 2; /** * required uint32 petitionId = 2; */ @@ -40304,6 +39274,7 @@ public final class ProtoBuf { */ int getPetitionId(); + // required bool voteKick = 3; /** * required bool voteKick = 3; */ @@ -40317,15 +39288,14 @@ public final class ProtoBuf { * Protobuf type {@code VoteKickRequestMessage} */ public static final class VoteKickRequestMessage extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:VoteKickRequestMessage) - VoteKickRequestMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements VoteKickRequestMessageOrBuilder { // Use VoteKickRequestMessage.newBuilder() to construct. private VoteKickRequestMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private VoteKickRequestMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private VoteKickRequestMessage(boolean noInit) {} private static final VoteKickRequestMessage defaultInstance; public static VoteKickRequestMessage getDefaultInstance() { @@ -40336,18 +39306,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private VoteKickRequestMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -40357,7 +39321,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -40386,13 +39350,6 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -40412,6 +39369,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -40427,6 +39385,7 @@ public final class ProtoBuf { return gameId_; } + // required uint32 petitionId = 2; public static final int PETITIONID_FIELD_NUMBER = 2; private int petitionId_; /** @@ -40442,6 +39401,7 @@ public final class ProtoBuf { return petitionId_; } + // required bool voteKick = 3; public static final int VOTEKICK_FIELD_NUMBER = 3; private boolean voteKick_; /** @@ -40465,8 +39425,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -40496,7 +39455,6 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBool(3, voteKick_); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -40517,7 +39475,6 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, voteKick_); } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -40595,9 +39552,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage, Builder> - implements - // @@protoc_insertion_point(builder_implements:VoteKickRequestMessage) - de.pokerth.protocol.ProtoBuf.VoteKickRequestMessageOrBuilder { + implements de.pokerth.protocol.ProtoBuf.VoteKickRequestMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -40667,8 +39622,6 @@ public final class ProtoBuf { if (other.hasVoteKick()) { setVoteKick(other.getVoteKick()); } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -40707,6 +39660,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -40739,6 +39693,7 @@ public final class ProtoBuf { return this; } + // required uint32 petitionId = 2; private int petitionId_ ; /** * required uint32 petitionId = 2; @@ -40771,6 +39726,7 @@ public final class ProtoBuf { return this; } + // required bool voteKick = 3; private boolean voteKick_ ; /** * required bool voteKick = 3; @@ -40814,10 +39770,10 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:VoteKickRequestMessage) } - public interface VoteKickReplyMessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:VoteKickReplyMessage) - com.google.protobuf.MessageLiteOrBuilder { + public interface VoteKickReplyMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -40827,6 +39783,7 @@ public final class ProtoBuf { */ int getGameId(); + // required uint32 petitionId = 2; /** * required uint32 petitionId = 2; */ @@ -40836,6 +39793,7 @@ public final class ProtoBuf { */ int getPetitionId(); + // required .VoteKickReplyMessage.VoteKickReplyType voteKickReplyType = 3; /** * required .VoteKickReplyMessage.VoteKickReplyType voteKickReplyType = 3; */ @@ -40849,15 +39807,14 @@ public final class ProtoBuf { * Protobuf type {@code VoteKickReplyMessage} */ public static final class VoteKickReplyMessage extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:VoteKickReplyMessage) - VoteKickReplyMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements VoteKickReplyMessageOrBuilder { // Use VoteKickReplyMessage.newBuilder() to construct. private VoteKickReplyMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private VoteKickReplyMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private VoteKickReplyMessage(boolean noInit) {} private static final VoteKickReplyMessage defaultInstance; public static VoteKickReplyMessage getDefaultInstance() { @@ -40868,18 +39825,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private VoteKickReplyMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -40889,7 +39840,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -40908,10 +39859,7 @@ public final class ProtoBuf { case 24: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.VoteKickReplyType value = de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.VoteKickReplyType.valueOf(rawValue); - if (value == null) { - unknownFieldsCodedOutput.writeRawVarint32(tag); - unknownFieldsCodedOutput.writeRawVarint32(rawValue); - } else { + if (value != null) { bitField0_ |= 0x00000004; voteKickReplyType_ = value; } @@ -40925,13 +39873,6 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -41016,6 +39957,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -41031,6 +39973,7 @@ public final class ProtoBuf { return gameId_; } + // required uint32 petitionId = 2; public static final int PETITIONID_FIELD_NUMBER = 2; private int petitionId_; /** @@ -41046,6 +39989,7 @@ public final class ProtoBuf { return petitionId_; } + // required .VoteKickReplyMessage.VoteKickReplyType voteKickReplyType = 3; public static final int VOTEKICKREPLYTYPE_FIELD_NUMBER = 3; private de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.VoteKickReplyType voteKickReplyType_; /** @@ -41069,8 +40013,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -41100,7 +40043,6 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeEnum(3, voteKickReplyType_.getNumber()); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -41121,7 +40063,6 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeEnumSize(3, voteKickReplyType_.getNumber()); } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -41199,9 +40140,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage, Builder> - implements - // @@protoc_insertion_point(builder_implements:VoteKickReplyMessage) - de.pokerth.protocol.ProtoBuf.VoteKickReplyMessageOrBuilder { + implements de.pokerth.protocol.ProtoBuf.VoteKickReplyMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -41271,8 +40210,6 @@ public final class ProtoBuf { if (other.hasVoteKickReplyType()) { setVoteKickReplyType(other.getVoteKickReplyType()); } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -41311,6 +40248,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -41343,6 +40281,7 @@ public final class ProtoBuf { return this; } + // required uint32 petitionId = 2; private int petitionId_ ; /** * required uint32 petitionId = 2; @@ -41375,6 +40314,7 @@ public final class ProtoBuf { return this; } + // required .VoteKickReplyMessage.VoteKickReplyType voteKickReplyType = 3; private de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.VoteKickReplyType voteKickReplyType_ = de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.VoteKickReplyType.voteKickAck; /** * required .VoteKickReplyMessage.VoteKickReplyType voteKickReplyType = 3; @@ -41421,10 +40361,10 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:VoteKickReplyMessage) } - public interface KickPetitionUpdateMessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:KickPetitionUpdateMessage) - com.google.protobuf.MessageLiteOrBuilder { + public interface KickPetitionUpdateMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -41434,6 +40374,7 @@ public final class ProtoBuf { */ int getGameId(); + // required uint32 petitionId = 2; /** * required uint32 petitionId = 2; */ @@ -41443,6 +40384,7 @@ public final class ProtoBuf { */ int getPetitionId(); + // required uint32 numVotesAgainstKicking = 3; /** * required uint32 numVotesAgainstKicking = 3; */ @@ -41452,6 +40394,7 @@ public final class ProtoBuf { */ int getNumVotesAgainstKicking(); + // required uint32 numVotesInFavourOfKicking = 4; /** * required uint32 numVotesInFavourOfKicking = 4; */ @@ -41461,6 +40404,7 @@ public final class ProtoBuf { */ int getNumVotesInFavourOfKicking(); + // required uint32 numVotesNeededToKick = 5; /** * required uint32 numVotesNeededToKick = 5; */ @@ -41474,15 +40418,14 @@ public final class ProtoBuf { * Protobuf type {@code KickPetitionUpdateMessage} */ public static final class KickPetitionUpdateMessage extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:KickPetitionUpdateMessage) - KickPetitionUpdateMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements KickPetitionUpdateMessageOrBuilder { // Use KickPetitionUpdateMessage.newBuilder() to construct. private KickPetitionUpdateMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private KickPetitionUpdateMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private KickPetitionUpdateMessage(boolean noInit) {} private static final KickPetitionUpdateMessage defaultInstance; public static KickPetitionUpdateMessage getDefaultInstance() { @@ -41493,18 +40436,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private KickPetitionUpdateMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -41514,7 +40451,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -41553,13 +40490,6 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -41579,6 +40509,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -41594,6 +40525,7 @@ public final class ProtoBuf { return gameId_; } + // required uint32 petitionId = 2; public static final int PETITIONID_FIELD_NUMBER = 2; private int petitionId_; /** @@ -41609,6 +40541,7 @@ public final class ProtoBuf { return petitionId_; } + // required uint32 numVotesAgainstKicking = 3; public static final int NUMVOTESAGAINSTKICKING_FIELD_NUMBER = 3; private int numVotesAgainstKicking_; /** @@ -41624,6 +40557,7 @@ public final class ProtoBuf { return numVotesAgainstKicking_; } + // required uint32 numVotesInFavourOfKicking = 4; public static final int NUMVOTESINFAVOUROFKICKING_FIELD_NUMBER = 4; private int numVotesInFavourOfKicking_; /** @@ -41639,6 +40573,7 @@ public final class ProtoBuf { return numVotesInFavourOfKicking_; } + // required uint32 numVotesNeededToKick = 5; public static final int NUMVOTESNEEDEDTOKICK_FIELD_NUMBER = 5; private int numVotesNeededToKick_; /** @@ -41664,8 +40599,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -41709,7 +40643,6 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeUInt32(5, numVotesNeededToKick_); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -41738,7 +40671,6 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(5, numVotesNeededToKick_); } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -41816,9 +40748,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage, Builder> - implements - // @@protoc_insertion_point(builder_implements:KickPetitionUpdateMessage) - de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessageOrBuilder { + implements de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -41906,8 +40836,6 @@ public final class ProtoBuf { if (other.hasNumVotesNeededToKick()) { setNumVotesNeededToKick(other.getNumVotesNeededToKick()); } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -41954,6 +40882,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -41986,6 +40915,7 @@ public final class ProtoBuf { return this; } + // required uint32 petitionId = 2; private int petitionId_ ; /** * required uint32 petitionId = 2; @@ -42018,6 +40948,7 @@ public final class ProtoBuf { return this; } + // required uint32 numVotesAgainstKicking = 3; private int numVotesAgainstKicking_ ; /** * required uint32 numVotesAgainstKicking = 3; @@ -42050,6 +40981,7 @@ public final class ProtoBuf { return this; } + // required uint32 numVotesInFavourOfKicking = 4; private int numVotesInFavourOfKicking_ ; /** * required uint32 numVotesInFavourOfKicking = 4; @@ -42082,6 +41014,7 @@ public final class ProtoBuf { return this; } + // required uint32 numVotesNeededToKick = 5; private int numVotesNeededToKick_ ; /** * required uint32 numVotesNeededToKick = 5; @@ -42125,10 +41058,10 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:KickPetitionUpdateMessage) } - public interface EndKickPetitionMessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:EndKickPetitionMessage) - com.google.protobuf.MessageLiteOrBuilder { + public interface EndKickPetitionMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -42138,6 +41071,7 @@ public final class ProtoBuf { */ int getGameId(); + // required uint32 petitionId = 2; /** * required uint32 petitionId = 2; */ @@ -42147,6 +41081,7 @@ public final class ProtoBuf { */ int getPetitionId(); + // required uint32 numVotesAgainstKicking = 3; /** * required uint32 numVotesAgainstKicking = 3; */ @@ -42156,6 +41091,7 @@ public final class ProtoBuf { */ int getNumVotesAgainstKicking(); + // required uint32 numVotesInFavourOfKicking = 4; /** * required uint32 numVotesInFavourOfKicking = 4; */ @@ -42165,6 +41101,7 @@ public final class ProtoBuf { */ int getNumVotesInFavourOfKicking(); + // required uint32 resultPlayerKicked = 5; /** * required uint32 resultPlayerKicked = 5; */ @@ -42174,6 +41111,7 @@ public final class ProtoBuf { */ int getResultPlayerKicked(); + // required .EndKickPetitionMessage.PetitionEndReason petitionEndReason = 6; /** * required .EndKickPetitionMessage.PetitionEndReason petitionEndReason = 6; */ @@ -42187,15 +41125,14 @@ public final class ProtoBuf { * Protobuf type {@code EndKickPetitionMessage} */ public static final class EndKickPetitionMessage extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:EndKickPetitionMessage) - EndKickPetitionMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements EndKickPetitionMessageOrBuilder { // Use EndKickPetitionMessage.newBuilder() to construct. private EndKickPetitionMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private EndKickPetitionMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private EndKickPetitionMessage(boolean noInit) {} private static final EndKickPetitionMessage defaultInstance; public static EndKickPetitionMessage getDefaultInstance() { @@ -42206,18 +41143,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private EndKickPetitionMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -42227,7 +41158,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -42261,10 +41192,7 @@ public final class ProtoBuf { case 48: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.PetitionEndReason value = de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.PetitionEndReason.valueOf(rawValue); - if (value == null) { - unknownFieldsCodedOutput.writeRawVarint32(tag); - unknownFieldsCodedOutput.writeRawVarint32(rawValue); - } else { + if (value != null) { bitField0_ |= 0x00000020; petitionEndReason_ = value; } @@ -42278,13 +41206,6 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -42378,6 +41299,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -42393,6 +41315,7 @@ public final class ProtoBuf { return gameId_; } + // required uint32 petitionId = 2; public static final int PETITIONID_FIELD_NUMBER = 2; private int petitionId_; /** @@ -42408,6 +41331,7 @@ public final class ProtoBuf { return petitionId_; } + // required uint32 numVotesAgainstKicking = 3; public static final int NUMVOTESAGAINSTKICKING_FIELD_NUMBER = 3; private int numVotesAgainstKicking_; /** @@ -42423,6 +41347,7 @@ public final class ProtoBuf { return numVotesAgainstKicking_; } + // required uint32 numVotesInFavourOfKicking = 4; public static final int NUMVOTESINFAVOUROFKICKING_FIELD_NUMBER = 4; private int numVotesInFavourOfKicking_; /** @@ -42438,6 +41363,7 @@ public final class ProtoBuf { return numVotesInFavourOfKicking_; } + // required uint32 resultPlayerKicked = 5; public static final int RESULTPLAYERKICKED_FIELD_NUMBER = 5; private int resultPlayerKicked_; /** @@ -42453,6 +41379,7 @@ public final class ProtoBuf { return resultPlayerKicked_; } + // required .EndKickPetitionMessage.PetitionEndReason petitionEndReason = 6; public static final int PETITIONENDREASON_FIELD_NUMBER = 6; private de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.PetitionEndReason petitionEndReason_; /** @@ -42479,8 +41406,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -42531,7 +41457,6 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeEnum(6, petitionEndReason_.getNumber()); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -42564,7 +41489,6 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeEnumSize(6, petitionEndReason_.getNumber()); } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -42642,9 +41566,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage, Builder> - implements - // @@protoc_insertion_point(builder_implements:EndKickPetitionMessage) - de.pokerth.protocol.ProtoBuf.EndKickPetitionMessageOrBuilder { + implements de.pokerth.protocol.ProtoBuf.EndKickPetitionMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -42741,8 +41663,6 @@ public final class ProtoBuf { if (other.hasPetitionEndReason()) { setPetitionEndReason(other.getPetitionEndReason()); } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -42793,6 +41713,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -42825,6 +41746,7 @@ public final class ProtoBuf { return this; } + // required uint32 petitionId = 2; private int petitionId_ ; /** * required uint32 petitionId = 2; @@ -42857,6 +41779,7 @@ public final class ProtoBuf { return this; } + // required uint32 numVotesAgainstKicking = 3; private int numVotesAgainstKicking_ ; /** * required uint32 numVotesAgainstKicking = 3; @@ -42889,6 +41812,7 @@ public final class ProtoBuf { return this; } + // required uint32 numVotesInFavourOfKicking = 4; private int numVotesInFavourOfKicking_ ; /** * required uint32 numVotesInFavourOfKicking = 4; @@ -42921,6 +41845,7 @@ public final class ProtoBuf { return this; } + // required uint32 resultPlayerKicked = 5; private int resultPlayerKicked_ ; /** * required uint32 resultPlayerKicked = 5; @@ -42953,6 +41878,7 @@ public final class ProtoBuf { return this; } + // required .EndKickPetitionMessage.PetitionEndReason petitionEndReason = 6; private de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.PetitionEndReason petitionEndReason_ = de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.PetitionEndReason.petitionEndEnoughVotes; /** * required .EndKickPetitionMessage.PetitionEndReason petitionEndReason = 6; @@ -42999,10 +41925,10 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:EndKickPetitionMessage) } - public interface StatisticsMessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:StatisticsMessage) - com.google.protobuf.MessageLiteOrBuilder { + public interface StatisticsMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // repeated .StatisticsMessage.StatisticsData statisticsData = 1; /** * repeated .StatisticsMessage.StatisticsData statisticsData = 1; */ @@ -43021,15 +41947,14 @@ public final class ProtoBuf { * Protobuf type {@code StatisticsMessage} */ public static final class StatisticsMessage extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:StatisticsMessage) - StatisticsMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements StatisticsMessageOrBuilder { // Use StatisticsMessage.newBuilder() to construct. private StatisticsMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private StatisticsMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private StatisticsMessage(boolean noInit) {} private static final StatisticsMessage defaultInstance; public static StatisticsMessage getDefaultInstance() { @@ -43040,18 +41965,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private StatisticsMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -43061,7 +41980,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -43086,13 +42005,6 @@ public final class ProtoBuf { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { statisticsData_ = java.util.Collections.unmodifiableList(statisticsData_); } - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -43111,10 +42023,10 @@ public final class ProtoBuf { return PARSER; } - public interface StatisticsDataOrBuilder extends - // @@protoc_insertion_point(interface_extends:StatisticsMessage.StatisticsData) - com.google.protobuf.MessageLiteOrBuilder { + public interface StatisticsDataOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // required .StatisticsMessage.StatisticsData.StatisticsType statisticsType = 1; /** * required .StatisticsMessage.StatisticsData.StatisticsType statisticsType = 1; */ @@ -43124,6 +42036,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData.StatisticsType getStatisticsType(); + // required uint32 statisticsValue = 2; /** * required uint32 statisticsValue = 2; */ @@ -43137,15 +42050,14 @@ public final class ProtoBuf { * Protobuf type {@code StatisticsMessage.StatisticsData} */ public static final class StatisticsData extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:StatisticsMessage.StatisticsData) - StatisticsDataOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements StatisticsDataOrBuilder { // Use StatisticsData.newBuilder() to construct. private StatisticsData(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private StatisticsData(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private StatisticsData(boolean noInit) {} private static final StatisticsData defaultInstance; public static StatisticsData getDefaultInstance() { @@ -43156,18 +42068,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private StatisticsData( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -43177,7 +42083,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -43186,10 +42092,7 @@ public final class ProtoBuf { case 8: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData.StatisticsType value = de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData.StatisticsType.valueOf(rawValue); - if (value == null) { - unknownFieldsCodedOutput.writeRawVarint32(tag); - unknownFieldsCodedOutput.writeRawVarint32(rawValue); - } else { + if (value != null) { bitField0_ |= 0x00000001; statisticsType_ = value; } @@ -43208,13 +42111,6 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -43281,6 +42177,7 @@ 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_; /** @@ -43296,6 +42193,7 @@ public final class ProtoBuf { return statisticsType_; } + // required uint32 statisticsValue = 2; public static final int STATISTICSVALUE_FIELD_NUMBER = 2; private int statisticsValue_; /** @@ -43318,8 +42216,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasStatisticsType()) { memoizedIsInitialized = 0; @@ -43342,7 +42239,6 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt32(2, statisticsValue_); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -43359,7 +42255,6 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, statisticsValue_); } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -43437,9 +42332,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData, Builder> - implements - // @@protoc_insertion_point(builder_implements:StatisticsMessage.StatisticsData) - de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsDataOrBuilder { + implements de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsDataOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -43500,8 +42393,6 @@ public final class ProtoBuf { if (other.hasStatisticsValue()) { setStatisticsValue(other.getStatisticsValue()); } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -43536,6 +42427,7 @@ 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; /** * required .StatisticsMessage.StatisticsData.StatisticsType statisticsType = 1; @@ -43571,6 +42463,7 @@ public final class ProtoBuf { return this; } + // required uint32 statisticsValue = 2; private int statisticsValue_ ; /** * required uint32 statisticsValue = 2; @@ -43614,6 +42507,7 @@ public final class ProtoBuf { // @@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_; /** @@ -43655,8 +42549,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; for (int i = 0; i < getStatisticsDataCount(); i++) { if (!getStatisticsData(i).isInitialized()) { @@ -43674,7 +42567,6 @@ public final class ProtoBuf { for (int i = 0; i < statisticsData_.size(); i++) { output.writeMessage(1, statisticsData_.get(i)); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -43687,7 +42579,6 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, statisticsData_.get(i)); } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -43765,9 +42656,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.StatisticsMessage, Builder> - implements - // @@protoc_insertion_point(builder_implements:StatisticsMessage) - de.pokerth.protocol.ProtoBuf.StatisticsMessageOrBuilder { + implements de.pokerth.protocol.ProtoBuf.StatisticsMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.StatisticsMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -43825,8 +42714,6 @@ public final class ProtoBuf { } } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -43859,6 +42746,7 @@ public final class ProtoBuf { } private int bitField0_; + // repeated .StatisticsMessage.StatisticsData statisticsData = 1; private java.util.List statisticsData_ = java.util.Collections.emptyList(); private void ensureStatisticsDataIsMutable() { @@ -43960,8 +42848,7 @@ public final class ProtoBuf { public Builder addAllStatisticsData( java.lang.Iterable values) { ensureStatisticsDataIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, statisticsData_); + super.addAll(values, statisticsData_); return this; } @@ -43995,10 +42882,10 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:StatisticsMessage) } - public interface ChatRequestMessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:ChatRequestMessage) - com.google.protobuf.MessageLiteOrBuilder { + public interface ChatRequestMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // optional uint32 targetGameId = 1; /** * optional uint32 targetGameId = 1; */ @@ -44008,6 +42895,7 @@ public final class ProtoBuf { */ int getTargetGameId(); + // optional uint32 targetPlayerId = 2; /** * optional uint32 targetPlayerId = 2; */ @@ -44017,6 +42905,7 @@ public final class ProtoBuf { */ int getTargetPlayerId(); + // required string chatText = 3; /** * required string chatText = 3; */ @@ -44035,15 +42924,14 @@ public final class ProtoBuf { * Protobuf type {@code ChatRequestMessage} */ public static final class ChatRequestMessage extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:ChatRequestMessage) - ChatRequestMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements ChatRequestMessageOrBuilder { // Use ChatRequestMessage.newBuilder() to construct. private ChatRequestMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private ChatRequestMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private ChatRequestMessage(boolean noInit) {} private static final ChatRequestMessage defaultInstance; public static ChatRequestMessage getDefaultInstance() { @@ -44054,18 +42942,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private ChatRequestMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -44075,7 +42957,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -44092,9 +42974,8 @@ public final class ProtoBuf { break; } case 26: { - com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; - chatText_ = bs; + chatText_ = input.readBytes(); break; } } @@ -44105,13 +42986,6 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -44131,6 +43005,7 @@ public final class ProtoBuf { } private int bitField0_; + // optional uint32 targetGameId = 1; public static final int TARGETGAMEID_FIELD_NUMBER = 1; private int targetGameId_; /** @@ -44146,6 +43021,7 @@ public final class ProtoBuf { return targetGameId_; } + // optional uint32 targetPlayerId = 2; public static final int TARGETPLAYERID_FIELD_NUMBER = 2; private int targetPlayerId_; /** @@ -44161,6 +43037,7 @@ public final class ProtoBuf { return targetPlayerId_; } + // required string chatText = 3; public static final int CHATTEXT_FIELD_NUMBER = 3; private java.lang.Object chatText_; /** @@ -44211,8 +43088,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasChatText()) { memoizedIsInitialized = 0; @@ -44234,7 +43110,6 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBytes(3, getChatTextBytes()); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -44255,7 +43130,6 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, getChatTextBytes()); } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -44333,9 +43207,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.ChatRequestMessage, Builder> - implements - // @@protoc_insertion_point(builder_implements:ChatRequestMessage) - de.pokerth.protocol.ProtoBuf.ChatRequestMessageOrBuilder { + implements de.pokerth.protocol.ProtoBuf.ChatRequestMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.ChatRequestMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -44407,8 +43279,6 @@ public final class ProtoBuf { chatText_ = other.chatText_; } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -44439,6 +43309,7 @@ public final class ProtoBuf { } private int bitField0_; + // optional uint32 targetGameId = 1; private int targetGameId_ ; /** * optional uint32 targetGameId = 1; @@ -44471,6 +43342,7 @@ public final class ProtoBuf { return this; } + // optional uint32 targetPlayerId = 2; private int targetPlayerId_ ; /** * optional uint32 targetPlayerId = 2; @@ -44503,6 +43375,7 @@ public final class ProtoBuf { return this; } + // required string chatText = 3; private java.lang.Object chatText_ = ""; /** * required string chatText = 3; @@ -44516,12 +43389,9 @@ public final class ProtoBuf { public java.lang.String getChatText() { java.lang.Object ref = chatText_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - chatText_ = s; - } + java.lang.String s = ((com.google.protobuf.ByteString) ref) + .toStringUtf8(); + chatText_ = s; return s; } else { return (java.lang.String) ref; @@ -44590,10 +43460,10 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:ChatRequestMessage) } - public interface ChatMessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:ChatMessage) - com.google.protobuf.MessageLiteOrBuilder { + public interface ChatMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // optional uint32 gameId = 1; /** * optional uint32 gameId = 1; */ @@ -44603,6 +43473,7 @@ public final class ProtoBuf { */ int getGameId(); + // optional uint32 playerId = 2; /** * optional uint32 playerId = 2; */ @@ -44612,6 +43483,7 @@ public final class ProtoBuf { */ int getPlayerId(); + // required .ChatMessage.ChatType chatType = 3; /** * required .ChatMessage.ChatType chatType = 3; */ @@ -44621,6 +43493,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.ChatMessage.ChatType getChatType(); + // required string chatText = 4; /** * required string chatText = 4; */ @@ -44639,15 +43512,14 @@ public final class ProtoBuf { * Protobuf type {@code ChatMessage} */ public static final class ChatMessage extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:ChatMessage) - ChatMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements ChatMessageOrBuilder { // Use ChatMessage.newBuilder() to construct. private ChatMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private ChatMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private ChatMessage(boolean noInit) {} private static final ChatMessage defaultInstance; public static ChatMessage getDefaultInstance() { @@ -44658,18 +43530,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private ChatMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -44679,7 +43545,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -44698,19 +43564,15 @@ public final class ProtoBuf { case 24: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.ChatMessage.ChatType value = de.pokerth.protocol.ProtoBuf.ChatMessage.ChatType.valueOf(rawValue); - if (value == null) { - unknownFieldsCodedOutput.writeRawVarint32(tag); - unknownFieldsCodedOutput.writeRawVarint32(rawValue); - } else { + if (value != null) { bitField0_ |= 0x00000004; chatType_ = value; } break; } case 34: { - com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000008; - chatText_ = bs; + chatText_ = input.readBytes(); break; } } @@ -44721,13 +43583,6 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -44830,6 +43685,7 @@ public final class ProtoBuf { } private int bitField0_; + // optional uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -44845,6 +43701,7 @@ public final class ProtoBuf { return gameId_; } + // optional uint32 playerId = 2; public static final int PLAYERID_FIELD_NUMBER = 2; private int playerId_; /** @@ -44860,6 +43717,7 @@ public final class ProtoBuf { return playerId_; } + // required .ChatMessage.ChatType chatType = 3; public static final int CHATTYPE_FIELD_NUMBER = 3; private de.pokerth.protocol.ProtoBuf.ChatMessage.ChatType chatType_; /** @@ -44875,6 +43733,7 @@ public final class ProtoBuf { return chatType_; } + // required string chatText = 4; public static final int CHATTEXT_FIELD_NUMBER = 4; private java.lang.Object chatText_; /** @@ -44926,8 +43785,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasChatType()) { memoizedIsInitialized = 0; @@ -44956,7 +43814,6 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeBytes(4, getChatTextBytes()); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -44981,7 +43838,6 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeBytesSize(4, getChatTextBytes()); } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -45059,9 +43915,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.ChatMessage, Builder> - implements - // @@protoc_insertion_point(builder_implements:ChatMessage) - de.pokerth.protocol.ProtoBuf.ChatMessageOrBuilder { + implements de.pokerth.protocol.ProtoBuf.ChatMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.ChatMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -45142,8 +43996,6 @@ public final class ProtoBuf { chatText_ = other.chatText_; } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -45178,6 +44030,7 @@ public final class ProtoBuf { } private int bitField0_; + // optional uint32 gameId = 1; private int gameId_ ; /** * optional uint32 gameId = 1; @@ -45210,6 +44063,7 @@ public final class ProtoBuf { return this; } + // optional uint32 playerId = 2; private int playerId_ ; /** * optional uint32 playerId = 2; @@ -45242,6 +44096,7 @@ public final class ProtoBuf { return this; } + // required .ChatMessage.ChatType chatType = 3; private de.pokerth.protocol.ProtoBuf.ChatMessage.ChatType chatType_ = de.pokerth.protocol.ProtoBuf.ChatMessage.ChatType.chatTypeLobby; /** * required .ChatMessage.ChatType chatType = 3; @@ -45277,6 +44132,7 @@ public final class ProtoBuf { return this; } + // required string chatText = 4; private java.lang.Object chatText_ = ""; /** * required string chatText = 4; @@ -45290,12 +44146,9 @@ public final class ProtoBuf { public java.lang.String getChatText() { java.lang.Object ref = chatText_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - chatText_ = s; - } + java.lang.String s = ((com.google.protobuf.ByteString) ref) + .toStringUtf8(); + chatText_ = s; return s; } else { return (java.lang.String) ref; @@ -45364,10 +44217,10 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:ChatMessage) } - public interface ChatRejectMessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:ChatRejectMessage) - com.google.protobuf.MessageLiteOrBuilder { + public interface ChatRejectMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // required string chatText = 1; /** * required string chatText = 1; */ @@ -45386,15 +44239,14 @@ public final class ProtoBuf { * Protobuf type {@code ChatRejectMessage} */ public static final class ChatRejectMessage extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:ChatRejectMessage) - ChatRejectMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements ChatRejectMessageOrBuilder { // Use ChatRejectMessage.newBuilder() to construct. private ChatRejectMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private ChatRejectMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private ChatRejectMessage(boolean noInit) {} private static final ChatRejectMessage defaultInstance; public static ChatRejectMessage getDefaultInstance() { @@ -45405,18 +44257,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private ChatRejectMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -45426,16 +44272,15 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } break; } case 10: { - com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; - chatText_ = bs; + chatText_ = input.readBytes(); break; } } @@ -45446,13 +44291,6 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -45472,6 +44310,7 @@ public final class ProtoBuf { } private int bitField0_; + // required string chatText = 1; public static final int CHATTEXT_FIELD_NUMBER = 1; private java.lang.Object chatText_; /** @@ -45520,8 +44359,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasChatText()) { memoizedIsInitialized = 0; @@ -45537,7 +44375,6 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, getChatTextBytes()); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -45550,7 +44387,6 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, getChatTextBytes()); } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -45628,9 +44464,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.ChatRejectMessage, Builder> - implements - // @@protoc_insertion_point(builder_implements:ChatRejectMessage) - de.pokerth.protocol.ProtoBuf.ChatRejectMessageOrBuilder { + implements de.pokerth.protocol.ProtoBuf.ChatRejectMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.ChatRejectMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -45684,8 +44518,6 @@ public final class ProtoBuf { chatText_ = other.chatText_; } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -45716,6 +44548,7 @@ public final class ProtoBuf { } private int bitField0_; + // required string chatText = 1; private java.lang.Object chatText_ = ""; /** * required string chatText = 1; @@ -45729,12 +44562,9 @@ public final class ProtoBuf { public java.lang.String getChatText() { java.lang.Object ref = chatText_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - chatText_ = s; - } + java.lang.String s = ((com.google.protobuf.ByteString) ref) + .toStringUtf8(); + chatText_ = s; return s; } else { return (java.lang.String) ref; @@ -45803,10 +44633,10 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:ChatRejectMessage) } - public interface DialogMessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:DialogMessage) - com.google.protobuf.MessageLiteOrBuilder { + public interface DialogMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // required string notificationText = 1; /** * required string notificationText = 1; */ @@ -45825,15 +44655,14 @@ public final class ProtoBuf { * Protobuf type {@code DialogMessage} */ public static final class DialogMessage extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:DialogMessage) - DialogMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements DialogMessageOrBuilder { // Use DialogMessage.newBuilder() to construct. private DialogMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private DialogMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private DialogMessage(boolean noInit) {} private static final DialogMessage defaultInstance; public static DialogMessage getDefaultInstance() { @@ -45844,18 +44673,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private DialogMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -45865,16 +44688,15 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } break; } case 10: { - com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; - notificationText_ = bs; + notificationText_ = input.readBytes(); break; } } @@ -45885,13 +44707,6 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -45911,6 +44726,7 @@ public final class ProtoBuf { } private int bitField0_; + // required string notificationText = 1; public static final int NOTIFICATIONTEXT_FIELD_NUMBER = 1; private java.lang.Object notificationText_; /** @@ -45959,8 +44775,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasNotificationText()) { memoizedIsInitialized = 0; @@ -45976,7 +44791,6 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, getNotificationTextBytes()); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -45989,7 +44803,6 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, getNotificationTextBytes()); } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -46067,9 +44880,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.DialogMessage, Builder> - implements - // @@protoc_insertion_point(builder_implements:DialogMessage) - de.pokerth.protocol.ProtoBuf.DialogMessageOrBuilder { + implements de.pokerth.protocol.ProtoBuf.DialogMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.DialogMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -46123,8 +44934,6 @@ public final class ProtoBuf { notificationText_ = other.notificationText_; } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -46155,6 +44964,7 @@ public final class ProtoBuf { } private int bitField0_; + // required string notificationText = 1; private java.lang.Object notificationText_ = ""; /** * required string notificationText = 1; @@ -46168,12 +44978,9 @@ public final class ProtoBuf { public java.lang.String getNotificationText() { java.lang.Object ref = notificationText_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - notificationText_ = s; - } + java.lang.String s = ((com.google.protobuf.ByteString) ref) + .toStringUtf8(); + notificationText_ = s; return s; } else { return (java.lang.String) ref; @@ -46242,10 +45049,10 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:DialogMessage) } - public interface TimeoutWarningMessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:TimeoutWarningMessage) - com.google.protobuf.MessageLiteOrBuilder { + public interface TimeoutWarningMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // required .TimeoutWarningMessage.TimeoutReason timeoutReason = 1; /** * required .TimeoutWarningMessage.TimeoutReason timeoutReason = 1; */ @@ -46255,6 +45062,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.TimeoutReason getTimeoutReason(); + // required uint32 remainingSeconds = 2; /** * required uint32 remainingSeconds = 2; */ @@ -46268,15 +45076,14 @@ public final class ProtoBuf { * Protobuf type {@code TimeoutWarningMessage} */ public static final class TimeoutWarningMessage extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:TimeoutWarningMessage) - TimeoutWarningMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements TimeoutWarningMessageOrBuilder { // Use TimeoutWarningMessage.newBuilder() to construct. private TimeoutWarningMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private TimeoutWarningMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private TimeoutWarningMessage(boolean noInit) {} private static final TimeoutWarningMessage defaultInstance; public static TimeoutWarningMessage getDefaultInstance() { @@ -46287,18 +45094,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private TimeoutWarningMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -46308,7 +45109,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -46317,10 +45118,7 @@ public final class ProtoBuf { case 8: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.TimeoutReason value = de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.TimeoutReason.valueOf(rawValue); - if (value == null) { - unknownFieldsCodedOutput.writeRawVarint32(tag); - unknownFieldsCodedOutput.writeRawVarint32(rawValue); - } else { + if (value != null) { bitField0_ |= 0x00000001; timeoutReason_ = value; } @@ -46339,13 +45137,6 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -46430,6 +45221,7 @@ 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_; /** @@ -46445,6 +45237,7 @@ public final class ProtoBuf { return timeoutReason_; } + // required uint32 remainingSeconds = 2; public static final int REMAININGSECONDS_FIELD_NUMBER = 2; private int remainingSeconds_; /** @@ -46467,8 +45260,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasTimeoutReason()) { memoizedIsInitialized = 0; @@ -46491,7 +45283,6 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt32(2, remainingSeconds_); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -46508,7 +45299,6 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, remainingSeconds_); } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -46586,9 +45376,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage, Builder> - implements - // @@protoc_insertion_point(builder_implements:TimeoutWarningMessage) - de.pokerth.protocol.ProtoBuf.TimeoutWarningMessageOrBuilder { + implements de.pokerth.protocol.ProtoBuf.TimeoutWarningMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -46649,8 +45437,6 @@ public final class ProtoBuf { if (other.hasRemainingSeconds()) { setRemainingSeconds(other.getRemainingSeconds()); } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -46685,6 +45471,7 @@ 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; /** * required .TimeoutWarningMessage.TimeoutReason timeoutReason = 1; @@ -46720,6 +45507,7 @@ public final class ProtoBuf { return this; } + // required uint32 remainingSeconds = 2; private int remainingSeconds_ ; /** * required uint32 remainingSeconds = 2; @@ -46763,23 +45551,21 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:TimeoutWarningMessage) } - public interface ResetTimeoutMessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:ResetTimeoutMessage) - com.google.protobuf.MessageLiteOrBuilder { + public interface ResetTimeoutMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { } /** * Protobuf type {@code ResetTimeoutMessage} */ public static final class ResetTimeoutMessage extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:ResetTimeoutMessage) - ResetTimeoutMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements ResetTimeoutMessageOrBuilder { // Use ResetTimeoutMessage.newBuilder() to construct. private ResetTimeoutMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private ResetTimeoutMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private ResetTimeoutMessage(boolean noInit) {} private static final ResetTimeoutMessage defaultInstance; public static ResetTimeoutMessage getDefaultInstance() { @@ -46790,17 +45576,11 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private ResetTimeoutMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -46810,7 +45590,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -46824,13 +45604,6 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -46854,8 +45627,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; memoizedIsInitialized = 1; return true; @@ -46864,7 +45636,6 @@ public final class ProtoBuf { public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -46873,7 +45644,6 @@ public final class ProtoBuf { if (size != -1) return size; size = 0; - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -46951,9 +45721,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage, Builder> - implements - // @@protoc_insertion_point(builder_implements:ResetTimeoutMessage) - de.pokerth.protocol.ProtoBuf.ResetTimeoutMessageOrBuilder { + implements de.pokerth.protocol.ProtoBuf.ResetTimeoutMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -46993,8 +45761,6 @@ public final class ProtoBuf { public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage other) { if (other == de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage.getDefaultInstance()) return this; - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -47031,10 +45797,10 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:ResetTimeoutMessage) } - public interface ReportAvatarMessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:ReportAvatarMessage) - com.google.protobuf.MessageLiteOrBuilder { + public interface ReportAvatarMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // required uint32 reportedPlayerId = 1; /** * required uint32 reportedPlayerId = 1; */ @@ -47044,6 +45810,7 @@ public final class ProtoBuf { */ int getReportedPlayerId(); + // required bytes reportedAvatarHash = 2; /** * required bytes reportedAvatarHash = 2; */ @@ -47057,15 +45824,14 @@ public final class ProtoBuf { * Protobuf type {@code ReportAvatarMessage} */ public static final class ReportAvatarMessage extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:ReportAvatarMessage) - ReportAvatarMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements ReportAvatarMessageOrBuilder { // Use ReportAvatarMessage.newBuilder() to construct. private ReportAvatarMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private ReportAvatarMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private ReportAvatarMessage(boolean noInit) {} private static final ReportAvatarMessage defaultInstance; public static ReportAvatarMessage getDefaultInstance() { @@ -47076,18 +45842,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private ReportAvatarMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -47097,7 +45857,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -47121,13 +45881,6 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -47147,6 +45900,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 reportedPlayerId = 1; public static final int REPORTEDPLAYERID_FIELD_NUMBER = 1; private int reportedPlayerId_; /** @@ -47162,6 +45916,7 @@ public final class ProtoBuf { return reportedPlayerId_; } + // required bytes reportedAvatarHash = 2; public static final int REPORTEDAVATARHASH_FIELD_NUMBER = 2; private com.google.protobuf.ByteString reportedAvatarHash_; /** @@ -47184,8 +45939,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasReportedPlayerId()) { memoizedIsInitialized = 0; @@ -47208,7 +45962,6 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, reportedAvatarHash_); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -47225,7 +45978,6 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, reportedAvatarHash_); } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -47303,9 +46055,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.ReportAvatarMessage, Builder> - implements - // @@protoc_insertion_point(builder_implements:ReportAvatarMessage) - de.pokerth.protocol.ProtoBuf.ReportAvatarMessageOrBuilder { + implements de.pokerth.protocol.ProtoBuf.ReportAvatarMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.ReportAvatarMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -47366,8 +46116,6 @@ public final class ProtoBuf { if (other.hasReportedAvatarHash()) { setReportedAvatarHash(other.getReportedAvatarHash()); } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -47402,6 +46150,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 reportedPlayerId = 1; private int reportedPlayerId_ ; /** * required uint32 reportedPlayerId = 1; @@ -47434,6 +46183,7 @@ public final class ProtoBuf { return this; } + // required bytes reportedAvatarHash = 2; private com.google.protobuf.ByteString reportedAvatarHash_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes reportedAvatarHash = 2; @@ -47480,10 +46230,10 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:ReportAvatarMessage) } - public interface ReportAvatarAckMessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:ReportAvatarAckMessage) - com.google.protobuf.MessageLiteOrBuilder { + public interface ReportAvatarAckMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // required uint32 reportedPlayerId = 1; /** * required uint32 reportedPlayerId = 1; */ @@ -47493,6 +46243,7 @@ public final class ProtoBuf { */ int getReportedPlayerId(); + // required .ReportAvatarAckMessage.ReportAvatarResult reportAvatarResult = 2; /** * required .ReportAvatarAckMessage.ReportAvatarResult reportAvatarResult = 2; */ @@ -47506,15 +46257,14 @@ public final class ProtoBuf { * Protobuf type {@code ReportAvatarAckMessage} */ public static final class ReportAvatarAckMessage extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:ReportAvatarAckMessage) - ReportAvatarAckMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements ReportAvatarAckMessageOrBuilder { // Use ReportAvatarAckMessage.newBuilder() to construct. private ReportAvatarAckMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private ReportAvatarAckMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private ReportAvatarAckMessage(boolean noInit) {} private static final ReportAvatarAckMessage defaultInstance; public static ReportAvatarAckMessage getDefaultInstance() { @@ -47525,18 +46275,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private ReportAvatarAckMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -47546,7 +46290,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -47560,10 +46304,7 @@ public final class ProtoBuf { case 16: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.ReportAvatarResult value = de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.ReportAvatarResult.valueOf(rawValue); - if (value == null) { - unknownFieldsCodedOutput.writeRawVarint32(tag); - unknownFieldsCodedOutput.writeRawVarint32(rawValue); - } else { + if (value != null) { bitField0_ |= 0x00000002; reportAvatarResult_ = value; } @@ -47577,13 +46318,6 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -47668,6 +46402,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 reportedPlayerId = 1; public static final int REPORTEDPLAYERID_FIELD_NUMBER = 1; private int reportedPlayerId_; /** @@ -47683,6 +46418,7 @@ public final class ProtoBuf { return reportedPlayerId_; } + // required .ReportAvatarAckMessage.ReportAvatarResult reportAvatarResult = 2; public static final int REPORTAVATARRESULT_FIELD_NUMBER = 2; private de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.ReportAvatarResult reportAvatarResult_; /** @@ -47705,8 +46441,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasReportedPlayerId()) { memoizedIsInitialized = 0; @@ -47729,7 +46464,6 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeEnum(2, reportAvatarResult_.getNumber()); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -47746,7 +46480,6 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, reportAvatarResult_.getNumber()); } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -47824,9 +46557,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage, Builder> - implements - // @@protoc_insertion_point(builder_implements:ReportAvatarAckMessage) - de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessageOrBuilder { + implements de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -47887,8 +46618,6 @@ public final class ProtoBuf { if (other.hasReportAvatarResult()) { setReportAvatarResult(other.getReportAvatarResult()); } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -47923,6 +46652,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 reportedPlayerId = 1; private int reportedPlayerId_ ; /** * required uint32 reportedPlayerId = 1; @@ -47955,6 +46685,7 @@ public final class ProtoBuf { return this; } + // required .ReportAvatarAckMessage.ReportAvatarResult reportAvatarResult = 2; private de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.ReportAvatarResult reportAvatarResult_ = de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.ReportAvatarResult.avatarReportAccepted; /** * required .ReportAvatarAckMessage.ReportAvatarResult reportAvatarResult = 2; @@ -48001,10 +46732,10 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:ReportAvatarAckMessage) } - public interface ReportGameMessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:ReportGameMessage) - com.google.protobuf.MessageLiteOrBuilder { + public interface ReportGameMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // required uint32 reportedGameId = 1; /** * required uint32 reportedGameId = 1; */ @@ -48018,15 +46749,14 @@ public final class ProtoBuf { * Protobuf type {@code ReportGameMessage} */ public static final class ReportGameMessage extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:ReportGameMessage) - ReportGameMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements ReportGameMessageOrBuilder { // Use ReportGameMessage.newBuilder() to construct. private ReportGameMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private ReportGameMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private ReportGameMessage(boolean noInit) {} private static final ReportGameMessage defaultInstance; public static ReportGameMessage getDefaultInstance() { @@ -48037,18 +46767,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private ReportGameMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -48058,7 +46782,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -48077,13 +46801,6 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -48103,6 +46820,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 reportedGameId = 1; public static final int REPORTEDGAMEID_FIELD_NUMBER = 1; private int reportedGameId_; /** @@ -48124,8 +46842,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasReportedGameId()) { memoizedIsInitialized = 0; @@ -48141,7 +46858,6 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeUInt32(1, reportedGameId_); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -48154,7 +46870,6 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, reportedGameId_); } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -48232,9 +46947,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.ReportGameMessage, Builder> - implements - // @@protoc_insertion_point(builder_implements:ReportGameMessage) - de.pokerth.protocol.ProtoBuf.ReportGameMessageOrBuilder { + implements de.pokerth.protocol.ProtoBuf.ReportGameMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.ReportGameMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -48286,8 +46999,6 @@ public final class ProtoBuf { if (other.hasReportedGameId()) { setReportedGameId(other.getReportedGameId()); } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -48318,6 +47029,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 reportedGameId = 1; private int reportedGameId_ ; /** * required uint32 reportedGameId = 1; @@ -48361,10 +47073,10 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:ReportGameMessage) } - public interface ReportGameAckMessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:ReportGameAckMessage) - com.google.protobuf.MessageLiteOrBuilder { + public interface ReportGameAckMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // required uint32 reportedGameId = 1; /** * required uint32 reportedGameId = 1; */ @@ -48374,6 +47086,7 @@ public final class ProtoBuf { */ int getReportedGameId(); + // required .ReportGameAckMessage.ReportGameResult reportGameResult = 2; /** * required .ReportGameAckMessage.ReportGameResult reportGameResult = 2; */ @@ -48387,15 +47100,14 @@ public final class ProtoBuf { * Protobuf type {@code ReportGameAckMessage} */ public static final class ReportGameAckMessage extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:ReportGameAckMessage) - ReportGameAckMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements ReportGameAckMessageOrBuilder { // Use ReportGameAckMessage.newBuilder() to construct. private ReportGameAckMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private ReportGameAckMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private ReportGameAckMessage(boolean noInit) {} private static final ReportGameAckMessage defaultInstance; public static ReportGameAckMessage getDefaultInstance() { @@ -48406,18 +47118,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private ReportGameAckMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -48427,7 +47133,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -48441,10 +47147,7 @@ public final class ProtoBuf { case 16: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.ReportGameResult value = de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.ReportGameResult.valueOf(rawValue); - if (value == null) { - unknownFieldsCodedOutput.writeRawVarint32(tag); - unknownFieldsCodedOutput.writeRawVarint32(rawValue); - } else { + if (value != null) { bitField0_ |= 0x00000002; reportGameResult_ = value; } @@ -48458,13 +47161,6 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -48549,6 +47245,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 reportedGameId = 1; public static final int REPORTEDGAMEID_FIELD_NUMBER = 1; private int reportedGameId_; /** @@ -48564,6 +47261,7 @@ public final class ProtoBuf { return reportedGameId_; } + // required .ReportGameAckMessage.ReportGameResult reportGameResult = 2; public static final int REPORTGAMERESULT_FIELD_NUMBER = 2; private de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.ReportGameResult reportGameResult_; /** @@ -48586,8 +47284,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasReportedGameId()) { memoizedIsInitialized = 0; @@ -48610,7 +47307,6 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeEnum(2, reportGameResult_.getNumber()); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -48627,7 +47323,6 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, reportGameResult_.getNumber()); } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -48705,9 +47400,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.ReportGameAckMessage, Builder> - implements - // @@protoc_insertion_point(builder_implements:ReportGameAckMessage) - de.pokerth.protocol.ProtoBuf.ReportGameAckMessageOrBuilder { + implements de.pokerth.protocol.ProtoBuf.ReportGameAckMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -48768,8 +47461,6 @@ public final class ProtoBuf { if (other.hasReportGameResult()) { setReportGameResult(other.getReportGameResult()); } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -48804,6 +47495,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 reportedGameId = 1; private int reportedGameId_ ; /** * required uint32 reportedGameId = 1; @@ -48836,6 +47528,7 @@ public final class ProtoBuf { return this; } + // required .ReportGameAckMessage.ReportGameResult reportGameResult = 2; private de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.ReportGameResult reportGameResult_ = de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.ReportGameResult.gameReportAccepted; /** * required .ReportGameAckMessage.ReportGameResult reportGameResult = 2; @@ -48882,10 +47575,10 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:ReportGameAckMessage) } - public interface ErrorMessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:ErrorMessage) - com.google.protobuf.MessageLiteOrBuilder { + public interface ErrorMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // required .ErrorMessage.ErrorReason errorReason = 1; /** * required .ErrorMessage.ErrorReason errorReason = 1; */ @@ -48899,15 +47592,14 @@ public final class ProtoBuf { * Protobuf type {@code ErrorMessage} */ public static final class ErrorMessage extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:ErrorMessage) - ErrorMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements ErrorMessageOrBuilder { // Use ErrorMessage.newBuilder() to construct. private ErrorMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private ErrorMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private ErrorMessage(boolean noInit) {} private static final ErrorMessage defaultInstance; public static ErrorMessage getDefaultInstance() { @@ -48918,18 +47610,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private ErrorMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -48939,7 +47625,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -48948,10 +47634,7 @@ public final class ProtoBuf { case 8: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.ErrorMessage.ErrorReason value = de.pokerth.protocol.ProtoBuf.ErrorMessage.ErrorReason.valueOf(rawValue); - if (value == null) { - unknownFieldsCodedOutput.writeRawVarint32(tag); - unknownFieldsCodedOutput.writeRawVarint32(rawValue); - } else { + if (value != null) { bitField0_ |= 0x00000001; errorReason_ = value; } @@ -48965,13 +47648,6 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -49164,6 +47840,7 @@ 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_; /** @@ -49185,8 +47862,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasErrorReason()) { memoizedIsInitialized = 0; @@ -49202,7 +47878,6 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeEnum(1, errorReason_.getNumber()); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -49215,7 +47890,6 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, errorReason_.getNumber()); } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -49293,9 +47967,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.ErrorMessage, Builder> - implements - // @@protoc_insertion_point(builder_implements:ErrorMessage) - de.pokerth.protocol.ProtoBuf.ErrorMessageOrBuilder { + implements de.pokerth.protocol.ProtoBuf.ErrorMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.ErrorMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -49347,8 +48019,6 @@ public final class ProtoBuf { if (other.hasErrorReason()) { setErrorReason(other.getErrorReason()); } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -49379,6 +48049,7 @@ 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.reserved; /** * required .ErrorMessage.ErrorReason errorReason = 1; @@ -49425,10 +48096,10 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:ErrorMessage) } - public interface AdminRemoveGameMessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:AdminRemoveGameMessage) - com.google.protobuf.MessageLiteOrBuilder { + public interface AdminRemoveGameMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // required uint32 removeGameId = 1; /** * required uint32 removeGameId = 1; */ @@ -49442,15 +48113,14 @@ public final class ProtoBuf { * Protobuf type {@code AdminRemoveGameMessage} */ public static final class AdminRemoveGameMessage extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:AdminRemoveGameMessage) - AdminRemoveGameMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements AdminRemoveGameMessageOrBuilder { // Use AdminRemoveGameMessage.newBuilder() to construct. private AdminRemoveGameMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private AdminRemoveGameMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private AdminRemoveGameMessage(boolean noInit) {} private static final AdminRemoveGameMessage defaultInstance; public static AdminRemoveGameMessage getDefaultInstance() { @@ -49461,18 +48131,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private AdminRemoveGameMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -49482,7 +48146,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -49501,13 +48165,6 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -49527,6 +48184,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 removeGameId = 1; public static final int REMOVEGAMEID_FIELD_NUMBER = 1; private int removeGameId_; /** @@ -49548,8 +48206,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasRemoveGameId()) { memoizedIsInitialized = 0; @@ -49565,7 +48222,6 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeUInt32(1, removeGameId_); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -49578,7 +48234,6 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, removeGameId_); } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -49656,9 +48311,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage, Builder> - implements - // @@protoc_insertion_point(builder_implements:AdminRemoveGameMessage) - de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessageOrBuilder { + implements de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -49710,8 +48363,6 @@ public final class ProtoBuf { if (other.hasRemoveGameId()) { setRemoveGameId(other.getRemoveGameId()); } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -49742,6 +48393,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 removeGameId = 1; private int removeGameId_ ; /** * required uint32 removeGameId = 1; @@ -49785,10 +48437,10 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:AdminRemoveGameMessage) } - public interface AdminRemoveGameAckMessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:AdminRemoveGameAckMessage) - com.google.protobuf.MessageLiteOrBuilder { + public interface AdminRemoveGameAckMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // required uint32 removeGameId = 1; /** * required uint32 removeGameId = 1; */ @@ -49798,6 +48450,7 @@ public final class ProtoBuf { */ int getRemoveGameId(); + // required .AdminRemoveGameAckMessage.AdminRemoveGameResult removeGameResult = 2; /** * required .AdminRemoveGameAckMessage.AdminRemoveGameResult removeGameResult = 2; */ @@ -49811,15 +48464,14 @@ public final class ProtoBuf { * Protobuf type {@code AdminRemoveGameAckMessage} */ public static final class AdminRemoveGameAckMessage extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:AdminRemoveGameAckMessage) - AdminRemoveGameAckMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements AdminRemoveGameAckMessageOrBuilder { // Use AdminRemoveGameAckMessage.newBuilder() to construct. private AdminRemoveGameAckMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private AdminRemoveGameAckMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private AdminRemoveGameAckMessage(boolean noInit) {} private static final AdminRemoveGameAckMessage defaultInstance; public static AdminRemoveGameAckMessage getDefaultInstance() { @@ -49830,18 +48482,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private AdminRemoveGameAckMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -49851,7 +48497,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -49865,10 +48511,7 @@ public final class ProtoBuf { case 16: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.AdminRemoveGameResult value = de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.AdminRemoveGameResult.valueOf(rawValue); - if (value == null) { - unknownFieldsCodedOutput.writeRawVarint32(tag); - unknownFieldsCodedOutput.writeRawVarint32(rawValue); - } else { + if (value != null) { bitField0_ |= 0x00000002; removeGameResult_ = value; } @@ -49882,13 +48525,6 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -49964,6 +48600,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 removeGameId = 1; public static final int REMOVEGAMEID_FIELD_NUMBER = 1; private int removeGameId_; /** @@ -49979,6 +48616,7 @@ public final class ProtoBuf { return removeGameId_; } + // required .AdminRemoveGameAckMessage.AdminRemoveGameResult removeGameResult = 2; public static final int REMOVEGAMERESULT_FIELD_NUMBER = 2; private de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.AdminRemoveGameResult removeGameResult_; /** @@ -50001,8 +48639,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasRemoveGameId()) { memoizedIsInitialized = 0; @@ -50025,7 +48662,6 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeEnum(2, removeGameResult_.getNumber()); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -50042,7 +48678,6 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, removeGameResult_.getNumber()); } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -50120,9 +48755,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage, Builder> - implements - // @@protoc_insertion_point(builder_implements:AdminRemoveGameAckMessage) - de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessageOrBuilder { + implements de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -50183,8 +48816,6 @@ public final class ProtoBuf { if (other.hasRemoveGameResult()) { setRemoveGameResult(other.getRemoveGameResult()); } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -50219,6 +48850,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 removeGameId = 1; private int removeGameId_ ; /** * required uint32 removeGameId = 1; @@ -50251,6 +48883,7 @@ public final class ProtoBuf { return this; } + // required .AdminRemoveGameAckMessage.AdminRemoveGameResult removeGameResult = 2; private de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.AdminRemoveGameResult removeGameResult_ = de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.AdminRemoveGameResult.gameRemoveAccepted; /** * required .AdminRemoveGameAckMessage.AdminRemoveGameResult removeGameResult = 2; @@ -50297,10 +48930,10 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:AdminRemoveGameAckMessage) } - public interface AdminBanPlayerMessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:AdminBanPlayerMessage) - com.google.protobuf.MessageLiteOrBuilder { + public interface AdminBanPlayerMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // required uint32 banPlayerId = 1; /** * required uint32 banPlayerId = 1; */ @@ -50314,15 +48947,14 @@ public final class ProtoBuf { * Protobuf type {@code AdminBanPlayerMessage} */ public static final class AdminBanPlayerMessage extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:AdminBanPlayerMessage) - AdminBanPlayerMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements AdminBanPlayerMessageOrBuilder { // Use AdminBanPlayerMessage.newBuilder() to construct. private AdminBanPlayerMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private AdminBanPlayerMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private AdminBanPlayerMessage(boolean noInit) {} private static final AdminBanPlayerMessage defaultInstance; public static AdminBanPlayerMessage getDefaultInstance() { @@ -50333,18 +48965,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private AdminBanPlayerMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -50354,7 +48980,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -50373,13 +48999,6 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -50399,6 +49018,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 banPlayerId = 1; public static final int BANPLAYERID_FIELD_NUMBER = 1; private int banPlayerId_; /** @@ -50420,8 +49040,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasBanPlayerId()) { memoizedIsInitialized = 0; @@ -50437,7 +49056,6 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeUInt32(1, banPlayerId_); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -50450,7 +49068,6 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, banPlayerId_); } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -50528,9 +49145,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage, Builder> - implements - // @@protoc_insertion_point(builder_implements:AdminBanPlayerMessage) - de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessageOrBuilder { + implements de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -50582,8 +49197,6 @@ public final class ProtoBuf { if (other.hasBanPlayerId()) { setBanPlayerId(other.getBanPlayerId()); } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -50614,6 +49227,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 banPlayerId = 1; private int banPlayerId_ ; /** * required uint32 banPlayerId = 1; @@ -50657,10 +49271,10 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:AdminBanPlayerMessage) } - public interface AdminBanPlayerAckMessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:AdminBanPlayerAckMessage) - com.google.protobuf.MessageLiteOrBuilder { + public interface AdminBanPlayerAckMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // required uint32 banPlayerId = 1; /** * required uint32 banPlayerId = 1; */ @@ -50670,6 +49284,7 @@ public final class ProtoBuf { */ int getBanPlayerId(); + // required .AdminBanPlayerAckMessage.AdminBanPlayerResult banPlayerResult = 2; /** * required .AdminBanPlayerAckMessage.AdminBanPlayerResult banPlayerResult = 2; */ @@ -50683,15 +49298,14 @@ public final class ProtoBuf { * Protobuf type {@code AdminBanPlayerAckMessage} */ public static final class AdminBanPlayerAckMessage extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:AdminBanPlayerAckMessage) - AdminBanPlayerAckMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements AdminBanPlayerAckMessageOrBuilder { // Use AdminBanPlayerAckMessage.newBuilder() to construct. private AdminBanPlayerAckMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private AdminBanPlayerAckMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private AdminBanPlayerAckMessage(boolean noInit) {} private static final AdminBanPlayerAckMessage defaultInstance; public static AdminBanPlayerAckMessage getDefaultInstance() { @@ -50702,18 +49316,12 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private AdminBanPlayerAckMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -50723,7 +49331,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -50737,10 +49345,7 @@ public final class ProtoBuf { case 16: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.AdminBanPlayerResult value = de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.AdminBanPlayerResult.valueOf(rawValue); - if (value == null) { - unknownFieldsCodedOutput.writeRawVarint32(tag); - unknownFieldsCodedOutput.writeRawVarint32(rawValue); - } else { + if (value != null) { bitField0_ |= 0x00000002; banPlayerResult_ = value; } @@ -50754,13 +49359,6 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -50863,6 +49461,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 banPlayerId = 1; public static final int BANPLAYERID_FIELD_NUMBER = 1; private int banPlayerId_; /** @@ -50878,6 +49477,7 @@ public final class ProtoBuf { return banPlayerId_; } + // required .AdminBanPlayerAckMessage.AdminBanPlayerResult banPlayerResult = 2; public static final int BANPLAYERRESULT_FIELD_NUMBER = 2; private de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.AdminBanPlayerResult banPlayerResult_; /** @@ -50900,8 +49500,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasBanPlayerId()) { memoizedIsInitialized = 0; @@ -50924,7 +49523,6 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeEnum(2, banPlayerResult_.getNumber()); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -50941,7 +49539,6 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, banPlayerResult_.getNumber()); } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -51019,9 +49616,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage, Builder> - implements - // @@protoc_insertion_point(builder_implements:AdminBanPlayerAckMessage) - de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessageOrBuilder { + implements de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -51082,8 +49677,6 @@ public final class ProtoBuf { if (other.hasBanPlayerResult()) { setBanPlayerResult(other.getBanPlayerResult()); } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -51118,6 +49711,7 @@ public final class ProtoBuf { } private int bitField0_; + // required uint32 banPlayerId = 1; private int banPlayerId_ ; /** * required uint32 banPlayerId = 1; @@ -51150,6 +49744,7 @@ public final class ProtoBuf { return this; } + // required .AdminBanPlayerAckMessage.AdminBanPlayerResult banPlayerResult = 2; private de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.AdminBanPlayerResult banPlayerResult_ = de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.AdminBanPlayerResult.banPlayerAccepted; /** * required .AdminBanPlayerAckMessage.AdminBanPlayerResult banPlayerResult = 2; @@ -51196,10 +49791,10 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:AdminBanPlayerAckMessage) } - public interface PokerTHMessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:PokerTHMessage) - com.google.protobuf.MessageLiteOrBuilder { + public interface PokerTHMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + // required .PokerTHMessage.PokerTHMessageType messageType = 1; /** * required .PokerTHMessage.PokerTHMessageType messageType = 1; */ @@ -51209,6 +49804,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.PokerTHMessage.PokerTHMessageType getMessageType(); + // optional .AnnounceMessage announceMessage = 2; /** * optional .AnnounceMessage announceMessage = 2; */ @@ -51218,6 +49814,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.AnnounceMessage getAnnounceMessage(); + // optional .InitMessage initMessage = 3; /** * optional .InitMessage initMessage = 3; */ @@ -51227,6 +49824,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.InitMessage getInitMessage(); + // optional .AuthServerChallengeMessage authServerChallengeMessage = 4; /** * optional .AuthServerChallengeMessage authServerChallengeMessage = 4; */ @@ -51236,6 +49834,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage getAuthServerChallengeMessage(); + // optional .AuthClientResponseMessage authClientResponseMessage = 5; /** * optional .AuthClientResponseMessage authClientResponseMessage = 5; */ @@ -51245,6 +49844,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage getAuthClientResponseMessage(); + // optional .AuthServerVerificationMessage authServerVerificationMessage = 6; /** * optional .AuthServerVerificationMessage authServerVerificationMessage = 6; */ @@ -51254,6 +49854,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage getAuthServerVerificationMessage(); + // optional .InitAckMessage initAckMessage = 7; /** * optional .InitAckMessage initAckMessage = 7; */ @@ -51263,6 +49864,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.InitAckMessage getInitAckMessage(); + // optional .AvatarRequestMessage avatarRequestMessage = 8; /** * optional .AvatarRequestMessage avatarRequestMessage = 8; */ @@ -51272,6 +49874,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.AvatarRequestMessage getAvatarRequestMessage(); + // optional .AvatarHeaderMessage avatarHeaderMessage = 9; /** * optional .AvatarHeaderMessage avatarHeaderMessage = 9; */ @@ -51281,6 +49884,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage getAvatarHeaderMessage(); + // optional .AvatarDataMessage avatarDataMessage = 10; /** * optional .AvatarDataMessage avatarDataMessage = 10; */ @@ -51290,6 +49894,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.AvatarDataMessage getAvatarDataMessage(); + // optional .AvatarEndMessage avatarEndMessage = 11; /** * optional .AvatarEndMessage avatarEndMessage = 11; */ @@ -51299,6 +49904,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.AvatarEndMessage getAvatarEndMessage(); + // optional .UnknownAvatarMessage unknownAvatarMessage = 12; /** * optional .UnknownAvatarMessage unknownAvatarMessage = 12; */ @@ -51308,6 +49914,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage getUnknownAvatarMessage(); + // optional .PlayerListMessage playerListMessage = 13; /** * optional .PlayerListMessage playerListMessage = 13; */ @@ -51317,6 +49924,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.PlayerListMessage getPlayerListMessage(); + // optional .GameListNewMessage gameListNewMessage = 14; /** * optional .GameListNewMessage gameListNewMessage = 14; */ @@ -51326,6 +49934,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.GameListNewMessage getGameListNewMessage(); + // optional .GameListUpdateMessage gameListUpdateMessage = 15; /** * optional .GameListUpdateMessage gameListUpdateMessage = 15; */ @@ -51335,6 +49944,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.GameListUpdateMessage getGameListUpdateMessage(); + // optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 16; /** * optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 16; */ @@ -51344,6 +49954,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage getGameListPlayerJoinedMessage(); + // optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 17; /** * optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 17; */ @@ -51353,6 +49964,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage getGameListPlayerLeftMessage(); + // optional .GameListAdminChangedMessage gameListAdminChangedMessage = 18; /** * optional .GameListAdminChangedMessage gameListAdminChangedMessage = 18; */ @@ -51362,6 +49974,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage getGameListAdminChangedMessage(); + // optional .PlayerInfoRequestMessage playerInfoRequestMessage = 19; /** * optional .PlayerInfoRequestMessage playerInfoRequestMessage = 19; */ @@ -51371,6 +49984,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage getPlayerInfoRequestMessage(); + // optional .PlayerInfoReplyMessage playerInfoReplyMessage = 20; /** * optional .PlayerInfoReplyMessage playerInfoReplyMessage = 20; */ @@ -51380,6 +49994,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage getPlayerInfoReplyMessage(); + // optional .SubscriptionRequestMessage subscriptionRequestMessage = 21; /** * optional .SubscriptionRequestMessage subscriptionRequestMessage = 21; */ @@ -51389,6 +50004,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage getSubscriptionRequestMessage(); + // optional .JoinExistingGameMessage joinExistingGameMessage = 22; /** * optional .JoinExistingGameMessage joinExistingGameMessage = 22; */ @@ -51398,6 +50014,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage getJoinExistingGameMessage(); + // optional .JoinNewGameMessage joinNewGameMessage = 23; /** * optional .JoinNewGameMessage joinNewGameMessage = 23; */ @@ -51407,6 +50024,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.JoinNewGameMessage getJoinNewGameMessage(); + // optional .RejoinExistingGameMessage rejoinExistingGameMessage = 24; /** * optional .RejoinExistingGameMessage rejoinExistingGameMessage = 24; */ @@ -51416,6 +50034,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage getRejoinExistingGameMessage(); + // optional .JoinGameAckMessage joinGameAckMessage = 25; /** * optional .JoinGameAckMessage joinGameAckMessage = 25; */ @@ -51425,6 +50044,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.JoinGameAckMessage getJoinGameAckMessage(); + // optional .JoinGameFailedMessage joinGameFailedMessage = 26; /** * optional .JoinGameFailedMessage joinGameFailedMessage = 26; */ @@ -51434,6 +50054,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage getJoinGameFailedMessage(); + // optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 27; /** * optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 27; */ @@ -51443,6 +50064,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage getGamePlayerJoinedMessage(); + // optional .GamePlayerLeftMessage gamePlayerLeftMessage = 28; /** * optional .GamePlayerLeftMessage gamePlayerLeftMessage = 28; */ @@ -51452,6 +50074,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage getGamePlayerLeftMessage(); + // optional .GameAdminChangedMessage gameAdminChangedMessage = 29; /** * optional .GameAdminChangedMessage gameAdminChangedMessage = 29; */ @@ -51461,6 +50084,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage getGameAdminChangedMessage(); + // optional .RemovedFromGameMessage removedFromGameMessage = 30; /** * optional .RemovedFromGameMessage removedFromGameMessage = 30; */ @@ -51470,6 +50094,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage getRemovedFromGameMessage(); + // optional .KickPlayerRequestMessage kickPlayerRequestMessage = 31; /** * optional .KickPlayerRequestMessage kickPlayerRequestMessage = 31; */ @@ -51479,6 +50104,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage getKickPlayerRequestMessage(); + // optional .LeaveGameRequestMessage leaveGameRequestMessage = 32; /** * optional .LeaveGameRequestMessage leaveGameRequestMessage = 32; */ @@ -51488,6 +50114,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage getLeaveGameRequestMessage(); + // optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 33; /** * optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 33; */ @@ -51497,6 +50124,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage getInvitePlayerToGameMessage(); + // optional .InviteNotifyMessage inviteNotifyMessage = 34; /** * optional .InviteNotifyMessage inviteNotifyMessage = 34; */ @@ -51506,6 +50134,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.InviteNotifyMessage getInviteNotifyMessage(); + // optional .RejectGameInvitationMessage rejectGameInvitationMessage = 35; /** * optional .RejectGameInvitationMessage rejectGameInvitationMessage = 35; */ @@ -51515,6 +50144,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage getRejectGameInvitationMessage(); + // optional .RejectInvNotifyMessage rejectInvNotifyMessage = 36; /** * optional .RejectInvNotifyMessage rejectInvNotifyMessage = 36; */ @@ -51524,6 +50154,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage getRejectInvNotifyMessage(); + // optional .StartEventMessage startEventMessage = 37; /** * optional .StartEventMessage startEventMessage = 37; */ @@ -51533,6 +50164,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.StartEventMessage getStartEventMessage(); + // optional .StartEventAckMessage startEventAckMessage = 38; /** * optional .StartEventAckMessage startEventAckMessage = 38; */ @@ -51542,6 +50174,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.StartEventAckMessage getStartEventAckMessage(); + // optional .GameStartInitialMessage gameStartInitialMessage = 39; /** * optional .GameStartInitialMessage gameStartInitialMessage = 39; */ @@ -51551,6 +50184,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.GameStartInitialMessage getGameStartInitialMessage(); + // optional .GameStartRejoinMessage gameStartRejoinMessage = 40; /** * optional .GameStartRejoinMessage gameStartRejoinMessage = 40; */ @@ -51560,6 +50194,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage getGameStartRejoinMessage(); + // optional .HandStartMessage handStartMessage = 41; /** * optional .HandStartMessage handStartMessage = 41; */ @@ -51569,6 +50204,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.HandStartMessage getHandStartMessage(); + // optional .PlayersTurnMessage playersTurnMessage = 42; /** * optional .PlayersTurnMessage playersTurnMessage = 42; */ @@ -51578,6 +50214,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.PlayersTurnMessage getPlayersTurnMessage(); + // optional .MyActionRequestMessage myActionRequestMessage = 43; /** * optional .MyActionRequestMessage myActionRequestMessage = 43; */ @@ -51587,6 +50224,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.MyActionRequestMessage getMyActionRequestMessage(); + // optional .YourActionRejectedMessage yourActionRejectedMessage = 44; /** * optional .YourActionRejectedMessage yourActionRejectedMessage = 44; */ @@ -51596,6 +50234,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage getYourActionRejectedMessage(); + // optional .PlayersActionDoneMessage playersActionDoneMessage = 45; /** * optional .PlayersActionDoneMessage playersActionDoneMessage = 45; */ @@ -51605,6 +50244,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage getPlayersActionDoneMessage(); + // optional .DealFlopCardsMessage dealFlopCardsMessage = 46; /** * optional .DealFlopCardsMessage dealFlopCardsMessage = 46; */ @@ -51614,6 +50254,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage getDealFlopCardsMessage(); + // optional .DealTurnCardMessage dealTurnCardMessage = 47; /** * optional .DealTurnCardMessage dealTurnCardMessage = 47; */ @@ -51623,6 +50264,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.DealTurnCardMessage getDealTurnCardMessage(); + // optional .DealRiverCardMessage dealRiverCardMessage = 48; /** * optional .DealRiverCardMessage dealRiverCardMessage = 48; */ @@ -51632,6 +50274,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.DealRiverCardMessage getDealRiverCardMessage(); + // optional .AllInShowCardsMessage allInShowCardsMessage = 49; /** * optional .AllInShowCardsMessage allInShowCardsMessage = 49; */ @@ -51641,6 +50284,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage getAllInShowCardsMessage(); + // optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 50; /** * optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 50; */ @@ -51650,6 +50294,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage getEndOfHandShowCardsMessage(); + // optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 51; /** * optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 51; */ @@ -51659,6 +50304,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage getEndOfHandHideCardsMessage(); + // optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 52; /** * optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 52; */ @@ -51668,6 +50314,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage getShowMyCardsRequestMessage(); + // optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 53; /** * optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 53; */ @@ -51677,6 +50324,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage getAfterHandShowCardsMessage(); + // optional .EndOfGameMessage endOfGameMessage = 54; /** * optional .EndOfGameMessage endOfGameMessage = 54; */ @@ -51686,6 +50334,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.EndOfGameMessage getEndOfGameMessage(); + // optional .PlayerIdChangedMessage playerIdChangedMessage = 55; /** * optional .PlayerIdChangedMessage playerIdChangedMessage = 55; */ @@ -51695,6 +50344,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage getPlayerIdChangedMessage(); + // optional .AskKickPlayerMessage askKickPlayerMessage = 56; /** * optional .AskKickPlayerMessage askKickPlayerMessage = 56; */ @@ -51704,6 +50354,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage getAskKickPlayerMessage(); + // optional .AskKickDeniedMessage askKickDeniedMessage = 57; /** * optional .AskKickDeniedMessage askKickDeniedMessage = 57; */ @@ -51713,6 +50364,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage getAskKickDeniedMessage(); + // optional .StartKickPetitionMessage startKickPetitionMessage = 58; /** * optional .StartKickPetitionMessage startKickPetitionMessage = 58; */ @@ -51722,6 +50374,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage getStartKickPetitionMessage(); + // optional .VoteKickRequestMessage voteKickRequestMessage = 59; /** * optional .VoteKickRequestMessage voteKickRequestMessage = 59; */ @@ -51731,6 +50384,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage getVoteKickRequestMessage(); + // optional .VoteKickReplyMessage voteKickReplyMessage = 60; /** * optional .VoteKickReplyMessage voteKickReplyMessage = 60; */ @@ -51740,6 +50394,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage getVoteKickReplyMessage(); + // optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 61; /** * optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 61; */ @@ -51749,6 +50404,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage getKickPetitionUpdateMessage(); + // optional .EndKickPetitionMessage endKickPetitionMessage = 62; /** * optional .EndKickPetitionMessage endKickPetitionMessage = 62; */ @@ -51758,6 +50414,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage getEndKickPetitionMessage(); + // optional .StatisticsMessage statisticsMessage = 63; /** * optional .StatisticsMessage statisticsMessage = 63; */ @@ -51767,6 +50424,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.StatisticsMessage getStatisticsMessage(); + // optional .ChatRequestMessage chatRequestMessage = 64; /** * optional .ChatRequestMessage chatRequestMessage = 64; */ @@ -51776,6 +50434,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.ChatRequestMessage getChatRequestMessage(); + // optional .ChatMessage chatMessage = 65; /** * optional .ChatMessage chatMessage = 65; */ @@ -51785,6 +50444,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.ChatMessage getChatMessage(); + // optional .ChatRejectMessage chatRejectMessage = 66; /** * optional .ChatRejectMessage chatRejectMessage = 66; */ @@ -51794,6 +50454,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.ChatRejectMessage getChatRejectMessage(); + // optional .DialogMessage dialogMessage = 67; /** * optional .DialogMessage dialogMessage = 67; */ @@ -51803,6 +50464,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.DialogMessage getDialogMessage(); + // optional .TimeoutWarningMessage timeoutWarningMessage = 68; /** * optional .TimeoutWarningMessage timeoutWarningMessage = 68; */ @@ -51812,6 +50474,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage getTimeoutWarningMessage(); + // optional .ResetTimeoutMessage resetTimeoutMessage = 69; /** * optional .ResetTimeoutMessage resetTimeoutMessage = 69; */ @@ -51821,6 +50484,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage getResetTimeoutMessage(); + // optional .ReportAvatarMessage reportAvatarMessage = 70; /** * optional .ReportAvatarMessage reportAvatarMessage = 70; */ @@ -51830,6 +50494,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.ReportAvatarMessage getReportAvatarMessage(); + // optional .ReportAvatarAckMessage reportAvatarAckMessage = 71; /** * optional .ReportAvatarAckMessage reportAvatarAckMessage = 71; */ @@ -51839,6 +50504,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage getReportAvatarAckMessage(); + // optional .ReportGameMessage reportGameMessage = 72; /** * optional .ReportGameMessage reportGameMessage = 72; */ @@ -51848,6 +50514,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.ReportGameMessage getReportGameMessage(); + // optional .ReportGameAckMessage reportGameAckMessage = 73; /** * optional .ReportGameAckMessage reportGameAckMessage = 73; */ @@ -51857,6 +50524,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.ReportGameAckMessage getReportGameAckMessage(); + // optional .ErrorMessage errorMessage = 74; /** * optional .ErrorMessage errorMessage = 74; */ @@ -51866,6 +50534,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.ErrorMessage getErrorMessage(); + // optional .AdminRemoveGameMessage adminRemoveGameMessage = 75; /** * optional .AdminRemoveGameMessage adminRemoveGameMessage = 75; */ @@ -51875,6 +50544,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage getAdminRemoveGameMessage(); + // optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 76; /** * optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 76; */ @@ -51884,6 +50554,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage getAdminRemoveGameAckMessage(); + // optional .AdminBanPlayerMessage adminBanPlayerMessage = 77; /** * optional .AdminBanPlayerMessage adminBanPlayerMessage = 77; */ @@ -51893,6 +50564,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage getAdminBanPlayerMessage(); + // optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 78; /** * optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 78; */ @@ -51902,6 +50574,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage getAdminBanPlayerAckMessage(); + // optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 79; /** * optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 79; */ @@ -51911,6 +50584,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage getGameListSpectatorJoinedMessage(); + // optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 80; /** * optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 80; */ @@ -51920,6 +50594,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage getGameListSpectatorLeftMessage(); + // optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 81; /** * optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 81; */ @@ -51929,6 +50604,7 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage getGameSpectatorJoinedMessage(); + // optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 82; /** * optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 82; */ @@ -51942,15 +50618,14 @@ public final class ProtoBuf { * Protobuf type {@code PokerTHMessage} */ public static final class PokerTHMessage extends - com.google.protobuf.GeneratedMessageLite implements - // @@protoc_insertion_point(message_implements:PokerTHMessage) - PokerTHMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite + implements PokerTHMessageOrBuilder { // Use PokerTHMessage.newBuilder() to construct. private PokerTHMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); + } - private PokerTHMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} + private PokerTHMessage(boolean noInit) {} private static final PokerTHMessage defaultInstance; public static PokerTHMessage getDefaultInstance() { @@ -51961,7 +50636,6 @@ public final class ProtoBuf { return defaultInstance; } - private final com.google.protobuf.ByteString unknownFields; private PokerTHMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -51970,11 +50644,6 @@ public final class ProtoBuf { int mutable_bitField0_ = 0; int mutable_bitField1_ = 0; int mutable_bitField2_ = 0; - com.google.protobuf.ByteString.Output unknownFieldsOutput = - com.google.protobuf.ByteString.newOutput(); - com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = - com.google.protobuf.CodedOutputStream.newInstance( - unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -51984,7 +50653,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, unknownFieldsCodedOutput, + if (!parseUnknownField(input, extensionRegistry, tag)) { done = true; } @@ -51993,10 +50662,7 @@ public final class ProtoBuf { case 8: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.PokerTHMessage.PokerTHMessageType value = de.pokerth.protocol.ProtoBuf.PokerTHMessage.PokerTHMessageType.valueOf(rawValue); - if (value == null) { - unknownFieldsCodedOutput.writeRawVarint32(tag); - unknownFieldsCodedOutput.writeRawVarint32(rawValue); - } else { + if (value != null) { bitField0_ |= 0x00000001; messageType_ = value; } @@ -53063,13 +51729,6 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - try { - unknownFieldsCodedOutput.flush(); - } catch (java.io.IOException e) { - // Should not happen - } finally { - unknownFields = unknownFieldsOutput.toByteString(); - } makeExtensionsImmutable(); } } @@ -53858,6 +52517,7 @@ 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_; /** @@ -53873,6 +52533,7 @@ public final class ProtoBuf { return messageType_; } + // optional .AnnounceMessage announceMessage = 2; public static final int ANNOUNCEMESSAGE_FIELD_NUMBER = 2; private de.pokerth.protocol.ProtoBuf.AnnounceMessage announceMessage_; /** @@ -53888,6 +52549,7 @@ public final class ProtoBuf { return announceMessage_; } + // optional .InitMessage initMessage = 3; public static final int INITMESSAGE_FIELD_NUMBER = 3; private de.pokerth.protocol.ProtoBuf.InitMessage initMessage_; /** @@ -53903,6 +52565,7 @@ public final class ProtoBuf { return initMessage_; } + // optional .AuthServerChallengeMessage authServerChallengeMessage = 4; public static final int AUTHSERVERCHALLENGEMESSAGE_FIELD_NUMBER = 4; private de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage authServerChallengeMessage_; /** @@ -53918,6 +52581,7 @@ public final class ProtoBuf { return authServerChallengeMessage_; } + // optional .AuthClientResponseMessage authClientResponseMessage = 5; public static final int AUTHCLIENTRESPONSEMESSAGE_FIELD_NUMBER = 5; private de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage authClientResponseMessage_; /** @@ -53933,6 +52597,7 @@ public final class ProtoBuf { return authClientResponseMessage_; } + // optional .AuthServerVerificationMessage authServerVerificationMessage = 6; public static final int AUTHSERVERVERIFICATIONMESSAGE_FIELD_NUMBER = 6; private de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage authServerVerificationMessage_; /** @@ -53948,6 +52613,7 @@ public final class ProtoBuf { return authServerVerificationMessage_; } + // optional .InitAckMessage initAckMessage = 7; public static final int INITACKMESSAGE_FIELD_NUMBER = 7; private de.pokerth.protocol.ProtoBuf.InitAckMessage initAckMessage_; /** @@ -53963,6 +52629,7 @@ public final class ProtoBuf { return initAckMessage_; } + // optional .AvatarRequestMessage avatarRequestMessage = 8; public static final int AVATARREQUESTMESSAGE_FIELD_NUMBER = 8; private de.pokerth.protocol.ProtoBuf.AvatarRequestMessage avatarRequestMessage_; /** @@ -53978,6 +52645,7 @@ public final class ProtoBuf { return avatarRequestMessage_; } + // optional .AvatarHeaderMessage avatarHeaderMessage = 9; public static final int AVATARHEADERMESSAGE_FIELD_NUMBER = 9; private de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage avatarHeaderMessage_; /** @@ -53993,6 +52661,7 @@ public final class ProtoBuf { return avatarHeaderMessage_; } + // optional .AvatarDataMessage avatarDataMessage = 10; public static final int AVATARDATAMESSAGE_FIELD_NUMBER = 10; private de.pokerth.protocol.ProtoBuf.AvatarDataMessage avatarDataMessage_; /** @@ -54008,6 +52677,7 @@ public final class ProtoBuf { return avatarDataMessage_; } + // optional .AvatarEndMessage avatarEndMessage = 11; public static final int AVATARENDMESSAGE_FIELD_NUMBER = 11; private de.pokerth.protocol.ProtoBuf.AvatarEndMessage avatarEndMessage_; /** @@ -54023,6 +52693,7 @@ public final class ProtoBuf { return avatarEndMessage_; } + // optional .UnknownAvatarMessage unknownAvatarMessage = 12; public static final int UNKNOWNAVATARMESSAGE_FIELD_NUMBER = 12; private de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage unknownAvatarMessage_; /** @@ -54038,6 +52709,7 @@ public final class ProtoBuf { return unknownAvatarMessage_; } + // optional .PlayerListMessage playerListMessage = 13; public static final int PLAYERLISTMESSAGE_FIELD_NUMBER = 13; private de.pokerth.protocol.ProtoBuf.PlayerListMessage playerListMessage_; /** @@ -54053,6 +52725,7 @@ public final class ProtoBuf { return playerListMessage_; } + // optional .GameListNewMessage gameListNewMessage = 14; public static final int GAMELISTNEWMESSAGE_FIELD_NUMBER = 14; private de.pokerth.protocol.ProtoBuf.GameListNewMessage gameListNewMessage_; /** @@ -54068,6 +52741,7 @@ public final class ProtoBuf { return gameListNewMessage_; } + // optional .GameListUpdateMessage gameListUpdateMessage = 15; public static final int GAMELISTUPDATEMESSAGE_FIELD_NUMBER = 15; private de.pokerth.protocol.ProtoBuf.GameListUpdateMessage gameListUpdateMessage_; /** @@ -54083,6 +52757,7 @@ public final class ProtoBuf { return gameListUpdateMessage_; } + // optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 16; public static final int GAMELISTPLAYERJOINEDMESSAGE_FIELD_NUMBER = 16; private de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage gameListPlayerJoinedMessage_; /** @@ -54098,6 +52773,7 @@ public final class ProtoBuf { return gameListPlayerJoinedMessage_; } + // optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 17; public static final int GAMELISTPLAYERLEFTMESSAGE_FIELD_NUMBER = 17; private de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage gameListPlayerLeftMessage_; /** @@ -54113,6 +52789,7 @@ public final class ProtoBuf { return gameListPlayerLeftMessage_; } + // optional .GameListAdminChangedMessage gameListAdminChangedMessage = 18; public static final int GAMELISTADMINCHANGEDMESSAGE_FIELD_NUMBER = 18; private de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage gameListAdminChangedMessage_; /** @@ -54128,6 +52805,7 @@ public final class ProtoBuf { return gameListAdminChangedMessage_; } + // optional .PlayerInfoRequestMessage playerInfoRequestMessage = 19; public static final int PLAYERINFOREQUESTMESSAGE_FIELD_NUMBER = 19; private de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage playerInfoRequestMessage_; /** @@ -54143,6 +52821,7 @@ public final class ProtoBuf { return playerInfoRequestMessage_; } + // optional .PlayerInfoReplyMessage playerInfoReplyMessage = 20; public static final int PLAYERINFOREPLYMESSAGE_FIELD_NUMBER = 20; private de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage playerInfoReplyMessage_; /** @@ -54158,6 +52837,7 @@ public final class ProtoBuf { return playerInfoReplyMessage_; } + // optional .SubscriptionRequestMessage subscriptionRequestMessage = 21; public static final int SUBSCRIPTIONREQUESTMESSAGE_FIELD_NUMBER = 21; private de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage subscriptionRequestMessage_; /** @@ -54173,6 +52853,7 @@ public final class ProtoBuf { return subscriptionRequestMessage_; } + // optional .JoinExistingGameMessage joinExistingGameMessage = 22; public static final int JOINEXISTINGGAMEMESSAGE_FIELD_NUMBER = 22; private de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage joinExistingGameMessage_; /** @@ -54188,6 +52869,7 @@ public final class ProtoBuf { return joinExistingGameMessage_; } + // optional .JoinNewGameMessage joinNewGameMessage = 23; public static final int JOINNEWGAMEMESSAGE_FIELD_NUMBER = 23; private de.pokerth.protocol.ProtoBuf.JoinNewGameMessage joinNewGameMessage_; /** @@ -54203,6 +52885,7 @@ public final class ProtoBuf { return joinNewGameMessage_; } + // optional .RejoinExistingGameMessage rejoinExistingGameMessage = 24; public static final int REJOINEXISTINGGAMEMESSAGE_FIELD_NUMBER = 24; private de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage rejoinExistingGameMessage_; /** @@ -54218,6 +52901,7 @@ public final class ProtoBuf { return rejoinExistingGameMessage_; } + // optional .JoinGameAckMessage joinGameAckMessage = 25; public static final int JOINGAMEACKMESSAGE_FIELD_NUMBER = 25; private de.pokerth.protocol.ProtoBuf.JoinGameAckMessage joinGameAckMessage_; /** @@ -54233,6 +52917,7 @@ public final class ProtoBuf { return joinGameAckMessage_; } + // optional .JoinGameFailedMessage joinGameFailedMessage = 26; public static final int JOINGAMEFAILEDMESSAGE_FIELD_NUMBER = 26; private de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage joinGameFailedMessage_; /** @@ -54248,6 +52933,7 @@ public final class ProtoBuf { return joinGameFailedMessage_; } + // optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 27; public static final int GAMEPLAYERJOINEDMESSAGE_FIELD_NUMBER = 27; private de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage gamePlayerJoinedMessage_; /** @@ -54263,6 +52949,7 @@ public final class ProtoBuf { return gamePlayerJoinedMessage_; } + // optional .GamePlayerLeftMessage gamePlayerLeftMessage = 28; public static final int GAMEPLAYERLEFTMESSAGE_FIELD_NUMBER = 28; private de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage gamePlayerLeftMessage_; /** @@ -54278,6 +52965,7 @@ public final class ProtoBuf { return gamePlayerLeftMessage_; } + // optional .GameAdminChangedMessage gameAdminChangedMessage = 29; public static final int GAMEADMINCHANGEDMESSAGE_FIELD_NUMBER = 29; private de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage gameAdminChangedMessage_; /** @@ -54293,6 +52981,7 @@ public final class ProtoBuf { return gameAdminChangedMessage_; } + // optional .RemovedFromGameMessage removedFromGameMessage = 30; public static final int REMOVEDFROMGAMEMESSAGE_FIELD_NUMBER = 30; private de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage removedFromGameMessage_; /** @@ -54308,6 +52997,7 @@ public final class ProtoBuf { return removedFromGameMessage_; } + // optional .KickPlayerRequestMessage kickPlayerRequestMessage = 31; public static final int KICKPLAYERREQUESTMESSAGE_FIELD_NUMBER = 31; private de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage kickPlayerRequestMessage_; /** @@ -54323,6 +53013,7 @@ public final class ProtoBuf { return kickPlayerRequestMessage_; } + // optional .LeaveGameRequestMessage leaveGameRequestMessage = 32; public static final int LEAVEGAMEREQUESTMESSAGE_FIELD_NUMBER = 32; private de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage leaveGameRequestMessage_; /** @@ -54338,6 +53029,7 @@ public final class ProtoBuf { return leaveGameRequestMessage_; } + // optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 33; public static final int INVITEPLAYERTOGAMEMESSAGE_FIELD_NUMBER = 33; private de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage invitePlayerToGameMessage_; /** @@ -54353,6 +53045,7 @@ public final class ProtoBuf { return invitePlayerToGameMessage_; } + // optional .InviteNotifyMessage inviteNotifyMessage = 34; public static final int INVITENOTIFYMESSAGE_FIELD_NUMBER = 34; private de.pokerth.protocol.ProtoBuf.InviteNotifyMessage inviteNotifyMessage_; /** @@ -54368,6 +53061,7 @@ public final class ProtoBuf { return inviteNotifyMessage_; } + // optional .RejectGameInvitationMessage rejectGameInvitationMessage = 35; public static final int REJECTGAMEINVITATIONMESSAGE_FIELD_NUMBER = 35; private de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage rejectGameInvitationMessage_; /** @@ -54383,6 +53077,7 @@ public final class ProtoBuf { return rejectGameInvitationMessage_; } + // optional .RejectInvNotifyMessage rejectInvNotifyMessage = 36; public static final int REJECTINVNOTIFYMESSAGE_FIELD_NUMBER = 36; private de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage rejectInvNotifyMessage_; /** @@ -54398,6 +53093,7 @@ public final class ProtoBuf { return rejectInvNotifyMessage_; } + // optional .StartEventMessage startEventMessage = 37; public static final int STARTEVENTMESSAGE_FIELD_NUMBER = 37; private de.pokerth.protocol.ProtoBuf.StartEventMessage startEventMessage_; /** @@ -54413,6 +53109,7 @@ public final class ProtoBuf { return startEventMessage_; } + // optional .StartEventAckMessage startEventAckMessage = 38; public static final int STARTEVENTACKMESSAGE_FIELD_NUMBER = 38; private de.pokerth.protocol.ProtoBuf.StartEventAckMessage startEventAckMessage_; /** @@ -54428,6 +53125,7 @@ public final class ProtoBuf { return startEventAckMessage_; } + // optional .GameStartInitialMessage gameStartInitialMessage = 39; public static final int GAMESTARTINITIALMESSAGE_FIELD_NUMBER = 39; private de.pokerth.protocol.ProtoBuf.GameStartInitialMessage gameStartInitialMessage_; /** @@ -54443,6 +53141,7 @@ public final class ProtoBuf { return gameStartInitialMessage_; } + // optional .GameStartRejoinMessage gameStartRejoinMessage = 40; public static final int GAMESTARTREJOINMESSAGE_FIELD_NUMBER = 40; private de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage gameStartRejoinMessage_; /** @@ -54458,6 +53157,7 @@ public final class ProtoBuf { return gameStartRejoinMessage_; } + // optional .HandStartMessage handStartMessage = 41; public static final int HANDSTARTMESSAGE_FIELD_NUMBER = 41; private de.pokerth.protocol.ProtoBuf.HandStartMessage handStartMessage_; /** @@ -54473,6 +53173,7 @@ public final class ProtoBuf { return handStartMessage_; } + // optional .PlayersTurnMessage playersTurnMessage = 42; public static final int PLAYERSTURNMESSAGE_FIELD_NUMBER = 42; private de.pokerth.protocol.ProtoBuf.PlayersTurnMessage playersTurnMessage_; /** @@ -54488,6 +53189,7 @@ public final class ProtoBuf { return playersTurnMessage_; } + // optional .MyActionRequestMessage myActionRequestMessage = 43; public static final int MYACTIONREQUESTMESSAGE_FIELD_NUMBER = 43; private de.pokerth.protocol.ProtoBuf.MyActionRequestMessage myActionRequestMessage_; /** @@ -54503,6 +53205,7 @@ public final class ProtoBuf { return myActionRequestMessage_; } + // optional .YourActionRejectedMessage yourActionRejectedMessage = 44; public static final int YOURACTIONREJECTEDMESSAGE_FIELD_NUMBER = 44; private de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage yourActionRejectedMessage_; /** @@ -54518,6 +53221,7 @@ public final class ProtoBuf { return yourActionRejectedMessage_; } + // optional .PlayersActionDoneMessage playersActionDoneMessage = 45; public static final int PLAYERSACTIONDONEMESSAGE_FIELD_NUMBER = 45; private de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage playersActionDoneMessage_; /** @@ -54533,6 +53237,7 @@ public final class ProtoBuf { return playersActionDoneMessage_; } + // optional .DealFlopCardsMessage dealFlopCardsMessage = 46; public static final int DEALFLOPCARDSMESSAGE_FIELD_NUMBER = 46; private de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage dealFlopCardsMessage_; /** @@ -54548,6 +53253,7 @@ public final class ProtoBuf { return dealFlopCardsMessage_; } + // optional .DealTurnCardMessage dealTurnCardMessage = 47; public static final int DEALTURNCARDMESSAGE_FIELD_NUMBER = 47; private de.pokerth.protocol.ProtoBuf.DealTurnCardMessage dealTurnCardMessage_; /** @@ -54563,6 +53269,7 @@ public final class ProtoBuf { return dealTurnCardMessage_; } + // optional .DealRiverCardMessage dealRiverCardMessage = 48; public static final int DEALRIVERCARDMESSAGE_FIELD_NUMBER = 48; private de.pokerth.protocol.ProtoBuf.DealRiverCardMessage dealRiverCardMessage_; /** @@ -54578,6 +53285,7 @@ public final class ProtoBuf { return dealRiverCardMessage_; } + // optional .AllInShowCardsMessage allInShowCardsMessage = 49; public static final int ALLINSHOWCARDSMESSAGE_FIELD_NUMBER = 49; private de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage allInShowCardsMessage_; /** @@ -54593,6 +53301,7 @@ public final class ProtoBuf { return allInShowCardsMessage_; } + // optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 50; public static final int ENDOFHANDSHOWCARDSMESSAGE_FIELD_NUMBER = 50; private de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage endOfHandShowCardsMessage_; /** @@ -54608,6 +53317,7 @@ public final class ProtoBuf { return endOfHandShowCardsMessage_; } + // optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 51; public static final int ENDOFHANDHIDECARDSMESSAGE_FIELD_NUMBER = 51; private de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage endOfHandHideCardsMessage_; /** @@ -54623,6 +53333,7 @@ public final class ProtoBuf { return endOfHandHideCardsMessage_; } + // optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 52; public static final int SHOWMYCARDSREQUESTMESSAGE_FIELD_NUMBER = 52; private de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage showMyCardsRequestMessage_; /** @@ -54638,6 +53349,7 @@ public final class ProtoBuf { return showMyCardsRequestMessage_; } + // optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 53; public static final int AFTERHANDSHOWCARDSMESSAGE_FIELD_NUMBER = 53; private de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage afterHandShowCardsMessage_; /** @@ -54653,6 +53365,7 @@ public final class ProtoBuf { return afterHandShowCardsMessage_; } + // optional .EndOfGameMessage endOfGameMessage = 54; public static final int ENDOFGAMEMESSAGE_FIELD_NUMBER = 54; private de.pokerth.protocol.ProtoBuf.EndOfGameMessage endOfGameMessage_; /** @@ -54668,6 +53381,7 @@ public final class ProtoBuf { return endOfGameMessage_; } + // optional .PlayerIdChangedMessage playerIdChangedMessage = 55; public static final int PLAYERIDCHANGEDMESSAGE_FIELD_NUMBER = 55; private de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage playerIdChangedMessage_; /** @@ -54683,6 +53397,7 @@ public final class ProtoBuf { return playerIdChangedMessage_; } + // optional .AskKickPlayerMessage askKickPlayerMessage = 56; public static final int ASKKICKPLAYERMESSAGE_FIELD_NUMBER = 56; private de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage askKickPlayerMessage_; /** @@ -54698,6 +53413,7 @@ public final class ProtoBuf { return askKickPlayerMessage_; } + // optional .AskKickDeniedMessage askKickDeniedMessage = 57; public static final int ASKKICKDENIEDMESSAGE_FIELD_NUMBER = 57; private de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage askKickDeniedMessage_; /** @@ -54713,6 +53429,7 @@ public final class ProtoBuf { return askKickDeniedMessage_; } + // optional .StartKickPetitionMessage startKickPetitionMessage = 58; public static final int STARTKICKPETITIONMESSAGE_FIELD_NUMBER = 58; private de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage startKickPetitionMessage_; /** @@ -54728,6 +53445,7 @@ public final class ProtoBuf { return startKickPetitionMessage_; } + // optional .VoteKickRequestMessage voteKickRequestMessage = 59; public static final int VOTEKICKREQUESTMESSAGE_FIELD_NUMBER = 59; private de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage voteKickRequestMessage_; /** @@ -54743,6 +53461,7 @@ public final class ProtoBuf { return voteKickRequestMessage_; } + // optional .VoteKickReplyMessage voteKickReplyMessage = 60; public static final int VOTEKICKREPLYMESSAGE_FIELD_NUMBER = 60; private de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage voteKickReplyMessage_; /** @@ -54758,6 +53477,7 @@ public final class ProtoBuf { return voteKickReplyMessage_; } + // optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 61; public static final int KICKPETITIONUPDATEMESSAGE_FIELD_NUMBER = 61; private de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage kickPetitionUpdateMessage_; /** @@ -54773,6 +53493,7 @@ public final class ProtoBuf { return kickPetitionUpdateMessage_; } + // optional .EndKickPetitionMessage endKickPetitionMessage = 62; public static final int ENDKICKPETITIONMESSAGE_FIELD_NUMBER = 62; private de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage endKickPetitionMessage_; /** @@ -54788,6 +53509,7 @@ public final class ProtoBuf { return endKickPetitionMessage_; } + // optional .StatisticsMessage statisticsMessage = 63; public static final int STATISTICSMESSAGE_FIELD_NUMBER = 63; private de.pokerth.protocol.ProtoBuf.StatisticsMessage statisticsMessage_; /** @@ -54803,6 +53525,7 @@ public final class ProtoBuf { return statisticsMessage_; } + // optional .ChatRequestMessage chatRequestMessage = 64; public static final int CHATREQUESTMESSAGE_FIELD_NUMBER = 64; private de.pokerth.protocol.ProtoBuf.ChatRequestMessage chatRequestMessage_; /** @@ -54818,6 +53541,7 @@ public final class ProtoBuf { return chatRequestMessage_; } + // optional .ChatMessage chatMessage = 65; public static final int CHATMESSAGE_FIELD_NUMBER = 65; private de.pokerth.protocol.ProtoBuf.ChatMessage chatMessage_; /** @@ -54833,6 +53557,7 @@ public final class ProtoBuf { return chatMessage_; } + // optional .ChatRejectMessage chatRejectMessage = 66; public static final int CHATREJECTMESSAGE_FIELD_NUMBER = 66; private de.pokerth.protocol.ProtoBuf.ChatRejectMessage chatRejectMessage_; /** @@ -54848,6 +53573,7 @@ public final class ProtoBuf { return chatRejectMessage_; } + // optional .DialogMessage dialogMessage = 67; public static final int DIALOGMESSAGE_FIELD_NUMBER = 67; private de.pokerth.protocol.ProtoBuf.DialogMessage dialogMessage_; /** @@ -54863,6 +53589,7 @@ public final class ProtoBuf { return dialogMessage_; } + // optional .TimeoutWarningMessage timeoutWarningMessage = 68; public static final int TIMEOUTWARNINGMESSAGE_FIELD_NUMBER = 68; private de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage timeoutWarningMessage_; /** @@ -54878,6 +53605,7 @@ public final class ProtoBuf { return timeoutWarningMessage_; } + // optional .ResetTimeoutMessage resetTimeoutMessage = 69; public static final int RESETTIMEOUTMESSAGE_FIELD_NUMBER = 69; private de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage resetTimeoutMessage_; /** @@ -54893,6 +53621,7 @@ public final class ProtoBuf { return resetTimeoutMessage_; } + // optional .ReportAvatarMessage reportAvatarMessage = 70; public static final int REPORTAVATARMESSAGE_FIELD_NUMBER = 70; private de.pokerth.protocol.ProtoBuf.ReportAvatarMessage reportAvatarMessage_; /** @@ -54908,6 +53637,7 @@ public final class ProtoBuf { return reportAvatarMessage_; } + // optional .ReportAvatarAckMessage reportAvatarAckMessage = 71; public static final int REPORTAVATARACKMESSAGE_FIELD_NUMBER = 71; private de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage reportAvatarAckMessage_; /** @@ -54923,6 +53653,7 @@ public final class ProtoBuf { return reportAvatarAckMessage_; } + // optional .ReportGameMessage reportGameMessage = 72; public static final int REPORTGAMEMESSAGE_FIELD_NUMBER = 72; private de.pokerth.protocol.ProtoBuf.ReportGameMessage reportGameMessage_; /** @@ -54938,6 +53669,7 @@ public final class ProtoBuf { return reportGameMessage_; } + // optional .ReportGameAckMessage reportGameAckMessage = 73; public static final int REPORTGAMEACKMESSAGE_FIELD_NUMBER = 73; private de.pokerth.protocol.ProtoBuf.ReportGameAckMessage reportGameAckMessage_; /** @@ -54953,6 +53685,7 @@ public final class ProtoBuf { return reportGameAckMessage_; } + // optional .ErrorMessage errorMessage = 74; public static final int ERRORMESSAGE_FIELD_NUMBER = 74; private de.pokerth.protocol.ProtoBuf.ErrorMessage errorMessage_; /** @@ -54968,6 +53701,7 @@ public final class ProtoBuf { return errorMessage_; } + // optional .AdminRemoveGameMessage adminRemoveGameMessage = 75; public static final int ADMINREMOVEGAMEMESSAGE_FIELD_NUMBER = 75; private de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage adminRemoveGameMessage_; /** @@ -54983,6 +53717,7 @@ public final class ProtoBuf { return adminRemoveGameMessage_; } + // optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 76; public static final int ADMINREMOVEGAMEACKMESSAGE_FIELD_NUMBER = 76; private de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage adminRemoveGameAckMessage_; /** @@ -54998,6 +53733,7 @@ public final class ProtoBuf { return adminRemoveGameAckMessage_; } + // optional .AdminBanPlayerMessage adminBanPlayerMessage = 77; public static final int ADMINBANPLAYERMESSAGE_FIELD_NUMBER = 77; private de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage adminBanPlayerMessage_; /** @@ -55013,6 +53749,7 @@ public final class ProtoBuf { return adminBanPlayerMessage_; } + // optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 78; public static final int ADMINBANPLAYERACKMESSAGE_FIELD_NUMBER = 78; private de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage adminBanPlayerAckMessage_; /** @@ -55028,6 +53765,7 @@ public final class ProtoBuf { return adminBanPlayerAckMessage_; } + // optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 79; public static final int GAMELISTSPECTATORJOINEDMESSAGE_FIELD_NUMBER = 79; private de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage_; /** @@ -55043,6 +53781,7 @@ public final class ProtoBuf { return gameListSpectatorJoinedMessage_; } + // optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 80; public static final int GAMELISTSPECTATORLEFTMESSAGE_FIELD_NUMBER = 80; private de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage gameListSpectatorLeftMessage_; /** @@ -55058,6 +53797,7 @@ public final class ProtoBuf { return gameListSpectatorLeftMessage_; } + // optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 81; public static final int GAMESPECTATORJOINEDMESSAGE_FIELD_NUMBER = 81; private de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage gameSpectatorJoinedMessage_; /** @@ -55073,6 +53813,7 @@ public final class ProtoBuf { return gameSpectatorJoinedMessage_; } + // optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 82; public static final int GAMESPECTATORLEFTMESSAGE_FIELD_NUMBER = 82; private de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage gameSpectatorLeftMessage_; /** @@ -55175,8 +53916,7 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + if (isInitialized != -1) return isInitialized == 1; if (!hasMessageType()) { memoizedIsInitialized = 0; @@ -55903,7 +54643,6 @@ public final class ProtoBuf { if (((bitField2_ & 0x00020000) == 0x00020000)) { output.writeMessage(82, gameSpectatorLeftMessage_); } - output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -56240,7 +54979,6 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeMessageSize(82, gameSpectatorLeftMessage_); } - size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -56318,9 +55056,7 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.PokerTHMessage, Builder> - implements - // @@protoc_insertion_point(builder_implements:PokerTHMessage) - de.pokerth.protocol.ProtoBuf.PokerTHMessageOrBuilder { + implements de.pokerth.protocol.ProtoBuf.PokerTHMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.PokerTHMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -57107,8 +55843,6 @@ public final class ProtoBuf { if (other.hasGameSpectatorLeftMessage()) { mergeGameSpectatorLeftMessage(other.getGameSpectatorLeftMessage()); } - setUnknownFields( - getUnknownFields().concat(other.unknownFields)); return this; } @@ -57609,6 +56343,7 @@ 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; /** * required .PokerTHMessage.PokerTHMessageType messageType = 1; @@ -57644,6 +56379,7 @@ public final class ProtoBuf { return this; } + // optional .AnnounceMessage announceMessage = 2; private de.pokerth.protocol.ProtoBuf.AnnounceMessage announceMessage_ = de.pokerth.protocol.ProtoBuf.AnnounceMessage.getDefaultInstance(); /** * optional .AnnounceMessage announceMessage = 2; @@ -57704,6 +56440,7 @@ public final class ProtoBuf { return this; } + // optional .InitMessage initMessage = 3; private de.pokerth.protocol.ProtoBuf.InitMessage initMessage_ = de.pokerth.protocol.ProtoBuf.InitMessage.getDefaultInstance(); /** * optional .InitMessage initMessage = 3; @@ -57764,6 +56501,7 @@ public final class ProtoBuf { return this; } + // optional .AuthServerChallengeMessage authServerChallengeMessage = 4; private de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage authServerChallengeMessage_ = de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage.getDefaultInstance(); /** * optional .AuthServerChallengeMessage authServerChallengeMessage = 4; @@ -57824,6 +56562,7 @@ public final class ProtoBuf { return this; } + // optional .AuthClientResponseMessage authClientResponseMessage = 5; private de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage authClientResponseMessage_ = de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage.getDefaultInstance(); /** * optional .AuthClientResponseMessage authClientResponseMessage = 5; @@ -57884,6 +56623,7 @@ public final class ProtoBuf { return this; } + // optional .AuthServerVerificationMessage authServerVerificationMessage = 6; private de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage authServerVerificationMessage_ = de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage.getDefaultInstance(); /** * optional .AuthServerVerificationMessage authServerVerificationMessage = 6; @@ -57944,6 +56684,7 @@ public final class ProtoBuf { return this; } + // optional .InitAckMessage initAckMessage = 7; private de.pokerth.protocol.ProtoBuf.InitAckMessage initAckMessage_ = de.pokerth.protocol.ProtoBuf.InitAckMessage.getDefaultInstance(); /** * optional .InitAckMessage initAckMessage = 7; @@ -58004,6 +56745,7 @@ public final class ProtoBuf { return this; } + // optional .AvatarRequestMessage avatarRequestMessage = 8; private de.pokerth.protocol.ProtoBuf.AvatarRequestMessage avatarRequestMessage_ = de.pokerth.protocol.ProtoBuf.AvatarRequestMessage.getDefaultInstance(); /** * optional .AvatarRequestMessage avatarRequestMessage = 8; @@ -58064,6 +56806,7 @@ public final class ProtoBuf { return this; } + // optional .AvatarHeaderMessage avatarHeaderMessage = 9; private de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage avatarHeaderMessage_ = de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage.getDefaultInstance(); /** * optional .AvatarHeaderMessage avatarHeaderMessage = 9; @@ -58124,6 +56867,7 @@ public final class ProtoBuf { return this; } + // optional .AvatarDataMessage avatarDataMessage = 10; private de.pokerth.protocol.ProtoBuf.AvatarDataMessage avatarDataMessage_ = de.pokerth.protocol.ProtoBuf.AvatarDataMessage.getDefaultInstance(); /** * optional .AvatarDataMessage avatarDataMessage = 10; @@ -58184,6 +56928,7 @@ public final class ProtoBuf { return this; } + // optional .AvatarEndMessage avatarEndMessage = 11; private de.pokerth.protocol.ProtoBuf.AvatarEndMessage avatarEndMessage_ = de.pokerth.protocol.ProtoBuf.AvatarEndMessage.getDefaultInstance(); /** * optional .AvatarEndMessage avatarEndMessage = 11; @@ -58244,6 +56989,7 @@ public final class ProtoBuf { return this; } + // optional .UnknownAvatarMessage unknownAvatarMessage = 12; private de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage unknownAvatarMessage_ = de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage.getDefaultInstance(); /** * optional .UnknownAvatarMessage unknownAvatarMessage = 12; @@ -58304,6 +57050,7 @@ public final class ProtoBuf { return this; } + // optional .PlayerListMessage playerListMessage = 13; private de.pokerth.protocol.ProtoBuf.PlayerListMessage playerListMessage_ = de.pokerth.protocol.ProtoBuf.PlayerListMessage.getDefaultInstance(); /** * optional .PlayerListMessage playerListMessage = 13; @@ -58364,6 +57111,7 @@ public final class ProtoBuf { return this; } + // optional .GameListNewMessage gameListNewMessage = 14; private de.pokerth.protocol.ProtoBuf.GameListNewMessage gameListNewMessage_ = de.pokerth.protocol.ProtoBuf.GameListNewMessage.getDefaultInstance(); /** * optional .GameListNewMessage gameListNewMessage = 14; @@ -58424,6 +57172,7 @@ public final class ProtoBuf { return this; } + // optional .GameListUpdateMessage gameListUpdateMessage = 15; private de.pokerth.protocol.ProtoBuf.GameListUpdateMessage gameListUpdateMessage_ = de.pokerth.protocol.ProtoBuf.GameListUpdateMessage.getDefaultInstance(); /** * optional .GameListUpdateMessage gameListUpdateMessage = 15; @@ -58484,6 +57233,7 @@ public final class ProtoBuf { return this; } + // optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 16; private de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage gameListPlayerJoinedMessage_ = de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage.getDefaultInstance(); /** * optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 16; @@ -58544,6 +57294,7 @@ public final class ProtoBuf { return this; } + // optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 17; private de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage gameListPlayerLeftMessage_ = de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage.getDefaultInstance(); /** * optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 17; @@ -58604,6 +57355,7 @@ public final class ProtoBuf { return this; } + // optional .GameListAdminChangedMessage gameListAdminChangedMessage = 18; private de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage gameListAdminChangedMessage_ = de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage.getDefaultInstance(); /** * optional .GameListAdminChangedMessage gameListAdminChangedMessage = 18; @@ -58664,6 +57416,7 @@ public final class ProtoBuf { return this; } + // optional .PlayerInfoRequestMessage playerInfoRequestMessage = 19; private de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage playerInfoRequestMessage_ = de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage.getDefaultInstance(); /** * optional .PlayerInfoRequestMessage playerInfoRequestMessage = 19; @@ -58724,6 +57477,7 @@ public final class ProtoBuf { return this; } + // optional .PlayerInfoReplyMessage playerInfoReplyMessage = 20; private de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage playerInfoReplyMessage_ = de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.getDefaultInstance(); /** * optional .PlayerInfoReplyMessage playerInfoReplyMessage = 20; @@ -58784,6 +57538,7 @@ public final class ProtoBuf { return this; } + // optional .SubscriptionRequestMessage subscriptionRequestMessage = 21; private de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage subscriptionRequestMessage_ = de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.getDefaultInstance(); /** * optional .SubscriptionRequestMessage subscriptionRequestMessage = 21; @@ -58844,6 +57599,7 @@ public final class ProtoBuf { return this; } + // optional .JoinExistingGameMessage joinExistingGameMessage = 22; private de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage joinExistingGameMessage_ = de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage.getDefaultInstance(); /** * optional .JoinExistingGameMessage joinExistingGameMessage = 22; @@ -58904,6 +57660,7 @@ public final class ProtoBuf { return this; } + // optional .JoinNewGameMessage joinNewGameMessage = 23; private de.pokerth.protocol.ProtoBuf.JoinNewGameMessage joinNewGameMessage_ = de.pokerth.protocol.ProtoBuf.JoinNewGameMessage.getDefaultInstance(); /** * optional .JoinNewGameMessage joinNewGameMessage = 23; @@ -58964,6 +57721,7 @@ public final class ProtoBuf { return this; } + // optional .RejoinExistingGameMessage rejoinExistingGameMessage = 24; private de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage rejoinExistingGameMessage_ = de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage.getDefaultInstance(); /** * optional .RejoinExistingGameMessage rejoinExistingGameMessage = 24; @@ -59024,6 +57782,7 @@ public final class ProtoBuf { return this; } + // optional .JoinGameAckMessage joinGameAckMessage = 25; private de.pokerth.protocol.ProtoBuf.JoinGameAckMessage joinGameAckMessage_ = de.pokerth.protocol.ProtoBuf.JoinGameAckMessage.getDefaultInstance(); /** * optional .JoinGameAckMessage joinGameAckMessage = 25; @@ -59084,6 +57843,7 @@ public final class ProtoBuf { return this; } + // optional .JoinGameFailedMessage joinGameFailedMessage = 26; private de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage joinGameFailedMessage_ = de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.getDefaultInstance(); /** * optional .JoinGameFailedMessage joinGameFailedMessage = 26; @@ -59144,6 +57904,7 @@ public final class ProtoBuf { return this; } + // optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 27; private de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage gamePlayerJoinedMessage_ = de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage.getDefaultInstance(); /** * optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 27; @@ -59204,6 +57965,7 @@ public final class ProtoBuf { return this; } + // optional .GamePlayerLeftMessage gamePlayerLeftMessage = 28; private de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage gamePlayerLeftMessage_ = de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.getDefaultInstance(); /** * optional .GamePlayerLeftMessage gamePlayerLeftMessage = 28; @@ -59264,6 +58026,7 @@ public final class ProtoBuf { return this; } + // optional .GameAdminChangedMessage gameAdminChangedMessage = 29; private de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage gameAdminChangedMessage_ = de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage.getDefaultInstance(); /** * optional .GameAdminChangedMessage gameAdminChangedMessage = 29; @@ -59324,6 +58087,7 @@ public final class ProtoBuf { return this; } + // optional .RemovedFromGameMessage removedFromGameMessage = 30; private de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage removedFromGameMessage_ = de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.getDefaultInstance(); /** * optional .RemovedFromGameMessage removedFromGameMessage = 30; @@ -59384,6 +58148,7 @@ public final class ProtoBuf { return this; } + // optional .KickPlayerRequestMessage kickPlayerRequestMessage = 31; private de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage kickPlayerRequestMessage_ = de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage.getDefaultInstance(); /** * optional .KickPlayerRequestMessage kickPlayerRequestMessage = 31; @@ -59444,6 +58209,7 @@ public final class ProtoBuf { return this; } + // optional .LeaveGameRequestMessage leaveGameRequestMessage = 32; private de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage leaveGameRequestMessage_ = de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage.getDefaultInstance(); /** * optional .LeaveGameRequestMessage leaveGameRequestMessage = 32; @@ -59504,6 +58270,7 @@ public final class ProtoBuf { return this; } + // optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 33; private de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage invitePlayerToGameMessage_ = de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage.getDefaultInstance(); /** * optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 33; @@ -59564,6 +58331,7 @@ public final class ProtoBuf { return this; } + // optional .InviteNotifyMessage inviteNotifyMessage = 34; private de.pokerth.protocol.ProtoBuf.InviteNotifyMessage inviteNotifyMessage_ = de.pokerth.protocol.ProtoBuf.InviteNotifyMessage.getDefaultInstance(); /** * optional .InviteNotifyMessage inviteNotifyMessage = 34; @@ -59624,6 +58392,7 @@ public final class ProtoBuf { return this; } + // optional .RejectGameInvitationMessage rejectGameInvitationMessage = 35; private de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage rejectGameInvitationMessage_ = de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.getDefaultInstance(); /** * optional .RejectGameInvitationMessage rejectGameInvitationMessage = 35; @@ -59684,6 +58453,7 @@ public final class ProtoBuf { return this; } + // optional .RejectInvNotifyMessage rejectInvNotifyMessage = 36; private de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage rejectInvNotifyMessage_ = de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage.getDefaultInstance(); /** * optional .RejectInvNotifyMessage rejectInvNotifyMessage = 36; @@ -59744,6 +58514,7 @@ public final class ProtoBuf { return this; } + // optional .StartEventMessage startEventMessage = 37; private de.pokerth.protocol.ProtoBuf.StartEventMessage startEventMessage_ = de.pokerth.protocol.ProtoBuf.StartEventMessage.getDefaultInstance(); /** * optional .StartEventMessage startEventMessage = 37; @@ -59804,6 +58575,7 @@ public final class ProtoBuf { return this; } + // optional .StartEventAckMessage startEventAckMessage = 38; private de.pokerth.protocol.ProtoBuf.StartEventAckMessage startEventAckMessage_ = de.pokerth.protocol.ProtoBuf.StartEventAckMessage.getDefaultInstance(); /** * optional .StartEventAckMessage startEventAckMessage = 38; @@ -59864,6 +58636,7 @@ public final class ProtoBuf { return this; } + // optional .GameStartInitialMessage gameStartInitialMessage = 39; private de.pokerth.protocol.ProtoBuf.GameStartInitialMessage gameStartInitialMessage_ = de.pokerth.protocol.ProtoBuf.GameStartInitialMessage.getDefaultInstance(); /** * optional .GameStartInitialMessage gameStartInitialMessage = 39; @@ -59924,6 +58697,7 @@ public final class ProtoBuf { return this; } + // optional .GameStartRejoinMessage gameStartRejoinMessage = 40; private de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage gameStartRejoinMessage_ = de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.getDefaultInstance(); /** * optional .GameStartRejoinMessage gameStartRejoinMessage = 40; @@ -59984,6 +58758,7 @@ public final class ProtoBuf { return this; } + // optional .HandStartMessage handStartMessage = 41; private de.pokerth.protocol.ProtoBuf.HandStartMessage handStartMessage_ = de.pokerth.protocol.ProtoBuf.HandStartMessage.getDefaultInstance(); /** * optional .HandStartMessage handStartMessage = 41; @@ -60044,6 +58819,7 @@ public final class ProtoBuf { return this; } + // optional .PlayersTurnMessage playersTurnMessage = 42; private de.pokerth.protocol.ProtoBuf.PlayersTurnMessage playersTurnMessage_ = de.pokerth.protocol.ProtoBuf.PlayersTurnMessage.getDefaultInstance(); /** * optional .PlayersTurnMessage playersTurnMessage = 42; @@ -60104,6 +58880,7 @@ public final class ProtoBuf { return this; } + // optional .MyActionRequestMessage myActionRequestMessage = 43; private de.pokerth.protocol.ProtoBuf.MyActionRequestMessage myActionRequestMessage_ = de.pokerth.protocol.ProtoBuf.MyActionRequestMessage.getDefaultInstance(); /** * optional .MyActionRequestMessage myActionRequestMessage = 43; @@ -60164,6 +58941,7 @@ public final class ProtoBuf { return this; } + // optional .YourActionRejectedMessage yourActionRejectedMessage = 44; private de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage yourActionRejectedMessage_ = de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.getDefaultInstance(); /** * optional .YourActionRejectedMessage yourActionRejectedMessage = 44; @@ -60224,6 +59002,7 @@ public final class ProtoBuf { return this; } + // optional .PlayersActionDoneMessage playersActionDoneMessage = 45; private de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage playersActionDoneMessage_ = de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage.getDefaultInstance(); /** * optional .PlayersActionDoneMessage playersActionDoneMessage = 45; @@ -60284,6 +59063,7 @@ public final class ProtoBuf { return this; } + // optional .DealFlopCardsMessage dealFlopCardsMessage = 46; private de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage dealFlopCardsMessage_ = de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage.getDefaultInstance(); /** * optional .DealFlopCardsMessage dealFlopCardsMessage = 46; @@ -60344,6 +59124,7 @@ public final class ProtoBuf { return this; } + // optional .DealTurnCardMessage dealTurnCardMessage = 47; private de.pokerth.protocol.ProtoBuf.DealTurnCardMessage dealTurnCardMessage_ = de.pokerth.protocol.ProtoBuf.DealTurnCardMessage.getDefaultInstance(); /** * optional .DealTurnCardMessage dealTurnCardMessage = 47; @@ -60404,6 +59185,7 @@ public final class ProtoBuf { return this; } + // optional .DealRiverCardMessage dealRiverCardMessage = 48; private de.pokerth.protocol.ProtoBuf.DealRiverCardMessage dealRiverCardMessage_ = de.pokerth.protocol.ProtoBuf.DealRiverCardMessage.getDefaultInstance(); /** * optional .DealRiverCardMessage dealRiverCardMessage = 48; @@ -60464,6 +59246,7 @@ public final class ProtoBuf { return this; } + // optional .AllInShowCardsMessage allInShowCardsMessage = 49; private de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage allInShowCardsMessage_ = de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.getDefaultInstance(); /** * optional .AllInShowCardsMessage allInShowCardsMessage = 49; @@ -60524,6 +59307,7 @@ public final class ProtoBuf { return this; } + // optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 50; private de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage endOfHandShowCardsMessage_ = de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage.getDefaultInstance(); /** * optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 50; @@ -60584,6 +59368,7 @@ public final class ProtoBuf { return this; } + // optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 51; private de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage endOfHandHideCardsMessage_ = de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage.getDefaultInstance(); /** * optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 51; @@ -60644,6 +59429,7 @@ public final class ProtoBuf { return this; } + // optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 52; private de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage showMyCardsRequestMessage_ = de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage.getDefaultInstance(); /** * optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 52; @@ -60704,6 +59490,7 @@ public final class ProtoBuf { return this; } + // optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 53; private de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage afterHandShowCardsMessage_ = de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage.getDefaultInstance(); /** * optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 53; @@ -60764,6 +59551,7 @@ public final class ProtoBuf { return this; } + // optional .EndOfGameMessage endOfGameMessage = 54; private de.pokerth.protocol.ProtoBuf.EndOfGameMessage endOfGameMessage_ = de.pokerth.protocol.ProtoBuf.EndOfGameMessage.getDefaultInstance(); /** * optional .EndOfGameMessage endOfGameMessage = 54; @@ -60824,6 +59612,7 @@ public final class ProtoBuf { return this; } + // optional .PlayerIdChangedMessage playerIdChangedMessage = 55; private de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage playerIdChangedMessage_ = de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage.getDefaultInstance(); /** * optional .PlayerIdChangedMessage playerIdChangedMessage = 55; @@ -60884,6 +59673,7 @@ public final class ProtoBuf { return this; } + // optional .AskKickPlayerMessage askKickPlayerMessage = 56; private de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage askKickPlayerMessage_ = de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage.getDefaultInstance(); /** * optional .AskKickPlayerMessage askKickPlayerMessage = 56; @@ -60944,6 +59734,7 @@ public final class ProtoBuf { return this; } + // optional .AskKickDeniedMessage askKickDeniedMessage = 57; private de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage askKickDeniedMessage_ = de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.getDefaultInstance(); /** * optional .AskKickDeniedMessage askKickDeniedMessage = 57; @@ -61004,6 +59795,7 @@ public final class ProtoBuf { return this; } + // optional .StartKickPetitionMessage startKickPetitionMessage = 58; private de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage startKickPetitionMessage_ = de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage.getDefaultInstance(); /** * optional .StartKickPetitionMessage startKickPetitionMessage = 58; @@ -61064,6 +59856,7 @@ public final class ProtoBuf { return this; } + // optional .VoteKickRequestMessage voteKickRequestMessage = 59; private de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage voteKickRequestMessage_ = de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage.getDefaultInstance(); /** * optional .VoteKickRequestMessage voteKickRequestMessage = 59; @@ -61124,6 +59917,7 @@ public final class ProtoBuf { return this; } + // optional .VoteKickReplyMessage voteKickReplyMessage = 60; private de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage voteKickReplyMessage_ = de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.getDefaultInstance(); /** * optional .VoteKickReplyMessage voteKickReplyMessage = 60; @@ -61184,6 +59978,7 @@ public final class ProtoBuf { return this; } + // optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 61; private de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage kickPetitionUpdateMessage_ = de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage.getDefaultInstance(); /** * optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 61; @@ -61244,6 +60039,7 @@ public final class ProtoBuf { return this; } + // optional .EndKickPetitionMessage endKickPetitionMessage = 62; private de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage endKickPetitionMessage_ = de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.getDefaultInstance(); /** * optional .EndKickPetitionMessage endKickPetitionMessage = 62; @@ -61304,6 +60100,7 @@ public final class ProtoBuf { return this; } + // optional .StatisticsMessage statisticsMessage = 63; private de.pokerth.protocol.ProtoBuf.StatisticsMessage statisticsMessage_ = de.pokerth.protocol.ProtoBuf.StatisticsMessage.getDefaultInstance(); /** * optional .StatisticsMessage statisticsMessage = 63; @@ -61364,6 +60161,7 @@ public final class ProtoBuf { return this; } + // optional .ChatRequestMessage chatRequestMessage = 64; private de.pokerth.protocol.ProtoBuf.ChatRequestMessage chatRequestMessage_ = de.pokerth.protocol.ProtoBuf.ChatRequestMessage.getDefaultInstance(); /** * optional .ChatRequestMessage chatRequestMessage = 64; @@ -61424,6 +60222,7 @@ public final class ProtoBuf { return this; } + // optional .ChatMessage chatMessage = 65; private de.pokerth.protocol.ProtoBuf.ChatMessage chatMessage_ = de.pokerth.protocol.ProtoBuf.ChatMessage.getDefaultInstance(); /** * optional .ChatMessage chatMessage = 65; @@ -61484,6 +60283,7 @@ public final class ProtoBuf { return this; } + // optional .ChatRejectMessage chatRejectMessage = 66; private de.pokerth.protocol.ProtoBuf.ChatRejectMessage chatRejectMessage_ = de.pokerth.protocol.ProtoBuf.ChatRejectMessage.getDefaultInstance(); /** * optional .ChatRejectMessage chatRejectMessage = 66; @@ -61544,6 +60344,7 @@ public final class ProtoBuf { return this; } + // optional .DialogMessage dialogMessage = 67; private de.pokerth.protocol.ProtoBuf.DialogMessage dialogMessage_ = de.pokerth.protocol.ProtoBuf.DialogMessage.getDefaultInstance(); /** * optional .DialogMessage dialogMessage = 67; @@ -61604,6 +60405,7 @@ public final class ProtoBuf { return this; } + // optional .TimeoutWarningMessage timeoutWarningMessage = 68; private de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage timeoutWarningMessage_ = de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.getDefaultInstance(); /** * optional .TimeoutWarningMessage timeoutWarningMessage = 68; @@ -61664,6 +60466,7 @@ public final class ProtoBuf { return this; } + // optional .ResetTimeoutMessage resetTimeoutMessage = 69; private de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage resetTimeoutMessage_ = de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage.getDefaultInstance(); /** * optional .ResetTimeoutMessage resetTimeoutMessage = 69; @@ -61724,6 +60527,7 @@ public final class ProtoBuf { return this; } + // optional .ReportAvatarMessage reportAvatarMessage = 70; private de.pokerth.protocol.ProtoBuf.ReportAvatarMessage reportAvatarMessage_ = de.pokerth.protocol.ProtoBuf.ReportAvatarMessage.getDefaultInstance(); /** * optional .ReportAvatarMessage reportAvatarMessage = 70; @@ -61784,6 +60588,7 @@ public final class ProtoBuf { return this; } + // optional .ReportAvatarAckMessage reportAvatarAckMessage = 71; private de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage reportAvatarAckMessage_ = de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.getDefaultInstance(); /** * optional .ReportAvatarAckMessage reportAvatarAckMessage = 71; @@ -61844,6 +60649,7 @@ public final class ProtoBuf { return this; } + // optional .ReportGameMessage reportGameMessage = 72; private de.pokerth.protocol.ProtoBuf.ReportGameMessage reportGameMessage_ = de.pokerth.protocol.ProtoBuf.ReportGameMessage.getDefaultInstance(); /** * optional .ReportGameMessage reportGameMessage = 72; @@ -61904,6 +60710,7 @@ public final class ProtoBuf { return this; } + // optional .ReportGameAckMessage reportGameAckMessage = 73; private de.pokerth.protocol.ProtoBuf.ReportGameAckMessage reportGameAckMessage_ = de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.getDefaultInstance(); /** * optional .ReportGameAckMessage reportGameAckMessage = 73; @@ -61964,6 +60771,7 @@ public final class ProtoBuf { return this; } + // optional .ErrorMessage errorMessage = 74; private de.pokerth.protocol.ProtoBuf.ErrorMessage errorMessage_ = de.pokerth.protocol.ProtoBuf.ErrorMessage.getDefaultInstance(); /** * optional .ErrorMessage errorMessage = 74; @@ -62024,6 +60832,7 @@ public final class ProtoBuf { return this; } + // optional .AdminRemoveGameMessage adminRemoveGameMessage = 75; private de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage adminRemoveGameMessage_ = de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage.getDefaultInstance(); /** * optional .AdminRemoveGameMessage adminRemoveGameMessage = 75; @@ -62084,6 +60893,7 @@ public final class ProtoBuf { return this; } + // optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 76; private de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage adminRemoveGameAckMessage_ = de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.getDefaultInstance(); /** * optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 76; @@ -62144,6 +60954,7 @@ public final class ProtoBuf { return this; } + // optional .AdminBanPlayerMessage adminBanPlayerMessage = 77; private de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage adminBanPlayerMessage_ = de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage.getDefaultInstance(); /** * optional .AdminBanPlayerMessage adminBanPlayerMessage = 77; @@ -62204,6 +61015,7 @@ public final class ProtoBuf { return this; } + // optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 78; private de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage adminBanPlayerAckMessage_ = de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.getDefaultInstance(); /** * optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 78; @@ -62264,6 +61076,7 @@ public final class ProtoBuf { return this; } + // optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 79; private de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage_ = de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage.getDefaultInstance(); /** * optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 79; @@ -62324,6 +61137,7 @@ public final class ProtoBuf { return this; } + // optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 80; private de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage gameListSpectatorLeftMessage_ = de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage.getDefaultInstance(); /** * optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 80; @@ -62384,6 +61198,7 @@ public final class ProtoBuf { return this; } + // optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 81; private de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage gameSpectatorJoinedMessage_ = de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage.getDefaultInstance(); /** * optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 81; @@ -62444,6 +61259,7 @@ public final class ProtoBuf { return this; } + // optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 82; private de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage gameSpectatorLeftMessage_ = de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage.getDefaultInstance(); /** * optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 82; From 55174a71a73c3364e181c9701cf3cb7ceca56999 Mon Sep 17 00:00:00 2001 From: Albert Medela Date: Thu, 7 Jul 2016 20:37:07 +0200 Subject: [PATCH 15/28] Add ThreadedGuest to test serveral guest connections --- .../de/pokerth/test/ThreadedGuestTest.java | 256 ++++++++++++++++++ 1 file changed, 256 insertions(+) create mode 100644 tests/src/de/pokerth/test/ThreadedGuestTest.java diff --git a/tests/src/de/pokerth/test/ThreadedGuestTest.java b/tests/src/de/pokerth/test/ThreadedGuestTest.java new file mode 100644 index 00000000..e3bf2b7b --- /dev/null +++ b/tests/src/de/pokerth/test/ThreadedGuestTest.java @@ -0,0 +1,256 @@ +package de.pokerth.test; + +import static org.junit.Assert.assertTrue; +import static org.junit.Assert.fail; + +import java.io.IOException; +import java.net.Socket; + +import org.junit.Assert; +import org.junit.Test; + +import de.pokerth.protocol.ProtoBuf.AnnounceMessage; +import de.pokerth.protocol.ProtoBuf.AnnounceMessage.ServerType; +import de.pokerth.protocol.ProtoBuf.ErrorMessage; +import de.pokerth.protocol.ProtoBuf.InitAckMessage; +import de.pokerth.protocol.ProtoBuf.InitMessage; +import de.pokerth.protocol.ProtoBuf.PokerTHMessage; +import de.pokerth.protocol.ProtoBuf.PokerTHMessage.PokerTHMessageType; + +/** + * Description: + * + * This test runs several guests users in PokerTH Server. + * Starts N threads thats connects to server "at once": There is a delay between each connection, to avoid error 133 + * (NOTE: I didn't succed avoid this message. So, it's better to disable "ServerBruteForceProtection" in config.xml) + * Once connected, each thread waits until all other connects to simulate N users at once + * + * When all threads are connected, each thread gets unlocked and close connections, in an orderly way. + * + * + * Running: + * + * For OFFICIAL_SERVER, runs with type='O', passwd is ignored + * For DEDICATED_SERVER: + * - Server must be faked to accept guest connections (aren't allowed by default). + * Method ServerLobbyThread::HandleNetPacketInit() must be changed + * - runs this test, with type='S' and passwd for dedicated server + * + * Purpose: + * + * Final purpose of this test, is check whether a guest connection isn't permitted + * once the maximum number of guests players allowed is reached + * To achieve that, N (NUM_THREADS) must be SERVER_MAX_GUEST_USERS + 1. That value is defined in ServerLobbyThread + * In that case, test will fail, because it's not supposed to receive that error message. + * Test must be corrected: + * - Last thread launched (or the one that makes SERVER_MAX_GUEST_USERS + 1, and next ones), must receive an error + * - To do that, msg.hasErrorMessage() must be true, and reason (msg.getErrorMessage().getErrorReason()) + * must be ERR_NET_SERVER_FULL (error gameIsFull) + * + * + * TODO: + * + * This test must be modified to adapt to: + * - Java8 (much simple threads) Runnable name = () -> {code} + * - Modern concurrency design: using Executors, Barriers and CountDownLatch + * + * + * @author albmed + * + */ +public class ThreadedGuestTest { + + public static final String type = "S"; + public static final String passwd = "PasswdServer"; + + public static final int NUM_THREADS = 7; + + @Test + public void threadedGuestTest() throws InterruptedException { + Assert.assertNotNull(type); + if (!type.matches("[OoSs]")) Assert.fail("No valid option"); + + if (type.equalsIgnoreCase("S") && (passwd == null || passwd.trim().length() == 0)) + Assert.fail("Server Passwd needed on Dedicated server"); + + ThreadGuest[] threads = new ThreadGuest[NUM_THREADS]; + + for (int i = 0; i < threads.length; i++) { + threads[i] = new ThreadGuest("Guest" + String.format("%05d",i), type, passwd, new Object()); + threads[i].start(); + + Thread.sleep(1500L); // Must wait over a second, before start next thread, to avoid error 133 (ERR_NET_INIT_BLOCKED) + } + + Thread.sleep(1000L); + + for (int i = 0; i < threads.length; i++) { + Object lock = threads[i].getLock(); + synchronized (lock) { + lock.notify(); + } + try { + threads[i].getThread().join(); + } catch (InterruptedException e) { + e.printStackTrace(); + } + } + + } + + public static PokerTHMessage receiveMessage(Socket s) throws Exception { + byte[] header = new byte[4]; + s.getInputStream().read(header); + int size = 0; + for (int i = 0; i < 4; i++) { + size <<= 8; + size |= (int)header[i]; + } + byte[] data = new byte[size]; + s.getInputStream().read(data); + return PokerTHMessage.parseFrom(data); + } + + public static void sendMessage(PokerTHMessage msg, Socket s) throws Exception { + int size = msg.getSerializedSize(); + byte[] header = new byte[4]; + for (int i = 0; i < 4; i++) + { + header[i] = (new Integer(size >>> 24)).byteValue(); + size <<= 8; + } + s.getOutputStream().write(header); + s.getOutputStream().write(msg.toByteArray()); + } + + + public static void failOnErrorMessage(PokerTHMessage msg) { + if (msg.hasErrorMessage()) + { + ErrorMessage error = msg.getErrorMessage(); + fail("Received error: " + error.getErrorReason().toString()); + } + } + +} + +class ThreadGuest implements Runnable { + + public final int PROTOCOL_VERSION_MAJOR = 5; + public final int PROTOCOL_VERSION_MINOR = 1; + + Thread t; + Object lock; + String name; + String type; + Socket s; + String passwd; + + public ThreadGuest(String _name, String _type, String _passwd, Object _lock) { + this.name = _name; + if (_lock == null) lock = new Object(); + this.lock = _lock; + this.type = _type; + this.passwd = _passwd; + } + + public Object getLock() { return this.lock; } + public Thread getThread() { return this.t; } + + public void start() { + if (t == null) { + t = new Thread(this); + t.start(); + } + } + + @Override + public void run() { + int playerId = connect(); + + System.out.println("[" + System.currentTimeMillis() + " - " + name + "]: PlayerId: " + playerId + " connected"); + + // Wait to make all guests users connected at once + synchronized (lock) { + try { + lock.wait(); + } catch (InterruptedException e) { + e.printStackTrace(); + } + } + + System.out.println("[" + System.currentTimeMillis() + " - " + name + "]: PlayerId: " + playerId + " released"); + + // Close conn + if (s != null && !s.isClosed()) try {s.close();} catch (IOException e) {} + } + + public int connect() { + Exception excep = null; + int playerId = -1; + + try { + s = new Socket("localhost", 7234); + PokerTHMessage msg = ThreadedGuestTest.receiveMessage(s); + Assert.assertTrue(msg.hasAnnounceMessage()); + + if (type.equalsIgnoreCase("S")) Assert.assertTrue(msg.getAnnounceMessage().getServerType() == ServerType.serverTypeInternetNoAuth); + + AnnounceMessage.Version requestedVersion = AnnounceMessage.Version.newBuilder() + .setMajorVersion(PROTOCOL_VERSION_MAJOR) + .setMinorVersion(PROTOCOL_VERSION_MINOR) + .build(); + + InitMessage init; + if (type.equalsIgnoreCase("S")) { + init = InitMessage.newBuilder() + .setBuildId(0) + .setLogin(InitMessage.LoginType.unauthenticatedLogin) + .setRequestedVersion(requestedVersion) + .setNickName(name).setAuthServerPassword(passwd) + .build(); + } + else { + init = InitMessage.newBuilder() + .setBuildId(0) + .setLogin(InitMessage.LoginType.guestLogin) + .setRequestedVersion(requestedVersion) + .setNickName(name) + .build(); + } + + msg = PokerTHMessage.newBuilder() + .setMessageType(PokerTHMessageType.Type_InitMessage) + .setInitMessage(init) + .build(); + + ThreadedGuestTest.sendMessage(msg, s); + + msg = ThreadedGuestTest.receiveMessage(s); + ThreadedGuestTest.failOnErrorMessage(msg); + + if (msg.hasInitAckMessage() && msg.getMessageType() == PokerTHMessageType.Type_InitAckMessage) { + InitAckMessage initAck = msg.getInitAckMessage(); + assertTrue(initAck.getYourPlayerId() != 0L); + assertTrue(!initAck.hasYourAvatarHash()); + playerId = initAck.getYourPlayerId(); + } + else { + ThreadedGuestTest.failOnErrorMessage(msg); + Assert.fail("Invalid message."); + } + } + catch (Exception e) { + excep = e; + e.printStackTrace(); + } + finally { + if (excep != null) { + if (s != null) try {s.close();} catch (IOException e) {} + } + } + + return playerId; + } + +} From 417d9a5bd289cd2263de006350a9518ca8f212cf Mon Sep 17 00:00:00 2001 From: Albert Medela Date: Thu, 7 Jul 2016 20:52:44 +0200 Subject: [PATCH 16/28] running astyle --- src/net/common/netpacket.cpp | 2 +- src/net/common/serverlobbythread.cpp | 30 ++++++++++++++-------------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/src/net/common/netpacket.cpp b/src/net/common/netpacket.cpp index cf2a316a..af6fb13f 100644 --- a/src/net/common/netpacket.cpp +++ b/src/net/common/netpacket.cpp @@ -250,7 +250,7 @@ NetPacket::GameErrorToNetError(int gameErrorReason) break; case ERR_NET_FULL_GUESTS : retVal = ErrorMessage::initServerFull; // LG: @TODO: maybe create a better error message, if possible - break; + break; default : retVal = ErrorMessage::reserved; break; diff --git a/src/net/common/serverlobbythread.cpp b/src/net/common/serverlobbythread.cpp index 3e36a55b..4d6a5b1a 100644 --- a/src/net/common/serverlobbythread.cpp +++ b/src/net/common/serverlobbythread.cpp @@ -396,7 +396,7 @@ ServerLobbyThread::CloseSession(boost::shared_ptr session) m_sessionManager.RemoveSession(session->GetId()); m_gameSessionManager.RemoveSession(session->GetId()); - if (session->GetPlayerData()){ + if (session->GetPlayerData()) { if (session->GetPlayerData()->GetRights() == PLAYER_RIGHTS_GUEST) { DecrementGuests(); } @@ -1011,12 +1011,12 @@ void ServerLobbyThread::HandleNetPacketInit(boost::shared_ptr session, const InitMessage &initMessage) { LOG_VERBOSE("Received init for session #" << session->GetId() << "."); - - // @XXX: debug tests - //if(m_sessionManager.IsGuestConnectedMultiple(session->GetClientAddr())){ - // LOG_ERROR("Guest with IP " << session->GetClientAddr() << " already connected! Should be declined!"); - //} - // @XXX: end debug tests + + // @XXX: debug tests + //if(m_sessionManager.IsGuestConnectedMultiple(session->GetClientAddr())){ + // LOG_ERROR("Guest with IP " << session->GetClientAddr() << " already connected! Should be declined!"); + //} + // @XXX: end debug tests // Before any other processing, perform some denial of service and // brute force attack prevention by checking whether the user recently sent an @@ -1059,7 +1059,7 @@ ServerLobbyThread::HandleNetPacketInit(boost::shared_ptr session, c bool noAuth = false; bool validGuest = false; // @XXX: productive: if (initMessage.login() == InitMessage::guestLogin) { - // @XXX: debug: if (initMessage.login() == InitMessage::unauthenticatedLogin) { + // @XXX: debug: if (initMessage.login() == InitMessage::unauthenticatedLogin) { if (initMessage.login() == InitMessage::guestLogin) { playerName = initMessage.nickname(); // Verify guest player name. @@ -1070,12 +1070,12 @@ ServerLobbyThread::HandleNetPacketInit(boost::shared_ptr session, c validGuest = true; noAuth = true; } - // @XXX: check if a guest session with same ip is already connected - decline if true - if(m_sessionManager.IsGuestConnectedMultiple(session->GetClientAddr())){ - //LOG_ERROR("Guest with IP " << session->GetClientAddr() << " already connected! Decline!"); - SessionError(session, ERR_NET_FULL_GUESTS); - return; - } + // @XXX: check if a guest session with same ip is already connected - decline if true + if(m_sessionManager.IsGuestConnectedMultiple(session->GetClientAddr())) { + //LOG_ERROR("Guest with IP " << session->GetClientAddr() << " already connected! Decline!"); + SessionError(session, ERR_NET_FULL_GUESTS); + return; + } } if (!validGuest) { @@ -2398,7 +2398,7 @@ ServerLobbyThread::GetRejoinGameIdForPlayer(const std::string &playerName, const } // LG: Handle guests_ variable. Remove in production to access variable itself -void ServerLobbyThread::DecrementGuests(){ +void ServerLobbyThread::DecrementGuests() { this->guests_.fetch_sub(1); } From 8f5813416d75c4111364c4aa892a7d2d4264939a Mon Sep 17 00:00:00 2001 From: Albert Medela Date: Tue, 12 Jul 2016 18:36:25 +0200 Subject: [PATCH 17/28] Revert ProtoBuf to version 2.6.1 and running astyle --- src/net/common/servergame.cpp | 26 +- src/net/common/servergamestate.cpp | 18 +- src/net/common/sessionmanager.cpp | 16 +- src/net/servergame.h | 10 +- src/net/sessionmanager.h | 2 +- tests/src/de/pokerth/protocol/ProtoBuf.java | 5006 ++++++++++++------- 6 files changed, 3131 insertions(+), 1947 deletions(-) diff --git a/src/net/common/servergame.cpp b/src/net/common/servergame.cpp index 27967451..5eb7e15d 100644 --- a/src/net/common/servergame.cpp +++ b/src/net/common/servergame.cpp @@ -457,8 +457,8 @@ ServerGame::InternalEndGame() { StoreAndResetRanking(); m_game.reset(); - // @XXX: reset NumJoinsPerPlayerMap (if a game restarts, the number of joins will be set to 0 for each player) - ResetNumJoinsPerPlayer(); + // @XXX: reset NumJoinsPerPlayerMap (if a game restarts, the number of joins will be set to 0 for each player) + ResetNumJoinsPerPlayer(); } void @@ -1169,21 +1169,21 @@ ServerGame::GetNextGameNum() void ServerGame::AddPlayerToNumJoinsPerPlayer(const std::string &playerName) { - if(m_numjoinsp.find(playerName) != m_numjoinsp.end()){ - m_numjoinsp[playerName] = m_numjoinsp[playerName] + 1; - }else{ - m_numjoinsp[playerName] = 1; - } + if(m_numjoinsp.find(playerName) != m_numjoinsp.end()) { + m_numjoinsp[playerName] = m_numjoinsp[playerName] + 1; + } else { + m_numjoinsp[playerName] = 1; + } } int ServerGame::GetNumJoinsPerPlayer(const std::string &playerName) { - int num = 0; - if(m_numjoinsp.find(playerName) != m_numjoinsp.end()){ - num = m_numjoinsp[playerName]; - } - return num; + int num = 0; + if(m_numjoinsp.find(playerName) != m_numjoinsp.end()) { + num = m_numjoinsp[playerName]; + } + return num; } void @@ -1193,7 +1193,7 @@ ServerGame::ResetNumJoinsPerPlayer() NumJoinsPerPlayerMap::const_iterator numj_end = m_numjoinsp.end(); while (numj_i != numj_end) { - m_numjoinsp[numj_i->first] = 0; + m_numjoinsp[numj_i->first] = 0; ++numj_i; } } diff --git a/src/net/common/servergamestate.cpp b/src/net/common/servergamestate.cpp index 80a90c7f..794c0b61 100644 --- a/src/net/common/servergamestate.cpp +++ b/src/net/common/servergamestate.cpp @@ -540,23 +540,23 @@ ServerGameStateInit::HandleNewPlayer(boost::shared_ptr server, boost if (session && session->GetPlayerData()) { const GameData &tmpGameData = server->GetGameData(); - // @XXX: debug - //LOG_ERROR("New Player: " << session->GetPlayerData()->GetName() << "."); - //server->AddPlayerToNumJoinsPerPlayer(session->GetPlayerData()->GetName()); - //LOG_ERROR("Num joins of " << session->GetPlayerData()->GetName() << " = " << server->GetNumJoinsPerPlayer(session->GetPlayerData()->GetName()) << "."); + // @XXX: debug + //LOG_ERROR("New Player: " << session->GetPlayerData()->GetName() << "."); + //server->AddPlayerToNumJoinsPerPlayer(session->GetPlayerData()->GetName()); + //LOG_ERROR("Num joins of " << session->GetPlayerData()->GetName() << " = " << server->GetNumJoinsPerPlayer(session->GetPlayerData()->GetName()) << "."); - // @XXX: check if player joined the game more than 9 times - decline if > 9 - if (server->GetNumJoinsPerPlayer(session->GetPlayerData()->GetName()) > GAME_NUM_JOINS_PER_PLAYER) { + // @XXX: check if player joined the game more than 9 times - decline if > 9 + if (server->GetNumJoinsPerPlayer(session->GetPlayerData()->GetName()) > GAME_NUM_JOINS_PER_PLAYER) { server->MoveSessionToLobby(session, NTF_NET_REMOVED_GAME_FULL); - return; + return; } // Check the number of players. if (server->GetCurNumberOfPlayers() >= tmpGameData.maxNumberOfPlayers) { server->MoveSessionToLobby(session, NTF_NET_REMOVED_GAME_FULL); } else { - // @XXX: add player to NumJoinsPerPlayerMap - server->AddPlayerToNumJoinsPerPlayer(session->GetPlayerData()->GetName()); + // @XXX: add player to NumJoinsPerPlayerMap + server->AddPlayerToNumJoinsPerPlayer(session->GetPlayerData()->GetName()); AcceptNewSession(server, session, false); diff --git a/src/net/common/sessionmanager.cpp b/src/net/common/sessionmanager.cpp index 53fe858f..04190876 100644 --- a/src/net/common/sessionmanager.cpp +++ b/src/net/common/sessionmanager.cpp @@ -258,14 +258,14 @@ SessionManager::IsGuestConnectedMultiple(const std::string &clientAddress) const while (i != end) { boost::shared_ptr tmpPlayer(i->second->GetPlayerData()); - // @XXX: productive: - //if(tmpPlayer && tmpPlayer->GetRights() == PLAYER_RIGHTS_GUEST && i->second->GetClientAddr() == clientAddress){ - // @XXX: debug: - // if(tmpPlayer && tmpPlayer->GetRights() == PLAYER_RIGHTS_NORMAL && i->second->GetClientAddr() == clientAddress){ - if(tmpPlayer && tmpPlayer->GetRights() == PLAYER_RIGHTS_GUEST && i->second->GetClientAddr() == clientAddress){ - retVal = true; - break; - } + // @XXX: productive: + //if(tmpPlayer && tmpPlayer->GetRights() == PLAYER_RIGHTS_GUEST && i->second->GetClientAddr() == clientAddress){ + // @XXX: debug: + // if(tmpPlayer && tmpPlayer->GetRights() == PLAYER_RIGHTS_NORMAL && i->second->GetClientAddr() == clientAddress){ + if(tmpPlayer && tmpPlayer->GetRights() == PLAYER_RIGHTS_GUEST && i->second->GetClientAddr() == clientAddress) { + retVal = true; + break; + } ++i; } return retVal; diff --git a/src/net/servergame.h b/src/net/servergame.h index ab351b80..6bdf8ce3 100644 --- a/src/net/servergame.h +++ b/src/net/servergame.h @@ -125,9 +125,9 @@ public: void KickPlayer(unsigned playerId); - void AddPlayerToNumJoinsPerPlayer(const std::string &playerName); - int GetNumJoinsPerPlayer(const std::string &playerName); - void ResetNumJoinsPerPlayer(); + void AddPlayerToNumJoinsPerPlayer(const std::string &playerName); + int GetNumJoinsPerPlayer(const std::string &playerName); + void ResetNumJoinsPerPlayer(); protected: @@ -195,7 +195,7 @@ protected: SessionManager &GetSessionManager(); ServerDBInterface &GetDatabase(); - typedef std::map NumJoinsPerPlayerMap; + typedef std::map NumJoinsPerPlayerMap; private: ServerGame(const ServerGame &other); @@ -258,7 +258,7 @@ private: friend class ServerGameStateWaitPlayerAction; friend class ServerGameStateWaitNextHand; - NumJoinsPerPlayerMap m_numjoinsp; + NumJoinsPerPlayerMap m_numjoinsp; }; #endif diff --git a/src/net/sessionmanager.h b/src/net/sessionmanager.h index 5eec02fc..882c333f 100644 --- a/src/net/sessionmanager.h +++ b/src/net/sessionmanager.h @@ -64,7 +64,7 @@ public: bool IsPlayerConnected(const std::string &playerName) const; bool IsPlayerConnected(unsigned uniqueId) const; bool IsClientAddressConnected(const std::string &clientAddress) const; - bool IsGuestConnectedMultiple(const std::string &clientAddress) const; + bool IsGuestConnectedMultiple(const std::string &clientAddress) const; void ForEach(boost::function)> func); diff --git a/tests/src/de/pokerth/protocol/ProtoBuf.java b/tests/src/de/pokerth/protocol/ProtoBuf.java index 02a11a46..91e40a82 100644 --- a/tests/src/de/pokerth/protocol/ProtoBuf.java +++ b/tests/src/de/pokerth/protocol/ProtoBuf.java @@ -461,10 +461,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required string gameName = 1; /** * required string gameName = 1; */ @@ -479,7 +479,6 @@ public final class ProtoBuf { com.google.protobuf.ByteString getGameNameBytes(); - // required .NetGameInfo.NetGameType netGameType = 2; /** * required .NetGameInfo.NetGameType netGameType = 2; */ @@ -489,7 +488,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.NetGameInfo.NetGameType getNetGameType(); - // required uint32 maxNumPlayers = 3; /** * required uint32 maxNumPlayers = 3; */ @@ -499,7 +497,6 @@ public final class ProtoBuf { */ int getMaxNumPlayers(); - // required .NetGameInfo.RaiseIntervalMode raiseIntervalMode = 4; /** * required .NetGameInfo.RaiseIntervalMode raiseIntervalMode = 4; */ @@ -509,7 +506,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.NetGameInfo.RaiseIntervalMode getRaiseIntervalMode(); - // optional uint32 raiseEveryHands = 5; /** * optional uint32 raiseEveryHands = 5; */ @@ -519,7 +515,6 @@ public final class ProtoBuf { */ int getRaiseEveryHands(); - // optional uint32 raiseEveryMinutes = 6; /** * optional uint32 raiseEveryMinutes = 6; */ @@ -529,7 +524,6 @@ public final class ProtoBuf { */ int getRaiseEveryMinutes(); - // required .NetGameInfo.EndRaiseMode endRaiseMode = 7; /** * required .NetGameInfo.EndRaiseMode endRaiseMode = 7; */ @@ -539,7 +533,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.NetGameInfo.EndRaiseMode getEndRaiseMode(); - // optional uint32 endRaiseSmallBlindValue = 8; /** * optional uint32 endRaiseSmallBlindValue = 8; */ @@ -549,7 +542,6 @@ public final class ProtoBuf { */ int getEndRaiseSmallBlindValue(); - // required uint32 proposedGuiSpeed = 9; /** * required uint32 proposedGuiSpeed = 9; */ @@ -559,7 +551,6 @@ public final class ProtoBuf { */ int getProposedGuiSpeed(); - // required uint32 delayBetweenHands = 10; /** * required uint32 delayBetweenHands = 10; * @@ -577,7 +568,6 @@ public final class ProtoBuf { */ int getDelayBetweenHands(); - // required uint32 playerActionTimeout = 11; /** * required uint32 playerActionTimeout = 11; * @@ -595,7 +585,6 @@ public final class ProtoBuf { */ int getPlayerActionTimeout(); - // required uint32 firstSmallBlind = 12; /** * required uint32 firstSmallBlind = 12; */ @@ -605,7 +594,6 @@ public final class ProtoBuf { */ int getFirstSmallBlind(); - // required uint32 startMoney = 13; /** * required uint32 startMoney = 13; */ @@ -615,7 +603,6 @@ public final class ProtoBuf { */ int getStartMoney(); - // repeated uint32 manualBlinds = 14 [packed = true]; /** * repeated uint32 manualBlinds = 14 [packed = true]; */ @@ -629,7 +616,6 @@ public final class ProtoBuf { */ int getManualBlinds(int index); - // optional bool allowSpectators = 15 [default = true]; /** * optional bool allowSpectators = 15 [default = true]; */ @@ -643,14 +629,15 @@ public final class ProtoBuf { * Protobuf type {@code NetGameInfo} */ public static final class NetGameInfo extends - com.google.protobuf.GeneratedMessageLite - implements NetGameInfoOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:NetGameInfo) + NetGameInfoOrBuilder { // Use NetGameInfo.newBuilder() to construct. private NetGameInfo(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private NetGameInfo(boolean noInit) {} + private NetGameInfo(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final NetGameInfo defaultInstance; public static NetGameInfo getDefaultInstance() { @@ -661,12 +648,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private NetGameInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -676,21 +669,25 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, 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(); de.pokerth.protocol.ProtoBuf.NetGameInfo.NetGameType value = de.pokerth.protocol.ProtoBuf.NetGameInfo.NetGameType.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFieldsCodedOutput.writeRawVarint32(tag); + unknownFieldsCodedOutput.writeRawVarint32(rawValue); + } else { bitField0_ |= 0x00000002; netGameType_ = value; } @@ -704,7 +701,10 @@ public final class ProtoBuf { case 32: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.NetGameInfo.RaiseIntervalMode value = de.pokerth.protocol.ProtoBuf.NetGameInfo.RaiseIntervalMode.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFieldsCodedOutput.writeRawVarint32(tag); + unknownFieldsCodedOutput.writeRawVarint32(rawValue); + } else { bitField0_ |= 0x00000008; raiseIntervalMode_ = value; } @@ -723,7 +723,10 @@ public final class ProtoBuf { case 56: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.NetGameInfo.EndRaiseMode value = de.pokerth.protocol.ProtoBuf.NetGameInfo.EndRaiseMode.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFieldsCodedOutput.writeRawVarint32(tag); + unknownFieldsCodedOutput.writeRawVarint32(rawValue); + } else { bitField0_ |= 0x00000040; endRaiseMode_ = value; } @@ -796,6 +799,13 @@ public final class ProtoBuf { if (((mutable_bitField0_ & 0x00002000) == 0x00002000)) { manualBlinds_ = java.util.Collections.unmodifiableList(manualBlinds_); } + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -1010,7 +1020,6 @@ public final class ProtoBuf { } private int bitField0_; - // required string gameName = 1; public static final int GAMENAME_FIELD_NUMBER = 1; private java.lang.Object gameName_; /** @@ -1053,7 +1062,6 @@ 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_; /** @@ -1069,7 +1077,6 @@ public final class ProtoBuf { return netGameType_; } - // required uint32 maxNumPlayers = 3; public static final int MAXNUMPLAYERS_FIELD_NUMBER = 3; private int maxNumPlayers_; /** @@ -1085,7 +1092,6 @@ public final class ProtoBuf { return maxNumPlayers_; } - // required .NetGameInfo.RaiseIntervalMode raiseIntervalMode = 4; public static final int RAISEINTERVALMODE_FIELD_NUMBER = 4; private de.pokerth.protocol.ProtoBuf.NetGameInfo.RaiseIntervalMode raiseIntervalMode_; /** @@ -1101,7 +1107,6 @@ public final class ProtoBuf { return raiseIntervalMode_; } - // optional uint32 raiseEveryHands = 5; public static final int RAISEEVERYHANDS_FIELD_NUMBER = 5; private int raiseEveryHands_; /** @@ -1117,7 +1122,6 @@ public final class ProtoBuf { return raiseEveryHands_; } - // optional uint32 raiseEveryMinutes = 6; public static final int RAISEEVERYMINUTES_FIELD_NUMBER = 6; private int raiseEveryMinutes_; /** @@ -1133,7 +1137,6 @@ public final class ProtoBuf { return raiseEveryMinutes_; } - // required .NetGameInfo.EndRaiseMode endRaiseMode = 7; public static final int ENDRAISEMODE_FIELD_NUMBER = 7; private de.pokerth.protocol.ProtoBuf.NetGameInfo.EndRaiseMode endRaiseMode_; /** @@ -1149,7 +1152,6 @@ public final class ProtoBuf { return endRaiseMode_; } - // optional uint32 endRaiseSmallBlindValue = 8; public static final int ENDRAISESMALLBLINDVALUE_FIELD_NUMBER = 8; private int endRaiseSmallBlindValue_; /** @@ -1165,7 +1167,6 @@ public final class ProtoBuf { return endRaiseSmallBlindValue_; } - // required uint32 proposedGuiSpeed = 9; public static final int PROPOSEDGUISPEED_FIELD_NUMBER = 9; private int proposedGuiSpeed_; /** @@ -1181,7 +1182,6 @@ public final class ProtoBuf { return proposedGuiSpeed_; } - // required uint32 delayBetweenHands = 10; public static final int DELAYBETWEENHANDS_FIELD_NUMBER = 10; private int delayBetweenHands_; /** @@ -1205,7 +1205,6 @@ public final class ProtoBuf { return delayBetweenHands_; } - // required uint32 playerActionTimeout = 11; public static final int PLAYERACTIONTIMEOUT_FIELD_NUMBER = 11; private int playerActionTimeout_; /** @@ -1229,7 +1228,6 @@ public final class ProtoBuf { return playerActionTimeout_; } - // required uint32 firstSmallBlind = 12; public static final int FIRSTSMALLBLIND_FIELD_NUMBER = 12; private int firstSmallBlind_; /** @@ -1245,7 +1243,6 @@ public final class ProtoBuf { return firstSmallBlind_; } - // required uint32 startMoney = 13; public static final int STARTMONEY_FIELD_NUMBER = 13; private int startMoney_; /** @@ -1261,7 +1258,6 @@ public final class ProtoBuf { return startMoney_; } - // repeated uint32 manualBlinds = 14 [packed = true]; public static final int MANUALBLINDS_FIELD_NUMBER = 14; private java.util.List manualBlinds_; /** @@ -1285,7 +1281,6 @@ public final class ProtoBuf { } private int manualBlindsMemoizedSerializedSize = -1; - // optional bool allowSpectators = 15 [default = true]; public static final int ALLOWSPECTATORS_FIELD_NUMBER = 15; private boolean allowSpectators_; /** @@ -1321,7 +1316,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -1419,6 +1415,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00002000) == 0x00002000)) { output.writeBool(15, allowSpectators_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -1497,6 +1494,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeBoolSize(15, allowSpectators_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -1574,7 +1572,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.NetGameInfo, Builder> - implements de.pokerth.protocol.ProtoBuf.NetGameInfoOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:NetGameInfo) + de.pokerth.protocol.ProtoBuf.NetGameInfoOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.NetGameInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -1762,6 +1762,8 @@ public final class ProtoBuf { if (other.hasAllowSpectators()) { setAllowSpectators(other.getAllowSpectators()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -1828,7 +1830,6 @@ public final class ProtoBuf { } private int bitField0_; - // required string gameName = 1; private java.lang.Object gameName_ = ""; /** * required string gameName = 1; @@ -1842,9 +1843,12 @@ public final class ProtoBuf { 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; @@ -1902,7 +1906,6 @@ public final class ProtoBuf { return this; } - // required .NetGameInfo.NetGameType netGameType = 2; private de.pokerth.protocol.ProtoBuf.NetGameInfo.NetGameType netGameType_ = de.pokerth.protocol.ProtoBuf.NetGameInfo.NetGameType.normalGame; /** * required .NetGameInfo.NetGameType netGameType = 2; @@ -1938,7 +1941,6 @@ public final class ProtoBuf { return this; } - // required uint32 maxNumPlayers = 3; private int maxNumPlayers_ ; /** * required uint32 maxNumPlayers = 3; @@ -1971,7 +1973,6 @@ public final class ProtoBuf { return this; } - // required .NetGameInfo.RaiseIntervalMode raiseIntervalMode = 4; private de.pokerth.protocol.ProtoBuf.NetGameInfo.RaiseIntervalMode raiseIntervalMode_ = de.pokerth.protocol.ProtoBuf.NetGameInfo.RaiseIntervalMode.raiseOnHandNum; /** * required .NetGameInfo.RaiseIntervalMode raiseIntervalMode = 4; @@ -2007,7 +2008,6 @@ public final class ProtoBuf { return this; } - // optional uint32 raiseEveryHands = 5; private int raiseEveryHands_ ; /** * optional uint32 raiseEveryHands = 5; @@ -2040,7 +2040,6 @@ public final class ProtoBuf { return this; } - // optional uint32 raiseEveryMinutes = 6; private int raiseEveryMinutes_ ; /** * optional uint32 raiseEveryMinutes = 6; @@ -2073,7 +2072,6 @@ public final class ProtoBuf { return this; } - // required .NetGameInfo.EndRaiseMode endRaiseMode = 7; private de.pokerth.protocol.ProtoBuf.NetGameInfo.EndRaiseMode endRaiseMode_ = de.pokerth.protocol.ProtoBuf.NetGameInfo.EndRaiseMode.doubleBlinds; /** * required .NetGameInfo.EndRaiseMode endRaiseMode = 7; @@ -2109,7 +2107,6 @@ public final class ProtoBuf { return this; } - // optional uint32 endRaiseSmallBlindValue = 8; private int endRaiseSmallBlindValue_ ; /** * optional uint32 endRaiseSmallBlindValue = 8; @@ -2142,7 +2139,6 @@ public final class ProtoBuf { return this; } - // required uint32 proposedGuiSpeed = 9; private int proposedGuiSpeed_ ; /** * required uint32 proposedGuiSpeed = 9; @@ -2175,7 +2171,6 @@ public final class ProtoBuf { return this; } - // required uint32 delayBetweenHands = 10; private int delayBetweenHands_ ; /** * required uint32 delayBetweenHands = 10; @@ -2224,7 +2219,6 @@ public final class ProtoBuf { return this; } - // required uint32 playerActionTimeout = 11; private int playerActionTimeout_ ; /** * required uint32 playerActionTimeout = 11; @@ -2273,7 +2267,6 @@ public final class ProtoBuf { return this; } - // required uint32 firstSmallBlind = 12; private int firstSmallBlind_ ; /** * required uint32 firstSmallBlind = 12; @@ -2306,7 +2299,6 @@ public final class ProtoBuf { return this; } - // required uint32 startMoney = 13; private int startMoney_ ; /** * required uint32 startMoney = 13; @@ -2339,7 +2331,6 @@ public final class ProtoBuf { return this; } - // repeated uint32 manualBlinds = 14 [packed = true]; private java.util.List manualBlinds_ = java.util.Collections.emptyList(); private void ensureManualBlindsIsMutable() { if (!((bitField0_ & 0x00002000) == 0x00002000)) { @@ -2391,7 +2382,8 @@ public final class ProtoBuf { public Builder addAllManualBlinds( java.lang.Iterable values) { ensureManualBlindsIsMutable(); - super.addAll(values, manualBlinds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, manualBlinds_); return this; } @@ -2405,7 +2397,6 @@ public final class ProtoBuf { return this; } - // optional bool allowSpectators = 15 [default = true]; private boolean allowSpectators_ = true; /** * optional bool allowSpectators = 15 [default = true]; @@ -2449,10 +2440,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 playerId = 1; /** * required uint32 playerId = 1; */ @@ -2462,7 +2453,6 @@ public final class ProtoBuf { */ int getPlayerId(); - // required uint32 resultCard1 = 2; /** * required uint32 resultCard1 = 2; */ @@ -2472,7 +2462,6 @@ public final class ProtoBuf { */ int getResultCard1(); - // required uint32 resultCard2 = 3; /** * required uint32 resultCard2 = 3; */ @@ -2482,7 +2471,6 @@ public final class ProtoBuf { */ int getResultCard2(); - // repeated uint32 bestHandPosition = 4 [packed = true]; /** * repeated uint32 bestHandPosition = 4 [packed = true]; */ @@ -2496,7 +2484,6 @@ public final class ProtoBuf { */ int getBestHandPosition(int index); - // required uint32 moneyWon = 5; /** * required uint32 moneyWon = 5; */ @@ -2506,7 +2493,6 @@ public final class ProtoBuf { */ int getMoneyWon(); - // required uint32 playerMoney = 6; /** * required uint32 playerMoney = 6; */ @@ -2516,7 +2502,6 @@ public final class ProtoBuf { */ int getPlayerMoney(); - // optional uint32 cardsValue = 7; /** * optional uint32 cardsValue = 7; */ @@ -2530,14 +2515,15 @@ public final class ProtoBuf { * Protobuf type {@code PlayerResult} */ public static final class PlayerResult extends - com.google.protobuf.GeneratedMessageLite - implements PlayerResultOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:PlayerResult) + PlayerResultOrBuilder { // Use PlayerResult.newBuilder() to construct. private PlayerResult(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private PlayerResult(boolean noInit) {} + private PlayerResult(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final PlayerResult defaultInstance; public static PlayerResult getDefaultInstance() { @@ -2548,12 +2534,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private PlayerResult( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -2563,7 +2555,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -2631,6 +2623,13 @@ public final class ProtoBuf { if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) { bestHandPosition_ = java.util.Collections.unmodifiableList(bestHandPosition_); } + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -2650,7 +2649,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 playerId = 1; public static final int PLAYERID_FIELD_NUMBER = 1; private int playerId_; /** @@ -2666,7 +2664,6 @@ public final class ProtoBuf { return playerId_; } - // required uint32 resultCard1 = 2; public static final int RESULTCARD1_FIELD_NUMBER = 2; private int resultCard1_; /** @@ -2682,7 +2679,6 @@ public final class ProtoBuf { return resultCard1_; } - // required uint32 resultCard2 = 3; public static final int RESULTCARD2_FIELD_NUMBER = 3; private int resultCard2_; /** @@ -2698,7 +2694,6 @@ public final class ProtoBuf { return resultCard2_; } - // repeated uint32 bestHandPosition = 4 [packed = true]; public static final int BESTHANDPOSITION_FIELD_NUMBER = 4; private java.util.List bestHandPosition_; /** @@ -2722,7 +2717,6 @@ public final class ProtoBuf { } private int bestHandPositionMemoizedSerializedSize = -1; - // required uint32 moneyWon = 5; public static final int MONEYWON_FIELD_NUMBER = 5; private int moneyWon_; /** @@ -2738,7 +2732,6 @@ public final class ProtoBuf { return moneyWon_; } - // required uint32 playerMoney = 6; public static final int PLAYERMONEY_FIELD_NUMBER = 6; private int playerMoney_; /** @@ -2754,7 +2747,6 @@ public final class ProtoBuf { return playerMoney_; } - // optional uint32 cardsValue = 7; public static final int CARDSVALUE_FIELD_NUMBER = 7; private int cardsValue_; /** @@ -2782,7 +2774,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -2836,6 +2829,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeUInt32(7, cardsValue_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -2882,6 +2876,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(7, cardsValue_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -2959,7 +2954,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.PlayerResult, Builder> - implements de.pokerth.protocol.ProtoBuf.PlayerResultOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:PlayerResult) + de.pokerth.protocol.ProtoBuf.PlayerResultOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.PlayerResult.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -3073,6 +3070,8 @@ public final class ProtoBuf { if (other.hasCardsValue()) { setCardsValue(other.getCardsValue()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -3119,7 +3118,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 playerId = 1; private int playerId_ ; /** * required uint32 playerId = 1; @@ -3152,7 +3150,6 @@ public final class ProtoBuf { return this; } - // required uint32 resultCard1 = 2; private int resultCard1_ ; /** * required uint32 resultCard1 = 2; @@ -3185,7 +3182,6 @@ public final class ProtoBuf { return this; } - // required uint32 resultCard2 = 3; private int resultCard2_ ; /** * required uint32 resultCard2 = 3; @@ -3218,7 +3214,6 @@ public final class ProtoBuf { return this; } - // repeated uint32 bestHandPosition = 4 [packed = true]; private java.util.List bestHandPosition_ = java.util.Collections.emptyList(); private void ensureBestHandPositionIsMutable() { if (!((bitField0_ & 0x00000008) == 0x00000008)) { @@ -3270,7 +3265,8 @@ public final class ProtoBuf { public Builder addAllBestHandPosition( java.lang.Iterable values) { ensureBestHandPositionIsMutable(); - super.addAll(values, bestHandPosition_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, bestHandPosition_); return this; } @@ -3284,7 +3280,6 @@ public final class ProtoBuf { return this; } - // required uint32 moneyWon = 5; private int moneyWon_ ; /** * required uint32 moneyWon = 5; @@ -3317,7 +3312,6 @@ public final class ProtoBuf { return this; } - // required uint32 playerMoney = 6; private int playerMoney_ ; /** * required uint32 playerMoney = 6; @@ -3350,7 +3344,6 @@ public final class ProtoBuf { return this; } - // optional uint32 cardsValue = 7; private int cardsValue_ ; /** * optional uint32 cardsValue = 7; @@ -3394,10 +3387,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required .AnnounceMessage.Version protocolVersion = 1; /** * required .AnnounceMessage.Version protocolVersion = 1; */ @@ -3407,7 +3400,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version getProtocolVersion(); - // required .AnnounceMessage.Version latestGameVersion = 2; /** * required .AnnounceMessage.Version latestGameVersion = 2; */ @@ -3417,7 +3409,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version getLatestGameVersion(); - // required uint32 latestBetaRevision = 3; /** * required uint32 latestBetaRevision = 3; */ @@ -3427,7 +3418,6 @@ public final class ProtoBuf { */ int getLatestBetaRevision(); - // required .AnnounceMessage.ServerType serverType = 4; /** * required .AnnounceMessage.ServerType serverType = 4; */ @@ -3437,7 +3427,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.AnnounceMessage.ServerType getServerType(); - // required uint32 numPlayersOnServer = 5; /** * required uint32 numPlayersOnServer = 5; */ @@ -3451,14 +3440,15 @@ public final class ProtoBuf { * Protobuf type {@code AnnounceMessage} */ public static final class AnnounceMessage extends - com.google.protobuf.GeneratedMessageLite - implements AnnounceMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:AnnounceMessage) + AnnounceMessageOrBuilder { // Use AnnounceMessage.newBuilder() to construct. private AnnounceMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private AnnounceMessage(boolean noInit) {} + private AnnounceMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final AnnounceMessage defaultInstance; public static AnnounceMessage getDefaultInstance() { @@ -3469,12 +3459,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private AnnounceMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -3484,7 +3480,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -3524,7 +3520,10 @@ public final class ProtoBuf { case 32: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.AnnounceMessage.ServerType value = de.pokerth.protocol.ProtoBuf.AnnounceMessage.ServerType.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFieldsCodedOutput.writeRawVarint32(tag); + unknownFieldsCodedOutput.writeRawVarint32(rawValue); + } else { bitField0_ |= 0x00000008; serverType_ = value; } @@ -3543,6 +3542,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -3626,10 +3632,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 majorVersion = 1; /** * required uint32 majorVersion = 1; */ @@ -3639,7 +3645,6 @@ public final class ProtoBuf { */ int getMajorVersion(); - // required uint32 minorVersion = 2; /** * required uint32 minorVersion = 2; */ @@ -3653,14 +3658,15 @@ public final class ProtoBuf { * Protobuf type {@code AnnounceMessage.Version} */ public static final class Version extends - com.google.protobuf.GeneratedMessageLite - implements VersionOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:AnnounceMessage.Version) + VersionOrBuilder { // Use Version.newBuilder() to construct. private Version(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private Version(boolean noInit) {} + private Version(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final Version defaultInstance; public static Version getDefaultInstance() { @@ -3671,12 +3677,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private Version( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -3686,7 +3698,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -3710,6 +3722,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -3729,7 +3748,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 majorVersion = 1; public static final int MAJORVERSION_FIELD_NUMBER = 1; private int majorVersion_; /** @@ -3745,7 +3763,6 @@ public final class ProtoBuf { return majorVersion_; } - // required uint32 minorVersion = 2; public static final int MINORVERSION_FIELD_NUMBER = 2; private int minorVersion_; /** @@ -3768,7 +3785,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -3791,6 +3809,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt32(2, minorVersion_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -3807,6 +3826,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, minorVersion_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -3884,7 +3904,9 @@ public final class ProtoBuf { 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 { + implements + // @@protoc_insertion_point(builder_implements:AnnounceMessage.Version) + de.pokerth.protocol.ProtoBuf.AnnounceMessage.VersionOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -3945,6 +3967,8 @@ public final class ProtoBuf { if (other.hasMinorVersion()) { setMinorVersion(other.getMinorVersion()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -3979,7 +4003,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 majorVersion = 1; private int majorVersion_ ; /** * required uint32 majorVersion = 1; @@ -4012,7 +4035,6 @@ public final class ProtoBuf { return this; } - // required uint32 minorVersion = 2; private int minorVersion_ ; /** * required uint32 minorVersion = 2; @@ -4057,7 +4079,6 @@ public final class ProtoBuf { } private int bitField0_; - // required .AnnounceMessage.Version protocolVersion = 1; public static final int PROTOCOLVERSION_FIELD_NUMBER = 1; private de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version protocolVersion_; /** @@ -4073,7 +4094,6 @@ public final class ProtoBuf { return protocolVersion_; } - // required .AnnounceMessage.Version latestGameVersion = 2; public static final int LATESTGAMEVERSION_FIELD_NUMBER = 2; private de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version latestGameVersion_; /** @@ -4089,7 +4109,6 @@ public final class ProtoBuf { return latestGameVersion_; } - // required uint32 latestBetaRevision = 3; public static final int LATESTBETAREVISION_FIELD_NUMBER = 3; private int latestBetaRevision_; /** @@ -4105,7 +4124,6 @@ public final class ProtoBuf { return latestBetaRevision_; } - // required .AnnounceMessage.ServerType serverType = 4; public static final int SERVERTYPE_FIELD_NUMBER = 4; private de.pokerth.protocol.ProtoBuf.AnnounceMessage.ServerType serverType_; /** @@ -4121,7 +4139,6 @@ public final class ProtoBuf { return serverType_; } - // required uint32 numPlayersOnServer = 5; public static final int NUMPLAYERSONSERVER_FIELD_NUMBER = 5; private int numPlayersOnServer_; /** @@ -4147,7 +4164,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -4199,6 +4217,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeUInt32(5, numPlayersOnServer_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -4227,6 +4246,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(5, numPlayersOnServer_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -4304,7 +4324,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.AnnounceMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.AnnounceMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:AnnounceMessage) + de.pokerth.protocol.ProtoBuf.AnnounceMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.AnnounceMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -4392,6 +4414,8 @@ public final class ProtoBuf { if (other.hasNumPlayersOnServer()) { setNumPlayersOnServer(other.getNumPlayersOnServer()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -4446,7 +4470,6 @@ 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(); /** * required .AnnounceMessage.Version protocolVersion = 1; @@ -4507,7 +4530,6 @@ public final class ProtoBuf { return this; } - // required .AnnounceMessage.Version latestGameVersion = 2; private de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version latestGameVersion_ = de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.getDefaultInstance(); /** * required .AnnounceMessage.Version latestGameVersion = 2; @@ -4568,7 +4590,6 @@ public final class ProtoBuf { return this; } - // required uint32 latestBetaRevision = 3; private int latestBetaRevision_ ; /** * required uint32 latestBetaRevision = 3; @@ -4601,7 +4622,6 @@ public final class ProtoBuf { return this; } - // required .AnnounceMessage.ServerType serverType = 4; private de.pokerth.protocol.ProtoBuf.AnnounceMessage.ServerType serverType_ = de.pokerth.protocol.ProtoBuf.AnnounceMessage.ServerType.serverTypeLAN; /** * required .AnnounceMessage.ServerType serverType = 4; @@ -4637,7 +4657,6 @@ public final class ProtoBuf { return this; } - // required uint32 numPlayersOnServer = 5; private int numPlayersOnServer_ ; /** * required uint32 numPlayersOnServer = 5; @@ -4681,10 +4700,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required .AnnounceMessage.Version requestedVersion = 1; /** * required .AnnounceMessage.Version requestedVersion = 1; */ @@ -4694,7 +4713,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version getRequestedVersion(); - // required uint32 buildId = 2; /** * required uint32 buildId = 2; */ @@ -4704,7 +4722,6 @@ public final class ProtoBuf { */ int getBuildId(); - // optional bytes myLastSessionId = 3; /** * optional bytes myLastSessionId = 3; */ @@ -4714,7 +4731,6 @@ public final class ProtoBuf { */ com.google.protobuf.ByteString getMyLastSessionId(); - // optional string authServerPassword = 4; /** * optional string authServerPassword = 4; */ @@ -4729,7 +4745,6 @@ public final class ProtoBuf { com.google.protobuf.ByteString getAuthServerPasswordBytes(); - // required .InitMessage.LoginType login = 5; /** * required .InitMessage.LoginType login = 5; */ @@ -4739,7 +4754,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.InitMessage.LoginType getLogin(); - // optional string nickName = 6; /** * optional string nickName = 6; * @@ -4766,7 +4780,6 @@ public final class ProtoBuf { com.google.protobuf.ByteString getNickNameBytes(); - // optional bytes clientUserData = 7; /** * optional bytes clientUserData = 7; * @@ -4784,7 +4797,6 @@ public final class ProtoBuf { */ com.google.protobuf.ByteString getClientUserData(); - // optional bytes avatarHash = 8; /** * optional bytes avatarHash = 8; * @@ -4810,14 +4822,15 @@ public final class ProtoBuf { * */ public static final class InitMessage extends - com.google.protobuf.GeneratedMessageLite - implements InitMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:InitMessage) + InitMessageOrBuilder { // Use InitMessage.newBuilder() to construct. private InitMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private InitMessage(boolean noInit) {} + private InitMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final InitMessage defaultInstance; public static InitMessage getDefaultInstance() { @@ -4828,12 +4841,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private InitMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -4843,7 +4862,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -4873,22 +4892,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(); de.pokerth.protocol.ProtoBuf.InitMessage.LoginType value = de.pokerth.protocol.ProtoBuf.InitMessage.LoginType.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFieldsCodedOutput.writeRawVarint32(tag); + unknownFieldsCodedOutput.writeRawVarint32(rawValue); + } else { bitField0_ |= 0x00000010; login_ = value; } break; } case 50: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000020; - nickName_ = input.readBytes(); + nickName_ = bs; break; } case 58: { @@ -4909,6 +4933,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -4993,7 +5024,6 @@ 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_; /** @@ -5009,7 +5039,6 @@ public final class ProtoBuf { return requestedVersion_; } - // required uint32 buildId = 2; public static final int BUILDID_FIELD_NUMBER = 2; private int buildId_; /** @@ -5025,7 +5054,6 @@ public final class ProtoBuf { return buildId_; } - // optional bytes myLastSessionId = 3; public static final int MYLASTSESSIONID_FIELD_NUMBER = 3; private com.google.protobuf.ByteString myLastSessionId_; /** @@ -5041,7 +5069,6 @@ public final class ProtoBuf { return myLastSessionId_; } - // optional string authServerPassword = 4; public static final int AUTHSERVERPASSWORD_FIELD_NUMBER = 4; private java.lang.Object authServerPassword_; /** @@ -5084,7 +5111,6 @@ 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_; /** @@ -5100,7 +5126,6 @@ public final class ProtoBuf { return login_; } - // optional string nickName = 6; public static final int NICKNAME_FIELD_NUMBER = 6; private java.lang.Object nickName_; /** @@ -5155,7 +5180,6 @@ public final class ProtoBuf { } } - // optional bytes clientUserData = 7; public static final int CLIENTUSERDATA_FIELD_NUMBER = 7; private com.google.protobuf.ByteString clientUserData_; /** @@ -5179,7 +5203,6 @@ public final class ProtoBuf { return clientUserData_; } - // optional bytes avatarHash = 8; public static final int AVATARHASH_FIELD_NUMBER = 8; private com.google.protobuf.ByteString avatarHash_; /** @@ -5216,7 +5239,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -5265,6 +5289,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000080) == 0x00000080)) { output.writeBytes(8, avatarHash_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -5305,6 +5330,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeBytesSize(8, avatarHash_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -5386,7 +5412,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.InitMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.InitMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:InitMessage) + de.pokerth.protocol.ProtoBuf.InitMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.InitMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -5505,6 +5533,8 @@ public final class ProtoBuf { if (other.hasAvatarHash()) { setAvatarHash(other.getAvatarHash()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -5547,7 +5577,6 @@ 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(); /** * required .AnnounceMessage.Version requestedVersion = 1; @@ -5608,7 +5637,6 @@ public final class ProtoBuf { return this; } - // required uint32 buildId = 2; private int buildId_ ; /** * required uint32 buildId = 2; @@ -5641,7 +5669,6 @@ public final class ProtoBuf { return this; } - // optional bytes myLastSessionId = 3; private com.google.protobuf.ByteString myLastSessionId_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes myLastSessionId = 3; @@ -5677,7 +5704,6 @@ public final class ProtoBuf { return this; } - // optional string authServerPassword = 4; private java.lang.Object authServerPassword_ = ""; /** * optional string authServerPassword = 4; @@ -5691,9 +5717,12 @@ public final class ProtoBuf { 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; @@ -5751,7 +5780,6 @@ public final class ProtoBuf { return this; } - // required .InitMessage.LoginType login = 5; private de.pokerth.protocol.ProtoBuf.InitMessage.LoginType login_ = de.pokerth.protocol.ProtoBuf.InitMessage.LoginType.guestLogin; /** * required .InitMessage.LoginType login = 5; @@ -5787,7 +5815,6 @@ public final class ProtoBuf { return this; } - // optional string nickName = 6; private java.lang.Object nickName_ = ""; /** * optional string nickName = 6; @@ -5809,9 +5836,12 @@ public final class ProtoBuf { 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; @@ -5885,7 +5915,6 @@ public final class ProtoBuf { return this; } - // optional bytes clientUserData = 7; private com.google.protobuf.ByteString clientUserData_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes clientUserData = 7; @@ -5937,7 +5966,6 @@ public final class ProtoBuf { return this; } - // optional bytes avatarHash = 8; private com.google.protobuf.ByteString avatarHash_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes avatarHash = 8; @@ -6000,10 +6028,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required bytes serverChallenge = 1; /** * required bytes serverChallenge = 1; */ @@ -6017,14 +6045,15 @@ public final class ProtoBuf { * Protobuf type {@code AuthServerChallengeMessage} */ public static final class AuthServerChallengeMessage extends - com.google.protobuf.GeneratedMessageLite - implements AuthServerChallengeMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:AuthServerChallengeMessage) + AuthServerChallengeMessageOrBuilder { // Use AuthServerChallengeMessage.newBuilder() to construct. private AuthServerChallengeMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private AuthServerChallengeMessage(boolean noInit) {} + private AuthServerChallengeMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final AuthServerChallengeMessage defaultInstance; public static AuthServerChallengeMessage getDefaultInstance() { @@ -6035,12 +6064,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private AuthServerChallengeMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -6050,7 +6085,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -6069,6 +6104,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -6088,7 +6130,6 @@ public final class ProtoBuf { } private int bitField0_; - // required bytes serverChallenge = 1; public static final int SERVERCHALLENGE_FIELD_NUMBER = 1; private com.google.protobuf.ByteString serverChallenge_; /** @@ -6110,7 +6151,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -6126,6 +6168,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, serverChallenge_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -6138,6 +6181,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, serverChallenge_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -6215,7 +6259,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:AuthServerChallengeMessage) + de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -6267,6 +6313,8 @@ public final class ProtoBuf { if (other.hasServerChallenge()) { setServerChallenge(other.getServerChallenge()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -6297,7 +6345,6 @@ 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; @@ -6344,10 +6391,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required bytes clientResponse = 1; /** * required bytes clientResponse = 1; */ @@ -6361,14 +6408,15 @@ public final class ProtoBuf { * Protobuf type {@code AuthClientResponseMessage} */ public static final class AuthClientResponseMessage extends - com.google.protobuf.GeneratedMessageLite - implements AuthClientResponseMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:AuthClientResponseMessage) + AuthClientResponseMessageOrBuilder { // Use AuthClientResponseMessage.newBuilder() to construct. private AuthClientResponseMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private AuthClientResponseMessage(boolean noInit) {} + private AuthClientResponseMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final AuthClientResponseMessage defaultInstance; public static AuthClientResponseMessage getDefaultInstance() { @@ -6379,12 +6427,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private AuthClientResponseMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -6394,7 +6448,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -6413,6 +6467,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -6432,7 +6493,6 @@ public final class ProtoBuf { } private int bitField0_; - // required bytes clientResponse = 1; public static final int CLIENTRESPONSE_FIELD_NUMBER = 1; private com.google.protobuf.ByteString clientResponse_; /** @@ -6454,7 +6514,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -6470,6 +6531,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, clientResponse_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -6482,6 +6544,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, clientResponse_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -6559,7 +6622,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.AuthClientResponseMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:AuthClientResponseMessage) + de.pokerth.protocol.ProtoBuf.AuthClientResponseMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -6611,6 +6676,8 @@ public final class ProtoBuf { if (other.hasClientResponse()) { setClientResponse(other.getClientResponse()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -6641,7 +6708,6 @@ 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; @@ -6688,10 +6754,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required bytes serverVerification = 1; /** * required bytes serverVerification = 1; */ @@ -6705,14 +6771,15 @@ public final class ProtoBuf { * Protobuf type {@code AuthServerVerificationMessage} */ public static final class AuthServerVerificationMessage extends - com.google.protobuf.GeneratedMessageLite - implements AuthServerVerificationMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:AuthServerVerificationMessage) + AuthServerVerificationMessageOrBuilder { // Use AuthServerVerificationMessage.newBuilder() to construct. private AuthServerVerificationMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private AuthServerVerificationMessage(boolean noInit) {} + private AuthServerVerificationMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final AuthServerVerificationMessage defaultInstance; public static AuthServerVerificationMessage getDefaultInstance() { @@ -6723,12 +6790,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private AuthServerVerificationMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -6738,7 +6811,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -6757,6 +6830,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -6776,7 +6856,6 @@ public final class ProtoBuf { } private int bitField0_; - // required bytes serverVerification = 1; public static final int SERVERVERIFICATION_FIELD_NUMBER = 1; private com.google.protobuf.ByteString serverVerification_; /** @@ -6798,7 +6877,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -6814,6 +6894,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, serverVerification_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -6826,6 +6907,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, serverVerification_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -6903,7 +6985,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:AuthServerVerificationMessage) + de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -6955,6 +7039,8 @@ public final class ProtoBuf { if (other.hasServerVerification()) { setServerVerification(other.getServerVerification()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -6985,7 +7071,6 @@ 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; @@ -7032,10 +7117,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required bytes yourSessionId = 1; /** * required bytes yourSessionId = 1; */ @@ -7045,7 +7130,6 @@ public final class ProtoBuf { */ com.google.protobuf.ByteString getYourSessionId(); - // required uint32 yourPlayerId = 2; /** * required uint32 yourPlayerId = 2; */ @@ -7055,7 +7139,6 @@ public final class ProtoBuf { */ int getYourPlayerId(); - // optional bytes yourAvatarHash = 3; /** * optional bytes yourAvatarHash = 3; */ @@ -7065,7 +7148,6 @@ public final class ProtoBuf { */ com.google.protobuf.ByteString getYourAvatarHash(); - // optional uint32 rejoinGameId = 4; /** * optional uint32 rejoinGameId = 4; */ @@ -7079,14 +7161,15 @@ public final class ProtoBuf { * Protobuf type {@code InitAckMessage} */ public static final class InitAckMessage extends - com.google.protobuf.GeneratedMessageLite - implements InitAckMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:InitAckMessage) + InitAckMessageOrBuilder { // Use InitAckMessage.newBuilder() to construct. private InitAckMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private InitAckMessage(boolean noInit) {} + private InitAckMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final InitAckMessage defaultInstance; public static InitAckMessage getDefaultInstance() { @@ -7097,12 +7180,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private InitAckMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -7112,7 +7201,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -7146,6 +7235,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -7165,7 +7261,6 @@ public final class ProtoBuf { } private int bitField0_; - // required bytes yourSessionId = 1; public static final int YOURSESSIONID_FIELD_NUMBER = 1; private com.google.protobuf.ByteString yourSessionId_; /** @@ -7181,7 +7276,6 @@ public final class ProtoBuf { return yourSessionId_; } - // required uint32 yourPlayerId = 2; public static final int YOURPLAYERID_FIELD_NUMBER = 2; private int yourPlayerId_; /** @@ -7197,7 +7291,6 @@ public final class ProtoBuf { return yourPlayerId_; } - // optional bytes yourAvatarHash = 3; public static final int YOURAVATARHASH_FIELD_NUMBER = 3; private com.google.protobuf.ByteString yourAvatarHash_; /** @@ -7213,7 +7306,6 @@ public final class ProtoBuf { return yourAvatarHash_; } - // optional uint32 rejoinGameId = 4; public static final int REJOINGAMEID_FIELD_NUMBER = 4; private int rejoinGameId_; /** @@ -7238,7 +7330,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -7267,6 +7360,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeUInt32(4, rejoinGameId_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -7291,6 +7385,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(4, rejoinGameId_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -7368,7 +7463,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.InitAckMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.InitAckMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:InitAckMessage) + de.pokerth.protocol.ProtoBuf.InitAckMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.InitAckMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -7447,6 +7544,8 @@ public final class ProtoBuf { if (other.hasRejoinGameId()) { setRejoinGameId(other.getRejoinGameId()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -7481,7 +7580,6 @@ 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; @@ -7517,7 +7615,6 @@ public final class ProtoBuf { return this; } - // required uint32 yourPlayerId = 2; private int yourPlayerId_ ; /** * required uint32 yourPlayerId = 2; @@ -7550,7 +7647,6 @@ public final class ProtoBuf { return this; } - // optional bytes yourAvatarHash = 3; private com.google.protobuf.ByteString yourAvatarHash_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes yourAvatarHash = 3; @@ -7586,7 +7682,6 @@ public final class ProtoBuf { return this; } - // optional uint32 rejoinGameId = 4; private int rejoinGameId_ ; /** * optional uint32 rejoinGameId = 4; @@ -7630,10 +7725,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 requestId = 1; /** * required uint32 requestId = 1; */ @@ -7643,7 +7738,6 @@ public final class ProtoBuf { */ int getRequestId(); - // required bytes avatarHash = 2; /** * required bytes avatarHash = 2; */ @@ -7657,14 +7751,15 @@ public final class ProtoBuf { * Protobuf type {@code AvatarRequestMessage} */ public static final class AvatarRequestMessage extends - com.google.protobuf.GeneratedMessageLite - implements AvatarRequestMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:AvatarRequestMessage) + AvatarRequestMessageOrBuilder { // Use AvatarRequestMessage.newBuilder() to construct. private AvatarRequestMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private AvatarRequestMessage(boolean noInit) {} + private AvatarRequestMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final AvatarRequestMessage defaultInstance; public static AvatarRequestMessage getDefaultInstance() { @@ -7675,12 +7770,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private AvatarRequestMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -7690,7 +7791,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -7714,6 +7815,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -7733,7 +7841,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 requestId = 1; public static final int REQUESTID_FIELD_NUMBER = 1; private int requestId_; /** @@ -7749,7 +7856,6 @@ public final class ProtoBuf { return requestId_; } - // required bytes avatarHash = 2; public static final int AVATARHASH_FIELD_NUMBER = 2; private com.google.protobuf.ByteString avatarHash_; /** @@ -7772,7 +7878,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -7795,6 +7902,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, avatarHash_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -7811,6 +7919,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, avatarHash_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -7888,7 +7997,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.AvatarRequestMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.AvatarRequestMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:AvatarRequestMessage) + de.pokerth.protocol.ProtoBuf.AvatarRequestMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.AvatarRequestMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -7949,6 +8060,8 @@ public final class ProtoBuf { if (other.hasAvatarHash()) { setAvatarHash(other.getAvatarHash()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -7983,7 +8096,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 requestId = 1; private int requestId_ ; /** * required uint32 requestId = 1; @@ -8016,7 +8128,6 @@ public final class ProtoBuf { return this; } - // required bytes avatarHash = 2; private com.google.protobuf.ByteString avatarHash_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes avatarHash = 2; @@ -8063,10 +8174,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 requestId = 1; /** * required uint32 requestId = 1; */ @@ -8076,7 +8187,6 @@ public final class ProtoBuf { */ int getRequestId(); - // required .NetAvatarType avatarType = 2; /** * required .NetAvatarType avatarType = 2; */ @@ -8086,7 +8196,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.NetAvatarType getAvatarType(); - // required uint32 avatarSize = 3; /** * required uint32 avatarSize = 3; */ @@ -8100,14 +8209,15 @@ public final class ProtoBuf { * Protobuf type {@code AvatarHeaderMessage} */ public static final class AvatarHeaderMessage extends - com.google.protobuf.GeneratedMessageLite - implements AvatarHeaderMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:AvatarHeaderMessage) + AvatarHeaderMessageOrBuilder { // Use AvatarHeaderMessage.newBuilder() to construct. private AvatarHeaderMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private AvatarHeaderMessage(boolean noInit) {} + private AvatarHeaderMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final AvatarHeaderMessage defaultInstance; public static AvatarHeaderMessage getDefaultInstance() { @@ -8118,12 +8228,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private AvatarHeaderMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -8133,7 +8249,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -8147,7 +8263,10 @@ public final class ProtoBuf { case 16: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.NetAvatarType value = de.pokerth.protocol.ProtoBuf.NetAvatarType.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFieldsCodedOutput.writeRawVarint32(tag); + unknownFieldsCodedOutput.writeRawVarint32(rawValue); + } else { bitField0_ |= 0x00000002; avatarType_ = value; } @@ -8166,6 +8285,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -8185,7 +8311,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 requestId = 1; public static final int REQUESTID_FIELD_NUMBER = 1; private int requestId_; /** @@ -8201,7 +8326,6 @@ public final class ProtoBuf { return requestId_; } - // required .NetAvatarType avatarType = 2; public static final int AVATARTYPE_FIELD_NUMBER = 2; private de.pokerth.protocol.ProtoBuf.NetAvatarType avatarType_; /** @@ -8217,7 +8341,6 @@ public final class ProtoBuf { return avatarType_; } - // required uint32 avatarSize = 3; public static final int AVATARSIZE_FIELD_NUMBER = 3; private int avatarSize_; /** @@ -8241,7 +8364,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -8271,6 +8395,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeUInt32(3, avatarSize_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -8291,6 +8416,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(3, avatarSize_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -8368,7 +8494,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.AvatarHeaderMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:AvatarHeaderMessage) + de.pokerth.protocol.ProtoBuf.AvatarHeaderMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -8438,6 +8566,8 @@ public final class ProtoBuf { if (other.hasAvatarSize()) { setAvatarSize(other.getAvatarSize()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -8476,7 +8606,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 requestId = 1; private int requestId_ ; /** * required uint32 requestId = 1; @@ -8509,7 +8638,6 @@ public final class ProtoBuf { return this; } - // required .NetAvatarType avatarType = 2; private de.pokerth.protocol.ProtoBuf.NetAvatarType avatarType_ = de.pokerth.protocol.ProtoBuf.NetAvatarType.netAvatarImagePng; /** * required .NetAvatarType avatarType = 2; @@ -8545,7 +8673,6 @@ public final class ProtoBuf { return this; } - // required uint32 avatarSize = 3; private int avatarSize_ ; /** * required uint32 avatarSize = 3; @@ -8589,10 +8716,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 requestId = 1; /** * required uint32 requestId = 1; */ @@ -8602,7 +8729,6 @@ public final class ProtoBuf { */ int getRequestId(); - // required bytes avatarBlock = 2; /** * required bytes avatarBlock = 2; */ @@ -8616,14 +8742,15 @@ public final class ProtoBuf { * Protobuf type {@code AvatarDataMessage} */ public static final class AvatarDataMessage extends - com.google.protobuf.GeneratedMessageLite - implements AvatarDataMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:AvatarDataMessage) + AvatarDataMessageOrBuilder { // Use AvatarDataMessage.newBuilder() to construct. private AvatarDataMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private AvatarDataMessage(boolean noInit) {} + private AvatarDataMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final AvatarDataMessage defaultInstance; public static AvatarDataMessage getDefaultInstance() { @@ -8634,12 +8761,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private AvatarDataMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -8649,7 +8782,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -8673,6 +8806,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -8692,7 +8832,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 requestId = 1; public static final int REQUESTID_FIELD_NUMBER = 1; private int requestId_; /** @@ -8708,7 +8847,6 @@ public final class ProtoBuf { return requestId_; } - // required bytes avatarBlock = 2; public static final int AVATARBLOCK_FIELD_NUMBER = 2; private com.google.protobuf.ByteString avatarBlock_; /** @@ -8731,7 +8869,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -8754,6 +8893,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, avatarBlock_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -8770,6 +8910,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, avatarBlock_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -8847,7 +8988,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.AvatarDataMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.AvatarDataMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:AvatarDataMessage) + de.pokerth.protocol.ProtoBuf.AvatarDataMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.AvatarDataMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -8908,6 +9051,8 @@ public final class ProtoBuf { if (other.hasAvatarBlock()) { setAvatarBlock(other.getAvatarBlock()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -8942,7 +9087,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 requestId = 1; private int requestId_ ; /** * required uint32 requestId = 1; @@ -8975,7 +9119,6 @@ public final class ProtoBuf { return this; } - // required bytes avatarBlock = 2; private com.google.protobuf.ByteString avatarBlock_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes avatarBlock = 2; @@ -9022,10 +9165,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 requestId = 1; /** * required uint32 requestId = 1; */ @@ -9039,14 +9182,15 @@ public final class ProtoBuf { * Protobuf type {@code AvatarEndMessage} */ public static final class AvatarEndMessage extends - com.google.protobuf.GeneratedMessageLite - implements AvatarEndMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:AvatarEndMessage) + AvatarEndMessageOrBuilder { // Use AvatarEndMessage.newBuilder() to construct. private AvatarEndMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private AvatarEndMessage(boolean noInit) {} + private AvatarEndMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final AvatarEndMessage defaultInstance; public static AvatarEndMessage getDefaultInstance() { @@ -9057,12 +9201,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private AvatarEndMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -9072,7 +9222,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -9091,6 +9241,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -9110,7 +9267,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 requestId = 1; public static final int REQUESTID_FIELD_NUMBER = 1; private int requestId_; /** @@ -9132,7 +9288,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -9148,6 +9305,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeUInt32(1, requestId_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -9160,6 +9318,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, requestId_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -9237,7 +9396,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.AvatarEndMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.AvatarEndMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:AvatarEndMessage) + de.pokerth.protocol.ProtoBuf.AvatarEndMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.AvatarEndMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -9289,6 +9450,8 @@ public final class ProtoBuf { if (other.hasRequestId()) { setRequestId(other.getRequestId()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -9319,7 +9482,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 requestId = 1; private int requestId_ ; /** * required uint32 requestId = 1; @@ -9363,10 +9525,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 requestId = 1; /** * required uint32 requestId = 1; */ @@ -9380,14 +9542,15 @@ public final class ProtoBuf { * Protobuf type {@code UnknownAvatarMessage} */ public static final class UnknownAvatarMessage extends - com.google.protobuf.GeneratedMessageLite - implements UnknownAvatarMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:UnknownAvatarMessage) + UnknownAvatarMessageOrBuilder { // Use UnknownAvatarMessage.newBuilder() to construct. private UnknownAvatarMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private UnknownAvatarMessage(boolean noInit) {} + private UnknownAvatarMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final UnknownAvatarMessage defaultInstance; public static UnknownAvatarMessage getDefaultInstance() { @@ -9398,12 +9561,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private UnknownAvatarMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -9413,7 +9582,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -9432,6 +9601,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -9451,7 +9627,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 requestId = 1; public static final int REQUESTID_FIELD_NUMBER = 1; private int requestId_; /** @@ -9473,7 +9648,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -9489,6 +9665,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeUInt32(1, requestId_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -9501,6 +9678,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, requestId_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -9578,7 +9756,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.UnknownAvatarMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:UnknownAvatarMessage) + de.pokerth.protocol.ProtoBuf.UnknownAvatarMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -9630,6 +9810,8 @@ public final class ProtoBuf { if (other.hasRequestId()) { setRequestId(other.getRequestId()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -9660,7 +9842,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 requestId = 1; private int requestId_ ; /** * required uint32 requestId = 1; @@ -9704,10 +9885,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 playerId = 1; /** * required uint32 playerId = 1; */ @@ -9717,7 +9898,6 @@ public final class ProtoBuf { */ int getPlayerId(); - // required .PlayerListMessage.PlayerListNotification playerListNotification = 2; /** * required .PlayerListMessage.PlayerListNotification playerListNotification = 2; */ @@ -9731,14 +9911,15 @@ public final class ProtoBuf { * Protobuf type {@code PlayerListMessage} */ public static final class PlayerListMessage extends - com.google.protobuf.GeneratedMessageLite - implements PlayerListMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:PlayerListMessage) + PlayerListMessageOrBuilder { // Use PlayerListMessage.newBuilder() to construct. private PlayerListMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private PlayerListMessage(boolean noInit) {} + private PlayerListMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final PlayerListMessage defaultInstance; public static PlayerListMessage getDefaultInstance() { @@ -9749,12 +9930,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private PlayerListMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -9764,7 +9951,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -9778,7 +9965,10 @@ public final class ProtoBuf { case 16: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.PlayerListMessage.PlayerListNotification value = de.pokerth.protocol.ProtoBuf.PlayerListMessage.PlayerListNotification.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFieldsCodedOutput.writeRawVarint32(tag); + unknownFieldsCodedOutput.writeRawVarint32(rawValue); + } else { bitField0_ |= 0x00000002; playerListNotification_ = value; } @@ -9792,6 +9982,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -9867,7 +10064,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 playerId = 1; public static final int PLAYERID_FIELD_NUMBER = 1; private int playerId_; /** @@ -9883,7 +10079,6 @@ public final class ProtoBuf { return playerId_; } - // required .PlayerListMessage.PlayerListNotification playerListNotification = 2; public static final int PLAYERLISTNOTIFICATION_FIELD_NUMBER = 2; private de.pokerth.protocol.ProtoBuf.PlayerListMessage.PlayerListNotification playerListNotification_; /** @@ -9906,7 +10101,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -9929,6 +10125,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeEnum(2, playerListNotification_.getNumber()); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -9945,6 +10142,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, playerListNotification_.getNumber()); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -10022,7 +10220,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.PlayerListMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.PlayerListMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:PlayerListMessage) + de.pokerth.protocol.ProtoBuf.PlayerListMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.PlayerListMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -10083,6 +10283,8 @@ public final class ProtoBuf { if (other.hasPlayerListNotification()) { setPlayerListNotification(other.getPlayerListNotification()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -10117,7 +10319,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 playerId = 1; private int playerId_ ; /** * required uint32 playerId = 1; @@ -10150,7 +10351,6 @@ public final class ProtoBuf { return this; } - // required .PlayerListMessage.PlayerListNotification playerListNotification = 2; private de.pokerth.protocol.ProtoBuf.PlayerListMessage.PlayerListNotification playerListNotification_ = de.pokerth.protocol.ProtoBuf.PlayerListMessage.PlayerListNotification.playerListNew; /** * required .PlayerListMessage.PlayerListNotification playerListNotification = 2; @@ -10197,10 +10397,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -10210,7 +10410,6 @@ public final class ProtoBuf { */ int getGameId(); - // required .NetGameMode gameMode = 2; /** * required .NetGameMode gameMode = 2; */ @@ -10220,7 +10419,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.NetGameMode getGameMode(); - // required bool isPrivate = 3; /** * required bool isPrivate = 3; */ @@ -10230,7 +10428,6 @@ public final class ProtoBuf { */ boolean getIsPrivate(); - // repeated uint32 playerIds = 4 [packed = true]; /** * repeated uint32 playerIds = 4 [packed = true]; */ @@ -10244,7 +10441,6 @@ public final class ProtoBuf { */ int getPlayerIds(int index); - // required uint32 adminPlayerId = 5; /** * required uint32 adminPlayerId = 5; */ @@ -10254,7 +10450,6 @@ public final class ProtoBuf { */ int getAdminPlayerId(); - // required .NetGameInfo gameInfo = 6; /** * required .NetGameInfo gameInfo = 6; */ @@ -10264,7 +10459,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.NetGameInfo getGameInfo(); - // repeated uint32 spectatorIds = 7 [packed = true]; /** * repeated uint32 spectatorIds = 7 [packed = true]; */ @@ -10282,14 +10476,15 @@ public final class ProtoBuf { * Protobuf type {@code GameListNewMessage} */ public static final class GameListNewMessage extends - com.google.protobuf.GeneratedMessageLite - implements GameListNewMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:GameListNewMessage) + GameListNewMessageOrBuilder { // Use GameListNewMessage.newBuilder() to construct. private GameListNewMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private GameListNewMessage(boolean noInit) {} + private GameListNewMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final GameListNewMessage defaultInstance; public static GameListNewMessage getDefaultInstance() { @@ -10300,12 +10495,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private GameListNewMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -10315,7 +10516,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -10329,7 +10530,10 @@ public final class ProtoBuf { case 16: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.NetGameMode value = de.pokerth.protocol.ProtoBuf.NetGameMode.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFieldsCodedOutput.writeRawVarint32(tag); + unknownFieldsCodedOutput.writeRawVarint32(rawValue); + } else { bitField0_ |= 0x00000002; gameMode_ = value; } @@ -10414,6 +10618,13 @@ public final class ProtoBuf { if (((mutable_bitField0_ & 0x00000040) == 0x00000040)) { spectatorIds_ = java.util.Collections.unmodifiableList(spectatorIds_); } + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -10433,7 +10644,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -10449,7 +10659,6 @@ public final class ProtoBuf { return gameId_; } - // required .NetGameMode gameMode = 2; public static final int GAMEMODE_FIELD_NUMBER = 2; private de.pokerth.protocol.ProtoBuf.NetGameMode gameMode_; /** @@ -10465,7 +10674,6 @@ public final class ProtoBuf { return gameMode_; } - // required bool isPrivate = 3; public static final int ISPRIVATE_FIELD_NUMBER = 3; private boolean isPrivate_; /** @@ -10481,7 +10689,6 @@ public final class ProtoBuf { return isPrivate_; } - // repeated uint32 playerIds = 4 [packed = true]; public static final int PLAYERIDS_FIELD_NUMBER = 4; private java.util.List playerIds_; /** @@ -10505,7 +10712,6 @@ public final class ProtoBuf { } private int playerIdsMemoizedSerializedSize = -1; - // required uint32 adminPlayerId = 5; public static final int ADMINPLAYERID_FIELD_NUMBER = 5; private int adminPlayerId_; /** @@ -10521,7 +10727,6 @@ public final class ProtoBuf { return adminPlayerId_; } - // required .NetGameInfo gameInfo = 6; public static final int GAMEINFO_FIELD_NUMBER = 6; private de.pokerth.protocol.ProtoBuf.NetGameInfo gameInfo_; /** @@ -10537,7 +10742,6 @@ public final class ProtoBuf { return gameInfo_; } - // repeated uint32 spectatorIds = 7 [packed = true]; public static final int SPECTATORIDS_FIELD_NUMBER = 7; private java.util.List spectatorIds_; /** @@ -10573,7 +10777,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -10635,6 +10840,7 @@ public final class ProtoBuf { for (int i = 0; i < spectatorIds_.size(); i++) { output.writeUInt32NoTag(spectatorIds_.get(i)); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -10691,6 +10897,7 @@ public final class ProtoBuf { } spectatorIdsMemoizedSerializedSize = dataSize; } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -10768,7 +10975,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.GameListNewMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.GameListNewMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:GameListNewMessage) + de.pokerth.protocol.ProtoBuf.GameListNewMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.GameListNewMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -10890,6 +11099,8 @@ public final class ProtoBuf { } } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -10940,7 +11151,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -10973,7 +11183,6 @@ public final class ProtoBuf { return this; } - // required .NetGameMode gameMode = 2; private de.pokerth.protocol.ProtoBuf.NetGameMode gameMode_ = de.pokerth.protocol.ProtoBuf.NetGameMode.netGameCreated; /** * required .NetGameMode gameMode = 2; @@ -11009,7 +11218,6 @@ public final class ProtoBuf { return this; } - // required bool isPrivate = 3; private boolean isPrivate_ ; /** * required bool isPrivate = 3; @@ -11042,7 +11250,6 @@ public final class ProtoBuf { return this; } - // repeated uint32 playerIds = 4 [packed = true]; private java.util.List playerIds_ = java.util.Collections.emptyList(); private void ensurePlayerIdsIsMutable() { if (!((bitField0_ & 0x00000008) == 0x00000008)) { @@ -11094,7 +11301,8 @@ public final class ProtoBuf { public Builder addAllPlayerIds( java.lang.Iterable values) { ensurePlayerIdsIsMutable(); - super.addAll(values, playerIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, playerIds_); return this; } @@ -11108,7 +11316,6 @@ public final class ProtoBuf { return this; } - // required uint32 adminPlayerId = 5; private int adminPlayerId_ ; /** * required uint32 adminPlayerId = 5; @@ -11141,7 +11348,6 @@ public final class ProtoBuf { return this; } - // required .NetGameInfo gameInfo = 6; private de.pokerth.protocol.ProtoBuf.NetGameInfo gameInfo_ = de.pokerth.protocol.ProtoBuf.NetGameInfo.getDefaultInstance(); /** * required .NetGameInfo gameInfo = 6; @@ -11202,7 +11408,6 @@ public final class ProtoBuf { return this; } - // repeated uint32 spectatorIds = 7 [packed = true]; private java.util.List spectatorIds_ = java.util.Collections.emptyList(); private void ensureSpectatorIdsIsMutable() { if (!((bitField0_ & 0x00000040) == 0x00000040)) { @@ -11254,7 +11459,8 @@ public final class ProtoBuf { public Builder addAllSpectatorIds( java.lang.Iterable values) { ensureSpectatorIdsIsMutable(); - super.addAll(values, spectatorIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, spectatorIds_); return this; } @@ -11279,10 +11485,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -11292,7 +11498,6 @@ public final class ProtoBuf { */ int getGameId(); - // required .NetGameMode gameMode = 2; /** * required .NetGameMode gameMode = 2; */ @@ -11306,14 +11511,15 @@ public final class ProtoBuf { * Protobuf type {@code GameListUpdateMessage} */ public static final class GameListUpdateMessage extends - com.google.protobuf.GeneratedMessageLite - implements GameListUpdateMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:GameListUpdateMessage) + GameListUpdateMessageOrBuilder { // Use GameListUpdateMessage.newBuilder() to construct. private GameListUpdateMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private GameListUpdateMessage(boolean noInit) {} + private GameListUpdateMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final GameListUpdateMessage defaultInstance; public static GameListUpdateMessage getDefaultInstance() { @@ -11324,12 +11530,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private GameListUpdateMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -11339,7 +11551,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -11353,7 +11565,10 @@ public final class ProtoBuf { case 16: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.NetGameMode value = de.pokerth.protocol.ProtoBuf.NetGameMode.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFieldsCodedOutput.writeRawVarint32(tag); + unknownFieldsCodedOutput.writeRawVarint32(rawValue); + } else { bitField0_ |= 0x00000002; gameMode_ = value; } @@ -11367,6 +11582,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -11386,7 +11608,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -11402,7 +11623,6 @@ public final class ProtoBuf { return gameId_; } - // required .NetGameMode gameMode = 2; public static final int GAMEMODE_FIELD_NUMBER = 2; private de.pokerth.protocol.ProtoBuf.NetGameMode gameMode_; /** @@ -11425,7 +11645,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -11448,6 +11669,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeEnum(2, gameMode_.getNumber()); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -11464,6 +11686,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, gameMode_.getNumber()); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -11541,7 +11764,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.GameListUpdateMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.GameListUpdateMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:GameListUpdateMessage) + de.pokerth.protocol.ProtoBuf.GameListUpdateMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.GameListUpdateMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -11602,6 +11827,8 @@ public final class ProtoBuf { if (other.hasGameMode()) { setGameMode(other.getGameMode()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -11636,7 +11863,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -11669,7 +11895,6 @@ public final class ProtoBuf { return this; } - // required .NetGameMode gameMode = 2; private de.pokerth.protocol.ProtoBuf.NetGameMode gameMode_ = de.pokerth.protocol.ProtoBuf.NetGameMode.netGameCreated; /** * required .NetGameMode gameMode = 2; @@ -11716,10 +11941,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -11729,7 +11954,6 @@ public final class ProtoBuf { */ int getGameId(); - // required uint32 playerId = 2; /** * required uint32 playerId = 2; */ @@ -11743,14 +11967,15 @@ public final class ProtoBuf { * Protobuf type {@code GameListPlayerJoinedMessage} */ public static final class GameListPlayerJoinedMessage extends - com.google.protobuf.GeneratedMessageLite - implements GameListPlayerJoinedMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:GameListPlayerJoinedMessage) + GameListPlayerJoinedMessageOrBuilder { // Use GameListPlayerJoinedMessage.newBuilder() to construct. private GameListPlayerJoinedMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private GameListPlayerJoinedMessage(boolean noInit) {} + private GameListPlayerJoinedMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final GameListPlayerJoinedMessage defaultInstance; public static GameListPlayerJoinedMessage getDefaultInstance() { @@ -11761,12 +11986,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private GameListPlayerJoinedMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -11776,7 +12007,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -11800,6 +12031,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -11819,7 +12057,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -11835,7 +12072,6 @@ public final class ProtoBuf { return gameId_; } - // required uint32 playerId = 2; public static final int PLAYERID_FIELD_NUMBER = 2; private int playerId_; /** @@ -11858,7 +12094,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -11881,6 +12118,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt32(2, playerId_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -11897,6 +12135,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, playerId_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -11974,7 +12213,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:GameListPlayerJoinedMessage) + de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -12035,6 +12276,8 @@ public final class ProtoBuf { if (other.hasPlayerId()) { setPlayerId(other.getPlayerId()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -12069,7 +12312,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -12102,7 +12344,6 @@ public final class ProtoBuf { return this; } - // required uint32 playerId = 2; private int playerId_ ; /** * required uint32 playerId = 2; @@ -12146,10 +12387,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -12159,7 +12400,6 @@ public final class ProtoBuf { */ int getGameId(); - // required uint32 playerId = 2; /** * required uint32 playerId = 2; */ @@ -12173,14 +12413,15 @@ public final class ProtoBuf { * Protobuf type {@code GameListPlayerLeftMessage} */ public static final class GameListPlayerLeftMessage extends - com.google.protobuf.GeneratedMessageLite - implements GameListPlayerLeftMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:GameListPlayerLeftMessage) + GameListPlayerLeftMessageOrBuilder { // Use GameListPlayerLeftMessage.newBuilder() to construct. private GameListPlayerLeftMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private GameListPlayerLeftMessage(boolean noInit) {} + private GameListPlayerLeftMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final GameListPlayerLeftMessage defaultInstance; public static GameListPlayerLeftMessage getDefaultInstance() { @@ -12191,12 +12432,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private GameListPlayerLeftMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -12206,7 +12453,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -12230,6 +12477,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -12249,7 +12503,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -12265,7 +12518,6 @@ public final class ProtoBuf { return gameId_; } - // required uint32 playerId = 2; public static final int PLAYERID_FIELD_NUMBER = 2; private int playerId_; /** @@ -12288,7 +12540,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -12311,6 +12564,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt32(2, playerId_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -12327,6 +12581,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, playerId_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -12404,7 +12659,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:GameListPlayerLeftMessage) + de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -12465,6 +12722,8 @@ public final class ProtoBuf { if (other.hasPlayerId()) { setPlayerId(other.getPlayerId()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -12499,7 +12758,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -12532,7 +12790,6 @@ public final class ProtoBuf { return this; } - // required uint32 playerId = 2; private int playerId_ ; /** * required uint32 playerId = 2; @@ -12576,10 +12833,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -12589,7 +12846,6 @@ public final class ProtoBuf { */ int getGameId(); - // required uint32 playerId = 2; /** * required uint32 playerId = 2; */ @@ -12603,14 +12859,15 @@ public final class ProtoBuf { * Protobuf type {@code GameListSpectatorJoinedMessage} */ public static final class GameListSpectatorJoinedMessage extends - com.google.protobuf.GeneratedMessageLite - implements GameListSpectatorJoinedMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:GameListSpectatorJoinedMessage) + GameListSpectatorJoinedMessageOrBuilder { // Use GameListSpectatorJoinedMessage.newBuilder() to construct. private GameListSpectatorJoinedMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private GameListSpectatorJoinedMessage(boolean noInit) {} + private GameListSpectatorJoinedMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final GameListSpectatorJoinedMessage defaultInstance; public static GameListSpectatorJoinedMessage getDefaultInstance() { @@ -12621,12 +12878,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private GameListSpectatorJoinedMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -12636,7 +12899,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -12660,6 +12923,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -12679,7 +12949,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -12695,7 +12964,6 @@ public final class ProtoBuf { return gameId_; } - // required uint32 playerId = 2; public static final int PLAYERID_FIELD_NUMBER = 2; private int playerId_; /** @@ -12718,7 +12986,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -12741,6 +13010,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt32(2, playerId_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -12757,6 +13027,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, playerId_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -12834,7 +13105,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:GameListSpectatorJoinedMessage) + de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -12895,6 +13168,8 @@ public final class ProtoBuf { if (other.hasPlayerId()) { setPlayerId(other.getPlayerId()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -12929,7 +13204,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -12962,7 +13236,6 @@ public final class ProtoBuf { return this; } - // required uint32 playerId = 2; private int playerId_ ; /** * required uint32 playerId = 2; @@ -13006,10 +13279,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -13019,7 +13292,6 @@ public final class ProtoBuf { */ int getGameId(); - // required uint32 playerId = 2; /** * required uint32 playerId = 2; */ @@ -13033,14 +13305,15 @@ public final class ProtoBuf { * Protobuf type {@code GameListSpectatorLeftMessage} */ public static final class GameListSpectatorLeftMessage extends - com.google.protobuf.GeneratedMessageLite - implements GameListSpectatorLeftMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:GameListSpectatorLeftMessage) + GameListSpectatorLeftMessageOrBuilder { // Use GameListSpectatorLeftMessage.newBuilder() to construct. private GameListSpectatorLeftMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private GameListSpectatorLeftMessage(boolean noInit) {} + private GameListSpectatorLeftMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final GameListSpectatorLeftMessage defaultInstance; public static GameListSpectatorLeftMessage getDefaultInstance() { @@ -13051,12 +13324,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private GameListSpectatorLeftMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -13066,7 +13345,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -13090,6 +13369,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -13109,7 +13395,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -13125,7 +13410,6 @@ public final class ProtoBuf { return gameId_; } - // required uint32 playerId = 2; public static final int PLAYERID_FIELD_NUMBER = 2; private int playerId_; /** @@ -13148,7 +13432,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -13171,6 +13456,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt32(2, playerId_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -13187,6 +13473,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, playerId_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -13264,7 +13551,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:GameListSpectatorLeftMessage) + de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -13325,6 +13614,8 @@ public final class ProtoBuf { if (other.hasPlayerId()) { setPlayerId(other.getPlayerId()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -13359,7 +13650,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -13392,7 +13682,6 @@ public final class ProtoBuf { return this; } - // required uint32 playerId = 2; private int playerId_ ; /** * required uint32 playerId = 2; @@ -13436,10 +13725,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -13449,7 +13738,6 @@ public final class ProtoBuf { */ int getGameId(); - // required uint32 newAdminPlayerId = 2; /** * required uint32 newAdminPlayerId = 2; */ @@ -13463,14 +13751,15 @@ public final class ProtoBuf { * Protobuf type {@code GameListAdminChangedMessage} */ public static final class GameListAdminChangedMessage extends - com.google.protobuf.GeneratedMessageLite - implements GameListAdminChangedMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:GameListAdminChangedMessage) + GameListAdminChangedMessageOrBuilder { // Use GameListAdminChangedMessage.newBuilder() to construct. private GameListAdminChangedMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private GameListAdminChangedMessage(boolean noInit) {} + private GameListAdminChangedMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final GameListAdminChangedMessage defaultInstance; public static GameListAdminChangedMessage getDefaultInstance() { @@ -13481,12 +13770,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private GameListAdminChangedMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -13496,7 +13791,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -13520,6 +13815,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -13539,7 +13841,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -13555,7 +13856,6 @@ public final class ProtoBuf { return gameId_; } - // required uint32 newAdminPlayerId = 2; public static final int NEWADMINPLAYERID_FIELD_NUMBER = 2; private int newAdminPlayerId_; /** @@ -13578,7 +13878,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -13601,6 +13902,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt32(2, newAdminPlayerId_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -13617,6 +13919,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, newAdminPlayerId_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -13694,7 +13997,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:GameListAdminChangedMessage) + de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -13755,6 +14060,8 @@ public final class ProtoBuf { if (other.hasNewAdminPlayerId()) { setNewAdminPlayerId(other.getNewAdminPlayerId()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -13789,7 +14096,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -13822,7 +14128,6 @@ public final class ProtoBuf { return this; } - // required uint32 newAdminPlayerId = 2; private int newAdminPlayerId_ ; /** * required uint32 newAdminPlayerId = 2; @@ -13866,10 +14171,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // repeated uint32 playerId = 1 [packed = true]; /** * repeated uint32 playerId = 1 [packed = true]; */ @@ -13887,14 +14192,15 @@ public final class ProtoBuf { * Protobuf type {@code PlayerInfoRequestMessage} */ public static final class PlayerInfoRequestMessage extends - com.google.protobuf.GeneratedMessageLite - implements PlayerInfoRequestMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:PlayerInfoRequestMessage) + PlayerInfoRequestMessageOrBuilder { // Use PlayerInfoRequestMessage.newBuilder() to construct. private PlayerInfoRequestMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private PlayerInfoRequestMessage(boolean noInit) {} + private PlayerInfoRequestMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final PlayerInfoRequestMessage defaultInstance; public static PlayerInfoRequestMessage getDefaultInstance() { @@ -13905,12 +14211,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private PlayerInfoRequestMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -13920,7 +14232,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -13958,6 +14270,13 @@ public final class ProtoBuf { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { playerId_ = java.util.Collections.unmodifiableList(playerId_); } + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -13976,7 +14295,6 @@ public final class ProtoBuf { return PARSER; } - // repeated uint32 playerId = 1 [packed = true]; public static final int PLAYERID_FIELD_NUMBER = 1; private java.util.List playerId_; /** @@ -14006,7 +14324,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -14022,6 +14341,7 @@ public final class ProtoBuf { for (int i = 0; i < playerId_.size(); i++) { output.writeUInt32NoTag(playerId_.get(i)); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -14044,6 +14364,7 @@ public final class ProtoBuf { } playerIdMemoizedSerializedSize = dataSize; } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -14121,7 +14442,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:PlayerInfoRequestMessage) + de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -14179,6 +14502,8 @@ public final class ProtoBuf { } } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -14205,7 +14530,6 @@ public final class ProtoBuf { } private int bitField0_; - // repeated uint32 playerId = 1 [packed = true]; private java.util.List playerId_ = java.util.Collections.emptyList(); private void ensurePlayerIdIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { @@ -14257,7 +14581,8 @@ public final class ProtoBuf { public Builder addAllPlayerId( java.lang.Iterable values) { ensurePlayerIdIsMutable(); - super.addAll(values, playerId_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, playerId_); return this; } @@ -14282,10 +14607,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 playerId = 1; /** * required uint32 playerId = 1; */ @@ -14295,7 +14620,6 @@ public final class ProtoBuf { */ int getPlayerId(); - // optional .PlayerInfoReplyMessage.PlayerInfoData playerInfoData = 2; /** * optional .PlayerInfoReplyMessage.PlayerInfoData playerInfoData = 2; */ @@ -14309,14 +14633,15 @@ public final class ProtoBuf { * Protobuf type {@code PlayerInfoReplyMessage} */ public static final class PlayerInfoReplyMessage extends - com.google.protobuf.GeneratedMessageLite - implements PlayerInfoReplyMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:PlayerInfoReplyMessage) + PlayerInfoReplyMessageOrBuilder { // Use PlayerInfoReplyMessage.newBuilder() to construct. private PlayerInfoReplyMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private PlayerInfoReplyMessage(boolean noInit) {} + private PlayerInfoReplyMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final PlayerInfoReplyMessage defaultInstance; public static PlayerInfoReplyMessage getDefaultInstance() { @@ -14327,12 +14652,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private PlayerInfoReplyMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -14342,7 +14673,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -14374,6 +14705,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -14392,10 +14730,10 @@ public final class ProtoBuf { return PARSER; } - public interface PlayerInfoDataOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface PlayerInfoDataOrBuilder extends + // @@protoc_insertion_point(interface_extends:PlayerInfoReplyMessage.PlayerInfoData) + com.google.protobuf.MessageLiteOrBuilder { - // required string playerName = 1; /** * required string playerName = 1; */ @@ -14410,7 +14748,6 @@ public final class ProtoBuf { com.google.protobuf.ByteString getPlayerNameBytes(); - // required bool isHuman = 2; /** * required bool isHuman = 2; */ @@ -14420,7 +14757,6 @@ public final class ProtoBuf { */ boolean getIsHuman(); - // required .NetPlayerInfoRights playerRights = 3; /** * required .NetPlayerInfoRights playerRights = 3; */ @@ -14430,7 +14766,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.NetPlayerInfoRights getPlayerRights(); - // optional string countryCode = 4; /** * optional string countryCode = 4; */ @@ -14445,7 +14780,6 @@ public final class ProtoBuf { com.google.protobuf.ByteString getCountryCodeBytes(); - // optional .PlayerInfoReplyMessage.PlayerInfoData.AvatarData avatarData = 5; /** * optional .PlayerInfoReplyMessage.PlayerInfoData.AvatarData avatarData = 5; */ @@ -14459,14 +14793,15 @@ public final class ProtoBuf { * Protobuf type {@code PlayerInfoReplyMessage.PlayerInfoData} */ public static final class PlayerInfoData extends - com.google.protobuf.GeneratedMessageLite - implements PlayerInfoDataOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:PlayerInfoReplyMessage.PlayerInfoData) + PlayerInfoDataOrBuilder { // Use PlayerInfoData.newBuilder() to construct. private PlayerInfoData(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private PlayerInfoData(boolean noInit) {} + private PlayerInfoData(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final PlayerInfoData defaultInstance; public static PlayerInfoData getDefaultInstance() { @@ -14477,12 +14812,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private PlayerInfoData( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -14492,15 +14833,16 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } break; } case 10: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; - playerName_ = input.readBytes(); + playerName_ = bs; break; } case 16: { @@ -14511,15 +14853,19 @@ public final class ProtoBuf { case 24: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.NetPlayerInfoRights value = de.pokerth.protocol.ProtoBuf.NetPlayerInfoRights.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFieldsCodedOutput.writeRawVarint32(tag); + unknownFieldsCodedOutput.writeRawVarint32(rawValue); + } else { bitField0_ |= 0x00000004; playerRights_ = value; } break; } case 34: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000008; - countryCode_ = input.readBytes(); + countryCode_ = bs; break; } case 42: { @@ -14543,6 +14889,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -14561,10 +14914,10 @@ public final class ProtoBuf { return PARSER; } - public interface AvatarDataOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface AvatarDataOrBuilder extends + // @@protoc_insertion_point(interface_extends:PlayerInfoReplyMessage.PlayerInfoData.AvatarData) + com.google.protobuf.MessageLiteOrBuilder { - // required .NetAvatarType avatarType = 1; /** * required .NetAvatarType avatarType = 1; */ @@ -14574,7 +14927,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.NetAvatarType getAvatarType(); - // required bytes avatarHash = 2; /** * required bytes avatarHash = 2; */ @@ -14588,14 +14940,15 @@ 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.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:PlayerInfoReplyMessage.PlayerInfoData.AvatarData) + AvatarDataOrBuilder { // Use AvatarData.newBuilder() to construct. private AvatarData(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private AvatarData(boolean noInit) {} + private AvatarData(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final AvatarData defaultInstance; public static AvatarData getDefaultInstance() { @@ -14606,12 +14959,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private AvatarData( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -14621,7 +14980,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -14630,7 +14989,10 @@ public final class ProtoBuf { case 8: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.NetAvatarType value = de.pokerth.protocol.ProtoBuf.NetAvatarType.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFieldsCodedOutput.writeRawVarint32(tag); + unknownFieldsCodedOutput.writeRawVarint32(rawValue); + } else { bitField0_ |= 0x00000001; avatarType_ = value; } @@ -14649,6 +15011,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -14668,7 +15037,6 @@ public final class ProtoBuf { } private int bitField0_; - // required .NetAvatarType avatarType = 1; public static final int AVATARTYPE_FIELD_NUMBER = 1; private de.pokerth.protocol.ProtoBuf.NetAvatarType avatarType_; /** @@ -14684,7 +15052,6 @@ public final class ProtoBuf { return avatarType_; } - // required bytes avatarHash = 2; public static final int AVATARHASH_FIELD_NUMBER = 2; private com.google.protobuf.ByteString avatarHash_; /** @@ -14707,7 +15074,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -14730,6 +15098,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, avatarHash_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -14746,6 +15115,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, avatarHash_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -14823,7 +15193,9 @@ public final class ProtoBuf { 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 { + implements + // @@protoc_insertion_point(builder_implements:PlayerInfoReplyMessage.PlayerInfoData.AvatarData) + de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarDataOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -14884,6 +15256,8 @@ public final class ProtoBuf { if (other.hasAvatarHash()) { setAvatarHash(other.getAvatarHash()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -14918,7 +15292,6 @@ public final class ProtoBuf { } private int bitField0_; - // required .NetAvatarType avatarType = 1; private de.pokerth.protocol.ProtoBuf.NetAvatarType avatarType_ = de.pokerth.protocol.ProtoBuf.NetAvatarType.netAvatarImagePng; /** * required .NetAvatarType avatarType = 1; @@ -14954,7 +15327,6 @@ public final class ProtoBuf { return this; } - // required bytes avatarHash = 2; private com.google.protobuf.ByteString avatarHash_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes avatarHash = 2; @@ -15002,7 +15374,6 @@ public final class ProtoBuf { } private int bitField0_; - // required string playerName = 1; public static final int PLAYERNAME_FIELD_NUMBER = 1; private java.lang.Object playerName_; /** @@ -15045,7 +15416,6 @@ public final class ProtoBuf { } } - // required bool isHuman = 2; public static final int ISHUMAN_FIELD_NUMBER = 2; private boolean isHuman_; /** @@ -15061,7 +15431,6 @@ public final class ProtoBuf { return isHuman_; } - // required .NetPlayerInfoRights playerRights = 3; public static final int PLAYERRIGHTS_FIELD_NUMBER = 3; private de.pokerth.protocol.ProtoBuf.NetPlayerInfoRights playerRights_; /** @@ -15077,7 +15446,6 @@ public final class ProtoBuf { return playerRights_; } - // optional string countryCode = 4; public static final int COUNTRYCODE_FIELD_NUMBER = 4; private java.lang.Object countryCode_; /** @@ -15120,7 +15488,6 @@ 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_; /** @@ -15146,7 +15513,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -15188,6 +15556,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeMessage(5, avatarData_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -15216,6 +15585,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, avatarData_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -15293,7 +15663,9 @@ public final class ProtoBuf { 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 { + implements + // @@protoc_insertion_point(builder_implements:PlayerInfoReplyMessage.PlayerInfoData) + de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoDataOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -15385,6 +15757,8 @@ public final class ProtoBuf { if (other.hasAvatarData()) { mergeAvatarData(other.getAvatarData()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -15429,7 +15803,6 @@ public final class ProtoBuf { } private int bitField0_; - // required string playerName = 1; private java.lang.Object playerName_ = ""; /** * required string playerName = 1; @@ -15443,9 +15816,12 @@ public final class ProtoBuf { 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; @@ -15503,7 +15879,6 @@ public final class ProtoBuf { return this; } - // required bool isHuman = 2; private boolean isHuman_ ; /** * required bool isHuman = 2; @@ -15536,7 +15911,6 @@ public final class ProtoBuf { return this; } - // required .NetPlayerInfoRights playerRights = 3; private de.pokerth.protocol.ProtoBuf.NetPlayerInfoRights playerRights_ = de.pokerth.protocol.ProtoBuf.NetPlayerInfoRights.netPlayerRightsGuest; /** * required .NetPlayerInfoRights playerRights = 3; @@ -15572,7 +15946,6 @@ public final class ProtoBuf { return this; } - // optional string countryCode = 4; private java.lang.Object countryCode_ = ""; /** * optional string countryCode = 4; @@ -15586,9 +15959,12 @@ public final class ProtoBuf { 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; @@ -15646,7 +16022,6 @@ public final class ProtoBuf { return this; } - // optional .PlayerInfoReplyMessage.PlayerInfoData.AvatarData avatarData = 5; private de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData avatarData_ = de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData.getDefaultInstance(); /** * optional .PlayerInfoReplyMessage.PlayerInfoData.AvatarData avatarData = 5; @@ -15719,7 +16094,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 playerId = 1; public static final int PLAYERID_FIELD_NUMBER = 1; private int playerId_; /** @@ -15735,7 +16109,6 @@ public final class ProtoBuf { return playerId_; } - // optional .PlayerInfoReplyMessage.PlayerInfoData playerInfoData = 2; public static final int PLAYERINFODATA_FIELD_NUMBER = 2; private de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData playerInfoData_; /** @@ -15758,7 +16131,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -15783,6 +16157,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeMessage(2, playerInfoData_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -15799,6 +16174,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, playerInfoData_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -15876,7 +16252,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:PlayerInfoReplyMessage) + de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -15937,6 +16315,8 @@ public final class ProtoBuf { if (other.hasPlayerInfoData()) { mergePlayerInfoData(other.getPlayerInfoData()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -15973,7 +16353,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 playerId = 1; private int playerId_ ; /** * required uint32 playerId = 1; @@ -16006,7 +16385,6 @@ public final class ProtoBuf { return this; } - // optional .PlayerInfoReplyMessage.PlayerInfoData playerInfoData = 2; private de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData playerInfoData_ = de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.getDefaultInstance(); /** * optional .PlayerInfoReplyMessage.PlayerInfoData playerInfoData = 2; @@ -16078,10 +16456,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required .SubscriptionRequestMessage.SubscriptionAction subscriptionAction = 1; /** * required .SubscriptionRequestMessage.SubscriptionAction subscriptionAction = 1; */ @@ -16100,14 +16478,15 @@ public final class ProtoBuf { * */ public static final class SubscriptionRequestMessage extends - com.google.protobuf.GeneratedMessageLite - implements SubscriptionRequestMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:SubscriptionRequestMessage) + SubscriptionRequestMessageOrBuilder { // Use SubscriptionRequestMessage.newBuilder() to construct. private SubscriptionRequestMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private SubscriptionRequestMessage(boolean noInit) {} + private SubscriptionRequestMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final SubscriptionRequestMessage defaultInstance; public static SubscriptionRequestMessage getDefaultInstance() { @@ -16118,12 +16497,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private SubscriptionRequestMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -16133,7 +16518,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -16142,7 +16527,10 @@ public final class ProtoBuf { case 8: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.SubscriptionAction value = de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.SubscriptionAction.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFieldsCodedOutput.writeRawVarint32(tag); + unknownFieldsCodedOutput.writeRawVarint32(rawValue); + } else { bitField0_ |= 0x00000001; subscriptionAction_ = value; } @@ -16156,6 +16544,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -16231,7 +16626,6 @@ 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_; /** @@ -16253,7 +16647,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -16269,6 +16664,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeEnum(1, subscriptionAction_.getNumber()); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -16281,6 +16677,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, subscriptionAction_.getNumber()); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -16363,7 +16760,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:SubscriptionRequestMessage) + de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -16415,6 +16814,8 @@ public final class ProtoBuf { if (other.hasSubscriptionAction()) { setSubscriptionAction(other.getSubscriptionAction()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -16445,7 +16846,6 @@ 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; /** * required .SubscriptionRequestMessage.SubscriptionAction subscriptionAction = 1; @@ -16492,10 +16892,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -16505,7 +16905,6 @@ public final class ProtoBuf { */ int getGameId(); - // optional string password = 2; /** * optional string password = 2; */ @@ -16520,7 +16919,6 @@ public final class ProtoBuf { com.google.protobuf.ByteString getPasswordBytes(); - // optional bool autoLeave = 3 [default = false]; /** * optional bool autoLeave = 3 [default = false]; */ @@ -16530,7 +16928,6 @@ public final class ProtoBuf { */ boolean getAutoLeave(); - // optional bool spectateOnly = 4 [default = false]; /** * optional bool spectateOnly = 4 [default = false]; */ @@ -16544,14 +16941,15 @@ public final class ProtoBuf { * Protobuf type {@code JoinExistingGameMessage} */ public static final class JoinExistingGameMessage extends - com.google.protobuf.GeneratedMessageLite - implements JoinExistingGameMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:JoinExistingGameMessage) + JoinExistingGameMessageOrBuilder { // Use JoinExistingGameMessage.newBuilder() to construct. private JoinExistingGameMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private JoinExistingGameMessage(boolean noInit) {} + private JoinExistingGameMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final JoinExistingGameMessage defaultInstance; public static JoinExistingGameMessage getDefaultInstance() { @@ -16562,12 +16960,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private JoinExistingGameMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -16577,7 +16981,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -16589,8 +16993,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: { @@ -16611,6 +17016,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -16630,7 +17042,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -16646,7 +17057,6 @@ public final class ProtoBuf { return gameId_; } - // optional string password = 2; public static final int PASSWORD_FIELD_NUMBER = 2; private java.lang.Object password_; /** @@ -16689,7 +17099,6 @@ public final class ProtoBuf { } } - // optional bool autoLeave = 3 [default = false]; public static final int AUTOLEAVE_FIELD_NUMBER = 3; private boolean autoLeave_; /** @@ -16705,7 +17114,6 @@ public final class ProtoBuf { return autoLeave_; } - // optional bool spectateOnly = 4 [default = false]; public static final int SPECTATEONLY_FIELD_NUMBER = 4; private boolean spectateOnly_; /** @@ -16730,7 +17138,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -16755,6 +17164,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeBool(4, spectateOnly_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -16779,6 +17189,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeBoolSize(4, spectateOnly_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -16856,7 +17267,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.JoinExistingGameMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:JoinExistingGameMessage) + de.pokerth.protocol.ProtoBuf.JoinExistingGameMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -16937,6 +17350,8 @@ public final class ProtoBuf { if (other.hasSpectateOnly()) { setSpectateOnly(other.getSpectateOnly()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -16967,7 +17382,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -17000,7 +17414,6 @@ public final class ProtoBuf { return this; } - // optional string password = 2; private java.lang.Object password_ = ""; /** * optional string password = 2; @@ -17014,9 +17427,12 @@ public final class ProtoBuf { 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; @@ -17074,7 +17490,6 @@ public final class ProtoBuf { return this; } - // optional bool autoLeave = 3 [default = false]; private boolean autoLeave_ ; /** * optional bool autoLeave = 3 [default = false]; @@ -17107,7 +17522,6 @@ public final class ProtoBuf { return this; } - // optional bool spectateOnly = 4 [default = false]; private boolean spectateOnly_ ; /** * optional bool spectateOnly = 4 [default = false]; @@ -17151,10 +17565,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required .NetGameInfo gameInfo = 1; /** * required .NetGameInfo gameInfo = 1; */ @@ -17164,7 +17578,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.NetGameInfo getGameInfo(); - // optional string password = 2; /** * optional string password = 2; */ @@ -17179,7 +17592,6 @@ public final class ProtoBuf { com.google.protobuf.ByteString getPasswordBytes(); - // optional bool autoLeave = 3; /** * optional bool autoLeave = 3; */ @@ -17193,14 +17605,15 @@ public final class ProtoBuf { * Protobuf type {@code JoinNewGameMessage} */ public static final class JoinNewGameMessage extends - com.google.protobuf.GeneratedMessageLite - implements JoinNewGameMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:JoinNewGameMessage) + JoinNewGameMessageOrBuilder { // Use JoinNewGameMessage.newBuilder() to construct. private JoinNewGameMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private JoinNewGameMessage(boolean noInit) {} + private JoinNewGameMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final JoinNewGameMessage defaultInstance; public static JoinNewGameMessage getDefaultInstance() { @@ -17211,12 +17624,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private JoinNewGameMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -17226,7 +17645,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -17246,8 +17665,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: { @@ -17263,6 +17683,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -17282,7 +17709,6 @@ public final class ProtoBuf { } private int bitField0_; - // required .NetGameInfo gameInfo = 1; public static final int GAMEINFO_FIELD_NUMBER = 1; private de.pokerth.protocol.ProtoBuf.NetGameInfo gameInfo_; /** @@ -17298,7 +17724,6 @@ public final class ProtoBuf { return gameInfo_; } - // optional string password = 2; public static final int PASSWORD_FIELD_NUMBER = 2; private java.lang.Object password_; /** @@ -17341,7 +17766,6 @@ public final class ProtoBuf { } } - // optional bool autoLeave = 3; public static final int AUTOLEAVE_FIELD_NUMBER = 3; private boolean autoLeave_; /** @@ -17365,7 +17789,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -17391,6 +17816,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBool(3, autoLeave_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -17411,6 +17837,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, autoLeave_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -17488,7 +17915,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.JoinNewGameMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.JoinNewGameMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:JoinNewGameMessage) + de.pokerth.protocol.ProtoBuf.JoinNewGameMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.JoinNewGameMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -17560,6 +17989,8 @@ public final class ProtoBuf { if (other.hasAutoLeave()) { setAutoLeave(other.getAutoLeave()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -17594,7 +18025,6 @@ public final class ProtoBuf { } private int bitField0_; - // required .NetGameInfo gameInfo = 1; private de.pokerth.protocol.ProtoBuf.NetGameInfo gameInfo_ = de.pokerth.protocol.ProtoBuf.NetGameInfo.getDefaultInstance(); /** * required .NetGameInfo gameInfo = 1; @@ -17655,7 +18085,6 @@ public final class ProtoBuf { return this; } - // optional string password = 2; private java.lang.Object password_ = ""; /** * optional string password = 2; @@ -17669,9 +18098,12 @@ public final class ProtoBuf { 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; @@ -17729,7 +18161,6 @@ public final class ProtoBuf { return this; } - // optional bool autoLeave = 3; private boolean autoLeave_ ; /** * optional bool autoLeave = 3; @@ -17773,10 +18204,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -17786,7 +18217,6 @@ public final class ProtoBuf { */ int getGameId(); - // optional bool autoLeave = 2; /** * optional bool autoLeave = 2; */ @@ -17800,14 +18230,15 @@ public final class ProtoBuf { * Protobuf type {@code RejoinExistingGameMessage} */ public static final class RejoinExistingGameMessage extends - com.google.protobuf.GeneratedMessageLite - implements RejoinExistingGameMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:RejoinExistingGameMessage) + RejoinExistingGameMessageOrBuilder { // Use RejoinExistingGameMessage.newBuilder() to construct. private RejoinExistingGameMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private RejoinExistingGameMessage(boolean noInit) {} + private RejoinExistingGameMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final RejoinExistingGameMessage defaultInstance; public static RejoinExistingGameMessage getDefaultInstance() { @@ -17818,12 +18249,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private RejoinExistingGameMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -17833,7 +18270,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -17857,6 +18294,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -17876,7 +18320,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -17892,7 +18335,6 @@ public final class ProtoBuf { return gameId_; } - // optional bool autoLeave = 2; public static final int AUTOLEAVE_FIELD_NUMBER = 2; private boolean autoLeave_; /** @@ -17915,7 +18357,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -17934,6 +18377,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBool(2, autoLeave_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -17950,6 +18394,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeBoolSize(2, autoLeave_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -18027,7 +18472,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:RejoinExistingGameMessage) + de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -18088,6 +18535,8 @@ public final class ProtoBuf { if (other.hasAutoLeave()) { setAutoLeave(other.getAutoLeave()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -18118,7 +18567,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -18151,7 +18599,6 @@ public final class ProtoBuf { return this; } - // optional bool autoLeave = 2; private boolean autoLeave_ ; /** * optional bool autoLeave = 2; @@ -18195,10 +18642,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -18208,7 +18655,6 @@ public final class ProtoBuf { */ int getGameId(); - // required bool areYouGameAdmin = 2; /** * required bool areYouGameAdmin = 2; */ @@ -18218,7 +18664,6 @@ public final class ProtoBuf { */ boolean getAreYouGameAdmin(); - // required .NetGameInfo gameInfo = 3; /** * required .NetGameInfo gameInfo = 3; */ @@ -18228,7 +18673,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.NetGameInfo getGameInfo(); - // optional bool spectateOnly = 4; /** * optional bool spectateOnly = 4; */ @@ -18242,14 +18686,15 @@ public final class ProtoBuf { * Protobuf type {@code JoinGameAckMessage} */ public static final class JoinGameAckMessage extends - com.google.protobuf.GeneratedMessageLite - implements JoinGameAckMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:JoinGameAckMessage) + JoinGameAckMessageOrBuilder { // Use JoinGameAckMessage.newBuilder() to construct. private JoinGameAckMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private JoinGameAckMessage(boolean noInit) {} + private JoinGameAckMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final JoinGameAckMessage defaultInstance; public static JoinGameAckMessage getDefaultInstance() { @@ -18260,12 +18705,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private JoinGameAckMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -18275,7 +18726,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -18317,6 +18768,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -18336,7 +18794,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -18352,7 +18809,6 @@ public final class ProtoBuf { return gameId_; } - // required bool areYouGameAdmin = 2; public static final int AREYOUGAMEADMIN_FIELD_NUMBER = 2; private boolean areYouGameAdmin_; /** @@ -18368,7 +18824,6 @@ public final class ProtoBuf { return areYouGameAdmin_; } - // required .NetGameInfo gameInfo = 3; public static final int GAMEINFO_FIELD_NUMBER = 3; private de.pokerth.protocol.ProtoBuf.NetGameInfo gameInfo_; /** @@ -18384,7 +18839,6 @@ public final class ProtoBuf { return gameInfo_; } - // optional bool spectateOnly = 4; public static final int SPECTATEONLY_FIELD_NUMBER = 4; private boolean spectateOnly_; /** @@ -18409,7 +18863,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -18446,6 +18901,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeBool(4, spectateOnly_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -18470,6 +18926,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeBoolSize(4, spectateOnly_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -18547,7 +19004,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.JoinGameAckMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.JoinGameAckMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:JoinGameAckMessage) + de.pokerth.protocol.ProtoBuf.JoinGameAckMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.JoinGameAckMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -18626,6 +19085,8 @@ public final class ProtoBuf { if (other.hasSpectateOnly()) { setSpectateOnly(other.getSpectateOnly()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -18668,7 +19129,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -18701,7 +19161,6 @@ public final class ProtoBuf { return this; } - // required bool areYouGameAdmin = 2; private boolean areYouGameAdmin_ ; /** * required bool areYouGameAdmin = 2; @@ -18734,7 +19193,6 @@ public final class ProtoBuf { return this; } - // required .NetGameInfo gameInfo = 3; private de.pokerth.protocol.ProtoBuf.NetGameInfo gameInfo_ = de.pokerth.protocol.ProtoBuf.NetGameInfo.getDefaultInstance(); /** * required .NetGameInfo gameInfo = 3; @@ -18795,7 +19253,6 @@ public final class ProtoBuf { return this; } - // optional bool spectateOnly = 4; private boolean spectateOnly_ ; /** * optional bool spectateOnly = 4; @@ -18839,10 +19296,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -18852,7 +19309,6 @@ public final class ProtoBuf { */ int getGameId(); - // required .JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason = 2; /** * required .JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason = 2; */ @@ -18866,14 +19322,15 @@ public final class ProtoBuf { * Protobuf type {@code JoinGameFailedMessage} */ public static final class JoinGameFailedMessage extends - com.google.protobuf.GeneratedMessageLite - implements JoinGameFailedMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:JoinGameFailedMessage) + JoinGameFailedMessageOrBuilder { // Use JoinGameFailedMessage.newBuilder() to construct. private JoinGameFailedMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private JoinGameFailedMessage(boolean noInit) {} + private JoinGameFailedMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final JoinGameFailedMessage defaultInstance; public static JoinGameFailedMessage getDefaultInstance() { @@ -18884,12 +19341,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private JoinGameFailedMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -18899,7 +19362,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -18913,7 +19376,10 @@ public final class ProtoBuf { case 16: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.JoinGameFailureReason value = de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.JoinGameFailureReason.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFieldsCodedOutput.writeRawVarint32(tag); + unknownFieldsCodedOutput.writeRawVarint32(rawValue); + } else { bitField0_ |= 0x00000002; joinGameFailureReason_ = value; } @@ -18927,6 +19393,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -19092,7 +19565,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -19108,7 +19580,6 @@ public final class ProtoBuf { return gameId_; } - // required .JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason = 2; public static final int JOINGAMEFAILUREREASON_FIELD_NUMBER = 2; private de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason_; /** @@ -19131,7 +19602,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -19154,6 +19626,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeEnum(2, joinGameFailureReason_.getNumber()); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -19170,6 +19643,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, joinGameFailureReason_.getNumber()); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -19247,7 +19721,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.JoinGameFailedMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:JoinGameFailedMessage) + de.pokerth.protocol.ProtoBuf.JoinGameFailedMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -19308,6 +19784,8 @@ public final class ProtoBuf { if (other.hasJoinGameFailureReason()) { setJoinGameFailureReason(other.getJoinGameFailureReason()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -19342,7 +19820,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -19375,7 +19852,6 @@ public final class ProtoBuf { return this; } - // required .JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason = 2; private de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason_ = de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.JoinGameFailureReason.invalidGame; /** * required .JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason = 2; @@ -19422,10 +19898,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -19435,7 +19911,6 @@ public final class ProtoBuf { */ int getGameId(); - // required uint32 playerId = 2; /** * required uint32 playerId = 2; */ @@ -19445,7 +19920,6 @@ public final class ProtoBuf { */ int getPlayerId(); - // required bool isGameAdmin = 3; /** * required bool isGameAdmin = 3; */ @@ -19459,14 +19933,15 @@ public final class ProtoBuf { * Protobuf type {@code GamePlayerJoinedMessage} */ public static final class GamePlayerJoinedMessage extends - com.google.protobuf.GeneratedMessageLite - implements GamePlayerJoinedMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:GamePlayerJoinedMessage) + GamePlayerJoinedMessageOrBuilder { // Use GamePlayerJoinedMessage.newBuilder() to construct. private GamePlayerJoinedMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private GamePlayerJoinedMessage(boolean noInit) {} + private GamePlayerJoinedMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final GamePlayerJoinedMessage defaultInstance; public static GamePlayerJoinedMessage getDefaultInstance() { @@ -19477,12 +19952,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private GamePlayerJoinedMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -19492,7 +19973,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -19521,6 +20002,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -19540,7 +20028,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -19556,7 +20043,6 @@ public final class ProtoBuf { return gameId_; } - // required uint32 playerId = 2; public static final int PLAYERID_FIELD_NUMBER = 2; private int playerId_; /** @@ -19572,7 +20058,6 @@ public final class ProtoBuf { return playerId_; } - // required bool isGameAdmin = 3; public static final int ISGAMEADMIN_FIELD_NUMBER = 3; private boolean isGameAdmin_; /** @@ -19596,7 +20081,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -19626,6 +20112,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBool(3, isGameAdmin_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -19646,6 +20133,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, isGameAdmin_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -19723,7 +20211,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:GamePlayerJoinedMessage) + de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -19793,6 +20283,8 @@ public final class ProtoBuf { if (other.hasIsGameAdmin()) { setIsGameAdmin(other.getIsGameAdmin()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -19831,7 +20323,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -19864,7 +20355,6 @@ public final class ProtoBuf { return this; } - // required uint32 playerId = 2; private int playerId_ ; /** * required uint32 playerId = 2; @@ -19897,7 +20387,6 @@ public final class ProtoBuf { return this; } - // required bool isGameAdmin = 3; private boolean isGameAdmin_ ; /** * required bool isGameAdmin = 3; @@ -19941,10 +20430,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -19954,7 +20443,6 @@ public final class ProtoBuf { */ int getGameId(); - // required uint32 playerId = 2; /** * required uint32 playerId = 2; */ @@ -19964,7 +20452,6 @@ public final class ProtoBuf { */ int getPlayerId(); - // required .GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason = 3; /** * required .GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason = 3; */ @@ -19978,14 +20465,15 @@ public final class ProtoBuf { * Protobuf type {@code GamePlayerLeftMessage} */ public static final class GamePlayerLeftMessage extends - com.google.protobuf.GeneratedMessageLite - implements GamePlayerLeftMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:GamePlayerLeftMessage) + GamePlayerLeftMessageOrBuilder { // Use GamePlayerLeftMessage.newBuilder() to construct. private GamePlayerLeftMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private GamePlayerLeftMessage(boolean noInit) {} + private GamePlayerLeftMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final GamePlayerLeftMessage defaultInstance; public static GamePlayerLeftMessage getDefaultInstance() { @@ -19996,12 +20484,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private GamePlayerLeftMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -20011,7 +20505,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -20030,7 +20524,10 @@ public final class ProtoBuf { case 24: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason value = de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFieldsCodedOutput.writeRawVarint32(tag); + unknownFieldsCodedOutput.writeRawVarint32(rawValue); + } else { bitField0_ |= 0x00000004; gamePlayerLeftReason_ = value; } @@ -20044,6 +20541,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -20128,7 +20632,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -20144,7 +20647,6 @@ public final class ProtoBuf { return gameId_; } - // required uint32 playerId = 2; public static final int PLAYERID_FIELD_NUMBER = 2; private int playerId_; /** @@ -20160,7 +20662,6 @@ public final class ProtoBuf { return playerId_; } - // required .GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason = 3; public static final int GAMEPLAYERLEFTREASON_FIELD_NUMBER = 3; private de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason_; /** @@ -20184,7 +20685,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -20214,6 +20716,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeEnum(3, gamePlayerLeftReason_.getNumber()); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -20234,6 +20737,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeEnumSize(3, gamePlayerLeftReason_.getNumber()); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -20311,7 +20815,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:GamePlayerLeftMessage) + de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -20381,6 +20887,8 @@ public final class ProtoBuf { if (other.hasGamePlayerLeftReason()) { setGamePlayerLeftReason(other.getGamePlayerLeftReason()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -20419,7 +20927,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -20452,7 +20959,6 @@ public final class ProtoBuf { return this; } - // required uint32 playerId = 2; private int playerId_ ; /** * required uint32 playerId = 2; @@ -20485,7 +20991,6 @@ public final class ProtoBuf { return this; } - // required .GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason = 3; private de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason_ = de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason.leftOnRequest; /** * required .GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason = 3; @@ -20532,10 +21037,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -20545,7 +21050,6 @@ public final class ProtoBuf { */ int getGameId(); - // required uint32 playerId = 2; /** * required uint32 playerId = 2; */ @@ -20559,14 +21063,15 @@ public final class ProtoBuf { * Protobuf type {@code GameSpectatorJoinedMessage} */ public static final class GameSpectatorJoinedMessage extends - com.google.protobuf.GeneratedMessageLite - implements GameSpectatorJoinedMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:GameSpectatorJoinedMessage) + GameSpectatorJoinedMessageOrBuilder { // Use GameSpectatorJoinedMessage.newBuilder() to construct. private GameSpectatorJoinedMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private GameSpectatorJoinedMessage(boolean noInit) {} + private GameSpectatorJoinedMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final GameSpectatorJoinedMessage defaultInstance; public static GameSpectatorJoinedMessage getDefaultInstance() { @@ -20577,12 +21082,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private GameSpectatorJoinedMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -20592,7 +21103,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -20616,6 +21127,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -20635,7 +21153,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -20651,7 +21168,6 @@ public final class ProtoBuf { return gameId_; } - // required uint32 playerId = 2; public static final int PLAYERID_FIELD_NUMBER = 2; private int playerId_; /** @@ -20674,7 +21190,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -20697,6 +21214,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt32(2, playerId_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -20713,6 +21231,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, playerId_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -20790,7 +21309,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:GameSpectatorJoinedMessage) + de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -20851,6 +21372,8 @@ public final class ProtoBuf { if (other.hasPlayerId()) { setPlayerId(other.getPlayerId()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -20885,7 +21408,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -20918,7 +21440,6 @@ public final class ProtoBuf { return this; } - // required uint32 playerId = 2; private int playerId_ ; /** * required uint32 playerId = 2; @@ -20962,10 +21483,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -20975,7 +21496,6 @@ public final class ProtoBuf { */ int getGameId(); - // required uint32 playerId = 2; /** * required uint32 playerId = 2; */ @@ -20985,7 +21505,6 @@ public final class ProtoBuf { */ int getPlayerId(); - // required .GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason = 3; /** * required .GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason = 3; */ @@ -20999,14 +21518,15 @@ public final class ProtoBuf { * Protobuf type {@code GameSpectatorLeftMessage} */ public static final class GameSpectatorLeftMessage extends - com.google.protobuf.GeneratedMessageLite - implements GameSpectatorLeftMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:GameSpectatorLeftMessage) + GameSpectatorLeftMessageOrBuilder { // Use GameSpectatorLeftMessage.newBuilder() to construct. private GameSpectatorLeftMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private GameSpectatorLeftMessage(boolean noInit) {} + private GameSpectatorLeftMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final GameSpectatorLeftMessage defaultInstance; public static GameSpectatorLeftMessage getDefaultInstance() { @@ -21017,12 +21537,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private GameSpectatorLeftMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -21032,7 +21558,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -21051,7 +21577,10 @@ public final class ProtoBuf { case 24: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason value = de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFieldsCodedOutput.writeRawVarint32(tag); + unknownFieldsCodedOutput.writeRawVarint32(rawValue); + } else { bitField0_ |= 0x00000004; gameSpectatorLeftReason_ = value; } @@ -21065,6 +21594,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -21084,7 +21620,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -21100,7 +21635,6 @@ public final class ProtoBuf { return gameId_; } - // required uint32 playerId = 2; public static final int PLAYERID_FIELD_NUMBER = 2; private int playerId_; /** @@ -21116,7 +21650,6 @@ public final class ProtoBuf { return playerId_; } - // required .GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason = 3; public static final int GAMESPECTATORLEFTREASON_FIELD_NUMBER = 3; private de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason_; /** @@ -21140,7 +21673,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -21170,6 +21704,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeEnum(3, gameSpectatorLeftReason_.getNumber()); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -21190,6 +21725,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeEnumSize(3, gameSpectatorLeftReason_.getNumber()); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -21267,7 +21803,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:GameSpectatorLeftMessage) + de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -21337,6 +21875,8 @@ public final class ProtoBuf { if (other.hasGameSpectatorLeftReason()) { setGameSpectatorLeftReason(other.getGameSpectatorLeftReason()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -21375,7 +21915,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -21408,7 +21947,6 @@ public final class ProtoBuf { return this; } - // required uint32 playerId = 2; private int playerId_ ; /** * required uint32 playerId = 2; @@ -21441,7 +21979,6 @@ public final class ProtoBuf { return this; } - // required .GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason = 3; private de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason_ = de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason.leftOnRequest; /** * required .GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason = 3; @@ -21488,10 +22025,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -21501,7 +22038,6 @@ public final class ProtoBuf { */ int getGameId(); - // required uint32 newAdminPlayerId = 2; /** * required uint32 newAdminPlayerId = 2; */ @@ -21515,14 +22051,15 @@ public final class ProtoBuf { * Protobuf type {@code GameAdminChangedMessage} */ public static final class GameAdminChangedMessage extends - com.google.protobuf.GeneratedMessageLite - implements GameAdminChangedMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:GameAdminChangedMessage) + GameAdminChangedMessageOrBuilder { // Use GameAdminChangedMessage.newBuilder() to construct. private GameAdminChangedMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private GameAdminChangedMessage(boolean noInit) {} + private GameAdminChangedMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final GameAdminChangedMessage defaultInstance; public static GameAdminChangedMessage getDefaultInstance() { @@ -21533,12 +22070,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private GameAdminChangedMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -21548,7 +22091,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -21572,6 +22115,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -21591,7 +22141,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -21607,7 +22156,6 @@ public final class ProtoBuf { return gameId_; } - // required uint32 newAdminPlayerId = 2; public static final int NEWADMINPLAYERID_FIELD_NUMBER = 2; private int newAdminPlayerId_; /** @@ -21630,7 +22178,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -21653,6 +22202,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt32(2, newAdminPlayerId_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -21669,6 +22219,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, newAdminPlayerId_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -21746,7 +22297,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.GameAdminChangedMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:GameAdminChangedMessage) + de.pokerth.protocol.ProtoBuf.GameAdminChangedMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -21807,6 +22360,8 @@ public final class ProtoBuf { if (other.hasNewAdminPlayerId()) { setNewAdminPlayerId(other.getNewAdminPlayerId()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -21841,7 +22396,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -21874,7 +22428,6 @@ public final class ProtoBuf { return this; } - // required uint32 newAdminPlayerId = 2; private int newAdminPlayerId_ ; /** * required uint32 newAdminPlayerId = 2; @@ -21918,10 +22471,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -21931,7 +22484,6 @@ public final class ProtoBuf { */ int getGameId(); - // required .RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason = 2; /** * required .RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason = 2; */ @@ -21945,14 +22497,15 @@ public final class ProtoBuf { * Protobuf type {@code RemovedFromGameMessage} */ public static final class RemovedFromGameMessage extends - com.google.protobuf.GeneratedMessageLite - implements RemovedFromGameMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:RemovedFromGameMessage) + RemovedFromGameMessageOrBuilder { // Use RemovedFromGameMessage.newBuilder() to construct. private RemovedFromGameMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private RemovedFromGameMessage(boolean noInit) {} + private RemovedFromGameMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final RemovedFromGameMessage defaultInstance; public static RemovedFromGameMessage getDefaultInstance() { @@ -21963,12 +22516,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private RemovedFromGameMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -21978,7 +22537,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -21992,7 +22551,10 @@ public final class ProtoBuf { case 16: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.RemovedFromGameReason value = de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.RemovedFromGameReason.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFieldsCodedOutput.writeRawVarint32(tag); + unknownFieldsCodedOutput.writeRawVarint32(rawValue); + } else { bitField0_ |= 0x00000002; removedFromGameReason_ = value; } @@ -22006,6 +22568,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -22134,7 +22703,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -22150,7 +22718,6 @@ public final class ProtoBuf { return gameId_; } - // required .RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason = 2; public static final int REMOVEDFROMGAMEREASON_FIELD_NUMBER = 2; private de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason_; /** @@ -22173,7 +22740,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -22196,6 +22764,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeEnum(2, removedFromGameReason_.getNumber()); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -22212,6 +22781,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, removedFromGameReason_.getNumber()); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -22289,7 +22859,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.RemovedFromGameMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:RemovedFromGameMessage) + de.pokerth.protocol.ProtoBuf.RemovedFromGameMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -22350,6 +22922,8 @@ public final class ProtoBuf { if (other.hasRemovedFromGameReason()) { setRemovedFromGameReason(other.getRemovedFromGameReason()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -22384,7 +22958,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -22417,7 +22990,6 @@ public final class ProtoBuf { return this; } - // required .RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason = 2; private de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason_ = de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.RemovedFromGameReason.removedOnRequest; /** * required .RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason = 2; @@ -22464,10 +23036,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -22477,7 +23049,6 @@ public final class ProtoBuf { */ int getGameId(); - // required uint32 playerId = 2; /** * required uint32 playerId = 2; */ @@ -22491,14 +23062,15 @@ public final class ProtoBuf { * Protobuf type {@code KickPlayerRequestMessage} */ public static final class KickPlayerRequestMessage extends - com.google.protobuf.GeneratedMessageLite - implements KickPlayerRequestMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:KickPlayerRequestMessage) + KickPlayerRequestMessageOrBuilder { // Use KickPlayerRequestMessage.newBuilder() to construct. private KickPlayerRequestMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private KickPlayerRequestMessage(boolean noInit) {} + private KickPlayerRequestMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final KickPlayerRequestMessage defaultInstance; public static KickPlayerRequestMessage getDefaultInstance() { @@ -22509,12 +23081,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private KickPlayerRequestMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -22524,7 +23102,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -22548,6 +23126,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -22567,7 +23152,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -22583,7 +23167,6 @@ public final class ProtoBuf { return gameId_; } - // required uint32 playerId = 2; public static final int PLAYERID_FIELD_NUMBER = 2; private int playerId_; /** @@ -22606,7 +23189,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -22629,6 +23213,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt32(2, playerId_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -22645,6 +23230,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, playerId_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -22722,7 +23308,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:KickPlayerRequestMessage) + de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -22783,6 +23371,8 @@ public final class ProtoBuf { if (other.hasPlayerId()) { setPlayerId(other.getPlayerId()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -22817,7 +23407,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -22850,7 +23439,6 @@ public final class ProtoBuf { return this; } - // required uint32 playerId = 2; private int playerId_ ; /** * required uint32 playerId = 2; @@ -22894,10 +23482,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -22911,14 +23499,15 @@ public final class ProtoBuf { * Protobuf type {@code LeaveGameRequestMessage} */ public static final class LeaveGameRequestMessage extends - com.google.protobuf.GeneratedMessageLite - implements LeaveGameRequestMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:LeaveGameRequestMessage) + LeaveGameRequestMessageOrBuilder { // Use LeaveGameRequestMessage.newBuilder() to construct. private LeaveGameRequestMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private LeaveGameRequestMessage(boolean noInit) {} + private LeaveGameRequestMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final LeaveGameRequestMessage defaultInstance; public static LeaveGameRequestMessage getDefaultInstance() { @@ -22929,12 +23518,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private LeaveGameRequestMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -22944,7 +23539,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -22963,6 +23558,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -22982,7 +23584,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -23004,7 +23605,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -23020,6 +23622,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeUInt32(1, gameId_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -23032,6 +23635,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, gameId_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -23109,7 +23713,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:LeaveGameRequestMessage) + de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -23161,6 +23767,8 @@ public final class ProtoBuf { if (other.hasGameId()) { setGameId(other.getGameId()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -23191,7 +23799,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -23235,10 +23842,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -23248,7 +23855,6 @@ public final class ProtoBuf { */ int getGameId(); - // required uint32 playerId = 2; /** * required uint32 playerId = 2; */ @@ -23262,14 +23868,15 @@ public final class ProtoBuf { * Protobuf type {@code InvitePlayerToGameMessage} */ public static final class InvitePlayerToGameMessage extends - com.google.protobuf.GeneratedMessageLite - implements InvitePlayerToGameMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:InvitePlayerToGameMessage) + InvitePlayerToGameMessageOrBuilder { // Use InvitePlayerToGameMessage.newBuilder() to construct. private InvitePlayerToGameMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private InvitePlayerToGameMessage(boolean noInit) {} + private InvitePlayerToGameMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final InvitePlayerToGameMessage defaultInstance; public static InvitePlayerToGameMessage getDefaultInstance() { @@ -23280,12 +23887,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private InvitePlayerToGameMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -23295,7 +23908,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -23319,6 +23932,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -23338,7 +23958,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -23354,7 +23973,6 @@ public final class ProtoBuf { return gameId_; } - // required uint32 playerId = 2; public static final int PLAYERID_FIELD_NUMBER = 2; private int playerId_; /** @@ -23377,7 +23995,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -23400,6 +24019,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt32(2, playerId_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -23416,6 +24036,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, playerId_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -23493,7 +24114,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:InvitePlayerToGameMessage) + de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -23554,6 +24177,8 @@ public final class ProtoBuf { if (other.hasPlayerId()) { setPlayerId(other.getPlayerId()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -23588,7 +24213,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -23621,7 +24245,6 @@ public final class ProtoBuf { return this; } - // required uint32 playerId = 2; private int playerId_ ; /** * required uint32 playerId = 2; @@ -23665,10 +24288,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -23678,7 +24301,6 @@ public final class ProtoBuf { */ int getGameId(); - // required uint32 playerIdWho = 2; /** * required uint32 playerIdWho = 2; */ @@ -23688,7 +24310,6 @@ public final class ProtoBuf { */ int getPlayerIdWho(); - // required uint32 playerIdByWhom = 3; /** * required uint32 playerIdByWhom = 3; */ @@ -23702,14 +24323,15 @@ public final class ProtoBuf { * Protobuf type {@code InviteNotifyMessage} */ public static final class InviteNotifyMessage extends - com.google.protobuf.GeneratedMessageLite - implements InviteNotifyMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:InviteNotifyMessage) + InviteNotifyMessageOrBuilder { // Use InviteNotifyMessage.newBuilder() to construct. private InviteNotifyMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private InviteNotifyMessage(boolean noInit) {} + private InviteNotifyMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final InviteNotifyMessage defaultInstance; public static InviteNotifyMessage getDefaultInstance() { @@ -23720,12 +24342,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private InviteNotifyMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -23735,7 +24363,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -23764,6 +24392,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -23783,7 +24418,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -23799,7 +24433,6 @@ public final class ProtoBuf { return gameId_; } - // required uint32 playerIdWho = 2; public static final int PLAYERIDWHO_FIELD_NUMBER = 2; private int playerIdWho_; /** @@ -23815,7 +24448,6 @@ public final class ProtoBuf { return playerIdWho_; } - // required uint32 playerIdByWhom = 3; public static final int PLAYERIDBYWHOM_FIELD_NUMBER = 3; private int playerIdByWhom_; /** @@ -23839,7 +24471,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -23869,6 +24502,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeUInt32(3, playerIdByWhom_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -23889,6 +24523,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(3, playerIdByWhom_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -23966,7 +24601,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.InviteNotifyMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.InviteNotifyMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:InviteNotifyMessage) + de.pokerth.protocol.ProtoBuf.InviteNotifyMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.InviteNotifyMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -24036,6 +24673,8 @@ public final class ProtoBuf { if (other.hasPlayerIdByWhom()) { setPlayerIdByWhom(other.getPlayerIdByWhom()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -24074,7 +24713,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -24107,7 +24745,6 @@ public final class ProtoBuf { return this; } - // required uint32 playerIdWho = 2; private int playerIdWho_ ; /** * required uint32 playerIdWho = 2; @@ -24140,7 +24777,6 @@ public final class ProtoBuf { return this; } - // required uint32 playerIdByWhom = 3; private int playerIdByWhom_ ; /** * required uint32 playerIdByWhom = 3; @@ -24184,10 +24820,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -24197,7 +24833,6 @@ public final class ProtoBuf { */ int getGameId(); - // required .RejectGameInvitationMessage.RejectGameInvReason myRejectReason = 2; /** * required .RejectGameInvitationMessage.RejectGameInvReason myRejectReason = 2; */ @@ -24211,14 +24846,15 @@ public final class ProtoBuf { * Protobuf type {@code RejectGameInvitationMessage} */ public static final class RejectGameInvitationMessage extends - com.google.protobuf.GeneratedMessageLite - implements RejectGameInvitationMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:RejectGameInvitationMessage) + RejectGameInvitationMessageOrBuilder { // Use RejectGameInvitationMessage.newBuilder() to construct. private RejectGameInvitationMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private RejectGameInvitationMessage(boolean noInit) {} + private RejectGameInvitationMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final RejectGameInvitationMessage defaultInstance; public static RejectGameInvitationMessage getDefaultInstance() { @@ -24229,12 +24865,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private RejectGameInvitationMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -24244,7 +24886,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -24258,7 +24900,10 @@ public final class ProtoBuf { case 16: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason value = de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFieldsCodedOutput.writeRawVarint32(tag); + unknownFieldsCodedOutput.writeRawVarint32(rawValue); + } else { bitField0_ |= 0x00000002; myRejectReason_ = value; } @@ -24272,6 +24917,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -24347,7 +24999,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -24363,7 +25014,6 @@ public final class ProtoBuf { return gameId_; } - // required .RejectGameInvitationMessage.RejectGameInvReason myRejectReason = 2; public static final int MYREJECTREASON_FIELD_NUMBER = 2; private de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason myRejectReason_; /** @@ -24386,7 +25036,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -24409,6 +25060,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeEnum(2, myRejectReason_.getNumber()); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -24425,6 +25077,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, myRejectReason_.getNumber()); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -24502,7 +25155,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:RejectGameInvitationMessage) + de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -24563,6 +25218,8 @@ public final class ProtoBuf { if (other.hasMyRejectReason()) { setMyRejectReason(other.getMyRejectReason()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -24597,7 +25254,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -24630,7 +25286,6 @@ public final class ProtoBuf { return this; } - // required .RejectGameInvitationMessage.RejectGameInvReason myRejectReason = 2; private de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason myRejectReason_ = de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason.rejectReasonNo; /** * required .RejectGameInvitationMessage.RejectGameInvReason myRejectReason = 2; @@ -24677,10 +25332,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -24690,7 +25345,6 @@ public final class ProtoBuf { */ int getGameId(); - // required uint32 playerId = 2; /** * required uint32 playerId = 2; */ @@ -24700,7 +25354,6 @@ public final class ProtoBuf { */ int getPlayerId(); - // required .RejectGameInvitationMessage.RejectGameInvReason playerRejectReason = 3; /** * required .RejectGameInvitationMessage.RejectGameInvReason playerRejectReason = 3; */ @@ -24714,14 +25367,15 @@ public final class ProtoBuf { * Protobuf type {@code RejectInvNotifyMessage} */ public static final class RejectInvNotifyMessage extends - com.google.protobuf.GeneratedMessageLite - implements RejectInvNotifyMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:RejectInvNotifyMessage) + RejectInvNotifyMessageOrBuilder { // Use RejectInvNotifyMessage.newBuilder() to construct. private RejectInvNotifyMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private RejectInvNotifyMessage(boolean noInit) {} + private RejectInvNotifyMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final RejectInvNotifyMessage defaultInstance; public static RejectInvNotifyMessage getDefaultInstance() { @@ -24732,12 +25386,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private RejectInvNotifyMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -24747,7 +25407,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -24766,7 +25426,10 @@ public final class ProtoBuf { case 24: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason value = de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFieldsCodedOutput.writeRawVarint32(tag); + unknownFieldsCodedOutput.writeRawVarint32(rawValue); + } else { bitField0_ |= 0x00000004; playerRejectReason_ = value; } @@ -24780,6 +25443,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -24799,7 +25469,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -24815,7 +25484,6 @@ public final class ProtoBuf { return gameId_; } - // required uint32 playerId = 2; public static final int PLAYERID_FIELD_NUMBER = 2; private int playerId_; /** @@ -24831,7 +25499,6 @@ public final class ProtoBuf { return playerId_; } - // required .RejectGameInvitationMessage.RejectGameInvReason playerRejectReason = 3; public static final int PLAYERREJECTREASON_FIELD_NUMBER = 3; private de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason playerRejectReason_; /** @@ -24855,7 +25522,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -24885,6 +25553,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeEnum(3, playerRejectReason_.getNumber()); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -24905,6 +25574,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeEnumSize(3, playerRejectReason_.getNumber()); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -24982,7 +25652,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:RejectInvNotifyMessage) + de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -25052,6 +25724,8 @@ public final class ProtoBuf { if (other.hasPlayerRejectReason()) { setPlayerRejectReason(other.getPlayerRejectReason()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -25090,7 +25764,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -25123,7 +25796,6 @@ public final class ProtoBuf { return this; } - // required uint32 playerId = 2; private int playerId_ ; /** * required uint32 playerId = 2; @@ -25156,7 +25828,6 @@ public final class ProtoBuf { return this; } - // required .RejectGameInvitationMessage.RejectGameInvReason playerRejectReason = 3; private de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason playerRejectReason_ = de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason.rejectReasonNo; /** * required .RejectGameInvitationMessage.RejectGameInvReason playerRejectReason = 3; @@ -25203,10 +25874,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -25216,7 +25887,6 @@ public final class ProtoBuf { */ int getGameId(); - // required .StartEventMessage.StartEventType startEventType = 2; /** * required .StartEventMessage.StartEventType startEventType = 2; */ @@ -25226,7 +25896,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.StartEventMessage.StartEventType getStartEventType(); - // optional bool fillWithComputerPlayers = 3; /** * optional bool fillWithComputerPlayers = 3; */ @@ -25240,14 +25909,15 @@ public final class ProtoBuf { * Protobuf type {@code StartEventMessage} */ public static final class StartEventMessage extends - com.google.protobuf.GeneratedMessageLite - implements StartEventMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:StartEventMessage) + StartEventMessageOrBuilder { // Use StartEventMessage.newBuilder() to construct. private StartEventMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private StartEventMessage(boolean noInit) {} + private StartEventMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final StartEventMessage defaultInstance; public static StartEventMessage getDefaultInstance() { @@ -25258,12 +25928,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private StartEventMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -25273,7 +25949,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -25287,7 +25963,10 @@ public final class ProtoBuf { case 16: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.StartEventMessage.StartEventType value = de.pokerth.protocol.ProtoBuf.StartEventMessage.StartEventType.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFieldsCodedOutput.writeRawVarint32(tag); + unknownFieldsCodedOutput.writeRawVarint32(rawValue); + } else { bitField0_ |= 0x00000002; startEventType_ = value; } @@ -25306,6 +25985,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -25381,7 +26067,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -25397,7 +26082,6 @@ public final class ProtoBuf { return gameId_; } - // required .StartEventMessage.StartEventType startEventType = 2; public static final int STARTEVENTTYPE_FIELD_NUMBER = 2; private de.pokerth.protocol.ProtoBuf.StartEventMessage.StartEventType startEventType_; /** @@ -25413,7 +26097,6 @@ public final class ProtoBuf { return startEventType_; } - // optional bool fillWithComputerPlayers = 3; public static final int FILLWITHCOMPUTERPLAYERS_FIELD_NUMBER = 3; private boolean fillWithComputerPlayers_; /** @@ -25437,7 +26120,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -25463,6 +26147,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBool(3, fillWithComputerPlayers_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -25483,6 +26168,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, fillWithComputerPlayers_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -25560,7 +26246,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.StartEventMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.StartEventMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:StartEventMessage) + de.pokerth.protocol.ProtoBuf.StartEventMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.StartEventMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -25630,6 +26318,8 @@ public final class ProtoBuf { if (other.hasFillWithComputerPlayers()) { setFillWithComputerPlayers(other.getFillWithComputerPlayers()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -25664,7 +26354,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -25697,7 +26386,6 @@ public final class ProtoBuf { return this; } - // required .StartEventMessage.StartEventType startEventType = 2; private de.pokerth.protocol.ProtoBuf.StartEventMessage.StartEventType startEventType_ = de.pokerth.protocol.ProtoBuf.StartEventMessage.StartEventType.startEvent; /** * required .StartEventMessage.StartEventType startEventType = 2; @@ -25733,7 +26421,6 @@ public final class ProtoBuf { return this; } - // optional bool fillWithComputerPlayers = 3; private boolean fillWithComputerPlayers_ ; /** * optional bool fillWithComputerPlayers = 3; @@ -25777,10 +26464,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -25794,14 +26481,15 @@ public final class ProtoBuf { * Protobuf type {@code StartEventAckMessage} */ public static final class StartEventAckMessage extends - com.google.protobuf.GeneratedMessageLite - implements StartEventAckMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:StartEventAckMessage) + StartEventAckMessageOrBuilder { // Use StartEventAckMessage.newBuilder() to construct. private StartEventAckMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private StartEventAckMessage(boolean noInit) {} + private StartEventAckMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final StartEventAckMessage defaultInstance; public static StartEventAckMessage getDefaultInstance() { @@ -25812,12 +26500,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private StartEventAckMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -25827,7 +26521,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -25846,6 +26540,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -25865,7 +26566,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -25887,7 +26587,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -25903,6 +26604,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeUInt32(1, gameId_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -25915,6 +26617,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, gameId_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -25992,7 +26695,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.StartEventAckMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.StartEventAckMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:StartEventAckMessage) + de.pokerth.protocol.ProtoBuf.StartEventAckMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.StartEventAckMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -26044,6 +26749,8 @@ public final class ProtoBuf { if (other.hasGameId()) { setGameId(other.getGameId()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -26074,7 +26781,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -26118,10 +26824,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -26131,7 +26837,6 @@ public final class ProtoBuf { */ int getGameId(); - // required uint32 startDealerPlayerId = 2; /** * required uint32 startDealerPlayerId = 2; */ @@ -26141,7 +26846,6 @@ public final class ProtoBuf { */ int getStartDealerPlayerId(); - // repeated uint32 playerSeats = 3 [packed = true]; /** * repeated uint32 playerSeats = 3 [packed = true]; */ @@ -26159,14 +26863,15 @@ public final class ProtoBuf { * Protobuf type {@code GameStartInitialMessage} */ public static final class GameStartInitialMessage extends - com.google.protobuf.GeneratedMessageLite - implements GameStartInitialMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:GameStartInitialMessage) + GameStartInitialMessageOrBuilder { // Use GameStartInitialMessage.newBuilder() to construct. private GameStartInitialMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private GameStartInitialMessage(boolean noInit) {} + private GameStartInitialMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final GameStartInitialMessage defaultInstance; public static GameStartInitialMessage getDefaultInstance() { @@ -26177,12 +26882,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private GameStartInitialMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -26192,7 +26903,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -26240,6 +26951,13 @@ public final class ProtoBuf { if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) { playerSeats_ = java.util.Collections.unmodifiableList(playerSeats_); } + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -26259,7 +26977,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -26275,7 +26992,6 @@ public final class ProtoBuf { return gameId_; } - // required uint32 startDealerPlayerId = 2; public static final int STARTDEALERPLAYERID_FIELD_NUMBER = 2; private int startDealerPlayerId_; /** @@ -26291,7 +27007,6 @@ public final class ProtoBuf { return startDealerPlayerId_; } - // repeated uint32 playerSeats = 3 [packed = true]; public static final int PLAYERSEATS_FIELD_NUMBER = 3; private java.util.List playerSeats_; /** @@ -26323,7 +27038,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -26353,6 +27069,7 @@ public final class ProtoBuf { for (int i = 0; i < playerSeats_.size(); i++) { output.writeUInt32NoTag(playerSeats_.get(i)); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -26383,6 +27100,7 @@ public final class ProtoBuf { } playerSeatsMemoizedSerializedSize = dataSize; } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -26460,7 +27178,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.GameStartInitialMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.GameStartInitialMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:GameStartInitialMessage) + de.pokerth.protocol.ProtoBuf.GameStartInitialMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.GameStartInitialMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -26538,6 +27258,8 @@ public final class ProtoBuf { } } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -26572,7 +27294,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -26605,7 +27326,6 @@ public final class ProtoBuf { return this; } - // required uint32 startDealerPlayerId = 2; private int startDealerPlayerId_ ; /** * required uint32 startDealerPlayerId = 2; @@ -26638,7 +27358,6 @@ public final class ProtoBuf { return this; } - // repeated uint32 playerSeats = 3 [packed = true]; private java.util.List playerSeats_ = java.util.Collections.emptyList(); private void ensurePlayerSeatsIsMutable() { if (!((bitField0_ & 0x00000004) == 0x00000004)) { @@ -26690,7 +27409,8 @@ public final class ProtoBuf { public Builder addAllPlayerSeats( java.lang.Iterable values) { ensurePlayerSeatsIsMutable(); - super.addAll(values, playerSeats_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, playerSeats_); return this; } @@ -26715,10 +27435,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -26728,7 +27448,6 @@ public final class ProtoBuf { */ int getGameId(); - // required uint32 startDealerPlayerId = 2; /** * required uint32 startDealerPlayerId = 2; */ @@ -26738,7 +27457,6 @@ public final class ProtoBuf { */ int getStartDealerPlayerId(); - // required uint32 handNum = 3; /** * required uint32 handNum = 3; */ @@ -26748,7 +27466,6 @@ public final class ProtoBuf { */ int getHandNum(); - // repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; /** * repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; */ @@ -26767,14 +27484,15 @@ public final class ProtoBuf { * Protobuf type {@code GameStartRejoinMessage} */ public static final class GameStartRejoinMessage extends - com.google.protobuf.GeneratedMessageLite - implements GameStartRejoinMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:GameStartRejoinMessage) + GameStartRejoinMessageOrBuilder { // Use GameStartRejoinMessage.newBuilder() to construct. private GameStartRejoinMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private GameStartRejoinMessage(boolean noInit) {} + private GameStartRejoinMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final GameStartRejoinMessage defaultInstance; public static GameStartRejoinMessage getDefaultInstance() { @@ -26785,12 +27503,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private GameStartRejoinMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -26800,7 +27524,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -26840,6 +27564,13 @@ public final class ProtoBuf { if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) { rejoinPlayerData_ = java.util.Collections.unmodifiableList(rejoinPlayerData_); } + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -26858,10 +27589,10 @@ public final class ProtoBuf { return PARSER; } - public interface RejoinPlayerDataOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface RejoinPlayerDataOrBuilder extends + // @@protoc_insertion_point(interface_extends:GameStartRejoinMessage.RejoinPlayerData) + com.google.protobuf.MessageLiteOrBuilder { - // required uint32 playerId = 1; /** * required uint32 playerId = 1; */ @@ -26871,7 +27602,6 @@ public final class ProtoBuf { */ int getPlayerId(); - // required uint32 playerMoney = 2; /** * required uint32 playerMoney = 2; */ @@ -26885,14 +27615,15 @@ public final class ProtoBuf { * Protobuf type {@code GameStartRejoinMessage.RejoinPlayerData} */ public static final class RejoinPlayerData extends - com.google.protobuf.GeneratedMessageLite - implements RejoinPlayerDataOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:GameStartRejoinMessage.RejoinPlayerData) + RejoinPlayerDataOrBuilder { // Use RejoinPlayerData.newBuilder() to construct. private RejoinPlayerData(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private RejoinPlayerData(boolean noInit) {} + private RejoinPlayerData(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final RejoinPlayerData defaultInstance; public static RejoinPlayerData getDefaultInstance() { @@ -26903,12 +27634,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private RejoinPlayerData( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -26918,7 +27655,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -26942,6 +27679,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -26961,7 +27705,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 playerId = 1; public static final int PLAYERID_FIELD_NUMBER = 1; private int playerId_; /** @@ -26977,7 +27720,6 @@ public final class ProtoBuf { return playerId_; } - // required uint32 playerMoney = 2; public static final int PLAYERMONEY_FIELD_NUMBER = 2; private int playerMoney_; /** @@ -27000,7 +27742,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -27023,6 +27766,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt32(2, playerMoney_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -27039,6 +27783,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, playerMoney_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -27116,7 +27861,9 @@ public final class ProtoBuf { 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 { + implements + // @@protoc_insertion_point(builder_implements:GameStartRejoinMessage.RejoinPlayerData) + de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerDataOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -27177,6 +27924,8 @@ public final class ProtoBuf { if (other.hasPlayerMoney()) { setPlayerMoney(other.getPlayerMoney()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -27211,7 +27960,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 playerId = 1; private int playerId_ ; /** * required uint32 playerId = 1; @@ -27244,7 +27992,6 @@ public final class ProtoBuf { return this; } - // required uint32 playerMoney = 2; private int playerMoney_ ; /** * required uint32 playerMoney = 2; @@ -27289,7 +28036,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -27305,7 +28051,6 @@ public final class ProtoBuf { return gameId_; } - // required uint32 startDealerPlayerId = 2; public static final int STARTDEALERPLAYERID_FIELD_NUMBER = 2; private int startDealerPlayerId_; /** @@ -27321,7 +28066,6 @@ public final class ProtoBuf { return startDealerPlayerId_; } - // required uint32 handNum = 3; public static final int HANDNUM_FIELD_NUMBER = 3; private int handNum_; /** @@ -27337,7 +28081,6 @@ public final class ProtoBuf { return handNum_; } - // repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; public static final int REJOINPLAYERDATA_FIELD_NUMBER = 4; private java.util.List rejoinPlayerData_; /** @@ -27382,7 +28125,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -27421,6 +28165,7 @@ public final class ProtoBuf { for (int i = 0; i < rejoinPlayerData_.size(); i++) { output.writeMessage(4, rejoinPlayerData_.get(i)); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -27445,6 +28190,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, rejoinPlayerData_.get(i)); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -27522,7 +28268,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.GameStartRejoinMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:GameStartRejoinMessage) + de.pokerth.protocol.ProtoBuf.GameStartRejoinMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -27609,6 +28357,8 @@ public final class ProtoBuf { } } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -27653,7 +28403,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -27686,7 +28435,6 @@ public final class ProtoBuf { return this; } - // required uint32 startDealerPlayerId = 2; private int startDealerPlayerId_ ; /** * required uint32 startDealerPlayerId = 2; @@ -27719,7 +28467,6 @@ public final class ProtoBuf { return this; } - // required uint32 handNum = 3; private int handNum_ ; /** * required uint32 handNum = 3; @@ -27752,7 +28499,6 @@ public final class ProtoBuf { return this; } - // repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; private java.util.List rejoinPlayerData_ = java.util.Collections.emptyList(); private void ensureRejoinPlayerDataIsMutable() { @@ -27854,7 +28600,8 @@ public final class ProtoBuf { public Builder addAllRejoinPlayerData( java.lang.Iterable values) { ensureRejoinPlayerDataIsMutable(); - super.addAll(values, rejoinPlayerData_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, rejoinPlayerData_); return this; } @@ -27888,10 +28635,10 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:GameStartRejoinMessage) } - public interface HandStartMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface HandStartMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:HandStartMessage) + com.google.protobuf.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -27901,7 +28648,6 @@ public final class ProtoBuf { */ int getGameId(); - // optional .HandStartMessage.PlainCards plainCards = 2; /** * optional .HandStartMessage.PlainCards plainCards = 2; */ @@ -27911,7 +28657,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards getPlainCards(); - // optional bytes encryptedCards = 3; /** * optional bytes encryptedCards = 3; */ @@ -27921,7 +28666,6 @@ public final class ProtoBuf { */ com.google.protobuf.ByteString getEncryptedCards(); - // required uint32 smallBlind = 4; /** * required uint32 smallBlind = 4; */ @@ -27931,7 +28675,6 @@ public final class ProtoBuf { */ int getSmallBlind(); - // repeated .NetPlayerState seatStates = 5; /** * repeated .NetPlayerState seatStates = 5; */ @@ -27945,7 +28688,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.NetPlayerState getSeatStates(int index); - // optional uint32 dealerPlayerId = 6; /** * optional uint32 dealerPlayerId = 6; */ @@ -27959,14 +28701,15 @@ public final class ProtoBuf { * Protobuf type {@code HandStartMessage} */ public static final class HandStartMessage extends - com.google.protobuf.GeneratedMessageLite - implements HandStartMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:HandStartMessage) + HandStartMessageOrBuilder { // Use HandStartMessage.newBuilder() to construct. private HandStartMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private HandStartMessage(boolean noInit) {} + private HandStartMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final HandStartMessage defaultInstance; public static HandStartMessage getDefaultInstance() { @@ -27977,12 +28720,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private HandStartMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -27992,7 +28741,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -28029,7 +28778,10 @@ public final class ProtoBuf { case 40: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.NetPlayerState value = de.pokerth.protocol.ProtoBuf.NetPlayerState.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFieldsCodedOutput.writeRawVarint32(tag); + unknownFieldsCodedOutput.writeRawVarint32(rawValue); + } else { if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) { seatStates_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000010; @@ -28044,7 +28796,10 @@ public final class ProtoBuf { while(input.getBytesUntilLimit() > 0) { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.NetPlayerState value = de.pokerth.protocol.ProtoBuf.NetPlayerState.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFieldsCodedOutput.writeRawVarint32(tag); + unknownFieldsCodedOutput.writeRawVarint32(rawValue); + } else { if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) { seatStates_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000010; @@ -28071,6 +28826,13 @@ public final class ProtoBuf { if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) { seatStates_ = java.util.Collections.unmodifiableList(seatStates_); } + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -28089,10 +28851,10 @@ public final class ProtoBuf { return PARSER; } - public interface PlainCardsOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface PlainCardsOrBuilder extends + // @@protoc_insertion_point(interface_extends:HandStartMessage.PlainCards) + com.google.protobuf.MessageLiteOrBuilder { - // required uint32 plainCard1 = 1; /** * required uint32 plainCard1 = 1; */ @@ -28102,7 +28864,6 @@ public final class ProtoBuf { */ int getPlainCard1(); - // required uint32 plainCard2 = 2; /** * required uint32 plainCard2 = 2; */ @@ -28116,14 +28877,15 @@ public final class ProtoBuf { * Protobuf type {@code HandStartMessage.PlainCards} */ public static final class PlainCards extends - com.google.protobuf.GeneratedMessageLite - implements PlainCardsOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:HandStartMessage.PlainCards) + PlainCardsOrBuilder { // Use PlainCards.newBuilder() to construct. private PlainCards(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private PlainCards(boolean noInit) {} + private PlainCards(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final PlainCards defaultInstance; public static PlainCards getDefaultInstance() { @@ -28134,12 +28896,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private PlainCards( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -28149,7 +28917,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -28173,6 +28941,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -28192,7 +28967,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 plainCard1 = 1; public static final int PLAINCARD1_FIELD_NUMBER = 1; private int plainCard1_; /** @@ -28208,7 +28982,6 @@ public final class ProtoBuf { return plainCard1_; } - // required uint32 plainCard2 = 2; public static final int PLAINCARD2_FIELD_NUMBER = 2; private int plainCard2_; /** @@ -28231,7 +29004,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -28254,6 +29028,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt32(2, plainCard2_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -28270,6 +29045,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, plainCard2_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -28347,7 +29123,9 @@ public final class ProtoBuf { 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 { + implements + // @@protoc_insertion_point(builder_implements:HandStartMessage.PlainCards) + de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCardsOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -28408,6 +29186,8 @@ public final class ProtoBuf { if (other.hasPlainCard2()) { setPlainCard2(other.getPlainCard2()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -28442,7 +29222,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 plainCard1 = 1; private int plainCard1_ ; /** * required uint32 plainCard1 = 1; @@ -28475,7 +29254,6 @@ public final class ProtoBuf { return this; } - // required uint32 plainCard2 = 2; private int plainCard2_ ; /** * required uint32 plainCard2 = 2; @@ -28520,7 +29298,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -28536,7 +29313,6 @@ public final class ProtoBuf { return gameId_; } - // optional .HandStartMessage.PlainCards plainCards = 2; public static final int PLAINCARDS_FIELD_NUMBER = 2; private de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards plainCards_; /** @@ -28552,7 +29328,6 @@ public final class ProtoBuf { return plainCards_; } - // optional bytes encryptedCards = 3; public static final int ENCRYPTEDCARDS_FIELD_NUMBER = 3; private com.google.protobuf.ByteString encryptedCards_; /** @@ -28568,7 +29343,6 @@ public final class ProtoBuf { return encryptedCards_; } - // required uint32 smallBlind = 4; public static final int SMALLBLIND_FIELD_NUMBER = 4; private int smallBlind_; /** @@ -28584,7 +29358,6 @@ public final class ProtoBuf { return smallBlind_; } - // repeated .NetPlayerState seatStates = 5; public static final int SEATSTATES_FIELD_NUMBER = 5; private java.util.List seatStates_; /** @@ -28606,7 +29379,6 @@ public final class ProtoBuf { return seatStates_.get(index); } - // optional uint32 dealerPlayerId = 6; public static final int DEALERPLAYERID_FIELD_NUMBER = 6; private int dealerPlayerId_; /** @@ -28633,7 +29405,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -28674,6 +29447,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeUInt32(6, dealerPlayerId_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -28711,6 +29485,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(6, dealerPlayerId_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -28788,7 +29563,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.HandStartMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.HandStartMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:HandStartMessage) + de.pokerth.protocol.ProtoBuf.HandStartMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.HandStartMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -28893,6 +29670,8 @@ public final class ProtoBuf { if (other.hasDealerPlayerId()) { setDealerPlayerId(other.getDealerPlayerId()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -28933,7 +29712,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -28966,7 +29744,6 @@ public final class ProtoBuf { return this; } - // optional .HandStartMessage.PlainCards plainCards = 2; private de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards plainCards_ = de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards.getDefaultInstance(); /** * optional .HandStartMessage.PlainCards plainCards = 2; @@ -29027,7 +29804,6 @@ public final class ProtoBuf { return this; } - // optional bytes encryptedCards = 3; private com.google.protobuf.ByteString encryptedCards_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes encryptedCards = 3; @@ -29063,7 +29839,6 @@ public final class ProtoBuf { return this; } - // required uint32 smallBlind = 4; private int smallBlind_ ; /** * required uint32 smallBlind = 4; @@ -29096,7 +29871,6 @@ public final class ProtoBuf { return this; } - // repeated .NetPlayerState seatStates = 5; private java.util.List seatStates_ = java.util.Collections.emptyList(); private void ensureSeatStatesIsMutable() { @@ -29154,7 +29928,8 @@ public final class ProtoBuf { public Builder addAllSeatStates( java.lang.Iterable values) { ensureSeatStatesIsMutable(); - super.addAll(values, seatStates_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, seatStates_); return this; } @@ -29168,7 +29943,6 @@ public final class ProtoBuf { return this; } - // optional uint32 dealerPlayerId = 6; private int dealerPlayerId_ ; /** * optional uint32 dealerPlayerId = 6; @@ -29212,10 +29986,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -29225,7 +29999,6 @@ public final class ProtoBuf { */ int getGameId(); - // required uint32 playerId = 2; /** * required uint32 playerId = 2; */ @@ -29235,7 +30008,6 @@ public final class ProtoBuf { */ int getPlayerId(); - // required .NetGameState gameState = 3; /** * required .NetGameState gameState = 3; */ @@ -29249,14 +30021,15 @@ public final class ProtoBuf { * Protobuf type {@code PlayersTurnMessage} */ public static final class PlayersTurnMessage extends - com.google.protobuf.GeneratedMessageLite - implements PlayersTurnMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:PlayersTurnMessage) + PlayersTurnMessageOrBuilder { // Use PlayersTurnMessage.newBuilder() to construct. private PlayersTurnMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private PlayersTurnMessage(boolean noInit) {} + private PlayersTurnMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final PlayersTurnMessage defaultInstance; public static PlayersTurnMessage getDefaultInstance() { @@ -29267,12 +30040,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private PlayersTurnMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -29282,7 +30061,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -29301,7 +30080,10 @@ public final class ProtoBuf { case 24: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.NetGameState value = de.pokerth.protocol.ProtoBuf.NetGameState.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFieldsCodedOutput.writeRawVarint32(tag); + unknownFieldsCodedOutput.writeRawVarint32(rawValue); + } else { bitField0_ |= 0x00000004; gameState_ = value; } @@ -29315,6 +30097,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -29334,7 +30123,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -29350,7 +30138,6 @@ public final class ProtoBuf { return gameId_; } - // required uint32 playerId = 2; public static final int PLAYERID_FIELD_NUMBER = 2; private int playerId_; /** @@ -29366,7 +30153,6 @@ public final class ProtoBuf { return playerId_; } - // required .NetGameState gameState = 3; public static final int GAMESTATE_FIELD_NUMBER = 3; private de.pokerth.protocol.ProtoBuf.NetGameState gameState_; /** @@ -29390,7 +30176,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -29420,6 +30207,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeEnum(3, gameState_.getNumber()); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -29440,6 +30228,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeEnumSize(3, gameState_.getNumber()); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -29517,7 +30306,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.PlayersTurnMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.PlayersTurnMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:PlayersTurnMessage) + de.pokerth.protocol.ProtoBuf.PlayersTurnMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.PlayersTurnMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -29587,6 +30378,8 @@ public final class ProtoBuf { if (other.hasGameState()) { setGameState(other.getGameState()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -29625,7 +30418,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -29658,7 +30450,6 @@ public final class ProtoBuf { return this; } - // required uint32 playerId = 2; private int playerId_ ; /** * required uint32 playerId = 2; @@ -29691,7 +30482,6 @@ public final class ProtoBuf { return this; } - // required .NetGameState gameState = 3; private de.pokerth.protocol.ProtoBuf.NetGameState gameState_ = de.pokerth.protocol.ProtoBuf.NetGameState.netStatePreflop; /** * required .NetGameState gameState = 3; @@ -29738,10 +30528,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -29751,7 +30541,6 @@ public final class ProtoBuf { */ int getGameId(); - // required uint32 handNum = 2; /** * required uint32 handNum = 2; */ @@ -29761,7 +30550,6 @@ public final class ProtoBuf { */ int getHandNum(); - // required .NetGameState gameState = 3; /** * required .NetGameState gameState = 3; */ @@ -29771,7 +30559,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.NetGameState getGameState(); - // required .NetPlayerAction myAction = 4; /** * required .NetPlayerAction myAction = 4; */ @@ -29781,7 +30568,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.NetPlayerAction getMyAction(); - // required uint32 myRelativeBet = 5; /** * required uint32 myRelativeBet = 5; */ @@ -29795,14 +30581,15 @@ public final class ProtoBuf { * Protobuf type {@code MyActionRequestMessage} */ public static final class MyActionRequestMessage extends - com.google.protobuf.GeneratedMessageLite - implements MyActionRequestMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:MyActionRequestMessage) + MyActionRequestMessageOrBuilder { // Use MyActionRequestMessage.newBuilder() to construct. private MyActionRequestMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private MyActionRequestMessage(boolean noInit) {} + private MyActionRequestMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final MyActionRequestMessage defaultInstance; public static MyActionRequestMessage getDefaultInstance() { @@ -29813,12 +30600,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private MyActionRequestMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -29828,7 +30621,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -29847,7 +30640,10 @@ public final class ProtoBuf { case 24: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.NetGameState value = de.pokerth.protocol.ProtoBuf.NetGameState.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFieldsCodedOutput.writeRawVarint32(tag); + unknownFieldsCodedOutput.writeRawVarint32(rawValue); + } else { bitField0_ |= 0x00000004; gameState_ = value; } @@ -29856,7 +30652,10 @@ public final class ProtoBuf { case 32: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.NetPlayerAction value = de.pokerth.protocol.ProtoBuf.NetPlayerAction.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFieldsCodedOutput.writeRawVarint32(tag); + unknownFieldsCodedOutput.writeRawVarint32(rawValue); + } else { bitField0_ |= 0x00000008; myAction_ = value; } @@ -29875,6 +30674,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -29894,7 +30700,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -29910,7 +30715,6 @@ public final class ProtoBuf { return gameId_; } - // required uint32 handNum = 2; public static final int HANDNUM_FIELD_NUMBER = 2; private int handNum_; /** @@ -29926,7 +30730,6 @@ public final class ProtoBuf { return handNum_; } - // required .NetGameState gameState = 3; public static final int GAMESTATE_FIELD_NUMBER = 3; private de.pokerth.protocol.ProtoBuf.NetGameState gameState_; /** @@ -29942,7 +30745,6 @@ public final class ProtoBuf { return gameState_; } - // required .NetPlayerAction myAction = 4; public static final int MYACTION_FIELD_NUMBER = 4; private de.pokerth.protocol.ProtoBuf.NetPlayerAction myAction_; /** @@ -29958,7 +30760,6 @@ public final class ProtoBuf { return myAction_; } - // required uint32 myRelativeBet = 5; public static final int MYRELATIVEBET_FIELD_NUMBER = 5; private int myRelativeBet_; /** @@ -29984,7 +30785,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -30028,6 +30830,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeUInt32(5, myRelativeBet_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -30056,6 +30859,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(5, myRelativeBet_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -30133,7 +30937,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.MyActionRequestMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.MyActionRequestMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:MyActionRequestMessage) + de.pokerth.protocol.ProtoBuf.MyActionRequestMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.MyActionRequestMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -30221,6 +31027,8 @@ public final class ProtoBuf { if (other.hasMyRelativeBet()) { setMyRelativeBet(other.getMyRelativeBet()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -30267,7 +31075,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -30300,7 +31107,6 @@ public final class ProtoBuf { return this; } - // required uint32 handNum = 2; private int handNum_ ; /** * required uint32 handNum = 2; @@ -30333,7 +31139,6 @@ public final class ProtoBuf { return this; } - // required .NetGameState gameState = 3; private de.pokerth.protocol.ProtoBuf.NetGameState gameState_ = de.pokerth.protocol.ProtoBuf.NetGameState.netStatePreflop; /** * required .NetGameState gameState = 3; @@ -30369,7 +31174,6 @@ public final class ProtoBuf { return this; } - // required .NetPlayerAction myAction = 4; private de.pokerth.protocol.ProtoBuf.NetPlayerAction myAction_ = de.pokerth.protocol.ProtoBuf.NetPlayerAction.netActionNone; /** * required .NetPlayerAction myAction = 4; @@ -30405,7 +31209,6 @@ public final class ProtoBuf { return this; } - // required uint32 myRelativeBet = 5; private int myRelativeBet_ ; /** * required uint32 myRelativeBet = 5; @@ -30449,10 +31252,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -30462,7 +31265,6 @@ public final class ProtoBuf { */ int getGameId(); - // required .NetGameState gameState = 2; /** * required .NetGameState gameState = 2; */ @@ -30472,7 +31274,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.NetGameState getGameState(); - // required .NetPlayerAction yourAction = 3; /** * required .NetPlayerAction yourAction = 3; */ @@ -30482,7 +31283,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.NetPlayerAction getYourAction(); - // required uint32 yourRelativeBet = 4; /** * required uint32 yourRelativeBet = 4; */ @@ -30492,7 +31292,6 @@ public final class ProtoBuf { */ int getYourRelativeBet(); - // required .YourActionRejectedMessage.RejectionReason rejectionReason = 5; /** * required .YourActionRejectedMessage.RejectionReason rejectionReason = 5; */ @@ -30506,14 +31305,15 @@ public final class ProtoBuf { * Protobuf type {@code YourActionRejectedMessage} */ public static final class YourActionRejectedMessage extends - com.google.protobuf.GeneratedMessageLite - implements YourActionRejectedMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:YourActionRejectedMessage) + YourActionRejectedMessageOrBuilder { // Use YourActionRejectedMessage.newBuilder() to construct. private YourActionRejectedMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private YourActionRejectedMessage(boolean noInit) {} + private YourActionRejectedMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final YourActionRejectedMessage defaultInstance; public static YourActionRejectedMessage getDefaultInstance() { @@ -30524,12 +31324,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private YourActionRejectedMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -30539,7 +31345,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -30553,7 +31359,10 @@ public final class ProtoBuf { case 16: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.NetGameState value = de.pokerth.protocol.ProtoBuf.NetGameState.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFieldsCodedOutput.writeRawVarint32(tag); + unknownFieldsCodedOutput.writeRawVarint32(rawValue); + } else { bitField0_ |= 0x00000002; gameState_ = value; } @@ -30562,7 +31371,10 @@ public final class ProtoBuf { case 24: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.NetPlayerAction value = de.pokerth.protocol.ProtoBuf.NetPlayerAction.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFieldsCodedOutput.writeRawVarint32(tag); + unknownFieldsCodedOutput.writeRawVarint32(rawValue); + } else { bitField0_ |= 0x00000004; yourAction_ = value; } @@ -30576,7 +31388,10 @@ public final class ProtoBuf { case 40: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.RejectionReason value = de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.RejectionReason.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFieldsCodedOutput.writeRawVarint32(tag); + unknownFieldsCodedOutput.writeRawVarint32(rawValue); + } else { bitField0_ |= 0x00000010; rejectionReason_ = value; } @@ -30590,6 +31405,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -30674,7 +31496,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -30690,7 +31511,6 @@ public final class ProtoBuf { return gameId_; } - // required .NetGameState gameState = 2; public static final int GAMESTATE_FIELD_NUMBER = 2; private de.pokerth.protocol.ProtoBuf.NetGameState gameState_; /** @@ -30706,7 +31526,6 @@ public final class ProtoBuf { return gameState_; } - // required .NetPlayerAction yourAction = 3; public static final int YOURACTION_FIELD_NUMBER = 3; private de.pokerth.protocol.ProtoBuf.NetPlayerAction yourAction_; /** @@ -30722,7 +31541,6 @@ public final class ProtoBuf { return yourAction_; } - // required uint32 yourRelativeBet = 4; public static final int YOURRELATIVEBET_FIELD_NUMBER = 4; private int yourRelativeBet_; /** @@ -30738,7 +31556,6 @@ public final class ProtoBuf { return yourRelativeBet_; } - // required .YourActionRejectedMessage.RejectionReason rejectionReason = 5; public static final int REJECTIONREASON_FIELD_NUMBER = 5; private de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.RejectionReason rejectionReason_; /** @@ -30764,7 +31581,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -30808,6 +31626,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeEnum(5, rejectionReason_.getNumber()); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -30836,6 +31655,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeEnumSize(5, rejectionReason_.getNumber()); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -30913,7 +31733,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.YourActionRejectedMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:YourActionRejectedMessage) + de.pokerth.protocol.ProtoBuf.YourActionRejectedMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -31001,6 +31823,8 @@ public final class ProtoBuf { if (other.hasRejectionReason()) { setRejectionReason(other.getRejectionReason()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -31047,7 +31871,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -31080,7 +31903,6 @@ public final class ProtoBuf { return this; } - // required .NetGameState gameState = 2; private de.pokerth.protocol.ProtoBuf.NetGameState gameState_ = de.pokerth.protocol.ProtoBuf.NetGameState.netStatePreflop; /** * required .NetGameState gameState = 2; @@ -31116,7 +31938,6 @@ public final class ProtoBuf { return this; } - // required .NetPlayerAction yourAction = 3; private de.pokerth.protocol.ProtoBuf.NetPlayerAction yourAction_ = de.pokerth.protocol.ProtoBuf.NetPlayerAction.netActionNone; /** * required .NetPlayerAction yourAction = 3; @@ -31152,7 +31973,6 @@ public final class ProtoBuf { return this; } - // required uint32 yourRelativeBet = 4; private int yourRelativeBet_ ; /** * required uint32 yourRelativeBet = 4; @@ -31185,7 +32005,6 @@ public final class ProtoBuf { return this; } - // required .YourActionRejectedMessage.RejectionReason rejectionReason = 5; private de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.RejectionReason rejectionReason_ = de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.RejectionReason.rejectedInvalidGameState; /** * required .YourActionRejectedMessage.RejectionReason rejectionReason = 5; @@ -31232,10 +32051,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -31245,7 +32064,6 @@ public final class ProtoBuf { */ int getGameId(); - // required uint32 playerId = 2; /** * required uint32 playerId = 2; */ @@ -31255,7 +32073,6 @@ public final class ProtoBuf { */ int getPlayerId(); - // required .NetGameState gameState = 3; /** * required .NetGameState gameState = 3; */ @@ -31265,7 +32082,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.NetGameState getGameState(); - // required .NetPlayerAction playerAction = 4; /** * required .NetPlayerAction playerAction = 4; */ @@ -31275,7 +32091,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.NetPlayerAction getPlayerAction(); - // required uint32 totalPlayerBet = 5; /** * required uint32 totalPlayerBet = 5; */ @@ -31285,7 +32100,6 @@ public final class ProtoBuf { */ int getTotalPlayerBet(); - // required uint32 playerMoney = 6; /** * required uint32 playerMoney = 6; */ @@ -31295,7 +32109,6 @@ public final class ProtoBuf { */ int getPlayerMoney(); - // required uint32 highestSet = 7; /** * required uint32 highestSet = 7; */ @@ -31305,7 +32118,6 @@ public final class ProtoBuf { */ int getHighestSet(); - // required uint32 minimumRaise = 8; /** * required uint32 minimumRaise = 8; */ @@ -31319,14 +32131,15 @@ public final class ProtoBuf { * Protobuf type {@code PlayersActionDoneMessage} */ public static final class PlayersActionDoneMessage extends - com.google.protobuf.GeneratedMessageLite - implements PlayersActionDoneMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:PlayersActionDoneMessage) + PlayersActionDoneMessageOrBuilder { // Use PlayersActionDoneMessage.newBuilder() to construct. private PlayersActionDoneMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private PlayersActionDoneMessage(boolean noInit) {} + private PlayersActionDoneMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final PlayersActionDoneMessage defaultInstance; public static PlayersActionDoneMessage getDefaultInstance() { @@ -31337,12 +32150,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private PlayersActionDoneMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -31352,7 +32171,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -31371,7 +32190,10 @@ public final class ProtoBuf { case 24: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.NetGameState value = de.pokerth.protocol.ProtoBuf.NetGameState.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFieldsCodedOutput.writeRawVarint32(tag); + unknownFieldsCodedOutput.writeRawVarint32(rawValue); + } else { bitField0_ |= 0x00000004; gameState_ = value; } @@ -31380,7 +32202,10 @@ public final class ProtoBuf { case 32: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.NetPlayerAction value = de.pokerth.protocol.ProtoBuf.NetPlayerAction.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFieldsCodedOutput.writeRawVarint32(tag); + unknownFieldsCodedOutput.writeRawVarint32(rawValue); + } else { bitField0_ |= 0x00000008; playerAction_ = value; } @@ -31414,6 +32239,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -31433,7 +32265,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -31449,7 +32280,6 @@ public final class ProtoBuf { return gameId_; } - // required uint32 playerId = 2; public static final int PLAYERID_FIELD_NUMBER = 2; private int playerId_; /** @@ -31465,7 +32295,6 @@ public final class ProtoBuf { return playerId_; } - // required .NetGameState gameState = 3; public static final int GAMESTATE_FIELD_NUMBER = 3; private de.pokerth.protocol.ProtoBuf.NetGameState gameState_; /** @@ -31481,7 +32310,6 @@ public final class ProtoBuf { return gameState_; } - // required .NetPlayerAction playerAction = 4; public static final int PLAYERACTION_FIELD_NUMBER = 4; private de.pokerth.protocol.ProtoBuf.NetPlayerAction playerAction_; /** @@ -31497,7 +32325,6 @@ public final class ProtoBuf { return playerAction_; } - // required uint32 totalPlayerBet = 5; public static final int TOTALPLAYERBET_FIELD_NUMBER = 5; private int totalPlayerBet_; /** @@ -31513,7 +32340,6 @@ public final class ProtoBuf { return totalPlayerBet_; } - // required uint32 playerMoney = 6; public static final int PLAYERMONEY_FIELD_NUMBER = 6; private int playerMoney_; /** @@ -31529,7 +32355,6 @@ public final class ProtoBuf { return playerMoney_; } - // required uint32 highestSet = 7; public static final int HIGHESTSET_FIELD_NUMBER = 7; private int highestSet_; /** @@ -31545,7 +32370,6 @@ public final class ProtoBuf { return highestSet_; } - // required uint32 minimumRaise = 8; public static final int MINIMUMRAISE_FIELD_NUMBER = 8; private int minimumRaise_; /** @@ -31574,7 +32398,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -31639,6 +32464,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000080) == 0x00000080)) { output.writeUInt32(8, minimumRaise_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -31679,6 +32505,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(8, minimumRaise_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -31756,7 +32583,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:PlayersActionDoneMessage) + de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -31871,6 +32700,8 @@ public final class ProtoBuf { if (other.hasMinimumRaise()) { setMinimumRaise(other.getMinimumRaise()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -31929,7 +32760,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -31962,7 +32792,6 @@ public final class ProtoBuf { return this; } - // required uint32 playerId = 2; private int playerId_ ; /** * required uint32 playerId = 2; @@ -31995,7 +32824,6 @@ public final class ProtoBuf { return this; } - // required .NetGameState gameState = 3; private de.pokerth.protocol.ProtoBuf.NetGameState gameState_ = de.pokerth.protocol.ProtoBuf.NetGameState.netStatePreflop; /** * required .NetGameState gameState = 3; @@ -32031,7 +32859,6 @@ public final class ProtoBuf { return this; } - // required .NetPlayerAction playerAction = 4; private de.pokerth.protocol.ProtoBuf.NetPlayerAction playerAction_ = de.pokerth.protocol.ProtoBuf.NetPlayerAction.netActionNone; /** * required .NetPlayerAction playerAction = 4; @@ -32067,7 +32894,6 @@ public final class ProtoBuf { return this; } - // required uint32 totalPlayerBet = 5; private int totalPlayerBet_ ; /** * required uint32 totalPlayerBet = 5; @@ -32100,7 +32926,6 @@ public final class ProtoBuf { return this; } - // required uint32 playerMoney = 6; private int playerMoney_ ; /** * required uint32 playerMoney = 6; @@ -32133,7 +32958,6 @@ public final class ProtoBuf { return this; } - // required uint32 highestSet = 7; private int highestSet_ ; /** * required uint32 highestSet = 7; @@ -32166,7 +32990,6 @@ public final class ProtoBuf { return this; } - // required uint32 minimumRaise = 8; private int minimumRaise_ ; /** * required uint32 minimumRaise = 8; @@ -32210,10 +33033,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -32223,7 +33046,6 @@ public final class ProtoBuf { */ int getGameId(); - // required uint32 flopCard1 = 2; /** * required uint32 flopCard1 = 2; */ @@ -32233,7 +33055,6 @@ public final class ProtoBuf { */ int getFlopCard1(); - // required uint32 flopCard2 = 3; /** * required uint32 flopCard2 = 3; */ @@ -32243,7 +33064,6 @@ public final class ProtoBuf { */ int getFlopCard2(); - // required uint32 flopCard3 = 4; /** * required uint32 flopCard3 = 4; */ @@ -32257,14 +33077,15 @@ public final class ProtoBuf { * Protobuf type {@code DealFlopCardsMessage} */ public static final class DealFlopCardsMessage extends - com.google.protobuf.GeneratedMessageLite - implements DealFlopCardsMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:DealFlopCardsMessage) + DealFlopCardsMessageOrBuilder { // Use DealFlopCardsMessage.newBuilder() to construct. private DealFlopCardsMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private DealFlopCardsMessage(boolean noInit) {} + private DealFlopCardsMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final DealFlopCardsMessage defaultInstance; public static DealFlopCardsMessage getDefaultInstance() { @@ -32275,12 +33096,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private DealFlopCardsMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -32290,7 +33117,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -32324,6 +33151,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -32343,7 +33177,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -32359,7 +33192,6 @@ public final class ProtoBuf { return gameId_; } - // required uint32 flopCard1 = 2; public static final int FLOPCARD1_FIELD_NUMBER = 2; private int flopCard1_; /** @@ -32375,7 +33207,6 @@ public final class ProtoBuf { return flopCard1_; } - // required uint32 flopCard2 = 3; public static final int FLOPCARD2_FIELD_NUMBER = 3; private int flopCard2_; /** @@ -32391,7 +33222,6 @@ public final class ProtoBuf { return flopCard2_; } - // required uint32 flopCard3 = 4; public static final int FLOPCARD3_FIELD_NUMBER = 4; private int flopCard3_; /** @@ -32416,7 +33246,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -32453,6 +33284,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeUInt32(4, flopCard3_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -32477,6 +33309,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(4, flopCard3_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -32554,7 +33387,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.DealFlopCardsMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:DealFlopCardsMessage) + de.pokerth.protocol.ProtoBuf.DealFlopCardsMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -32633,6 +33468,8 @@ public final class ProtoBuf { if (other.hasFlopCard3()) { setFlopCard3(other.getFlopCard3()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -32675,7 +33512,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -32708,7 +33544,6 @@ public final class ProtoBuf { return this; } - // required uint32 flopCard1 = 2; private int flopCard1_ ; /** * required uint32 flopCard1 = 2; @@ -32741,7 +33576,6 @@ public final class ProtoBuf { return this; } - // required uint32 flopCard2 = 3; private int flopCard2_ ; /** * required uint32 flopCard2 = 3; @@ -32774,7 +33608,6 @@ public final class ProtoBuf { return this; } - // required uint32 flopCard3 = 4; private int flopCard3_ ; /** * required uint32 flopCard3 = 4; @@ -32818,10 +33651,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -32831,7 +33664,6 @@ public final class ProtoBuf { */ int getGameId(); - // required uint32 turnCard = 2; /** * required uint32 turnCard = 2; */ @@ -32845,14 +33677,15 @@ public final class ProtoBuf { * Protobuf type {@code DealTurnCardMessage} */ public static final class DealTurnCardMessage extends - com.google.protobuf.GeneratedMessageLite - implements DealTurnCardMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:DealTurnCardMessage) + DealTurnCardMessageOrBuilder { // Use DealTurnCardMessage.newBuilder() to construct. private DealTurnCardMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private DealTurnCardMessage(boolean noInit) {} + private DealTurnCardMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final DealTurnCardMessage defaultInstance; public static DealTurnCardMessage getDefaultInstance() { @@ -32863,12 +33696,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private DealTurnCardMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -32878,7 +33717,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -32902,6 +33741,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -32921,7 +33767,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -32937,7 +33782,6 @@ public final class ProtoBuf { return gameId_; } - // required uint32 turnCard = 2; public static final int TURNCARD_FIELD_NUMBER = 2; private int turnCard_; /** @@ -32960,7 +33804,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -32983,6 +33828,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt32(2, turnCard_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -32999,6 +33845,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, turnCard_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -33076,7 +33923,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.DealTurnCardMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.DealTurnCardMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:DealTurnCardMessage) + de.pokerth.protocol.ProtoBuf.DealTurnCardMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.DealTurnCardMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -33137,6 +33986,8 @@ public final class ProtoBuf { if (other.hasTurnCard()) { setTurnCard(other.getTurnCard()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -33171,7 +34022,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -33204,7 +34054,6 @@ public final class ProtoBuf { return this; } - // required uint32 turnCard = 2; private int turnCard_ ; /** * required uint32 turnCard = 2; @@ -33248,10 +34097,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -33261,7 +34110,6 @@ public final class ProtoBuf { */ int getGameId(); - // required uint32 riverCard = 2; /** * required uint32 riverCard = 2; */ @@ -33275,14 +34123,15 @@ public final class ProtoBuf { * Protobuf type {@code DealRiverCardMessage} */ public static final class DealRiverCardMessage extends - com.google.protobuf.GeneratedMessageLite - implements DealRiverCardMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:DealRiverCardMessage) + DealRiverCardMessageOrBuilder { // Use DealRiverCardMessage.newBuilder() to construct. private DealRiverCardMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private DealRiverCardMessage(boolean noInit) {} + private DealRiverCardMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final DealRiverCardMessage defaultInstance; public static DealRiverCardMessage getDefaultInstance() { @@ -33293,12 +34142,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private DealRiverCardMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -33308,7 +34163,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -33332,6 +34187,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -33351,7 +34213,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -33367,7 +34228,6 @@ public final class ProtoBuf { return gameId_; } - // required uint32 riverCard = 2; public static final int RIVERCARD_FIELD_NUMBER = 2; private int riverCard_; /** @@ -33390,7 +34250,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -33413,6 +34274,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt32(2, riverCard_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -33429,6 +34291,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, riverCard_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -33506,7 +34369,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.DealRiverCardMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.DealRiverCardMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:DealRiverCardMessage) + de.pokerth.protocol.ProtoBuf.DealRiverCardMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.DealRiverCardMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -33567,6 +34432,8 @@ public final class ProtoBuf { if (other.hasRiverCard()) { setRiverCard(other.getRiverCard()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -33601,7 +34468,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -33634,7 +34500,6 @@ public final class ProtoBuf { return this; } - // required uint32 riverCard = 2; private int riverCard_ ; /** * required uint32 riverCard = 2; @@ -33678,10 +34543,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -33691,7 +34556,6 @@ public final class ProtoBuf { */ int getGameId(); - // repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; /** * repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; */ @@ -33710,14 +34574,15 @@ public final class ProtoBuf { * Protobuf type {@code AllInShowCardsMessage} */ public static final class AllInShowCardsMessage extends - com.google.protobuf.GeneratedMessageLite - implements AllInShowCardsMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:AllInShowCardsMessage) + AllInShowCardsMessageOrBuilder { // Use AllInShowCardsMessage.newBuilder() to construct. private AllInShowCardsMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private AllInShowCardsMessage(boolean noInit) {} + private AllInShowCardsMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final AllInShowCardsMessage defaultInstance; public static AllInShowCardsMessage getDefaultInstance() { @@ -33728,12 +34593,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private AllInShowCardsMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -33743,7 +34614,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -33773,6 +34644,13 @@ public final class ProtoBuf { if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { playersAllIn_ = java.util.Collections.unmodifiableList(playersAllIn_); } + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -33791,10 +34669,10 @@ public final class ProtoBuf { return PARSER; } - public interface PlayerAllInOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface PlayerAllInOrBuilder extends + // @@protoc_insertion_point(interface_extends:AllInShowCardsMessage.PlayerAllIn) + com.google.protobuf.MessageLiteOrBuilder { - // required uint32 playerId = 1; /** * required uint32 playerId = 1; */ @@ -33804,7 +34682,6 @@ public final class ProtoBuf { */ int getPlayerId(); - // required uint32 allInCard1 = 2; /** * required uint32 allInCard1 = 2; */ @@ -33814,7 +34691,6 @@ public final class ProtoBuf { */ int getAllInCard1(); - // required uint32 allInCard2 = 3; /** * required uint32 allInCard2 = 3; */ @@ -33828,14 +34704,15 @@ public final class ProtoBuf { * Protobuf type {@code AllInShowCardsMessage.PlayerAllIn} */ public static final class PlayerAllIn extends - com.google.protobuf.GeneratedMessageLite - implements PlayerAllInOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:AllInShowCardsMessage.PlayerAllIn) + PlayerAllInOrBuilder { // Use PlayerAllIn.newBuilder() to construct. private PlayerAllIn(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private PlayerAllIn(boolean noInit) {} + private PlayerAllIn(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final PlayerAllIn defaultInstance; public static PlayerAllIn getDefaultInstance() { @@ -33846,12 +34723,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private PlayerAllIn( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -33861,7 +34744,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -33890,6 +34773,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -33909,7 +34799,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 playerId = 1; public static final int PLAYERID_FIELD_NUMBER = 1; private int playerId_; /** @@ -33925,7 +34814,6 @@ public final class ProtoBuf { return playerId_; } - // required uint32 allInCard1 = 2; public static final int ALLINCARD1_FIELD_NUMBER = 2; private int allInCard1_; /** @@ -33941,7 +34829,6 @@ public final class ProtoBuf { return allInCard1_; } - // required uint32 allInCard2 = 3; public static final int ALLINCARD2_FIELD_NUMBER = 3; private int allInCard2_; /** @@ -33965,7 +34852,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -33995,6 +34883,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeUInt32(3, allInCard2_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -34015,6 +34904,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(3, allInCard2_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -34092,7 +34982,9 @@ public final class ProtoBuf { 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 { + implements + // @@protoc_insertion_point(builder_implements:AllInShowCardsMessage.PlayerAllIn) + de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllInOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -34162,6 +35054,8 @@ public final class ProtoBuf { if (other.hasAllInCard2()) { setAllInCard2(other.getAllInCard2()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -34200,7 +35094,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 playerId = 1; private int playerId_ ; /** * required uint32 playerId = 1; @@ -34233,7 +35126,6 @@ public final class ProtoBuf { return this; } - // required uint32 allInCard1 = 2; private int allInCard1_ ; /** * required uint32 allInCard1 = 2; @@ -34266,7 +35158,6 @@ public final class ProtoBuf { return this; } - // required uint32 allInCard2 = 3; private int allInCard2_ ; /** * required uint32 allInCard2 = 3; @@ -34311,7 +35202,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -34327,7 +35217,6 @@ public final class ProtoBuf { return gameId_; } - // repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; public static final int PLAYERSALLIN_FIELD_NUMBER = 2; private java.util.List playersAllIn_; /** @@ -34370,7 +35259,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -34395,6 +35285,7 @@ public final class ProtoBuf { for (int i = 0; i < playersAllIn_.size(); i++) { output.writeMessage(2, playersAllIn_.get(i)); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -34411,6 +35302,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, playersAllIn_.get(i)); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -34488,7 +35380,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.AllInShowCardsMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:AllInShowCardsMessage) + de.pokerth.protocol.ProtoBuf.AllInShowCardsMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -34557,6 +35451,8 @@ public final class ProtoBuf { } } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -34593,7 +35489,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -34626,7 +35521,6 @@ public final class ProtoBuf { return this; } - // repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; private java.util.List playersAllIn_ = java.util.Collections.emptyList(); private void ensurePlayersAllInIsMutable() { @@ -34728,7 +35622,8 @@ public final class ProtoBuf { public Builder addAllPlayersAllIn( java.lang.Iterable values) { ensurePlayersAllInIsMutable(); - super.addAll(values, playersAllIn_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, playersAllIn_); return this; } @@ -34762,10 +35657,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -34775,7 +35670,6 @@ public final class ProtoBuf { */ int getGameId(); - // repeated .PlayerResult playerResults = 2; /** * repeated .PlayerResult playerResults = 2; */ @@ -34794,14 +35688,15 @@ public final class ProtoBuf { * Protobuf type {@code EndOfHandShowCardsMessage} */ public static final class EndOfHandShowCardsMessage extends - com.google.protobuf.GeneratedMessageLite - implements EndOfHandShowCardsMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:EndOfHandShowCardsMessage) + EndOfHandShowCardsMessageOrBuilder { // Use EndOfHandShowCardsMessage.newBuilder() to construct. private EndOfHandShowCardsMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private EndOfHandShowCardsMessage(boolean noInit) {} + private EndOfHandShowCardsMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final EndOfHandShowCardsMessage defaultInstance; public static EndOfHandShowCardsMessage getDefaultInstance() { @@ -34812,12 +35707,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private EndOfHandShowCardsMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -34827,7 +35728,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -34857,6 +35758,13 @@ public final class ProtoBuf { if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { playerResults_ = java.util.Collections.unmodifiableList(playerResults_); } + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -34876,7 +35784,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -34892,7 +35799,6 @@ public final class ProtoBuf { return gameId_; } - // repeated .PlayerResult playerResults = 2; public static final int PLAYERRESULTS_FIELD_NUMBER = 2; private java.util.List playerResults_; /** @@ -34935,7 +35841,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -34960,6 +35867,7 @@ public final class ProtoBuf { for (int i = 0; i < playerResults_.size(); i++) { output.writeMessage(2, playerResults_.get(i)); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -34976,6 +35884,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, playerResults_.get(i)); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -35053,7 +35962,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:EndOfHandShowCardsMessage) + de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -35122,6 +36033,8 @@ public final class ProtoBuf { } } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -35158,7 +36071,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -35191,7 +36103,6 @@ public final class ProtoBuf { return this; } - // repeated .PlayerResult playerResults = 2; private java.util.List playerResults_ = java.util.Collections.emptyList(); private void ensurePlayerResultsIsMutable() { @@ -35293,7 +36204,8 @@ public final class ProtoBuf { public Builder addAllPlayerResults( java.lang.Iterable values) { ensurePlayerResultsIsMutable(); - super.addAll(values, playerResults_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, playerResults_); return this; } @@ -35327,10 +36239,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -35340,7 +36252,6 @@ public final class ProtoBuf { */ int getGameId(); - // required uint32 playerId = 2; /** * required uint32 playerId = 2; */ @@ -35350,7 +36261,6 @@ public final class ProtoBuf { */ int getPlayerId(); - // required uint32 moneyWon = 3; /** * required uint32 moneyWon = 3; */ @@ -35360,7 +36270,6 @@ public final class ProtoBuf { */ int getMoneyWon(); - // required uint32 playerMoney = 4; /** * required uint32 playerMoney = 4; */ @@ -35374,14 +36283,15 @@ public final class ProtoBuf { * Protobuf type {@code EndOfHandHideCardsMessage} */ public static final class EndOfHandHideCardsMessage extends - com.google.protobuf.GeneratedMessageLite - implements EndOfHandHideCardsMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:EndOfHandHideCardsMessage) + EndOfHandHideCardsMessageOrBuilder { // Use EndOfHandHideCardsMessage.newBuilder() to construct. private EndOfHandHideCardsMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private EndOfHandHideCardsMessage(boolean noInit) {} + private EndOfHandHideCardsMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final EndOfHandHideCardsMessage defaultInstance; public static EndOfHandHideCardsMessage getDefaultInstance() { @@ -35392,12 +36302,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private EndOfHandHideCardsMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -35407,7 +36323,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -35441,6 +36357,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -35460,7 +36383,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -35476,7 +36398,6 @@ public final class ProtoBuf { return gameId_; } - // required uint32 playerId = 2; public static final int PLAYERID_FIELD_NUMBER = 2; private int playerId_; /** @@ -35492,7 +36413,6 @@ public final class ProtoBuf { return playerId_; } - // required uint32 moneyWon = 3; public static final int MONEYWON_FIELD_NUMBER = 3; private int moneyWon_; /** @@ -35508,7 +36428,6 @@ public final class ProtoBuf { return moneyWon_; } - // required uint32 playerMoney = 4; public static final int PLAYERMONEY_FIELD_NUMBER = 4; private int playerMoney_; /** @@ -35533,7 +36452,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -35570,6 +36490,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeUInt32(4, playerMoney_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -35594,6 +36515,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(4, playerMoney_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -35671,7 +36593,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:EndOfHandHideCardsMessage) + de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -35750,6 +36674,8 @@ public final class ProtoBuf { if (other.hasPlayerMoney()) { setPlayerMoney(other.getPlayerMoney()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -35792,7 +36718,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -35825,7 +36750,6 @@ public final class ProtoBuf { return this; } - // required uint32 playerId = 2; private int playerId_ ; /** * required uint32 playerId = 2; @@ -35858,7 +36782,6 @@ public final class ProtoBuf { return this; } - // required uint32 moneyWon = 3; private int moneyWon_ ; /** * required uint32 moneyWon = 3; @@ -35891,7 +36814,6 @@ public final class ProtoBuf { return this; } - // required uint32 playerMoney = 4; private int playerMoney_ ; /** * required uint32 playerMoney = 4; @@ -35935,21 +36857,23 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { } /** * Protobuf type {@code ShowMyCardsRequestMessage} */ public static final class ShowMyCardsRequestMessage extends - com.google.protobuf.GeneratedMessageLite - implements ShowMyCardsRequestMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:ShowMyCardsRequestMessage) + ShowMyCardsRequestMessageOrBuilder { // Use ShowMyCardsRequestMessage.newBuilder() to construct. private ShowMyCardsRequestMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private ShowMyCardsRequestMessage(boolean noInit) {} + private ShowMyCardsRequestMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final ShowMyCardsRequestMessage defaultInstance; public static ShowMyCardsRequestMessage getDefaultInstance() { @@ -35960,11 +36884,17 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private ShowMyCardsRequestMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -35974,7 +36904,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -35988,6 +36918,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -36011,7 +36948,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -36020,6 +36958,7 @@ public final class ProtoBuf { public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -36028,6 +36967,7 @@ public final class ProtoBuf { if (size != -1) return size; size = 0; + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -36105,7 +37045,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:ShowMyCardsRequestMessage) + de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -36145,6 +37087,8 @@ public final class ProtoBuf { public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage other) { if (other == de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage.getDefaultInstance()) return this; + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -36181,10 +37125,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required .PlayerResult playerResult = 1; /** * required .PlayerResult playerResult = 1; */ @@ -36198,14 +37142,15 @@ public final class ProtoBuf { * Protobuf type {@code AfterHandShowCardsMessage} */ public static final class AfterHandShowCardsMessage extends - com.google.protobuf.GeneratedMessageLite - implements AfterHandShowCardsMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:AfterHandShowCardsMessage) + AfterHandShowCardsMessageOrBuilder { // Use AfterHandShowCardsMessage.newBuilder() to construct. private AfterHandShowCardsMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private AfterHandShowCardsMessage(boolean noInit) {} + private AfterHandShowCardsMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final AfterHandShowCardsMessage defaultInstance; public static AfterHandShowCardsMessage getDefaultInstance() { @@ -36216,12 +37161,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private AfterHandShowCardsMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -36231,7 +37182,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -36258,6 +37209,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -36277,7 +37235,6 @@ public final class ProtoBuf { } private int bitField0_; - // required .PlayerResult playerResult = 1; public static final int PLAYERRESULT_FIELD_NUMBER = 1; private de.pokerth.protocol.ProtoBuf.PlayerResult playerResult_; /** @@ -36299,7 +37256,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -36319,6 +37277,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeMessage(1, playerResult_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -36331,6 +37290,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, playerResult_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -36408,7 +37368,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:AfterHandShowCardsMessage) + de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -36460,6 +37422,8 @@ public final class ProtoBuf { if (other.hasPlayerResult()) { mergePlayerResult(other.getPlayerResult()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -36494,7 +37458,6 @@ public final class ProtoBuf { } private int bitField0_; - // required .PlayerResult playerResult = 1; private de.pokerth.protocol.ProtoBuf.PlayerResult playerResult_ = de.pokerth.protocol.ProtoBuf.PlayerResult.getDefaultInstance(); /** * required .PlayerResult playerResult = 1; @@ -36566,10 +37529,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -36579,7 +37542,6 @@ public final class ProtoBuf { */ int getGameId(); - // required uint32 winnerPlayerId = 2; /** * required uint32 winnerPlayerId = 2; */ @@ -36593,14 +37555,15 @@ public final class ProtoBuf { * Protobuf type {@code EndOfGameMessage} */ public static final class EndOfGameMessage extends - com.google.protobuf.GeneratedMessageLite - implements EndOfGameMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:EndOfGameMessage) + EndOfGameMessageOrBuilder { // Use EndOfGameMessage.newBuilder() to construct. private EndOfGameMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private EndOfGameMessage(boolean noInit) {} + private EndOfGameMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final EndOfGameMessage defaultInstance; public static EndOfGameMessage getDefaultInstance() { @@ -36611,12 +37574,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private EndOfGameMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -36626,7 +37595,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -36650,6 +37619,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -36669,7 +37645,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -36685,7 +37660,6 @@ public final class ProtoBuf { return gameId_; } - // required uint32 winnerPlayerId = 2; public static final int WINNERPLAYERID_FIELD_NUMBER = 2; private int winnerPlayerId_; /** @@ -36708,7 +37682,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -36731,6 +37706,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt32(2, winnerPlayerId_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -36747,6 +37723,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, winnerPlayerId_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -36824,7 +37801,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.EndOfGameMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.EndOfGameMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:EndOfGameMessage) + de.pokerth.protocol.ProtoBuf.EndOfGameMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.EndOfGameMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -36885,6 +37864,8 @@ public final class ProtoBuf { if (other.hasWinnerPlayerId()) { setWinnerPlayerId(other.getWinnerPlayerId()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -36919,7 +37900,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -36952,7 +37932,6 @@ public final class ProtoBuf { return this; } - // required uint32 winnerPlayerId = 2; private int winnerPlayerId_ ; /** * required uint32 winnerPlayerId = 2; @@ -36996,10 +37975,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 oldPlayerId = 1; /** * required uint32 oldPlayerId = 1; */ @@ -37009,7 +37988,6 @@ public final class ProtoBuf { */ int getOldPlayerId(); - // required uint32 newPlayerId = 2; /** * required uint32 newPlayerId = 2; */ @@ -37023,14 +38001,15 @@ public final class ProtoBuf { * Protobuf type {@code PlayerIdChangedMessage} */ public static final class PlayerIdChangedMessage extends - com.google.protobuf.GeneratedMessageLite - implements PlayerIdChangedMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:PlayerIdChangedMessage) + PlayerIdChangedMessageOrBuilder { // Use PlayerIdChangedMessage.newBuilder() to construct. private PlayerIdChangedMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private PlayerIdChangedMessage(boolean noInit) {} + private PlayerIdChangedMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final PlayerIdChangedMessage defaultInstance; public static PlayerIdChangedMessage getDefaultInstance() { @@ -37041,12 +38020,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private PlayerIdChangedMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -37056,7 +38041,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -37080,6 +38065,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -37099,7 +38091,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 oldPlayerId = 1; public static final int OLDPLAYERID_FIELD_NUMBER = 1; private int oldPlayerId_; /** @@ -37115,7 +38106,6 @@ public final class ProtoBuf { return oldPlayerId_; } - // required uint32 newPlayerId = 2; public static final int NEWPLAYERID_FIELD_NUMBER = 2; private int newPlayerId_; /** @@ -37138,7 +38128,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -37161,6 +38152,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt32(2, newPlayerId_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -37177,6 +38169,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, newPlayerId_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -37254,7 +38247,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:PlayerIdChangedMessage) + de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -37315,6 +38310,8 @@ public final class ProtoBuf { if (other.hasNewPlayerId()) { setNewPlayerId(other.getNewPlayerId()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -37349,7 +38346,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 oldPlayerId = 1; private int oldPlayerId_ ; /** * required uint32 oldPlayerId = 1; @@ -37382,7 +38378,6 @@ public final class ProtoBuf { return this; } - // required uint32 newPlayerId = 2; private int newPlayerId_ ; /** * required uint32 newPlayerId = 2; @@ -37426,10 +38421,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -37439,7 +38434,6 @@ public final class ProtoBuf { */ int getGameId(); - // required uint32 playerId = 2; /** * required uint32 playerId = 2; */ @@ -37453,14 +38447,15 @@ public final class ProtoBuf { * Protobuf type {@code AskKickPlayerMessage} */ public static final class AskKickPlayerMessage extends - com.google.protobuf.GeneratedMessageLite - implements AskKickPlayerMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:AskKickPlayerMessage) + AskKickPlayerMessageOrBuilder { // Use AskKickPlayerMessage.newBuilder() to construct. private AskKickPlayerMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private AskKickPlayerMessage(boolean noInit) {} + private AskKickPlayerMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final AskKickPlayerMessage defaultInstance; public static AskKickPlayerMessage getDefaultInstance() { @@ -37471,12 +38466,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private AskKickPlayerMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -37486,7 +38487,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -37510,6 +38511,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -37529,7 +38537,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -37545,7 +38552,6 @@ public final class ProtoBuf { return gameId_; } - // required uint32 playerId = 2; public static final int PLAYERID_FIELD_NUMBER = 2; private int playerId_; /** @@ -37568,7 +38574,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -37591,6 +38598,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt32(2, playerId_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -37607,6 +38615,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, playerId_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -37684,7 +38693,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.AskKickPlayerMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:AskKickPlayerMessage) + de.pokerth.protocol.ProtoBuf.AskKickPlayerMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -37745,6 +38756,8 @@ public final class ProtoBuf { if (other.hasPlayerId()) { setPlayerId(other.getPlayerId()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -37779,7 +38792,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -37812,7 +38824,6 @@ public final class ProtoBuf { return this; } - // required uint32 playerId = 2; private int playerId_ ; /** * required uint32 playerId = 2; @@ -37856,10 +38867,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -37869,7 +38880,6 @@ public final class ProtoBuf { */ int getGameId(); - // required uint32 playerId = 2; /** * required uint32 playerId = 2; */ @@ -37879,7 +38889,6 @@ public final class ProtoBuf { */ int getPlayerId(); - // required .AskKickDeniedMessage.KickDeniedReason kickDeniedReason = 3; /** * required .AskKickDeniedMessage.KickDeniedReason kickDeniedReason = 3; */ @@ -37893,14 +38902,15 @@ public final class ProtoBuf { * Protobuf type {@code AskKickDeniedMessage} */ public static final class AskKickDeniedMessage extends - com.google.protobuf.GeneratedMessageLite - implements AskKickDeniedMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:AskKickDeniedMessage) + AskKickDeniedMessageOrBuilder { // Use AskKickDeniedMessage.newBuilder() to construct. private AskKickDeniedMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private AskKickDeniedMessage(boolean noInit) {} + private AskKickDeniedMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final AskKickDeniedMessage defaultInstance; public static AskKickDeniedMessage getDefaultInstance() { @@ -37911,12 +38921,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private AskKickDeniedMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -37926,7 +38942,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -37945,7 +38961,10 @@ public final class ProtoBuf { case 24: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.KickDeniedReason value = de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.KickDeniedReason.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFieldsCodedOutput.writeRawVarint32(tag); + unknownFieldsCodedOutput.writeRawVarint32(rawValue); + } else { bitField0_ |= 0x00000004; kickDeniedReason_ = value; } @@ -37959,6 +38978,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -38061,7 +39087,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -38077,7 +39102,6 @@ public final class ProtoBuf { return gameId_; } - // required uint32 playerId = 2; public static final int PLAYERID_FIELD_NUMBER = 2; private int playerId_; /** @@ -38093,7 +39117,6 @@ public final class ProtoBuf { return playerId_; } - // required .AskKickDeniedMessage.KickDeniedReason kickDeniedReason = 3; public static final int KICKDENIEDREASON_FIELD_NUMBER = 3; private de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.KickDeniedReason kickDeniedReason_; /** @@ -38117,7 +39140,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -38147,6 +39171,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeEnum(3, kickDeniedReason_.getNumber()); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -38167,6 +39192,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeEnumSize(3, kickDeniedReason_.getNumber()); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -38244,7 +39270,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.AskKickDeniedMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:AskKickDeniedMessage) + de.pokerth.protocol.ProtoBuf.AskKickDeniedMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -38314,6 +39342,8 @@ public final class ProtoBuf { if (other.hasKickDeniedReason()) { setKickDeniedReason(other.getKickDeniedReason()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -38352,7 +39382,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -38385,7 +39414,6 @@ public final class ProtoBuf { return this; } - // required uint32 playerId = 2; private int playerId_ ; /** * required uint32 playerId = 2; @@ -38418,7 +39446,6 @@ public final class ProtoBuf { return this; } - // required .AskKickDeniedMessage.KickDeniedReason kickDeniedReason = 3; private de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.KickDeniedReason kickDeniedReason_ = de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.KickDeniedReason.kickDeniedInvalidGameState; /** * required .AskKickDeniedMessage.KickDeniedReason kickDeniedReason = 3; @@ -38465,10 +39492,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -38478,7 +39505,6 @@ public final class ProtoBuf { */ int getGameId(); - // required uint32 petitionId = 2; /** * required uint32 petitionId = 2; */ @@ -38488,7 +39514,6 @@ public final class ProtoBuf { */ int getPetitionId(); - // required uint32 proposingPlayerId = 3; /** * required uint32 proposingPlayerId = 3; */ @@ -38498,7 +39523,6 @@ public final class ProtoBuf { */ int getProposingPlayerId(); - // required uint32 kickPlayerId = 4; /** * required uint32 kickPlayerId = 4; */ @@ -38508,7 +39532,6 @@ public final class ProtoBuf { */ int getKickPlayerId(); - // required uint32 kickTimeoutSec = 5; /** * required uint32 kickTimeoutSec = 5; */ @@ -38518,7 +39541,6 @@ public final class ProtoBuf { */ int getKickTimeoutSec(); - // required uint32 numVotesNeededToKick = 6; /** * required uint32 numVotesNeededToKick = 6; */ @@ -38532,14 +39554,15 @@ public final class ProtoBuf { * Protobuf type {@code StartKickPetitionMessage} */ public static final class StartKickPetitionMessage extends - com.google.protobuf.GeneratedMessageLite - implements StartKickPetitionMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:StartKickPetitionMessage) + StartKickPetitionMessageOrBuilder { // Use StartKickPetitionMessage.newBuilder() to construct. private StartKickPetitionMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private StartKickPetitionMessage(boolean noInit) {} + private StartKickPetitionMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final StartKickPetitionMessage defaultInstance; public static StartKickPetitionMessage getDefaultInstance() { @@ -38550,12 +39573,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private StartKickPetitionMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -38565,7 +39594,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -38609,6 +39638,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -38628,7 +39664,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -38644,7 +39679,6 @@ public final class ProtoBuf { return gameId_; } - // required uint32 petitionId = 2; public static final int PETITIONID_FIELD_NUMBER = 2; private int petitionId_; /** @@ -38660,7 +39694,6 @@ public final class ProtoBuf { return petitionId_; } - // required uint32 proposingPlayerId = 3; public static final int PROPOSINGPLAYERID_FIELD_NUMBER = 3; private int proposingPlayerId_; /** @@ -38676,7 +39709,6 @@ public final class ProtoBuf { return proposingPlayerId_; } - // required uint32 kickPlayerId = 4; public static final int KICKPLAYERID_FIELD_NUMBER = 4; private int kickPlayerId_; /** @@ -38692,7 +39724,6 @@ public final class ProtoBuf { return kickPlayerId_; } - // required uint32 kickTimeoutSec = 5; public static final int KICKTIMEOUTSEC_FIELD_NUMBER = 5; private int kickTimeoutSec_; /** @@ -38708,7 +39739,6 @@ public final class ProtoBuf { return kickTimeoutSec_; } - // required uint32 numVotesNeededToKick = 6; public static final int NUMVOTESNEEDEDTOKICK_FIELD_NUMBER = 6; private int numVotesNeededToKick_; /** @@ -38735,7 +39765,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -38786,6 +39817,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeUInt32(6, numVotesNeededToKick_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -38818,6 +39850,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(6, numVotesNeededToKick_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -38895,7 +39928,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.StartKickPetitionMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:StartKickPetitionMessage) + de.pokerth.protocol.ProtoBuf.StartKickPetitionMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -38992,6 +40027,8 @@ public final class ProtoBuf { if (other.hasNumVotesNeededToKick()) { setNumVotesNeededToKick(other.getNumVotesNeededToKick()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -39042,7 +40079,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -39075,7 +40111,6 @@ public final class ProtoBuf { return this; } - // required uint32 petitionId = 2; private int petitionId_ ; /** * required uint32 petitionId = 2; @@ -39108,7 +40143,6 @@ public final class ProtoBuf { return this; } - // required uint32 proposingPlayerId = 3; private int proposingPlayerId_ ; /** * required uint32 proposingPlayerId = 3; @@ -39141,7 +40175,6 @@ public final class ProtoBuf { return this; } - // required uint32 kickPlayerId = 4; private int kickPlayerId_ ; /** * required uint32 kickPlayerId = 4; @@ -39174,7 +40207,6 @@ public final class ProtoBuf { return this; } - // required uint32 kickTimeoutSec = 5; private int kickTimeoutSec_ ; /** * required uint32 kickTimeoutSec = 5; @@ -39207,7 +40239,6 @@ public final class ProtoBuf { return this; } - // required uint32 numVotesNeededToKick = 6; private int numVotesNeededToKick_ ; /** * required uint32 numVotesNeededToKick = 6; @@ -39251,10 +40282,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -39264,7 +40295,6 @@ public final class ProtoBuf { */ int getGameId(); - // required uint32 petitionId = 2; /** * required uint32 petitionId = 2; */ @@ -39274,7 +40304,6 @@ public final class ProtoBuf { */ int getPetitionId(); - // required bool voteKick = 3; /** * required bool voteKick = 3; */ @@ -39288,14 +40317,15 @@ public final class ProtoBuf { * Protobuf type {@code VoteKickRequestMessage} */ public static final class VoteKickRequestMessage extends - com.google.protobuf.GeneratedMessageLite - implements VoteKickRequestMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:VoteKickRequestMessage) + VoteKickRequestMessageOrBuilder { // Use VoteKickRequestMessage.newBuilder() to construct. private VoteKickRequestMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private VoteKickRequestMessage(boolean noInit) {} + private VoteKickRequestMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final VoteKickRequestMessage defaultInstance; public static VoteKickRequestMessage getDefaultInstance() { @@ -39306,12 +40336,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private VoteKickRequestMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -39321,7 +40357,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -39350,6 +40386,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -39369,7 +40412,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -39385,7 +40427,6 @@ public final class ProtoBuf { return gameId_; } - // required uint32 petitionId = 2; public static final int PETITIONID_FIELD_NUMBER = 2; private int petitionId_; /** @@ -39401,7 +40442,6 @@ public final class ProtoBuf { return petitionId_; } - // required bool voteKick = 3; public static final int VOTEKICK_FIELD_NUMBER = 3; private boolean voteKick_; /** @@ -39425,7 +40465,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -39455,6 +40496,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBool(3, voteKick_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -39475,6 +40517,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, voteKick_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -39552,7 +40595,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.VoteKickRequestMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:VoteKickRequestMessage) + de.pokerth.protocol.ProtoBuf.VoteKickRequestMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -39622,6 +40667,8 @@ public final class ProtoBuf { if (other.hasVoteKick()) { setVoteKick(other.getVoteKick()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -39660,7 +40707,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -39693,7 +40739,6 @@ public final class ProtoBuf { return this; } - // required uint32 petitionId = 2; private int petitionId_ ; /** * required uint32 petitionId = 2; @@ -39726,7 +40771,6 @@ public final class ProtoBuf { return this; } - // required bool voteKick = 3; private boolean voteKick_ ; /** * required bool voteKick = 3; @@ -39770,10 +40814,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -39783,7 +40827,6 @@ public final class ProtoBuf { */ int getGameId(); - // required uint32 petitionId = 2; /** * required uint32 petitionId = 2; */ @@ -39793,7 +40836,6 @@ public final class ProtoBuf { */ int getPetitionId(); - // required .VoteKickReplyMessage.VoteKickReplyType voteKickReplyType = 3; /** * required .VoteKickReplyMessage.VoteKickReplyType voteKickReplyType = 3; */ @@ -39807,14 +40849,15 @@ public final class ProtoBuf { * Protobuf type {@code VoteKickReplyMessage} */ public static final class VoteKickReplyMessage extends - com.google.protobuf.GeneratedMessageLite - implements VoteKickReplyMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:VoteKickReplyMessage) + VoteKickReplyMessageOrBuilder { // Use VoteKickReplyMessage.newBuilder() to construct. private VoteKickReplyMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private VoteKickReplyMessage(boolean noInit) {} + private VoteKickReplyMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final VoteKickReplyMessage defaultInstance; public static VoteKickReplyMessage getDefaultInstance() { @@ -39825,12 +40868,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private VoteKickReplyMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -39840,7 +40889,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -39859,7 +40908,10 @@ public final class ProtoBuf { case 24: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.VoteKickReplyType value = de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.VoteKickReplyType.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFieldsCodedOutput.writeRawVarint32(tag); + unknownFieldsCodedOutput.writeRawVarint32(rawValue); + } else { bitField0_ |= 0x00000004; voteKickReplyType_ = value; } @@ -39873,6 +40925,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -39957,7 +41016,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -39973,7 +41031,6 @@ public final class ProtoBuf { return gameId_; } - // required uint32 petitionId = 2; public static final int PETITIONID_FIELD_NUMBER = 2; private int petitionId_; /** @@ -39989,7 +41046,6 @@ public final class ProtoBuf { return petitionId_; } - // required .VoteKickReplyMessage.VoteKickReplyType voteKickReplyType = 3; public static final int VOTEKICKREPLYTYPE_FIELD_NUMBER = 3; private de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.VoteKickReplyType voteKickReplyType_; /** @@ -40013,7 +41069,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -40043,6 +41100,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeEnum(3, voteKickReplyType_.getNumber()); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -40063,6 +41121,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeEnumSize(3, voteKickReplyType_.getNumber()); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -40140,7 +41199,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.VoteKickReplyMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:VoteKickReplyMessage) + de.pokerth.protocol.ProtoBuf.VoteKickReplyMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -40210,6 +41271,8 @@ public final class ProtoBuf { if (other.hasVoteKickReplyType()) { setVoteKickReplyType(other.getVoteKickReplyType()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -40248,7 +41311,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -40281,7 +41343,6 @@ public final class ProtoBuf { return this; } - // required uint32 petitionId = 2; private int petitionId_ ; /** * required uint32 petitionId = 2; @@ -40314,7 +41375,6 @@ public final class ProtoBuf { return this; } - // required .VoteKickReplyMessage.VoteKickReplyType voteKickReplyType = 3; private de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.VoteKickReplyType voteKickReplyType_ = de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.VoteKickReplyType.voteKickAck; /** * required .VoteKickReplyMessage.VoteKickReplyType voteKickReplyType = 3; @@ -40361,10 +41421,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -40374,7 +41434,6 @@ public final class ProtoBuf { */ int getGameId(); - // required uint32 petitionId = 2; /** * required uint32 petitionId = 2; */ @@ -40384,7 +41443,6 @@ public final class ProtoBuf { */ int getPetitionId(); - // required uint32 numVotesAgainstKicking = 3; /** * required uint32 numVotesAgainstKicking = 3; */ @@ -40394,7 +41452,6 @@ public final class ProtoBuf { */ int getNumVotesAgainstKicking(); - // required uint32 numVotesInFavourOfKicking = 4; /** * required uint32 numVotesInFavourOfKicking = 4; */ @@ -40404,7 +41461,6 @@ public final class ProtoBuf { */ int getNumVotesInFavourOfKicking(); - // required uint32 numVotesNeededToKick = 5; /** * required uint32 numVotesNeededToKick = 5; */ @@ -40418,14 +41474,15 @@ public final class ProtoBuf { * Protobuf type {@code KickPetitionUpdateMessage} */ public static final class KickPetitionUpdateMessage extends - com.google.protobuf.GeneratedMessageLite - implements KickPetitionUpdateMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:KickPetitionUpdateMessage) + KickPetitionUpdateMessageOrBuilder { // Use KickPetitionUpdateMessage.newBuilder() to construct. private KickPetitionUpdateMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private KickPetitionUpdateMessage(boolean noInit) {} + private KickPetitionUpdateMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final KickPetitionUpdateMessage defaultInstance; public static KickPetitionUpdateMessage getDefaultInstance() { @@ -40436,12 +41493,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private KickPetitionUpdateMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -40451,7 +41514,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -40490,6 +41553,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -40509,7 +41579,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -40525,7 +41594,6 @@ public final class ProtoBuf { return gameId_; } - // required uint32 petitionId = 2; public static final int PETITIONID_FIELD_NUMBER = 2; private int petitionId_; /** @@ -40541,7 +41609,6 @@ public final class ProtoBuf { return petitionId_; } - // required uint32 numVotesAgainstKicking = 3; public static final int NUMVOTESAGAINSTKICKING_FIELD_NUMBER = 3; private int numVotesAgainstKicking_; /** @@ -40557,7 +41624,6 @@ public final class ProtoBuf { return numVotesAgainstKicking_; } - // required uint32 numVotesInFavourOfKicking = 4; public static final int NUMVOTESINFAVOUROFKICKING_FIELD_NUMBER = 4; private int numVotesInFavourOfKicking_; /** @@ -40573,7 +41639,6 @@ public final class ProtoBuf { return numVotesInFavourOfKicking_; } - // required uint32 numVotesNeededToKick = 5; public static final int NUMVOTESNEEDEDTOKICK_FIELD_NUMBER = 5; private int numVotesNeededToKick_; /** @@ -40599,7 +41664,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -40643,6 +41709,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeUInt32(5, numVotesNeededToKick_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -40671,6 +41738,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(5, numVotesNeededToKick_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -40748,7 +41816,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:KickPetitionUpdateMessage) + de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -40836,6 +41906,8 @@ public final class ProtoBuf { if (other.hasNumVotesNeededToKick()) { setNumVotesNeededToKick(other.getNumVotesNeededToKick()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -40882,7 +41954,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -40915,7 +41986,6 @@ public final class ProtoBuf { return this; } - // required uint32 petitionId = 2; private int petitionId_ ; /** * required uint32 petitionId = 2; @@ -40948,7 +42018,6 @@ public final class ProtoBuf { return this; } - // required uint32 numVotesAgainstKicking = 3; private int numVotesAgainstKicking_ ; /** * required uint32 numVotesAgainstKicking = 3; @@ -40981,7 +42050,6 @@ public final class ProtoBuf { return this; } - // required uint32 numVotesInFavourOfKicking = 4; private int numVotesInFavourOfKicking_ ; /** * required uint32 numVotesInFavourOfKicking = 4; @@ -41014,7 +42082,6 @@ public final class ProtoBuf { return this; } - // required uint32 numVotesNeededToKick = 5; private int numVotesNeededToKick_ ; /** * required uint32 numVotesNeededToKick = 5; @@ -41058,10 +42125,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; */ @@ -41071,7 +42138,6 @@ public final class ProtoBuf { */ int getGameId(); - // required uint32 petitionId = 2; /** * required uint32 petitionId = 2; */ @@ -41081,7 +42147,6 @@ public final class ProtoBuf { */ int getPetitionId(); - // required uint32 numVotesAgainstKicking = 3; /** * required uint32 numVotesAgainstKicking = 3; */ @@ -41091,7 +42156,6 @@ public final class ProtoBuf { */ int getNumVotesAgainstKicking(); - // required uint32 numVotesInFavourOfKicking = 4; /** * required uint32 numVotesInFavourOfKicking = 4; */ @@ -41101,7 +42165,6 @@ public final class ProtoBuf { */ int getNumVotesInFavourOfKicking(); - // required uint32 resultPlayerKicked = 5; /** * required uint32 resultPlayerKicked = 5; */ @@ -41111,7 +42174,6 @@ public final class ProtoBuf { */ int getResultPlayerKicked(); - // required .EndKickPetitionMessage.PetitionEndReason petitionEndReason = 6; /** * required .EndKickPetitionMessage.PetitionEndReason petitionEndReason = 6; */ @@ -41125,14 +42187,15 @@ public final class ProtoBuf { * Protobuf type {@code EndKickPetitionMessage} */ public static final class EndKickPetitionMessage extends - com.google.protobuf.GeneratedMessageLite - implements EndKickPetitionMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:EndKickPetitionMessage) + EndKickPetitionMessageOrBuilder { // Use EndKickPetitionMessage.newBuilder() to construct. private EndKickPetitionMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private EndKickPetitionMessage(boolean noInit) {} + private EndKickPetitionMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final EndKickPetitionMessage defaultInstance; public static EndKickPetitionMessage getDefaultInstance() { @@ -41143,12 +42206,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private EndKickPetitionMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -41158,7 +42227,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -41192,7 +42261,10 @@ public final class ProtoBuf { case 48: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.PetitionEndReason value = de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.PetitionEndReason.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFieldsCodedOutput.writeRawVarint32(tag); + unknownFieldsCodedOutput.writeRawVarint32(rawValue); + } else { bitField0_ |= 0x00000020; petitionEndReason_ = value; } @@ -41206,6 +42278,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -41299,7 +42378,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -41315,7 +42393,6 @@ public final class ProtoBuf { return gameId_; } - // required uint32 petitionId = 2; public static final int PETITIONID_FIELD_NUMBER = 2; private int petitionId_; /** @@ -41331,7 +42408,6 @@ public final class ProtoBuf { return petitionId_; } - // required uint32 numVotesAgainstKicking = 3; public static final int NUMVOTESAGAINSTKICKING_FIELD_NUMBER = 3; private int numVotesAgainstKicking_; /** @@ -41347,7 +42423,6 @@ public final class ProtoBuf { return numVotesAgainstKicking_; } - // required uint32 numVotesInFavourOfKicking = 4; public static final int NUMVOTESINFAVOUROFKICKING_FIELD_NUMBER = 4; private int numVotesInFavourOfKicking_; /** @@ -41363,7 +42438,6 @@ public final class ProtoBuf { return numVotesInFavourOfKicking_; } - // required uint32 resultPlayerKicked = 5; public static final int RESULTPLAYERKICKED_FIELD_NUMBER = 5; private int resultPlayerKicked_; /** @@ -41379,7 +42453,6 @@ public final class ProtoBuf { return resultPlayerKicked_; } - // required .EndKickPetitionMessage.PetitionEndReason petitionEndReason = 6; public static final int PETITIONENDREASON_FIELD_NUMBER = 6; private de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.PetitionEndReason petitionEndReason_; /** @@ -41406,7 +42479,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -41457,6 +42531,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeEnum(6, petitionEndReason_.getNumber()); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -41489,6 +42564,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeEnumSize(6, petitionEndReason_.getNumber()); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -41566,7 +42642,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.EndKickPetitionMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:EndKickPetitionMessage) + de.pokerth.protocol.ProtoBuf.EndKickPetitionMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -41663,6 +42741,8 @@ public final class ProtoBuf { if (other.hasPetitionEndReason()) { setPetitionEndReason(other.getPetitionEndReason()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -41713,7 +42793,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; @@ -41746,7 +42825,6 @@ public final class ProtoBuf { return this; } - // required uint32 petitionId = 2; private int petitionId_ ; /** * required uint32 petitionId = 2; @@ -41779,7 +42857,6 @@ public final class ProtoBuf { return this; } - // required uint32 numVotesAgainstKicking = 3; private int numVotesAgainstKicking_ ; /** * required uint32 numVotesAgainstKicking = 3; @@ -41812,7 +42889,6 @@ public final class ProtoBuf { return this; } - // required uint32 numVotesInFavourOfKicking = 4; private int numVotesInFavourOfKicking_ ; /** * required uint32 numVotesInFavourOfKicking = 4; @@ -41845,7 +42921,6 @@ public final class ProtoBuf { return this; } - // required uint32 resultPlayerKicked = 5; private int resultPlayerKicked_ ; /** * required uint32 resultPlayerKicked = 5; @@ -41878,7 +42953,6 @@ public final class ProtoBuf { return this; } - // required .EndKickPetitionMessage.PetitionEndReason petitionEndReason = 6; private de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.PetitionEndReason petitionEndReason_ = de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.PetitionEndReason.petitionEndEnoughVotes; /** * required .EndKickPetitionMessage.PetitionEndReason petitionEndReason = 6; @@ -41925,10 +42999,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // repeated .StatisticsMessage.StatisticsData statisticsData = 1; /** * repeated .StatisticsMessage.StatisticsData statisticsData = 1; */ @@ -41947,14 +43021,15 @@ public final class ProtoBuf { * Protobuf type {@code StatisticsMessage} */ public static final class StatisticsMessage extends - com.google.protobuf.GeneratedMessageLite - implements StatisticsMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:StatisticsMessage) + StatisticsMessageOrBuilder { // Use StatisticsMessage.newBuilder() to construct. private StatisticsMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private StatisticsMessage(boolean noInit) {} + private StatisticsMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final StatisticsMessage defaultInstance; public static StatisticsMessage getDefaultInstance() { @@ -41965,12 +43040,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private StatisticsMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -41980,7 +43061,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -42005,6 +43086,13 @@ public final class ProtoBuf { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { statisticsData_ = java.util.Collections.unmodifiableList(statisticsData_); } + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -42023,10 +43111,10 @@ public final class ProtoBuf { return PARSER; } - public interface StatisticsDataOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface StatisticsDataOrBuilder extends + // @@protoc_insertion_point(interface_extends:StatisticsMessage.StatisticsData) + com.google.protobuf.MessageLiteOrBuilder { - // required .StatisticsMessage.StatisticsData.StatisticsType statisticsType = 1; /** * required .StatisticsMessage.StatisticsData.StatisticsType statisticsType = 1; */ @@ -42036,7 +43124,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData.StatisticsType getStatisticsType(); - // required uint32 statisticsValue = 2; /** * required uint32 statisticsValue = 2; */ @@ -42050,14 +43137,15 @@ public final class ProtoBuf { * Protobuf type {@code StatisticsMessage.StatisticsData} */ public static final class StatisticsData extends - com.google.protobuf.GeneratedMessageLite - implements StatisticsDataOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:StatisticsMessage.StatisticsData) + StatisticsDataOrBuilder { // Use StatisticsData.newBuilder() to construct. private StatisticsData(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private StatisticsData(boolean noInit) {} + private StatisticsData(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final StatisticsData defaultInstance; public static StatisticsData getDefaultInstance() { @@ -42068,12 +43156,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private StatisticsData( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -42083,7 +43177,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -42092,7 +43186,10 @@ public final class ProtoBuf { case 8: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData.StatisticsType value = de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData.StatisticsType.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFieldsCodedOutput.writeRawVarint32(tag); + unknownFieldsCodedOutput.writeRawVarint32(rawValue); + } else { bitField0_ |= 0x00000001; statisticsType_ = value; } @@ -42111,6 +43208,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -42177,7 +43281,6 @@ 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_; /** @@ -42193,7 +43296,6 @@ public final class ProtoBuf { return statisticsType_; } - // required uint32 statisticsValue = 2; public static final int STATISTICSVALUE_FIELD_NUMBER = 2; private int statisticsValue_; /** @@ -42216,7 +43318,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -42239,6 +43342,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt32(2, statisticsValue_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -42255,6 +43359,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, statisticsValue_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -42332,7 +43437,9 @@ public final class ProtoBuf { 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 { + implements + // @@protoc_insertion_point(builder_implements:StatisticsMessage.StatisticsData) + de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsDataOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -42393,6 +43500,8 @@ public final class ProtoBuf { if (other.hasStatisticsValue()) { setStatisticsValue(other.getStatisticsValue()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -42427,7 +43536,6 @@ 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; /** * required .StatisticsMessage.StatisticsData.StatisticsType statisticsType = 1; @@ -42463,7 +43571,6 @@ public final class ProtoBuf { return this; } - // required uint32 statisticsValue = 2; private int statisticsValue_ ; /** * required uint32 statisticsValue = 2; @@ -42507,7 +43614,6 @@ public final class ProtoBuf { // @@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_; /** @@ -42549,7 +43655,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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()) { @@ -42567,6 +43674,7 @@ public final class ProtoBuf { for (int i = 0; i < statisticsData_.size(); i++) { output.writeMessage(1, statisticsData_.get(i)); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -42579,6 +43687,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, statisticsData_.get(i)); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -42656,7 +43765,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.StatisticsMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.StatisticsMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:StatisticsMessage) + de.pokerth.protocol.ProtoBuf.StatisticsMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.StatisticsMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -42714,6 +43825,8 @@ public final class ProtoBuf { } } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -42746,7 +43859,6 @@ public final class ProtoBuf { } private int bitField0_; - // repeated .StatisticsMessage.StatisticsData statisticsData = 1; private java.util.List statisticsData_ = java.util.Collections.emptyList(); private void ensureStatisticsDataIsMutable() { @@ -42848,7 +43960,8 @@ public final class ProtoBuf { public Builder addAllStatisticsData( java.lang.Iterable values) { ensureStatisticsDataIsMutable(); - super.addAll(values, statisticsData_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, statisticsData_); return this; } @@ -42882,10 +43995,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // optional uint32 targetGameId = 1; /** * optional uint32 targetGameId = 1; */ @@ -42895,7 +44008,6 @@ public final class ProtoBuf { */ int getTargetGameId(); - // optional uint32 targetPlayerId = 2; /** * optional uint32 targetPlayerId = 2; */ @@ -42905,7 +44017,6 @@ public final class ProtoBuf { */ int getTargetPlayerId(); - // required string chatText = 3; /** * required string chatText = 3; */ @@ -42924,14 +44035,15 @@ public final class ProtoBuf { * Protobuf type {@code ChatRequestMessage} */ public static final class ChatRequestMessage extends - com.google.protobuf.GeneratedMessageLite - implements ChatRequestMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:ChatRequestMessage) + ChatRequestMessageOrBuilder { // Use ChatRequestMessage.newBuilder() to construct. private ChatRequestMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private ChatRequestMessage(boolean noInit) {} + private ChatRequestMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final ChatRequestMessage defaultInstance; public static ChatRequestMessage getDefaultInstance() { @@ -42942,12 +44054,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private ChatRequestMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -42957,7 +44075,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -42974,8 +44092,9 @@ public final class ProtoBuf { break; } case 26: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; - chatText_ = input.readBytes(); + chatText_ = bs; break; } } @@ -42986,6 +44105,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -43005,7 +44131,6 @@ public final class ProtoBuf { } private int bitField0_; - // optional uint32 targetGameId = 1; public static final int TARGETGAMEID_FIELD_NUMBER = 1; private int targetGameId_; /** @@ -43021,7 +44146,6 @@ public final class ProtoBuf { return targetGameId_; } - // optional uint32 targetPlayerId = 2; public static final int TARGETPLAYERID_FIELD_NUMBER = 2; private int targetPlayerId_; /** @@ -43037,7 +44161,6 @@ public final class ProtoBuf { return targetPlayerId_; } - // required string chatText = 3; public static final int CHATTEXT_FIELD_NUMBER = 3; private java.lang.Object chatText_; /** @@ -43088,7 +44211,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -43110,6 +44234,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBytes(3, getChatTextBytes()); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -43130,6 +44255,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, getChatTextBytes()); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -43207,7 +44333,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.ChatRequestMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.ChatRequestMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:ChatRequestMessage) + de.pokerth.protocol.ProtoBuf.ChatRequestMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.ChatRequestMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -43279,6 +44407,8 @@ public final class ProtoBuf { chatText_ = other.chatText_; } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -43309,7 +44439,6 @@ public final class ProtoBuf { } private int bitField0_; - // optional uint32 targetGameId = 1; private int targetGameId_ ; /** * optional uint32 targetGameId = 1; @@ -43342,7 +44471,6 @@ public final class ProtoBuf { return this; } - // optional uint32 targetPlayerId = 2; private int targetPlayerId_ ; /** * optional uint32 targetPlayerId = 2; @@ -43375,7 +44503,6 @@ public final class ProtoBuf { return this; } - // required string chatText = 3; private java.lang.Object chatText_ = ""; /** * required string chatText = 3; @@ -43389,9 +44516,12 @@ public final class ProtoBuf { 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; @@ -43460,10 +44590,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // optional uint32 gameId = 1; /** * optional uint32 gameId = 1; */ @@ -43473,7 +44603,6 @@ public final class ProtoBuf { */ int getGameId(); - // optional uint32 playerId = 2; /** * optional uint32 playerId = 2; */ @@ -43483,7 +44612,6 @@ public final class ProtoBuf { */ int getPlayerId(); - // required .ChatMessage.ChatType chatType = 3; /** * required .ChatMessage.ChatType chatType = 3; */ @@ -43493,7 +44621,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.ChatMessage.ChatType getChatType(); - // required string chatText = 4; /** * required string chatText = 4; */ @@ -43512,14 +44639,15 @@ public final class ProtoBuf { * Protobuf type {@code ChatMessage} */ public static final class ChatMessage extends - com.google.protobuf.GeneratedMessageLite - implements ChatMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:ChatMessage) + ChatMessageOrBuilder { // Use ChatMessage.newBuilder() to construct. private ChatMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private ChatMessage(boolean noInit) {} + private ChatMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final ChatMessage defaultInstance; public static ChatMessage getDefaultInstance() { @@ -43530,12 +44658,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private ChatMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -43545,7 +44679,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -43564,15 +44698,19 @@ public final class ProtoBuf { case 24: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.ChatMessage.ChatType value = de.pokerth.protocol.ProtoBuf.ChatMessage.ChatType.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFieldsCodedOutput.writeRawVarint32(tag); + unknownFieldsCodedOutput.writeRawVarint32(rawValue); + } else { bitField0_ |= 0x00000004; chatType_ = value; } break; } case 34: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000008; - chatText_ = input.readBytes(); + chatText_ = bs; break; } } @@ -43583,6 +44721,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -43685,7 +44830,6 @@ public final class ProtoBuf { } private int bitField0_; - // optional uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** @@ -43701,7 +44845,6 @@ public final class ProtoBuf { return gameId_; } - // optional uint32 playerId = 2; public static final int PLAYERID_FIELD_NUMBER = 2; private int playerId_; /** @@ -43717,7 +44860,6 @@ public final class ProtoBuf { return playerId_; } - // required .ChatMessage.ChatType chatType = 3; public static final int CHATTYPE_FIELD_NUMBER = 3; private de.pokerth.protocol.ProtoBuf.ChatMessage.ChatType chatType_; /** @@ -43733,7 +44875,6 @@ public final class ProtoBuf { return chatType_; } - // required string chatText = 4; public static final int CHATTEXT_FIELD_NUMBER = 4; private java.lang.Object chatText_; /** @@ -43785,7 +44926,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -43814,6 +44956,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeBytes(4, getChatTextBytes()); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -43838,6 +44981,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeBytesSize(4, getChatTextBytes()); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -43915,7 +45059,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.ChatMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.ChatMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:ChatMessage) + de.pokerth.protocol.ProtoBuf.ChatMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.ChatMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -43996,6 +45142,8 @@ public final class ProtoBuf { chatText_ = other.chatText_; } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -44030,7 +45178,6 @@ public final class ProtoBuf { } private int bitField0_; - // optional uint32 gameId = 1; private int gameId_ ; /** * optional uint32 gameId = 1; @@ -44063,7 +45210,6 @@ public final class ProtoBuf { return this; } - // optional uint32 playerId = 2; private int playerId_ ; /** * optional uint32 playerId = 2; @@ -44096,7 +45242,6 @@ public final class ProtoBuf { return this; } - // required .ChatMessage.ChatType chatType = 3; private de.pokerth.protocol.ProtoBuf.ChatMessage.ChatType chatType_ = de.pokerth.protocol.ProtoBuf.ChatMessage.ChatType.chatTypeLobby; /** * required .ChatMessage.ChatType chatType = 3; @@ -44132,7 +45277,6 @@ public final class ProtoBuf { return this; } - // required string chatText = 4; private java.lang.Object chatText_ = ""; /** * required string chatText = 4; @@ -44146,9 +45290,12 @@ public final class ProtoBuf { 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; @@ -44217,10 +45364,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required string chatText = 1; /** * required string chatText = 1; */ @@ -44239,14 +45386,15 @@ public final class ProtoBuf { * Protobuf type {@code ChatRejectMessage} */ public static final class ChatRejectMessage extends - com.google.protobuf.GeneratedMessageLite - implements ChatRejectMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:ChatRejectMessage) + ChatRejectMessageOrBuilder { // Use ChatRejectMessage.newBuilder() to construct. private ChatRejectMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private ChatRejectMessage(boolean noInit) {} + private ChatRejectMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final ChatRejectMessage defaultInstance; public static ChatRejectMessage getDefaultInstance() { @@ -44257,12 +45405,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private ChatRejectMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -44272,15 +45426,16 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } break; } case 10: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; - chatText_ = input.readBytes(); + chatText_ = bs; break; } } @@ -44291,6 +45446,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -44310,7 +45472,6 @@ public final class ProtoBuf { } private int bitField0_; - // required string chatText = 1; public static final int CHATTEXT_FIELD_NUMBER = 1; private java.lang.Object chatText_; /** @@ -44359,7 +45520,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -44375,6 +45537,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, getChatTextBytes()); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -44387,6 +45550,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, getChatTextBytes()); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -44464,7 +45628,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.ChatRejectMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.ChatRejectMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:ChatRejectMessage) + de.pokerth.protocol.ProtoBuf.ChatRejectMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.ChatRejectMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -44518,6 +45684,8 @@ public final class ProtoBuf { chatText_ = other.chatText_; } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -44548,7 +45716,6 @@ public final class ProtoBuf { } private int bitField0_; - // required string chatText = 1; private java.lang.Object chatText_ = ""; /** * required string chatText = 1; @@ -44562,9 +45729,12 @@ public final class ProtoBuf { 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; @@ -44633,10 +45803,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required string notificationText = 1; /** * required string notificationText = 1; */ @@ -44655,14 +45825,15 @@ public final class ProtoBuf { * Protobuf type {@code DialogMessage} */ public static final class DialogMessage extends - com.google.protobuf.GeneratedMessageLite - implements DialogMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:DialogMessage) + DialogMessageOrBuilder { // Use DialogMessage.newBuilder() to construct. private DialogMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private DialogMessage(boolean noInit) {} + private DialogMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final DialogMessage defaultInstance; public static DialogMessage getDefaultInstance() { @@ -44673,12 +45844,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private DialogMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -44688,15 +45865,16 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } break; } case 10: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; - notificationText_ = input.readBytes(); + notificationText_ = bs; break; } } @@ -44707,6 +45885,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -44726,7 +45911,6 @@ public final class ProtoBuf { } private int bitField0_; - // required string notificationText = 1; public static final int NOTIFICATIONTEXT_FIELD_NUMBER = 1; private java.lang.Object notificationText_; /** @@ -44775,7 +45959,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -44791,6 +45976,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, getNotificationTextBytes()); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -44803,6 +45989,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, getNotificationTextBytes()); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -44880,7 +46067,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.DialogMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.DialogMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:DialogMessage) + de.pokerth.protocol.ProtoBuf.DialogMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.DialogMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -44934,6 +46123,8 @@ public final class ProtoBuf { notificationText_ = other.notificationText_; } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -44964,7 +46155,6 @@ public final class ProtoBuf { } private int bitField0_; - // required string notificationText = 1; private java.lang.Object notificationText_ = ""; /** * required string notificationText = 1; @@ -44978,9 +46168,12 @@ public final class ProtoBuf { 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; @@ -45049,10 +46242,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required .TimeoutWarningMessage.TimeoutReason timeoutReason = 1; /** * required .TimeoutWarningMessage.TimeoutReason timeoutReason = 1; */ @@ -45062,7 +46255,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.TimeoutReason getTimeoutReason(); - // required uint32 remainingSeconds = 2; /** * required uint32 remainingSeconds = 2; */ @@ -45076,14 +46268,15 @@ public final class ProtoBuf { * Protobuf type {@code TimeoutWarningMessage} */ public static final class TimeoutWarningMessage extends - com.google.protobuf.GeneratedMessageLite - implements TimeoutWarningMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:TimeoutWarningMessage) + TimeoutWarningMessageOrBuilder { // Use TimeoutWarningMessage.newBuilder() to construct. private TimeoutWarningMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private TimeoutWarningMessage(boolean noInit) {} + private TimeoutWarningMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final TimeoutWarningMessage defaultInstance; public static TimeoutWarningMessage getDefaultInstance() { @@ -45094,12 +46287,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private TimeoutWarningMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -45109,7 +46308,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -45118,7 +46317,10 @@ public final class ProtoBuf { case 8: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.TimeoutReason value = de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.TimeoutReason.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFieldsCodedOutput.writeRawVarint32(tag); + unknownFieldsCodedOutput.writeRawVarint32(rawValue); + } else { bitField0_ |= 0x00000001; timeoutReason_ = value; } @@ -45137,6 +46339,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -45221,7 +46430,6 @@ 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_; /** @@ -45237,7 +46445,6 @@ public final class ProtoBuf { return timeoutReason_; } - // required uint32 remainingSeconds = 2; public static final int REMAININGSECONDS_FIELD_NUMBER = 2; private int remainingSeconds_; /** @@ -45260,7 +46467,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -45283,6 +46491,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt32(2, remainingSeconds_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -45299,6 +46508,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, remainingSeconds_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -45376,7 +46586,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.TimeoutWarningMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:TimeoutWarningMessage) + de.pokerth.protocol.ProtoBuf.TimeoutWarningMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -45437,6 +46649,8 @@ public final class ProtoBuf { if (other.hasRemainingSeconds()) { setRemainingSeconds(other.getRemainingSeconds()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -45471,7 +46685,6 @@ 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; /** * required .TimeoutWarningMessage.TimeoutReason timeoutReason = 1; @@ -45507,7 +46720,6 @@ public final class ProtoBuf { return this; } - // required uint32 remainingSeconds = 2; private int remainingSeconds_ ; /** * required uint32 remainingSeconds = 2; @@ -45551,21 +46763,23 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { } /** * Protobuf type {@code ResetTimeoutMessage} */ public static final class ResetTimeoutMessage extends - com.google.protobuf.GeneratedMessageLite - implements ResetTimeoutMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:ResetTimeoutMessage) + ResetTimeoutMessageOrBuilder { // Use ResetTimeoutMessage.newBuilder() to construct. private ResetTimeoutMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private ResetTimeoutMessage(boolean noInit) {} + private ResetTimeoutMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final ResetTimeoutMessage defaultInstance; public static ResetTimeoutMessage getDefaultInstance() { @@ -45576,11 +46790,17 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private ResetTimeoutMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -45590,7 +46810,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -45604,6 +46824,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -45627,7 +46854,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -45636,6 +46864,7 @@ public final class ProtoBuf { public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -45644,6 +46873,7 @@ public final class ProtoBuf { if (size != -1) return size; size = 0; + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -45721,7 +46951,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.ResetTimeoutMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:ResetTimeoutMessage) + de.pokerth.protocol.ProtoBuf.ResetTimeoutMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -45761,6 +46993,8 @@ public final class ProtoBuf { public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage other) { if (other == de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage.getDefaultInstance()) return this; + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -45797,10 +47031,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 reportedPlayerId = 1; /** * required uint32 reportedPlayerId = 1; */ @@ -45810,7 +47044,6 @@ public final class ProtoBuf { */ int getReportedPlayerId(); - // required bytes reportedAvatarHash = 2; /** * required bytes reportedAvatarHash = 2; */ @@ -45824,14 +47057,15 @@ public final class ProtoBuf { * Protobuf type {@code ReportAvatarMessage} */ public static final class ReportAvatarMessage extends - com.google.protobuf.GeneratedMessageLite - implements ReportAvatarMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:ReportAvatarMessage) + ReportAvatarMessageOrBuilder { // Use ReportAvatarMessage.newBuilder() to construct. private ReportAvatarMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private ReportAvatarMessage(boolean noInit) {} + private ReportAvatarMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final ReportAvatarMessage defaultInstance; public static ReportAvatarMessage getDefaultInstance() { @@ -45842,12 +47076,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private ReportAvatarMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -45857,7 +47097,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -45881,6 +47121,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -45900,7 +47147,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 reportedPlayerId = 1; public static final int REPORTEDPLAYERID_FIELD_NUMBER = 1; private int reportedPlayerId_; /** @@ -45916,7 +47162,6 @@ public final class ProtoBuf { return reportedPlayerId_; } - // required bytes reportedAvatarHash = 2; public static final int REPORTEDAVATARHASH_FIELD_NUMBER = 2; private com.google.protobuf.ByteString reportedAvatarHash_; /** @@ -45939,7 +47184,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -45962,6 +47208,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, reportedAvatarHash_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -45978,6 +47225,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, reportedAvatarHash_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -46055,7 +47303,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.ReportAvatarMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.ReportAvatarMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:ReportAvatarMessage) + de.pokerth.protocol.ProtoBuf.ReportAvatarMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.ReportAvatarMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -46116,6 +47366,8 @@ public final class ProtoBuf { if (other.hasReportedAvatarHash()) { setReportedAvatarHash(other.getReportedAvatarHash()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -46150,7 +47402,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 reportedPlayerId = 1; private int reportedPlayerId_ ; /** * required uint32 reportedPlayerId = 1; @@ -46183,7 +47434,6 @@ public final class ProtoBuf { return this; } - // required bytes reportedAvatarHash = 2; private com.google.protobuf.ByteString reportedAvatarHash_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes reportedAvatarHash = 2; @@ -46230,10 +47480,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 reportedPlayerId = 1; /** * required uint32 reportedPlayerId = 1; */ @@ -46243,7 +47493,6 @@ public final class ProtoBuf { */ int getReportedPlayerId(); - // required .ReportAvatarAckMessage.ReportAvatarResult reportAvatarResult = 2; /** * required .ReportAvatarAckMessage.ReportAvatarResult reportAvatarResult = 2; */ @@ -46257,14 +47506,15 @@ public final class ProtoBuf { * Protobuf type {@code ReportAvatarAckMessage} */ public static final class ReportAvatarAckMessage extends - com.google.protobuf.GeneratedMessageLite - implements ReportAvatarAckMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:ReportAvatarAckMessage) + ReportAvatarAckMessageOrBuilder { // Use ReportAvatarAckMessage.newBuilder() to construct. private ReportAvatarAckMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private ReportAvatarAckMessage(boolean noInit) {} + private ReportAvatarAckMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final ReportAvatarAckMessage defaultInstance; public static ReportAvatarAckMessage getDefaultInstance() { @@ -46275,12 +47525,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private ReportAvatarAckMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -46290,7 +47546,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -46304,7 +47560,10 @@ public final class ProtoBuf { case 16: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.ReportAvatarResult value = de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.ReportAvatarResult.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFieldsCodedOutput.writeRawVarint32(tag); + unknownFieldsCodedOutput.writeRawVarint32(rawValue); + } else { bitField0_ |= 0x00000002; reportAvatarResult_ = value; } @@ -46318,6 +47577,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -46402,7 +47668,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 reportedPlayerId = 1; public static final int REPORTEDPLAYERID_FIELD_NUMBER = 1; private int reportedPlayerId_; /** @@ -46418,7 +47683,6 @@ public final class ProtoBuf { return reportedPlayerId_; } - // required .ReportAvatarAckMessage.ReportAvatarResult reportAvatarResult = 2; public static final int REPORTAVATARRESULT_FIELD_NUMBER = 2; private de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.ReportAvatarResult reportAvatarResult_; /** @@ -46441,7 +47705,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -46464,6 +47729,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeEnum(2, reportAvatarResult_.getNumber()); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -46480,6 +47746,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, reportAvatarResult_.getNumber()); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -46557,7 +47824,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:ReportAvatarAckMessage) + de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -46618,6 +47887,8 @@ public final class ProtoBuf { if (other.hasReportAvatarResult()) { setReportAvatarResult(other.getReportAvatarResult()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -46652,7 +47923,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 reportedPlayerId = 1; private int reportedPlayerId_ ; /** * required uint32 reportedPlayerId = 1; @@ -46685,7 +47955,6 @@ public final class ProtoBuf { return this; } - // required .ReportAvatarAckMessage.ReportAvatarResult reportAvatarResult = 2; private de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.ReportAvatarResult reportAvatarResult_ = de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.ReportAvatarResult.avatarReportAccepted; /** * required .ReportAvatarAckMessage.ReportAvatarResult reportAvatarResult = 2; @@ -46732,10 +48001,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 reportedGameId = 1; /** * required uint32 reportedGameId = 1; */ @@ -46749,14 +48018,15 @@ public final class ProtoBuf { * Protobuf type {@code ReportGameMessage} */ public static final class ReportGameMessage extends - com.google.protobuf.GeneratedMessageLite - implements ReportGameMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:ReportGameMessage) + ReportGameMessageOrBuilder { // Use ReportGameMessage.newBuilder() to construct. private ReportGameMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private ReportGameMessage(boolean noInit) {} + private ReportGameMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final ReportGameMessage defaultInstance; public static ReportGameMessage getDefaultInstance() { @@ -46767,12 +48037,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private ReportGameMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -46782,7 +48058,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -46801,6 +48077,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -46820,7 +48103,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 reportedGameId = 1; public static final int REPORTEDGAMEID_FIELD_NUMBER = 1; private int reportedGameId_; /** @@ -46842,7 +48124,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -46858,6 +48141,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeUInt32(1, reportedGameId_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -46870,6 +48154,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, reportedGameId_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -46947,7 +48232,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.ReportGameMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.ReportGameMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:ReportGameMessage) + de.pokerth.protocol.ProtoBuf.ReportGameMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.ReportGameMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -46999,6 +48286,8 @@ public final class ProtoBuf { if (other.hasReportedGameId()) { setReportedGameId(other.getReportedGameId()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -47029,7 +48318,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 reportedGameId = 1; private int reportedGameId_ ; /** * required uint32 reportedGameId = 1; @@ -47073,10 +48361,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 reportedGameId = 1; /** * required uint32 reportedGameId = 1; */ @@ -47086,7 +48374,6 @@ public final class ProtoBuf { */ int getReportedGameId(); - // required .ReportGameAckMessage.ReportGameResult reportGameResult = 2; /** * required .ReportGameAckMessage.ReportGameResult reportGameResult = 2; */ @@ -47100,14 +48387,15 @@ public final class ProtoBuf { * Protobuf type {@code ReportGameAckMessage} */ public static final class ReportGameAckMessage extends - com.google.protobuf.GeneratedMessageLite - implements ReportGameAckMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:ReportGameAckMessage) + ReportGameAckMessageOrBuilder { // Use ReportGameAckMessage.newBuilder() to construct. private ReportGameAckMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private ReportGameAckMessage(boolean noInit) {} + private ReportGameAckMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final ReportGameAckMessage defaultInstance; public static ReportGameAckMessage getDefaultInstance() { @@ -47118,12 +48406,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private ReportGameAckMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -47133,7 +48427,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -47147,7 +48441,10 @@ public final class ProtoBuf { case 16: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.ReportGameResult value = de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.ReportGameResult.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFieldsCodedOutput.writeRawVarint32(tag); + unknownFieldsCodedOutput.writeRawVarint32(rawValue); + } else { bitField0_ |= 0x00000002; reportGameResult_ = value; } @@ -47161,6 +48458,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -47245,7 +48549,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 reportedGameId = 1; public static final int REPORTEDGAMEID_FIELD_NUMBER = 1; private int reportedGameId_; /** @@ -47261,7 +48564,6 @@ public final class ProtoBuf { return reportedGameId_; } - // required .ReportGameAckMessage.ReportGameResult reportGameResult = 2; public static final int REPORTGAMERESULT_FIELD_NUMBER = 2; private de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.ReportGameResult reportGameResult_; /** @@ -47284,7 +48586,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -47307,6 +48610,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeEnum(2, reportGameResult_.getNumber()); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -47323,6 +48627,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, reportGameResult_.getNumber()); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -47400,7 +48705,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.ReportGameAckMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.ReportGameAckMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:ReportGameAckMessage) + de.pokerth.protocol.ProtoBuf.ReportGameAckMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -47461,6 +48768,8 @@ public final class ProtoBuf { if (other.hasReportGameResult()) { setReportGameResult(other.getReportGameResult()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -47495,7 +48804,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 reportedGameId = 1; private int reportedGameId_ ; /** * required uint32 reportedGameId = 1; @@ -47528,7 +48836,6 @@ public final class ProtoBuf { return this; } - // required .ReportGameAckMessage.ReportGameResult reportGameResult = 2; private de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.ReportGameResult reportGameResult_ = de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.ReportGameResult.gameReportAccepted; /** * required .ReportGameAckMessage.ReportGameResult reportGameResult = 2; @@ -47575,10 +48882,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required .ErrorMessage.ErrorReason errorReason = 1; /** * required .ErrorMessage.ErrorReason errorReason = 1; */ @@ -47592,14 +48899,15 @@ public final class ProtoBuf { * Protobuf type {@code ErrorMessage} */ public static final class ErrorMessage extends - com.google.protobuf.GeneratedMessageLite - implements ErrorMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:ErrorMessage) + ErrorMessageOrBuilder { // Use ErrorMessage.newBuilder() to construct. private ErrorMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private ErrorMessage(boolean noInit) {} + private ErrorMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final ErrorMessage defaultInstance; public static ErrorMessage getDefaultInstance() { @@ -47610,12 +48918,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private ErrorMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -47625,7 +48939,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -47634,7 +48948,10 @@ public final class ProtoBuf { case 8: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.ErrorMessage.ErrorReason value = de.pokerth.protocol.ProtoBuf.ErrorMessage.ErrorReason.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFieldsCodedOutput.writeRawVarint32(tag); + unknownFieldsCodedOutput.writeRawVarint32(rawValue); + } else { bitField0_ |= 0x00000001; errorReason_ = value; } @@ -47648,6 +48965,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -47840,7 +49164,6 @@ 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_; /** @@ -47862,7 +49185,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -47878,6 +49202,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeEnum(1, errorReason_.getNumber()); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -47890,6 +49215,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, errorReason_.getNumber()); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -47967,7 +49293,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.ErrorMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.ErrorMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:ErrorMessage) + de.pokerth.protocol.ProtoBuf.ErrorMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.ErrorMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -48019,6 +49347,8 @@ public final class ProtoBuf { if (other.hasErrorReason()) { setErrorReason(other.getErrorReason()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -48049,7 +49379,6 @@ 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.reserved; /** * required .ErrorMessage.ErrorReason errorReason = 1; @@ -48096,10 +49425,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 removeGameId = 1; /** * required uint32 removeGameId = 1; */ @@ -48113,14 +49442,15 @@ public final class ProtoBuf { * Protobuf type {@code AdminRemoveGameMessage} */ public static final class AdminRemoveGameMessage extends - com.google.protobuf.GeneratedMessageLite - implements AdminRemoveGameMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:AdminRemoveGameMessage) + AdminRemoveGameMessageOrBuilder { // Use AdminRemoveGameMessage.newBuilder() to construct. private AdminRemoveGameMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private AdminRemoveGameMessage(boolean noInit) {} + private AdminRemoveGameMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final AdminRemoveGameMessage defaultInstance; public static AdminRemoveGameMessage getDefaultInstance() { @@ -48131,12 +49461,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private AdminRemoveGameMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -48146,7 +49482,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -48165,6 +49501,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -48184,7 +49527,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 removeGameId = 1; public static final int REMOVEGAMEID_FIELD_NUMBER = 1; private int removeGameId_; /** @@ -48206,7 +49548,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -48222,6 +49565,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeUInt32(1, removeGameId_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -48234,6 +49578,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, removeGameId_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -48311,7 +49656,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:AdminRemoveGameMessage) + de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -48363,6 +49710,8 @@ public final class ProtoBuf { if (other.hasRemoveGameId()) { setRemoveGameId(other.getRemoveGameId()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -48393,7 +49742,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 removeGameId = 1; private int removeGameId_ ; /** * required uint32 removeGameId = 1; @@ -48437,10 +49785,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 removeGameId = 1; /** * required uint32 removeGameId = 1; */ @@ -48450,7 +49798,6 @@ public final class ProtoBuf { */ int getRemoveGameId(); - // required .AdminRemoveGameAckMessage.AdminRemoveGameResult removeGameResult = 2; /** * required .AdminRemoveGameAckMessage.AdminRemoveGameResult removeGameResult = 2; */ @@ -48464,14 +49811,15 @@ public final class ProtoBuf { * Protobuf type {@code AdminRemoveGameAckMessage} */ public static final class AdminRemoveGameAckMessage extends - com.google.protobuf.GeneratedMessageLite - implements AdminRemoveGameAckMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:AdminRemoveGameAckMessage) + AdminRemoveGameAckMessageOrBuilder { // Use AdminRemoveGameAckMessage.newBuilder() to construct. private AdminRemoveGameAckMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private AdminRemoveGameAckMessage(boolean noInit) {} + private AdminRemoveGameAckMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final AdminRemoveGameAckMessage defaultInstance; public static AdminRemoveGameAckMessage getDefaultInstance() { @@ -48482,12 +49830,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private AdminRemoveGameAckMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -48497,7 +49851,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -48511,7 +49865,10 @@ public final class ProtoBuf { case 16: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.AdminRemoveGameResult value = de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.AdminRemoveGameResult.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFieldsCodedOutput.writeRawVarint32(tag); + unknownFieldsCodedOutput.writeRawVarint32(rawValue); + } else { bitField0_ |= 0x00000002; removeGameResult_ = value; } @@ -48525,6 +49882,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -48600,7 +49964,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 removeGameId = 1; public static final int REMOVEGAMEID_FIELD_NUMBER = 1; private int removeGameId_; /** @@ -48616,7 +49979,6 @@ public final class ProtoBuf { return removeGameId_; } - // required .AdminRemoveGameAckMessage.AdminRemoveGameResult removeGameResult = 2; public static final int REMOVEGAMERESULT_FIELD_NUMBER = 2; private de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.AdminRemoveGameResult removeGameResult_; /** @@ -48639,7 +50001,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -48662,6 +50025,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeEnum(2, removeGameResult_.getNumber()); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -48678,6 +50042,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, removeGameResult_.getNumber()); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -48755,7 +50120,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:AdminRemoveGameAckMessage) + de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -48816,6 +50183,8 @@ public final class ProtoBuf { if (other.hasRemoveGameResult()) { setRemoveGameResult(other.getRemoveGameResult()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -48850,7 +50219,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 removeGameId = 1; private int removeGameId_ ; /** * required uint32 removeGameId = 1; @@ -48883,7 +50251,6 @@ public final class ProtoBuf { return this; } - // required .AdminRemoveGameAckMessage.AdminRemoveGameResult removeGameResult = 2; private de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.AdminRemoveGameResult removeGameResult_ = de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.AdminRemoveGameResult.gameRemoveAccepted; /** * required .AdminRemoveGameAckMessage.AdminRemoveGameResult removeGameResult = 2; @@ -48930,10 +50297,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 banPlayerId = 1; /** * required uint32 banPlayerId = 1; */ @@ -48947,14 +50314,15 @@ public final class ProtoBuf { * Protobuf type {@code AdminBanPlayerMessage} */ public static final class AdminBanPlayerMessage extends - com.google.protobuf.GeneratedMessageLite - implements AdminBanPlayerMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:AdminBanPlayerMessage) + AdminBanPlayerMessageOrBuilder { // Use AdminBanPlayerMessage.newBuilder() to construct. private AdminBanPlayerMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private AdminBanPlayerMessage(boolean noInit) {} + private AdminBanPlayerMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final AdminBanPlayerMessage defaultInstance; public static AdminBanPlayerMessage getDefaultInstance() { @@ -48965,12 +50333,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private AdminBanPlayerMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -48980,7 +50354,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -48999,6 +50373,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -49018,7 +50399,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 banPlayerId = 1; public static final int BANPLAYERID_FIELD_NUMBER = 1; private int banPlayerId_; /** @@ -49040,7 +50420,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -49056,6 +50437,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeUInt32(1, banPlayerId_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -49068,6 +50450,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, banPlayerId_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -49145,7 +50528,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:AdminBanPlayerMessage) + de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -49197,6 +50582,8 @@ public final class ProtoBuf { if (other.hasBanPlayerId()) { setBanPlayerId(other.getBanPlayerId()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -49227,7 +50614,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 banPlayerId = 1; private int banPlayerId_ ; /** * required uint32 banPlayerId = 1; @@ -49271,10 +50657,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required uint32 banPlayerId = 1; /** * required uint32 banPlayerId = 1; */ @@ -49284,7 +50670,6 @@ public final class ProtoBuf { */ int getBanPlayerId(); - // required .AdminBanPlayerAckMessage.AdminBanPlayerResult banPlayerResult = 2; /** * required .AdminBanPlayerAckMessage.AdminBanPlayerResult banPlayerResult = 2; */ @@ -49298,14 +50683,15 @@ public final class ProtoBuf { * Protobuf type {@code AdminBanPlayerAckMessage} */ public static final class AdminBanPlayerAckMessage extends - com.google.protobuf.GeneratedMessageLite - implements AdminBanPlayerAckMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:AdminBanPlayerAckMessage) + AdminBanPlayerAckMessageOrBuilder { // Use AdminBanPlayerAckMessage.newBuilder() to construct. private AdminBanPlayerAckMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private AdminBanPlayerAckMessage(boolean noInit) {} + private AdminBanPlayerAckMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final AdminBanPlayerAckMessage defaultInstance; public static AdminBanPlayerAckMessage getDefaultInstance() { @@ -49316,12 +50702,18 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private AdminBanPlayerAckMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -49331,7 +50723,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -49345,7 +50737,10 @@ public final class ProtoBuf { case 16: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.AdminBanPlayerResult value = de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.AdminBanPlayerResult.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFieldsCodedOutput.writeRawVarint32(tag); + unknownFieldsCodedOutput.writeRawVarint32(rawValue); + } else { bitField0_ |= 0x00000002; banPlayerResult_ = value; } @@ -49359,6 +50754,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -49461,7 +50863,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 banPlayerId = 1; public static final int BANPLAYERID_FIELD_NUMBER = 1; private int banPlayerId_; /** @@ -49477,7 +50878,6 @@ public final class ProtoBuf { return banPlayerId_; } - // required .AdminBanPlayerAckMessage.AdminBanPlayerResult banPlayerResult = 2; public static final int BANPLAYERRESULT_FIELD_NUMBER = 2; private de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.AdminBanPlayerResult banPlayerResult_; /** @@ -49500,7 +50900,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -49523,6 +50924,7 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeEnum(2, banPlayerResult_.getNumber()); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -49539,6 +50941,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, banPlayerResult_.getNumber()); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -49616,7 +51019,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:AdminBanPlayerAckMessage) + de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -49677,6 +51082,8 @@ public final class ProtoBuf { if (other.hasBanPlayerResult()) { setBanPlayerResult(other.getBanPlayerResult()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -49711,7 +51118,6 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 banPlayerId = 1; private int banPlayerId_ ; /** * required uint32 banPlayerId = 1; @@ -49744,7 +51150,6 @@ public final class ProtoBuf { return this; } - // required .AdminBanPlayerAckMessage.AdminBanPlayerResult banPlayerResult = 2; private de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.AdminBanPlayerResult banPlayerResult_ = de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.AdminBanPlayerResult.banPlayerAccepted; /** * required .AdminBanPlayerAckMessage.AdminBanPlayerResult banPlayerResult = 2; @@ -49791,10 +51196,10 @@ public final class ProtoBuf { // @@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.MessageLiteOrBuilder { - // required .PokerTHMessage.PokerTHMessageType messageType = 1; /** * required .PokerTHMessage.PokerTHMessageType messageType = 1; */ @@ -49804,7 +51209,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.PokerTHMessage.PokerTHMessageType getMessageType(); - // optional .AnnounceMessage announceMessage = 2; /** * optional .AnnounceMessage announceMessage = 2; */ @@ -49814,7 +51218,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.AnnounceMessage getAnnounceMessage(); - // optional .InitMessage initMessage = 3; /** * optional .InitMessage initMessage = 3; */ @@ -49824,7 +51227,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.InitMessage getInitMessage(); - // optional .AuthServerChallengeMessage authServerChallengeMessage = 4; /** * optional .AuthServerChallengeMessage authServerChallengeMessage = 4; */ @@ -49834,7 +51236,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage getAuthServerChallengeMessage(); - // optional .AuthClientResponseMessage authClientResponseMessage = 5; /** * optional .AuthClientResponseMessage authClientResponseMessage = 5; */ @@ -49844,7 +51245,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage getAuthClientResponseMessage(); - // optional .AuthServerVerificationMessage authServerVerificationMessage = 6; /** * optional .AuthServerVerificationMessage authServerVerificationMessage = 6; */ @@ -49854,7 +51254,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage getAuthServerVerificationMessage(); - // optional .InitAckMessage initAckMessage = 7; /** * optional .InitAckMessage initAckMessage = 7; */ @@ -49864,7 +51263,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.InitAckMessage getInitAckMessage(); - // optional .AvatarRequestMessage avatarRequestMessage = 8; /** * optional .AvatarRequestMessage avatarRequestMessage = 8; */ @@ -49874,7 +51272,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.AvatarRequestMessage getAvatarRequestMessage(); - // optional .AvatarHeaderMessage avatarHeaderMessage = 9; /** * optional .AvatarHeaderMessage avatarHeaderMessage = 9; */ @@ -49884,7 +51281,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage getAvatarHeaderMessage(); - // optional .AvatarDataMessage avatarDataMessage = 10; /** * optional .AvatarDataMessage avatarDataMessage = 10; */ @@ -49894,7 +51290,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.AvatarDataMessage getAvatarDataMessage(); - // optional .AvatarEndMessage avatarEndMessage = 11; /** * optional .AvatarEndMessage avatarEndMessage = 11; */ @@ -49904,7 +51299,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.AvatarEndMessage getAvatarEndMessage(); - // optional .UnknownAvatarMessage unknownAvatarMessage = 12; /** * optional .UnknownAvatarMessage unknownAvatarMessage = 12; */ @@ -49914,7 +51308,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage getUnknownAvatarMessage(); - // optional .PlayerListMessage playerListMessage = 13; /** * optional .PlayerListMessage playerListMessage = 13; */ @@ -49924,7 +51317,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.PlayerListMessage getPlayerListMessage(); - // optional .GameListNewMessage gameListNewMessage = 14; /** * optional .GameListNewMessage gameListNewMessage = 14; */ @@ -49934,7 +51326,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.GameListNewMessage getGameListNewMessage(); - // optional .GameListUpdateMessage gameListUpdateMessage = 15; /** * optional .GameListUpdateMessage gameListUpdateMessage = 15; */ @@ -49944,7 +51335,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.GameListUpdateMessage getGameListUpdateMessage(); - // optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 16; /** * optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 16; */ @@ -49954,7 +51344,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage getGameListPlayerJoinedMessage(); - // optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 17; /** * optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 17; */ @@ -49964,7 +51353,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage getGameListPlayerLeftMessage(); - // optional .GameListAdminChangedMessage gameListAdminChangedMessage = 18; /** * optional .GameListAdminChangedMessage gameListAdminChangedMessage = 18; */ @@ -49974,7 +51362,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage getGameListAdminChangedMessage(); - // optional .PlayerInfoRequestMessage playerInfoRequestMessage = 19; /** * optional .PlayerInfoRequestMessage playerInfoRequestMessage = 19; */ @@ -49984,7 +51371,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage getPlayerInfoRequestMessage(); - // optional .PlayerInfoReplyMessage playerInfoReplyMessage = 20; /** * optional .PlayerInfoReplyMessage playerInfoReplyMessage = 20; */ @@ -49994,7 +51380,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage getPlayerInfoReplyMessage(); - // optional .SubscriptionRequestMessage subscriptionRequestMessage = 21; /** * optional .SubscriptionRequestMessage subscriptionRequestMessage = 21; */ @@ -50004,7 +51389,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage getSubscriptionRequestMessage(); - // optional .JoinExistingGameMessage joinExistingGameMessage = 22; /** * optional .JoinExistingGameMessage joinExistingGameMessage = 22; */ @@ -50014,7 +51398,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage getJoinExistingGameMessage(); - // optional .JoinNewGameMessage joinNewGameMessage = 23; /** * optional .JoinNewGameMessage joinNewGameMessage = 23; */ @@ -50024,7 +51407,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.JoinNewGameMessage getJoinNewGameMessage(); - // optional .RejoinExistingGameMessage rejoinExistingGameMessage = 24; /** * optional .RejoinExistingGameMessage rejoinExistingGameMessage = 24; */ @@ -50034,7 +51416,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage getRejoinExistingGameMessage(); - // optional .JoinGameAckMessage joinGameAckMessage = 25; /** * optional .JoinGameAckMessage joinGameAckMessage = 25; */ @@ -50044,7 +51425,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.JoinGameAckMessage getJoinGameAckMessage(); - // optional .JoinGameFailedMessage joinGameFailedMessage = 26; /** * optional .JoinGameFailedMessage joinGameFailedMessage = 26; */ @@ -50054,7 +51434,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage getJoinGameFailedMessage(); - // optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 27; /** * optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 27; */ @@ -50064,7 +51443,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage getGamePlayerJoinedMessage(); - // optional .GamePlayerLeftMessage gamePlayerLeftMessage = 28; /** * optional .GamePlayerLeftMessage gamePlayerLeftMessage = 28; */ @@ -50074,7 +51452,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage getGamePlayerLeftMessage(); - // optional .GameAdminChangedMessage gameAdminChangedMessage = 29; /** * optional .GameAdminChangedMessage gameAdminChangedMessage = 29; */ @@ -50084,7 +51461,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage getGameAdminChangedMessage(); - // optional .RemovedFromGameMessage removedFromGameMessage = 30; /** * optional .RemovedFromGameMessage removedFromGameMessage = 30; */ @@ -50094,7 +51470,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage getRemovedFromGameMessage(); - // optional .KickPlayerRequestMessage kickPlayerRequestMessage = 31; /** * optional .KickPlayerRequestMessage kickPlayerRequestMessage = 31; */ @@ -50104,7 +51479,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage getKickPlayerRequestMessage(); - // optional .LeaveGameRequestMessage leaveGameRequestMessage = 32; /** * optional .LeaveGameRequestMessage leaveGameRequestMessage = 32; */ @@ -50114,7 +51488,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage getLeaveGameRequestMessage(); - // optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 33; /** * optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 33; */ @@ -50124,7 +51497,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage getInvitePlayerToGameMessage(); - // optional .InviteNotifyMessage inviteNotifyMessage = 34; /** * optional .InviteNotifyMessage inviteNotifyMessage = 34; */ @@ -50134,7 +51506,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.InviteNotifyMessage getInviteNotifyMessage(); - // optional .RejectGameInvitationMessage rejectGameInvitationMessage = 35; /** * optional .RejectGameInvitationMessage rejectGameInvitationMessage = 35; */ @@ -50144,7 +51515,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage getRejectGameInvitationMessage(); - // optional .RejectInvNotifyMessage rejectInvNotifyMessage = 36; /** * optional .RejectInvNotifyMessage rejectInvNotifyMessage = 36; */ @@ -50154,7 +51524,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage getRejectInvNotifyMessage(); - // optional .StartEventMessage startEventMessage = 37; /** * optional .StartEventMessage startEventMessage = 37; */ @@ -50164,7 +51533,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.StartEventMessage getStartEventMessage(); - // optional .StartEventAckMessage startEventAckMessage = 38; /** * optional .StartEventAckMessage startEventAckMessage = 38; */ @@ -50174,7 +51542,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.StartEventAckMessage getStartEventAckMessage(); - // optional .GameStartInitialMessage gameStartInitialMessage = 39; /** * optional .GameStartInitialMessage gameStartInitialMessage = 39; */ @@ -50184,7 +51551,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.GameStartInitialMessage getGameStartInitialMessage(); - // optional .GameStartRejoinMessage gameStartRejoinMessage = 40; /** * optional .GameStartRejoinMessage gameStartRejoinMessage = 40; */ @@ -50194,7 +51560,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage getGameStartRejoinMessage(); - // optional .HandStartMessage handStartMessage = 41; /** * optional .HandStartMessage handStartMessage = 41; */ @@ -50204,7 +51569,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.HandStartMessage getHandStartMessage(); - // optional .PlayersTurnMessage playersTurnMessage = 42; /** * optional .PlayersTurnMessage playersTurnMessage = 42; */ @@ -50214,7 +51578,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.PlayersTurnMessage getPlayersTurnMessage(); - // optional .MyActionRequestMessage myActionRequestMessage = 43; /** * optional .MyActionRequestMessage myActionRequestMessage = 43; */ @@ -50224,7 +51587,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.MyActionRequestMessage getMyActionRequestMessage(); - // optional .YourActionRejectedMessage yourActionRejectedMessage = 44; /** * optional .YourActionRejectedMessage yourActionRejectedMessage = 44; */ @@ -50234,7 +51596,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage getYourActionRejectedMessage(); - // optional .PlayersActionDoneMessage playersActionDoneMessage = 45; /** * optional .PlayersActionDoneMessage playersActionDoneMessage = 45; */ @@ -50244,7 +51605,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage getPlayersActionDoneMessage(); - // optional .DealFlopCardsMessage dealFlopCardsMessage = 46; /** * optional .DealFlopCardsMessage dealFlopCardsMessage = 46; */ @@ -50254,7 +51614,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage getDealFlopCardsMessage(); - // optional .DealTurnCardMessage dealTurnCardMessage = 47; /** * optional .DealTurnCardMessage dealTurnCardMessage = 47; */ @@ -50264,7 +51623,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.DealTurnCardMessage getDealTurnCardMessage(); - // optional .DealRiverCardMessage dealRiverCardMessage = 48; /** * optional .DealRiverCardMessage dealRiverCardMessage = 48; */ @@ -50274,7 +51632,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.DealRiverCardMessage getDealRiverCardMessage(); - // optional .AllInShowCardsMessage allInShowCardsMessage = 49; /** * optional .AllInShowCardsMessage allInShowCardsMessage = 49; */ @@ -50284,7 +51641,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage getAllInShowCardsMessage(); - // optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 50; /** * optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 50; */ @@ -50294,7 +51650,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage getEndOfHandShowCardsMessage(); - // optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 51; /** * optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 51; */ @@ -50304,7 +51659,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage getEndOfHandHideCardsMessage(); - // optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 52; /** * optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 52; */ @@ -50314,7 +51668,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage getShowMyCardsRequestMessage(); - // optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 53; /** * optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 53; */ @@ -50324,7 +51677,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage getAfterHandShowCardsMessage(); - // optional .EndOfGameMessage endOfGameMessage = 54; /** * optional .EndOfGameMessage endOfGameMessage = 54; */ @@ -50334,7 +51686,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.EndOfGameMessage getEndOfGameMessage(); - // optional .PlayerIdChangedMessage playerIdChangedMessage = 55; /** * optional .PlayerIdChangedMessage playerIdChangedMessage = 55; */ @@ -50344,7 +51695,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage getPlayerIdChangedMessage(); - // optional .AskKickPlayerMessage askKickPlayerMessage = 56; /** * optional .AskKickPlayerMessage askKickPlayerMessage = 56; */ @@ -50354,7 +51704,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage getAskKickPlayerMessage(); - // optional .AskKickDeniedMessage askKickDeniedMessage = 57; /** * optional .AskKickDeniedMessage askKickDeniedMessage = 57; */ @@ -50364,7 +51713,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage getAskKickDeniedMessage(); - // optional .StartKickPetitionMessage startKickPetitionMessage = 58; /** * optional .StartKickPetitionMessage startKickPetitionMessage = 58; */ @@ -50374,7 +51722,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage getStartKickPetitionMessage(); - // optional .VoteKickRequestMessage voteKickRequestMessage = 59; /** * optional .VoteKickRequestMessage voteKickRequestMessage = 59; */ @@ -50384,7 +51731,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage getVoteKickRequestMessage(); - // optional .VoteKickReplyMessage voteKickReplyMessage = 60; /** * optional .VoteKickReplyMessage voteKickReplyMessage = 60; */ @@ -50394,7 +51740,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage getVoteKickReplyMessage(); - // optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 61; /** * optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 61; */ @@ -50404,7 +51749,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage getKickPetitionUpdateMessage(); - // optional .EndKickPetitionMessage endKickPetitionMessage = 62; /** * optional .EndKickPetitionMessage endKickPetitionMessage = 62; */ @@ -50414,7 +51758,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage getEndKickPetitionMessage(); - // optional .StatisticsMessage statisticsMessage = 63; /** * optional .StatisticsMessage statisticsMessage = 63; */ @@ -50424,7 +51767,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.StatisticsMessage getStatisticsMessage(); - // optional .ChatRequestMessage chatRequestMessage = 64; /** * optional .ChatRequestMessage chatRequestMessage = 64; */ @@ -50434,7 +51776,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.ChatRequestMessage getChatRequestMessage(); - // optional .ChatMessage chatMessage = 65; /** * optional .ChatMessage chatMessage = 65; */ @@ -50444,7 +51785,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.ChatMessage getChatMessage(); - // optional .ChatRejectMessage chatRejectMessage = 66; /** * optional .ChatRejectMessage chatRejectMessage = 66; */ @@ -50454,7 +51794,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.ChatRejectMessage getChatRejectMessage(); - // optional .DialogMessage dialogMessage = 67; /** * optional .DialogMessage dialogMessage = 67; */ @@ -50464,7 +51803,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.DialogMessage getDialogMessage(); - // optional .TimeoutWarningMessage timeoutWarningMessage = 68; /** * optional .TimeoutWarningMessage timeoutWarningMessage = 68; */ @@ -50474,7 +51812,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage getTimeoutWarningMessage(); - // optional .ResetTimeoutMessage resetTimeoutMessage = 69; /** * optional .ResetTimeoutMessage resetTimeoutMessage = 69; */ @@ -50484,7 +51821,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage getResetTimeoutMessage(); - // optional .ReportAvatarMessage reportAvatarMessage = 70; /** * optional .ReportAvatarMessage reportAvatarMessage = 70; */ @@ -50494,7 +51830,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.ReportAvatarMessage getReportAvatarMessage(); - // optional .ReportAvatarAckMessage reportAvatarAckMessage = 71; /** * optional .ReportAvatarAckMessage reportAvatarAckMessage = 71; */ @@ -50504,7 +51839,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage getReportAvatarAckMessage(); - // optional .ReportGameMessage reportGameMessage = 72; /** * optional .ReportGameMessage reportGameMessage = 72; */ @@ -50514,7 +51848,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.ReportGameMessage getReportGameMessage(); - // optional .ReportGameAckMessage reportGameAckMessage = 73; /** * optional .ReportGameAckMessage reportGameAckMessage = 73; */ @@ -50524,7 +51857,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.ReportGameAckMessage getReportGameAckMessage(); - // optional .ErrorMessage errorMessage = 74; /** * optional .ErrorMessage errorMessage = 74; */ @@ -50534,7 +51866,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.ErrorMessage getErrorMessage(); - // optional .AdminRemoveGameMessage adminRemoveGameMessage = 75; /** * optional .AdminRemoveGameMessage adminRemoveGameMessage = 75; */ @@ -50544,7 +51875,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage getAdminRemoveGameMessage(); - // optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 76; /** * optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 76; */ @@ -50554,7 +51884,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage getAdminRemoveGameAckMessage(); - // optional .AdminBanPlayerMessage adminBanPlayerMessage = 77; /** * optional .AdminBanPlayerMessage adminBanPlayerMessage = 77; */ @@ -50564,7 +51893,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage getAdminBanPlayerMessage(); - // optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 78; /** * optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 78; */ @@ -50574,7 +51902,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage getAdminBanPlayerAckMessage(); - // optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 79; /** * optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 79; */ @@ -50584,7 +51911,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage getGameListSpectatorJoinedMessage(); - // optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 80; /** * optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 80; */ @@ -50594,7 +51920,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage getGameListSpectatorLeftMessage(); - // optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 81; /** * optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 81; */ @@ -50604,7 +51929,6 @@ public final class ProtoBuf { */ de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage getGameSpectatorJoinedMessage(); - // optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 82; /** * optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 82; */ @@ -50618,14 +51942,15 @@ public final class ProtoBuf { * Protobuf type {@code PokerTHMessage} */ public static final class PokerTHMessage extends - com.google.protobuf.GeneratedMessageLite - implements PokerTHMessageOrBuilder { + com.google.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:PokerTHMessage) + PokerTHMessageOrBuilder { // Use PokerTHMessage.newBuilder() to construct. private PokerTHMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); - + this.unknownFields = builder.getUnknownFields(); } - private PokerTHMessage(boolean noInit) {} + private PokerTHMessage(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} private static final PokerTHMessage defaultInstance; public static PokerTHMessage getDefaultInstance() { @@ -50636,6 +51961,7 @@ public final class ProtoBuf { return defaultInstance; } + private final com.google.protobuf.ByteString unknownFields; private PokerTHMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -50644,6 +51970,11 @@ public final class ProtoBuf { int mutable_bitField0_ = 0; int mutable_bitField1_ = 0; int mutable_bitField2_ = 0; + com.google.protobuf.ByteString.Output unknownFieldsOutput = + com.google.protobuf.ByteString.newOutput(); + com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = + com.google.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); try { boolean done = false; while (!done) { @@ -50653,7 +51984,7 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, + if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } @@ -50662,7 +51993,10 @@ public final class ProtoBuf { case 8: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.PokerTHMessage.PokerTHMessageType value = de.pokerth.protocol.ProtoBuf.PokerTHMessage.PokerTHMessageType.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFieldsCodedOutput.writeRawVarint32(tag); + unknownFieldsCodedOutput.writeRawVarint32(rawValue); + } else { bitField0_ |= 0x00000001; messageType_ = value; } @@ -51729,6 +53063,13 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } makeExtensionsImmutable(); } } @@ -52517,7 +53858,6 @@ 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_; /** @@ -52533,7 +53873,6 @@ public final class ProtoBuf { return messageType_; } - // optional .AnnounceMessage announceMessage = 2; public static final int ANNOUNCEMESSAGE_FIELD_NUMBER = 2; private de.pokerth.protocol.ProtoBuf.AnnounceMessage announceMessage_; /** @@ -52549,7 +53888,6 @@ public final class ProtoBuf { return announceMessage_; } - // optional .InitMessage initMessage = 3; public static final int INITMESSAGE_FIELD_NUMBER = 3; private de.pokerth.protocol.ProtoBuf.InitMessage initMessage_; /** @@ -52565,7 +53903,6 @@ public final class ProtoBuf { return initMessage_; } - // optional .AuthServerChallengeMessage authServerChallengeMessage = 4; public static final int AUTHSERVERCHALLENGEMESSAGE_FIELD_NUMBER = 4; private de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage authServerChallengeMessage_; /** @@ -52581,7 +53918,6 @@ public final class ProtoBuf { return authServerChallengeMessage_; } - // optional .AuthClientResponseMessage authClientResponseMessage = 5; public static final int AUTHCLIENTRESPONSEMESSAGE_FIELD_NUMBER = 5; private de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage authClientResponseMessage_; /** @@ -52597,7 +53933,6 @@ public final class ProtoBuf { return authClientResponseMessage_; } - // optional .AuthServerVerificationMessage authServerVerificationMessage = 6; public static final int AUTHSERVERVERIFICATIONMESSAGE_FIELD_NUMBER = 6; private de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage authServerVerificationMessage_; /** @@ -52613,7 +53948,6 @@ public final class ProtoBuf { return authServerVerificationMessage_; } - // optional .InitAckMessage initAckMessage = 7; public static final int INITACKMESSAGE_FIELD_NUMBER = 7; private de.pokerth.protocol.ProtoBuf.InitAckMessage initAckMessage_; /** @@ -52629,7 +53963,6 @@ public final class ProtoBuf { return initAckMessage_; } - // optional .AvatarRequestMessage avatarRequestMessage = 8; public static final int AVATARREQUESTMESSAGE_FIELD_NUMBER = 8; private de.pokerth.protocol.ProtoBuf.AvatarRequestMessage avatarRequestMessage_; /** @@ -52645,7 +53978,6 @@ public final class ProtoBuf { return avatarRequestMessage_; } - // optional .AvatarHeaderMessage avatarHeaderMessage = 9; public static final int AVATARHEADERMESSAGE_FIELD_NUMBER = 9; private de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage avatarHeaderMessage_; /** @@ -52661,7 +53993,6 @@ public final class ProtoBuf { return avatarHeaderMessage_; } - // optional .AvatarDataMessage avatarDataMessage = 10; public static final int AVATARDATAMESSAGE_FIELD_NUMBER = 10; private de.pokerth.protocol.ProtoBuf.AvatarDataMessage avatarDataMessage_; /** @@ -52677,7 +54008,6 @@ public final class ProtoBuf { return avatarDataMessage_; } - // optional .AvatarEndMessage avatarEndMessage = 11; public static final int AVATARENDMESSAGE_FIELD_NUMBER = 11; private de.pokerth.protocol.ProtoBuf.AvatarEndMessage avatarEndMessage_; /** @@ -52693,7 +54023,6 @@ public final class ProtoBuf { return avatarEndMessage_; } - // optional .UnknownAvatarMessage unknownAvatarMessage = 12; public static final int UNKNOWNAVATARMESSAGE_FIELD_NUMBER = 12; private de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage unknownAvatarMessage_; /** @@ -52709,7 +54038,6 @@ public final class ProtoBuf { return unknownAvatarMessage_; } - // optional .PlayerListMessage playerListMessage = 13; public static final int PLAYERLISTMESSAGE_FIELD_NUMBER = 13; private de.pokerth.protocol.ProtoBuf.PlayerListMessage playerListMessage_; /** @@ -52725,7 +54053,6 @@ public final class ProtoBuf { return playerListMessage_; } - // optional .GameListNewMessage gameListNewMessage = 14; public static final int GAMELISTNEWMESSAGE_FIELD_NUMBER = 14; private de.pokerth.protocol.ProtoBuf.GameListNewMessage gameListNewMessage_; /** @@ -52741,7 +54068,6 @@ public final class ProtoBuf { return gameListNewMessage_; } - // optional .GameListUpdateMessage gameListUpdateMessage = 15; public static final int GAMELISTUPDATEMESSAGE_FIELD_NUMBER = 15; private de.pokerth.protocol.ProtoBuf.GameListUpdateMessage gameListUpdateMessage_; /** @@ -52757,7 +54083,6 @@ public final class ProtoBuf { return gameListUpdateMessage_; } - // optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 16; public static final int GAMELISTPLAYERJOINEDMESSAGE_FIELD_NUMBER = 16; private de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage gameListPlayerJoinedMessage_; /** @@ -52773,7 +54098,6 @@ public final class ProtoBuf { return gameListPlayerJoinedMessage_; } - // optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 17; public static final int GAMELISTPLAYERLEFTMESSAGE_FIELD_NUMBER = 17; private de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage gameListPlayerLeftMessage_; /** @@ -52789,7 +54113,6 @@ public final class ProtoBuf { return gameListPlayerLeftMessage_; } - // optional .GameListAdminChangedMessage gameListAdminChangedMessage = 18; public static final int GAMELISTADMINCHANGEDMESSAGE_FIELD_NUMBER = 18; private de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage gameListAdminChangedMessage_; /** @@ -52805,7 +54128,6 @@ public final class ProtoBuf { return gameListAdminChangedMessage_; } - // optional .PlayerInfoRequestMessage playerInfoRequestMessage = 19; public static final int PLAYERINFOREQUESTMESSAGE_FIELD_NUMBER = 19; private de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage playerInfoRequestMessage_; /** @@ -52821,7 +54143,6 @@ public final class ProtoBuf { return playerInfoRequestMessage_; } - // optional .PlayerInfoReplyMessage playerInfoReplyMessage = 20; public static final int PLAYERINFOREPLYMESSAGE_FIELD_NUMBER = 20; private de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage playerInfoReplyMessage_; /** @@ -52837,7 +54158,6 @@ public final class ProtoBuf { return playerInfoReplyMessage_; } - // optional .SubscriptionRequestMessage subscriptionRequestMessage = 21; public static final int SUBSCRIPTIONREQUESTMESSAGE_FIELD_NUMBER = 21; private de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage subscriptionRequestMessage_; /** @@ -52853,7 +54173,6 @@ public final class ProtoBuf { return subscriptionRequestMessage_; } - // optional .JoinExistingGameMessage joinExistingGameMessage = 22; public static final int JOINEXISTINGGAMEMESSAGE_FIELD_NUMBER = 22; private de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage joinExistingGameMessage_; /** @@ -52869,7 +54188,6 @@ public final class ProtoBuf { return joinExistingGameMessage_; } - // optional .JoinNewGameMessage joinNewGameMessage = 23; public static final int JOINNEWGAMEMESSAGE_FIELD_NUMBER = 23; private de.pokerth.protocol.ProtoBuf.JoinNewGameMessage joinNewGameMessage_; /** @@ -52885,7 +54203,6 @@ public final class ProtoBuf { return joinNewGameMessage_; } - // optional .RejoinExistingGameMessage rejoinExistingGameMessage = 24; public static final int REJOINEXISTINGGAMEMESSAGE_FIELD_NUMBER = 24; private de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage rejoinExistingGameMessage_; /** @@ -52901,7 +54218,6 @@ public final class ProtoBuf { return rejoinExistingGameMessage_; } - // optional .JoinGameAckMessage joinGameAckMessage = 25; public static final int JOINGAMEACKMESSAGE_FIELD_NUMBER = 25; private de.pokerth.protocol.ProtoBuf.JoinGameAckMessage joinGameAckMessage_; /** @@ -52917,7 +54233,6 @@ public final class ProtoBuf { return joinGameAckMessage_; } - // optional .JoinGameFailedMessage joinGameFailedMessage = 26; public static final int JOINGAMEFAILEDMESSAGE_FIELD_NUMBER = 26; private de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage joinGameFailedMessage_; /** @@ -52933,7 +54248,6 @@ public final class ProtoBuf { return joinGameFailedMessage_; } - // optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 27; public static final int GAMEPLAYERJOINEDMESSAGE_FIELD_NUMBER = 27; private de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage gamePlayerJoinedMessage_; /** @@ -52949,7 +54263,6 @@ public final class ProtoBuf { return gamePlayerJoinedMessage_; } - // optional .GamePlayerLeftMessage gamePlayerLeftMessage = 28; public static final int GAMEPLAYERLEFTMESSAGE_FIELD_NUMBER = 28; private de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage gamePlayerLeftMessage_; /** @@ -52965,7 +54278,6 @@ public final class ProtoBuf { return gamePlayerLeftMessage_; } - // optional .GameAdminChangedMessage gameAdminChangedMessage = 29; public static final int GAMEADMINCHANGEDMESSAGE_FIELD_NUMBER = 29; private de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage gameAdminChangedMessage_; /** @@ -52981,7 +54293,6 @@ public final class ProtoBuf { return gameAdminChangedMessage_; } - // optional .RemovedFromGameMessage removedFromGameMessage = 30; public static final int REMOVEDFROMGAMEMESSAGE_FIELD_NUMBER = 30; private de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage removedFromGameMessage_; /** @@ -52997,7 +54308,6 @@ public final class ProtoBuf { return removedFromGameMessage_; } - // optional .KickPlayerRequestMessage kickPlayerRequestMessage = 31; public static final int KICKPLAYERREQUESTMESSAGE_FIELD_NUMBER = 31; private de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage kickPlayerRequestMessage_; /** @@ -53013,7 +54323,6 @@ public final class ProtoBuf { return kickPlayerRequestMessage_; } - // optional .LeaveGameRequestMessage leaveGameRequestMessage = 32; public static final int LEAVEGAMEREQUESTMESSAGE_FIELD_NUMBER = 32; private de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage leaveGameRequestMessage_; /** @@ -53029,7 +54338,6 @@ public final class ProtoBuf { return leaveGameRequestMessage_; } - // optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 33; public static final int INVITEPLAYERTOGAMEMESSAGE_FIELD_NUMBER = 33; private de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage invitePlayerToGameMessage_; /** @@ -53045,7 +54353,6 @@ public final class ProtoBuf { return invitePlayerToGameMessage_; } - // optional .InviteNotifyMessage inviteNotifyMessage = 34; public static final int INVITENOTIFYMESSAGE_FIELD_NUMBER = 34; private de.pokerth.protocol.ProtoBuf.InviteNotifyMessage inviteNotifyMessage_; /** @@ -53061,7 +54368,6 @@ public final class ProtoBuf { return inviteNotifyMessage_; } - // optional .RejectGameInvitationMessage rejectGameInvitationMessage = 35; public static final int REJECTGAMEINVITATIONMESSAGE_FIELD_NUMBER = 35; private de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage rejectGameInvitationMessage_; /** @@ -53077,7 +54383,6 @@ public final class ProtoBuf { return rejectGameInvitationMessage_; } - // optional .RejectInvNotifyMessage rejectInvNotifyMessage = 36; public static final int REJECTINVNOTIFYMESSAGE_FIELD_NUMBER = 36; private de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage rejectInvNotifyMessage_; /** @@ -53093,7 +54398,6 @@ public final class ProtoBuf { return rejectInvNotifyMessage_; } - // optional .StartEventMessage startEventMessage = 37; public static final int STARTEVENTMESSAGE_FIELD_NUMBER = 37; private de.pokerth.protocol.ProtoBuf.StartEventMessage startEventMessage_; /** @@ -53109,7 +54413,6 @@ public final class ProtoBuf { return startEventMessage_; } - // optional .StartEventAckMessage startEventAckMessage = 38; public static final int STARTEVENTACKMESSAGE_FIELD_NUMBER = 38; private de.pokerth.protocol.ProtoBuf.StartEventAckMessage startEventAckMessage_; /** @@ -53125,7 +54428,6 @@ public final class ProtoBuf { return startEventAckMessage_; } - // optional .GameStartInitialMessage gameStartInitialMessage = 39; public static final int GAMESTARTINITIALMESSAGE_FIELD_NUMBER = 39; private de.pokerth.protocol.ProtoBuf.GameStartInitialMessage gameStartInitialMessage_; /** @@ -53141,7 +54443,6 @@ public final class ProtoBuf { return gameStartInitialMessage_; } - // optional .GameStartRejoinMessage gameStartRejoinMessage = 40; public static final int GAMESTARTREJOINMESSAGE_FIELD_NUMBER = 40; private de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage gameStartRejoinMessage_; /** @@ -53157,7 +54458,6 @@ public final class ProtoBuf { return gameStartRejoinMessage_; } - // optional .HandStartMessage handStartMessage = 41; public static final int HANDSTARTMESSAGE_FIELD_NUMBER = 41; private de.pokerth.protocol.ProtoBuf.HandStartMessage handStartMessage_; /** @@ -53173,7 +54473,6 @@ public final class ProtoBuf { return handStartMessage_; } - // optional .PlayersTurnMessage playersTurnMessage = 42; public static final int PLAYERSTURNMESSAGE_FIELD_NUMBER = 42; private de.pokerth.protocol.ProtoBuf.PlayersTurnMessage playersTurnMessage_; /** @@ -53189,7 +54488,6 @@ public final class ProtoBuf { return playersTurnMessage_; } - // optional .MyActionRequestMessage myActionRequestMessage = 43; public static final int MYACTIONREQUESTMESSAGE_FIELD_NUMBER = 43; private de.pokerth.protocol.ProtoBuf.MyActionRequestMessage myActionRequestMessage_; /** @@ -53205,7 +54503,6 @@ public final class ProtoBuf { return myActionRequestMessage_; } - // optional .YourActionRejectedMessage yourActionRejectedMessage = 44; public static final int YOURACTIONREJECTEDMESSAGE_FIELD_NUMBER = 44; private de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage yourActionRejectedMessage_; /** @@ -53221,7 +54518,6 @@ public final class ProtoBuf { return yourActionRejectedMessage_; } - // optional .PlayersActionDoneMessage playersActionDoneMessage = 45; public static final int PLAYERSACTIONDONEMESSAGE_FIELD_NUMBER = 45; private de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage playersActionDoneMessage_; /** @@ -53237,7 +54533,6 @@ public final class ProtoBuf { return playersActionDoneMessage_; } - // optional .DealFlopCardsMessage dealFlopCardsMessage = 46; public static final int DEALFLOPCARDSMESSAGE_FIELD_NUMBER = 46; private de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage dealFlopCardsMessage_; /** @@ -53253,7 +54548,6 @@ public final class ProtoBuf { return dealFlopCardsMessage_; } - // optional .DealTurnCardMessage dealTurnCardMessage = 47; public static final int DEALTURNCARDMESSAGE_FIELD_NUMBER = 47; private de.pokerth.protocol.ProtoBuf.DealTurnCardMessage dealTurnCardMessage_; /** @@ -53269,7 +54563,6 @@ public final class ProtoBuf { return dealTurnCardMessage_; } - // optional .DealRiverCardMessage dealRiverCardMessage = 48; public static final int DEALRIVERCARDMESSAGE_FIELD_NUMBER = 48; private de.pokerth.protocol.ProtoBuf.DealRiverCardMessage dealRiverCardMessage_; /** @@ -53285,7 +54578,6 @@ public final class ProtoBuf { return dealRiverCardMessage_; } - // optional .AllInShowCardsMessage allInShowCardsMessage = 49; public static final int ALLINSHOWCARDSMESSAGE_FIELD_NUMBER = 49; private de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage allInShowCardsMessage_; /** @@ -53301,7 +54593,6 @@ public final class ProtoBuf { return allInShowCardsMessage_; } - // optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 50; public static final int ENDOFHANDSHOWCARDSMESSAGE_FIELD_NUMBER = 50; private de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage endOfHandShowCardsMessage_; /** @@ -53317,7 +54608,6 @@ public final class ProtoBuf { return endOfHandShowCardsMessage_; } - // optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 51; public static final int ENDOFHANDHIDECARDSMESSAGE_FIELD_NUMBER = 51; private de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage endOfHandHideCardsMessage_; /** @@ -53333,7 +54623,6 @@ public final class ProtoBuf { return endOfHandHideCardsMessage_; } - // optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 52; public static final int SHOWMYCARDSREQUESTMESSAGE_FIELD_NUMBER = 52; private de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage showMyCardsRequestMessage_; /** @@ -53349,7 +54638,6 @@ public final class ProtoBuf { return showMyCardsRequestMessage_; } - // optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 53; public static final int AFTERHANDSHOWCARDSMESSAGE_FIELD_NUMBER = 53; private de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage afterHandShowCardsMessage_; /** @@ -53365,7 +54653,6 @@ public final class ProtoBuf { return afterHandShowCardsMessage_; } - // optional .EndOfGameMessage endOfGameMessage = 54; public static final int ENDOFGAMEMESSAGE_FIELD_NUMBER = 54; private de.pokerth.protocol.ProtoBuf.EndOfGameMessage endOfGameMessage_; /** @@ -53381,7 +54668,6 @@ public final class ProtoBuf { return endOfGameMessage_; } - // optional .PlayerIdChangedMessage playerIdChangedMessage = 55; public static final int PLAYERIDCHANGEDMESSAGE_FIELD_NUMBER = 55; private de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage playerIdChangedMessage_; /** @@ -53397,7 +54683,6 @@ public final class ProtoBuf { return playerIdChangedMessage_; } - // optional .AskKickPlayerMessage askKickPlayerMessage = 56; public static final int ASKKICKPLAYERMESSAGE_FIELD_NUMBER = 56; private de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage askKickPlayerMessage_; /** @@ -53413,7 +54698,6 @@ public final class ProtoBuf { return askKickPlayerMessage_; } - // optional .AskKickDeniedMessage askKickDeniedMessage = 57; public static final int ASKKICKDENIEDMESSAGE_FIELD_NUMBER = 57; private de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage askKickDeniedMessage_; /** @@ -53429,7 +54713,6 @@ public final class ProtoBuf { return askKickDeniedMessage_; } - // optional .StartKickPetitionMessage startKickPetitionMessage = 58; public static final int STARTKICKPETITIONMESSAGE_FIELD_NUMBER = 58; private de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage startKickPetitionMessage_; /** @@ -53445,7 +54728,6 @@ public final class ProtoBuf { return startKickPetitionMessage_; } - // optional .VoteKickRequestMessage voteKickRequestMessage = 59; public static final int VOTEKICKREQUESTMESSAGE_FIELD_NUMBER = 59; private de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage voteKickRequestMessage_; /** @@ -53461,7 +54743,6 @@ public final class ProtoBuf { return voteKickRequestMessage_; } - // optional .VoteKickReplyMessage voteKickReplyMessage = 60; public static final int VOTEKICKREPLYMESSAGE_FIELD_NUMBER = 60; private de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage voteKickReplyMessage_; /** @@ -53477,7 +54758,6 @@ public final class ProtoBuf { return voteKickReplyMessage_; } - // optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 61; public static final int KICKPETITIONUPDATEMESSAGE_FIELD_NUMBER = 61; private de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage kickPetitionUpdateMessage_; /** @@ -53493,7 +54773,6 @@ public final class ProtoBuf { return kickPetitionUpdateMessage_; } - // optional .EndKickPetitionMessage endKickPetitionMessage = 62; public static final int ENDKICKPETITIONMESSAGE_FIELD_NUMBER = 62; private de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage endKickPetitionMessage_; /** @@ -53509,7 +54788,6 @@ public final class ProtoBuf { return endKickPetitionMessage_; } - // optional .StatisticsMessage statisticsMessage = 63; public static final int STATISTICSMESSAGE_FIELD_NUMBER = 63; private de.pokerth.protocol.ProtoBuf.StatisticsMessage statisticsMessage_; /** @@ -53525,7 +54803,6 @@ public final class ProtoBuf { return statisticsMessage_; } - // optional .ChatRequestMessage chatRequestMessage = 64; public static final int CHATREQUESTMESSAGE_FIELD_NUMBER = 64; private de.pokerth.protocol.ProtoBuf.ChatRequestMessage chatRequestMessage_; /** @@ -53541,7 +54818,6 @@ public final class ProtoBuf { return chatRequestMessage_; } - // optional .ChatMessage chatMessage = 65; public static final int CHATMESSAGE_FIELD_NUMBER = 65; private de.pokerth.protocol.ProtoBuf.ChatMessage chatMessage_; /** @@ -53557,7 +54833,6 @@ public final class ProtoBuf { return chatMessage_; } - // optional .ChatRejectMessage chatRejectMessage = 66; public static final int CHATREJECTMESSAGE_FIELD_NUMBER = 66; private de.pokerth.protocol.ProtoBuf.ChatRejectMessage chatRejectMessage_; /** @@ -53573,7 +54848,6 @@ public final class ProtoBuf { return chatRejectMessage_; } - // optional .DialogMessage dialogMessage = 67; public static final int DIALOGMESSAGE_FIELD_NUMBER = 67; private de.pokerth.protocol.ProtoBuf.DialogMessage dialogMessage_; /** @@ -53589,7 +54863,6 @@ public final class ProtoBuf { return dialogMessage_; } - // optional .TimeoutWarningMessage timeoutWarningMessage = 68; public static final int TIMEOUTWARNINGMESSAGE_FIELD_NUMBER = 68; private de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage timeoutWarningMessage_; /** @@ -53605,7 +54878,6 @@ public final class ProtoBuf { return timeoutWarningMessage_; } - // optional .ResetTimeoutMessage resetTimeoutMessage = 69; public static final int RESETTIMEOUTMESSAGE_FIELD_NUMBER = 69; private de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage resetTimeoutMessage_; /** @@ -53621,7 +54893,6 @@ public final class ProtoBuf { return resetTimeoutMessage_; } - // optional .ReportAvatarMessage reportAvatarMessage = 70; public static final int REPORTAVATARMESSAGE_FIELD_NUMBER = 70; private de.pokerth.protocol.ProtoBuf.ReportAvatarMessage reportAvatarMessage_; /** @@ -53637,7 +54908,6 @@ public final class ProtoBuf { return reportAvatarMessage_; } - // optional .ReportAvatarAckMessage reportAvatarAckMessage = 71; public static final int REPORTAVATARACKMESSAGE_FIELD_NUMBER = 71; private de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage reportAvatarAckMessage_; /** @@ -53653,7 +54923,6 @@ public final class ProtoBuf { return reportAvatarAckMessage_; } - // optional .ReportGameMessage reportGameMessage = 72; public static final int REPORTGAMEMESSAGE_FIELD_NUMBER = 72; private de.pokerth.protocol.ProtoBuf.ReportGameMessage reportGameMessage_; /** @@ -53669,7 +54938,6 @@ public final class ProtoBuf { return reportGameMessage_; } - // optional .ReportGameAckMessage reportGameAckMessage = 73; public static final int REPORTGAMEACKMESSAGE_FIELD_NUMBER = 73; private de.pokerth.protocol.ProtoBuf.ReportGameAckMessage reportGameAckMessage_; /** @@ -53685,7 +54953,6 @@ public final class ProtoBuf { return reportGameAckMessage_; } - // optional .ErrorMessage errorMessage = 74; public static final int ERRORMESSAGE_FIELD_NUMBER = 74; private de.pokerth.protocol.ProtoBuf.ErrorMessage errorMessage_; /** @@ -53701,7 +54968,6 @@ public final class ProtoBuf { return errorMessage_; } - // optional .AdminRemoveGameMessage adminRemoveGameMessage = 75; public static final int ADMINREMOVEGAMEMESSAGE_FIELD_NUMBER = 75; private de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage adminRemoveGameMessage_; /** @@ -53717,7 +54983,6 @@ public final class ProtoBuf { return adminRemoveGameMessage_; } - // optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 76; public static final int ADMINREMOVEGAMEACKMESSAGE_FIELD_NUMBER = 76; private de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage adminRemoveGameAckMessage_; /** @@ -53733,7 +54998,6 @@ public final class ProtoBuf { return adminRemoveGameAckMessage_; } - // optional .AdminBanPlayerMessage adminBanPlayerMessage = 77; public static final int ADMINBANPLAYERMESSAGE_FIELD_NUMBER = 77; private de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage adminBanPlayerMessage_; /** @@ -53749,7 +55013,6 @@ public final class ProtoBuf { return adminBanPlayerMessage_; } - // optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 78; public static final int ADMINBANPLAYERACKMESSAGE_FIELD_NUMBER = 78; private de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage adminBanPlayerAckMessage_; /** @@ -53765,7 +55028,6 @@ public final class ProtoBuf { return adminBanPlayerAckMessage_; } - // optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 79; public static final int GAMELISTSPECTATORJOINEDMESSAGE_FIELD_NUMBER = 79; private de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage_; /** @@ -53781,7 +55043,6 @@ public final class ProtoBuf { return gameListSpectatorJoinedMessage_; } - // optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 80; public static final int GAMELISTSPECTATORLEFTMESSAGE_FIELD_NUMBER = 80; private de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage gameListSpectatorLeftMessage_; /** @@ -53797,7 +55058,6 @@ public final class ProtoBuf { return gameListSpectatorLeftMessage_; } - // optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 81; public static final int GAMESPECTATORJOINEDMESSAGE_FIELD_NUMBER = 81; private de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage gameSpectatorJoinedMessage_; /** @@ -53813,7 +55073,6 @@ public final class ProtoBuf { return gameSpectatorJoinedMessage_; } - // optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 82; public static final int GAMESPECTATORLEFTMESSAGE_FIELD_NUMBER = 82; private de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage gameSpectatorLeftMessage_; /** @@ -53916,7 +55175,8 @@ public final class ProtoBuf { private byte memoizedIsInitialized = -1; 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; @@ -54643,6 +55903,7 @@ public final class ProtoBuf { if (((bitField2_ & 0x00020000) == 0x00020000)) { output.writeMessage(82, gameSpectatorLeftMessage_); } + output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; @@ -54979,6 +56240,7 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeMessageSize(82, gameSpectatorLeftMessage_); } + size += unknownFields.size(); memoizedSerializedSize = size; return size; } @@ -55056,7 +56318,9 @@ public final class ProtoBuf { public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.PokerTHMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.PokerTHMessageOrBuilder { + implements + // @@protoc_insertion_point(builder_implements:PokerTHMessage) + de.pokerth.protocol.ProtoBuf.PokerTHMessageOrBuilder { // Construct using de.pokerth.protocol.ProtoBuf.PokerTHMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); @@ -55843,6 +57107,8 @@ public final class ProtoBuf { if (other.hasGameSpectatorLeftMessage()) { mergeGameSpectatorLeftMessage(other.getGameSpectatorLeftMessage()); } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); return this; } @@ -56343,7 +57609,6 @@ 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; /** * required .PokerTHMessage.PokerTHMessageType messageType = 1; @@ -56379,7 +57644,6 @@ public final class ProtoBuf { return this; } - // optional .AnnounceMessage announceMessage = 2; private de.pokerth.protocol.ProtoBuf.AnnounceMessage announceMessage_ = de.pokerth.protocol.ProtoBuf.AnnounceMessage.getDefaultInstance(); /** * optional .AnnounceMessage announceMessage = 2; @@ -56440,7 +57704,6 @@ public final class ProtoBuf { return this; } - // optional .InitMessage initMessage = 3; private de.pokerth.protocol.ProtoBuf.InitMessage initMessage_ = de.pokerth.protocol.ProtoBuf.InitMessage.getDefaultInstance(); /** * optional .InitMessage initMessage = 3; @@ -56501,7 +57764,6 @@ public final class ProtoBuf { return this; } - // optional .AuthServerChallengeMessage authServerChallengeMessage = 4; private de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage authServerChallengeMessage_ = de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage.getDefaultInstance(); /** * optional .AuthServerChallengeMessage authServerChallengeMessage = 4; @@ -56562,7 +57824,6 @@ public final class ProtoBuf { return this; } - // optional .AuthClientResponseMessage authClientResponseMessage = 5; private de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage authClientResponseMessage_ = de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage.getDefaultInstance(); /** * optional .AuthClientResponseMessage authClientResponseMessage = 5; @@ -56623,7 +57884,6 @@ public final class ProtoBuf { return this; } - // optional .AuthServerVerificationMessage authServerVerificationMessage = 6; private de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage authServerVerificationMessage_ = de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage.getDefaultInstance(); /** * optional .AuthServerVerificationMessage authServerVerificationMessage = 6; @@ -56684,7 +57944,6 @@ public final class ProtoBuf { return this; } - // optional .InitAckMessage initAckMessage = 7; private de.pokerth.protocol.ProtoBuf.InitAckMessage initAckMessage_ = de.pokerth.protocol.ProtoBuf.InitAckMessage.getDefaultInstance(); /** * optional .InitAckMessage initAckMessage = 7; @@ -56745,7 +58004,6 @@ public final class ProtoBuf { return this; } - // optional .AvatarRequestMessage avatarRequestMessage = 8; private de.pokerth.protocol.ProtoBuf.AvatarRequestMessage avatarRequestMessage_ = de.pokerth.protocol.ProtoBuf.AvatarRequestMessage.getDefaultInstance(); /** * optional .AvatarRequestMessage avatarRequestMessage = 8; @@ -56806,7 +58064,6 @@ public final class ProtoBuf { return this; } - // optional .AvatarHeaderMessage avatarHeaderMessage = 9; private de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage avatarHeaderMessage_ = de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage.getDefaultInstance(); /** * optional .AvatarHeaderMessage avatarHeaderMessage = 9; @@ -56867,7 +58124,6 @@ public final class ProtoBuf { return this; } - // optional .AvatarDataMessage avatarDataMessage = 10; private de.pokerth.protocol.ProtoBuf.AvatarDataMessage avatarDataMessage_ = de.pokerth.protocol.ProtoBuf.AvatarDataMessage.getDefaultInstance(); /** * optional .AvatarDataMessage avatarDataMessage = 10; @@ -56928,7 +58184,6 @@ public final class ProtoBuf { return this; } - // optional .AvatarEndMessage avatarEndMessage = 11; private de.pokerth.protocol.ProtoBuf.AvatarEndMessage avatarEndMessage_ = de.pokerth.protocol.ProtoBuf.AvatarEndMessage.getDefaultInstance(); /** * optional .AvatarEndMessage avatarEndMessage = 11; @@ -56989,7 +58244,6 @@ public final class ProtoBuf { return this; } - // optional .UnknownAvatarMessage unknownAvatarMessage = 12; private de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage unknownAvatarMessage_ = de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage.getDefaultInstance(); /** * optional .UnknownAvatarMessage unknownAvatarMessage = 12; @@ -57050,7 +58304,6 @@ public final class ProtoBuf { return this; } - // optional .PlayerListMessage playerListMessage = 13; private de.pokerth.protocol.ProtoBuf.PlayerListMessage playerListMessage_ = de.pokerth.protocol.ProtoBuf.PlayerListMessage.getDefaultInstance(); /** * optional .PlayerListMessage playerListMessage = 13; @@ -57111,7 +58364,6 @@ public final class ProtoBuf { return this; } - // optional .GameListNewMessage gameListNewMessage = 14; private de.pokerth.protocol.ProtoBuf.GameListNewMessage gameListNewMessage_ = de.pokerth.protocol.ProtoBuf.GameListNewMessage.getDefaultInstance(); /** * optional .GameListNewMessage gameListNewMessage = 14; @@ -57172,7 +58424,6 @@ public final class ProtoBuf { return this; } - // optional .GameListUpdateMessage gameListUpdateMessage = 15; private de.pokerth.protocol.ProtoBuf.GameListUpdateMessage gameListUpdateMessage_ = de.pokerth.protocol.ProtoBuf.GameListUpdateMessage.getDefaultInstance(); /** * optional .GameListUpdateMessage gameListUpdateMessage = 15; @@ -57233,7 +58484,6 @@ public final class ProtoBuf { return this; } - // optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 16; private de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage gameListPlayerJoinedMessage_ = de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage.getDefaultInstance(); /** * optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 16; @@ -57294,7 +58544,6 @@ public final class ProtoBuf { return this; } - // optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 17; private de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage gameListPlayerLeftMessage_ = de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage.getDefaultInstance(); /** * optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 17; @@ -57355,7 +58604,6 @@ public final class ProtoBuf { return this; } - // optional .GameListAdminChangedMessage gameListAdminChangedMessage = 18; private de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage gameListAdminChangedMessage_ = de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage.getDefaultInstance(); /** * optional .GameListAdminChangedMessage gameListAdminChangedMessage = 18; @@ -57416,7 +58664,6 @@ public final class ProtoBuf { return this; } - // optional .PlayerInfoRequestMessage playerInfoRequestMessage = 19; private de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage playerInfoRequestMessage_ = de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage.getDefaultInstance(); /** * optional .PlayerInfoRequestMessage playerInfoRequestMessage = 19; @@ -57477,7 +58724,6 @@ public final class ProtoBuf { return this; } - // optional .PlayerInfoReplyMessage playerInfoReplyMessage = 20; private de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage playerInfoReplyMessage_ = de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.getDefaultInstance(); /** * optional .PlayerInfoReplyMessage playerInfoReplyMessage = 20; @@ -57538,7 +58784,6 @@ public final class ProtoBuf { return this; } - // optional .SubscriptionRequestMessage subscriptionRequestMessage = 21; private de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage subscriptionRequestMessage_ = de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.getDefaultInstance(); /** * optional .SubscriptionRequestMessage subscriptionRequestMessage = 21; @@ -57599,7 +58844,6 @@ public final class ProtoBuf { return this; } - // optional .JoinExistingGameMessage joinExistingGameMessage = 22; private de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage joinExistingGameMessage_ = de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage.getDefaultInstance(); /** * optional .JoinExistingGameMessage joinExistingGameMessage = 22; @@ -57660,7 +58904,6 @@ public final class ProtoBuf { return this; } - // optional .JoinNewGameMessage joinNewGameMessage = 23; private de.pokerth.protocol.ProtoBuf.JoinNewGameMessage joinNewGameMessage_ = de.pokerth.protocol.ProtoBuf.JoinNewGameMessage.getDefaultInstance(); /** * optional .JoinNewGameMessage joinNewGameMessage = 23; @@ -57721,7 +58964,6 @@ public final class ProtoBuf { return this; } - // optional .RejoinExistingGameMessage rejoinExistingGameMessage = 24; private de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage rejoinExistingGameMessage_ = de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage.getDefaultInstance(); /** * optional .RejoinExistingGameMessage rejoinExistingGameMessage = 24; @@ -57782,7 +59024,6 @@ public final class ProtoBuf { return this; } - // optional .JoinGameAckMessage joinGameAckMessage = 25; private de.pokerth.protocol.ProtoBuf.JoinGameAckMessage joinGameAckMessage_ = de.pokerth.protocol.ProtoBuf.JoinGameAckMessage.getDefaultInstance(); /** * optional .JoinGameAckMessage joinGameAckMessage = 25; @@ -57843,7 +59084,6 @@ public final class ProtoBuf { return this; } - // optional .JoinGameFailedMessage joinGameFailedMessage = 26; private de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage joinGameFailedMessage_ = de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.getDefaultInstance(); /** * optional .JoinGameFailedMessage joinGameFailedMessage = 26; @@ -57904,7 +59144,6 @@ public final class ProtoBuf { return this; } - // optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 27; private de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage gamePlayerJoinedMessage_ = de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage.getDefaultInstance(); /** * optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 27; @@ -57965,7 +59204,6 @@ public final class ProtoBuf { return this; } - // optional .GamePlayerLeftMessage gamePlayerLeftMessage = 28; private de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage gamePlayerLeftMessage_ = de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.getDefaultInstance(); /** * optional .GamePlayerLeftMessage gamePlayerLeftMessage = 28; @@ -58026,7 +59264,6 @@ public final class ProtoBuf { return this; } - // optional .GameAdminChangedMessage gameAdminChangedMessage = 29; private de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage gameAdminChangedMessage_ = de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage.getDefaultInstance(); /** * optional .GameAdminChangedMessage gameAdminChangedMessage = 29; @@ -58087,7 +59324,6 @@ public final class ProtoBuf { return this; } - // optional .RemovedFromGameMessage removedFromGameMessage = 30; private de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage removedFromGameMessage_ = de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.getDefaultInstance(); /** * optional .RemovedFromGameMessage removedFromGameMessage = 30; @@ -58148,7 +59384,6 @@ public final class ProtoBuf { return this; } - // optional .KickPlayerRequestMessage kickPlayerRequestMessage = 31; private de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage kickPlayerRequestMessage_ = de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage.getDefaultInstance(); /** * optional .KickPlayerRequestMessage kickPlayerRequestMessage = 31; @@ -58209,7 +59444,6 @@ public final class ProtoBuf { return this; } - // optional .LeaveGameRequestMessage leaveGameRequestMessage = 32; private de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage leaveGameRequestMessage_ = de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage.getDefaultInstance(); /** * optional .LeaveGameRequestMessage leaveGameRequestMessage = 32; @@ -58270,7 +59504,6 @@ public final class ProtoBuf { return this; } - // optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 33; private de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage invitePlayerToGameMessage_ = de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage.getDefaultInstance(); /** * optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 33; @@ -58331,7 +59564,6 @@ public final class ProtoBuf { return this; } - // optional .InviteNotifyMessage inviteNotifyMessage = 34; private de.pokerth.protocol.ProtoBuf.InviteNotifyMessage inviteNotifyMessage_ = de.pokerth.protocol.ProtoBuf.InviteNotifyMessage.getDefaultInstance(); /** * optional .InviteNotifyMessage inviteNotifyMessage = 34; @@ -58392,7 +59624,6 @@ public final class ProtoBuf { return this; } - // optional .RejectGameInvitationMessage rejectGameInvitationMessage = 35; private de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage rejectGameInvitationMessage_ = de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.getDefaultInstance(); /** * optional .RejectGameInvitationMessage rejectGameInvitationMessage = 35; @@ -58453,7 +59684,6 @@ public final class ProtoBuf { return this; } - // optional .RejectInvNotifyMessage rejectInvNotifyMessage = 36; private de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage rejectInvNotifyMessage_ = de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage.getDefaultInstance(); /** * optional .RejectInvNotifyMessage rejectInvNotifyMessage = 36; @@ -58514,7 +59744,6 @@ public final class ProtoBuf { return this; } - // optional .StartEventMessage startEventMessage = 37; private de.pokerth.protocol.ProtoBuf.StartEventMessage startEventMessage_ = de.pokerth.protocol.ProtoBuf.StartEventMessage.getDefaultInstance(); /** * optional .StartEventMessage startEventMessage = 37; @@ -58575,7 +59804,6 @@ public final class ProtoBuf { return this; } - // optional .StartEventAckMessage startEventAckMessage = 38; private de.pokerth.protocol.ProtoBuf.StartEventAckMessage startEventAckMessage_ = de.pokerth.protocol.ProtoBuf.StartEventAckMessage.getDefaultInstance(); /** * optional .StartEventAckMessage startEventAckMessage = 38; @@ -58636,7 +59864,6 @@ public final class ProtoBuf { return this; } - // optional .GameStartInitialMessage gameStartInitialMessage = 39; private de.pokerth.protocol.ProtoBuf.GameStartInitialMessage gameStartInitialMessage_ = de.pokerth.protocol.ProtoBuf.GameStartInitialMessage.getDefaultInstance(); /** * optional .GameStartInitialMessage gameStartInitialMessage = 39; @@ -58697,7 +59924,6 @@ public final class ProtoBuf { return this; } - // optional .GameStartRejoinMessage gameStartRejoinMessage = 40; private de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage gameStartRejoinMessage_ = de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.getDefaultInstance(); /** * optional .GameStartRejoinMessage gameStartRejoinMessage = 40; @@ -58758,7 +59984,6 @@ public final class ProtoBuf { return this; } - // optional .HandStartMessage handStartMessage = 41; private de.pokerth.protocol.ProtoBuf.HandStartMessage handStartMessage_ = de.pokerth.protocol.ProtoBuf.HandStartMessage.getDefaultInstance(); /** * optional .HandStartMessage handStartMessage = 41; @@ -58819,7 +60044,6 @@ public final class ProtoBuf { return this; } - // optional .PlayersTurnMessage playersTurnMessage = 42; private de.pokerth.protocol.ProtoBuf.PlayersTurnMessage playersTurnMessage_ = de.pokerth.protocol.ProtoBuf.PlayersTurnMessage.getDefaultInstance(); /** * optional .PlayersTurnMessage playersTurnMessage = 42; @@ -58880,7 +60104,6 @@ public final class ProtoBuf { return this; } - // optional .MyActionRequestMessage myActionRequestMessage = 43; private de.pokerth.protocol.ProtoBuf.MyActionRequestMessage myActionRequestMessage_ = de.pokerth.protocol.ProtoBuf.MyActionRequestMessage.getDefaultInstance(); /** * optional .MyActionRequestMessage myActionRequestMessage = 43; @@ -58941,7 +60164,6 @@ public final class ProtoBuf { return this; } - // optional .YourActionRejectedMessage yourActionRejectedMessage = 44; private de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage yourActionRejectedMessage_ = de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.getDefaultInstance(); /** * optional .YourActionRejectedMessage yourActionRejectedMessage = 44; @@ -59002,7 +60224,6 @@ public final class ProtoBuf { return this; } - // optional .PlayersActionDoneMessage playersActionDoneMessage = 45; private de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage playersActionDoneMessage_ = de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage.getDefaultInstance(); /** * optional .PlayersActionDoneMessage playersActionDoneMessage = 45; @@ -59063,7 +60284,6 @@ public final class ProtoBuf { return this; } - // optional .DealFlopCardsMessage dealFlopCardsMessage = 46; private de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage dealFlopCardsMessage_ = de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage.getDefaultInstance(); /** * optional .DealFlopCardsMessage dealFlopCardsMessage = 46; @@ -59124,7 +60344,6 @@ public final class ProtoBuf { return this; } - // optional .DealTurnCardMessage dealTurnCardMessage = 47; private de.pokerth.protocol.ProtoBuf.DealTurnCardMessage dealTurnCardMessage_ = de.pokerth.protocol.ProtoBuf.DealTurnCardMessage.getDefaultInstance(); /** * optional .DealTurnCardMessage dealTurnCardMessage = 47; @@ -59185,7 +60404,6 @@ public final class ProtoBuf { return this; } - // optional .DealRiverCardMessage dealRiverCardMessage = 48; private de.pokerth.protocol.ProtoBuf.DealRiverCardMessage dealRiverCardMessage_ = de.pokerth.protocol.ProtoBuf.DealRiverCardMessage.getDefaultInstance(); /** * optional .DealRiverCardMessage dealRiverCardMessage = 48; @@ -59246,7 +60464,6 @@ public final class ProtoBuf { return this; } - // optional .AllInShowCardsMessage allInShowCardsMessage = 49; private de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage allInShowCardsMessage_ = de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.getDefaultInstance(); /** * optional .AllInShowCardsMessage allInShowCardsMessage = 49; @@ -59307,7 +60524,6 @@ public final class ProtoBuf { return this; } - // optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 50; private de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage endOfHandShowCardsMessage_ = de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage.getDefaultInstance(); /** * optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 50; @@ -59368,7 +60584,6 @@ public final class ProtoBuf { return this; } - // optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 51; private de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage endOfHandHideCardsMessage_ = de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage.getDefaultInstance(); /** * optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 51; @@ -59429,7 +60644,6 @@ public final class ProtoBuf { return this; } - // optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 52; private de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage showMyCardsRequestMessage_ = de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage.getDefaultInstance(); /** * optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 52; @@ -59490,7 +60704,6 @@ public final class ProtoBuf { return this; } - // optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 53; private de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage afterHandShowCardsMessage_ = de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage.getDefaultInstance(); /** * optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 53; @@ -59551,7 +60764,6 @@ public final class ProtoBuf { return this; } - // optional .EndOfGameMessage endOfGameMessage = 54; private de.pokerth.protocol.ProtoBuf.EndOfGameMessage endOfGameMessage_ = de.pokerth.protocol.ProtoBuf.EndOfGameMessage.getDefaultInstance(); /** * optional .EndOfGameMessage endOfGameMessage = 54; @@ -59612,7 +60824,6 @@ public final class ProtoBuf { return this; } - // optional .PlayerIdChangedMessage playerIdChangedMessage = 55; private de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage playerIdChangedMessage_ = de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage.getDefaultInstance(); /** * optional .PlayerIdChangedMessage playerIdChangedMessage = 55; @@ -59673,7 +60884,6 @@ public final class ProtoBuf { return this; } - // optional .AskKickPlayerMessage askKickPlayerMessage = 56; private de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage askKickPlayerMessage_ = de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage.getDefaultInstance(); /** * optional .AskKickPlayerMessage askKickPlayerMessage = 56; @@ -59734,7 +60944,6 @@ public final class ProtoBuf { return this; } - // optional .AskKickDeniedMessage askKickDeniedMessage = 57; private de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage askKickDeniedMessage_ = de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.getDefaultInstance(); /** * optional .AskKickDeniedMessage askKickDeniedMessage = 57; @@ -59795,7 +61004,6 @@ public final class ProtoBuf { return this; } - // optional .StartKickPetitionMessage startKickPetitionMessage = 58; private de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage startKickPetitionMessage_ = de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage.getDefaultInstance(); /** * optional .StartKickPetitionMessage startKickPetitionMessage = 58; @@ -59856,7 +61064,6 @@ public final class ProtoBuf { return this; } - // optional .VoteKickRequestMessage voteKickRequestMessage = 59; private de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage voteKickRequestMessage_ = de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage.getDefaultInstance(); /** * optional .VoteKickRequestMessage voteKickRequestMessage = 59; @@ -59917,7 +61124,6 @@ public final class ProtoBuf { return this; } - // optional .VoteKickReplyMessage voteKickReplyMessage = 60; private de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage voteKickReplyMessage_ = de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.getDefaultInstance(); /** * optional .VoteKickReplyMessage voteKickReplyMessage = 60; @@ -59978,7 +61184,6 @@ public final class ProtoBuf { return this; } - // optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 61; private de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage kickPetitionUpdateMessage_ = de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage.getDefaultInstance(); /** * optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 61; @@ -60039,7 +61244,6 @@ public final class ProtoBuf { return this; } - // optional .EndKickPetitionMessage endKickPetitionMessage = 62; private de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage endKickPetitionMessage_ = de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.getDefaultInstance(); /** * optional .EndKickPetitionMessage endKickPetitionMessage = 62; @@ -60100,7 +61304,6 @@ public final class ProtoBuf { return this; } - // optional .StatisticsMessage statisticsMessage = 63; private de.pokerth.protocol.ProtoBuf.StatisticsMessage statisticsMessage_ = de.pokerth.protocol.ProtoBuf.StatisticsMessage.getDefaultInstance(); /** * optional .StatisticsMessage statisticsMessage = 63; @@ -60161,7 +61364,6 @@ public final class ProtoBuf { return this; } - // optional .ChatRequestMessage chatRequestMessage = 64; private de.pokerth.protocol.ProtoBuf.ChatRequestMessage chatRequestMessage_ = de.pokerth.protocol.ProtoBuf.ChatRequestMessage.getDefaultInstance(); /** * optional .ChatRequestMessage chatRequestMessage = 64; @@ -60222,7 +61424,6 @@ public final class ProtoBuf { return this; } - // optional .ChatMessage chatMessage = 65; private de.pokerth.protocol.ProtoBuf.ChatMessage chatMessage_ = de.pokerth.protocol.ProtoBuf.ChatMessage.getDefaultInstance(); /** * optional .ChatMessage chatMessage = 65; @@ -60283,7 +61484,6 @@ public final class ProtoBuf { return this; } - // optional .ChatRejectMessage chatRejectMessage = 66; private de.pokerth.protocol.ProtoBuf.ChatRejectMessage chatRejectMessage_ = de.pokerth.protocol.ProtoBuf.ChatRejectMessage.getDefaultInstance(); /** * optional .ChatRejectMessage chatRejectMessage = 66; @@ -60344,7 +61544,6 @@ public final class ProtoBuf { return this; } - // optional .DialogMessage dialogMessage = 67; private de.pokerth.protocol.ProtoBuf.DialogMessage dialogMessage_ = de.pokerth.protocol.ProtoBuf.DialogMessage.getDefaultInstance(); /** * optional .DialogMessage dialogMessage = 67; @@ -60405,7 +61604,6 @@ public final class ProtoBuf { return this; } - // optional .TimeoutWarningMessage timeoutWarningMessage = 68; private de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage timeoutWarningMessage_ = de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.getDefaultInstance(); /** * optional .TimeoutWarningMessage timeoutWarningMessage = 68; @@ -60466,7 +61664,6 @@ public final class ProtoBuf { return this; } - // optional .ResetTimeoutMessage resetTimeoutMessage = 69; private de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage resetTimeoutMessage_ = de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage.getDefaultInstance(); /** * optional .ResetTimeoutMessage resetTimeoutMessage = 69; @@ -60527,7 +61724,6 @@ public final class ProtoBuf { return this; } - // optional .ReportAvatarMessage reportAvatarMessage = 70; private de.pokerth.protocol.ProtoBuf.ReportAvatarMessage reportAvatarMessage_ = de.pokerth.protocol.ProtoBuf.ReportAvatarMessage.getDefaultInstance(); /** * optional .ReportAvatarMessage reportAvatarMessage = 70; @@ -60588,7 +61784,6 @@ public final class ProtoBuf { return this; } - // optional .ReportAvatarAckMessage reportAvatarAckMessage = 71; private de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage reportAvatarAckMessage_ = de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.getDefaultInstance(); /** * optional .ReportAvatarAckMessage reportAvatarAckMessage = 71; @@ -60649,7 +61844,6 @@ public final class ProtoBuf { return this; } - // optional .ReportGameMessage reportGameMessage = 72; private de.pokerth.protocol.ProtoBuf.ReportGameMessage reportGameMessage_ = de.pokerth.protocol.ProtoBuf.ReportGameMessage.getDefaultInstance(); /** * optional .ReportGameMessage reportGameMessage = 72; @@ -60710,7 +61904,6 @@ public final class ProtoBuf { return this; } - // optional .ReportGameAckMessage reportGameAckMessage = 73; private de.pokerth.protocol.ProtoBuf.ReportGameAckMessage reportGameAckMessage_ = de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.getDefaultInstance(); /** * optional .ReportGameAckMessage reportGameAckMessage = 73; @@ -60771,7 +61964,6 @@ public final class ProtoBuf { return this; } - // optional .ErrorMessage errorMessage = 74; private de.pokerth.protocol.ProtoBuf.ErrorMessage errorMessage_ = de.pokerth.protocol.ProtoBuf.ErrorMessage.getDefaultInstance(); /** * optional .ErrorMessage errorMessage = 74; @@ -60832,7 +62024,6 @@ public final class ProtoBuf { return this; } - // optional .AdminRemoveGameMessage adminRemoveGameMessage = 75; private de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage adminRemoveGameMessage_ = de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage.getDefaultInstance(); /** * optional .AdminRemoveGameMessage adminRemoveGameMessage = 75; @@ -60893,7 +62084,6 @@ public final class ProtoBuf { return this; } - // optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 76; private de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage adminRemoveGameAckMessage_ = de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.getDefaultInstance(); /** * optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 76; @@ -60954,7 +62144,6 @@ public final class ProtoBuf { return this; } - // optional .AdminBanPlayerMessage adminBanPlayerMessage = 77; private de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage adminBanPlayerMessage_ = de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage.getDefaultInstance(); /** * optional .AdminBanPlayerMessage adminBanPlayerMessage = 77; @@ -61015,7 +62204,6 @@ public final class ProtoBuf { return this; } - // optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 78; private de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage adminBanPlayerAckMessage_ = de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.getDefaultInstance(); /** * optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 78; @@ -61076,7 +62264,6 @@ public final class ProtoBuf { return this; } - // optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 79; private de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage_ = de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage.getDefaultInstance(); /** * optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 79; @@ -61137,7 +62324,6 @@ public final class ProtoBuf { return this; } - // optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 80; private de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage gameListSpectatorLeftMessage_ = de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage.getDefaultInstance(); /** * optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 80; @@ -61198,7 +62384,6 @@ public final class ProtoBuf { return this; } - // optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 81; private de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage gameSpectatorJoinedMessage_ = de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage.getDefaultInstance(); /** * optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 81; @@ -61259,7 +62444,6 @@ public final class ProtoBuf { return this; } - // optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 82; private de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage gameSpectatorLeftMessage_ = de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage.getDefaultInstance(); /** * optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 82; From 24acd01e90e2a8875a7b518b1b3188c808a7906b Mon Sep 17 00:00:00 2001 From: Kai Philipp Date: Sun, 17 Jul 2016 16:55:06 +0200 Subject: [PATCH 18/28] optimizations for number of game-joins per player, removed @XXX from comments --- src/net/common/servergame.cpp | 23 +++++++++-------------- src/net/common/servergamestate.cpp | 19 ++++--------------- src/net/common/serverlobbythread.cpp | 13 +++---------- src/net/common/sessionmanager.cpp | 4 ++-- src/net/servergame.h | 2 +- 5 files changed, 19 insertions(+), 42 deletions(-) diff --git a/src/net/common/servergame.cpp b/src/net/common/servergame.cpp index 5eb7e15d..ff3776c5 100644 --- a/src/net/common/servergame.cpp +++ b/src/net/common/servergame.cpp @@ -457,7 +457,6 @@ ServerGame::InternalEndGame() { StoreAndResetRanking(); m_game.reset(); - // @XXX: reset NumJoinsPerPlayerMap (if a game restarts, the number of joins will be set to 0 for each player) ResetNumJoinsPerPlayer(); } @@ -1169,10 +1168,12 @@ ServerGame::GetNextGameNum() void ServerGame::AddPlayerToNumJoinsPerPlayer(const std::string &playerName) { - if(m_numjoinsp.find(playerName) != m_numjoinsp.end()) { - m_numjoinsp[playerName] = m_numjoinsp[playerName] + 1; - } else { - m_numjoinsp[playerName] = 1; + NumJoinsPerPlayerMap::iterator pos = m_numJoinsPerPlayer.find(playerName); + if (pos != m_numJoinsPerPlayer.end()) + { + pos->second++; + } else{ + m_numJoinsPerPlayer[playerName] = 1; } } @@ -1180,8 +1181,8 @@ int ServerGame::GetNumJoinsPerPlayer(const std::string &playerName) { int num = 0; - if(m_numjoinsp.find(playerName) != m_numjoinsp.end()) { - num = m_numjoinsp[playerName]; + if(m_numJoinsPerPlayer.find(playerName) != m_numJoinsPerPlayer.end()) { + num = m_numJoinsPerPlayer[playerName]; } return num; } @@ -1189,11 +1190,5 @@ ServerGame::GetNumJoinsPerPlayer(const std::string &playerName) void ServerGame::ResetNumJoinsPerPlayer() { - NumJoinsPerPlayerMap::const_iterator numj_i = m_numjoinsp.begin(); - NumJoinsPerPlayerMap::const_iterator numj_end = m_numjoinsp.end(); - - while (numj_i != numj_end) { - m_numjoinsp[numj_i->first] = 0; - ++numj_i; - } + m_numJoinsPerPlayer.clear(); } diff --git a/src/net/common/servergamestate.cpp b/src/net/common/servergamestate.cpp index 794c0b61..14379fb7 100644 --- a/src/net/common/servergamestate.cpp +++ b/src/net/common/servergamestate.cpp @@ -84,7 +84,7 @@ using namespace std; #define SERVER_LOOP_DELAY_MSEC 50 #define SERVER_MAX_NUM_SPECTATORS_PER_GAME 100 -#define GAME_NUM_JOINS_PER_PLAYER 6 +#define GAME_MAX_NUM_JOINS_PER_PLAYER 6 // Helper functions @@ -540,22 +540,11 @@ ServerGameStateInit::HandleNewPlayer(boost::shared_ptr server, boost if (session && session->GetPlayerData()) { const GameData &tmpGameData = server->GetGameData(); - // @XXX: debug - //LOG_ERROR("New Player: " << session->GetPlayerData()->GetName() << "."); - //server->AddPlayerToNumJoinsPerPlayer(session->GetPlayerData()->GetName()); - //LOG_ERROR("Num joins of " << session->GetPlayerData()->GetName() << " = " << server->GetNumJoinsPerPlayer(session->GetPlayerData()->GetName()) << "."); - - // @XXX: check if player joined the game more than 9 times - decline if > 9 - if (server->GetNumJoinsPerPlayer(session->GetPlayerData()->GetName()) > GAME_NUM_JOINS_PER_PLAYER) { - server->MoveSessionToLobby(session, NTF_NET_REMOVED_GAME_FULL); - return; - } - - // Check the number of players. - if (server->GetCurNumberOfPlayers() >= tmpGameData.maxNumberOfPlayers) { + // Check the number of players and number of joins per player + if (server->GetCurNumberOfPlayers() >= tmpGameData.maxNumberOfPlayers || server->GetNumJoinsPerPlayer(session->GetPlayerData()->GetName()) > GAME_MAX_NUM_JOINS_PER_PLAYER) { server->MoveSessionToLobby(session, NTF_NET_REMOVED_GAME_FULL); } else { - // @XXX: add player to NumJoinsPerPlayerMap + // add player to NumJoinsPerPlayerMap server->AddPlayerToNumJoinsPerPlayer(session->GetPlayerData()->GetName()); AcceptNewSession(server, session, false); diff --git a/src/net/common/serverlobbythread.cpp b/src/net/common/serverlobbythread.cpp index 4d6a5b1a..45892da2 100644 --- a/src/net/common/serverlobbythread.cpp +++ b/src/net/common/serverlobbythread.cpp @@ -1012,12 +1012,6 @@ ServerLobbyThread::HandleNetPacketInit(boost::shared_ptr session, c { LOG_VERBOSE("Received init for session #" << session->GetId() << "."); - // @XXX: debug tests - //if(m_sessionManager.IsGuestConnectedMultiple(session->GetClientAddr())){ - // LOG_ERROR("Guest with IP " << session->GetClientAddr() << " already connected! Should be declined!"); - //} - // @XXX: end debug tests - // Before any other processing, perform some denial of service and // brute force attack prevention by checking whether the user recently sent an // Init packet. @@ -1058,8 +1052,8 @@ ServerLobbyThread::HandleNetPacketInit(boost::shared_ptr session, c MD5Buf avatarMD5; bool noAuth = false; bool validGuest = false; - // @XXX: productive: if (initMessage.login() == InitMessage::guestLogin) { - // @XXX: debug: if (initMessage.login() == InitMessage::unauthenticatedLogin) { + // productive: if (initMessage.login() == InitMessage::guestLogin) { + // debug: if (initMessage.login() == InitMessage::unauthenticatedLogin) { if (initMessage.login() == InitMessage::guestLogin) { playerName = initMessage.nickname(); // Verify guest player name. @@ -1070,9 +1064,8 @@ ServerLobbyThread::HandleNetPacketInit(boost::shared_ptr session, c validGuest = true; noAuth = true; } - // @XXX: check if a guest session with same ip is already connected - decline if true + // check if a guest session with same ip is already connected - decline if true if(m_sessionManager.IsGuestConnectedMultiple(session->GetClientAddr())) { - //LOG_ERROR("Guest with IP " << session->GetClientAddr() << " already connected! Decline!"); SessionError(session, ERR_NET_FULL_GUESTS); return; } diff --git a/src/net/common/sessionmanager.cpp b/src/net/common/sessionmanager.cpp index 04190876..0ca580fc 100644 --- a/src/net/common/sessionmanager.cpp +++ b/src/net/common/sessionmanager.cpp @@ -258,9 +258,9 @@ SessionManager::IsGuestConnectedMultiple(const std::string &clientAddress) const while (i != end) { boost::shared_ptr tmpPlayer(i->second->GetPlayerData()); - // @XXX: productive: + // productive: //if(tmpPlayer && tmpPlayer->GetRights() == PLAYER_RIGHTS_GUEST && i->second->GetClientAddr() == clientAddress){ - // @XXX: debug: + // debug: // if(tmpPlayer && tmpPlayer->GetRights() == PLAYER_RIGHTS_NORMAL && i->second->GetClientAddr() == clientAddress){ if(tmpPlayer && tmpPlayer->GetRights() == PLAYER_RIGHTS_GUEST && i->second->GetClientAddr() == clientAddress) { retVal = true; diff --git a/src/net/servergame.h b/src/net/servergame.h index 6bdf8ce3..0b2dfbad 100644 --- a/src/net/servergame.h +++ b/src/net/servergame.h @@ -258,7 +258,7 @@ private: friend class ServerGameStateWaitPlayerAction; friend class ServerGameStateWaitNextHand; - NumJoinsPerPlayerMap m_numjoinsp; + NumJoinsPerPlayerMap m_numJoinsPerPlayer; }; #endif From 70d6743c390c78c1a359db793f0dbc7516c85972 Mon Sep 17 00:00:00 2001 From: Kai Philipp Date: Sun, 17 Jul 2016 16:55:56 +0200 Subject: [PATCH 19/28] bugfix for compiler error on ubuntu 16.04. - QDataStream --- src/third_party/qtsingleapplication/qtlocalpeer.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/third_party/qtsingleapplication/qtlocalpeer.cpp b/src/third_party/qtsingleapplication/qtlocalpeer.cpp index 43e6bf42..7b733aea 100644 --- a/src/third_party/qtsingleapplication/qtlocalpeer.cpp +++ b/src/third_party/qtsingleapplication/qtlocalpeer.cpp @@ -44,6 +44,10 @@ static PProcessIdToSessionId pProcessIdToSessionId = 0; #include #endif +// @FIXME: bugfix for strange new compiler error on ubuntu 16.04 = ‘QDataStream ds’ has initializer but incomplete type +// not sure if that collides on other systems: +#include + namespace SharedTools { static const char ack[] = "ack"; From 21003da510f0c750b073645544608ccbdd47ac9a Mon Sep 17 00:00:00 2001 From: Kai Philipp Date: Sun, 17 Jul 2016 17:46:55 +0200 Subject: [PATCH 20/28] simplified ResetNumJoinsPerPlayer - e.g. removed the function --- src/net/common/servergame.cpp | 8 +------- src/net/servergame.h | 1 - 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/src/net/common/servergame.cpp b/src/net/common/servergame.cpp index ff3776c5..d88e876b 100644 --- a/src/net/common/servergame.cpp +++ b/src/net/common/servergame.cpp @@ -457,7 +457,7 @@ ServerGame::InternalEndGame() { StoreAndResetRanking(); m_game.reset(); - ResetNumJoinsPerPlayer(); + m_numJoinsPerPlayer.clear(); } void @@ -1186,9 +1186,3 @@ ServerGame::GetNumJoinsPerPlayer(const std::string &playerName) } return num; } - -void -ServerGame::ResetNumJoinsPerPlayer() -{ - m_numJoinsPerPlayer.clear(); -} diff --git a/src/net/servergame.h b/src/net/servergame.h index 0b2dfbad..bf593748 100644 --- a/src/net/servergame.h +++ b/src/net/servergame.h @@ -127,7 +127,6 @@ public: void AddPlayerToNumJoinsPerPlayer(const std::string &playerName); int GetNumJoinsPerPlayer(const std::string &playerName); - void ResetNumJoinsPerPlayer(); protected: From 1abc9dc452e44b29f6c5c927bab30355f8dd8fc6 Mon Sep 17 00:00:00 2001 From: Albert Medela Date: Mon, 18 Jul 2016 19:35:59 +0200 Subject: [PATCH 21/28] Get guest users from session manager --- src/net/common/netpacket.cpp | 3 --- src/net/common/serverlobbythread.cpp | 35 +++++----------------------- src/net/common/sessionmanager.cpp | 18 ++++++++++++++ src/net/serverlobbythread.h | 8 ------- src/net/sessionmanager.h | 1 + src/net/socket_msg.h | 2 -- 6 files changed, 25 insertions(+), 42 deletions(-) diff --git a/src/net/common/netpacket.cpp b/src/net/common/netpacket.cpp index af6fb13f..c07cc7a7 100644 --- a/src/net/common/netpacket.cpp +++ b/src/net/common/netpacket.cpp @@ -248,9 +248,6 @@ NetPacket::GameErrorToNetError(int gameErrorReason) case ERR_NET_SESSION_TIMED_OUT : retVal = ErrorMessage::sessionTimeout; break; - case ERR_NET_FULL_GUESTS : - retVal = ErrorMessage::initServerFull; // LG: @TODO: maybe create a better error message, if possible - break; default : retVal = ErrorMessage::reserved; break; diff --git a/src/net/common/serverlobbythread.cpp b/src/net/common/serverlobbythread.cpp index 45892da2..084f1d71 100644 --- a/src/net/common/serverlobbythread.cpp +++ b/src/net/common/serverlobbythread.cpp @@ -223,7 +223,7 @@ ServerLobbyThread::ServerLobbyThread(GuiInterface &gui, ServerMode mode, ServerI m_mode(mode), m_serverConfig(serverConfig), m_curGameId(0), m_curUniquePlayerId(0), m_curSessionId(INVALID_SESSION + 1), m_statDataChanged(false), m_removeGameTimer(*ioService), m_saveStatisticsTimer(*ioService), m_loginLockTimer(*ioService), - m_startTime(boost::posix_time::second_clock::local_time()), guests_(0) + m_startTime(boost::posix_time::second_clock::local_time()) { m_internalServerCallback.reset(new InternalServerCallback(*this)); m_sender.reset(new SenderHelper(m_ioService)); @@ -397,9 +397,6 @@ ServerLobbyThread::CloseSession(boost::shared_ptr session) m_gameSessionManager.RemoveSession(session->GetId()); if (session->GetPlayerData()) { - if (session->GetPlayerData()->GetRights() == PLAYER_RIGHTS_GUEST) { - DecrementGuests(); - } NotifyPlayerLeftLobby(session->GetPlayerData()->GetUniqueId()); } // Update stats (if needed). @@ -1066,7 +1063,11 @@ ServerLobbyThread::HandleNetPacketInit(boost::shared_ptr session, c } // check if a guest session with same ip is already connected - decline if true if(m_sessionManager.IsGuestConnectedMultiple(session->GetClientAddr())) { - SessionError(session, ERR_NET_FULL_GUESTS); + SessionError(session, ERR_NET_SERVER_FULL); + return; + } + if (m_sessionManager.GetGuestsCount() + m_gameSessionManager.GetGuestsCount() > SERVER_MAX_GUEST_USERS) { + SessionError(session, ERR_NET_SERVER_FULL); return; } } @@ -1075,12 +1076,6 @@ ServerLobbyThread::HandleNetPacketInit(boost::shared_ptr session, c SessionError(session, ERR_NET_INVALID_PLAYER_NAME); return; } - // LG: If user is guest, and SERVER_MAX_GUEST_USERS reached, don't allow connection. - else if (getGuests() > SERVER_MAX_GUEST_USERS) { - SessionError(session, ERR_NET_FULL_GUESTS); - return; - } - } #ifdef POKERTH_OFFICIAL_SERVER else if (initMessage.login() == InitMessage::authenticatedLogin) { @@ -1755,11 +1750,6 @@ ServerLobbyThread::EstablishSession(boost::shared_ptr session) // Session is now established. session->SetState(SessionData::Established); - // LG: Increment guests - if (session->GetPlayerData()->GetRights() == PLAYER_RIGHTS_GUEST) { - IncrementGuests(); - } - { boost::mutex::scoped_lock lock(m_statMutex); ++m_statData.totalPlayersEverLoggedIn; @@ -2389,16 +2379,3 @@ ServerLobbyThread::GetRejoinGameIdForPlayer(const std::string &playerName, const } return retGameId; } - -// LG: Handle guests_ variable. Remove in production to access variable itself -void ServerLobbyThread::DecrementGuests() { - this->guests_.fetch_sub(1); -} - -void ServerLobbyThread::IncrementGuests() { - this->guests_.fetch_add(1); -} - -int ServerLobbyThread::getGuests() { - return this->guests_; -} diff --git a/src/net/common/sessionmanager.cpp b/src/net/common/sessionmanager.cpp index 0ca580fc..a41fa0cc 100644 --- a/src/net/common/sessionmanager.cpp +++ b/src/net/common/sessionmanager.cpp @@ -432,3 +432,21 @@ SessionManager::SendToAllButOneSessions(SenderHelper &sender, boost::shared_ptr< ++i; } } + +unsigned +SessionManager::GetGuestsCount() const +{ + unsigned counter = 0; + boost::recursive_mutex::scoped_lock lock(m_sessionMapMutex); + + SessionMap::const_iterator i = m_sessionMap.begin(); + SessionMap::const_iterator end = m_sessionMap.end(); + + while (i != end) { + if (i->second && i->second->GetPlayerData() && + i->second->GetPlayerData()->GetRights() == PLAYER_RIGHTS_GUEST) + ++counter; + ++i; + } + return counter; +} diff --git a/src/net/serverlobbythread.h b/src/net/serverlobbythread.h index b9bae419..40038432 100644 --- a/src/net/serverlobbythread.h +++ b/src/net/serverlobbythread.h @@ -225,11 +225,6 @@ protected: u_int32_t GetRejoinGameIdForPlayer(const std::string &playerName, const std::string &guid, unsigned &outPlayerUniqueId); - // LG: Handle guests_ counter. NOTE: These functions in production could be removed and access directly to guest_ - void IncrementGuests(); - void DecrementGuests(); - int getGuests(); - private: boost::shared_ptr m_ioService; @@ -282,9 +277,6 @@ private: const boost::posix_time::ptime m_startTime; - // LG: guest_ is thread safe, even if ServerLobbyThread pointer is shared accross the code, as long as it is ONLY ONE running instance - boost::atomic guests_; - friend class InternalServerCallback; }; diff --git a/src/net/sessionmanager.h b/src/net/sessionmanager.h index 882c333f..da983a7a 100644 --- a/src/net/sessionmanager.h +++ b/src/net/sessionmanager.h @@ -75,6 +75,7 @@ public: unsigned GetRawSessionCount() const; unsigned GetSessionCountWithState(int state) const; bool HasSessionWithState(int state) const; + unsigned GetGuestsCount() const; void SendToAllSessions(SenderHelper &sender, boost::shared_ptr packet, int state); void SendLobbyMsgToAllSessions(SenderHelper &sender, boost::shared_ptr packet, int state); diff --git a/src/net/socket_msg.h b/src/net/socket_msg.h index 84987a4b..d65fe604 100644 --- a/src/net/socket_msg.h +++ b/src/net/socket_msg.h @@ -98,8 +98,6 @@ #define ERR_NET_GSASL_INIT_FAILED 134 #define ERR_NET_GSASL_NO_SCRAM 135 #define ERR_NET_DB_CONNECT_FAILED 136 -// LG: New code for max number of guest users -#define ERR_NET_FULL_GUESTS 137 #define ERR_IRC_INTERNAL 151 #define ERR_IRC_CONNECT_FAILED 152 From 1b5cf1bfb8099406cf64999b7971d9c77dff1035 Mon Sep 17 00:00:00 2001 From: Kai Philipp Date: Tue, 19 Jul 2016 14:01:13 +0200 Subject: [PATCH 22/28] guest IP-check and number of guest in lobby check combined now in one function --- src/net/common/serverlobbythread.cpp | 12 +++------ src/net/common/sessionmanager.cpp | 40 ++++++++++------------------ src/net/sessionmanager.h | 3 +-- 3 files changed, 19 insertions(+), 36 deletions(-) diff --git a/src/net/common/serverlobbythread.cpp b/src/net/common/serverlobbythread.cpp index 084f1d71..72451256 100644 --- a/src/net/common/serverlobbythread.cpp +++ b/src/net/common/serverlobbythread.cpp @@ -65,7 +65,6 @@ #define SERVER_MAX_NUM_LOBBY_SESSIONS 512 // Maximum number of idle users in lobby. #define SERVER_MAX_NUM_TOTAL_SESSIONS 2000 // Total maximum of sessions, fitting a 2048 handle limit -#define SERVER_MAX_GUEST_USERS 100 // LG: Maximum number of guests users allowed #define SERVER_SAVE_STATISTICS_INTERVAL_SEC 60 #define SERVER_CHECK_SESSION_TIMEOUTS_INTERVAL_MSEC 500 @@ -1051,7 +1050,7 @@ ServerLobbyThread::HandleNetPacketInit(boost::shared_ptr session, c bool validGuest = false; // productive: if (initMessage.login() == InitMessage::guestLogin) { // debug: if (initMessage.login() == InitMessage::unauthenticatedLogin) { - if (initMessage.login() == InitMessage::guestLogin) { + if (initMessage.login() == InitMessage::unauthenticatedLogin) { playerName = initMessage.nickname(); // Verify guest player name. if (playerName.length() > sizeof(SERVER_GUEST_PLAYER_NAME - 1) @@ -1061,12 +1060,9 @@ ServerLobbyThread::HandleNetPacketInit(boost::shared_ptr session, c validGuest = true; noAuth = true; } - // check if a guest session with same ip is already connected - decline if true - if(m_sessionManager.IsGuestConnectedMultiple(session->GetClientAddr())) { - SessionError(session, ERR_NET_SERVER_FULL); - return; - } - if (m_sessionManager.GetGuestsCount() + m_gameSessionManager.GetGuestsCount() > SERVER_MAX_GUEST_USERS) { + // check if a guest session in lobby with same ip is already connected and + // if number of lobby guests >= SERVER_MAX_GUEST_USERS_LOBBY + if(!m_sessionManager.IsGuestAllowedToConnect(session->GetClientAddr())) { SessionError(session, ERR_NET_SERVER_FULL); return; } diff --git a/src/net/common/sessionmanager.cpp b/src/net/common/sessionmanager.cpp index a41fa0cc..5c68ed8f 100644 --- a/src/net/common/sessionmanager.cpp +++ b/src/net/common/sessionmanager.cpp @@ -34,8 +34,11 @@ #include #include +#include // debug - remove me + using namespace std; +#define SERVER_MAX_GUEST_USERS_LOBBY 50 // LG: Maximum number of guests users in lobby allowed SessionManager::SessionManager() { @@ -248,23 +251,25 @@ SessionManager::IsClientAddressConnected(const std::string &clientAddress) const } bool -SessionManager::IsGuestConnectedMultiple(const std::string &clientAddress) const +SessionManager::IsGuestAllowedToConnect(const std::string &clientAddress) const { - bool retVal = false; + bool retVal = true; boost::recursive_mutex::scoped_lock lock(m_sessionMapMutex); SessionMap::const_iterator i = m_sessionMap.begin(); SessionMap::const_iterator end = m_sessionMap.end(); + int num = 0; while (i != end) { boost::shared_ptr tmpPlayer(i->second->GetPlayerData()); - // productive: - //if(tmpPlayer && tmpPlayer->GetRights() == PLAYER_RIGHTS_GUEST && i->second->GetClientAddr() == clientAddress){ - // debug: - // if(tmpPlayer && tmpPlayer->GetRights() == PLAYER_RIGHTS_NORMAL && i->second->GetClientAddr() == clientAddress){ - if(tmpPlayer && tmpPlayer->GetRights() == PLAYER_RIGHTS_GUEST && i->second->GetClientAddr() == clientAddress) { - retVal = true; - break; + if(tmpPlayer && tmpPlayer->GetRights() == PLAYER_RIGHTS_GUEST){ + num++; + if(i->second->GetClientAddr() == clientAddress || num >= SERVER_MAX_GUEST_USERS_LOBBY) { + // guest has same ip as another guest in lobby or + // number of guests in lobby >= SERVER_MAX_GUEST_USERS_LOBBY => not allowed + retVal = false; + break; + } } ++i; } @@ -433,20 +438,3 @@ SessionManager::SendToAllButOneSessions(SenderHelper &sender, boost::shared_ptr< } } -unsigned -SessionManager::GetGuestsCount() const -{ - unsigned counter = 0; - boost::recursive_mutex::scoped_lock lock(m_sessionMapMutex); - - SessionMap::const_iterator i = m_sessionMap.begin(); - SessionMap::const_iterator end = m_sessionMap.end(); - - while (i != end) { - if (i->second && i->second->GetPlayerData() && - i->second->GetPlayerData()->GetRights() == PLAYER_RIGHTS_GUEST) - ++counter; - ++i; - } - return counter; -} diff --git a/src/net/sessionmanager.h b/src/net/sessionmanager.h index da983a7a..36f7fb4f 100644 --- a/src/net/sessionmanager.h +++ b/src/net/sessionmanager.h @@ -64,7 +64,7 @@ public: bool IsPlayerConnected(const std::string &playerName) const; bool IsPlayerConnected(unsigned uniqueId) const; bool IsClientAddressConnected(const std::string &clientAddress) const; - bool IsGuestConnectedMultiple(const std::string &clientAddress) const; + bool IsGuestAllowedToConnect(const std::string &clientAddress) const; void ForEach(boost::function)> func); @@ -75,7 +75,6 @@ public: unsigned GetRawSessionCount() const; unsigned GetSessionCountWithState(int state) const; bool HasSessionWithState(int state) const; - unsigned GetGuestsCount() const; void SendToAllSessions(SenderHelper &sender, boost::shared_ptr packet, int state); void SendLobbyMsgToAllSessions(SenderHelper &sender, boost::shared_ptr packet, int state); From e73a95d08ea1f25d9ea22d5e3e18b7e23399742d Mon Sep 17 00:00:00 2001 From: Kai Philipp Date: Tue, 19 Jul 2016 14:13:39 +0200 Subject: [PATCH 23/28] bugfix InitMessage - switched back to productive --- src/net/common/serverlobbythread.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/net/common/serverlobbythread.cpp b/src/net/common/serverlobbythread.cpp index 72451256..fddbe7d9 100644 --- a/src/net/common/serverlobbythread.cpp +++ b/src/net/common/serverlobbythread.cpp @@ -1050,7 +1050,7 @@ ServerLobbyThread::HandleNetPacketInit(boost::shared_ptr session, c bool validGuest = false; // productive: if (initMessage.login() == InitMessage::guestLogin) { // debug: if (initMessage.login() == InitMessage::unauthenticatedLogin) { - if (initMessage.login() == InitMessage::unauthenticatedLogin) { + if (initMessage.login() == InitMessage::guestLogin) { playerName = initMessage.nickname(); // Verify guest player name. if (playerName.length() > sizeof(SERVER_GUEST_PLAYER_NAME - 1) From 2a88775ccaee2de0ed7e1d5fe2680426a602f86c Mon Sep 17 00:00:00 2001 From: Albert Medela Date: Sat, 23 Jul 2016 20:58:18 +0200 Subject: [PATCH 24/28] JUnit test for several guest users adapted --- src/net/common/sessionmanager.cpp | 2 - tests/src/de/pokerth/test/TestBase.java | 239 ++++++++++++++++ .../de/pokerth/test/ThreadedGuestTest.java | 256 ------------------ 3 files changed, 239 insertions(+), 258 deletions(-) delete mode 100644 tests/src/de/pokerth/test/ThreadedGuestTest.java diff --git a/src/net/common/sessionmanager.cpp b/src/net/common/sessionmanager.cpp index 5c68ed8f..097c3e69 100644 --- a/src/net/common/sessionmanager.cpp +++ b/src/net/common/sessionmanager.cpp @@ -34,8 +34,6 @@ #include #include -#include // debug - remove me - using namespace std; #define SERVER_MAX_GUEST_USERS_LOBBY 50 // LG: Maximum number of guests users in lobby allowed diff --git a/tests/src/de/pokerth/test/TestBase.java b/tests/src/de/pokerth/test/TestBase.java index 4e80c327..d5bb3b79 100644 --- a/tests/src/de/pokerth/test/TestBase.java +++ b/tests/src/de/pokerth/test/TestBase.java @@ -389,4 +389,243 @@ public abstract class TestBase { return cipher.doFinal(ciphertext); } + + /** + * Description: + * + * This test runs several guests users in PokerTH Server. + * Starts N threads thats connects to server "at once": There is a delay between each connection, to avoid error 133 + * (NOTE: I didn't succeed avoid this message. So, it's better to disable "ServerBruteForceProtection" in config.xml) + * Once connected, each thread waits until all other connects to simulate N users at once + * + * When all threads are connected, each thread gets unlocked and close connections, in an orderly way. + * + * + * Running: + * + * Tests accepts JVM property options: + * -Dpthserver.type, type of server: 'S' for dedicated, 'O' for official (default) + * -Dpthserver.passwd, password for dedicated server + * -Dpthserver.numthreads, number of threads (guests users) launched (5 default) + * -Dpthserver.waitfor, time all users remain connected until released. + * Format: XXX[m,s,M] for m(milliseconds), s(seconds), M(minutes). Eg: 1M (1 minute), 45s (45 seconds) + * Default: 1s + * + * For DEDICATED_SERVER Server must be faked to accept guest connections (aren't allowed by default). + * + * Purpose: + * + * Final purpose of this test, is check whether a guest connection isn't permitted + * once the maximum number of guests players allowed is reached + * To achieve that, N (NUM_THREADS) must be SERVER_MAX_GUEST_USERS + 1. That value is defined in ServerLobbyThread + * In that case, test will fail, because it's not supposed to receive that error message. + * Test must be corrected: + * - Last thread launched (or the one that makes SERVER_MAX_GUEST_USERS + 1, and next ones), must receive an error + * - To do that, msg.hasErrorMessage() must be true, and reason (msg.getErrorMessage().getErrorReason()) + * must be ERR_NET_SERVER_FULL (error gameIsFull) + * + * + * TODO: + * + * This test must be modified to adapt to: + * - Java8 (much simple threads) Runnable name = () -> {code} + * - Modern concurrency design: using Executors, Barriers and CountDownLatch + * - Test a guarantee exception when limit is reached. + * + * @author albmed + * + * @return + * @throws Exception + */ + public int guestInitThreaded() throws Exception { + + String serverType = System.getProperty("pthserver.type"); + String serverPasswd = System.getProperty("pthserver.passwd"); + String numThreadsStr = System.getProperty("pthserver.numthreads"); + String sleepForStr = System.getProperty("pthserver.waitfor"); + + // if serverType not provided or wrong, suppose official server + if (serverType == null || !serverType.matches("[OoSs]")) { + serverType = "O"; + serverPasswd = ""; + } + + // if dedicated server passwd is mandatory + if (serverType.equalsIgnoreCase("S") && (serverPasswd == null || serverPasswd.trim().length() == 0)) + fail("Server Passwd needed on Dedicated server"); + + // if numThreads not provided supposed 5 (must match with SERVER_MAX_GUEST_USERS) + int numThreads = 5; + if (numThreadsStr != null && numThreadsStr.matches("[0-9]+")) + numThreads = Integer.valueOf(numThreadsStr).intValue(); + + // waits for, at least 1sec, when all threads are alive and waiting + // can wait longer if, a one want to do a test with a real client. + // Format is: time[unit], where unit is "m" (milli), "s" (seconds) or "M" (minutes) + long sleepFor = 1000L; + if (sleepForStr != null && sleepForStr.matches("([0-9]+)([msM]?)")) { + long units = 1L; + if ((sleepForStr.charAt(sleepForStr.length() - 1) + "").matches("[msM]")) { + switch (sleepForStr.charAt(sleepForStr.length() - 1)) { + case 'm': units = 1L; break; // milliseconds + case 's': units = 1000L; break; // seconds + case 'M': units = 60L*1000L; break; // minutes + default: break; + } + sleepForStr = sleepForStr.substring(0, sleepForStr.length() -1); + } + + long tmp = Long.valueOf(sleepForStr).longValue() * units; + if (tmp > sleepFor) sleepFor = tmp; + } + + class ThreadGuest implements Runnable { + Thread t; + Object lock; + String name; + String type; + Socket s; + String passwd; + + public ThreadGuest(String _name, String _type, String _passwd, Object _lock) { + this.name = _name; + if (_lock == null) lock = new Object(); + this.lock = _lock; + this.type = _type; + this.passwd = _passwd; + } + + public Object getLock() { return this.lock; } + public Thread getThread() { return this.t; } + + public void start() { + if (t == null) { + t = new Thread(this); + t.start(); + } + } + + @Override + public void run() { + int playerId = connect(); + + System.out.println("[" + System.currentTimeMillis() + " - " + name + "]: PlayerId: " + playerId + " connected"); + + // Wait to make all guests users connected at once + synchronized (lock) { + try { + lock.wait(); + } catch (InterruptedException e) { + e.printStackTrace(); + } + } + + System.out.println("[" + System.currentTimeMillis() + " - " + name + "]: PlayerId: " + playerId + " released"); + + // Close conn + if (s != null && !s.isClosed()) try {s.close();} catch (IOException e) {} + } + + public int connect() { + Exception excep = null; + int playerId = -1; + + try { + s = new Socket("localhost", 7234); + PokerTHMessage msg = receiveMessage(s); + assertTrue(msg.hasAnnounceMessage()); + + if (type.equalsIgnoreCase("S")) assertTrue(msg.getAnnounceMessage().getServerType() == ServerType.serverTypeInternetNoAuth); + + AnnounceMessage.Version requestedVersion = AnnounceMessage.Version.newBuilder() + .setMajorVersion(PROTOCOL_VERSION_MAJOR) + .setMinorVersion(PROTOCOL_VERSION_MINOR) + .build(); + + InitMessage init; + if (type.equalsIgnoreCase("S")) { + init = InitMessage.newBuilder() + .setBuildId(0) + .setLogin(InitMessage.LoginType.unauthenticatedLogin) + .setRequestedVersion(requestedVersion) + .setNickName(name).setAuthServerPassword(passwd) + .build(); + } + else { + init = InitMessage.newBuilder() + .setBuildId(0) + .setLogin(InitMessage.LoginType.guestLogin) + .setRequestedVersion(requestedVersion) + .setNickName(name) + .build(); + } + + msg = PokerTHMessage.newBuilder() + .setMessageType(PokerTHMessageType.Type_InitMessage) + .setInitMessage(init) + .build(); + + sendMessage(msg, s); + + msg = receiveMessage(s); + failOnErrorMessage(msg); + + if (msg.hasInitAckMessage() && msg.getMessageType() == PokerTHMessageType.Type_InitAckMessage) { + InitAckMessage initAck = msg.getInitAckMessage(); + assertTrue(initAck.getYourPlayerId() != 0L); + assertTrue(!initAck.hasYourAvatarHash()); + playerId = initAck.getYourPlayerId(); + } + else { + failOnErrorMessage(msg); + fail("Invalid message."); + } + + } + catch (Exception e) { + excep = e; + e.printStackTrace(); + } + finally { + if (excep != null) { + if (s != null) try {s.close();} catch (IOException e) {} + } + } + + return playerId; + } + + } + + ThreadGuest[] threads = new ThreadGuest[numThreads]; + + for (int i = 0; i < threads.length; i++) { + threads[i] = new ThreadGuest("Guest" + String.format("%05d",i), serverType, serverPasswd, new Object()); + threads[i].start(); + + // Must wait over a second, before start next thread, to avoid error 133 (ERR_NET_INIT_BLOCKED) + // Don't know why this don't works. I had to disable ServerBruteForceProtection on server config file. + // So, this can be reduced to a few milliseconds (better not to comment or remove). + Thread.sleep(1500L); + } + + // All threads are running and waiting. + Thread.sleep(sleepFor); + + // Unlock, and let threads die. + for (int i = 0; i < threads.length; i++) { + Object lock = threads[i].getLock(); + synchronized (lock) { + lock.notify(); + } + try { + threads[i].getThread().join(); + } catch (InterruptedException e) { + e.printStackTrace(); + } + } + + return -1; + } + } diff --git a/tests/src/de/pokerth/test/ThreadedGuestTest.java b/tests/src/de/pokerth/test/ThreadedGuestTest.java deleted file mode 100644 index e3bf2b7b..00000000 --- a/tests/src/de/pokerth/test/ThreadedGuestTest.java +++ /dev/null @@ -1,256 +0,0 @@ -package de.pokerth.test; - -import static org.junit.Assert.assertTrue; -import static org.junit.Assert.fail; - -import java.io.IOException; -import java.net.Socket; - -import org.junit.Assert; -import org.junit.Test; - -import de.pokerth.protocol.ProtoBuf.AnnounceMessage; -import de.pokerth.protocol.ProtoBuf.AnnounceMessage.ServerType; -import de.pokerth.protocol.ProtoBuf.ErrorMessage; -import de.pokerth.protocol.ProtoBuf.InitAckMessage; -import de.pokerth.protocol.ProtoBuf.InitMessage; -import de.pokerth.protocol.ProtoBuf.PokerTHMessage; -import de.pokerth.protocol.ProtoBuf.PokerTHMessage.PokerTHMessageType; - -/** - * Description: - * - * This test runs several guests users in PokerTH Server. - * Starts N threads thats connects to server "at once": There is a delay between each connection, to avoid error 133 - * (NOTE: I didn't succed avoid this message. So, it's better to disable "ServerBruteForceProtection" in config.xml) - * Once connected, each thread waits until all other connects to simulate N users at once - * - * When all threads are connected, each thread gets unlocked and close connections, in an orderly way. - * - * - * Running: - * - * For OFFICIAL_SERVER, runs with type='O', passwd is ignored - * For DEDICATED_SERVER: - * - Server must be faked to accept guest connections (aren't allowed by default). - * Method ServerLobbyThread::HandleNetPacketInit() must be changed - * - runs this test, with type='S' and passwd for dedicated server - * - * Purpose: - * - * Final purpose of this test, is check whether a guest connection isn't permitted - * once the maximum number of guests players allowed is reached - * To achieve that, N (NUM_THREADS) must be SERVER_MAX_GUEST_USERS + 1. That value is defined in ServerLobbyThread - * In that case, test will fail, because it's not supposed to receive that error message. - * Test must be corrected: - * - Last thread launched (or the one that makes SERVER_MAX_GUEST_USERS + 1, and next ones), must receive an error - * - To do that, msg.hasErrorMessage() must be true, and reason (msg.getErrorMessage().getErrorReason()) - * must be ERR_NET_SERVER_FULL (error gameIsFull) - * - * - * TODO: - * - * This test must be modified to adapt to: - * - Java8 (much simple threads) Runnable name = () -> {code} - * - Modern concurrency design: using Executors, Barriers and CountDownLatch - * - * - * @author albmed - * - */ -public class ThreadedGuestTest { - - public static final String type = "S"; - public static final String passwd = "PasswdServer"; - - public static final int NUM_THREADS = 7; - - @Test - public void threadedGuestTest() throws InterruptedException { - Assert.assertNotNull(type); - if (!type.matches("[OoSs]")) Assert.fail("No valid option"); - - if (type.equalsIgnoreCase("S") && (passwd == null || passwd.trim().length() == 0)) - Assert.fail("Server Passwd needed on Dedicated server"); - - ThreadGuest[] threads = new ThreadGuest[NUM_THREADS]; - - for (int i = 0; i < threads.length; i++) { - threads[i] = new ThreadGuest("Guest" + String.format("%05d",i), type, passwd, new Object()); - threads[i].start(); - - Thread.sleep(1500L); // Must wait over a second, before start next thread, to avoid error 133 (ERR_NET_INIT_BLOCKED) - } - - Thread.sleep(1000L); - - for (int i = 0; i < threads.length; i++) { - Object lock = threads[i].getLock(); - synchronized (lock) { - lock.notify(); - } - try { - threads[i].getThread().join(); - } catch (InterruptedException e) { - e.printStackTrace(); - } - } - - } - - public static PokerTHMessage receiveMessage(Socket s) throws Exception { - byte[] header = new byte[4]; - s.getInputStream().read(header); - int size = 0; - for (int i = 0; i < 4; i++) { - size <<= 8; - size |= (int)header[i]; - } - byte[] data = new byte[size]; - s.getInputStream().read(data); - return PokerTHMessage.parseFrom(data); - } - - public static void sendMessage(PokerTHMessage msg, Socket s) throws Exception { - int size = msg.getSerializedSize(); - byte[] header = new byte[4]; - for (int i = 0; i < 4; i++) - { - header[i] = (new Integer(size >>> 24)).byteValue(); - size <<= 8; - } - s.getOutputStream().write(header); - s.getOutputStream().write(msg.toByteArray()); - } - - - public static void failOnErrorMessage(PokerTHMessage msg) { - if (msg.hasErrorMessage()) - { - ErrorMessage error = msg.getErrorMessage(); - fail("Received error: " + error.getErrorReason().toString()); - } - } - -} - -class ThreadGuest implements Runnable { - - public final int PROTOCOL_VERSION_MAJOR = 5; - public final int PROTOCOL_VERSION_MINOR = 1; - - Thread t; - Object lock; - String name; - String type; - Socket s; - String passwd; - - public ThreadGuest(String _name, String _type, String _passwd, Object _lock) { - this.name = _name; - if (_lock == null) lock = new Object(); - this.lock = _lock; - this.type = _type; - this.passwd = _passwd; - } - - public Object getLock() { return this.lock; } - public Thread getThread() { return this.t; } - - public void start() { - if (t == null) { - t = new Thread(this); - t.start(); - } - } - - @Override - public void run() { - int playerId = connect(); - - System.out.println("[" + System.currentTimeMillis() + " - " + name + "]: PlayerId: " + playerId + " connected"); - - // Wait to make all guests users connected at once - synchronized (lock) { - try { - lock.wait(); - } catch (InterruptedException e) { - e.printStackTrace(); - } - } - - System.out.println("[" + System.currentTimeMillis() + " - " + name + "]: PlayerId: " + playerId + " released"); - - // Close conn - if (s != null && !s.isClosed()) try {s.close();} catch (IOException e) {} - } - - public int connect() { - Exception excep = null; - int playerId = -1; - - try { - s = new Socket("localhost", 7234); - PokerTHMessage msg = ThreadedGuestTest.receiveMessage(s); - Assert.assertTrue(msg.hasAnnounceMessage()); - - if (type.equalsIgnoreCase("S")) Assert.assertTrue(msg.getAnnounceMessage().getServerType() == ServerType.serverTypeInternetNoAuth); - - AnnounceMessage.Version requestedVersion = AnnounceMessage.Version.newBuilder() - .setMajorVersion(PROTOCOL_VERSION_MAJOR) - .setMinorVersion(PROTOCOL_VERSION_MINOR) - .build(); - - InitMessage init; - if (type.equalsIgnoreCase("S")) { - init = InitMessage.newBuilder() - .setBuildId(0) - .setLogin(InitMessage.LoginType.unauthenticatedLogin) - .setRequestedVersion(requestedVersion) - .setNickName(name).setAuthServerPassword(passwd) - .build(); - } - else { - init = InitMessage.newBuilder() - .setBuildId(0) - .setLogin(InitMessage.LoginType.guestLogin) - .setRequestedVersion(requestedVersion) - .setNickName(name) - .build(); - } - - msg = PokerTHMessage.newBuilder() - .setMessageType(PokerTHMessageType.Type_InitMessage) - .setInitMessage(init) - .build(); - - ThreadedGuestTest.sendMessage(msg, s); - - msg = ThreadedGuestTest.receiveMessage(s); - ThreadedGuestTest.failOnErrorMessage(msg); - - if (msg.hasInitAckMessage() && msg.getMessageType() == PokerTHMessageType.Type_InitAckMessage) { - InitAckMessage initAck = msg.getInitAckMessage(); - assertTrue(initAck.getYourPlayerId() != 0L); - assertTrue(!initAck.hasYourAvatarHash()); - playerId = initAck.getYourPlayerId(); - } - else { - ThreadedGuestTest.failOnErrorMessage(msg); - Assert.fail("Invalid message."); - } - } - catch (Exception e) { - excep = e; - e.printStackTrace(); - } - finally { - if (excep != null) { - if (s != null) try {s.close();} catch (IOException e) {} - } - } - - return playerId; - } - -} From 159fd1e0946f578300fc1ecf796b117973f27432 Mon Sep 17 00:00:00 2001 From: Albert Medela Date: Sat, 23 Jul 2016 21:00:13 +0200 Subject: [PATCH 25/28] JUnit test for several guest users adapted -- correction --- tests/src/de/pokerth/test/GuestLoginThreadedTest.java | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 tests/src/de/pokerth/test/GuestLoginThreadedTest.java diff --git a/tests/src/de/pokerth/test/GuestLoginThreadedTest.java b/tests/src/de/pokerth/test/GuestLoginThreadedTest.java new file mode 100644 index 00000000..be661a6e --- /dev/null +++ b/tests/src/de/pokerth/test/GuestLoginThreadedTest.java @@ -0,0 +1,11 @@ +package de.pokerth.test; + +import org.junit.Test; + +public class GuestLoginThreadedTest extends TestBase { + + @Test + public void testInitThreadedMessage() throws Exception { + guestInitThreaded(); + } +} From 35f0521bbd4d346dbd1e6c9ce9ee9e9b4c888a2b Mon Sep 17 00:00:00 2001 From: Albert Medela Date: Sat, 30 Jul 2016 17:23:16 +0200 Subject: [PATCH 26/28] astyle, optimizations and test removed --- src/net/common/servergame.cpp | 4 +- src/net/common/servergamestate.cpp | 2 +- src/net/common/sessionmanager.cpp | 8 +- src/net/serverlobbythread.h | 1 - .../pokerth/test/GuestLoginThreadedTest.java | 11 - tests/src/de/pokerth/test/TestBase.java | 239 ------------------ 6 files changed, 9 insertions(+), 256 deletions(-) delete mode 100644 tests/src/de/pokerth/test/GuestLoginThreadedTest.java diff --git a/src/net/common/servergame.cpp b/src/net/common/servergame.cpp index d88e876b..34cde66d 100644 --- a/src/net/common/servergame.cpp +++ b/src/net/common/servergame.cpp @@ -1171,8 +1171,8 @@ ServerGame::AddPlayerToNumJoinsPerPlayer(const std::string &playerName) NumJoinsPerPlayerMap::iterator pos = m_numJoinsPerPlayer.find(playerName); if (pos != m_numJoinsPerPlayer.end()) { - pos->second++; - } else{ + pos->second++; + } else { m_numJoinsPerPlayer[playerName] = 1; } } diff --git a/src/net/common/servergamestate.cpp b/src/net/common/servergamestate.cpp index 14379fb7..ab0b5dcc 100644 --- a/src/net/common/servergamestate.cpp +++ b/src/net/common/servergamestate.cpp @@ -84,7 +84,7 @@ using namespace std; #define SERVER_LOOP_DELAY_MSEC 50 #define SERVER_MAX_NUM_SPECTATORS_PER_GAME 100 -#define GAME_MAX_NUM_JOINS_PER_PLAYER 6 +#define GAME_MAX_NUM_JOINS_PER_PLAYER 6 // Helper functions diff --git a/src/net/common/sessionmanager.cpp b/src/net/common/sessionmanager.cpp index 097c3e69..67599b62 100644 --- a/src/net/common/sessionmanager.cpp +++ b/src/net/common/sessionmanager.cpp @@ -260,9 +260,9 @@ SessionManager::IsGuestAllowedToConnect(const std::string &clientAddress) const int num = 0; while (i != end) { boost::shared_ptr tmpPlayer(i->second->GetPlayerData()); - if(tmpPlayer && tmpPlayer->GetRights() == PLAYER_RIGHTS_GUEST){ + if(tmpPlayer && tmpPlayer->GetRights() == PLAYER_RIGHTS_GUEST) { num++; - if(i->second->GetClientAddr() == clientAddress || num >= SERVER_MAX_GUEST_USERS_LOBBY) { + if(i->second->GetClientAddr() == clientAddress) { // guest has same ip as another guest in lobby or // number of guests in lobby >= SERVER_MAX_GUEST_USERS_LOBBY => not allowed retVal = false; @@ -271,6 +271,10 @@ SessionManager::IsGuestAllowedToConnect(const std::string &clientAddress) const } ++i; } + + // Check if number of players in lobby exceeds max + if (num >= SERVER_MAX_GUEST_USERS_LOBBY) retVal = false; + return retVal; } diff --git a/src/net/serverlobbythread.h b/src/net/serverlobbythread.h index 40038432..c26486b7 100644 --- a/src/net/serverlobbythread.h +++ b/src/net/serverlobbythread.h @@ -36,7 +36,6 @@ #include #include #include -#include #include #include diff --git a/tests/src/de/pokerth/test/GuestLoginThreadedTest.java b/tests/src/de/pokerth/test/GuestLoginThreadedTest.java deleted file mode 100644 index be661a6e..00000000 --- a/tests/src/de/pokerth/test/GuestLoginThreadedTest.java +++ /dev/null @@ -1,11 +0,0 @@ -package de.pokerth.test; - -import org.junit.Test; - -public class GuestLoginThreadedTest extends TestBase { - - @Test - public void testInitThreadedMessage() throws Exception { - guestInitThreaded(); - } -} diff --git a/tests/src/de/pokerth/test/TestBase.java b/tests/src/de/pokerth/test/TestBase.java index d5bb3b79..4e80c327 100644 --- a/tests/src/de/pokerth/test/TestBase.java +++ b/tests/src/de/pokerth/test/TestBase.java @@ -389,243 +389,4 @@ public abstract class TestBase { return cipher.doFinal(ciphertext); } - - /** - * Description: - * - * This test runs several guests users in PokerTH Server. - * Starts N threads thats connects to server "at once": There is a delay between each connection, to avoid error 133 - * (NOTE: I didn't succeed avoid this message. So, it's better to disable "ServerBruteForceProtection" in config.xml) - * Once connected, each thread waits until all other connects to simulate N users at once - * - * When all threads are connected, each thread gets unlocked and close connections, in an orderly way. - * - * - * Running: - * - * Tests accepts JVM property options: - * -Dpthserver.type, type of server: 'S' for dedicated, 'O' for official (default) - * -Dpthserver.passwd, password for dedicated server - * -Dpthserver.numthreads, number of threads (guests users) launched (5 default) - * -Dpthserver.waitfor, time all users remain connected until released. - * Format: XXX[m,s,M] for m(milliseconds), s(seconds), M(minutes). Eg: 1M (1 minute), 45s (45 seconds) - * Default: 1s - * - * For DEDICATED_SERVER Server must be faked to accept guest connections (aren't allowed by default). - * - * Purpose: - * - * Final purpose of this test, is check whether a guest connection isn't permitted - * once the maximum number of guests players allowed is reached - * To achieve that, N (NUM_THREADS) must be SERVER_MAX_GUEST_USERS + 1. That value is defined in ServerLobbyThread - * In that case, test will fail, because it's not supposed to receive that error message. - * Test must be corrected: - * - Last thread launched (or the one that makes SERVER_MAX_GUEST_USERS + 1, and next ones), must receive an error - * - To do that, msg.hasErrorMessage() must be true, and reason (msg.getErrorMessage().getErrorReason()) - * must be ERR_NET_SERVER_FULL (error gameIsFull) - * - * - * TODO: - * - * This test must be modified to adapt to: - * - Java8 (much simple threads) Runnable name = () -> {code} - * - Modern concurrency design: using Executors, Barriers and CountDownLatch - * - Test a guarantee exception when limit is reached. - * - * @author albmed - * - * @return - * @throws Exception - */ - public int guestInitThreaded() throws Exception { - - String serverType = System.getProperty("pthserver.type"); - String serverPasswd = System.getProperty("pthserver.passwd"); - String numThreadsStr = System.getProperty("pthserver.numthreads"); - String sleepForStr = System.getProperty("pthserver.waitfor"); - - // if serverType not provided or wrong, suppose official server - if (serverType == null || !serverType.matches("[OoSs]")) { - serverType = "O"; - serverPasswd = ""; - } - - // if dedicated server passwd is mandatory - if (serverType.equalsIgnoreCase("S") && (serverPasswd == null || serverPasswd.trim().length() == 0)) - fail("Server Passwd needed on Dedicated server"); - - // if numThreads not provided supposed 5 (must match with SERVER_MAX_GUEST_USERS) - int numThreads = 5; - if (numThreadsStr != null && numThreadsStr.matches("[0-9]+")) - numThreads = Integer.valueOf(numThreadsStr).intValue(); - - // waits for, at least 1sec, when all threads are alive and waiting - // can wait longer if, a one want to do a test with a real client. - // Format is: time[unit], where unit is "m" (milli), "s" (seconds) or "M" (minutes) - long sleepFor = 1000L; - if (sleepForStr != null && sleepForStr.matches("([0-9]+)([msM]?)")) { - long units = 1L; - if ((sleepForStr.charAt(sleepForStr.length() - 1) + "").matches("[msM]")) { - switch (sleepForStr.charAt(sleepForStr.length() - 1)) { - case 'm': units = 1L; break; // milliseconds - case 's': units = 1000L; break; // seconds - case 'M': units = 60L*1000L; break; // minutes - default: break; - } - sleepForStr = sleepForStr.substring(0, sleepForStr.length() -1); - } - - long tmp = Long.valueOf(sleepForStr).longValue() * units; - if (tmp > sleepFor) sleepFor = tmp; - } - - class ThreadGuest implements Runnable { - Thread t; - Object lock; - String name; - String type; - Socket s; - String passwd; - - public ThreadGuest(String _name, String _type, String _passwd, Object _lock) { - this.name = _name; - if (_lock == null) lock = new Object(); - this.lock = _lock; - this.type = _type; - this.passwd = _passwd; - } - - public Object getLock() { return this.lock; } - public Thread getThread() { return this.t; } - - public void start() { - if (t == null) { - t = new Thread(this); - t.start(); - } - } - - @Override - public void run() { - int playerId = connect(); - - System.out.println("[" + System.currentTimeMillis() + " - " + name + "]: PlayerId: " + playerId + " connected"); - - // Wait to make all guests users connected at once - synchronized (lock) { - try { - lock.wait(); - } catch (InterruptedException e) { - e.printStackTrace(); - } - } - - System.out.println("[" + System.currentTimeMillis() + " - " + name + "]: PlayerId: " + playerId + " released"); - - // Close conn - if (s != null && !s.isClosed()) try {s.close();} catch (IOException e) {} - } - - public int connect() { - Exception excep = null; - int playerId = -1; - - try { - s = new Socket("localhost", 7234); - PokerTHMessage msg = receiveMessage(s); - assertTrue(msg.hasAnnounceMessage()); - - if (type.equalsIgnoreCase("S")) assertTrue(msg.getAnnounceMessage().getServerType() == ServerType.serverTypeInternetNoAuth); - - AnnounceMessage.Version requestedVersion = AnnounceMessage.Version.newBuilder() - .setMajorVersion(PROTOCOL_VERSION_MAJOR) - .setMinorVersion(PROTOCOL_VERSION_MINOR) - .build(); - - InitMessage init; - if (type.equalsIgnoreCase("S")) { - init = InitMessage.newBuilder() - .setBuildId(0) - .setLogin(InitMessage.LoginType.unauthenticatedLogin) - .setRequestedVersion(requestedVersion) - .setNickName(name).setAuthServerPassword(passwd) - .build(); - } - else { - init = InitMessage.newBuilder() - .setBuildId(0) - .setLogin(InitMessage.LoginType.guestLogin) - .setRequestedVersion(requestedVersion) - .setNickName(name) - .build(); - } - - msg = PokerTHMessage.newBuilder() - .setMessageType(PokerTHMessageType.Type_InitMessage) - .setInitMessage(init) - .build(); - - sendMessage(msg, s); - - msg = receiveMessage(s); - failOnErrorMessage(msg); - - if (msg.hasInitAckMessage() && msg.getMessageType() == PokerTHMessageType.Type_InitAckMessage) { - InitAckMessage initAck = msg.getInitAckMessage(); - assertTrue(initAck.getYourPlayerId() != 0L); - assertTrue(!initAck.hasYourAvatarHash()); - playerId = initAck.getYourPlayerId(); - } - else { - failOnErrorMessage(msg); - fail("Invalid message."); - } - - } - catch (Exception e) { - excep = e; - e.printStackTrace(); - } - finally { - if (excep != null) { - if (s != null) try {s.close();} catch (IOException e) {} - } - } - - return playerId; - } - - } - - ThreadGuest[] threads = new ThreadGuest[numThreads]; - - for (int i = 0; i < threads.length; i++) { - threads[i] = new ThreadGuest("Guest" + String.format("%05d",i), serverType, serverPasswd, new Object()); - threads[i].start(); - - // Must wait over a second, before start next thread, to avoid error 133 (ERR_NET_INIT_BLOCKED) - // Don't know why this don't works. I had to disable ServerBruteForceProtection on server config file. - // So, this can be reduced to a few milliseconds (better not to comment or remove). - Thread.sleep(1500L); - } - - // All threads are running and waiting. - Thread.sleep(sleepFor); - - // Unlock, and let threads die. - for (int i = 0; i < threads.length; i++) { - Object lock = threads[i].getLock(); - synchronized (lock) { - lock.notify(); - } - try { - threads[i].getThread().join(); - } catch (InterruptedException e) { - e.printStackTrace(); - } - } - - return -1; - } - } From 4682b51e407cd45c93e4f4fec4181381be5fdc90 Mon Sep 17 00:00:00 2001 From: Kai Philipp Date: Sat, 30 Jul 2016 19:05:16 +0200 Subject: [PATCH 27/28] servergame GetNumJoinsPerPlayer optimized --- src/net/common/servergame.cpp | 5 +++-- src/net/common/sessionmanager.cpp | 5 ++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/net/common/servergame.cpp b/src/net/common/servergame.cpp index 34cde66d..26857151 100644 --- a/src/net/common/servergame.cpp +++ b/src/net/common/servergame.cpp @@ -1181,8 +1181,9 @@ int ServerGame::GetNumJoinsPerPlayer(const std::string &playerName) { int num = 0; - if(m_numJoinsPerPlayer.find(playerName) != m_numJoinsPerPlayer.end()) { - num = m_numJoinsPerPlayer[playerName]; + NumJoinsPerPlayerMap::const_iterator pos = m_numJoinsPerPlayer.find(playerName); + if (pos != m_numJoinsPerPlayer.end()) { + num = pos->second; } return num; } diff --git a/src/net/common/sessionmanager.cpp b/src/net/common/sessionmanager.cpp index 67599b62..f4e00461 100644 --- a/src/net/common/sessionmanager.cpp +++ b/src/net/common/sessionmanager.cpp @@ -260,11 +260,10 @@ SessionManager::IsGuestAllowedToConnect(const std::string &clientAddress) const int num = 0; while (i != end) { boost::shared_ptr tmpPlayer(i->second->GetPlayerData()); - if(tmpPlayer && tmpPlayer->GetRights() == PLAYER_RIGHTS_GUEST) { + if (tmpPlayer && tmpPlayer->GetRights() == PLAYER_RIGHTS_GUEST) { num++; - if(i->second->GetClientAddr() == clientAddress) { + if (i->second->GetClientAddr() == clientAddress) { // guest has same ip as another guest in lobby or - // number of guests in lobby >= SERVER_MAX_GUEST_USERS_LOBBY => not allowed retVal = false; break; } From 6bd080842729d44b42266f27b62528a602799966 Mon Sep 17 00:00:00 2001 From: Albert Medela Date: Thu, 4 Aug 2016 21:34:38 +0200 Subject: [PATCH 28/28] Block duplicated IP for guests configurable --- src/config/configfile.cpp | 1 + src/net/common/serverlobbythread.cpp | 2 +- src/net/common/sessionmanager.cpp | 4 ++-- src/net/sessionmanager.h | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/config/configfile.cpp b/src/config/configfile.cpp index 701199f5..9d4ec0cf 100644 --- a/src/config/configfile.cpp +++ b/src/config/configfile.cpp @@ -311,6 +311,7 @@ ConfigFile::ConfigFile(char *argv0, bool readonly) : noWriteAccess(readonly) configList.push_back(ConfigInfo("DBServerDatabaseName", CONFIG_TYPE_STRING, "pokerth")); configList.push_back(ConfigInfo("DBServerEncryptionKey", CONFIG_TYPE_STRING, "")); configList.push_back(ConfigInfo("GameNameBadWordList", CONFIG_TYPE_STRING_LIST, "Regex")); + configList.push_back(ConfigInfo("ServerBlockGuestDuplicateIP", CONFIG_TYPE_INT, "0")); //fill tempList firstTime configBufferList = configList; diff --git a/src/net/common/serverlobbythread.cpp b/src/net/common/serverlobbythread.cpp index fddbe7d9..5e76f908 100644 --- a/src/net/common/serverlobbythread.cpp +++ b/src/net/common/serverlobbythread.cpp @@ -1062,7 +1062,7 @@ ServerLobbyThread::HandleNetPacketInit(boost::shared_ptr session, c } // check if a guest session in lobby with same ip is already connected and // if number of lobby guests >= SERVER_MAX_GUEST_USERS_LOBBY - if(!m_sessionManager.IsGuestAllowedToConnect(session->GetClientAddr())) { + if(!m_sessionManager.IsGuestAllowedToConnect(session->GetClientAddr(), m_serverConfig.readConfigInt("ServerBlockGuestDuplicateIP"))) { SessionError(session, ERR_NET_SERVER_FULL); return; } diff --git a/src/net/common/sessionmanager.cpp b/src/net/common/sessionmanager.cpp index f4e00461..1017b45f 100644 --- a/src/net/common/sessionmanager.cpp +++ b/src/net/common/sessionmanager.cpp @@ -249,7 +249,7 @@ SessionManager::IsClientAddressConnected(const std::string &clientAddress) const } bool -SessionManager::IsGuestAllowedToConnect(const std::string &clientAddress) const +SessionManager::IsGuestAllowedToConnect(const std::string &clientAddress, int blockDup) const { bool retVal = true; boost::recursive_mutex::scoped_lock lock(m_sessionMapMutex); @@ -262,7 +262,7 @@ SessionManager::IsGuestAllowedToConnect(const std::string &clientAddress) const boost::shared_ptr tmpPlayer(i->second->GetPlayerData()); if (tmpPlayer && tmpPlayer->GetRights() == PLAYER_RIGHTS_GUEST) { num++; - if (i->second->GetClientAddr() == clientAddress) { + if (blockDup && i->second->GetClientAddr() == clientAddress) { // guest has same ip as another guest in lobby or retVal = false; break; diff --git a/src/net/sessionmanager.h b/src/net/sessionmanager.h index 36f7fb4f..ec3e3af3 100644 --- a/src/net/sessionmanager.h +++ b/src/net/sessionmanager.h @@ -64,7 +64,7 @@ public: bool IsPlayerConnected(const std::string &playerName) const; bool IsPlayerConnected(unsigned uniqueId) const; bool IsClientAddressConnected(const std::string &clientAddress) const; - bool IsGuestAllowedToConnect(const std::string &clientAddress) const; + bool IsGuestAllowedToConnect(const std::string &clientAddress, int) const; void ForEach(boost::function)> func);