diff --git a/gocode/src/gameserver/dispatcher.go b/gocode/src/gameserver/dispatcher.go index 55f1e348..8d08d3ff 100644 --- a/gocode/src/gameserver/dispatcher.go +++ b/gocode/src/gameserver/dispatcher.go @@ -32,21 +32,23 @@ package gameserver import ( "log" + "pokerth" "sync/atomic" ) type Dispatcher struct { - handler PacketHandler - receiver chan SessionPacket + receiver chan SessionPokerTHMessage + authChan chan SessionAuthMessage + lobbyChan chan SessionLobbyMessage lastSessionId uint32 } -func NewDispatcher(handler PacketHandler) *Dispatcher { - return &Dispatcher{handler, make(chan SessionPacket, RECV_DISPATCHER_NUM_PACKET_BUF), 0} +func NewDispatcher(authChan chan SessionAuthMessage, lobbyChan chan SessionLobbyMessage) *Dispatcher { + return &Dispatcher{make(chan SessionPokerTHMessage, RECV_DISPATCHER_NUM_PACKET_BUF), authChan, lobbyChan, 0} } -func (d *Dispatcher) GetReceiver() *chan SessionPacket { - return &d.receiver +func (d *Dispatcher) GetReceiver() chan SessionPokerTHMessage { + return d.receiver } func (d *Dispatcher) GetNextSessionId() uint32 { @@ -54,12 +56,19 @@ func (d *Dispatcher) GetNextSessionId() uint32 { } func (d *Dispatcher) Run() { - var sessionPacket SessionPacket + var sessionMsg SessionPokerTHMessage for { select { - case sessionPacket = <-d.receiver: - log.Printf("Packet in dispatcher session %d type %d", sessionPacket.session.id, sessionPacket.packet.GetMessageType()) - d.handler.HandlePacket(sessionPacket.session, sessionPacket.packet) + case sessionMsg = <-d.receiver: + log.Printf("Packet in dispatcher session %d type %d", sessionMsg.session.id, sessionMsg.packet.GetMessageType()) + switch sessionMsg.packet.GetMessageType() { + case pokerth.PokerTHMessage_Type_AuthMessage: + d.authChan <- SessionAuthMessage{sessionMsg.session, sessionMsg.packet.GetAuthMessage()} + case pokerth.PokerTHMessage_Type_LobbyMessage: + d.lobbyChan <- SessionLobbyMessage{sessionMsg.session, sessionMsg.packet.GetLobbyMessage()} + default: + log.Print("Unknown packet type") + } } } } diff --git a/gocode/src/gameserver/lobby.go b/gocode/src/gameserver/lobby.go index f8784209..2831cf7c 100644 --- a/gocode/src/gameserver/lobby.go +++ b/gocode/src/gameserver/lobby.go @@ -37,16 +37,17 @@ import ( "pokerth" ) -type PacketHandler interface { - HandlePacket(session *Session, packet *pokerth.PokerTHMessage) -} - type Lobby struct { + receiver chan SessionLobbyMessage sessions *list.List } func NewLobby() *Lobby { - return &Lobby{list.New()} + return &Lobby{make(chan SessionLobbyMessage, RECV_LOBBY_NUM_PACKET_BUF), list.New()} +} + +func (l *Lobby) GetReceiver() chan SessionLobbyMessage { + return l.receiver } func (l *Lobby) AddSession(session *Session) { @@ -71,6 +72,12 @@ func (l *Lobby) AddSession(session *Session) { session.sender <- announce } -func (l *Lobby) HandlePacket(session *Session, packet *pokerth.PokerTHMessage) { - log.Print("packet") +func (l *Lobby) Run() { + var lobbyMsg SessionLobbyMessage + for { + select { + case lobbyMsg = <-l.receiver: + log.Printf("Lobby packet %d", lobbyMsg.packet.GetMessageType()) + } + } } diff --git a/gocode/src/gameserver/session.go b/gocode/src/gameserver/session.go index 20674b5e..74fb2f38 100644 --- a/gocode/src/gameserver/session.go +++ b/gocode/src/gameserver/session.go @@ -47,21 +47,37 @@ const RECV_BUF_SIZE uint32 = 4 * MAX_PACKET_SIZE const SEND_BUF_SIZE uint32 = 2 * MAX_PACKET_SIZE const SEND_NUM_PACKET_BUF = 2048 const RECV_DISPATCHER_NUM_PACKET_BUF = 2048 +const RECV_LOBBY_NUM_PACKET_BUF = 2048 type Session struct { id uint32 PacketSerializer Connection net.Conn sender chan *pokerth.PokerTHMessage - receiver *chan SessionPacket + receiver chan SessionPokerTHMessage } -type SessionPacket struct { +type SessionPokerTHMessage struct { session *Session packet *pokerth.PokerTHMessage } -func NewSession(id uint32, serializer PacketSerializer, conn net.Conn, receiver *chan SessionPacket) *Session { +type SessionAuthMessage struct { + session *Session + packet *pokerth.AuthMessage +} + +type SessionLobbyMessage struct { + session *Session + packet *pokerth.LobbyMessage +} + +type SessionGameMessage struct { + session *Session + packet *pokerth.GameMessage +} + +func NewSession(id uint32, serializer PacketSerializer, conn net.Conn, receiver chan SessionPokerTHMessage) *Session { return &Session{id, serializer, conn, make(chan *pokerth.PokerTHMessage, SEND_NUM_PACKET_BUF), receiver} } @@ -93,7 +109,7 @@ func (s *Session) handleReceive() { log.Print("Invalid packet") } else { log.Printf("Packet in: %d\n", packet.GetMessageType()) - *s.receiver <- SessionPacket{s, packet} + s.receiver <- SessionPokerTHMessage{s, packet} remainingBytes := bufPos - bytesScanned if remainingBytes > 0 { copy(buf[0:], buf[bytesScanned:remainingBytes]) diff --git a/gocode/src/main/main.go b/gocode/src/main/main.go index 8ae5d17e..d4d2e210 100644 --- a/gocode/src/main/main.go +++ b/gocode/src/main/main.go @@ -43,7 +43,8 @@ var dispatcher *gameserver.Dispatcher func main() { lobby = gameserver.NewLobby() - dispatcher = gameserver.NewDispatcher(lobby) + dispatcher = gameserver.NewDispatcher(nil, lobby.GetReceiver()) + go lobby.Run() go dispatcher.Run() listener, err := net.Listen("tcp", ":7234") diff --git a/pokerth.proto b/pokerth.proto index f0ec6860..63fa48ba 100644 --- a/pokerth.proto +++ b/pokerth.proto @@ -29,16 +29,10 @@ * as that of the covered work. * *****************************************************************************/ -import "src/third_party/gogoprotobuf/gogo.proto"; - option java_package = "de.pokerth.protocol"; option java_outer_classname = "ProtoBuf"; option optimize_for = LITE_RUNTIME; -option (gogoproto.marshaler_all) = true; -option (gogoproto.unmarshaler_all) = true; -option (gogoproto.sizer_all) = true; - // Enumerations used by several messages. enum NetGameMode { @@ -166,6 +160,7 @@ message AuthClientRequestMessage { optional string nickName = 5; // Authenticated login data is according to SCRAM SHA-1 optional bytes clientUserData = 6; + optional bytes myLastSessionId = 7; } message AuthServerChallengeMessage { @@ -183,14 +178,13 @@ message AuthServerVerificationMessage { } message InitMessage { - optional bytes myLastSessionId = 1; // Ignored for guest login. - optional bytes avatarHash = 2; + optional bytes avatarHash = 1; } message InitAckMessage { - optional bytes yourAvatarHash = 3; - optional uint32 rejoinGameId = 4; + optional bytes yourAvatarHash = 1; + optional uint32 rejoinGameId = 2; } message AvatarRequestMessage { diff --git a/src/core/common/avatarmanager.cpp b/src/core/common/avatarmanager.cpp index d9b9fd41..a8a52e47 100644 --- a/src/core/common/avatarmanager.cpp +++ b/src/core/common/avatarmanager.cpp @@ -195,13 +195,17 @@ AvatarManager::AvatarFileToNetPackets(const string &fileName, unsigned requestId AvatarFileType fileType; boost::shared_ptr tmpState = OpenAvatarFileForChunkRead(fileName, fileSize, fileType); if (tmpState.get() && fileSize && fileType != AVATAR_FILE_TYPE_UNKNOWN) { - boost::shared_ptr avatarHeader(new NetPacket); - avatarHeader->GetMsg()->set_messagetype(PokerTHMessage::Type_AvatarHeaderMessage); - AvatarHeaderMessage *netHeader = avatarHeader->GetMsg()->mutable_avatarheadermessage(); - netHeader->set_requestid(requestId); - netHeader->set_avatartype(static_cast(fileType)); - netHeader->set_avatarsize(fileSize); - packets.push_back(avatarHeader); + { + boost::shared_ptr avatarHeader(new NetPacket); + avatarHeader->GetMsg()->set_messagetype(PokerTHMessage::Type_LobbyMessage); + LobbyMessage *netLobby = avatarHeader->GetMsg()->mutable_lobbymessage(); + netLobby->set_messagetype(LobbyMessage::Type_AvatarHeaderMessage); + AvatarHeaderMessage *netHeader = netLobby->mutable_avatarheadermessage(); + netHeader->set_requestid(requestId); + netHeader->set_avatartype(static_cast(fileType)); + netHeader->set_avatarsize(fileSize); + packets.push_back(avatarHeader); + } unsigned numBytes = 0; unsigned totalBytesRead = 0; @@ -212,8 +216,10 @@ AvatarManager::AvatarFileToNetPackets(const string &fileName, unsigned requestId totalBytesRead += numBytes; boost::shared_ptr avatarFile(new NetPacket); - avatarFile->GetMsg()->set_messagetype(PokerTHMessage::Type_AvatarDataMessage); - AvatarDataMessage *netFile = avatarFile->GetMsg()->mutable_avatardatamessage(); + avatarFile->GetMsg()->set_messagetype(PokerTHMessage::Type_LobbyMessage); + LobbyMessage *netLobby = avatarFile->GetMsg()->mutable_lobbymessage(); + netLobby->set_messagetype(LobbyMessage::Type_AvatarDataMessage); + AvatarDataMessage *netFile = netLobby->mutable_avatardatamessage(); netFile->set_requestid(requestId); netFile->set_avatarblock((const char *)&tmpData[0], numBytes); packets.push_back(avatarFile); @@ -224,8 +230,10 @@ AvatarManager::AvatarFileToNetPackets(const string &fileName, unsigned requestId retVal = ERR_NET_WRONG_AVATAR_SIZE; else { boost::shared_ptr avatarEnd(new NetPacket); - avatarEnd->GetMsg()->set_messagetype(PokerTHMessage::Type_AvatarEndMessage); - AvatarEndMessage *netEnd = avatarEnd->GetMsg()->mutable_avatarendmessage(); + avatarEnd->GetMsg()->set_messagetype(PokerTHMessage::Type_LobbyMessage); + LobbyMessage *netLobby = avatarEnd->GetMsg()->mutable_lobbymessage(); + netLobby->set_messagetype(LobbyMessage::Type_AvatarEndMessage); + AvatarEndMessage *netEnd = netLobby->mutable_avatarendmessage(); netEnd->set_requestid(requestId); packets.push_back(avatarEnd); retVal = 0; diff --git a/src/net/clientstate.h b/src/net/clientstate.h index 85f67bb9..1a433879 100644 --- a/src/net/clientstate.h +++ b/src/net/clientstate.h @@ -44,8 +44,11 @@ class ClientThread; class ClientContext; class ClientCallback; class Game; -class NetPacket; class DownloadHelper; +class AnnounceMessage; +class AuthMessage; +class LobbyMessage; +class GameMessage; class ClientState { @@ -55,7 +58,10 @@ public: virtual void Enter(boost::shared_ptr client) = 0; virtual void Exit(boost::shared_ptr client) = 0; - virtual void HandlePacket(boost::shared_ptr client, boost::shared_ptr tmpPacket) = 0; + virtual void HandleAnnounceMsg(boost::shared_ptr client, const AnnounceMessage &announceMsg) = 0; + virtual void HandleAuthMsg(boost::shared_ptr client, const AuthMessage &authMsg) = 0; + virtual void HandleLobbyMsg(boost::shared_ptr client, const LobbyMessage &lobbyMsg) = 0; + virtual void HandleGameMsg(boost::shared_ptr client, const GameMessage &gameMsg) = 0; }; // State: Initialization. @@ -70,7 +76,10 @@ public: virtual void Enter(boost::shared_ptr client); virtual void Exit(boost::shared_ptr client); - virtual void HandlePacket(boost::shared_ptr /*client*/, boost::shared_ptr /*tmpPacket*/) {} + virtual void HandleAnnounceMsg(boost::shared_ptr /*client*/, const AnnounceMessage &/*announceMsg*/) {} + virtual void HandleAuthMsg(boost::shared_ptr /*client*/, const AuthMessage &/*authMsg*/) {} + virtual void HandleLobbyMsg(boost::shared_ptr /*client*/, const LobbyMessage &/*lobbyMsg*/) {} + virtual void HandleGameMsg(boost::shared_ptr /*client*/, const GameMessage &/*gameMsg*/) {} protected: // Protected constructor - this is a singleton. @@ -89,7 +98,10 @@ public: virtual void Enter(boost::shared_ptr client); virtual void Exit(boost::shared_ptr client); - virtual void HandlePacket(boost::shared_ptr /*client*/, boost::shared_ptr /*tmpPacket*/) {} + virtual void HandleAnnounceMsg(boost::shared_ptr /*client*/, const AnnounceMessage &/*announceMsg*/) {} + virtual void HandleAuthMsg(boost::shared_ptr /*client*/, const AuthMessage &/*authMsg*/) {} + virtual void HandleLobbyMsg(boost::shared_ptr /*client*/, const LobbyMessage &/*lobbyMsg*/) {} + virtual void HandleGameMsg(boost::shared_ptr /*client*/, const GameMessage &/*gameMsg*/) {} protected: @@ -113,7 +125,10 @@ public: virtual void Enter(boost::shared_ptr client); virtual void Exit(boost::shared_ptr client); - virtual void HandlePacket(boost::shared_ptr /*client*/, boost::shared_ptr /*tmpPacket*/) {} + virtual void HandleAnnounceMsg(boost::shared_ptr /*client*/, const AnnounceMessage &/*announceMsg*/) {} + virtual void HandleAuthMsg(boost::shared_ptr /*client*/, const AuthMessage &/*authMsg*/) {} + virtual void HandleLobbyMsg(boost::shared_ptr /*client*/, const LobbyMessage &/*lobbyMsg*/) {} + virtual void HandleGameMsg(boost::shared_ptr /*client*/, const GameMessage &/*gameMsg*/) {} protected: @@ -132,7 +147,10 @@ public: virtual void Enter(boost::shared_ptr client); virtual void Exit(boost::shared_ptr client); - virtual void HandlePacket(boost::shared_ptr /*client*/, boost::shared_ptr /*tmpPacket*/) {} + virtual void HandleAnnounceMsg(boost::shared_ptr /*client*/, const AnnounceMessage &/*announceMsg*/) {} + virtual void HandleAuthMsg(boost::shared_ptr /*client*/, const AuthMessage &/*authMsg*/) {} + virtual void HandleLobbyMsg(boost::shared_ptr /*client*/, const LobbyMessage &/*lobbyMsg*/) {} + virtual void HandleGameMsg(boost::shared_ptr /*client*/, const GameMessage &/*gameMsg*/) {} void SetDownloadHelper(boost::shared_ptr helper); @@ -159,7 +177,10 @@ public: virtual void Enter(boost::shared_ptr client); virtual void Exit(boost::shared_ptr client); - virtual void HandlePacket(boost::shared_ptr /*client*/, boost::shared_ptr /*tmpPacket*/) {} + virtual void HandleAnnounceMsg(boost::shared_ptr /*client*/, const AnnounceMessage &/*announceMsg*/) {} + virtual void HandleAuthMsg(boost::shared_ptr /*client*/, const AuthMessage &/*authMsg*/) {} + virtual void HandleLobbyMsg(boost::shared_ptr /*client*/, const LobbyMessage &/*lobbyMsg*/) {} + virtual void HandleGameMsg(boost::shared_ptr /*client*/, const GameMessage &/*gameMsg*/) {} protected: @@ -177,7 +198,10 @@ public: virtual void Enter(boost::shared_ptr client); virtual void Exit(boost::shared_ptr client); - virtual void HandlePacket(boost::shared_ptr /*client*/, boost::shared_ptr /*tmpPacket*/) {} + virtual void HandleAnnounceMsg(boost::shared_ptr /*client*/, const AnnounceMessage &/*announceMsg*/) {} + virtual void HandleAuthMsg(boost::shared_ptr /*client*/, const AuthMessage &/*authMsg*/) {} + virtual void HandleLobbyMsg(boost::shared_ptr /*client*/, const LobbyMessage &/*lobbyMsg*/) {} + virtual void HandleGameMsg(boost::shared_ptr /*client*/, const GameMessage &/*gameMsg*/) {} protected: @@ -199,7 +223,10 @@ public: virtual void Enter(boost::shared_ptr client); virtual void Exit(boost::shared_ptr client); - virtual void HandlePacket(boost::shared_ptr /*client*/, boost::shared_ptr /*tmpPacket*/) {} + virtual void HandleAnnounceMsg(boost::shared_ptr /*client*/, const AnnounceMessage &/*announceMsg*/) {} + virtual void HandleAuthMsg(boost::shared_ptr /*client*/, const AuthMessage &/*authMsg*/) {} + virtual void HandleLobbyMsg(boost::shared_ptr /*client*/, const LobbyMessage &/*lobbyMsg*/) {} + virtual void HandleGameMsg(boost::shared_ptr /*client*/, const GameMessage &/*gameMsg*/) {} void SetRemoteEndpoint(boost::asio::ip::tcp::resolver::iterator endpointIterator); @@ -224,12 +251,18 @@ class AbstractClientStateReceiving : public ClientState public: virtual ~AbstractClientStateReceiving(); - virtual void HandlePacket(boost::shared_ptr client, boost::shared_ptr tmpPacket); + virtual void HandleAnnounceMsg(boost::shared_ptr client, const AnnounceMessage &announceMsg); + virtual void HandleAuthMsg(boost::shared_ptr client, const AuthMessage &authMsg); + virtual void HandleLobbyMsg(boost::shared_ptr client, const LobbyMessage &lobbyMsg); + virtual void HandleGameMsg(boost::shared_ptr client, const GameMessage &gameMsg); protected: AbstractClientStateReceiving(); - virtual void InternalHandlePacket(boost::shared_ptr client, boost::shared_ptr tmpPacket) = 0; + virtual void InternalHandleAnnounceMsg(boost::shared_ptr client, const AnnounceMessage &announceMsg) = 0; + virtual void InternalHandleAuthMsg(boost::shared_ptr client, const AuthMessage &authMsg) = 0; + virtual void InternalHandleLobbyMsg(boost::shared_ptr client, const LobbyMessage &lobbyMsg) = 0; + virtual void InternalHandleGameMsg(boost::shared_ptr client, const GameMessage &gameMsg) = 0; }; // State: Session init. @@ -247,11 +280,14 @@ protected: // Protected constructor - this is a singleton. ClientStateStartSession(); - virtual void InternalHandlePacket(boost::shared_ptr client, boost::shared_ptr tmpPacket); + virtual void InternalHandleAnnounceMsg(boost::shared_ptr client, const AnnounceMessage &announceMsg); + virtual void InternalHandleAuthMsg(boost::shared_ptr /*client*/, const AuthMessage &/*authMsg*/) {} + virtual void InternalHandleLobbyMsg(boost::shared_ptr /*client*/, const LobbyMessage &/*lobbyMsg*/) {} + virtual void InternalHandleGameMsg(boost::shared_ptr /*client*/, const GameMessage &/*gameMsg*/) {} }; // State: Waiting for the user to enter login data. -class ClientStateWaitEnterLogin : public ClientState +class ClientStateWaitEnterLogin : public AbstractClientStateReceiving { public: static ClientStateWaitEnterLogin &Instance(); @@ -260,14 +296,17 @@ public: virtual void Enter(boost::shared_ptr client); virtual void Exit(boost::shared_ptr client); - virtual void HandlePacket(boost::shared_ptr client, boost::shared_ptr tmpPacket); - protected: // Protected constructor - this is a singleton. ClientStateWaitEnterLogin(); void TimerLoop(const boost::system::error_code& ec, boost::shared_ptr client); + + virtual void InternalHandleAnnounceMsg(boost::shared_ptr /*client*/, const AnnounceMessage &/*announceMsg*/) {} + virtual void InternalHandleAuthMsg(boost::shared_ptr client, const AuthMessage &authMsg); + virtual void InternalHandleLobbyMsg(boost::shared_ptr /*client*/, const LobbyMessage &/*lobbyMsg*/) {} + virtual void InternalHandleGameMsg(boost::shared_ptr /*client*/, const GameMessage &/*gameMsg*/) {} }; // State: Wait for Authentication Challenge. @@ -285,7 +324,10 @@ protected: // Protected constructor - this is a singleton. ClientStateWaitAuthChallenge(); - virtual void InternalHandlePacket(boost::shared_ptr client, boost::shared_ptr tmpPacket); + virtual void InternalHandleAnnounceMsg(boost::shared_ptr /*client*/, const AnnounceMessage &/*announceMsg*/) {} + virtual void InternalHandleAuthMsg(boost::shared_ptr client, const AuthMessage &authMsg); + virtual void InternalHandleLobbyMsg(boost::shared_ptr /*client*/, const LobbyMessage &/*lobbyMsg*/) {} + virtual void InternalHandleGameMsg(boost::shared_ptr /*client*/, const GameMessage &/*gameMsg*/) {} }; // State: Wait for Authentication Verification. @@ -303,7 +345,10 @@ protected: // Protected constructor - this is a singleton. ClientStateWaitAuthVerify(); - virtual void InternalHandlePacket(boost::shared_ptr client, boost::shared_ptr tmpPacket); + virtual void InternalHandleAnnounceMsg(boost::shared_ptr /*client*/, const AnnounceMessage &/*announceMsg*/) {} + virtual void InternalHandleAuthMsg(boost::shared_ptr client, const AuthMessage &authMsg); + virtual void InternalHandleLobbyMsg(boost::shared_ptr /*client*/, const LobbyMessage &/*lobbyMsg*/) {} + virtual void InternalHandleGameMsg(boost::shared_ptr /*client*/, const GameMessage &/*gameMsg*/) {} }; // State: Wait for Session ACK. @@ -321,7 +366,10 @@ protected: // Protected constructor - this is a singleton. ClientStateWaitSession(); - virtual void InternalHandlePacket(boost::shared_ptr client, boost::shared_ptr tmpPacket); + virtual void InternalHandleAnnounceMsg(boost::shared_ptr /*client*/, const AnnounceMessage &/*announceMsg*/) {} + virtual void InternalHandleAuthMsg(boost::shared_ptr /*client*/, const AuthMessage &/*authMsg*/) {} + virtual void InternalHandleLobbyMsg(boost::shared_ptr client, const LobbyMessage &lobbyMsg); + virtual void InternalHandleGameMsg(boost::shared_ptr /*client*/, const GameMessage &/*gameMsg*/) {} }; // State: Wait for Join. @@ -340,7 +388,10 @@ protected: // Protected constructor - this is a singleton. ClientStateWaitJoin(); - virtual void InternalHandlePacket(boost::shared_ptr client, boost::shared_ptr tmpPacket); + virtual void InternalHandleAnnounceMsg(boost::shared_ptr /*client*/, const AnnounceMessage &/*announceMsg*/) {} + virtual void InternalHandleAuthMsg(boost::shared_ptr /*client*/, const AuthMessage &/*authMsg*/) {} + virtual void InternalHandleLobbyMsg(boost::shared_ptr /*client*/, const LobbyMessage &/*lobbyMsg*/) {} + virtual void InternalHandleGameMsg(boost::shared_ptr client, const GameMessage &gameMsg); }; // State: Wait for start of the game or start info. diff --git a/src/net/common/clientstate.cpp b/src/net/common/clientstate.cpp index 6114ca63..6b055def 100644 --- a/src/net/common/clientstate.cpp +++ b/src/net/common/clientstate.cpp @@ -552,10 +552,22 @@ AbstractClientStateReceiving::~AbstractClientStateReceiving() } void -AbstractClientStateReceiving::HandlePacket(boost::shared_ptr client, boost::shared_ptr tmpPacket) +AbstractClientStateReceiving::HandleAnnounceMsg(boost::shared_ptr client, const AnnounceMessage &announceMsg) { - if (tmpPacket->GetMsg()->messagetype() == PokerTHMessage::Type_PlayerInfoReplyMessage) { - const PlayerInfoReplyMessage &infoReply = tmpPacket->GetMsg()->playerinforeplymessage(); + InternalHandleAnnounceMsg(client, announceMsg); +} + +void +AbstractClientStateReceiving::HandleAuthMsg(boost::shared_ptr client, const AuthMessage &authMsg) +{ + InternalHandleAuthMsg(client, authMsg); +} + +void +AbstractClientStateReceiving::HandleLobbyMsg(boost::shared_ptr client, const LobbyMessage &lobbyMsg) +{ + if (lobbyMsg.messagetype() == LobbyMessage::Type_PlayerInfoReplyMessage) { + const PlayerInfoReplyMessage &infoReply = lobbyMsg.playerinforeplymessage(); unsigned playerId = infoReply.playerid(); if (infoReply.has_playerinfodata()) { PlayerInfo tmpInfo; @@ -575,105 +587,16 @@ AbstractClientStateReceiving::HandlePacket(boost::shared_ptr clien client->SetPlayerInfo( playerId, tmpInfo); - } else { + } + else { client->SetUnknownPlayer(playerId); } - } else if (tmpPacket->GetMsg()->messagetype() == PokerTHMessage::Type_RemovedFromGameMessage) { - const RemovedFromGameMessage &netRemoved = tmpPacket->GetMsg()->removedfromgamemessage(); - - client->ClearPlayerDataList(); - // Resubscribe Lobby messages. - client->ResubscribeLobbyMsg(); - // Show Lobby. - client->GetCallback().SignalNetClientWaitDialog(); - int removeReason; - switch (netRemoved.removedfromgamereason()) { - case RemovedFromGameMessage::kickedFromGame : - removeReason = NTF_NET_REMOVED_KICKED; - break; - case RemovedFromGameMessage::gameIsFull : - removeReason = NTF_NET_REMOVED_GAME_FULL; - break; - case RemovedFromGameMessage::gameIsRunning : - removeReason = NTF_NET_REMOVED_ALREADY_RUNNING; - break; - case RemovedFromGameMessage::gameTimeout : - removeReason = NTF_NET_REMOVED_TIMEOUT; - break; - case RemovedFromGameMessage::removedStartFailed : - removeReason = NTF_NET_REMOVED_START_FAILED; - break; - case RemovedFromGameMessage::gameClosed : - removeReason = NTF_NET_REMOVED_GAME_CLOSED; - break; - default : - removeReason = NTF_NET_REMOVED_ON_REQUEST; - break; - } - client->GetCallback().SignalNetClientRemovedFromGame(removeReason); - client->SetState(ClientStateWaitJoin::Instance()); - } else if (tmpPacket->GetMsg()->messagetype() == PokerTHMessage::Type_GamePlayerLeftMessage) { - // A player left the game. - const GamePlayerLeftMessage &netLeft = tmpPacket->GetMsg()->gameplayerleftmessage(); - - if (client->GetGame()) { - boost::shared_ptr tmpPlayer = client->GetGame()->getPlayerByUniqueId(netLeft.playerid()); - if (tmpPlayer) { - tmpPlayer->setIsKicked(netLeft.gameplayerleftreason() == GamePlayerLeftMessage::leftKicked); - } - } - // Signal to GUI and remove from data list. - int removeReason; - switch (netLeft.gameplayerleftreason()) { - case GamePlayerLeftMessage::leftKicked : - removeReason = NTF_NET_REMOVED_KICKED; - break; - default : - removeReason = NTF_NET_REMOVED_ON_REQUEST; - break; - } - client->RemovePlayerData(netLeft.playerid(), removeReason); - } else if (tmpPacket->GetMsg()->messagetype() == PokerTHMessage::Type_GameAdminChangedMessage) { - // New admin for the game. - const GameAdminChangedMessage &netChanged = tmpPacket->GetMsg()->gameadminchangedmessage(); - - // Set new game admin and signal to GUI. - client->SetNewGameAdmin(netChanged.newadminplayerid()); - } else if (tmpPacket->GetMsg()->messagetype() == PokerTHMessage::Type_GamePlayerJoinedMessage) { - // Another player joined the network game. - const GamePlayerJoinedMessage &netPlayerJoined = tmpPacket->GetMsg()->gameplayerjoinedmessage(); - - boost::shared_ptr playerData = client->CreatePlayerData(netPlayerJoined.playerid(), netPlayerJoined.isgameadmin()); - client->AddPlayerData(playerData); - } else if (tmpPacket->GetMsg()->messagetype() == PokerTHMessage::Type_GameSpectatorJoinedMessage) { - // Another spectator joined the network game. - const GameSpectatorJoinedMessage &netSpectatorJoined = tmpPacket->GetMsg()->gamespectatorjoinedmessage(); - // Request player info if needed. - PlayerInfo info; - if (!client->GetCachedPlayerInfo(netSpectatorJoined.playerid(), info)) { - client->RequestPlayerInfo(netSpectatorJoined.playerid()); - } - client->ModifyGameInfoAddSpectatorDuringGame(netSpectatorJoined.playerid()); - } else if (tmpPacket->GetMsg()->messagetype() == PokerTHMessage::Type_GameSpectatorLeftMessage) { - // A spectator left the network game. - const GameSpectatorLeftMessage &netSpectatorLeft = tmpPacket->GetMsg()->gamespectatorleftmessage(); - // Signal to GUI and remove from data list. - int removeReason; - switch (netSpectatorLeft.gamespectatorleftreason()) { - case GamePlayerLeftMessage::leftKicked : - removeReason = NTF_NET_REMOVED_KICKED; - break; - default : - removeReason = NTF_NET_REMOVED_ON_REQUEST; - break; - } - client->ModifyGameInfoRemoveSpectatorDuringGame(netSpectatorLeft.playerid(), removeReason); - } else if (tmpPacket->GetMsg()->messagetype() == PokerTHMessage::Type_TimeoutWarningMessage) { - const TimeoutWarningMessage &tmpTimeout = tmpPacket->GetMsg()->timeoutwarningmessage(); + } else if (lobbyMsg.messagetype() == LobbyMessage::Type_TimeoutWarningMessage) { + const TimeoutWarningMessage &tmpTimeout = lobbyMsg.timeoutwarningmessage(); client->GetCallback().SignalNetClientShowTimeoutDialog((NetTimeoutReason)tmpTimeout.timeoutreason(), tmpTimeout.remainingseconds()); - } else if (tmpPacket->GetMsg()->messagetype() == PokerTHMessage::Type_ChatMessage) { + } else if (lobbyMsg.messagetype() == LobbyMessage::Type_ChatMessage) { // Chat message - display it in the GUI. - const ChatMessage &netMessage = tmpPacket->GetMsg()->chatmessage(); + const ChatMessage &netMessage = lobbyMsg.chatmessage(); string playerName; if (netMessage.chattype() == ChatMessage::chatTypeBroadcast) { @@ -682,14 +605,7 @@ AbstractClientStateReceiving::HandlePacket(boost::shared_ptr clien } else if (netMessage.chattype() == ChatMessage::chatTypeBot) { client->GetCallback().SignalNetClientGameChatMsg("(chat bot)", netMessage.chattext()); client->GetCallback().SignalNetClientLobbyChatMsg("(chat bot)", netMessage.chattext()); - } else if (netMessage.chattype() == ChatMessage::chatTypeGame) { - unsigned playerId = netMessage.playerid(); - boost::shared_ptr tmpPlayer = client->GetPlayerDataByUniqueId(playerId); - if (tmpPlayer.get()) - playerName = tmpPlayer->GetName(); - if (!playerName.empty()) - client->GetCallback().SignalNetClientGameChatMsg(playerName, netMessage.chattext()); - } else if (netMessage.chattype() == ChatMessage::chatTypeLobby) { + } else if (netMessage.chattype() == ChatMessage::chatTypeStandard) { unsigned playerId = netMessage.playerid(); PlayerInfo info; if (client->GetCachedPlayerInfo(playerId, info)) @@ -700,25 +616,25 @@ AbstractClientStateReceiving::HandlePacket(boost::shared_ptr clien if (client->GetCachedPlayerInfo(playerId, info)) client->GetCallback().SignalNetClientPrivateChatMsg(info.playerName, netMessage.chattext()); } - } else if (tmpPacket->GetMsg()->messagetype() == PokerTHMessage::Type_ChatRejectMessage) { - const ChatRejectMessage &netMessage = tmpPacket->GetMsg()->chatrejectmessage(); + } else if (lobbyMsg.messagetype() == LobbyMessage::Type_ChatRejectMessage) { + const ChatRejectMessage &netMessage = lobbyMsg.chatrejectmessage(); client->GetCallback().SignalNetClientGameChatMsg("(notice)", "Chat rejected: " + netMessage.chattext()); client->GetCallback().SignalNetClientLobbyChatMsg("(notice)", "Chat rejected: " + netMessage.chattext()); - } else if (tmpPacket->GetMsg()->messagetype() == PokerTHMessage::Type_DialogMessage) { + } else if (lobbyMsg.messagetype() == LobbyMessage::Type_DialogMessage) { // Message box - display it in the GUI. - const DialogMessage &netDialog = tmpPacket->GetMsg()->dialogmessage(); + const DialogMessage &netDialog = lobbyMsg.dialogmessage(); client->GetCallback().SignalNetClientMsgBox(netDialog.notificationtext()); - } else if (tmpPacket->GetMsg()->messagetype() == PokerTHMessage::Type_PlayerListMessage) { - const PlayerListMessage &netPlayerList = tmpPacket->GetMsg()->playerlistmessage(); + } else if (lobbyMsg.messagetype() == LobbyMessage::Type_PlayerListMessage) { + const PlayerListMessage &netPlayerList = lobbyMsg.playerlistmessage(); if (netPlayerList.playerlistnotification() == PlayerListMessage::playerListNew) { client->GetCallback().SignalLobbyPlayerJoined(netPlayerList.playerid(), client->GetPlayerName(netPlayerList.playerid())); } else if (netPlayerList.playerlistnotification() == PlayerListMessage::playerListLeft) { client->GetCallback().SignalLobbyPlayerLeft(netPlayerList.playerid()); } - } else if (tmpPacket->GetMsg()->messagetype() == PokerTHMessage::Type_GameListNewMessage) { + } else if (lobbyMsg.messagetype() == LobbyMessage::Type_GameListNewMessage) { // A new game was created on the server. - const GameListNewMessage &netListNew = tmpPacket->GetMsg()->gamelistnewmessage(); + const GameListNewMessage &netListNew = lobbyMsg.gamelistnewmessage(); // Request player info for players if needed. GameInfo tmpInfo; @@ -751,15 +667,15 @@ AbstractClientStateReceiving::HandlePacket(boost::shared_ptr clien NetPacket::GetGameData(netListNew.gameinfo(), tmpInfo.data); client->AddGameInfo(netListNew.gameid(), tmpInfo); - } else if (tmpPacket->GetMsg()->messagetype() == PokerTHMessage::Type_GameListUpdateMessage) { + } else if (lobbyMsg.messagetype() == LobbyMessage::Type_GameListUpdateMessage) { // An existing game was updated on the server. - const GameListUpdateMessage &netListUpdate = tmpPacket->GetMsg()->gamelistupdatemessage(); + const GameListUpdateMessage &netListUpdate = lobbyMsg.gamelistupdatemessage(); if (netListUpdate.gamemode() == netGameClosed) client->RemoveGameInfo(netListUpdate.gameid()); else client->UpdateGameInfoMode(netListUpdate.gameid(), static_cast(netListUpdate.gamemode())); - } else if (tmpPacket->GetMsg()->messagetype() == PokerTHMessage::Type_GameListPlayerJoinedMessage) { - const GameListPlayerJoinedMessage &netListJoined = tmpPacket->GetMsg()->gamelistplayerjoinedmessage(); + } else if (lobbyMsg.messagetype() == LobbyMessage::Type_GameListPlayerJoinedMessage) { + const GameListPlayerJoinedMessage &netListJoined = lobbyMsg.gamelistplayerjoinedmessage(); client->ModifyGameInfoAddPlayer(netListJoined.gameid(), netListJoined.playerid()); // Request player info if needed. @@ -767,12 +683,12 @@ AbstractClientStateReceiving::HandlePacket(boost::shared_ptr clien if (!client->GetCachedPlayerInfo(netListJoined.playerid(), info)) { client->RequestPlayerInfo(netListJoined.playerid()); } - } else if (tmpPacket->GetMsg()->messagetype() == PokerTHMessage::Type_GameListPlayerLeftMessage) { - const GameListPlayerLeftMessage &netListLeft = tmpPacket->GetMsg()->gamelistplayerleftmessage(); + } else if (lobbyMsg.messagetype() == LobbyMessage::Type_GameListPlayerLeftMessage) { + const GameListPlayerLeftMessage &netListLeft = lobbyMsg.gamelistplayerleftmessage(); client->ModifyGameInfoRemovePlayer(netListLeft.gameid(), netListLeft.playerid()); - } else if (tmpPacket->GetMsg()->messagetype() == PokerTHMessage::Type_GameListSpectatorJoinedMessage) { - const GameListSpectatorJoinedMessage &netListJoined = tmpPacket->GetMsg()->gamelistspectatorjoinedmessage(); + } else if (lobbyMsg.messagetype() == LobbyMessage::Type_GameListSpectatorJoinedMessage) { + const GameListSpectatorJoinedMessage &netListJoined = lobbyMsg.gamelistspectatorjoinedmessage(); client->ModifyGameInfoAddSpectator(netListJoined.gameid(), netListJoined.playerid()); // Request player info if needed. @@ -780,41 +696,30 @@ AbstractClientStateReceiving::HandlePacket(boost::shared_ptr clien if (!client->GetCachedPlayerInfo(netListJoined.playerid(), info)) { client->RequestPlayerInfo(netListJoined.playerid()); } - } else if (tmpPacket->GetMsg()->messagetype() == PokerTHMessage::Type_GameListSpectatorLeftMessage) { - const GameListSpectatorLeftMessage &netListLeft = tmpPacket->GetMsg()->gamelistspectatorleftmessage(); + } else if (lobbyMsg.messagetype() == LobbyMessage::Type_GameListSpectatorLeftMessage) { + const GameListSpectatorLeftMessage &netListLeft = lobbyMsg.gamelistspectatorleftmessage(); client->ModifyGameInfoRemoveSpectator(netListLeft.gameid(), netListLeft.playerid()); - } else if (tmpPacket->GetMsg()->messagetype() == PokerTHMessage::Type_GameListAdminChangedMessage) { - const GameListAdminChangedMessage &netListAdmin = tmpPacket->GetMsg()->gamelistadminchangedmessage(); + } else if (lobbyMsg.messagetype() == LobbyMessage::Type_GameListAdminChangedMessage) { + const GameListAdminChangedMessage &netListAdmin = lobbyMsg.gamelistadminchangedmessage(); client->UpdateGameInfoAdmin(netListAdmin.gameid(), netListAdmin.newadminplayerid()); - } else if (tmpPacket->GetMsg()->messagetype() == PokerTHMessage::Type_StartKickPetitionMessage) { - const StartKickPetitionMessage &netStartPetition = tmpPacket->GetMsg()->startkickpetitionmessage(); - client->StartPetition(netStartPetition.petitionid(), netStartPetition.proposingplayerid(), - netStartPetition.kickplayerid(), netStartPetition.kicktimeoutsec(), netStartPetition.numvotesneededtokick()); - } else if (tmpPacket->GetMsg()->messagetype() == PokerTHMessage::Type_KickPetitionUpdateMessage) { - const KickPetitionUpdateMessage &netPetitionUpdate = tmpPacket->GetMsg()->kickpetitionupdatemessage(); - client->UpdatePetition(netPetitionUpdate.petitionid(), netPetitionUpdate.numvotesagainstkicking(), - netPetitionUpdate.numvotesinfavourofkicking(), netPetitionUpdate.numvotesneededtokick()); - } else if (tmpPacket->GetMsg()->messagetype() == PokerTHMessage::Type_EndKickPetitionMessage) { - const EndKickPetitionMessage &netEndPetition = tmpPacket->GetMsg()->endkickpetitionmessage(); - client->EndPetition(netEndPetition.petitionid()); - } else if (tmpPacket->GetMsg()->messagetype() == PokerTHMessage::Type_AvatarHeaderMessage) { - const AvatarHeaderMessage &netAvatarHeader = tmpPacket->GetMsg()->avatarheadermessage(); + } else if (lobbyMsg.messagetype() == LobbyMessage::Type_AvatarHeaderMessage) { + const AvatarHeaderMessage &netAvatarHeader = lobbyMsg.avatarheadermessage(); client->AddTempAvatarFile(netAvatarHeader.requestid(), netAvatarHeader.avatarsize(), static_cast(netAvatarHeader.avatartype())); - } else if (tmpPacket->GetMsg()->messagetype() == PokerTHMessage::Type_AvatarDataMessage) { - const AvatarDataMessage &netAvatarData = tmpPacket->GetMsg()->avatardatamessage(); + } else if (lobbyMsg.messagetype() == LobbyMessage::Type_AvatarDataMessage) { + const AvatarDataMessage &netAvatarData = lobbyMsg.avatardatamessage(); vector fileData(netAvatarData.avatarblock().size()); memcpy(&fileData[0], netAvatarData.avatarblock().data(), netAvatarData.avatarblock().size()); client->StoreInTempAvatarFile(netAvatarData.requestid(), fileData); - } else if (tmpPacket->GetMsg()->messagetype() == PokerTHMessage::Type_AvatarEndMessage) { - const AvatarEndMessage &netAvatarEnd = tmpPacket->GetMsg()->avatarendmessage(); + } else if (lobbyMsg.messagetype() == LobbyMessage::Type_AvatarEndMessage) { + const AvatarEndMessage &netAvatarEnd = lobbyMsg.avatarendmessage(); client->CompleteTempAvatarFile(netAvatarEnd.requestid()); - } else if (tmpPacket->GetMsg()->messagetype() == PokerTHMessage::Type_UnknownAvatarMessage) { - const UnknownAvatarMessage &netUnknownAvatar = tmpPacket->GetMsg()->unknownavatarmessage(); + } else if (lobbyMsg.messagetype() == LobbyMessage::Type_UnknownAvatarMessage) { + const UnknownAvatarMessage &netUnknownAvatar = lobbyMsg.unknownavatarmessage(); client->SetUnknownAvatar(netUnknownAvatar.requestid()); - } else if (tmpPacket->GetMsg()->messagetype() == PokerTHMessage::Type_ReportAvatarAckMessage) { - const ReportAvatarAckMessage &netReportAck = tmpPacket->GetMsg()->reportavatarackmessage(); + } else if (lobbyMsg.messagetype() == LobbyMessage::Type_ReportAvatarAckMessage) { + const ReportAvatarAckMessage &netReportAck = lobbyMsg.reportavatarackmessage(); unsigned msgCode; switch (netReportAck.reportavatarresult()) { case ReportAvatarAckMessage::avatarReportAccepted: @@ -828,8 +733,9 @@ AbstractClientStateReceiving::HandlePacket(boost::shared_ptr clien break; } client->GetCallback().SignalNetClientMsgBox(msgCode); - } else if (tmpPacket->GetMsg()->messagetype() == PokerTHMessage::Type_ReportGameAckMessage) { - const ReportGameAckMessage &netReportAck = tmpPacket->GetMsg()->reportgameackmessage(); + } + else if (lobbyMsg.messagetype() == LobbyMessage::Type_ReportGameAckMessage) { + const ReportGameAckMessage &netReportAck = lobbyMsg.reportgameackmessage(); unsigned msgCode; switch (netReportAck.reportgameresult()) { case ReportGameAckMessage::gameReportAccepted: @@ -843,8 +749,8 @@ AbstractClientStateReceiving::HandlePacket(boost::shared_ptr clien break; } client->GetCallback().SignalNetClientMsgBox(msgCode); - } else if (tmpPacket->GetMsg()->messagetype() == PokerTHMessage::Type_AdminRemoveGameAckMessage) { - const AdminRemoveGameAckMessage &netRemoveAck = tmpPacket->GetMsg()->adminremovegameackmessage(); + } else if (lobbyMsg.messagetype() == LobbyMessage::Type_AdminRemoveGameAckMessage) { + const AdminRemoveGameAckMessage &netRemoveAck = lobbyMsg.adminremovegameackmessage(); unsigned msgCode; switch (netRemoveAck.removegameresult()) { case AdminRemoveGameAckMessage::gameRemoveAccepted: @@ -855,8 +761,8 @@ AbstractClientStateReceiving::HandlePacket(boost::shared_ptr clien break; } client->GetCallback().SignalNetClientMsgBox(msgCode); - } else if (tmpPacket->GetMsg()->messagetype() == PokerTHMessage::Type_AdminBanPlayerAckMessage) { - const AdminBanPlayerAckMessage &netBanAck = tmpPacket->GetMsg()->adminbanplayerackmessage(); + } else if (lobbyMsg.messagetype() == LobbyMessage::Type_AdminBanPlayerAckMessage) { + const AdminBanPlayerAckMessage &netBanAck = lobbyMsg.adminbanplayerackmessage(); unsigned msgCode; switch (netBanAck.banplayerresult()) { case AdminBanPlayerAckMessage::banPlayerAccepted: @@ -876,8 +782,8 @@ AbstractClientStateReceiving::HandlePacket(boost::shared_ptr clien break; } client->GetCallback().SignalNetClientMsgBox(msgCode); - } else if (tmpPacket->GetMsg()->messagetype() == PokerTHMessage::Type_StatisticsMessage) { - const StatisticsMessage &netStatistics = tmpPacket->GetMsg()->statisticsmessage(); + } else if (lobbyMsg.messagetype() == LobbyMessage::Type_StatisticsMessage) { + const StatisticsMessage &netStatistics = lobbyMsg.statisticsmessage(); unsigned numStats = netStatistics.statisticsdata_size(); // Request player info for players if needed. @@ -889,14 +795,167 @@ AbstractClientStateReceiving::HandlePacket(boost::shared_ptr clien } client->UpdateStatData(tmpStats); } - } else if (tmpPacket->GetMsg()->messagetype() == PokerTHMessage::Type_ErrorMessage) { + } else if (lobbyMsg.messagetype() == GameManagementMessage::Type_ErrorMessage) { // Server reported an error. - const ErrorMessage &netError = tmpPacket->GetMsg()->errormessage(); + const ErrorMessage &netError = lobbyMsg.errormessage(); // Show the error. throw ClientException(__FILE__, __LINE__, NetPacket::NetErrorToGameError(netError.errorreason()), 0); + } else { + InternalHandleLobbyMsg(client, lobbyMsg); } +} - InternalHandlePacket(client, tmpPacket); +void +AbstractClientStateReceiving::HandleGameMsg(boost::shared_ptr client, const GameMessage &gameMsg) +{ + if (gameMsg.messagetype() == GameMessage::Type_GameManagementMessage) + { + const GameManagementMessage &managementMsg = gameMsg.gamemanagementmessage(); + if (managementMsg.messagetype() == GameManagementMessage::Type_RemovedFromGameMessage) { + const RemovedFromGameMessage &netRemoved = managementMsg.removedfromgamemessage(); + + client->ClearPlayerDataList(); + // Resubscribe Lobby messages. + client->ResubscribeLobbyMsg(); + // Show Lobby. + client->GetCallback().SignalNetClientWaitDialog(); + int removeReason; + switch (netRemoved.removedfromgamereason()) { + case RemovedFromGameMessage::kickedFromGame: + removeReason = NTF_NET_REMOVED_KICKED; + break; + case RemovedFromGameMessage::gameIsFull: + removeReason = NTF_NET_REMOVED_GAME_FULL; + break; + case RemovedFromGameMessage::gameIsRunning: + removeReason = NTF_NET_REMOVED_ALREADY_RUNNING; + break; + case RemovedFromGameMessage::gameTimeout: + removeReason = NTF_NET_REMOVED_TIMEOUT; + break; + case RemovedFromGameMessage::removedStartFailed: + removeReason = NTF_NET_REMOVED_START_FAILED; + break; + case RemovedFromGameMessage::gameClosed: + removeReason = NTF_NET_REMOVED_GAME_CLOSED; + break; + default: + removeReason = NTF_NET_REMOVED_ON_REQUEST; + break; + } + client->GetCallback().SignalNetClientRemovedFromGame(removeReason); + client->SetState(ClientStateWaitJoin::Instance()); + } + else if (managementMsg.messagetype() == GameManagementMessage::Type_GamePlayerLeftMessage) { + // A player left the game. + const GamePlayerLeftMessage &netLeft = managementMsg.gameplayerleftmessage(); + + if (client->GetGame()) { + boost::shared_ptr tmpPlayer = client->GetGame()->getPlayerByUniqueId(netLeft.playerid()); + if (tmpPlayer) { + tmpPlayer->setIsKicked(netLeft.gameplayerleftreason() == GamePlayerLeftMessage::leftKicked); + } + } + // Signal to GUI and remove from data list. + int removeReason; + switch (netLeft.gameplayerleftreason()) { + case GamePlayerLeftMessage::leftKicked: + removeReason = NTF_NET_REMOVED_KICKED; + break; + default: + removeReason = NTF_NET_REMOVED_ON_REQUEST; + break; + } + client->RemovePlayerData(netLeft.playerid(), removeReason); + } + else if (managementMsg.messagetype() == GameManagementMessage::Type_GameAdminChangedMessage) { + // New admin for the game. + const GameAdminChangedMessage &netChanged = managementMsg.gameadminchangedmessage(); + + // Set new game admin and signal to GUI. + client->SetNewGameAdmin(netChanged.newadminplayerid()); + } + else if (managementMsg.messagetype() == GameManagementMessage::Type_GamePlayerJoinedMessage) { + // Another player joined the network game. + const GamePlayerJoinedMessage &netPlayerJoined = managementMsg.gameplayerjoinedmessage(); + + boost::shared_ptr playerData = client->CreatePlayerData(netPlayerJoined.playerid(), netPlayerJoined.isgameadmin()); + client->AddPlayerData(playerData); + } + else if (managementMsg.messagetype() == GameManagementMessage::Type_GameSpectatorJoinedMessage) { + // Another spectator joined the network game. + const GameSpectatorJoinedMessage &netSpectatorJoined = managementMsg.gamespectatorjoinedmessage(); + // Request player info if needed. + PlayerInfo info; + if (!client->GetCachedPlayerInfo(netSpectatorJoined.playerid(), info)) { + client->RequestPlayerInfo(netSpectatorJoined.playerid()); + } + client->ModifyGameInfoAddSpectatorDuringGame(netSpectatorJoined.playerid()); + } + else if (managementMsg.messagetype() == GameManagementMessage::Type_GameSpectatorLeftMessage) { + // A spectator left the network game. + const GameSpectatorLeftMessage &netSpectatorLeft = managementMsg.gamespectatorleftmessage(); + // Signal to GUI and remove from data list. + int removeReason; + switch (netSpectatorLeft.gamespectatorleftreason()) { + case GamePlayerLeftMessage::leftKicked: + removeReason = NTF_NET_REMOVED_KICKED; + break; + default: + removeReason = NTF_NET_REMOVED_ON_REQUEST; + break; + } + client->ModifyGameInfoRemoveSpectatorDuringGame(netSpectatorLeft.playerid(), removeReason); + } else if (managementMsg.messagetype() == GameManagementMessage::Type_ChatMessage) { + // Chat message - display it in the GUI. + const ChatMessage &netMessage = managementMsg.chatmessage(); + + string playerName; + if (netMessage.chattype() == ChatMessage::chatTypeBroadcast) { + client->GetCallback().SignalNetClientGameChatMsg("(global notice)", netMessage.chattext()); + client->GetCallback().SignalNetClientLobbyChatMsg("(global notice)", netMessage.chattext()); + } else if (netMessage.chattype() == ChatMessage::chatTypeBot) { + client->GetCallback().SignalNetClientGameChatMsg("(chat bot)", netMessage.chattext()); + client->GetCallback().SignalNetClientLobbyChatMsg("(chat bot)", netMessage.chattext()); + } else if (netMessage.chattype() == ChatMessage::chatTypeStandard) { + unsigned playerId = netMessage.playerid(); + boost::shared_ptr tmpPlayer = client->GetPlayerDataByUniqueId(playerId); + if (tmpPlayer.get()) + playerName = tmpPlayer->GetName(); + if (!playerName.empty()) + client->GetCallback().SignalNetClientGameChatMsg(playerName, netMessage.chattext()); + } else if (netMessage.chattype() == ChatMessage::chatTypePrivate) { + unsigned playerId = netMessage.playerid(); + PlayerInfo info; + if (client->GetCachedPlayerInfo(playerId, info)) + client->GetCallback().SignalNetClientPrivateChatMsg(info.playerName, netMessage.chattext()); + } + } else if (managementMsg.messagetype() == GameManagementMessage::Type_ChatRejectMessage) { + const ChatRejectMessage &netMessage = managementMsg.chatrejectmessage(); + client->GetCallback().SignalNetClientGameChatMsg("(notice)", "Chat rejected: " + netMessage.chattext()); + client->GetCallback().SignalNetClientLobbyChatMsg("(notice)", "Chat rejected: " + netMessage.chattext()); + } else if (managementMsg.messagetype() == GameManagementMessage::Type_StartKickPetitionMessage) { + const StartKickPetitionMessage &netStartPetition = managementMsg.startkickpetitionmessage(); + client->StartPetition(netStartPetition.petitionid(), netStartPetition.proposingplayerid(), + netStartPetition.kickplayerid(), netStartPetition.kicktimeoutsec(), netStartPetition.numvotesneededtokick()); + } else if (managementMsg.messagetype() == GameManagementMessage::Type_KickPetitionUpdateMessage) { + const KickPetitionUpdateMessage &netPetitionUpdate = managementMsg.kickpetitionupdatemessage(); + client->UpdatePetition(netPetitionUpdate.petitionid(), netPetitionUpdate.numvotesagainstkicking(), + netPetitionUpdate.numvotesinfavourofkicking(), netPetitionUpdate.numvotesneededtokick()); + } else if (managementMsg.messagetype() == GameManagementMessage::Type_EndKickPetitionMessage) { + const EndKickPetitionMessage &netEndPetition = managementMsg.endkickpetitionmessage(); + client->EndPetition(netEndPetition.petitionid()); + } else if (managementMsg.messagetype() == GameManagementMessage::Type_ErrorMessage) { + // Server reported an error. + const ErrorMessage &netError = managementMsg.errormessage(); + // Show the error. + throw ClientException(__FILE__, __LINE__, NetPacket::NetErrorToGameError(netError.errorreason()), 0); + } else { + InternalHandleGameMsg(client, gameMsg); + } + } else { + InternalHandleGameMsg(client, gameMsg); + } } //----------------------------------------------------------------------------- @@ -929,53 +988,42 @@ ClientStateStartSession::Exit(boost::shared_ptr /*client*/) } void -ClientStateStartSession::InternalHandlePacket(boost::shared_ptr client, boost::shared_ptr tmpPacket) +ClientStateStartSession::InternalHandleAnnounceMsg(boost::shared_ptr client, const AnnounceMessage &announceMsg) { - if (tmpPacket->GetMsg()->messagetype() == PokerTHMessage::Type_AnnounceMessage) { - // Server has send announcement - check data. - const AnnounceMessage &netAnnounce = tmpPacket->GetMsg()->announcemessage(); - // Check current game version. - if (netAnnounce.latestgameversion().majorversion() != POKERTH_VERSION_MAJOR - || netAnnounce.latestgameversion().minorversion() != POKERTH_VERSION_MINOR) { - client->GetCallback().SignalNetClientNotification(NTF_NET_NEW_RELEASE_AVAILABLE); - } else if (POKERTH_BETA_REVISION && netAnnounce.latestbetarevision() != POKERTH_BETA_REVISION) { - client->GetCallback().SignalNetClientNotification(NTF_NET_OUTDATED_BETA); - } - ClientContext &context = client->GetContext(); + // Server has send announcement - check data. + // Check current game version. + if (announceMsg.latestgameversion().majorversion() != POKERTH_VERSION_MAJOR + || announceMsg.latestgameversion().minorversion() != POKERTH_VERSION_MINOR) { + client->GetCallback().SignalNetClientNotification(NTF_NET_NEW_RELEASE_AVAILABLE); + } + else if (POKERTH_BETA_REVISION && announceMsg.latestbetarevision() != POKERTH_BETA_REVISION) { + client->GetCallback().SignalNetClientNotification(NTF_NET_OUTDATED_BETA); + } + ClientContext &context = client->GetContext(); - // CASE 1: Authenticated login (username, challenge/response for password). - if (netAnnounce.servertype() == AnnounceMessage::serverTypeInternetAuth) { - client->GetCallback().SignalNetClientLoginShow(); - client->SetState(ClientStateWaitEnterLogin::Instance()); - } - // CASE 2: Unauthenticated login (network game or dedicated server without auth backend). - else if (netAnnounce.servertype() == AnnounceMessage::serverTypeInternetNoAuth - || netAnnounce.servertype() == AnnounceMessage::serverTypeLAN) { - boost::shared_ptr init(new NetPacket); - init->GetMsg()->set_messagetype(PokerTHMessage::Type_InitMessage); - InitMessage *netInit = init->GetMsg()->mutable_initmessage(); - netInit->mutable_requestedversion()->set_majorversion(NET_VERSION_MAJOR); - netInit->mutable_requestedversion()->set_minorversion(NET_VERSION_MINOR); - netInit->set_buildid(0); - if (!context.GetSessionGuid().empty()) { - netInit->set_mylastsessionid(context.GetSessionGuid()); - } - if (!context.GetServerPassword().empty()) { - netInit->set_authserverpassword(context.GetServerPassword()); - } - netInit->set_login(InitMessage::unauthenticatedLogin); - netInit->set_nickname(context.GetPlayerName()); - string avatarFile = client->GetQtToolsInterface().stringFromUtf8(context.GetAvatarFile()); - if (!avatarFile.empty()) { - MD5Buf tmpMD5; - if (client->GetAvatarManager().GetHashForAvatar(avatarFile, tmpMD5)) { - // Send MD5 hash of avatar. - netInit->set_avatarhash(tmpMD5.GetData(), MD5_DATA_SIZE); - } - } - client->GetSender().Send(context.GetSessionData(), init); - client->SetState(ClientStateWaitSession::Instance()); + // CASE 1: Authenticated login (username, challenge/response for password). + if (announceMsg.servertype() == AnnounceMessage::serverTypeInternetAuth) { + client->GetCallback().SignalNetClientLoginShow(); + client->SetState(ClientStateWaitEnterLogin::Instance()); + } + // CASE 2: Unauthenticated login (network game or dedicated server without auth backend). + else if (announceMsg.servertype() == AnnounceMessage::serverTypeInternetNoAuth + || announceMsg.servertype() == AnnounceMessage::serverTypeLAN) { + boost::shared_ptr auth(new NetPacket); + auth->GetMsg()->set_messagetype(PokerTHMessage::Type_AuthMessage); + AuthMessage *netAuth = auth->GetMsg()->mutable_authmessage(); + netAuth->set_messagetype(AuthMessage::Type_AuthClientRequestMessage); + AuthClientRequestMessage *authRequest = netAuth->mutable_authclientrequestmessage(); + authRequest->mutable_requestedversion()->set_majorversion(NET_VERSION_MAJOR); + authRequest->mutable_requestedversion()->set_minorversion(NET_VERSION_MINOR); + authRequest->set_buildid(0); + if (!context.GetServerPassword().empty()) { + authRequest->set_authserverpassword(context.GetServerPassword()); } + authRequest->set_login(AuthClientRequestMessage::unauthenticatedLogin); + authRequest->set_nickname(context.GetPlayerName()); + client->GetSender().Send(context.GetSessionData(), auth); + client->SetState(ClientStateWaitSession::Instance()); } } @@ -1013,11 +1061,11 @@ ClientStateWaitEnterLogin::Exit(boost::shared_ptr client) } void -ClientStateWaitEnterLogin::HandlePacket(boost::shared_ptr /*client*/, boost::shared_ptr tmpPacket) +ClientStateWaitEnterLogin::InternalHandleAuthMsg(boost::shared_ptr client, const AuthMessage &authMsg) { - if (tmpPacket->GetMsg()->messagetype() == PokerTHMessage::Type_ErrorMessage) { + if (authMsg.messagetype() == AuthMessage::Type_ErrorMessage) { // Server reported an error. - const ErrorMessage &netError = tmpPacket->GetMsg()->errormessage(); + const ErrorMessage &netError = authMsg.errormessage(); // Show the error. throw ClientException(__FILE__, __LINE__, NetPacket::NetErrorToGameError(netError.errorreason()), 0); } @@ -1030,51 +1078,44 @@ ClientStateWaitEnterLogin::TimerLoop(const boost::system::error_code& ec, boost: ClientThread::LoginData loginData; if (client->GetLoginData(loginData)) { ClientContext &context = client->GetContext(); - boost::shared_ptr init(new NetPacket); - init->GetMsg()->set_messagetype(PokerTHMessage::Type_InitMessage); - InitMessage *netInit = init->GetMsg()->mutable_initmessage(); - netInit->mutable_requestedversion()->set_majorversion(NET_VERSION_MAJOR); - netInit->mutable_requestedversion()->set_minorversion(NET_VERSION_MINOR); - netInit->set_buildid(0); + boost::shared_ptr auth(new NetPacket); + auth->GetMsg()->set_messagetype(PokerTHMessage::Type_AuthMessage); + AuthMessage *netAuth = auth->GetMsg()->mutable_authmessage(); + netAuth->set_messagetype(AuthMessage::Type_AuthClientRequestMessage); + AuthClientRequestMessage *authRequest = netAuth->mutable_authclientrequestmessage(); + authRequest->mutable_requestedversion()->set_majorversion(NET_VERSION_MAJOR); + authRequest->mutable_requestedversion()->set_minorversion(NET_VERSION_MINOR); + authRequest->set_buildid(0); if (!context.GetSessionGuid().empty()) { - netInit->set_mylastsessionid(context.GetSessionGuid()); + authRequest->set_mylastsessionid(context.GetSessionGuid()); } if (!context.GetServerPassword().empty()) { - netInit->set_authserverpassword(context.GetServerPassword()); + authRequest->set_authserverpassword(context.GetServerPassword()); } - context.SetPlayerName(loginData.userName); // Handle guest login first. if (loginData.isGuest) { context.SetPassword(""); context.SetPlayerRights(PLAYER_RIGHTS_GUEST); - netInit->set_login(InitMessage::guestLogin); - netInit->set_nickname(context.GetPlayerName()); + authRequest->set_login(AuthClientRequestMessage::guestLogin); + authRequest->set_nickname(context.GetPlayerName()); - client->GetSender().Send(context.GetSessionData(), init); + client->GetSender().Send(context.GetSessionData(), auth); client->SetState(ClientStateWaitSession::Instance()); } // If the player is not a guest, authenticate. else { context.SetPassword(loginData.password); - netInit->set_login(InitMessage::authenticatedLogin); + authRequest->set_login(AuthClientRequestMessage::authenticatedLogin); // Send authentication user data for challenge/response in init. boost::shared_ptr tmpSession = context.GetSessionData(); tmpSession->CreateClientAuthSession(client->GetAuthContext(), context.GetPlayerName(), context.GetPassword()); if (!tmpSession->AuthStep(1, "")) throw ClientException(__FILE__, __LINE__, ERR_NET_INVALID_PASSWORD, 0); string outUserData(tmpSession->AuthGetNextOutMsg()); - netInit->set_clientuserdata(outUserData); - string avatarFile = client->GetQtToolsInterface().stringFromUtf8(context.GetAvatarFile()); - if (!avatarFile.empty()) { - MD5Buf tmpMD5; - if (client->GetAvatarManager().GetHashForAvatar(avatarFile, tmpMD5)) { - // TODO: use sha1. - netInit->set_avatarhash(tmpMD5.GetData(), MD5_DATA_SIZE); - } - } - client->GetSender().Send(context.GetSessionData(), init); + authRequest->set_clientuserdata(outUserData); + client->GetSender().Send(context.GetSessionData(), auth); client->SetState(ClientStateWaitAuthChallenge::Instance()); } } else { @@ -1115,10 +1156,10 @@ ClientStateWaitAuthChallenge::Exit(boost::shared_ptr /*client*/) } void -ClientStateWaitAuthChallenge::InternalHandlePacket(boost::shared_ptr client, boost::shared_ptr tmpPacket) +ClientStateWaitAuthChallenge::InternalHandleAuthMsg(boost::shared_ptr client, const AuthMessage &authMsg) { - if (tmpPacket->GetMsg()->messagetype() == PokerTHMessage::Type_AuthServerChallengeMessage) { - const AuthServerChallengeMessage &netAuth = tmpPacket->GetMsg()->authserverchallengemessage(); + if (authMsg.messagetype() == AuthMessage::Type_AuthServerChallengeMessage) { + const AuthServerChallengeMessage &netAuth = authMsg.authserverchallengemessage(); string challengeStr(netAuth.serverchallenge()); boost::shared_ptr tmpSession = client->GetContext().GetSessionData(); if (!tmpSession->AuthStep(2, challengeStr.c_str())) @@ -1126,9 +1167,11 @@ ClientStateWaitAuthChallenge::InternalHandlePacket(boost::shared_ptrAuthGetNextOutMsg()); boost::shared_ptr packet(new NetPacket); - packet->GetMsg()->set_messagetype(PokerTHMessage::Type_AuthClientResponseMessage); - AuthClientResponseMessage *outAuth = packet->GetMsg()->mutable_authclientresponsemessage(); - outAuth->set_clientresponse(outUserData); + packet->GetMsg()->set_messagetype(PokerTHMessage::Type_AuthMessage); + AuthMessage *netAuthOut = packet->GetMsg()->mutable_authmessage(); + netAuthOut->set_messagetype(AuthMessage::Type_AuthClientResponseMessage); + AuthClientResponseMessage *authResponse = netAuthOut->mutable_authclientresponsemessage(); + authResponse->set_clientresponse(outUserData); client->GetSender().Send(tmpSession, packet); client->SetState(ClientStateWaitAuthVerify::Instance()); } @@ -1162,16 +1205,33 @@ ClientStateWaitAuthVerify::Exit(boost::shared_ptr /*client*/) } void -ClientStateWaitAuthVerify::InternalHandlePacket(boost::shared_ptr client, boost::shared_ptr tmpPacket) +ClientStateWaitAuthChallenge::InternalHandleAuthMsg(boost::shared_ptr client, const AuthMessage &authMsg) { - if (tmpPacket->GetMsg()->messagetype() == PokerTHMessage::Type_AuthServerVerificationMessage) { + if (authMsg.messagetype() == AuthMessage::Type_AuthServerVerificationMessage) { // Check subtype. - const AuthServerVerificationMessage &netAuth = tmpPacket->GetMsg()->authserververificationmessage(); + ClientContext &context = client->GetContext(); + const AuthServerVerificationMessage &netAuth = authMsg.authserververificationmessage(); string verificationStr(netAuth.serververification()); - boost::shared_ptr tmpSession = client->GetContext().GetSessionData(); + boost::shared_ptr tmpSession = context.GetSessionData(); if (!tmpSession->AuthStep(3, verificationStr.c_str())) throw ClientException(__FILE__, __LINE__, ERR_NET_INVALID_PASSWORD, 0); + client->SetGuiPlayerId(netAuth.yourplayerid()); + context.SetSessionGuid(netAuth.yoursessionid()); + boost::shared_ptr init(new NetPacket); + init->GetMsg()->set_messagetype(PokerTHMessage::Type_LobbyMessage); + LobbyMessage *netLobby = init->GetMsg()->mutable_lobbymessage(); + netLobby->set_messagetype(LobbyMessage::Type_InitMessage); + InitMessage *netInit = netLobby->mutable_initmessage(); + string avatarFile = client->GetQtToolsInterface().stringFromUtf8(context.GetAvatarFile()); + if (!avatarFile.empty()) { + MD5Buf tmpMD5; + if (client->GetAvatarManager().GetHashForAvatar(avatarFile, tmpMD5)) { + // Send MD5 hash of avatar. + netInit->set_avatarhash(tmpMD5.GetData(), MD5_DATA_SIZE); + } + } + client->GetSender().Send(context.GetSessionData(), init); client->SetState(ClientStateWaitSession::Instance()); } } @@ -1204,24 +1264,20 @@ ClientStateWaitSession::Exit(boost::shared_ptr /*client*/) } void -ClientStateWaitSession::InternalHandlePacket(boost::shared_ptr client, boost::shared_ptr tmpPacket) +ClientStateWaitSession::InternalHandleLobbyMsg(boost::shared_ptr client, const LobbyMessage &lobbyMsg) { - if (tmpPacket->GetMsg()->messagetype() == PokerTHMessage::Type_InitAckMessage) { + if (lobbyMsg.messagetype() == LobbyMessage::Type_InitAckMessage) { // Everything is fine - we are in the lobby. - const InitAckMessage &netInitAck = tmpPacket->GetMsg()->initackmessage(); - client->SetGuiPlayerId(netInitAck.yourplayerid()); - - client->GetContext().SetSessionGuid(netInitAck.yoursessionid()); + const InitAckMessage &netInitAck = lobbyMsg.initackmessage(); client->SetSessionEstablished(true); client->GetCallback().SignalNetClientConnect(MSG_SOCK_SESSION_DONE); if (netInitAck.has_rejoingameid()) client->GetCallback().SignalNetClientRejoinPossible(netInitAck.rejoingameid()); client->SetState(ClientStateWaitJoin::Instance()); - } else if (tmpPacket->GetMsg()->messagetype() == PokerTHMessage::Type_AvatarRequestMessage) { + } else if (lobbyMsg.messagetype() == LobbyMessage::Type_AvatarRequestMessage) { // Before letting us join the lobby, the server requests our avatar. - const AvatarRequestMessage &netAvatarRequest = tmpPacket->GetMsg()->avatarrequestmessage(); + const AvatarRequestMessage &netAvatarRequest = lobbyMsg.avatarrequestmessage(); - // TODO compare SHA1. NetPacketList tmpList; int avatarError = client->GetAvatarManager().AvatarFileToNetPackets( client->GetQtToolsInterface().stringFromUtf8(client->GetContext().GetAvatarFile()), @@ -1367,28 +1423,33 @@ ClientStateWaitGame::Exit(boost::shared_ptr /*client*/) } void -ClientStateWaitGame::InternalHandlePacket(boost::shared_ptr client, boost::shared_ptr tmpPacket) +ClientStateWaitGame::InternalHandleGameMsg(boost::shared_ptr client, const GameMessage &gameMsg) { - if (tmpPacket->GetMsg()->messagetype() == PokerTHMessage::Type_StartEventMessage) { - const StartEventMessage &netStartEvent = tmpPacket->GetMsg()->starteventmessage(); - if (netStartEvent.starteventtype() == StartEventMessage::rejoinEvent) { - client->GetCallback().SignalNetClientGameInfo(MSG_NET_GAME_CLIENT_SYNCREJOIN); - } else { - client->GetCallback().SignalNetClientGameInfo(MSG_NET_GAME_CLIENT_SYNCSTART); + if (gameMsg.messagetype() == GameMessage::Type_GameManagementMessage) + { + const GameManagementMessage &managementMsg = gameMsg.gamemanagementmessage(); + if (managementMsg.messagetype() == GameManagementMessage::Type_StartEventMessage) { + const StartEventMessage &netStartEvent = managementMsg.starteventmessage(); + if (netStartEvent.starteventtype() == StartEventMessage::rejoinEvent) { + client->GetCallback().SignalNetClientGameInfo(MSG_NET_GAME_CLIENT_SYNCREJOIN); + } + else { + client->GetCallback().SignalNetClientGameInfo(MSG_NET_GAME_CLIENT_SYNCSTART); + } + client->SetState(ClientStateSynchronizeStart::Instance()); + } else if (managementMsg.messagetype() == GameManagementMessage::Type_InviteNotifyMessage) { + const InviteNotifyMessage &netInvNotify = managementMsg.invitenotifymessage(); + client->GetCallback().SignalPlayerGameInvitation( + netInvNotify.gameid(), + netInvNotify.playeridwho(), + netInvNotify.playeridbywhom()); + } else if (managementMsg.messagetype() == GameManagementMessage::Type_RejectInvNotifyMessage) { + const RejectInvNotifyMessage &netRejNotify = tmpPacket->GetMsg()->rejectinvnotifymessage(); + client->GetCallback().SignalRejectedGameInvitation( + netRejNotify.gameid(), + netRejNotify.playerid(), + static_cast(netRejNotify.playerrejectreason())); } - client->SetState(ClientStateSynchronizeStart::Instance()); - } else if (tmpPacket->GetMsg()->messagetype() == PokerTHMessage::Type_InviteNotifyMessage) { - const InviteNotifyMessage &netInvNotify = tmpPacket->GetMsg()->invitenotifymessage(); - client->GetCallback().SignalPlayerGameInvitation( - netInvNotify.gameid(), - netInvNotify.playeridwho(), - netInvNotify.playeridbywhom()); - } else if (tmpPacket->GetMsg()->messagetype() == PokerTHMessage::Type_RejectInvNotifyMessage) { - const RejectInvNotifyMessage &netRejNotify = tmpPacket->GetMsg()->rejectinvnotifymessage(); - client->GetCallback().SignalRejectedGameInvitation( - netRejNotify.gameid(), - netRejNotify.playerid(), - static_cast(netRejNotify.playerrejectreason())); } } diff --git a/src/net/common/netpacket.cpp b/src/net/common/netpacket.cpp index c07cc7a7..de519309 100644 --- a/src/net/common/netpacket.cpp +++ b/src/net/common/netpacket.cpp @@ -72,17 +72,20 @@ bool NetPacket::IsClientActivity() const { bool retVal = false; + bool isLobbyMsg = m_msg->messagetype() == PokerTHMessage::Type_LobbyMessage; + bool isGameManagementMsg = m_msg->messagetype() == PokerTHMessage::Type_GameMessage && m_msg->gamemessage().messagetype() == GameMessage::Type_GameManagementMessage; + bool isGameEngineMsg = m_msg->messagetype() == PokerTHMessage::Type_GameMessage && m_msg->gamemessage().messagetype() == GameMessage::Type_GameEngineMessage; if (m_msg && - (m_msg->messagetype() == PokerTHMessage::Type_InitMessage - || m_msg->messagetype() == PokerTHMessage::Type_JoinNewGameMessage - || m_msg->messagetype() == PokerTHMessage::Type_JoinExistingGameMessage - || m_msg->messagetype() == PokerTHMessage::Type_RejoinExistingGameMessage - || m_msg->messagetype() == PokerTHMessage::Type_KickPlayerRequestMessage - || m_msg->messagetype() == PokerTHMessage::Type_LeaveGameRequestMessage - || m_msg->messagetype() == PokerTHMessage::Type_StartEventMessage - || m_msg->messagetype() == PokerTHMessage::Type_MyActionRequestMessage - || m_msg->messagetype() == PokerTHMessage::Type_ResetTimeoutMessage - || m_msg->messagetype() == PokerTHMessage::Type_ChatRequestMessage)) { + (isLobbyMsg && m_msg->lobbymessage().messagetype() == LobbyMessage::Type_InitMessage + || isLobbyMsg && m_msg->lobbymessage().messagetype() == LobbyMessage::Type_CreateGameMessage + || isLobbyMsg && m_msg->lobbymessage().messagetype() == LobbyMessage::Type_ResetTimeoutMessage + || isGameManagementMsg && m_msg->gamemessage().gamemanagementmessage().messagetype() == GameManagementMessage::Type_JoinGameMessage + || isGameManagementMsg && m_msg->gamemessage().gamemanagementmessage().messagetype() == GameManagementMessage::Type_RejoinGameMessage + || isGameManagementMsg && m_msg->gamemessage().gamemanagementmessage().messagetype() == GameManagementMessage::Type_KickPlayerRequestMessage + || isGameManagementMsg && m_msg->gamemessage().gamemanagementmessage().messagetype() == GameManagementMessage::Type_LeaveGameRequestMessage + || isGameManagementMsg && m_msg->gamemessage().gamemanagementmessage().messagetype() == GameManagementMessage::Type_StartEventMessage + || isGameManagementMsg && m_msg->gamemessage().gamemanagementmessage().messagetype() == GameManagementMessage::Type_ChatRequestMessage + || isGameEngineMsg && m_msg->gamemessage().gameenginemessage().messagetype() == GameEngineMessage::Type_MyActionRequestMessage)) { retVal = true; } return retVal; diff --git a/src/third_party/protobuf/pokerth.pb.cc b/src/third_party/protobuf/pokerth.pb.cc index 7997ef06..12ef6e2c 100644 --- a/src/third_party/protobuf/pokerth.pb.cc +++ b/src/third_party/protobuf/pokerth.pb.cc @@ -17,10 +17,11 @@ void protobuf_ShutdownFile_pokerth_2eproto() { delete PlayerResult::default_instance_; delete AnnounceMessage::default_instance_; delete AnnounceMessage_Version::default_instance_; - delete InitMessage::default_instance_; + delete AuthClientRequestMessage::default_instance_; delete AuthServerChallengeMessage::default_instance_; delete AuthClientResponseMessage::default_instance_; delete AuthServerVerificationMessage::default_instance_; + delete InitMessage::default_instance_; delete InitAckMessage::default_instance_; delete AvatarRequestMessage::default_instance_; delete AvatarHeaderMessage::default_instance_; @@ -40,9 +41,11 @@ void protobuf_ShutdownFile_pokerth_2eproto() { delete PlayerInfoReplyMessage_PlayerInfoData::default_instance_; delete PlayerInfoReplyMessage_PlayerInfoData_AvatarData::default_instance_; delete SubscriptionRequestMessage::default_instance_; - delete JoinExistingGameMessage::default_instance_; - delete JoinNewGameMessage::default_instance_; - delete RejoinExistingGameMessage::default_instance_; + delete SubscriptionReplyMessage::default_instance_; + delete CreateGameMessage::default_instance_; + delete CreateGameFailedMessage::default_instance_; + delete JoinGameMessage::default_instance_; + delete RejoinGameMessage::default_instance_; delete JoinGameAckMessage::default_instance_; delete JoinGameFailedMessage::default_instance_; delete GamePlayerJoinedMessage::default_instance_; @@ -103,6 +106,11 @@ void protobuf_ShutdownFile_pokerth_2eproto() { delete AdminRemoveGameAckMessage::default_instance_; delete AdminBanPlayerMessage::default_instance_; delete AdminBanPlayerAckMessage::default_instance_; + delete AuthMessage::default_instance_; + delete LobbyMessage::default_instance_; + delete GameManagementMessage::default_instance_; + delete GameEngineMessage::default_instance_; + delete GameMessage::default_instance_; delete PokerTHMessage::default_instance_; } @@ -122,10 +130,11 @@ void protobuf_AddDesc_pokerth_2eproto() { PlayerResult::default_instance_ = new PlayerResult(); AnnounceMessage::default_instance_ = new AnnounceMessage(); AnnounceMessage_Version::default_instance_ = new AnnounceMessage_Version(); - InitMessage::default_instance_ = new InitMessage(); + AuthClientRequestMessage::default_instance_ = new AuthClientRequestMessage(); AuthServerChallengeMessage::default_instance_ = new AuthServerChallengeMessage(); AuthClientResponseMessage::default_instance_ = new AuthClientResponseMessage(); AuthServerVerificationMessage::default_instance_ = new AuthServerVerificationMessage(); + InitMessage::default_instance_ = new InitMessage(); InitAckMessage::default_instance_ = new InitAckMessage(); AvatarRequestMessage::default_instance_ = new AvatarRequestMessage(); AvatarHeaderMessage::default_instance_ = new AvatarHeaderMessage(); @@ -145,9 +154,11 @@ void protobuf_AddDesc_pokerth_2eproto() { PlayerInfoReplyMessage_PlayerInfoData::default_instance_ = new PlayerInfoReplyMessage_PlayerInfoData(); PlayerInfoReplyMessage_PlayerInfoData_AvatarData::default_instance_ = new PlayerInfoReplyMessage_PlayerInfoData_AvatarData(); SubscriptionRequestMessage::default_instance_ = new SubscriptionRequestMessage(); - JoinExistingGameMessage::default_instance_ = new JoinExistingGameMessage(); - JoinNewGameMessage::default_instance_ = new JoinNewGameMessage(); - RejoinExistingGameMessage::default_instance_ = new RejoinExistingGameMessage(); + SubscriptionReplyMessage::default_instance_ = new SubscriptionReplyMessage(); + CreateGameMessage::default_instance_ = new CreateGameMessage(); + CreateGameFailedMessage::default_instance_ = new CreateGameFailedMessage(); + JoinGameMessage::default_instance_ = new JoinGameMessage(); + RejoinGameMessage::default_instance_ = new RejoinGameMessage(); JoinGameAckMessage::default_instance_ = new JoinGameAckMessage(); JoinGameFailedMessage::default_instance_ = new JoinGameFailedMessage(); GamePlayerJoinedMessage::default_instance_ = new GamePlayerJoinedMessage(); @@ -208,15 +219,21 @@ void protobuf_AddDesc_pokerth_2eproto() { AdminRemoveGameAckMessage::default_instance_ = new AdminRemoveGameAckMessage(); AdminBanPlayerMessage::default_instance_ = new AdminBanPlayerMessage(); AdminBanPlayerAckMessage::default_instance_ = new AdminBanPlayerAckMessage(); + AuthMessage::default_instance_ = new AuthMessage(); + LobbyMessage::default_instance_ = new LobbyMessage(); + GameManagementMessage::default_instance_ = new GameManagementMessage(); + GameEngineMessage::default_instance_ = new GameEngineMessage(); + GameMessage::default_instance_ = new GameMessage(); PokerTHMessage::default_instance_ = new PokerTHMessage(); NetGameInfo::default_instance_->InitAsDefaultInstance(); PlayerResult::default_instance_->InitAsDefaultInstance(); AnnounceMessage::default_instance_->InitAsDefaultInstance(); AnnounceMessage_Version::default_instance_->InitAsDefaultInstance(); - InitMessage::default_instance_->InitAsDefaultInstance(); + AuthClientRequestMessage::default_instance_->InitAsDefaultInstance(); AuthServerChallengeMessage::default_instance_->InitAsDefaultInstance(); AuthClientResponseMessage::default_instance_->InitAsDefaultInstance(); AuthServerVerificationMessage::default_instance_->InitAsDefaultInstance(); + InitMessage::default_instance_->InitAsDefaultInstance(); InitAckMessage::default_instance_->InitAsDefaultInstance(); AvatarRequestMessage::default_instance_->InitAsDefaultInstance(); AvatarHeaderMessage::default_instance_->InitAsDefaultInstance(); @@ -236,9 +253,11 @@ void protobuf_AddDesc_pokerth_2eproto() { PlayerInfoReplyMessage_PlayerInfoData::default_instance_->InitAsDefaultInstance(); PlayerInfoReplyMessage_PlayerInfoData_AvatarData::default_instance_->InitAsDefaultInstance(); SubscriptionRequestMessage::default_instance_->InitAsDefaultInstance(); - JoinExistingGameMessage::default_instance_->InitAsDefaultInstance(); - JoinNewGameMessage::default_instance_->InitAsDefaultInstance(); - RejoinExistingGameMessage::default_instance_->InitAsDefaultInstance(); + SubscriptionReplyMessage::default_instance_->InitAsDefaultInstance(); + CreateGameMessage::default_instance_->InitAsDefaultInstance(); + CreateGameFailedMessage::default_instance_->InitAsDefaultInstance(); + JoinGameMessage::default_instance_->InitAsDefaultInstance(); + RejoinGameMessage::default_instance_->InitAsDefaultInstance(); JoinGameAckMessage::default_instance_->InitAsDefaultInstance(); JoinGameFailedMessage::default_instance_->InitAsDefaultInstance(); GamePlayerJoinedMessage::default_instance_->InitAsDefaultInstance(); @@ -299,6 +318,11 @@ void protobuf_AddDesc_pokerth_2eproto() { AdminRemoveGameAckMessage::default_instance_->InitAsDefaultInstance(); AdminBanPlayerMessage::default_instance_->InitAsDefaultInstance(); AdminBanPlayerAckMessage::default_instance_->InitAsDefaultInstance(); + AuthMessage::default_instance_->InitAsDefaultInstance(); + LobbyMessage::default_instance_->InitAsDefaultInstance(); + GameManagementMessage::default_instance_->InitAsDefaultInstance(); + GameEngineMessage::default_instance_->InitAsDefaultInstance(); + GameMessage::default_instance_->InitAsDefaultInstance(); PokerTHMessage::default_instance_->InitAsDefaultInstance(); ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_pokerth_2eproto); } @@ -2094,7 +2118,7 @@ void AnnounceMessage::Swap(AnnounceMessage* other) { // =================================================================== -bool InitMessage_LoginType_IsValid(int value) { +bool AuthClientRequestMessage_LoginType_IsValid(int value) { switch(value) { case 0: case 1: @@ -2106,30 +2130,29 @@ bool InitMessage_LoginType_IsValid(int value) { } #ifndef _MSC_VER -const InitMessage_LoginType InitMessage::guestLogin; -const InitMessage_LoginType InitMessage::authenticatedLogin; -const InitMessage_LoginType InitMessage::unauthenticatedLogin; -const InitMessage_LoginType InitMessage::LoginType_MIN; -const InitMessage_LoginType InitMessage::LoginType_MAX; -const int InitMessage::LoginType_ARRAYSIZE; +const AuthClientRequestMessage_LoginType AuthClientRequestMessage::guestLogin; +const AuthClientRequestMessage_LoginType AuthClientRequestMessage::authenticatedLogin; +const AuthClientRequestMessage_LoginType AuthClientRequestMessage::unauthenticatedLogin; +const AuthClientRequestMessage_LoginType AuthClientRequestMessage::LoginType_MIN; +const AuthClientRequestMessage_LoginType AuthClientRequestMessage::LoginType_MAX; +const int AuthClientRequestMessage::LoginType_ARRAYSIZE; #endif // _MSC_VER #ifndef _MSC_VER -const int InitMessage::kRequestedVersionFieldNumber; -const int InitMessage::kBuildIdFieldNumber; -const int InitMessage::kMyLastSessionIdFieldNumber; -const int InitMessage::kAuthServerPasswordFieldNumber; -const int InitMessage::kLoginFieldNumber; -const int InitMessage::kNickNameFieldNumber; -const int InitMessage::kClientUserDataFieldNumber; -const int InitMessage::kAvatarHashFieldNumber; +const int AuthClientRequestMessage::kRequestedVersionFieldNumber; +const int AuthClientRequestMessage::kBuildIdFieldNumber; +const int AuthClientRequestMessage::kLoginFieldNumber; +const int AuthClientRequestMessage::kAuthServerPasswordFieldNumber; +const int AuthClientRequestMessage::kNickNameFieldNumber; +const int AuthClientRequestMessage::kClientUserDataFieldNumber; +const int AuthClientRequestMessage::kMyLastSessionIdFieldNumber; #endif // !_MSC_VER -InitMessage::InitMessage() +AuthClientRequestMessage::AuthClientRequestMessage() : ::google::protobuf::MessageLite() { SharedCtor(); } -void InitMessage::InitAsDefaultInstance() { +void AuthClientRequestMessage::InitAsDefaultInstance() { #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER requestedversion_ = const_cast< ::AnnounceMessage_Version*>( ::AnnounceMessage_Version::internal_default_instance()); @@ -2138,33 +2161,29 @@ void InitMessage::InitAsDefaultInstance() { #endif } -InitMessage::InitMessage(const InitMessage& from) +AuthClientRequestMessage::AuthClientRequestMessage(const AuthClientRequestMessage& from) : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); } -void InitMessage::SharedCtor() { +void AuthClientRequestMessage::SharedCtor() { _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); login_ = 0; + authserverpassword_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); 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); + mylastsessionid_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); ::memset(_has_bits_, 0, sizeof(_has_bits_)); } -InitMessage::~InitMessage() { +AuthClientRequestMessage::~AuthClientRequestMessage() { SharedDtor(); } -void InitMessage::SharedDtor() { - if (mylastsessionid_ != &::google::protobuf::internal::kEmptyString) { - delete mylastsessionid_; - } +void AuthClientRequestMessage::SharedDtor() { if (authserverpassword_ != &::google::protobuf::internal::kEmptyString) { delete authserverpassword_; } @@ -2174,8 +2193,8 @@ void InitMessage::SharedDtor() { if (clientuserdata_ != &::google::protobuf::internal::kEmptyString) { delete clientuserdata_; } - if (avatarhash_ != &::google::protobuf::internal::kEmptyString) { - delete avatarhash_; + if (mylastsessionid_ != &::google::protobuf::internal::kEmptyString) { + delete mylastsessionid_; } #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER if (this != &default_instance()) { @@ -2186,12 +2205,12 @@ void InitMessage::SharedDtor() { } } -void InitMessage::SetCachedSize(int size) const { +void AuthClientRequestMessage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } -const InitMessage& InitMessage::default_instance() { +const AuthClientRequestMessage& AuthClientRequestMessage::default_instance() { #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER protobuf_AddDesc_pokerth_2eproto(); #else @@ -2200,29 +2219,24 @@ const InitMessage& InitMessage::default_instance() { return *default_instance_; } -InitMessage* InitMessage::default_instance_ = NULL; +AuthClientRequestMessage* AuthClientRequestMessage::default_instance_ = NULL; -InitMessage* InitMessage::New() const { - return new InitMessage; +AuthClientRequestMessage* AuthClientRequestMessage::New() const { + return new AuthClientRequestMessage; } -void InitMessage::Clear() { +void AuthClientRequestMessage::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (has_requestedversion()) { if (requestedversion_ != NULL) requestedversion_->::AnnounceMessage_Version::Clear(); } buildid_ = 0u; - if (has_mylastsessionid()) { - if (mylastsessionid_ != &::google::protobuf::internal::kEmptyString) { - mylastsessionid_->clear(); - } - } + login_ = 0; if (has_authserverpassword()) { if (authserverpassword_ != &::google::protobuf::internal::kEmptyString) { authserverpassword_->clear(); } } - login_ = 0; if (has_nickname()) { if (nickname_ != &::google::protobuf::internal::kEmptyString) { nickname_->clear(); @@ -2233,16 +2247,16 @@ void InitMessage::Clear() { clientuserdata_->clear(); } } - if (has_avatarhash()) { - if (avatarhash_ != &::google::protobuf::internal::kEmptyString) { - avatarhash_->clear(); + if (has_mylastsessionid()) { + if (mylastsessionid_ != &::google::protobuf::internal::kEmptyString) { + mylastsessionid_->clear(); } } } ::memset(_has_bits_, 0, sizeof(_has_bits_)); } -bool InitMessage::MergePartialFromCodedStream( +bool AuthClientRequestMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; @@ -2273,17 +2287,22 @@ bool InitMessage::MergePartialFromCodedStream( } else { goto handle_uninterpreted; } - if (input->ExpectTag(26)) goto parse_myLastSessionId; + if (input->ExpectTag(24)) goto parse_login; break; } - // optional bytes myLastSessionId = 3; + // required .AuthClientRequestMessage.LoginType login = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_myLastSessionId: - DO_(::google::protobuf::internal::WireFormatLite::ReadBytes( - input, this->mutable_mylastsessionid())); + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_login: + int value; + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( + input, &value))); + if (::AuthClientRequestMessage_LoginType_IsValid(value)) { + set_login(static_cast< ::AuthClientRequestMessage_LoginType >(value)); + } } else { goto handle_uninterpreted; } @@ -2301,31 +2320,12 @@ bool InitMessage::MergePartialFromCodedStream( } else { goto handle_uninterpreted; } - if (input->ExpectTag(40)) goto parse_login; + if (input->ExpectTag(42)) goto parse_nickName; break; } - // required .InitMessage.LoginType login = 5; + // optional string nickName = 5; case 5: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { - parse_login: - int value; - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( - input, &value))); - if (::InitMessage_LoginType_IsValid(value)) { - set_login(static_cast< ::InitMessage_LoginType >(value)); - } - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(50)) goto parse_nickName; - break; - } - - // optional string nickName = 6; - case 6: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { parse_nickName: @@ -2334,12 +2334,12 @@ bool InitMessage::MergePartialFromCodedStream( } else { goto handle_uninterpreted; } - if (input->ExpectTag(58)) goto parse_clientUserData; + if (input->ExpectTag(50)) goto parse_clientUserData; break; } - // optional bytes clientUserData = 7; - case 7: { + // optional bytes clientUserData = 6; + case 6: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { parse_clientUserData: @@ -2348,17 +2348,17 @@ bool InitMessage::MergePartialFromCodedStream( } else { goto handle_uninterpreted; } - if (input->ExpectTag(66)) goto parse_avatarHash; + if (input->ExpectTag(58)) goto parse_myLastSessionId; break; } - // optional bytes avatarHash = 8; - case 8: { + // optional bytes myLastSessionId = 7; + case 7: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_avatarHash: + parse_myLastSessionId: DO_(::google::protobuf::internal::WireFormatLite::ReadBytes( - input, this->mutable_avatarhash())); + input, this->mutable_mylastsessionid())); } else { goto handle_uninterpreted; } @@ -2381,7 +2381,7 @@ bool InitMessage::MergePartialFromCodedStream( #undef DO_ } -void InitMessage::SerializeWithCachedSizes( +void AuthClientRequestMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // required .AnnounceMessage.Version requestedVersion = 1; if (has_requestedversion()) { @@ -2394,10 +2394,10 @@ void InitMessage::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->buildid(), output); } - // optional bytes myLastSessionId = 3; - if (has_mylastsessionid()) { - ::google::protobuf::internal::WireFormatLite::WriteBytes( - 3, this->mylastsessionid(), output); + // required .AuthClientRequestMessage.LoginType login = 3; + if (has_login()) { + ::google::protobuf::internal::WireFormatLite::WriteEnum( + 3, this->login(), output); } // optional string authServerPassword = 4; @@ -2406,33 +2406,27 @@ void InitMessage::SerializeWithCachedSizes( 4, this->authserverpassword(), output); } - // required .InitMessage.LoginType login = 5; - if (has_login()) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 5, this->login(), output); - } - - // optional string nickName = 6; + // optional string nickName = 5; if (has_nickname()) { ::google::protobuf::internal::WireFormatLite::WriteString( - 6, this->nickname(), output); + 5, this->nickname(), output); } - // optional bytes clientUserData = 7; + // optional bytes clientUserData = 6; if (has_clientuserdata()) { ::google::protobuf::internal::WireFormatLite::WriteBytes( - 7, this->clientuserdata(), output); + 6, this->clientuserdata(), output); } - // optional bytes avatarHash = 8; - if (has_avatarhash()) { + // optional bytes myLastSessionId = 7; + if (has_mylastsessionid()) { ::google::protobuf::internal::WireFormatLite::WriteBytes( - 8, this->avatarhash(), output); + 7, this->mylastsessionid(), output); } } -int InitMessage::ByteSize() const { +int AuthClientRequestMessage::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { @@ -2450,11 +2444,10 @@ int InitMessage::ByteSize() const { this->buildid()); } - // optional bytes myLastSessionId = 3; - if (has_mylastsessionid()) { + // required .AuthClientRequestMessage.LoginType login = 3; + if (has_login()) { total_size += 1 + - ::google::protobuf::internal::WireFormatLite::BytesSize( - this->mylastsessionid()); + ::google::protobuf::internal::WireFormatLite::EnumSize(this->login()); } // optional string authServerPassword = 4; @@ -2464,31 +2457,25 @@ int InitMessage::ByteSize() const { this->authserverpassword()); } - // required .InitMessage.LoginType login = 5; - if (has_login()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->login()); - } - - // optional string nickName = 6; + // optional string nickName = 5; if (has_nickname()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->nickname()); } - // optional bytes clientUserData = 7; + // optional bytes clientUserData = 6; if (has_clientuserdata()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize( this->clientuserdata()); } - // optional bytes avatarHash = 8; - if (has_avatarhash()) { + // optional bytes myLastSessionId = 7; + if (has_mylastsessionid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize( - this->avatarhash()); + this->mylastsessionid()); } } @@ -2498,12 +2485,12 @@ int InitMessage::ByteSize() const { return total_size; } -void InitMessage::CheckTypeAndMergeFrom( +void AuthClientRequestMessage::CheckTypeAndMergeFrom( const ::google::protobuf::MessageLite& from) { - MergeFrom(*::google::protobuf::down_cast(&from)); + MergeFrom(*::google::protobuf::down_cast(&from)); } -void InitMessage::MergeFrom(const InitMessage& from) { +void AuthClientRequestMessage::MergeFrom(const AuthClientRequestMessage& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_requestedversion()) { @@ -2512,35 +2499,32 @@ void InitMessage::MergeFrom(const InitMessage& from) { if (from.has_buildid()) { set_buildid(from.buildid()); } - if (from.has_mylastsessionid()) { - set_mylastsessionid(from.mylastsessionid()); + if (from.has_login()) { + set_login(from.login()); } if (from.has_authserverpassword()) { set_authserverpassword(from.authserverpassword()); } - if (from.has_login()) { - set_login(from.login()); - } if (from.has_nickname()) { set_nickname(from.nickname()); } if (from.has_clientuserdata()) { set_clientuserdata(from.clientuserdata()); } - if (from.has_avatarhash()) { - set_avatarhash(from.avatarhash()); + if (from.has_mylastsessionid()) { + set_mylastsessionid(from.mylastsessionid()); } } } -void InitMessage::CopyFrom(const InitMessage& from) { +void AuthClientRequestMessage::CopyFrom(const AuthClientRequestMessage& from) { if (&from == this) return; Clear(); MergeFrom(from); } -bool InitMessage::IsInitialized() const { - if ((_has_bits_[0] & 0x00000013) != 0x00000013) return false; +bool AuthClientRequestMessage::IsInitialized() const { + if ((_has_bits_[0] & 0x00000007) != 0x00000007) return false; if (has_requestedversion()) { if (!this->requestedversion().IsInitialized()) return false; @@ -2548,23 +2532,22 @@ bool InitMessage::IsInitialized() const { return true; } -void InitMessage::Swap(InitMessage* other) { +void AuthClientRequestMessage::Swap(AuthClientRequestMessage* other) { if (other != this) { std::swap(requestedversion_, other->requestedversion_); std::swap(buildid_, other->buildid_); - std::swap(mylastsessionid_, other->mylastsessionid_); - std::swap(authserverpassword_, other->authserverpassword_); std::swap(login_, other->login_); + std::swap(authserverpassword_, other->authserverpassword_); std::swap(nickname_, other->nickname_); std::swap(clientuserdata_, other->clientuserdata_); - std::swap(avatarhash_, other->avatarhash_); + std::swap(mylastsessionid_, other->mylastsessionid_); std::swap(_has_bits_[0], other->_has_bits_[0]); std::swap(_cached_size_, other->_cached_size_); } } -::std::string InitMessage::GetTypeName() const { - return "InitMessage"; +::std::string AuthClientRequestMessage::GetTypeName() const { + return "AuthClientRequestMessage"; } @@ -2919,6 +2902,8 @@ void AuthClientResponseMessage::Swap(AuthClientResponseMessage* other) { // =================================================================== #ifndef _MSC_VER +const int AuthServerVerificationMessage::kYourSessionIdFieldNumber; +const int AuthServerVerificationMessage::kYourPlayerIdFieldNumber; const int AuthServerVerificationMessage::kServerVerificationFieldNumber; #endif // !_MSC_VER @@ -2938,6 +2923,8 @@ AuthServerVerificationMessage::AuthServerVerificationMessage(const AuthServerVer void AuthServerVerificationMessage::SharedCtor() { _cached_size_ = 0; + yoursessionid_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + yourplayerid_ = 0u; serververification_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); ::memset(_has_bits_, 0, sizeof(_has_bits_)); } @@ -2947,6 +2934,9 @@ AuthServerVerificationMessage::~AuthServerVerificationMessage() { } void AuthServerVerificationMessage::SharedDtor() { + if (yoursessionid_ != &::google::protobuf::internal::kEmptyString) { + delete yoursessionid_; + } if (serververification_ != &::google::protobuf::internal::kEmptyString) { delete serververification_; } @@ -2980,6 +2970,12 @@ AuthServerVerificationMessage* AuthServerVerificationMessage::New() const { void AuthServerVerificationMessage::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (has_yoursessionid()) { + if (yoursessionid_ != &::google::protobuf::internal::kEmptyString) { + yoursessionid_->clear(); + } + } + yourplayerid_ = 0u; if (has_serververification()) { if (serververification_ != &::google::protobuf::internal::kEmptyString) { serververification_->clear(); @@ -2995,10 +2991,40 @@ bool AuthServerVerificationMessage::MergePartialFromCodedStream( ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // required bytes serverVerification = 1; + // required bytes yourSessionId = 1; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + DO_(::google::protobuf::internal::WireFormatLite::ReadBytes( + input, this->mutable_yoursessionid())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(16)) goto parse_yourPlayerId; + break; + } + + // required uint32 yourPlayerId = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + 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; + } + if (input->ExpectTag(26)) goto parse_serverVerification; + break; + } + + // optional bytes serverVerification = 3; + case 3: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_serverVerification: DO_(::google::protobuf::internal::WireFormatLite::ReadBytes( input, this->mutable_serververification())); } else { @@ -3025,10 +3051,21 @@ bool AuthServerVerificationMessage::MergePartialFromCodedStream( void AuthServerVerificationMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { - // required bytes serverVerification = 1; + // required bytes yourSessionId = 1; + if (has_yoursessionid()) { + ::google::protobuf::internal::WireFormatLite::WriteBytes( + 1, this->yoursessionid(), output); + } + + // required uint32 yourPlayerId = 2; + if (has_yourplayerid()) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->yourplayerid(), output); + } + + // optional bytes serverVerification = 3; if (has_serververification()) { ::google::protobuf::internal::WireFormatLite::WriteBytes( - 1, this->serververification(), output); + 3, this->serververification(), output); } } @@ -3037,7 +3074,21 @@ int AuthServerVerificationMessage::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - // required bytes serverVerification = 1; + // required bytes yourSessionId = 1; + if (has_yoursessionid()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::BytesSize( + this->yoursessionid()); + } + + // required uint32 yourPlayerId = 2; + if (has_yourplayerid()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::UInt32Size( + this->yourplayerid()); + } + + // optional bytes serverVerification = 3; if (has_serververification()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize( @@ -3059,6 +3110,12 @@ void AuthServerVerificationMessage::CheckTypeAndMergeFrom( void AuthServerVerificationMessage::MergeFrom(const AuthServerVerificationMessage& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_yoursessionid()) { + set_yoursessionid(from.yoursessionid()); + } + if (from.has_yourplayerid()) { + set_yourplayerid(from.yourplayerid()); + } if (from.has_serververification()) { set_serververification(from.serververification()); } @@ -3072,13 +3129,15 @@ void AuthServerVerificationMessage::CopyFrom(const AuthServerVerificationMessage } bool AuthServerVerificationMessage::IsInitialized() const { - if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false; + if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; return true; } void AuthServerVerificationMessage::Swap(AuthServerVerificationMessage* other) { if (other != this) { + std::swap(yoursessionid_, other->yoursessionid_); + std::swap(yourplayerid_, other->yourplayerid_); std::swap(serververification_, other->serververification_); std::swap(_has_bits_[0], other->_has_bits_[0]); std::swap(_cached_size_, other->_cached_size_); @@ -3093,8 +3152,179 @@ void AuthServerVerificationMessage::Swap(AuthServerVerificationMessage* other) { // =================================================================== #ifndef _MSC_VER -const int InitAckMessage::kYourSessionIdFieldNumber; -const int InitAckMessage::kYourPlayerIdFieldNumber; +const int InitMessage::kAvatarHashFieldNumber; +#endif // !_MSC_VER + +InitMessage::InitMessage() + : ::google::protobuf::MessageLite() { + SharedCtor(); +} + +void InitMessage::InitAsDefaultInstance() { +} + +InitMessage::InitMessage(const InitMessage& from) + : ::google::protobuf::MessageLite() { + SharedCtor(); + MergeFrom(from); +} + +void InitMessage::SharedCtor() { + _cached_size_ = 0; + avatarhash_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +InitMessage::~InitMessage() { + SharedDtor(); +} + +void InitMessage::SharedDtor() { + if (avatarhash_ != &::google::protobuf::internal::kEmptyString) { + delete avatarhash_; + } + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else + if (this != default_instance_) { + #endif + } +} + +void InitMessage::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const InitMessage& InitMessage::default_instance() { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; +} + +InitMessage* InitMessage::default_instance_ = NULL; + +InitMessage* InitMessage::New() const { + return new InitMessage; +} + +void InitMessage::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (has_avatarhash()) { + if (avatarhash_ != &::google::protobuf::internal::kEmptyString) { + avatarhash_->clear(); + } + } + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +bool InitMessage::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!(EXPRESSION)) return false + ::google::protobuf::uint32 tag; + while ((tag = input->ReadTag()) != 0) { + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // optional bytes avatarHash = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + DO_(::google::protobuf::internal::WireFormatLite::ReadBytes( + input, this->mutable_avatarhash())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectAtEnd()) return true; + break; + } + + default: { + handle_uninterpreted: + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { + return true; + } + DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + break; + } + } + } + return true; +#undef DO_ +} + +void InitMessage::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional bytes avatarHash = 1; + if (has_avatarhash()) { + ::google::protobuf::internal::WireFormatLite::WriteBytes( + 1, this->avatarhash(), output); + } + +} + +int InitMessage::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional bytes avatarHash = 1; + if (has_avatarhash()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::BytesSize( + this->avatarhash()); + } + + } + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = total_size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); + return total_size; +} + +void InitMessage::CheckTypeAndMergeFrom( + const ::google::protobuf::MessageLite& from) { + MergeFrom(*::google::protobuf::down_cast(&from)); +} + +void InitMessage::MergeFrom(const InitMessage& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_avatarhash()) { + set_avatarhash(from.avatarhash()); + } + } +} + +void InitMessage::CopyFrom(const InitMessage& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool InitMessage::IsInitialized() const { + + return true; +} + +void InitMessage::Swap(InitMessage* other) { + if (other != this) { + std::swap(avatarhash_, other->avatarhash_); + std::swap(_has_bits_[0], other->_has_bits_[0]); + std::swap(_cached_size_, other->_cached_size_); + } +} + +::std::string InitMessage::GetTypeName() const { + return "InitMessage"; +} + + +// =================================================================== + +#ifndef _MSC_VER const int InitAckMessage::kYourAvatarHashFieldNumber; const int InitAckMessage::kRejoinGameIdFieldNumber; #endif // !_MSC_VER @@ -3115,8 +3345,6 @@ InitAckMessage::InitAckMessage(const InitAckMessage& from) void InitAckMessage::SharedCtor() { _cached_size_ = 0; - yoursessionid_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); - yourplayerid_ = 0u; youravatarhash_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); rejoingameid_ = 0u; ::memset(_has_bits_, 0, sizeof(_has_bits_)); @@ -3127,9 +3355,6 @@ InitAckMessage::~InitAckMessage() { } void InitAckMessage::SharedDtor() { - if (yoursessionid_ != &::google::protobuf::internal::kEmptyString) { - delete yoursessionid_; - } if (youravatarhash_ != &::google::protobuf::internal::kEmptyString) { delete youravatarhash_; } @@ -3163,12 +3388,6 @@ InitAckMessage* InitAckMessage::New() const { void InitAckMessage::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - if (has_yoursessionid()) { - if (yoursessionid_ != &::google::protobuf::internal::kEmptyString) { - yoursessionid_->clear(); - } - } - yourplayerid_ = 0u; if (has_youravatarhash()) { if (youravatarhash_ != &::google::protobuf::internal::kEmptyString) { youravatarhash_->clear(); @@ -3185,51 +3404,21 @@ bool InitAckMessage::MergePartialFromCodedStream( ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // required bytes yourSessionId = 1; + // optional bytes yourAvatarHash = 1; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - DO_(::google::protobuf::internal::WireFormatLite::ReadBytes( - input, this->mutable_yoursessionid())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(16)) goto parse_yourPlayerId; - break; - } - - // required uint32 yourPlayerId = 2; - case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { - 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; - } - if (input->ExpectTag(26)) goto parse_yourAvatarHash; - break; - } - - // optional bytes yourAvatarHash = 3; - case 3: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_yourAvatarHash: DO_(::google::protobuf::internal::WireFormatLite::ReadBytes( input, this->mutable_youravatarhash())); } else { goto handle_uninterpreted; } - if (input->ExpectTag(32)) goto parse_rejoinGameId; + if (input->ExpectTag(16)) goto parse_rejoinGameId; break; } - // optional uint32 rejoinGameId = 4; - case 4: { + // optional uint32 rejoinGameId = 2; + case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_rejoinGameId: @@ -3261,26 +3450,15 @@ bool InitAckMessage::MergePartialFromCodedStream( void InitAckMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { - // required bytes yourSessionId = 1; - if (has_yoursessionid()) { - ::google::protobuf::internal::WireFormatLite::WriteBytes( - 1, this->yoursessionid(), output); - } - - // required uint32 yourPlayerId = 2; - if (has_yourplayerid()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->yourplayerid(), output); - } - - // optional bytes yourAvatarHash = 3; + // optional bytes yourAvatarHash = 1; if (has_youravatarhash()) { ::google::protobuf::internal::WireFormatLite::WriteBytes( - 3, this->youravatarhash(), output); + 1, this->youravatarhash(), output); } - // optional uint32 rejoinGameId = 4; + // optional uint32 rejoinGameId = 2; if (has_rejoingameid()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->rejoingameid(), output); + ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->rejoingameid(), output); } } @@ -3289,28 +3467,14 @@ int InitAckMessage::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - // required bytes yourSessionId = 1; - if (has_yoursessionid()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::BytesSize( - this->yoursessionid()); - } - - // required uint32 yourPlayerId = 2; - if (has_yourplayerid()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt32Size( - this->yourplayerid()); - } - - // optional bytes yourAvatarHash = 3; + // optional bytes yourAvatarHash = 1; if (has_youravatarhash()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize( this->youravatarhash()); } - // optional uint32 rejoinGameId = 4; + // optional uint32 rejoinGameId = 2; if (has_rejoingameid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( @@ -3332,12 +3496,6 @@ void InitAckMessage::CheckTypeAndMergeFrom( void InitAckMessage::MergeFrom(const InitAckMessage& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { - if (from.has_yoursessionid()) { - set_yoursessionid(from.yoursessionid()); - } - if (from.has_yourplayerid()) { - set_yourplayerid(from.yourplayerid()); - } if (from.has_youravatarhash()) { set_youravatarhash(from.youravatarhash()); } @@ -3354,15 +3512,12 @@ void InitAckMessage::CopyFrom(const InitAckMessage& from) { } bool InitAckMessage::IsInitialized() const { - if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; return true; } void InitAckMessage::Swap(InitAckMessage* other) { if (other != this) { - std::swap(yoursessionid_, other->yoursessionid_); - std::swap(yourplayerid_, other->yourplayerid_); std::swap(youravatarhash_, other->youravatarhash_); std::swap(rejoingameid_, other->rejoingameid_); std::swap(_has_bits_[0], other->_has_bits_[0]); @@ -7194,6 +7349,7 @@ const SubscriptionRequestMessage_SubscriptionAction SubscriptionRequestMessage:: const int SubscriptionRequestMessage::SubscriptionAction_ARRAYSIZE; #endif // _MSC_VER #ifndef _MSC_VER +const int SubscriptionRequestMessage::kRequestIdFieldNumber; const int SubscriptionRequestMessage::kSubscriptionActionFieldNumber; #endif // !_MSC_VER @@ -7213,6 +7369,7 @@ SubscriptionRequestMessage::SubscriptionRequestMessage(const SubscriptionRequest void SubscriptionRequestMessage::SharedCtor() { _cached_size_ = 0; + requestid_ = 0u; subscriptionaction_ = 1; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } @@ -7252,6 +7409,7 @@ SubscriptionRequestMessage* SubscriptionRequestMessage::New() const { void SubscriptionRequestMessage::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + requestid_ = 0u; subscriptionaction_ = 1; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); @@ -7263,10 +7421,26 @@ bool SubscriptionRequestMessage::MergePartialFromCodedStream( ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // required .SubscriptionRequestMessage.SubscriptionAction subscriptionAction = 1; + // required uint32 requestId = 1; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( + input, &requestid_))); + set_has_requestid(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(16)) goto parse_subscriptionAction; + break; + } + + // required .SubscriptionRequestMessage.SubscriptionAction subscriptionAction = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_subscriptionAction: int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( @@ -7298,10 +7472,15 @@ bool SubscriptionRequestMessage::MergePartialFromCodedStream( void SubscriptionRequestMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { - // required .SubscriptionRequestMessage.SubscriptionAction subscriptionAction = 1; + // required uint32 requestId = 1; + if (has_requestid()) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->requestid(), output); + } + + // required .SubscriptionRequestMessage.SubscriptionAction subscriptionAction = 2; if (has_subscriptionaction()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( - 1, this->subscriptionaction(), output); + 2, this->subscriptionaction(), output); } } @@ -7310,7 +7489,14 @@ int SubscriptionRequestMessage::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - // required .SubscriptionRequestMessage.SubscriptionAction subscriptionAction = 1; + // required uint32 requestId = 1; + if (has_requestid()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::UInt32Size( + this->requestid()); + } + + // required .SubscriptionRequestMessage.SubscriptionAction subscriptionAction = 2; if (has_subscriptionaction()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->subscriptionaction()); @@ -7331,6 +7517,9 @@ void SubscriptionRequestMessage::CheckTypeAndMergeFrom( void SubscriptionRequestMessage::MergeFrom(const SubscriptionRequestMessage& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_requestid()) { + set_requestid(from.requestid()); + } if (from.has_subscriptionaction()) { set_subscriptionaction(from.subscriptionaction()); } @@ -7344,13 +7533,14 @@ void SubscriptionRequestMessage::CopyFrom(const SubscriptionRequestMessage& from } bool SubscriptionRequestMessage::IsInitialized() const { - if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false; + if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; return true; } void SubscriptionRequestMessage::Swap(SubscriptionRequestMessage* other) { if (other != this) { + std::swap(requestid_, other->requestid_); std::swap(subscriptionaction_, other->subscriptionaction_); std::swap(_has_bits_[0], other->_has_bits_[0]); std::swap(_cached_size_, other->_cached_size_); @@ -7365,40 +7555,754 @@ void SubscriptionRequestMessage::Swap(SubscriptionRequestMessage* other) { // =================================================================== #ifndef _MSC_VER -const int JoinExistingGameMessage::kGameIdFieldNumber; -const int JoinExistingGameMessage::kPasswordFieldNumber; -const int JoinExistingGameMessage::kAutoLeaveFieldNumber; -const int JoinExistingGameMessage::kSpectateOnlyFieldNumber; +const int SubscriptionReplyMessage::kRequestIdFieldNumber; +const int SubscriptionReplyMessage::kAckFieldNumber; #endif // !_MSC_VER -JoinExistingGameMessage::JoinExistingGameMessage() +SubscriptionReplyMessage::SubscriptionReplyMessage() : ::google::protobuf::MessageLite() { SharedCtor(); } -void JoinExistingGameMessage::InitAsDefaultInstance() { +void SubscriptionReplyMessage::InitAsDefaultInstance() { } -JoinExistingGameMessage::JoinExistingGameMessage(const JoinExistingGameMessage& from) +SubscriptionReplyMessage::SubscriptionReplyMessage(const SubscriptionReplyMessage& from) : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); } -void JoinExistingGameMessage::SharedCtor() { +void SubscriptionReplyMessage::SharedCtor() { + _cached_size_ = 0; + requestid_ = 0u; + ack_ = false; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +SubscriptionReplyMessage::~SubscriptionReplyMessage() { + SharedDtor(); +} + +void SubscriptionReplyMessage::SharedDtor() { + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else + if (this != default_instance_) { + #endif + } +} + +void SubscriptionReplyMessage::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const SubscriptionReplyMessage& SubscriptionReplyMessage::default_instance() { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; +} + +SubscriptionReplyMessage* SubscriptionReplyMessage::default_instance_ = NULL; + +SubscriptionReplyMessage* SubscriptionReplyMessage::New() const { + return new SubscriptionReplyMessage; +} + +void SubscriptionReplyMessage::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + requestid_ = 0u; + ack_ = false; + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +bool SubscriptionReplyMessage::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!(EXPRESSION)) return false + ::google::protobuf::uint32 tag; + while ((tag = input->ReadTag()) != 0) { + 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) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( + input, &requestid_))); + set_has_requestid(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(16)) goto parse_ack; + break; + } + + // required bool ack = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_ack: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( + input, &ack_))); + set_has_ack(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectAtEnd()) return true; + break; + } + + default: { + handle_uninterpreted: + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { + return true; + } + DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + break; + } + } + } + return true; +#undef DO_ +} + +void SubscriptionReplyMessage::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // required uint32 requestId = 1; + if (has_requestid()) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->requestid(), output); + } + + // required bool ack = 2; + if (has_ack()) { + ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->ack(), output); + } + +} + +int SubscriptionReplyMessage::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // required uint32 requestId = 1; + if (has_requestid()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::UInt32Size( + this->requestid()); + } + + // required bool ack = 2; + if (has_ack()) { + total_size += 1 + 1; + } + + } + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = total_size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); + return total_size; +} + +void SubscriptionReplyMessage::CheckTypeAndMergeFrom( + const ::google::protobuf::MessageLite& from) { + MergeFrom(*::google::protobuf::down_cast(&from)); +} + +void SubscriptionReplyMessage::MergeFrom(const SubscriptionReplyMessage& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_requestid()) { + set_requestid(from.requestid()); + } + if (from.has_ack()) { + set_ack(from.ack()); + } + } +} + +void SubscriptionReplyMessage::CopyFrom(const SubscriptionReplyMessage& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool SubscriptionReplyMessage::IsInitialized() const { + if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; + + return true; +} + +void SubscriptionReplyMessage::Swap(SubscriptionReplyMessage* other) { + if (other != this) { + std::swap(requestid_, other->requestid_); + std::swap(ack_, other->ack_); + std::swap(_has_bits_[0], other->_has_bits_[0]); + std::swap(_cached_size_, other->_cached_size_); + } +} + +::std::string SubscriptionReplyMessage::GetTypeName() const { + return "SubscriptionReplyMessage"; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CreateGameMessage::kRequestIdFieldNumber; +const int CreateGameMessage::kGameInfoFieldNumber; +const int CreateGameMessage::kPasswordFieldNumber; +const int CreateGameMessage::kAutoLeaveFieldNumber; +#endif // !_MSC_VER + +CreateGameMessage::CreateGameMessage() + : ::google::protobuf::MessageLite() { + SharedCtor(); +} + +void CreateGameMessage::InitAsDefaultInstance() { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + gameinfo_ = const_cast< ::NetGameInfo*>( + ::NetGameInfo::internal_default_instance()); +#else + gameinfo_ = const_cast< ::NetGameInfo*>(&::NetGameInfo::default_instance()); +#endif +} + +CreateGameMessage::CreateGameMessage(const CreateGameMessage& from) + : ::google::protobuf::MessageLite() { + SharedCtor(); + MergeFrom(from); +} + +void CreateGameMessage::SharedCtor() { + _cached_size_ = 0; + requestid_ = 0u; + gameinfo_ = NULL; + password_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + autoleave_ = false; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CreateGameMessage::~CreateGameMessage() { + SharedDtor(); +} + +void CreateGameMessage::SharedDtor() { + if (password_ != &::google::protobuf::internal::kEmptyString) { + delete password_; + } + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else + if (this != default_instance_) { + #endif + delete gameinfo_; + } +} + +void CreateGameMessage::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const CreateGameMessage& CreateGameMessage::default_instance() { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; +} + +CreateGameMessage* CreateGameMessage::default_instance_ = NULL; + +CreateGameMessage* CreateGameMessage::New() const { + return new CreateGameMessage; +} + +void CreateGameMessage::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + requestid_ = 0u; + if (has_gameinfo()) { + if (gameinfo_ != NULL) gameinfo_->::NetGameInfo::Clear(); + } + if (has_password()) { + if (password_ != &::google::protobuf::internal::kEmptyString) { + password_->clear(); + } + } + autoleave_ = false; + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +bool CreateGameMessage::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!(EXPRESSION)) return false + ::google::protobuf::uint32 tag; + while ((tag = input->ReadTag()) != 0) { + 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) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( + input, &requestid_))); + set_has_requestid(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(18)) goto parse_gameInfo; + break; + } + + // required .NetGameInfo gameInfo = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_gameInfo: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_gameinfo())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(26)) goto parse_password; + break; + } + + // optional string password = 3; + case 3: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_password: + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_password())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(32)) goto parse_autoLeave; + break; + } + + // optional bool autoLeave = 4; + case 4: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_autoLeave: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( + input, &autoleave_))); + set_has_autoleave(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectAtEnd()) return true; + break; + } + + default: { + handle_uninterpreted: + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { + return true; + } + DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + break; + } + } + } + return true; +#undef DO_ +} + +void CreateGameMessage::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // required uint32 requestId = 1; + if (has_requestid()) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->requestid(), output); + } + + // required .NetGameInfo gameInfo = 2; + if (has_gameinfo()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 2, this->gameinfo(), output); + } + + // optional string password = 3; + if (has_password()) { + ::google::protobuf::internal::WireFormatLite::WriteString( + 3, this->password(), output); + } + + // optional bool autoLeave = 4; + if (has_autoleave()) { + ::google::protobuf::internal::WireFormatLite::WriteBool(4, this->autoleave(), output); + } + +} + +int CreateGameMessage::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // required uint32 requestId = 1; + if (has_requestid()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::UInt32Size( + this->requestid()); + } + + // required .NetGameInfo gameInfo = 2; + if (has_gameinfo()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->gameinfo()); + } + + // optional string password = 3; + if (has_password()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->password()); + } + + // optional bool autoLeave = 4; + if (has_autoleave()) { + total_size += 1 + 1; + } + + } + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = total_size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); + return total_size; +} + +void CreateGameMessage::CheckTypeAndMergeFrom( + const ::google::protobuf::MessageLite& from) { + MergeFrom(*::google::protobuf::down_cast(&from)); +} + +void CreateGameMessage::MergeFrom(const CreateGameMessage& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_requestid()) { + set_requestid(from.requestid()); + } + if (from.has_gameinfo()) { + mutable_gameinfo()->::NetGameInfo::MergeFrom(from.gameinfo()); + } + if (from.has_password()) { + set_password(from.password()); + } + if (from.has_autoleave()) { + set_autoleave(from.autoleave()); + } + } +} + +void CreateGameMessage::CopyFrom(const CreateGameMessage& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CreateGameMessage::IsInitialized() const { + if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; + + if (has_gameinfo()) { + if (!this->gameinfo().IsInitialized()) return false; + } + return true; +} + +void CreateGameMessage::Swap(CreateGameMessage* other) { + if (other != this) { + std::swap(requestid_, other->requestid_); + std::swap(gameinfo_, other->gameinfo_); + std::swap(password_, other->password_); + std::swap(autoleave_, other->autoleave_); + std::swap(_has_bits_[0], other->_has_bits_[0]); + std::swap(_cached_size_, other->_cached_size_); + } +} + +::std::string CreateGameMessage::GetTypeName() const { + return "CreateGameMessage"; +} + + +// =================================================================== + +bool CreateGameFailedMessage_CreateGameFailureReason_IsValid(int value) { + switch(value) { + case 1: + case 2: + case 3: + case 4: + return true; + default: + return false; + } +} + +#ifndef _MSC_VER +const CreateGameFailedMessage_CreateGameFailureReason CreateGameFailedMessage::notAllowedAsGuest; +const CreateGameFailedMessage_CreateGameFailureReason CreateGameFailedMessage::gameNameInUse; +const CreateGameFailedMessage_CreateGameFailureReason CreateGameFailedMessage::badGameName; +const CreateGameFailedMessage_CreateGameFailureReason CreateGameFailedMessage::invalidSettings; +const CreateGameFailedMessage_CreateGameFailureReason CreateGameFailedMessage::CreateGameFailureReason_MIN; +const CreateGameFailedMessage_CreateGameFailureReason CreateGameFailedMessage::CreateGameFailureReason_MAX; +const int CreateGameFailedMessage::CreateGameFailureReason_ARRAYSIZE; +#endif // _MSC_VER +#ifndef _MSC_VER +const int CreateGameFailedMessage::kRequestIdFieldNumber; +const int CreateGameFailedMessage::kCreateGameFailureReasonFieldNumber; +#endif // !_MSC_VER + +CreateGameFailedMessage::CreateGameFailedMessage() + : ::google::protobuf::MessageLite() { + SharedCtor(); +} + +void CreateGameFailedMessage::InitAsDefaultInstance() { +} + +CreateGameFailedMessage::CreateGameFailedMessage(const CreateGameFailedMessage& from) + : ::google::protobuf::MessageLite() { + SharedCtor(); + MergeFrom(from); +} + +void CreateGameFailedMessage::SharedCtor() { + _cached_size_ = 0; + requestid_ = 0u; + creategamefailurereason_ = 1; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CreateGameFailedMessage::~CreateGameFailedMessage() { + SharedDtor(); +} + +void CreateGameFailedMessage::SharedDtor() { + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else + if (this != default_instance_) { + #endif + } +} + +void CreateGameFailedMessage::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const CreateGameFailedMessage& CreateGameFailedMessage::default_instance() { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; +} + +CreateGameFailedMessage* CreateGameFailedMessage::default_instance_ = NULL; + +CreateGameFailedMessage* CreateGameFailedMessage::New() const { + return new CreateGameFailedMessage; +} + +void CreateGameFailedMessage::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + requestid_ = 0u; + creategamefailurereason_ = 1; + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +bool CreateGameFailedMessage::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!(EXPRESSION)) return false + ::google::protobuf::uint32 tag; + while ((tag = input->ReadTag()) != 0) { + 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) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( + input, &requestid_))); + set_has_requestid(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(16)) goto parse_createGameFailureReason; + break; + } + + // required .CreateGameFailedMessage.CreateGameFailureReason createGameFailureReason = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_createGameFailureReason: + int value; + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( + input, &value))); + if (::CreateGameFailedMessage_CreateGameFailureReason_IsValid(value)) { + set_creategamefailurereason(static_cast< ::CreateGameFailedMessage_CreateGameFailureReason >(value)); + } + } else { + goto handle_uninterpreted; + } + if (input->ExpectAtEnd()) return true; + break; + } + + default: { + handle_uninterpreted: + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { + return true; + } + DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + break; + } + } + } + return true; +#undef DO_ +} + +void CreateGameFailedMessage::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // required uint32 requestId = 1; + if (has_requestid()) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->requestid(), output); + } + + // required .CreateGameFailedMessage.CreateGameFailureReason createGameFailureReason = 2; + if (has_creategamefailurereason()) { + ::google::protobuf::internal::WireFormatLite::WriteEnum( + 2, this->creategamefailurereason(), output); + } + +} + +int CreateGameFailedMessage::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // required uint32 requestId = 1; + if (has_requestid()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::UInt32Size( + this->requestid()); + } + + // required .CreateGameFailedMessage.CreateGameFailureReason createGameFailureReason = 2; + if (has_creategamefailurereason()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::EnumSize(this->creategamefailurereason()); + } + + } + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = total_size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); + return total_size; +} + +void CreateGameFailedMessage::CheckTypeAndMergeFrom( + const ::google::protobuf::MessageLite& from) { + MergeFrom(*::google::protobuf::down_cast(&from)); +} + +void CreateGameFailedMessage::MergeFrom(const CreateGameFailedMessage& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_requestid()) { + set_requestid(from.requestid()); + } + if (from.has_creategamefailurereason()) { + set_creategamefailurereason(from.creategamefailurereason()); + } + } +} + +void CreateGameFailedMessage::CopyFrom(const CreateGameFailedMessage& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CreateGameFailedMessage::IsInitialized() const { + if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; + + return true; +} + +void CreateGameFailedMessage::Swap(CreateGameFailedMessage* other) { + if (other != this) { + std::swap(requestid_, other->requestid_); + std::swap(creategamefailurereason_, other->creategamefailurereason_); + std::swap(_has_bits_[0], other->_has_bits_[0]); + std::swap(_cached_size_, other->_cached_size_); + } +} + +::std::string CreateGameFailedMessage::GetTypeName() const { + return "CreateGameFailedMessage"; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int JoinGameMessage::kPasswordFieldNumber; +const int JoinGameMessage::kAutoLeaveFieldNumber; +const int JoinGameMessage::kSpectateOnlyFieldNumber; +#endif // !_MSC_VER + +JoinGameMessage::JoinGameMessage() + : ::google::protobuf::MessageLite() { + SharedCtor(); +} + +void JoinGameMessage::InitAsDefaultInstance() { +} + +JoinGameMessage::JoinGameMessage(const JoinGameMessage& from) + : ::google::protobuf::MessageLite() { + SharedCtor(); + MergeFrom(from); +} + +void JoinGameMessage::SharedCtor() { _cached_size_ = 0; - gameid_ = 0u; password_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); autoleave_ = false; spectateonly_ = false; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } -JoinExistingGameMessage::~JoinExistingGameMessage() { +JoinGameMessage::~JoinGameMessage() { SharedDtor(); } -void JoinExistingGameMessage::SharedDtor() { +void JoinGameMessage::SharedDtor() { if (password_ != &::google::protobuf::internal::kEmptyString) { delete password_; } @@ -7410,12 +8314,12 @@ void JoinExistingGameMessage::SharedDtor() { } } -void JoinExistingGameMessage::SetCachedSize(int size) const { +void JoinGameMessage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } -const JoinExistingGameMessage& JoinExistingGameMessage::default_instance() { +const JoinGameMessage& JoinGameMessage::default_instance() { #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER protobuf_AddDesc_pokerth_2eproto(); #else @@ -7424,15 +8328,14 @@ const JoinExistingGameMessage& JoinExistingGameMessage::default_instance() { return *default_instance_; } -JoinExistingGameMessage* JoinExistingGameMessage::default_instance_ = NULL; +JoinGameMessage* JoinGameMessage::default_instance_ = NULL; -JoinExistingGameMessage* JoinExistingGameMessage::New() const { - return new JoinExistingGameMessage; +JoinGameMessage* JoinGameMessage::New() const { + return new JoinGameMessage; } -void JoinExistingGameMessage::Clear() { +void JoinGameMessage::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - gameid_ = 0u; if (has_password()) { if (password_ != &::google::protobuf::internal::kEmptyString) { password_->clear(); @@ -7444,43 +8347,27 @@ void JoinExistingGameMessage::Clear() { ::memset(_has_bits_, 0, sizeof(_has_bits_)); } -bool JoinExistingGameMessage::MergePartialFromCodedStream( +bool JoinGameMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // required uint32 gameId = 1; + // optional string password = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( - input, &gameid_))); - set_has_gameid(); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(18)) goto parse_password; - break; - } - - // optional string password = 2; - case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_password: DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_password())); } else { goto handle_uninterpreted; } - if (input->ExpectTag(24)) goto parse_autoLeave; + if (input->ExpectTag(16)) goto parse_autoLeave; break; } - // optional bool autoLeave = 3 [default = false]; - case 3: { + // optional bool autoLeave = 2 [default = false]; + case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_autoLeave: @@ -7491,12 +8378,12 @@ bool JoinExistingGameMessage::MergePartialFromCodedStream( } else { goto handle_uninterpreted; } - if (input->ExpectTag(32)) goto parse_spectateOnly; + if (input->ExpectTag(24)) goto parse_spectateOnly; break; } - // optional bool spectateOnly = 4 [default = false]; - case 4: { + // optional bool spectateOnly = 3 [default = false]; + case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_spectateOnly: @@ -7526,55 +8413,43 @@ bool JoinExistingGameMessage::MergePartialFromCodedStream( #undef DO_ } -void JoinExistingGameMessage::SerializeWithCachedSizes( +void JoinGameMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { - // required uint32 gameId = 1; - if (has_gameid()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); - } - - // optional string password = 2; + // optional string password = 1; if (has_password()) { ::google::protobuf::internal::WireFormatLite::WriteString( - 2, this->password(), output); + 1, this->password(), output); } - // optional bool autoLeave = 3 [default = false]; + // optional bool autoLeave = 2 [default = false]; if (has_autoleave()) { - ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->autoleave(), output); + ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->autoleave(), output); } - // optional bool spectateOnly = 4 [default = false]; + // optional bool spectateOnly = 3 [default = false]; if (has_spectateonly()) { - ::google::protobuf::internal::WireFormatLite::WriteBool(4, this->spectateonly(), output); + ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->spectateonly(), output); } } -int JoinExistingGameMessage::ByteSize() const { +int JoinGameMessage::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - // required uint32 gameId = 1; - if (has_gameid()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt32Size( - this->gameid()); - } - - // optional string password = 2; + // optional string password = 1; if (has_password()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->password()); } - // optional bool autoLeave = 3 [default = false]; + // optional bool autoLeave = 2 [default = false]; if (has_autoleave()) { total_size += 1 + 1; } - // optional bool spectateOnly = 4 [default = false]; + // optional bool spectateOnly = 3 [default = false]; if (has_spectateonly()) { total_size += 1 + 1; } @@ -7586,17 +8461,14 @@ int JoinExistingGameMessage::ByteSize() const { return total_size; } -void JoinExistingGameMessage::CheckTypeAndMergeFrom( +void JoinGameMessage::CheckTypeAndMergeFrom( const ::google::protobuf::MessageLite& from) { - MergeFrom(*::google::protobuf::down_cast(&from)); + MergeFrom(*::google::protobuf::down_cast(&from)); } -void JoinExistingGameMessage::MergeFrom(const JoinExistingGameMessage& from) { +void JoinGameMessage::MergeFrom(const JoinGameMessage& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { - if (from.has_gameid()) { - set_gameid(from.gameid()); - } if (from.has_password()) { set_password(from.password()); } @@ -7609,21 +8481,19 @@ void JoinExistingGameMessage::MergeFrom(const JoinExistingGameMessage& from) { } } -void JoinExistingGameMessage::CopyFrom(const JoinExistingGameMessage& from) { +void JoinGameMessage::CopyFrom(const JoinGameMessage& from) { if (&from == this) return; Clear(); MergeFrom(from); } -bool JoinExistingGameMessage::IsInitialized() const { - if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false; +bool JoinGameMessage::IsInitialized() const { return true; } -void JoinExistingGameMessage::Swap(JoinExistingGameMessage* other) { +void JoinGameMessage::Swap(JoinGameMessage* other) { if (other != this) { - std::swap(gameid_, other->gameid_); std::swap(password_, other->password_); std::swap(autoleave_, other->autoleave_); std::swap(spectateonly_, other->spectateonly_); @@ -7632,70 +8502,56 @@ void JoinExistingGameMessage::Swap(JoinExistingGameMessage* other) { } } -::std::string JoinExistingGameMessage::GetTypeName() const { - return "JoinExistingGameMessage"; +::std::string JoinGameMessage::GetTypeName() const { + return "JoinGameMessage"; } // =================================================================== #ifndef _MSC_VER -const int JoinNewGameMessage::kGameInfoFieldNumber; -const int JoinNewGameMessage::kPasswordFieldNumber; -const int JoinNewGameMessage::kAutoLeaveFieldNumber; +const int RejoinGameMessage::kAutoLeaveFieldNumber; #endif // !_MSC_VER -JoinNewGameMessage::JoinNewGameMessage() +RejoinGameMessage::RejoinGameMessage() : ::google::protobuf::MessageLite() { SharedCtor(); } -void JoinNewGameMessage::InitAsDefaultInstance() { -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - gameinfo_ = const_cast< ::NetGameInfo*>( - ::NetGameInfo::internal_default_instance()); -#else - gameinfo_ = const_cast< ::NetGameInfo*>(&::NetGameInfo::default_instance()); -#endif +void RejoinGameMessage::InitAsDefaultInstance() { } -JoinNewGameMessage::JoinNewGameMessage(const JoinNewGameMessage& from) +RejoinGameMessage::RejoinGameMessage(const RejoinGameMessage& from) : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); } -void JoinNewGameMessage::SharedCtor() { +void RejoinGameMessage::SharedCtor() { _cached_size_ = 0; - gameinfo_ = NULL; - password_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); autoleave_ = false; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } -JoinNewGameMessage::~JoinNewGameMessage() { +RejoinGameMessage::~RejoinGameMessage() { SharedDtor(); } -void JoinNewGameMessage::SharedDtor() { - if (password_ != &::google::protobuf::internal::kEmptyString) { - delete password_; - } +void RejoinGameMessage::SharedDtor() { #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER if (this != &default_instance()) { #else if (this != default_instance_) { #endif - delete gameinfo_; } } -void JoinNewGameMessage::SetCachedSize(int size) const { +void RejoinGameMessage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } -const JoinNewGameMessage& JoinNewGameMessage::default_instance() { +const RejoinGameMessage& RejoinGameMessage::default_instance() { #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER protobuf_AddDesc_pokerth_2eproto(); #else @@ -7704,65 +8560,29 @@ const JoinNewGameMessage& JoinNewGameMessage::default_instance() { return *default_instance_; } -JoinNewGameMessage* JoinNewGameMessage::default_instance_ = NULL; +RejoinGameMessage* RejoinGameMessage::default_instance_ = NULL; -JoinNewGameMessage* JoinNewGameMessage::New() const { - return new JoinNewGameMessage; +RejoinGameMessage* RejoinGameMessage::New() const { + return new RejoinGameMessage; } -void JoinNewGameMessage::Clear() { +void RejoinGameMessage::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - if (has_gameinfo()) { - if (gameinfo_ != NULL) gameinfo_->::NetGameInfo::Clear(); - } - if (has_password()) { - if (password_ != &::google::protobuf::internal::kEmptyString) { - password_->clear(); - } - } autoleave_ = false; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); } -bool JoinNewGameMessage::MergePartialFromCodedStream( +bool RejoinGameMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // required .NetGameInfo gameInfo = 1; + // optional bool autoLeave = 1 [default = false]; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_gameinfo())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(18)) goto parse_password; - break; - } - - // optional string password = 2; - case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_password: - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_password())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(24)) goto parse_autoLeave; - break; - } - - // optional bool autoLeave = 3; - case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { - parse_autoLeave: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( input, &autoleave_))); @@ -7789,46 +8609,20 @@ bool JoinNewGameMessage::MergePartialFromCodedStream( #undef DO_ } -void JoinNewGameMessage::SerializeWithCachedSizes( +void RejoinGameMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { - // required .NetGameInfo gameInfo = 1; - if (has_gameinfo()) { - ::google::protobuf::internal::WireFormatLite::WriteMessage( - 1, this->gameinfo(), output); - } - - // optional string password = 2; - if (has_password()) { - ::google::protobuf::internal::WireFormatLite::WriteString( - 2, this->password(), output); - } - - // optional bool autoLeave = 3; + // optional bool autoLeave = 1 [default = false]; if (has_autoleave()) { - ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->autoleave(), output); + ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->autoleave(), output); } } -int JoinNewGameMessage::ByteSize() const { +int RejoinGameMessage::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - // required .NetGameInfo gameInfo = 1; - if (has_gameinfo()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->gameinfo()); - } - - // optional string password = 2; - if (has_password()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->password()); - } - - // optional bool autoLeave = 3; + // optional bool autoLeave = 1 [default = false]; if (has_autoleave()) { total_size += 1 + 1; } @@ -7840,261 +8634,47 @@ int JoinNewGameMessage::ByteSize() const { return total_size; } -void JoinNewGameMessage::CheckTypeAndMergeFrom( +void RejoinGameMessage::CheckTypeAndMergeFrom( const ::google::protobuf::MessageLite& from) { - MergeFrom(*::google::protobuf::down_cast(&from)); + MergeFrom(*::google::protobuf::down_cast(&from)); } -void JoinNewGameMessage::MergeFrom(const JoinNewGameMessage& from) { +void RejoinGameMessage::MergeFrom(const RejoinGameMessage& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { - if (from.has_gameinfo()) { - mutable_gameinfo()->::NetGameInfo::MergeFrom(from.gameinfo()); - } - if (from.has_password()) { - set_password(from.password()); - } if (from.has_autoleave()) { set_autoleave(from.autoleave()); } } } -void JoinNewGameMessage::CopyFrom(const JoinNewGameMessage& from) { +void RejoinGameMessage::CopyFrom(const RejoinGameMessage& from) { if (&from == this) return; Clear(); MergeFrom(from); } -bool JoinNewGameMessage::IsInitialized() const { - if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false; +bool RejoinGameMessage::IsInitialized() const { - if (has_gameinfo()) { - if (!this->gameinfo().IsInitialized()) return false; - } return true; } -void JoinNewGameMessage::Swap(JoinNewGameMessage* other) { +void RejoinGameMessage::Swap(RejoinGameMessage* other) { if (other != this) { - std::swap(gameinfo_, other->gameinfo_); - std::swap(password_, other->password_); std::swap(autoleave_, other->autoleave_); std::swap(_has_bits_[0], other->_has_bits_[0]); std::swap(_cached_size_, other->_cached_size_); } } -::std::string JoinNewGameMessage::GetTypeName() const { - return "JoinNewGameMessage"; +::std::string RejoinGameMessage::GetTypeName() const { + return "RejoinGameMessage"; } // =================================================================== #ifndef _MSC_VER -const int RejoinExistingGameMessage::kGameIdFieldNumber; -const int RejoinExistingGameMessage::kAutoLeaveFieldNumber; -#endif // !_MSC_VER - -RejoinExistingGameMessage::RejoinExistingGameMessage() - : ::google::protobuf::MessageLite() { - SharedCtor(); -} - -void RejoinExistingGameMessage::InitAsDefaultInstance() { -} - -RejoinExistingGameMessage::RejoinExistingGameMessage(const RejoinExistingGameMessage& from) - : ::google::protobuf::MessageLite() { - SharedCtor(); - MergeFrom(from); -} - -void RejoinExistingGameMessage::SharedCtor() { - _cached_size_ = 0; - gameid_ = 0u; - autoleave_ = false; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -RejoinExistingGameMessage::~RejoinExistingGameMessage() { - SharedDtor(); -} - -void RejoinExistingGameMessage::SharedDtor() { - #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - if (this != &default_instance()) { - #else - if (this != default_instance_) { - #endif - } -} - -void RejoinExistingGameMessage::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const RejoinExistingGameMessage& RejoinExistingGameMessage::default_instance() { -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - protobuf_AddDesc_pokerth_2eproto(); -#else - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); -#endif - return *default_instance_; -} - -RejoinExistingGameMessage* RejoinExistingGameMessage::default_instance_ = NULL; - -RejoinExistingGameMessage* RejoinExistingGameMessage::New() const { - return new RejoinExistingGameMessage; -} - -void RejoinExistingGameMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - gameid_ = 0u; - autoleave_ = false; - } - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -bool RejoinExistingGameMessage::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false - ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { - 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) { - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( - input, &gameid_))); - set_has_gameid(); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(16)) goto parse_autoLeave; - break; - } - - // optional bool autoLeave = 2; - case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { - parse_autoLeave: - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( - input, &autoleave_))); - set_has_autoleave(); - } else { - goto handle_uninterpreted; - } - if (input->ExpectAtEnd()) return true; - break; - } - - default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; - } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); - break; - } - } - } - return true; -#undef DO_ -} - -void RejoinExistingGameMessage::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // required uint32 gameId = 1; - if (has_gameid()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); - } - - // optional bool autoLeave = 2; - if (has_autoleave()) { - ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->autoleave(), output); - } - -} - -int RejoinExistingGameMessage::ByteSize() const { - int total_size = 0; - - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - // required uint32 gameId = 1; - if (has_gameid()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt32Size( - this->gameid()); - } - - // optional bool autoLeave = 2; - if (has_autoleave()) { - total_size += 1 + 1; - } - - } - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = total_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - return total_size; -} - -void RejoinExistingGameMessage::CheckTypeAndMergeFrom( - const ::google::protobuf::MessageLite& from) { - MergeFrom(*::google::protobuf::down_cast(&from)); -} - -void RejoinExistingGameMessage::MergeFrom(const RejoinExistingGameMessage& from) { - GOOGLE_CHECK_NE(&from, this); - if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { - if (from.has_gameid()) { - set_gameid(from.gameid()); - } - if (from.has_autoleave()) { - set_autoleave(from.autoleave()); - } - } -} - -void RejoinExistingGameMessage::CopyFrom(const RejoinExistingGameMessage& from) { - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool RejoinExistingGameMessage::IsInitialized() const { - if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false; - - return true; -} - -void RejoinExistingGameMessage::Swap(RejoinExistingGameMessage* other) { - if (other != this) { - std::swap(gameid_, other->gameid_); - std::swap(autoleave_, other->autoleave_); - std::swap(_has_bits_[0], other->_has_bits_[0]); - std::swap(_cached_size_, other->_cached_size_); - } -} - -::std::string RejoinExistingGameMessage::GetTypeName() const { - return "RejoinExistingGameMessage"; -} - - -// =================================================================== - -#ifndef _MSC_VER -const int JoinGameAckMessage::kGameIdFieldNumber; const int JoinGameAckMessage::kAreYouGameAdminFieldNumber; const int JoinGameAckMessage::kGameInfoFieldNumber; const int JoinGameAckMessage::kSpectateOnlyFieldNumber; @@ -8122,7 +8702,6 @@ JoinGameAckMessage::JoinGameAckMessage(const JoinGameAckMessage& from) void JoinGameAckMessage::SharedCtor() { _cached_size_ = 0; - gameid_ = 0u; areyougameadmin_ = false; gameinfo_ = NULL; spectateonly_ = false; @@ -8165,7 +8744,6 @@ JoinGameAckMessage* JoinGameAckMessage::New() const { void JoinGameAckMessage::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - gameid_ = 0u; areyougameadmin_ = false; if (has_gameinfo()) { if (gameinfo_ != NULL) gameinfo_->::NetGameInfo::Clear(); @@ -8181,26 +8759,10 @@ bool JoinGameAckMessage::MergePartialFromCodedStream( ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // required uint32 gameId = 1; + // required bool areYouGameAdmin = 1; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( - input, &gameid_))); - set_has_gameid(); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(16)) goto parse_areYouGameAdmin; - break; - } - - // required bool areYouGameAdmin = 2; - case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { - parse_areYouGameAdmin: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( input, &areyougameadmin_))); @@ -8208,12 +8770,12 @@ bool JoinGameAckMessage::MergePartialFromCodedStream( } else { goto handle_uninterpreted; } - if (input->ExpectTag(26)) goto parse_gameInfo; + if (input->ExpectTag(18)) goto parse_gameInfo; break; } - // required .NetGameInfo gameInfo = 3; - case 3: { + // required .NetGameInfo gameInfo = 2; + case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { parse_gameInfo: @@ -8222,12 +8784,12 @@ bool JoinGameAckMessage::MergePartialFromCodedStream( } else { goto handle_uninterpreted; } - if (input->ExpectTag(32)) goto parse_spectateOnly; + if (input->ExpectTag(24)) goto parse_spectateOnly; break; } - // optional bool spectateOnly = 4; - case 4: { + // optional bool spectateOnly = 3; + case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_spectateOnly: @@ -8259,25 +8821,20 @@ bool JoinGameAckMessage::MergePartialFromCodedStream( void JoinGameAckMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { - // required uint32 gameId = 1; - if (has_gameid()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); - } - - // required bool areYouGameAdmin = 2; + // required bool areYouGameAdmin = 1; if (has_areyougameadmin()) { - ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->areyougameadmin(), output); + ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->areyougameadmin(), output); } - // required .NetGameInfo gameInfo = 3; + // required .NetGameInfo gameInfo = 2; if (has_gameinfo()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( - 3, this->gameinfo(), output); + 2, this->gameinfo(), output); } - // optional bool spectateOnly = 4; + // optional bool spectateOnly = 3; if (has_spectateonly()) { - ::google::protobuf::internal::WireFormatLite::WriteBool(4, this->spectateonly(), output); + ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->spectateonly(), output); } } @@ -8286,26 +8843,19 @@ int JoinGameAckMessage::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - // required uint32 gameId = 1; - if (has_gameid()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt32Size( - this->gameid()); - } - - // required bool areYouGameAdmin = 2; + // required bool areYouGameAdmin = 1; if (has_areyougameadmin()) { total_size += 1 + 1; } - // required .NetGameInfo gameInfo = 3; + // required .NetGameInfo gameInfo = 2; if (has_gameinfo()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->gameinfo()); } - // optional bool spectateOnly = 4; + // optional bool spectateOnly = 3; if (has_spectateonly()) { total_size += 1 + 1; } @@ -8325,9 +8875,6 @@ void JoinGameAckMessage::CheckTypeAndMergeFrom( void JoinGameAckMessage::MergeFrom(const JoinGameAckMessage& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { - if (from.has_gameid()) { - set_gameid(from.gameid()); - } if (from.has_areyougameadmin()) { set_areyougameadmin(from.areyougameadmin()); } @@ -8347,7 +8894,7 @@ void JoinGameAckMessage::CopyFrom(const JoinGameAckMessage& from) { } bool JoinGameAckMessage::IsInitialized() const { - if ((_has_bits_[0] & 0x00000007) != 0x00000007) return false; + if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; if (has_gameinfo()) { if (!this->gameinfo().IsInitialized()) return false; @@ -8357,7 +8904,6 @@ bool JoinGameAckMessage::IsInitialized() const { void JoinGameAckMessage::Swap(JoinGameAckMessage* other) { if (other != this) { - std::swap(gameid_, other->gameid_); std::swap(areyougameadmin_, other->areyougameadmin_); std::swap(gameinfo_, other->gameinfo_); std::swap(spectateonly_, other->spectateonly_); @@ -8383,10 +8929,6 @@ bool JoinGameFailedMessage_JoinGameFailureReason_IsValid(int value) { case 6: case 7: case 8: - case 9: - case 10: - case 11: - case 12: return true; default: return false; @@ -8398,11 +8940,7 @@ const JoinGameFailedMessage_JoinGameFailureReason JoinGameFailedMessage::invalid const JoinGameFailedMessage_JoinGameFailureReason JoinGameFailedMessage::gameIsFull; const JoinGameFailedMessage_JoinGameFailureReason JoinGameFailedMessage::gameIsRunning; const JoinGameFailedMessage_JoinGameFailureReason JoinGameFailedMessage::invalidPassword; -const JoinGameFailedMessage_JoinGameFailureReason JoinGameFailedMessage::notAllowedAsGuest; const JoinGameFailedMessage_JoinGameFailureReason JoinGameFailedMessage::notInvited; -const JoinGameFailedMessage_JoinGameFailureReason JoinGameFailedMessage::gameNameInUse; -const JoinGameFailedMessage_JoinGameFailureReason JoinGameFailedMessage::badGameName; -const JoinGameFailedMessage_JoinGameFailureReason JoinGameFailedMessage::invalidSettings; const JoinGameFailedMessage_JoinGameFailureReason JoinGameFailedMessage::ipAddressBlocked; const JoinGameFailedMessage_JoinGameFailureReason JoinGameFailedMessage::rejoinFailed; const JoinGameFailedMessage_JoinGameFailureReason JoinGameFailedMessage::noSpectatorsAllowed; @@ -8411,7 +8949,6 @@ const JoinGameFailedMessage_JoinGameFailureReason JoinGameFailedMessage::JoinGam const int JoinGameFailedMessage::JoinGameFailureReason_ARRAYSIZE; #endif // _MSC_VER #ifndef _MSC_VER -const int JoinGameFailedMessage::kGameIdFieldNumber; const int JoinGameFailedMessage::kJoinGameFailureReasonFieldNumber; #endif // !_MSC_VER @@ -8431,7 +8968,6 @@ JoinGameFailedMessage::JoinGameFailedMessage(const JoinGameFailedMessage& from) void JoinGameFailedMessage::SharedCtor() { _cached_size_ = 0; - gameid_ = 0u; joingamefailurereason_ = 1; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } @@ -8471,7 +9007,6 @@ JoinGameFailedMessage* JoinGameFailedMessage::New() const { void JoinGameFailedMessage::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - gameid_ = 0u; joingamefailurereason_ = 1; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); @@ -8483,26 +9018,10 @@ bool JoinGameFailedMessage::MergePartialFromCodedStream( ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // required uint32 gameId = 1; + // required .JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason = 1; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( - input, &gameid_))); - set_has_gameid(); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(16)) goto parse_joinGameFailureReason; - break; - } - - // required .JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason = 2; - case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { - parse_joinGameFailureReason: int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( @@ -8534,15 +9053,10 @@ bool JoinGameFailedMessage::MergePartialFromCodedStream( void JoinGameFailedMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { - // required uint32 gameId = 1; - if (has_gameid()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); - } - - // required .JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason = 2; + // required .JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason = 1; if (has_joingamefailurereason()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( - 2, this->joingamefailurereason(), output); + 1, this->joingamefailurereason(), output); } } @@ -8551,14 +9065,7 @@ int JoinGameFailedMessage::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - // required uint32 gameId = 1; - if (has_gameid()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt32Size( - this->gameid()); - } - - // required .JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason = 2; + // required .JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason = 1; if (has_joingamefailurereason()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->joingamefailurereason()); @@ -8579,9 +9086,6 @@ void JoinGameFailedMessage::CheckTypeAndMergeFrom( void JoinGameFailedMessage::MergeFrom(const JoinGameFailedMessage& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { - if (from.has_gameid()) { - set_gameid(from.gameid()); - } if (from.has_joingamefailurereason()) { set_joingamefailurereason(from.joingamefailurereason()); } @@ -8595,14 +9099,13 @@ void JoinGameFailedMessage::CopyFrom(const JoinGameFailedMessage& from) { } bool JoinGameFailedMessage::IsInitialized() const { - if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; + if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false; return true; } void JoinGameFailedMessage::Swap(JoinGameFailedMessage* other) { if (other != this) { - std::swap(gameid_, other->gameid_); std::swap(joingamefailurereason_, other->joingamefailurereason_); std::swap(_has_bits_[0], other->_has_bits_[0]); std::swap(_cached_size_, other->_cached_size_); @@ -8617,7 +9120,6 @@ void JoinGameFailedMessage::Swap(JoinGameFailedMessage* other) { // =================================================================== #ifndef _MSC_VER -const int GamePlayerJoinedMessage::kGameIdFieldNumber; const int GamePlayerJoinedMessage::kPlayerIdFieldNumber; const int GamePlayerJoinedMessage::kIsGameAdminFieldNumber; #endif // !_MSC_VER @@ -8638,7 +9140,6 @@ GamePlayerJoinedMessage::GamePlayerJoinedMessage(const GamePlayerJoinedMessage& void GamePlayerJoinedMessage::SharedCtor() { _cached_size_ = 0; - gameid_ = 0u; playerid_ = 0u; isgameadmin_ = false; ::memset(_has_bits_, 0, sizeof(_has_bits_)); @@ -8679,7 +9180,6 @@ GamePlayerJoinedMessage* GamePlayerJoinedMessage::New() const { void GamePlayerJoinedMessage::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - gameid_ = 0u; playerid_ = 0u; isgameadmin_ = false; } @@ -8692,26 +9192,10 @@ bool GamePlayerJoinedMessage::MergePartialFromCodedStream( ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // required uint32 gameId = 1; + // required uint32 playerId = 1; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( - input, &gameid_))); - set_has_gameid(); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(16)) goto parse_playerId; - break; - } - - // required uint32 playerId = 2; - case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { - parse_playerId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &playerid_))); @@ -8719,12 +9203,12 @@ bool GamePlayerJoinedMessage::MergePartialFromCodedStream( } else { goto handle_uninterpreted; } - if (input->ExpectTag(24)) goto parse_isGameAdmin; + if (input->ExpectTag(16)) goto parse_isGameAdmin; break; } - // required bool isGameAdmin = 3; - case 3: { + // required bool isGameAdmin = 2; + case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_isGameAdmin: @@ -8756,19 +9240,14 @@ bool GamePlayerJoinedMessage::MergePartialFromCodedStream( void GamePlayerJoinedMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { - // required uint32 gameId = 1; - if (has_gameid()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); - } - - // required uint32 playerId = 2; + // required uint32 playerId = 1; if (has_playerid()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->playerid(), output); + ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->playerid(), output); } - // required bool isGameAdmin = 3; + // required bool isGameAdmin = 2; if (has_isgameadmin()) { - ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->isgameadmin(), output); + ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->isgameadmin(), output); } } @@ -8777,21 +9256,14 @@ int GamePlayerJoinedMessage::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - // required uint32 gameId = 1; - if (has_gameid()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt32Size( - this->gameid()); - } - - // required uint32 playerId = 2; + // required uint32 playerId = 1; if (has_playerid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->playerid()); } - // required bool isGameAdmin = 3; + // required bool isGameAdmin = 2; if (has_isgameadmin()) { total_size += 1 + 1; } @@ -8811,9 +9283,6 @@ void GamePlayerJoinedMessage::CheckTypeAndMergeFrom( void GamePlayerJoinedMessage::MergeFrom(const GamePlayerJoinedMessage& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { - if (from.has_gameid()) { - set_gameid(from.gameid()); - } if (from.has_playerid()) { set_playerid(from.playerid()); } @@ -8830,14 +9299,13 @@ void GamePlayerJoinedMessage::CopyFrom(const GamePlayerJoinedMessage& from) { } bool GamePlayerJoinedMessage::IsInitialized() const { - if ((_has_bits_[0] & 0x00000007) != 0x00000007) return false; + if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; return true; } void GamePlayerJoinedMessage::Swap(GamePlayerJoinedMessage* other) { if (other != this) { - std::swap(gameid_, other->gameid_); std::swap(playerid_, other->playerid_); std::swap(isgameadmin_, other->isgameadmin_); std::swap(_has_bits_[0], other->_has_bits_[0]); @@ -8872,7 +9340,6 @@ const GamePlayerLeftMessage_GamePlayerLeftReason GamePlayerLeftMessage::GamePlay const int GamePlayerLeftMessage::GamePlayerLeftReason_ARRAYSIZE; #endif // _MSC_VER #ifndef _MSC_VER -const int GamePlayerLeftMessage::kGameIdFieldNumber; const int GamePlayerLeftMessage::kPlayerIdFieldNumber; const int GamePlayerLeftMessage::kGamePlayerLeftReasonFieldNumber; #endif // !_MSC_VER @@ -8893,7 +9360,6 @@ GamePlayerLeftMessage::GamePlayerLeftMessage(const GamePlayerLeftMessage& from) void GamePlayerLeftMessage::SharedCtor() { _cached_size_ = 0; - gameid_ = 0u; playerid_ = 0u; gameplayerleftreason_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); @@ -8934,7 +9400,6 @@ GamePlayerLeftMessage* GamePlayerLeftMessage::New() const { void GamePlayerLeftMessage::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - gameid_ = 0u; playerid_ = 0u; gameplayerleftreason_ = 0; } @@ -8947,26 +9412,10 @@ bool GamePlayerLeftMessage::MergePartialFromCodedStream( ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // required uint32 gameId = 1; + // required uint32 playerId = 1; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( - input, &gameid_))); - set_has_gameid(); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(16)) goto parse_playerId; - break; - } - - // required uint32 playerId = 2; - case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { - parse_playerId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &playerid_))); @@ -8974,12 +9423,12 @@ bool GamePlayerLeftMessage::MergePartialFromCodedStream( } else { goto handle_uninterpreted; } - if (input->ExpectTag(24)) goto parse_gamePlayerLeftReason; + if (input->ExpectTag(16)) goto parse_gamePlayerLeftReason; break; } - // required .GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason = 3; - case 3: { + // required .GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason = 2; + case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_gamePlayerLeftReason: @@ -9014,20 +9463,15 @@ bool GamePlayerLeftMessage::MergePartialFromCodedStream( void GamePlayerLeftMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { - // required uint32 gameId = 1; - if (has_gameid()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); - } - - // required uint32 playerId = 2; + // required uint32 playerId = 1; if (has_playerid()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->playerid(), output); + ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->playerid(), output); } - // required .GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason = 3; + // required .GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason = 2; if (has_gameplayerleftreason()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( - 3, this->gameplayerleftreason(), output); + 2, this->gameplayerleftreason(), output); } } @@ -9036,21 +9480,14 @@ int GamePlayerLeftMessage::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - // required uint32 gameId = 1; - if (has_gameid()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt32Size( - this->gameid()); - } - - // required uint32 playerId = 2; + // required uint32 playerId = 1; if (has_playerid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->playerid()); } - // required .GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason = 3; + // required .GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason = 2; if (has_gameplayerleftreason()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->gameplayerleftreason()); @@ -9071,9 +9508,6 @@ void GamePlayerLeftMessage::CheckTypeAndMergeFrom( void GamePlayerLeftMessage::MergeFrom(const GamePlayerLeftMessage& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { - if (from.has_gameid()) { - set_gameid(from.gameid()); - } if (from.has_playerid()) { set_playerid(from.playerid()); } @@ -9090,14 +9524,13 @@ void GamePlayerLeftMessage::CopyFrom(const GamePlayerLeftMessage& from) { } bool GamePlayerLeftMessage::IsInitialized() const { - if ((_has_bits_[0] & 0x00000007) != 0x00000007) return false; + if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; return true; } void GamePlayerLeftMessage::Swap(GamePlayerLeftMessage* other) { if (other != this) { - std::swap(gameid_, other->gameid_); std::swap(playerid_, other->playerid_); std::swap(gameplayerleftreason_, other->gameplayerleftreason_); std::swap(_has_bits_[0], other->_has_bits_[0]); @@ -9113,7 +9546,6 @@ void GamePlayerLeftMessage::Swap(GamePlayerLeftMessage* other) { // =================================================================== #ifndef _MSC_VER -const int GameSpectatorJoinedMessage::kGameIdFieldNumber; const int GameSpectatorJoinedMessage::kPlayerIdFieldNumber; #endif // !_MSC_VER @@ -9133,7 +9565,6 @@ GameSpectatorJoinedMessage::GameSpectatorJoinedMessage(const GameSpectatorJoined void GameSpectatorJoinedMessage::SharedCtor() { _cached_size_ = 0; - gameid_ = 0u; playerid_ = 0u; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } @@ -9173,7 +9604,6 @@ GameSpectatorJoinedMessage* GameSpectatorJoinedMessage::New() const { void GameSpectatorJoinedMessage::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - gameid_ = 0u; playerid_ = 0u; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); @@ -9185,26 +9615,10 @@ bool GameSpectatorJoinedMessage::MergePartialFromCodedStream( ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // required uint32 gameId = 1; + // required uint32 playerId = 1; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( - input, &gameid_))); - set_has_gameid(); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(16)) goto parse_playerId; - break; - } - - // required uint32 playerId = 2; - case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { - parse_playerId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &playerid_))); @@ -9233,14 +9647,9 @@ bool GameSpectatorJoinedMessage::MergePartialFromCodedStream( void GameSpectatorJoinedMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { - // required uint32 gameId = 1; - if (has_gameid()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); - } - - // required uint32 playerId = 2; + // required uint32 playerId = 1; if (has_playerid()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->playerid(), output); + ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->playerid(), output); } } @@ -9249,14 +9658,7 @@ int GameSpectatorJoinedMessage::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - // required uint32 gameId = 1; - if (has_gameid()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt32Size( - this->gameid()); - } - - // required uint32 playerId = 2; + // required uint32 playerId = 1; if (has_playerid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( @@ -9278,9 +9680,6 @@ void GameSpectatorJoinedMessage::CheckTypeAndMergeFrom( void GameSpectatorJoinedMessage::MergeFrom(const GameSpectatorJoinedMessage& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { - if (from.has_gameid()) { - set_gameid(from.gameid()); - } if (from.has_playerid()) { set_playerid(from.playerid()); } @@ -9294,14 +9693,13 @@ void GameSpectatorJoinedMessage::CopyFrom(const GameSpectatorJoinedMessage& from } bool GameSpectatorJoinedMessage::IsInitialized() const { - if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; + if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false; return true; } void GameSpectatorJoinedMessage::Swap(GameSpectatorJoinedMessage* other) { if (other != this) { - std::swap(gameid_, other->gameid_); std::swap(playerid_, other->playerid_); std::swap(_has_bits_[0], other->_has_bits_[0]); std::swap(_cached_size_, other->_cached_size_); @@ -9316,7 +9714,6 @@ void GameSpectatorJoinedMessage::Swap(GameSpectatorJoinedMessage* other) { // =================================================================== #ifndef _MSC_VER -const int GameSpectatorLeftMessage::kGameIdFieldNumber; const int GameSpectatorLeftMessage::kPlayerIdFieldNumber; const int GameSpectatorLeftMessage::kGameSpectatorLeftReasonFieldNumber; #endif // !_MSC_VER @@ -9337,7 +9734,6 @@ GameSpectatorLeftMessage::GameSpectatorLeftMessage(const GameSpectatorLeftMessag void GameSpectatorLeftMessage::SharedCtor() { _cached_size_ = 0; - gameid_ = 0u; playerid_ = 0u; gamespectatorleftreason_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); @@ -9378,7 +9774,6 @@ GameSpectatorLeftMessage* GameSpectatorLeftMessage::New() const { void GameSpectatorLeftMessage::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - gameid_ = 0u; playerid_ = 0u; gamespectatorleftreason_ = 0; } @@ -9391,26 +9786,10 @@ bool GameSpectatorLeftMessage::MergePartialFromCodedStream( ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // required uint32 gameId = 1; + // required uint32 playerId = 1; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( - input, &gameid_))); - set_has_gameid(); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(16)) goto parse_playerId; - break; - } - - // required uint32 playerId = 2; - case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { - parse_playerId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &playerid_))); @@ -9418,12 +9797,12 @@ bool GameSpectatorLeftMessage::MergePartialFromCodedStream( } else { goto handle_uninterpreted; } - if (input->ExpectTag(24)) goto parse_gameSpectatorLeftReason; + if (input->ExpectTag(16)) goto parse_gameSpectatorLeftReason; break; } - // required .GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason = 3; - case 3: { + // required .GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason = 2; + case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_gameSpectatorLeftReason: @@ -9458,20 +9837,15 @@ bool GameSpectatorLeftMessage::MergePartialFromCodedStream( void GameSpectatorLeftMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { - // required uint32 gameId = 1; - if (has_gameid()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); - } - - // required uint32 playerId = 2; + // required uint32 playerId = 1; if (has_playerid()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->playerid(), output); + ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->playerid(), output); } - // required .GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason = 3; + // required .GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason = 2; if (has_gamespectatorleftreason()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( - 3, this->gamespectatorleftreason(), output); + 2, this->gamespectatorleftreason(), output); } } @@ -9480,21 +9854,14 @@ int GameSpectatorLeftMessage::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - // required uint32 gameId = 1; - if (has_gameid()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt32Size( - this->gameid()); - } - - // required uint32 playerId = 2; + // required uint32 playerId = 1; if (has_playerid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->playerid()); } - // required .GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason = 3; + // required .GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason = 2; if (has_gamespectatorleftreason()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->gamespectatorleftreason()); @@ -9515,9 +9882,6 @@ void GameSpectatorLeftMessage::CheckTypeAndMergeFrom( void GameSpectatorLeftMessage::MergeFrom(const GameSpectatorLeftMessage& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { - if (from.has_gameid()) { - set_gameid(from.gameid()); - } if (from.has_playerid()) { set_playerid(from.playerid()); } @@ -9534,14 +9898,13 @@ void GameSpectatorLeftMessage::CopyFrom(const GameSpectatorLeftMessage& from) { } bool GameSpectatorLeftMessage::IsInitialized() const { - if ((_has_bits_[0] & 0x00000007) != 0x00000007) return false; + if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; return true; } void GameSpectatorLeftMessage::Swap(GameSpectatorLeftMessage* other) { if (other != this) { - std::swap(gameid_, other->gameid_); std::swap(playerid_, other->playerid_); std::swap(gamespectatorleftreason_, other->gamespectatorleftreason_); std::swap(_has_bits_[0], other->_has_bits_[0]); @@ -9557,7 +9920,6 @@ void GameSpectatorLeftMessage::Swap(GameSpectatorLeftMessage* other) { // =================================================================== #ifndef _MSC_VER -const int GameAdminChangedMessage::kGameIdFieldNumber; const int GameAdminChangedMessage::kNewAdminPlayerIdFieldNumber; #endif // !_MSC_VER @@ -9577,7 +9939,6 @@ GameAdminChangedMessage::GameAdminChangedMessage(const GameAdminChangedMessage& void GameAdminChangedMessage::SharedCtor() { _cached_size_ = 0; - gameid_ = 0u; newadminplayerid_ = 0u; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } @@ -9617,7 +9978,6 @@ GameAdminChangedMessage* GameAdminChangedMessage::New() const { void GameAdminChangedMessage::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - gameid_ = 0u; newadminplayerid_ = 0u; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); @@ -9629,26 +9989,10 @@ bool GameAdminChangedMessage::MergePartialFromCodedStream( ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // required uint32 gameId = 1; + // required uint32 newAdminPlayerId = 1; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( - input, &gameid_))); - set_has_gameid(); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(16)) goto parse_newAdminPlayerId; - break; - } - - // required uint32 newAdminPlayerId = 2; - case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { - parse_newAdminPlayerId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &newadminplayerid_))); @@ -9677,14 +10021,9 @@ bool GameAdminChangedMessage::MergePartialFromCodedStream( void GameAdminChangedMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { - // required uint32 gameId = 1; - if (has_gameid()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); - } - - // required uint32 newAdminPlayerId = 2; + // required uint32 newAdminPlayerId = 1; if (has_newadminplayerid()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->newadminplayerid(), output); + ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->newadminplayerid(), output); } } @@ -9693,14 +10032,7 @@ int GameAdminChangedMessage::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - // required uint32 gameId = 1; - if (has_gameid()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt32Size( - this->gameid()); - } - - // required uint32 newAdminPlayerId = 2; + // required uint32 newAdminPlayerId = 1; if (has_newadminplayerid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( @@ -9722,9 +10054,6 @@ void GameAdminChangedMessage::CheckTypeAndMergeFrom( void GameAdminChangedMessage::MergeFrom(const GameAdminChangedMessage& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { - if (from.has_gameid()) { - set_gameid(from.gameid()); - } if (from.has_newadminplayerid()) { set_newadminplayerid(from.newadminplayerid()); } @@ -9738,14 +10067,13 @@ void GameAdminChangedMessage::CopyFrom(const GameAdminChangedMessage& from) { } bool GameAdminChangedMessage::IsInitialized() const { - if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; + if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false; return true; } void GameAdminChangedMessage::Swap(GameAdminChangedMessage* other) { if (other != this) { - std::swap(gameid_, other->gameid_); std::swap(newadminplayerid_, other->newadminplayerid_); std::swap(_has_bits_[0], other->_has_bits_[0]); std::swap(_cached_size_, other->_cached_size_); @@ -9787,7 +10115,6 @@ const RemovedFromGameMessage_RemovedFromGameReason RemovedFromGameMessage::Remov const int RemovedFromGameMessage::RemovedFromGameReason_ARRAYSIZE; #endif // _MSC_VER #ifndef _MSC_VER -const int RemovedFromGameMessage::kGameIdFieldNumber; const int RemovedFromGameMessage::kRemovedFromGameReasonFieldNumber; #endif // !_MSC_VER @@ -9807,7 +10134,6 @@ RemovedFromGameMessage::RemovedFromGameMessage(const RemovedFromGameMessage& fro void RemovedFromGameMessage::SharedCtor() { _cached_size_ = 0; - gameid_ = 0u; removedfromgamereason_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } @@ -9847,7 +10173,6 @@ RemovedFromGameMessage* RemovedFromGameMessage::New() const { void RemovedFromGameMessage::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - gameid_ = 0u; removedfromgamereason_ = 0; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); @@ -9859,26 +10184,10 @@ bool RemovedFromGameMessage::MergePartialFromCodedStream( ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // required uint32 gameId = 1; + // required .RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason = 1; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( - input, &gameid_))); - set_has_gameid(); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(16)) goto parse_removedFromGameReason; - break; - } - - // required .RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason = 2; - case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { - parse_removedFromGameReason: int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( @@ -9910,15 +10219,10 @@ bool RemovedFromGameMessage::MergePartialFromCodedStream( void RemovedFromGameMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { - // required uint32 gameId = 1; - if (has_gameid()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); - } - - // required .RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason = 2; + // required .RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason = 1; if (has_removedfromgamereason()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( - 2, this->removedfromgamereason(), output); + 1, this->removedfromgamereason(), output); } } @@ -9927,14 +10231,7 @@ int RemovedFromGameMessage::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - // required uint32 gameId = 1; - if (has_gameid()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt32Size( - this->gameid()); - } - - // required .RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason = 2; + // required .RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason = 1; if (has_removedfromgamereason()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->removedfromgamereason()); @@ -9955,9 +10252,6 @@ void RemovedFromGameMessage::CheckTypeAndMergeFrom( void RemovedFromGameMessage::MergeFrom(const RemovedFromGameMessage& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { - if (from.has_gameid()) { - set_gameid(from.gameid()); - } if (from.has_removedfromgamereason()) { set_removedfromgamereason(from.removedfromgamereason()); } @@ -9971,14 +10265,13 @@ void RemovedFromGameMessage::CopyFrom(const RemovedFromGameMessage& from) { } bool RemovedFromGameMessage::IsInitialized() const { - if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; + if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false; return true; } void RemovedFromGameMessage::Swap(RemovedFromGameMessage* other) { if (other != this) { - std::swap(gameid_, other->gameid_); std::swap(removedfromgamereason_, other->removedfromgamereason_); std::swap(_has_bits_[0], other->_has_bits_[0]); std::swap(_cached_size_, other->_cached_size_); @@ -9993,7 +10286,6 @@ void RemovedFromGameMessage::Swap(RemovedFromGameMessage* other) { // =================================================================== #ifndef _MSC_VER -const int KickPlayerRequestMessage::kGameIdFieldNumber; const int KickPlayerRequestMessage::kPlayerIdFieldNumber; #endif // !_MSC_VER @@ -10013,7 +10305,6 @@ KickPlayerRequestMessage::KickPlayerRequestMessage(const KickPlayerRequestMessag void KickPlayerRequestMessage::SharedCtor() { _cached_size_ = 0; - gameid_ = 0u; playerid_ = 0u; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } @@ -10053,7 +10344,6 @@ KickPlayerRequestMessage* KickPlayerRequestMessage::New() const { void KickPlayerRequestMessage::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - gameid_ = 0u; playerid_ = 0u; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); @@ -10065,26 +10355,10 @@ bool KickPlayerRequestMessage::MergePartialFromCodedStream( ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // required uint32 gameId = 1; + // required uint32 playerId = 1; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( - input, &gameid_))); - set_has_gameid(); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(16)) goto parse_playerId; - break; - } - - // required uint32 playerId = 2; - case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { - parse_playerId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &playerid_))); @@ -10113,14 +10387,9 @@ bool KickPlayerRequestMessage::MergePartialFromCodedStream( void KickPlayerRequestMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { - // required uint32 gameId = 1; - if (has_gameid()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); - } - - // required uint32 playerId = 2; + // required uint32 playerId = 1; if (has_playerid()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->playerid(), output); + ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->playerid(), output); } } @@ -10129,14 +10398,7 @@ int KickPlayerRequestMessage::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - // required uint32 gameId = 1; - if (has_gameid()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt32Size( - this->gameid()); - } - - // required uint32 playerId = 2; + // required uint32 playerId = 1; if (has_playerid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( @@ -10158,9 +10420,6 @@ void KickPlayerRequestMessage::CheckTypeAndMergeFrom( void KickPlayerRequestMessage::MergeFrom(const KickPlayerRequestMessage& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { - if (from.has_gameid()) { - set_gameid(from.gameid()); - } if (from.has_playerid()) { set_playerid(from.playerid()); } @@ -10174,14 +10433,13 @@ void KickPlayerRequestMessage::CopyFrom(const KickPlayerRequestMessage& from) { } bool KickPlayerRequestMessage::IsInitialized() const { - if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; + if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false; return true; } void KickPlayerRequestMessage::Swap(KickPlayerRequestMessage* other) { if (other != this) { - std::swap(gameid_, other->gameid_); std::swap(playerid_, other->playerid_); std::swap(_has_bits_[0], other->_has_bits_[0]); std::swap(_cached_size_, other->_cached_size_); @@ -10196,7 +10454,6 @@ void KickPlayerRequestMessage::Swap(KickPlayerRequestMessage* other) { // =================================================================== #ifndef _MSC_VER -const int LeaveGameRequestMessage::kGameIdFieldNumber; #endif // !_MSC_VER LeaveGameRequestMessage::LeaveGameRequestMessage() @@ -10215,7 +10472,6 @@ LeaveGameRequestMessage::LeaveGameRequestMessage(const LeaveGameRequestMessage& void LeaveGameRequestMessage::SharedCtor() { _cached_size_ = 0; - gameid_ = 0u; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } @@ -10253,9 +10509,6 @@ LeaveGameRequestMessage* LeaveGameRequestMessage::New() const { } void LeaveGameRequestMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - gameid_ = 0u; - } ::memset(_has_bits_, 0, sizeof(_has_bits_)); } @@ -10264,32 +10517,11 @@ bool LeaveGameRequestMessage::MergePartialFromCodedStream( #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { - 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) { - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( - input, &gameid_))); - set_has_gameid(); - } else { - goto handle_uninterpreted; - } - if (input->ExpectAtEnd()) return true; - break; - } - - default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; - } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); - break; - } + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { + return true; } + DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); } return true; #undef DO_ @@ -10297,25 +10529,11 @@ bool LeaveGameRequestMessage::MergePartialFromCodedStream( void LeaveGameRequestMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { - // required uint32 gameId = 1; - if (has_gameid()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); - } - } int LeaveGameRequestMessage::ByteSize() const { int total_size = 0; - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - // required uint32 gameId = 1; - if (has_gameid()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt32Size( - this->gameid()); - } - - } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -10329,11 +10547,6 @@ void LeaveGameRequestMessage::CheckTypeAndMergeFrom( void LeaveGameRequestMessage::MergeFrom(const LeaveGameRequestMessage& from) { GOOGLE_CHECK_NE(&from, this); - if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { - if (from.has_gameid()) { - set_gameid(from.gameid()); - } - } } void LeaveGameRequestMessage::CopyFrom(const LeaveGameRequestMessage& from) { @@ -10343,15 +10556,12 @@ void LeaveGameRequestMessage::CopyFrom(const LeaveGameRequestMessage& from) { } bool LeaveGameRequestMessage::IsInitialized() const { - if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false; return true; } void LeaveGameRequestMessage::Swap(LeaveGameRequestMessage* other) { if (other != this) { - std::swap(gameid_, other->gameid_); - std::swap(_has_bits_[0], other->_has_bits_[0]); std::swap(_cached_size_, other->_cached_size_); } } @@ -11286,7 +11496,6 @@ const StartEventMessage_StartEventType StartEventMessage::StartEventType_MAX; const int StartEventMessage::StartEventType_ARRAYSIZE; #endif // _MSC_VER #ifndef _MSC_VER -const int StartEventMessage::kGameIdFieldNumber; const int StartEventMessage::kStartEventTypeFieldNumber; const int StartEventMessage::kFillWithComputerPlayersFieldNumber; #endif // !_MSC_VER @@ -11307,7 +11516,6 @@ StartEventMessage::StartEventMessage(const StartEventMessage& from) void StartEventMessage::SharedCtor() { _cached_size_ = 0; - gameid_ = 0u; starteventtype_ = 0; fillwithcomputerplayers_ = false; ::memset(_has_bits_, 0, sizeof(_has_bits_)); @@ -11348,7 +11556,6 @@ StartEventMessage* StartEventMessage::New() const { void StartEventMessage::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - gameid_ = 0u; starteventtype_ = 0; fillwithcomputerplayers_ = false; } @@ -11361,26 +11568,10 @@ bool StartEventMessage::MergePartialFromCodedStream( ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // required uint32 gameId = 1; + // required .StartEventMessage.StartEventType startEventType = 1; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( - input, &gameid_))); - set_has_gameid(); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(16)) goto parse_startEventType; - break; - } - - // required .StartEventMessage.StartEventType startEventType = 2; - case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { - parse_startEventType: int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( @@ -11391,12 +11582,12 @@ bool StartEventMessage::MergePartialFromCodedStream( } else { goto handle_uninterpreted; } - if (input->ExpectTag(24)) goto parse_fillWithComputerPlayers; + if (input->ExpectTag(16)) goto parse_fillWithComputerPlayers; break; } - // optional bool fillWithComputerPlayers = 3; - case 3: { + // optional bool fillWithComputerPlayers = 2; + case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_fillWithComputerPlayers: @@ -11428,20 +11619,15 @@ bool StartEventMessage::MergePartialFromCodedStream( void StartEventMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { - // required uint32 gameId = 1; - if (has_gameid()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); - } - - // required .StartEventMessage.StartEventType startEventType = 2; + // required .StartEventMessage.StartEventType startEventType = 1; if (has_starteventtype()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( - 2, this->starteventtype(), output); + 1, this->starteventtype(), output); } - // optional bool fillWithComputerPlayers = 3; + // optional bool fillWithComputerPlayers = 2; if (has_fillwithcomputerplayers()) { - ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->fillwithcomputerplayers(), output); + ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->fillwithcomputerplayers(), output); } } @@ -11450,20 +11636,13 @@ int StartEventMessage::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - // required uint32 gameId = 1; - if (has_gameid()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt32Size( - this->gameid()); - } - - // required .StartEventMessage.StartEventType startEventType = 2; + // required .StartEventMessage.StartEventType startEventType = 1; if (has_starteventtype()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->starteventtype()); } - // optional bool fillWithComputerPlayers = 3; + // optional bool fillWithComputerPlayers = 2; if (has_fillwithcomputerplayers()) { total_size += 1 + 1; } @@ -11483,9 +11662,6 @@ void StartEventMessage::CheckTypeAndMergeFrom( void StartEventMessage::MergeFrom(const StartEventMessage& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { - if (from.has_gameid()) { - set_gameid(from.gameid()); - } if (from.has_starteventtype()) { set_starteventtype(from.starteventtype()); } @@ -11502,14 +11678,13 @@ void StartEventMessage::CopyFrom(const StartEventMessage& from) { } bool StartEventMessage::IsInitialized() const { - if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; + if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false; return true; } void StartEventMessage::Swap(StartEventMessage* other) { if (other != this) { - std::swap(gameid_, other->gameid_); std::swap(starteventtype_, other->starteventtype_); std::swap(fillwithcomputerplayers_, other->fillwithcomputerplayers_); std::swap(_has_bits_[0], other->_has_bits_[0]); @@ -11525,7 +11700,6 @@ void StartEventMessage::Swap(StartEventMessage* other) { // =================================================================== #ifndef _MSC_VER -const int StartEventAckMessage::kGameIdFieldNumber; #endif // !_MSC_VER StartEventAckMessage::StartEventAckMessage() @@ -11544,7 +11718,6 @@ StartEventAckMessage::StartEventAckMessage(const StartEventAckMessage& from) void StartEventAckMessage::SharedCtor() { _cached_size_ = 0; - gameid_ = 0u; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } @@ -11582,9 +11755,6 @@ StartEventAckMessage* StartEventAckMessage::New() const { } void StartEventAckMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - gameid_ = 0u; - } ::memset(_has_bits_, 0, sizeof(_has_bits_)); } @@ -11593,32 +11763,11 @@ bool StartEventAckMessage::MergePartialFromCodedStream( #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { - 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) { - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( - input, &gameid_))); - set_has_gameid(); - } else { - goto handle_uninterpreted; - } - if (input->ExpectAtEnd()) return true; - break; - } - - default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; - } - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); - break; - } + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { + return true; } + DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); } return true; #undef DO_ @@ -11626,25 +11775,11 @@ bool StartEventAckMessage::MergePartialFromCodedStream( void StartEventAckMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { - // required uint32 gameId = 1; - if (has_gameid()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); - } - } int StartEventAckMessage::ByteSize() const { int total_size = 0; - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - // required uint32 gameId = 1; - if (has_gameid()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt32Size( - this->gameid()); - } - - } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -11658,11 +11793,6 @@ void StartEventAckMessage::CheckTypeAndMergeFrom( void StartEventAckMessage::MergeFrom(const StartEventAckMessage& from) { GOOGLE_CHECK_NE(&from, this); - if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { - if (from.has_gameid()) { - set_gameid(from.gameid()); - } - } } void StartEventAckMessage::CopyFrom(const StartEventAckMessage& from) { @@ -11672,15 +11802,12 @@ void StartEventAckMessage::CopyFrom(const StartEventAckMessage& from) { } bool StartEventAckMessage::IsInitialized() const { - if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false; return true; } void StartEventAckMessage::Swap(StartEventAckMessage* other) { if (other != this) { - std::swap(gameid_, other->gameid_); - std::swap(_has_bits_[0], other->_has_bits_[0]); std::swap(_cached_size_, other->_cached_size_); } } @@ -11693,7 +11820,6 @@ void StartEventAckMessage::Swap(StartEventAckMessage* other) { // =================================================================== #ifndef _MSC_VER -const int GameStartInitialMessage::kGameIdFieldNumber; const int GameStartInitialMessage::kStartDealerPlayerIdFieldNumber; const int GameStartInitialMessage::kPlayerSeatsFieldNumber; #endif // !_MSC_VER @@ -11714,7 +11840,6 @@ GameStartInitialMessage::GameStartInitialMessage(const GameStartInitialMessage& void GameStartInitialMessage::SharedCtor() { _cached_size_ = 0; - gameid_ = 0u; startdealerplayerid_ = 0u; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } @@ -11754,7 +11879,6 @@ GameStartInitialMessage* GameStartInitialMessage::New() const { void GameStartInitialMessage::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - gameid_ = 0u; startdealerplayerid_ = 0u; } playerseats_.Clear(); @@ -11767,26 +11891,10 @@ bool GameStartInitialMessage::MergePartialFromCodedStream( ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // required uint32 gameId = 1; + // required uint32 startDealerPlayerId = 1; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( - input, &gameid_))); - set_has_gameid(); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(16)) goto parse_startDealerPlayerId; - break; - } - - // required uint32 startDealerPlayerId = 2; - case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { - parse_startDealerPlayerId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &startdealerplayerid_))); @@ -11794,12 +11902,12 @@ bool GameStartInitialMessage::MergePartialFromCodedStream( } else { goto handle_uninterpreted; } - if (input->ExpectTag(26)) goto parse_playerSeats; + if (input->ExpectTag(18)) goto parse_playerSeats; break; } - // repeated uint32 playerSeats = 3 [packed = true]; - case 3: { + // repeated uint32 playerSeats = 2 [packed = true]; + case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { parse_playerSeats: @@ -11811,7 +11919,7 @@ bool GameStartInitialMessage::MergePartialFromCodedStream( WIRETYPE_VARINT) { DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitiveNoInline< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( - 1, 26, input, this->mutable_playerseats()))); + 1, 18, input, this->mutable_playerseats()))); } else { goto handle_uninterpreted; } @@ -11836,19 +11944,14 @@ bool GameStartInitialMessage::MergePartialFromCodedStream( void GameStartInitialMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { - // required uint32 gameId = 1; - if (has_gameid()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); - } - - // required uint32 startDealerPlayerId = 2; + // required uint32 startDealerPlayerId = 1; if (has_startdealerplayerid()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->startdealerplayerid(), output); + ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->startdealerplayerid(), output); } - // repeated uint32 playerSeats = 3 [packed = true]; + // repeated uint32 playerSeats = 2 [packed = true]; if (this->playerseats_size() > 0) { - ::google::protobuf::internal::WireFormatLite::WriteTag(3, ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED, output); + ::google::protobuf::internal::WireFormatLite::WriteTag(2, ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED, output); output->WriteVarint32(_playerseats_cached_byte_size_); } for (int i = 0; i < this->playerseats_size(); i++) { @@ -11862,14 +11965,7 @@ int GameStartInitialMessage::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - // required uint32 gameId = 1; - if (has_gameid()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt32Size( - this->gameid()); - } - - // required uint32 startDealerPlayerId = 2; + // required uint32 startDealerPlayerId = 1; if (has_startdealerplayerid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( @@ -11877,7 +11973,7 @@ int GameStartInitialMessage::ByteSize() const { } } - // repeated uint32 playerSeats = 3 [packed = true]; + // repeated uint32 playerSeats = 2 [packed = true]; { int data_size = 0; for (int i = 0; i < this->playerseats_size(); i++) { @@ -11909,9 +12005,6 @@ void GameStartInitialMessage::MergeFrom(const GameStartInitialMessage& from) { GOOGLE_CHECK_NE(&from, this); playerseats_.MergeFrom(from.playerseats_); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { - if (from.has_gameid()) { - set_gameid(from.gameid()); - } if (from.has_startdealerplayerid()) { set_startdealerplayerid(from.startdealerplayerid()); } @@ -11925,14 +12018,13 @@ void GameStartInitialMessage::CopyFrom(const GameStartInitialMessage& from) { } bool GameStartInitialMessage::IsInitialized() const { - if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; + if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false; return true; } void GameStartInitialMessage::Swap(GameStartInitialMessage* other) { if (other != this) { - std::swap(gameid_, other->gameid_); std::swap(startdealerplayerid_, other->startdealerplayerid_); playerseats_.Swap(&other->playerseats_); std::swap(_has_bits_[0], other->_has_bits_[0]); @@ -12151,7 +12243,6 @@ void GameStartRejoinMessage_RejoinPlayerData::Swap(GameStartRejoinMessage_Rejoin // ------------------------------------------------------------------- #ifndef _MSC_VER -const int GameStartRejoinMessage::kGameIdFieldNumber; const int GameStartRejoinMessage::kStartDealerPlayerIdFieldNumber; const int GameStartRejoinMessage::kHandNumFieldNumber; const int GameStartRejoinMessage::kRejoinPlayerDataFieldNumber; @@ -12173,7 +12264,6 @@ GameStartRejoinMessage::GameStartRejoinMessage(const GameStartRejoinMessage& fro void GameStartRejoinMessage::SharedCtor() { _cached_size_ = 0; - gameid_ = 0u; startdealerplayerid_ = 0u; handnum_ = 0u; ::memset(_has_bits_, 0, sizeof(_has_bits_)); @@ -12214,7 +12304,6 @@ GameStartRejoinMessage* GameStartRejoinMessage::New() const { void GameStartRejoinMessage::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - gameid_ = 0u; startdealerplayerid_ = 0u; handnum_ = 0u; } @@ -12228,26 +12317,10 @@ bool GameStartRejoinMessage::MergePartialFromCodedStream( ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // required uint32 gameId = 1; + // required uint32 startDealerPlayerId = 1; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( - input, &gameid_))); - set_has_gameid(); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(16)) goto parse_startDealerPlayerId; - break; - } - - // required uint32 startDealerPlayerId = 2; - case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { - parse_startDealerPlayerId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &startdealerplayerid_))); @@ -12255,12 +12328,12 @@ bool GameStartRejoinMessage::MergePartialFromCodedStream( } else { goto handle_uninterpreted; } - if (input->ExpectTag(24)) goto parse_handNum; + if (input->ExpectTag(16)) goto parse_handNum; break; } - // required uint32 handNum = 3; - case 3: { + // required uint32 handNum = 2; + case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_handNum: @@ -12271,12 +12344,12 @@ bool GameStartRejoinMessage::MergePartialFromCodedStream( } else { goto handle_uninterpreted; } - if (input->ExpectTag(34)) goto parse_rejoinPlayerData; + if (input->ExpectTag(26)) goto parse_rejoinPlayerData; break; } - // repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; - case 4: { + // repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 3; + case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { parse_rejoinPlayerData: @@ -12285,7 +12358,7 @@ bool GameStartRejoinMessage::MergePartialFromCodedStream( } else { goto handle_uninterpreted; } - if (input->ExpectTag(34)) goto parse_rejoinPlayerData; + if (input->ExpectTag(26)) goto parse_rejoinPlayerData; if (input->ExpectAtEnd()) return true; break; } @@ -12307,25 +12380,20 @@ bool GameStartRejoinMessage::MergePartialFromCodedStream( void GameStartRejoinMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { - // required uint32 gameId = 1; - if (has_gameid()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); - } - - // required uint32 startDealerPlayerId = 2; + // required uint32 startDealerPlayerId = 1; if (has_startdealerplayerid()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->startdealerplayerid(), output); + ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->startdealerplayerid(), output); } - // required uint32 handNum = 3; + // required uint32 handNum = 2; if (has_handnum()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->handnum(), output); + ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->handnum(), output); } - // repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; + // repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 3; for (int i = 0; i < this->rejoinplayerdata_size(); i++) { ::google::protobuf::internal::WireFormatLite::WriteMessage( - 4, this->rejoinplayerdata(i), output); + 3, this->rejoinplayerdata(i), output); } } @@ -12334,21 +12402,14 @@ int GameStartRejoinMessage::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - // required uint32 gameId = 1; - if (has_gameid()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt32Size( - this->gameid()); - } - - // required uint32 startDealerPlayerId = 2; + // required uint32 startDealerPlayerId = 1; if (has_startdealerplayerid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->startdealerplayerid()); } - // required uint32 handNum = 3; + // required uint32 handNum = 2; if (has_handnum()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( @@ -12356,7 +12417,7 @@ int GameStartRejoinMessage::ByteSize() const { } } - // repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; + // repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 3; total_size += 1 * this->rejoinplayerdata_size(); for (int i = 0; i < this->rejoinplayerdata_size(); i++) { total_size += @@ -12379,9 +12440,6 @@ void GameStartRejoinMessage::MergeFrom(const GameStartRejoinMessage& from) { GOOGLE_CHECK_NE(&from, this); rejoinplayerdata_.MergeFrom(from.rejoinplayerdata_); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { - if (from.has_gameid()) { - set_gameid(from.gameid()); - } if (from.has_startdealerplayerid()) { set_startdealerplayerid(from.startdealerplayerid()); } @@ -12398,7 +12456,7 @@ void GameStartRejoinMessage::CopyFrom(const GameStartRejoinMessage& from) { } bool GameStartRejoinMessage::IsInitialized() const { - if ((_has_bits_[0] & 0x00000007) != 0x00000007) return false; + if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; for (int i = 0; i < rejoinplayerdata_size(); i++) { if (!this->rejoinplayerdata(i).IsInitialized()) return false; @@ -12408,7 +12466,6 @@ bool GameStartRejoinMessage::IsInitialized() const { void GameStartRejoinMessage::Swap(GameStartRejoinMessage* other) { if (other != this) { - std::swap(gameid_, other->gameid_); std::swap(startdealerplayerid_, other->startdealerplayerid_); std::swap(handnum_, other->handnum_); rejoinplayerdata_.Swap(&other->rejoinplayerdata_); @@ -12628,7 +12685,6 @@ void HandStartMessage_PlainCards::Swap(HandStartMessage_PlainCards* other) { // ------------------------------------------------------------------- #ifndef _MSC_VER -const int HandStartMessage::kGameIdFieldNumber; const int HandStartMessage::kPlainCardsFieldNumber; const int HandStartMessage::kEncryptedCardsFieldNumber; const int HandStartMessage::kSmallBlindFieldNumber; @@ -12658,7 +12714,6 @@ HandStartMessage::HandStartMessage(const HandStartMessage& from) void HandStartMessage::SharedCtor() { _cached_size_ = 0; - gameid_ = 0u; plaincards_ = NULL; encryptedcards_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); smallblind_ = 0u; @@ -12705,7 +12760,6 @@ HandStartMessage* HandStartMessage::New() const { void HandStartMessage::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - gameid_ = 0u; if (has_plaincards()) { if (plaincards_ != NULL) plaincards_->::HandStartMessage_PlainCards::Clear(); } @@ -12727,37 +12781,21 @@ bool HandStartMessage::MergePartialFromCodedStream( ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // required uint32 gameId = 1; + // optional .HandStartMessage.PlainCards plainCards = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( - input, &gameid_))); - set_has_gameid(); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(18)) goto parse_plainCards; - break; - } - - // optional .HandStartMessage.PlainCards plainCards = 2; - case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_plainCards: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_plaincards())); } else { goto handle_uninterpreted; } - if (input->ExpectTag(26)) goto parse_encryptedCards; + if (input->ExpectTag(18)) goto parse_encryptedCards; break; } - // optional bytes encryptedCards = 3; - case 3: { + // optional bytes encryptedCards = 2; + case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { parse_encryptedCards: @@ -12766,12 +12804,12 @@ bool HandStartMessage::MergePartialFromCodedStream( } else { goto handle_uninterpreted; } - if (input->ExpectTag(32)) goto parse_smallBlind; + if (input->ExpectTag(24)) goto parse_smallBlind; break; } - // required uint32 smallBlind = 4; - case 4: { + // required uint32 smallBlind = 3; + case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_smallBlind: @@ -12782,12 +12820,12 @@ bool HandStartMessage::MergePartialFromCodedStream( } else { goto handle_uninterpreted; } - if (input->ExpectTag(40)) goto parse_seatStates; + if (input->ExpectTag(32)) goto parse_seatStates; break; } - // repeated .NetPlayerState seatStates = 5; - case 5: { + // repeated .NetPlayerState seatStates = 4; + case 4: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_seatStates: @@ -12808,13 +12846,13 @@ bool HandStartMessage::MergePartialFromCodedStream( } else { goto handle_uninterpreted; } - if (input->ExpectTag(40)) goto parse_seatStates; - if (input->ExpectTag(48)) goto parse_dealerPlayerId; + if (input->ExpectTag(32)) goto parse_seatStates; + if (input->ExpectTag(40)) goto parse_dealerPlayerId; break; } - // optional uint32 dealerPlayerId = 6; - case 6: { + // optional uint32 dealerPlayerId = 5; + case 5: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_dealerPlayerId: @@ -12846,37 +12884,32 @@ bool HandStartMessage::MergePartialFromCodedStream( void HandStartMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { - // required uint32 gameId = 1; - if (has_gameid()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); - } - - // optional .HandStartMessage.PlainCards plainCards = 2; + // optional .HandStartMessage.PlainCards plainCards = 1; if (has_plaincards()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( - 2, this->plaincards(), output); + 1, this->plaincards(), output); } - // optional bytes encryptedCards = 3; + // optional bytes encryptedCards = 2; if (has_encryptedcards()) { ::google::protobuf::internal::WireFormatLite::WriteBytes( - 3, this->encryptedcards(), output); + 2, this->encryptedcards(), output); } - // required uint32 smallBlind = 4; + // required uint32 smallBlind = 3; if (has_smallblind()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->smallblind(), output); + ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->smallblind(), output); } - // repeated .NetPlayerState seatStates = 5; + // repeated .NetPlayerState seatStates = 4; for (int i = 0; i < this->seatstates_size(); i++) { ::google::protobuf::internal::WireFormatLite::WriteEnum( - 5, this->seatstates(i), output); + 4, this->seatstates(i), output); } - // optional uint32 dealerPlayerId = 6; + // optional uint32 dealerPlayerId = 5; if (has_dealerplayerid()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(6, this->dealerplayerid(), output); + ::google::protobuf::internal::WireFormatLite::WriteUInt32(5, this->dealerplayerid(), output); } } @@ -12885,35 +12918,28 @@ int HandStartMessage::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - // required uint32 gameId = 1; - if (has_gameid()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt32Size( - this->gameid()); - } - - // optional .HandStartMessage.PlainCards plainCards = 2; + // optional .HandStartMessage.PlainCards plainCards = 1; if (has_plaincards()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->plaincards()); } - // optional bytes encryptedCards = 3; + // optional bytes encryptedCards = 2; if (has_encryptedcards()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize( this->encryptedcards()); } - // required uint32 smallBlind = 4; + // required uint32 smallBlind = 3; if (has_smallblind()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->smallblind()); } - // optional uint32 dealerPlayerId = 6; + // optional uint32 dealerPlayerId = 5; if (has_dealerplayerid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( @@ -12921,7 +12947,7 @@ int HandStartMessage::ByteSize() const { } } - // repeated .NetPlayerState seatStates = 5; + // repeated .NetPlayerState seatStates = 4; { int data_size = 0; for (int i = 0; i < this->seatstates_size(); i++) { @@ -12946,9 +12972,6 @@ void HandStartMessage::MergeFrom(const HandStartMessage& from) { GOOGLE_CHECK_NE(&from, this); seatstates_.MergeFrom(from.seatstates_); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { - if (from.has_gameid()) { - set_gameid(from.gameid()); - } if (from.has_plaincards()) { mutable_plaincards()->::HandStartMessage_PlainCards::MergeFrom(from.plaincards()); } @@ -12971,7 +12994,7 @@ void HandStartMessage::CopyFrom(const HandStartMessage& from) { } bool HandStartMessage::IsInitialized() const { - if ((_has_bits_[0] & 0x00000009) != 0x00000009) return false; + if ((_has_bits_[0] & 0x00000004) != 0x00000004) return false; if (has_plaincards()) { if (!this->plaincards().IsInitialized()) return false; @@ -12981,7 +13004,6 @@ bool HandStartMessage::IsInitialized() const { void HandStartMessage::Swap(HandStartMessage* other) { if (other != this) { - std::swap(gameid_, other->gameid_); std::swap(plaincards_, other->plaincards_); std::swap(encryptedcards_, other->encryptedcards_); std::swap(smallblind_, other->smallblind_); @@ -13000,7 +13022,6 @@ void HandStartMessage::Swap(HandStartMessage* other) { // =================================================================== #ifndef _MSC_VER -const int PlayersTurnMessage::kGameIdFieldNumber; const int PlayersTurnMessage::kPlayerIdFieldNumber; const int PlayersTurnMessage::kGameStateFieldNumber; #endif // !_MSC_VER @@ -13021,7 +13042,6 @@ PlayersTurnMessage::PlayersTurnMessage(const PlayersTurnMessage& from) void PlayersTurnMessage::SharedCtor() { _cached_size_ = 0; - gameid_ = 0u; playerid_ = 0u; gamestate_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); @@ -13062,7 +13082,6 @@ PlayersTurnMessage* PlayersTurnMessage::New() const { void PlayersTurnMessage::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - gameid_ = 0u; playerid_ = 0u; gamestate_ = 0; } @@ -13075,26 +13094,10 @@ bool PlayersTurnMessage::MergePartialFromCodedStream( ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // required uint32 gameId = 1; + // required uint32 playerId = 1; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( - input, &gameid_))); - set_has_gameid(); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(16)) goto parse_playerId; - break; - } - - // required uint32 playerId = 2; - case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { - parse_playerId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &playerid_))); @@ -13102,12 +13105,12 @@ bool PlayersTurnMessage::MergePartialFromCodedStream( } else { goto handle_uninterpreted; } - if (input->ExpectTag(24)) goto parse_gameState; + if (input->ExpectTag(16)) goto parse_gameState; break; } - // required .NetGameState gameState = 3; - case 3: { + // required .NetGameState gameState = 2; + case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_gameState: @@ -13142,20 +13145,15 @@ bool PlayersTurnMessage::MergePartialFromCodedStream( void PlayersTurnMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { - // required uint32 gameId = 1; - if (has_gameid()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); - } - - // required uint32 playerId = 2; + // required uint32 playerId = 1; if (has_playerid()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->playerid(), output); + ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->playerid(), output); } - // required .NetGameState gameState = 3; + // required .NetGameState gameState = 2; if (has_gamestate()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( - 3, this->gamestate(), output); + 2, this->gamestate(), output); } } @@ -13164,21 +13162,14 @@ int PlayersTurnMessage::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - // required uint32 gameId = 1; - if (has_gameid()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt32Size( - this->gameid()); - } - - // required uint32 playerId = 2; + // required uint32 playerId = 1; if (has_playerid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->playerid()); } - // required .NetGameState gameState = 3; + // required .NetGameState gameState = 2; if (has_gamestate()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->gamestate()); @@ -13199,9 +13190,6 @@ void PlayersTurnMessage::CheckTypeAndMergeFrom( void PlayersTurnMessage::MergeFrom(const PlayersTurnMessage& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { - if (from.has_gameid()) { - set_gameid(from.gameid()); - } if (from.has_playerid()) { set_playerid(from.playerid()); } @@ -13218,14 +13206,13 @@ void PlayersTurnMessage::CopyFrom(const PlayersTurnMessage& from) { } bool PlayersTurnMessage::IsInitialized() const { - if ((_has_bits_[0] & 0x00000007) != 0x00000007) return false; + if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; return true; } void PlayersTurnMessage::Swap(PlayersTurnMessage* other) { if (other != this) { - std::swap(gameid_, other->gameid_); std::swap(playerid_, other->playerid_); std::swap(gamestate_, other->gamestate_); std::swap(_has_bits_[0], other->_has_bits_[0]); @@ -13241,7 +13228,6 @@ void PlayersTurnMessage::Swap(PlayersTurnMessage* other) { // =================================================================== #ifndef _MSC_VER -const int MyActionRequestMessage::kGameIdFieldNumber; const int MyActionRequestMessage::kHandNumFieldNumber; const int MyActionRequestMessage::kGameStateFieldNumber; const int MyActionRequestMessage::kMyActionFieldNumber; @@ -13264,7 +13250,6 @@ MyActionRequestMessage::MyActionRequestMessage(const MyActionRequestMessage& fro void MyActionRequestMessage::SharedCtor() { _cached_size_ = 0; - gameid_ = 0u; handnum_ = 0u; gamestate_ = 0; myaction_ = 0; @@ -13307,7 +13292,6 @@ MyActionRequestMessage* MyActionRequestMessage::New() const { void MyActionRequestMessage::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - gameid_ = 0u; handnum_ = 0u; gamestate_ = 0; myaction_ = 0; @@ -13322,26 +13306,10 @@ bool MyActionRequestMessage::MergePartialFromCodedStream( ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // required uint32 gameId = 1; + // required uint32 handNum = 1; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( - input, &gameid_))); - set_has_gameid(); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(16)) goto parse_handNum; - break; - } - - // required uint32 handNum = 2; - case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { - parse_handNum: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &handnum_))); @@ -13349,12 +13317,12 @@ bool MyActionRequestMessage::MergePartialFromCodedStream( } else { goto handle_uninterpreted; } - if (input->ExpectTag(24)) goto parse_gameState; + if (input->ExpectTag(16)) goto parse_gameState; break; } - // required .NetGameState gameState = 3; - case 3: { + // required .NetGameState gameState = 2; + case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_gameState: @@ -13368,12 +13336,12 @@ bool MyActionRequestMessage::MergePartialFromCodedStream( } else { goto handle_uninterpreted; } - if (input->ExpectTag(32)) goto parse_myAction; + if (input->ExpectTag(24)) goto parse_myAction; break; } - // required .NetPlayerAction myAction = 4; - case 4: { + // required .NetPlayerAction myAction = 3; + case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_myAction: @@ -13387,12 +13355,12 @@ bool MyActionRequestMessage::MergePartialFromCodedStream( } else { goto handle_uninterpreted; } - if (input->ExpectTag(40)) goto parse_myRelativeBet; + if (input->ExpectTag(32)) goto parse_myRelativeBet; break; } - // required uint32 myRelativeBet = 5; - case 5: { + // required uint32 myRelativeBet = 4; + case 4: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_myRelativeBet: @@ -13424,31 +13392,26 @@ bool MyActionRequestMessage::MergePartialFromCodedStream( void MyActionRequestMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { - // required uint32 gameId = 1; - if (has_gameid()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); - } - - // required uint32 handNum = 2; + // required uint32 handNum = 1; if (has_handnum()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->handnum(), output); + ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->handnum(), output); } - // required .NetGameState gameState = 3; + // required .NetGameState gameState = 2; if (has_gamestate()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( - 3, this->gamestate(), output); + 2, this->gamestate(), output); } - // required .NetPlayerAction myAction = 4; + // required .NetPlayerAction myAction = 3; if (has_myaction()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( - 4, this->myaction(), output); + 3, this->myaction(), output); } - // required uint32 myRelativeBet = 5; + // required uint32 myRelativeBet = 4; if (has_myrelativebet()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(5, this->myrelativebet(), output); + ::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->myrelativebet(), output); } } @@ -13457,33 +13420,26 @@ int MyActionRequestMessage::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - // required uint32 gameId = 1; - if (has_gameid()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt32Size( - this->gameid()); - } - - // required uint32 handNum = 2; + // required uint32 handNum = 1; if (has_handnum()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->handnum()); } - // required .NetGameState gameState = 3; + // required .NetGameState gameState = 2; if (has_gamestate()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->gamestate()); } - // required .NetPlayerAction myAction = 4; + // required .NetPlayerAction myAction = 3; if (has_myaction()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->myaction()); } - // required uint32 myRelativeBet = 5; + // required uint32 myRelativeBet = 4; if (has_myrelativebet()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( @@ -13505,9 +13461,6 @@ void MyActionRequestMessage::CheckTypeAndMergeFrom( void MyActionRequestMessage::MergeFrom(const MyActionRequestMessage& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { - if (from.has_gameid()) { - set_gameid(from.gameid()); - } if (from.has_handnum()) { set_handnum(from.handnum()); } @@ -13530,14 +13483,13 @@ void MyActionRequestMessage::CopyFrom(const MyActionRequestMessage& from) { } bool MyActionRequestMessage::IsInitialized() const { - if ((_has_bits_[0] & 0x0000001f) != 0x0000001f) return false; + if ((_has_bits_[0] & 0x0000000f) != 0x0000000f) return false; return true; } void MyActionRequestMessage::Swap(MyActionRequestMessage* other) { if (other != this) { - std::swap(gameid_, other->gameid_); std::swap(handnum_, other->handnum_); std::swap(gamestate_, other->gamestate_); std::swap(myaction_, other->myaction_); @@ -13574,7 +13526,6 @@ const YourActionRejectedMessage_RejectionReason YourActionRejectedMessage::Rejec const int YourActionRejectedMessage::RejectionReason_ARRAYSIZE; #endif // _MSC_VER #ifndef _MSC_VER -const int YourActionRejectedMessage::kGameIdFieldNumber; const int YourActionRejectedMessage::kGameStateFieldNumber; const int YourActionRejectedMessage::kYourActionFieldNumber; const int YourActionRejectedMessage::kYourRelativeBetFieldNumber; @@ -13597,7 +13548,6 @@ YourActionRejectedMessage::YourActionRejectedMessage(const YourActionRejectedMes void YourActionRejectedMessage::SharedCtor() { _cached_size_ = 0; - gameid_ = 0u; gamestate_ = 0; youraction_ = 0; yourrelativebet_ = 0u; @@ -13640,7 +13590,6 @@ YourActionRejectedMessage* YourActionRejectedMessage::New() const { void YourActionRejectedMessage::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - gameid_ = 0u; gamestate_ = 0; youraction_ = 0; yourrelativebet_ = 0u; @@ -13655,26 +13604,10 @@ bool YourActionRejectedMessage::MergePartialFromCodedStream( ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // required uint32 gameId = 1; + // required .NetGameState gameState = 1; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( - input, &gameid_))); - set_has_gameid(); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(16)) goto parse_gameState; - break; - } - - // required .NetGameState gameState = 2; - case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { - parse_gameState: int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( @@ -13685,12 +13618,12 @@ bool YourActionRejectedMessage::MergePartialFromCodedStream( } else { goto handle_uninterpreted; } - if (input->ExpectTag(24)) goto parse_yourAction; + if (input->ExpectTag(16)) goto parse_yourAction; break; } - // required .NetPlayerAction yourAction = 3; - case 3: { + // required .NetPlayerAction yourAction = 2; + case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_yourAction: @@ -13704,12 +13637,12 @@ bool YourActionRejectedMessage::MergePartialFromCodedStream( } else { goto handle_uninterpreted; } - if (input->ExpectTag(32)) goto parse_yourRelativeBet; + if (input->ExpectTag(24)) goto parse_yourRelativeBet; break; } - // required uint32 yourRelativeBet = 4; - case 4: { + // required uint32 yourRelativeBet = 3; + case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_yourRelativeBet: @@ -13720,12 +13653,12 @@ bool YourActionRejectedMessage::MergePartialFromCodedStream( } else { goto handle_uninterpreted; } - if (input->ExpectTag(40)) goto parse_rejectionReason; + if (input->ExpectTag(32)) goto parse_rejectionReason; break; } - // required .YourActionRejectedMessage.RejectionReason rejectionReason = 5; - case 5: { + // required .YourActionRejectedMessage.RejectionReason rejectionReason = 4; + case 4: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_rejectionReason: @@ -13760,32 +13693,27 @@ bool YourActionRejectedMessage::MergePartialFromCodedStream( void YourActionRejectedMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { - // required uint32 gameId = 1; - if (has_gameid()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); - } - - // required .NetGameState gameState = 2; + // required .NetGameState gameState = 1; if (has_gamestate()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( - 2, this->gamestate(), output); + 1, this->gamestate(), output); } - // required .NetPlayerAction yourAction = 3; + // required .NetPlayerAction yourAction = 2; if (has_youraction()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( - 3, this->youraction(), output); + 2, this->youraction(), output); } - // required uint32 yourRelativeBet = 4; + // required uint32 yourRelativeBet = 3; if (has_yourrelativebet()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->yourrelativebet(), output); + ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->yourrelativebet(), output); } - // required .YourActionRejectedMessage.RejectionReason rejectionReason = 5; + // required .YourActionRejectedMessage.RejectionReason rejectionReason = 4; if (has_rejectionreason()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( - 5, this->rejectionreason(), output); + 4, this->rejectionreason(), output); } } @@ -13794,33 +13722,26 @@ int YourActionRejectedMessage::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - // required uint32 gameId = 1; - if (has_gameid()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt32Size( - this->gameid()); - } - - // required .NetGameState gameState = 2; + // required .NetGameState gameState = 1; if (has_gamestate()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->gamestate()); } - // required .NetPlayerAction yourAction = 3; + // required .NetPlayerAction yourAction = 2; if (has_youraction()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->youraction()); } - // required uint32 yourRelativeBet = 4; + // required uint32 yourRelativeBet = 3; if (has_yourrelativebet()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->yourrelativebet()); } - // required .YourActionRejectedMessage.RejectionReason rejectionReason = 5; + // required .YourActionRejectedMessage.RejectionReason rejectionReason = 4; if (has_rejectionreason()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->rejectionreason()); @@ -13841,9 +13762,6 @@ void YourActionRejectedMessage::CheckTypeAndMergeFrom( void YourActionRejectedMessage::MergeFrom(const YourActionRejectedMessage& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { - if (from.has_gameid()) { - set_gameid(from.gameid()); - } if (from.has_gamestate()) { set_gamestate(from.gamestate()); } @@ -13866,14 +13784,13 @@ void YourActionRejectedMessage::CopyFrom(const YourActionRejectedMessage& from) } bool YourActionRejectedMessage::IsInitialized() const { - if ((_has_bits_[0] & 0x0000001f) != 0x0000001f) return false; + if ((_has_bits_[0] & 0x0000000f) != 0x0000000f) return false; return true; } void YourActionRejectedMessage::Swap(YourActionRejectedMessage* other) { if (other != this) { - std::swap(gameid_, other->gameid_); std::swap(gamestate_, other->gamestate_); std::swap(youraction_, other->youraction_); std::swap(yourrelativebet_, other->yourrelativebet_); @@ -13891,7 +13808,6 @@ void YourActionRejectedMessage::Swap(YourActionRejectedMessage* other) { // =================================================================== #ifndef _MSC_VER -const int PlayersActionDoneMessage::kGameIdFieldNumber; const int PlayersActionDoneMessage::kPlayerIdFieldNumber; const int PlayersActionDoneMessage::kGameStateFieldNumber; const int PlayersActionDoneMessage::kPlayerActionFieldNumber; @@ -13917,7 +13833,6 @@ PlayersActionDoneMessage::PlayersActionDoneMessage(const PlayersActionDoneMessag void PlayersActionDoneMessage::SharedCtor() { _cached_size_ = 0; - gameid_ = 0u; playerid_ = 0u; gamestate_ = 0; playeraction_ = 0; @@ -13963,7 +13878,6 @@ PlayersActionDoneMessage* PlayersActionDoneMessage::New() const { void PlayersActionDoneMessage::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - gameid_ = 0u; playerid_ = 0u; gamestate_ = 0; playeraction_ = 0; @@ -13981,26 +13895,10 @@ bool PlayersActionDoneMessage::MergePartialFromCodedStream( ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // required uint32 gameId = 1; + // required uint32 playerId = 1; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( - input, &gameid_))); - set_has_gameid(); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(16)) goto parse_playerId; - break; - } - - // required uint32 playerId = 2; - case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { - parse_playerId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &playerid_))); @@ -14008,12 +13906,12 @@ bool PlayersActionDoneMessage::MergePartialFromCodedStream( } else { goto handle_uninterpreted; } - if (input->ExpectTag(24)) goto parse_gameState; + if (input->ExpectTag(16)) goto parse_gameState; break; } - // required .NetGameState gameState = 3; - case 3: { + // required .NetGameState gameState = 2; + case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_gameState: @@ -14027,12 +13925,12 @@ bool PlayersActionDoneMessage::MergePartialFromCodedStream( } else { goto handle_uninterpreted; } - if (input->ExpectTag(32)) goto parse_playerAction; + if (input->ExpectTag(24)) goto parse_playerAction; break; } - // required .NetPlayerAction playerAction = 4; - case 4: { + // required .NetPlayerAction playerAction = 3; + case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_playerAction: @@ -14046,12 +13944,12 @@ bool PlayersActionDoneMessage::MergePartialFromCodedStream( } else { goto handle_uninterpreted; } - if (input->ExpectTag(40)) goto parse_totalPlayerBet; + if (input->ExpectTag(32)) goto parse_totalPlayerBet; break; } - // required uint32 totalPlayerBet = 5; - case 5: { + // required uint32 totalPlayerBet = 4; + case 4: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_totalPlayerBet: @@ -14062,12 +13960,12 @@ bool PlayersActionDoneMessage::MergePartialFromCodedStream( } else { goto handle_uninterpreted; } - if (input->ExpectTag(48)) goto parse_playerMoney; + if (input->ExpectTag(40)) goto parse_playerMoney; break; } - // required uint32 playerMoney = 6; - case 6: { + // required uint32 playerMoney = 5; + case 5: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_playerMoney: @@ -14078,12 +13976,12 @@ bool PlayersActionDoneMessage::MergePartialFromCodedStream( } else { goto handle_uninterpreted; } - if (input->ExpectTag(56)) goto parse_highestSet; + if (input->ExpectTag(48)) goto parse_highestSet; break; } - // required uint32 highestSet = 7; - case 7: { + // required uint32 highestSet = 6; + case 6: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_highestSet: @@ -14094,12 +13992,12 @@ bool PlayersActionDoneMessage::MergePartialFromCodedStream( } else { goto handle_uninterpreted; } - if (input->ExpectTag(64)) goto parse_minimumRaise; + if (input->ExpectTag(56)) goto parse_minimumRaise; break; } - // required uint32 minimumRaise = 8; - case 8: { + // required uint32 minimumRaise = 7; + case 7: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_minimumRaise: @@ -14131,46 +14029,41 @@ bool PlayersActionDoneMessage::MergePartialFromCodedStream( void PlayersActionDoneMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { - // required uint32 gameId = 1; - if (has_gameid()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); - } - - // required uint32 playerId = 2; + // required uint32 playerId = 1; if (has_playerid()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->playerid(), output); + ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->playerid(), output); } - // required .NetGameState gameState = 3; + // required .NetGameState gameState = 2; if (has_gamestate()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( - 3, this->gamestate(), output); + 2, this->gamestate(), output); } - // required .NetPlayerAction playerAction = 4; + // required .NetPlayerAction playerAction = 3; if (has_playeraction()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( - 4, this->playeraction(), output); + 3, this->playeraction(), output); } - // required uint32 totalPlayerBet = 5; + // required uint32 totalPlayerBet = 4; if (has_totalplayerbet()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(5, this->totalplayerbet(), output); + ::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->totalplayerbet(), output); } - // required uint32 playerMoney = 6; + // required uint32 playerMoney = 5; if (has_playermoney()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(6, this->playermoney(), output); + ::google::protobuf::internal::WireFormatLite::WriteUInt32(5, this->playermoney(), output); } - // required uint32 highestSet = 7; + // required uint32 highestSet = 6; if (has_highestset()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(7, this->highestset(), output); + ::google::protobuf::internal::WireFormatLite::WriteUInt32(6, this->highestset(), output); } - // required uint32 minimumRaise = 8; + // required uint32 minimumRaise = 7; if (has_minimumraise()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(8, this->minimumraise(), output); + ::google::protobuf::internal::WireFormatLite::WriteUInt32(7, this->minimumraise(), output); } } @@ -14179,54 +14072,47 @@ int PlayersActionDoneMessage::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - // required uint32 gameId = 1; - if (has_gameid()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt32Size( - this->gameid()); - } - - // required uint32 playerId = 2; + // required uint32 playerId = 1; if (has_playerid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->playerid()); } - // required .NetGameState gameState = 3; + // required .NetGameState gameState = 2; if (has_gamestate()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->gamestate()); } - // required .NetPlayerAction playerAction = 4; + // required .NetPlayerAction playerAction = 3; if (has_playeraction()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->playeraction()); } - // required uint32 totalPlayerBet = 5; + // required uint32 totalPlayerBet = 4; if (has_totalplayerbet()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->totalplayerbet()); } - // required uint32 playerMoney = 6; + // required uint32 playerMoney = 5; if (has_playermoney()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->playermoney()); } - // required uint32 highestSet = 7; + // required uint32 highestSet = 6; if (has_highestset()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->highestset()); } - // required uint32 minimumRaise = 8; + // required uint32 minimumRaise = 7; if (has_minimumraise()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( @@ -14248,9 +14134,6 @@ void PlayersActionDoneMessage::CheckTypeAndMergeFrom( void PlayersActionDoneMessage::MergeFrom(const PlayersActionDoneMessage& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { - if (from.has_gameid()) { - set_gameid(from.gameid()); - } if (from.has_playerid()) { set_playerid(from.playerid()); } @@ -14282,14 +14165,13 @@ void PlayersActionDoneMessage::CopyFrom(const PlayersActionDoneMessage& from) { } bool PlayersActionDoneMessage::IsInitialized() const { - if ((_has_bits_[0] & 0x000000ff) != 0x000000ff) return false; + if ((_has_bits_[0] & 0x0000007f) != 0x0000007f) return false; return true; } void PlayersActionDoneMessage::Swap(PlayersActionDoneMessage* other) { if (other != this) { - std::swap(gameid_, other->gameid_); std::swap(playerid_, other->playerid_); std::swap(gamestate_, other->gamestate_); std::swap(playeraction_, other->playeraction_); @@ -14310,7 +14192,6 @@ void PlayersActionDoneMessage::Swap(PlayersActionDoneMessage* other) { // =================================================================== #ifndef _MSC_VER -const int DealFlopCardsMessage::kGameIdFieldNumber; const int DealFlopCardsMessage::kFlopCard1FieldNumber; const int DealFlopCardsMessage::kFlopCard2FieldNumber; const int DealFlopCardsMessage::kFlopCard3FieldNumber; @@ -14332,7 +14213,6 @@ DealFlopCardsMessage::DealFlopCardsMessage(const DealFlopCardsMessage& from) void DealFlopCardsMessage::SharedCtor() { _cached_size_ = 0; - gameid_ = 0u; flopcard1_ = 0u; flopcard2_ = 0u; flopcard3_ = 0u; @@ -14374,7 +14254,6 @@ DealFlopCardsMessage* DealFlopCardsMessage::New() const { void DealFlopCardsMessage::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - gameid_ = 0u; flopcard1_ = 0u; flopcard2_ = 0u; flopcard3_ = 0u; @@ -14388,26 +14267,10 @@ bool DealFlopCardsMessage::MergePartialFromCodedStream( ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // required uint32 gameId = 1; + // required uint32 flopCard1 = 1; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( - input, &gameid_))); - set_has_gameid(); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(16)) goto parse_flopCard1; - break; - } - - // required uint32 flopCard1 = 2; - case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { - parse_flopCard1: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &flopcard1_))); @@ -14415,12 +14278,12 @@ bool DealFlopCardsMessage::MergePartialFromCodedStream( } else { goto handle_uninterpreted; } - if (input->ExpectTag(24)) goto parse_flopCard2; + if (input->ExpectTag(16)) goto parse_flopCard2; break; } - // required uint32 flopCard2 = 3; - case 3: { + // required uint32 flopCard2 = 2; + case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_flopCard2: @@ -14431,12 +14294,12 @@ bool DealFlopCardsMessage::MergePartialFromCodedStream( } else { goto handle_uninterpreted; } - if (input->ExpectTag(32)) goto parse_flopCard3; + if (input->ExpectTag(24)) goto parse_flopCard3; break; } - // required uint32 flopCard3 = 4; - case 4: { + // required uint32 flopCard3 = 3; + case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_flopCard3: @@ -14468,24 +14331,19 @@ bool DealFlopCardsMessage::MergePartialFromCodedStream( void DealFlopCardsMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { - // required uint32 gameId = 1; - if (has_gameid()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); - } - - // required uint32 flopCard1 = 2; + // required uint32 flopCard1 = 1; if (has_flopcard1()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->flopcard1(), output); + ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->flopcard1(), output); } - // required uint32 flopCard2 = 3; + // required uint32 flopCard2 = 2; if (has_flopcard2()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->flopcard2(), output); + ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->flopcard2(), output); } - // required uint32 flopCard3 = 4; + // required uint32 flopCard3 = 3; if (has_flopcard3()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->flopcard3(), output); + ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->flopcard3(), output); } } @@ -14494,28 +14352,21 @@ int DealFlopCardsMessage::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - // required uint32 gameId = 1; - if (has_gameid()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt32Size( - this->gameid()); - } - - // required uint32 flopCard1 = 2; + // required uint32 flopCard1 = 1; if (has_flopcard1()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->flopcard1()); } - // required uint32 flopCard2 = 3; + // required uint32 flopCard2 = 2; if (has_flopcard2()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->flopcard2()); } - // required uint32 flopCard3 = 4; + // required uint32 flopCard3 = 3; if (has_flopcard3()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( @@ -14537,9 +14388,6 @@ void DealFlopCardsMessage::CheckTypeAndMergeFrom( void DealFlopCardsMessage::MergeFrom(const DealFlopCardsMessage& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { - if (from.has_gameid()) { - set_gameid(from.gameid()); - } if (from.has_flopcard1()) { set_flopcard1(from.flopcard1()); } @@ -14559,14 +14407,13 @@ void DealFlopCardsMessage::CopyFrom(const DealFlopCardsMessage& from) { } bool DealFlopCardsMessage::IsInitialized() const { - if ((_has_bits_[0] & 0x0000000f) != 0x0000000f) return false; + if ((_has_bits_[0] & 0x00000007) != 0x00000007) return false; return true; } void DealFlopCardsMessage::Swap(DealFlopCardsMessage* other) { if (other != this) { - std::swap(gameid_, other->gameid_); std::swap(flopcard1_, other->flopcard1_); std::swap(flopcard2_, other->flopcard2_); std::swap(flopcard3_, other->flopcard3_); @@ -14583,7 +14430,6 @@ void DealFlopCardsMessage::Swap(DealFlopCardsMessage* other) { // =================================================================== #ifndef _MSC_VER -const int DealTurnCardMessage::kGameIdFieldNumber; const int DealTurnCardMessage::kTurnCardFieldNumber; #endif // !_MSC_VER @@ -14603,7 +14449,6 @@ DealTurnCardMessage::DealTurnCardMessage(const DealTurnCardMessage& from) void DealTurnCardMessage::SharedCtor() { _cached_size_ = 0; - gameid_ = 0u; turncard_ = 0u; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } @@ -14643,7 +14488,6 @@ DealTurnCardMessage* DealTurnCardMessage::New() const { void DealTurnCardMessage::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - gameid_ = 0u; turncard_ = 0u; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); @@ -14655,26 +14499,10 @@ bool DealTurnCardMessage::MergePartialFromCodedStream( ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // required uint32 gameId = 1; + // required uint32 turnCard = 1; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( - input, &gameid_))); - set_has_gameid(); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(16)) goto parse_turnCard; - break; - } - - // required uint32 turnCard = 2; - case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { - parse_turnCard: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &turncard_))); @@ -14703,14 +14531,9 @@ bool DealTurnCardMessage::MergePartialFromCodedStream( void DealTurnCardMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { - // required uint32 gameId = 1; - if (has_gameid()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); - } - - // required uint32 turnCard = 2; + // required uint32 turnCard = 1; if (has_turncard()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->turncard(), output); + ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->turncard(), output); } } @@ -14719,14 +14542,7 @@ int DealTurnCardMessage::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - // required uint32 gameId = 1; - if (has_gameid()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt32Size( - this->gameid()); - } - - // required uint32 turnCard = 2; + // required uint32 turnCard = 1; if (has_turncard()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( @@ -14748,9 +14564,6 @@ void DealTurnCardMessage::CheckTypeAndMergeFrom( void DealTurnCardMessage::MergeFrom(const DealTurnCardMessage& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { - if (from.has_gameid()) { - set_gameid(from.gameid()); - } if (from.has_turncard()) { set_turncard(from.turncard()); } @@ -14764,14 +14577,13 @@ void DealTurnCardMessage::CopyFrom(const DealTurnCardMessage& from) { } bool DealTurnCardMessage::IsInitialized() const { - if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; + if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false; return true; } void DealTurnCardMessage::Swap(DealTurnCardMessage* other) { if (other != this) { - std::swap(gameid_, other->gameid_); std::swap(turncard_, other->turncard_); std::swap(_has_bits_[0], other->_has_bits_[0]); std::swap(_cached_size_, other->_cached_size_); @@ -14786,7 +14598,6 @@ void DealTurnCardMessage::Swap(DealTurnCardMessage* other) { // =================================================================== #ifndef _MSC_VER -const int DealRiverCardMessage::kGameIdFieldNumber; const int DealRiverCardMessage::kRiverCardFieldNumber; #endif // !_MSC_VER @@ -14806,7 +14617,6 @@ DealRiverCardMessage::DealRiverCardMessage(const DealRiverCardMessage& from) void DealRiverCardMessage::SharedCtor() { _cached_size_ = 0; - gameid_ = 0u; rivercard_ = 0u; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } @@ -14846,7 +14656,6 @@ DealRiverCardMessage* DealRiverCardMessage::New() const { void DealRiverCardMessage::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - gameid_ = 0u; rivercard_ = 0u; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); @@ -14858,26 +14667,10 @@ bool DealRiverCardMessage::MergePartialFromCodedStream( ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // required uint32 gameId = 1; + // required uint32 riverCard = 1; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( - input, &gameid_))); - set_has_gameid(); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(16)) goto parse_riverCard; - break; - } - - // required uint32 riverCard = 2; - case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { - parse_riverCard: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &rivercard_))); @@ -14906,14 +14699,9 @@ bool DealRiverCardMessage::MergePartialFromCodedStream( void DealRiverCardMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { - // required uint32 gameId = 1; - if (has_gameid()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); - } - - // required uint32 riverCard = 2; + // required uint32 riverCard = 1; if (has_rivercard()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->rivercard(), output); + ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->rivercard(), output); } } @@ -14922,14 +14710,7 @@ int DealRiverCardMessage::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - // required uint32 gameId = 1; - if (has_gameid()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt32Size( - this->gameid()); - } - - // required uint32 riverCard = 2; + // required uint32 riverCard = 1; if (has_rivercard()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( @@ -14951,9 +14732,6 @@ void DealRiverCardMessage::CheckTypeAndMergeFrom( void DealRiverCardMessage::MergeFrom(const DealRiverCardMessage& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { - if (from.has_gameid()) { - set_gameid(from.gameid()); - } if (from.has_rivercard()) { set_rivercard(from.rivercard()); } @@ -14967,14 +14745,13 @@ void DealRiverCardMessage::CopyFrom(const DealRiverCardMessage& from) { } bool DealRiverCardMessage::IsInitialized() const { - if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; + if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false; return true; } void DealRiverCardMessage::Swap(DealRiverCardMessage* other) { if (other != this) { - std::swap(gameid_, other->gameid_); std::swap(rivercard_, other->rivercard_); std::swap(_has_bits_[0], other->_has_bits_[0]); std::swap(_cached_size_, other->_cached_size_); @@ -15227,7 +15004,6 @@ void AllInShowCardsMessage_PlayerAllIn::Swap(AllInShowCardsMessage_PlayerAllIn* // ------------------------------------------------------------------- #ifndef _MSC_VER -const int AllInShowCardsMessage::kGameIdFieldNumber; const int AllInShowCardsMessage::kPlayersAllInFieldNumber; #endif // !_MSC_VER @@ -15247,7 +15023,6 @@ AllInShowCardsMessage::AllInShowCardsMessage(const AllInShowCardsMessage& from) void AllInShowCardsMessage::SharedCtor() { _cached_size_ = 0; - gameid_ = 0u; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } @@ -15285,9 +15060,6 @@ AllInShowCardsMessage* AllInShowCardsMessage::New() const { } void AllInShowCardsMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - gameid_ = 0u; - } playersallin_.Clear(); ::memset(_has_bits_, 0, sizeof(_has_bits_)); } @@ -15298,23 +15070,8 @@ bool AllInShowCardsMessage::MergePartialFromCodedStream( ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // required uint32 gameId = 1; + // repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( - input, &gameid_))); - set_has_gameid(); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(18)) goto parse_playersAllIn; - break; - } - - // repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; - case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { parse_playersAllIn: @@ -15323,7 +15080,7 @@ bool AllInShowCardsMessage::MergePartialFromCodedStream( } else { goto handle_uninterpreted; } - if (input->ExpectTag(18)) goto parse_playersAllIn; + if (input->ExpectTag(10)) goto parse_playersAllIn; if (input->ExpectAtEnd()) return true; break; } @@ -15345,15 +15102,10 @@ bool AllInShowCardsMessage::MergePartialFromCodedStream( void AllInShowCardsMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { - // required uint32 gameId = 1; - if (has_gameid()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); - } - - // repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; + // repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 1; for (int i = 0; i < this->playersallin_size(); i++) { ::google::protobuf::internal::WireFormatLite::WriteMessage( - 2, this->playersallin(i), output); + 1, this->playersallin(i), output); } } @@ -15361,16 +15113,7 @@ void AllInShowCardsMessage::SerializeWithCachedSizes( int AllInShowCardsMessage::ByteSize() const { int total_size = 0; - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - // required uint32 gameId = 1; - if (has_gameid()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt32Size( - this->gameid()); - } - - } - // repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; + // repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 1; total_size += 1 * this->playersallin_size(); for (int i = 0; i < this->playersallin_size(); i++) { total_size += @@ -15392,11 +15135,6 @@ void AllInShowCardsMessage::CheckTypeAndMergeFrom( void AllInShowCardsMessage::MergeFrom(const AllInShowCardsMessage& from) { GOOGLE_CHECK_NE(&from, this); playersallin_.MergeFrom(from.playersallin_); - if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { - if (from.has_gameid()) { - set_gameid(from.gameid()); - } - } } void AllInShowCardsMessage::CopyFrom(const AllInShowCardsMessage& from) { @@ -15406,7 +15144,6 @@ 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; @@ -15416,7 +15153,6 @@ bool AllInShowCardsMessage::IsInitialized() const { void AllInShowCardsMessage::Swap(AllInShowCardsMessage* other) { if (other != this) { - std::swap(gameid_, other->gameid_); playersallin_.Swap(&other->playersallin_); std::swap(_has_bits_[0], other->_has_bits_[0]); std::swap(_cached_size_, other->_cached_size_); @@ -15431,7 +15167,6 @@ void AllInShowCardsMessage::Swap(AllInShowCardsMessage* other) { // =================================================================== #ifndef _MSC_VER -const int EndOfHandShowCardsMessage::kGameIdFieldNumber; const int EndOfHandShowCardsMessage::kPlayerResultsFieldNumber; #endif // !_MSC_VER @@ -15451,7 +15186,6 @@ EndOfHandShowCardsMessage::EndOfHandShowCardsMessage(const EndOfHandShowCardsMes void EndOfHandShowCardsMessage::SharedCtor() { _cached_size_ = 0; - gameid_ = 0u; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } @@ -15489,9 +15223,6 @@ EndOfHandShowCardsMessage* EndOfHandShowCardsMessage::New() const { } void EndOfHandShowCardsMessage::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - gameid_ = 0u; - } playerresults_.Clear(); ::memset(_has_bits_, 0, sizeof(_has_bits_)); } @@ -15502,23 +15233,8 @@ bool EndOfHandShowCardsMessage::MergePartialFromCodedStream( ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // required uint32 gameId = 1; + // repeated .PlayerResult playerResults = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( - input, &gameid_))); - set_has_gameid(); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(18)) goto parse_playerResults; - break; - } - - // repeated .PlayerResult playerResults = 2; - case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { parse_playerResults: @@ -15527,7 +15243,7 @@ bool EndOfHandShowCardsMessage::MergePartialFromCodedStream( } else { goto handle_uninterpreted; } - if (input->ExpectTag(18)) goto parse_playerResults; + if (input->ExpectTag(10)) goto parse_playerResults; if (input->ExpectAtEnd()) return true; break; } @@ -15549,15 +15265,10 @@ bool EndOfHandShowCardsMessage::MergePartialFromCodedStream( void EndOfHandShowCardsMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { - // required uint32 gameId = 1; - if (has_gameid()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); - } - - // repeated .PlayerResult playerResults = 2; + // repeated .PlayerResult playerResults = 1; for (int i = 0; i < this->playerresults_size(); i++) { ::google::protobuf::internal::WireFormatLite::WriteMessage( - 2, this->playerresults(i), output); + 1, this->playerresults(i), output); } } @@ -15565,16 +15276,7 @@ void EndOfHandShowCardsMessage::SerializeWithCachedSizes( int EndOfHandShowCardsMessage::ByteSize() const { int total_size = 0; - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - // required uint32 gameId = 1; - if (has_gameid()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt32Size( - this->gameid()); - } - - } - // repeated .PlayerResult playerResults = 2; + // repeated .PlayerResult playerResults = 1; total_size += 1 * this->playerresults_size(); for (int i = 0; i < this->playerresults_size(); i++) { total_size += @@ -15596,11 +15298,6 @@ void EndOfHandShowCardsMessage::CheckTypeAndMergeFrom( void EndOfHandShowCardsMessage::MergeFrom(const EndOfHandShowCardsMessage& from) { GOOGLE_CHECK_NE(&from, this); playerresults_.MergeFrom(from.playerresults_); - if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { - if (from.has_gameid()) { - set_gameid(from.gameid()); - } - } } void EndOfHandShowCardsMessage::CopyFrom(const EndOfHandShowCardsMessage& from) { @@ -15610,7 +15307,6 @@ 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; @@ -15620,7 +15316,6 @@ bool EndOfHandShowCardsMessage::IsInitialized() const { void EndOfHandShowCardsMessage::Swap(EndOfHandShowCardsMessage* other) { if (other != this) { - std::swap(gameid_, other->gameid_); playerresults_.Swap(&other->playerresults_); std::swap(_has_bits_[0], other->_has_bits_[0]); std::swap(_cached_size_, other->_cached_size_); @@ -15635,7 +15330,6 @@ void EndOfHandShowCardsMessage::Swap(EndOfHandShowCardsMessage* other) { // =================================================================== #ifndef _MSC_VER -const int EndOfHandHideCardsMessage::kGameIdFieldNumber; const int EndOfHandHideCardsMessage::kPlayerIdFieldNumber; const int EndOfHandHideCardsMessage::kMoneyWonFieldNumber; const int EndOfHandHideCardsMessage::kPlayerMoneyFieldNumber; @@ -15657,7 +15351,6 @@ EndOfHandHideCardsMessage::EndOfHandHideCardsMessage(const EndOfHandHideCardsMes void EndOfHandHideCardsMessage::SharedCtor() { _cached_size_ = 0; - gameid_ = 0u; playerid_ = 0u; moneywon_ = 0u; playermoney_ = 0u; @@ -15699,7 +15392,6 @@ EndOfHandHideCardsMessage* EndOfHandHideCardsMessage::New() const { void EndOfHandHideCardsMessage::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - gameid_ = 0u; playerid_ = 0u; moneywon_ = 0u; playermoney_ = 0u; @@ -15713,26 +15405,10 @@ bool EndOfHandHideCardsMessage::MergePartialFromCodedStream( ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // required uint32 gameId = 1; + // required uint32 playerId = 1; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( - input, &gameid_))); - set_has_gameid(); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(16)) goto parse_playerId; - break; - } - - // required uint32 playerId = 2; - case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { - parse_playerId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &playerid_))); @@ -15740,12 +15416,12 @@ bool EndOfHandHideCardsMessage::MergePartialFromCodedStream( } else { goto handle_uninterpreted; } - if (input->ExpectTag(24)) goto parse_moneyWon; + if (input->ExpectTag(16)) goto parse_moneyWon; break; } - // required uint32 moneyWon = 3; - case 3: { + // required uint32 moneyWon = 2; + case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_moneyWon: @@ -15756,12 +15432,12 @@ bool EndOfHandHideCardsMessage::MergePartialFromCodedStream( } else { goto handle_uninterpreted; } - if (input->ExpectTag(32)) goto parse_playerMoney; + if (input->ExpectTag(24)) goto parse_playerMoney; break; } - // required uint32 playerMoney = 4; - case 4: { + // required uint32 playerMoney = 3; + case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_playerMoney: @@ -15793,24 +15469,19 @@ bool EndOfHandHideCardsMessage::MergePartialFromCodedStream( void EndOfHandHideCardsMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { - // required uint32 gameId = 1; - if (has_gameid()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); - } - - // required uint32 playerId = 2; + // required uint32 playerId = 1; if (has_playerid()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->playerid(), output); + ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->playerid(), output); } - // required uint32 moneyWon = 3; + // required uint32 moneyWon = 2; if (has_moneywon()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->moneywon(), output); + ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->moneywon(), output); } - // required uint32 playerMoney = 4; + // required uint32 playerMoney = 3; if (has_playermoney()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->playermoney(), output); + ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->playermoney(), output); } } @@ -15819,28 +15490,21 @@ int EndOfHandHideCardsMessage::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - // required uint32 gameId = 1; - if (has_gameid()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt32Size( - this->gameid()); - } - - // required uint32 playerId = 2; + // required uint32 playerId = 1; if (has_playerid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->playerid()); } - // required uint32 moneyWon = 3; + // required uint32 moneyWon = 2; if (has_moneywon()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->moneywon()); } - // required uint32 playerMoney = 4; + // required uint32 playerMoney = 3; if (has_playermoney()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( @@ -15862,9 +15526,6 @@ void EndOfHandHideCardsMessage::CheckTypeAndMergeFrom( void EndOfHandHideCardsMessage::MergeFrom(const EndOfHandHideCardsMessage& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { - if (from.has_gameid()) { - set_gameid(from.gameid()); - } if (from.has_playerid()) { set_playerid(from.playerid()); } @@ -15884,14 +15545,13 @@ void EndOfHandHideCardsMessage::CopyFrom(const EndOfHandHideCardsMessage& from) } bool EndOfHandHideCardsMessage::IsInitialized() const { - if ((_has_bits_[0] & 0x0000000f) != 0x0000000f) return false; + if ((_has_bits_[0] & 0x00000007) != 0x00000007) return false; return true; } void EndOfHandHideCardsMessage::Swap(EndOfHandHideCardsMessage* other) { if (other != this) { - std::swap(gameid_, other->gameid_); std::swap(playerid_, other->playerid_); std::swap(moneywon_, other->moneywon_); std::swap(playermoney_, other->playermoney_); @@ -16207,7 +15867,6 @@ void AfterHandShowCardsMessage::Swap(AfterHandShowCardsMessage* other) { // =================================================================== #ifndef _MSC_VER -const int EndOfGameMessage::kGameIdFieldNumber; const int EndOfGameMessage::kWinnerPlayerIdFieldNumber; #endif // !_MSC_VER @@ -16227,7 +15886,6 @@ EndOfGameMessage::EndOfGameMessage(const EndOfGameMessage& from) void EndOfGameMessage::SharedCtor() { _cached_size_ = 0; - gameid_ = 0u; winnerplayerid_ = 0u; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } @@ -16267,7 +15925,6 @@ EndOfGameMessage* EndOfGameMessage::New() const { void EndOfGameMessage::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - gameid_ = 0u; winnerplayerid_ = 0u; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); @@ -16279,26 +15936,10 @@ bool EndOfGameMessage::MergePartialFromCodedStream( ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // required uint32 gameId = 1; + // required uint32 winnerPlayerId = 1; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( - input, &gameid_))); - set_has_gameid(); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(16)) goto parse_winnerPlayerId; - break; - } - - // required uint32 winnerPlayerId = 2; - case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { - parse_winnerPlayerId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &winnerplayerid_))); @@ -16327,14 +15968,9 @@ bool EndOfGameMessage::MergePartialFromCodedStream( void EndOfGameMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { - // required uint32 gameId = 1; - if (has_gameid()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); - } - - // required uint32 winnerPlayerId = 2; + // required uint32 winnerPlayerId = 1; if (has_winnerplayerid()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->winnerplayerid(), output); + ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->winnerplayerid(), output); } } @@ -16343,14 +15979,7 @@ int EndOfGameMessage::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - // required uint32 gameId = 1; - if (has_gameid()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt32Size( - this->gameid()); - } - - // required uint32 winnerPlayerId = 2; + // required uint32 winnerPlayerId = 1; if (has_winnerplayerid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( @@ -16372,9 +16001,6 @@ void EndOfGameMessage::CheckTypeAndMergeFrom( void EndOfGameMessage::MergeFrom(const EndOfGameMessage& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { - if (from.has_gameid()) { - set_gameid(from.gameid()); - } if (from.has_winnerplayerid()) { set_winnerplayerid(from.winnerplayerid()); } @@ -16388,14 +16014,13 @@ void EndOfGameMessage::CopyFrom(const EndOfGameMessage& from) { } bool EndOfGameMessage::IsInitialized() const { - if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; + if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false; return true; } void EndOfGameMessage::Swap(EndOfGameMessage* other) { if (other != this) { - std::swap(gameid_, other->gameid_); std::swap(winnerplayerid_, other->winnerplayerid_); std::swap(_has_bits_[0], other->_has_bits_[0]); std::swap(_cached_size_, other->_cached_size_); @@ -16613,7 +16238,6 @@ void PlayerIdChangedMessage::Swap(PlayerIdChangedMessage* other) { // =================================================================== #ifndef _MSC_VER -const int AskKickPlayerMessage::kGameIdFieldNumber; const int AskKickPlayerMessage::kPlayerIdFieldNumber; #endif // !_MSC_VER @@ -16633,7 +16257,6 @@ AskKickPlayerMessage::AskKickPlayerMessage(const AskKickPlayerMessage& from) void AskKickPlayerMessage::SharedCtor() { _cached_size_ = 0; - gameid_ = 0u; playerid_ = 0u; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } @@ -16673,7 +16296,6 @@ AskKickPlayerMessage* AskKickPlayerMessage::New() const { void AskKickPlayerMessage::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - gameid_ = 0u; playerid_ = 0u; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); @@ -16685,26 +16307,10 @@ bool AskKickPlayerMessage::MergePartialFromCodedStream( ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // required uint32 gameId = 1; + // required uint32 playerId = 1; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( - input, &gameid_))); - set_has_gameid(); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(16)) goto parse_playerId; - break; - } - - // required uint32 playerId = 2; - case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { - parse_playerId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &playerid_))); @@ -16733,14 +16339,9 @@ bool AskKickPlayerMessage::MergePartialFromCodedStream( void AskKickPlayerMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { - // required uint32 gameId = 1; - if (has_gameid()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); - } - - // required uint32 playerId = 2; + // required uint32 playerId = 1; if (has_playerid()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->playerid(), output); + ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->playerid(), output); } } @@ -16749,14 +16350,7 @@ int AskKickPlayerMessage::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - // required uint32 gameId = 1; - if (has_gameid()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt32Size( - this->gameid()); - } - - // required uint32 playerId = 2; + // required uint32 playerId = 1; if (has_playerid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( @@ -16778,9 +16372,6 @@ void AskKickPlayerMessage::CheckTypeAndMergeFrom( void AskKickPlayerMessage::MergeFrom(const AskKickPlayerMessage& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { - if (from.has_gameid()) { - set_gameid(from.gameid()); - } if (from.has_playerid()) { set_playerid(from.playerid()); } @@ -16794,14 +16385,13 @@ void AskKickPlayerMessage::CopyFrom(const AskKickPlayerMessage& from) { } bool AskKickPlayerMessage::IsInitialized() const { - if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; + if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false; return true; } void AskKickPlayerMessage::Swap(AskKickPlayerMessage* other) { if (other != this) { - std::swap(gameid_, other->gameid_); std::swap(playerid_, other->playerid_); std::swap(_has_bits_[0], other->_has_bits_[0]); std::swap(_cached_size_, other->_cached_size_); @@ -16839,7 +16429,6 @@ const AskKickDeniedMessage_KickDeniedReason AskKickDeniedMessage::KickDeniedReas const int AskKickDeniedMessage::KickDeniedReason_ARRAYSIZE; #endif // _MSC_VER #ifndef _MSC_VER -const int AskKickDeniedMessage::kGameIdFieldNumber; const int AskKickDeniedMessage::kPlayerIdFieldNumber; const int AskKickDeniedMessage::kKickDeniedReasonFieldNumber; #endif // !_MSC_VER @@ -16860,7 +16449,6 @@ AskKickDeniedMessage::AskKickDeniedMessage(const AskKickDeniedMessage& from) void AskKickDeniedMessage::SharedCtor() { _cached_size_ = 0; - gameid_ = 0u; playerid_ = 0u; kickdeniedreason_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); @@ -16901,7 +16489,6 @@ AskKickDeniedMessage* AskKickDeniedMessage::New() const { void AskKickDeniedMessage::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - gameid_ = 0u; playerid_ = 0u; kickdeniedreason_ = 0; } @@ -16914,26 +16501,10 @@ bool AskKickDeniedMessage::MergePartialFromCodedStream( ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // required uint32 gameId = 1; + // required uint32 playerId = 1; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( - input, &gameid_))); - set_has_gameid(); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(16)) goto parse_playerId; - break; - } - - // required uint32 playerId = 2; - case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { - parse_playerId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &playerid_))); @@ -16941,12 +16512,12 @@ bool AskKickDeniedMessage::MergePartialFromCodedStream( } else { goto handle_uninterpreted; } - if (input->ExpectTag(24)) goto parse_kickDeniedReason; + if (input->ExpectTag(16)) goto parse_kickDeniedReason; break; } - // required .AskKickDeniedMessage.KickDeniedReason kickDeniedReason = 3; - case 3: { + // required .AskKickDeniedMessage.KickDeniedReason kickDeniedReason = 2; + case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_kickDeniedReason: @@ -16981,20 +16552,15 @@ bool AskKickDeniedMessage::MergePartialFromCodedStream( void AskKickDeniedMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { - // required uint32 gameId = 1; - if (has_gameid()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); - } - - // required uint32 playerId = 2; + // required uint32 playerId = 1; if (has_playerid()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->playerid(), output); + ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->playerid(), output); } - // required .AskKickDeniedMessage.KickDeniedReason kickDeniedReason = 3; + // required .AskKickDeniedMessage.KickDeniedReason kickDeniedReason = 2; if (has_kickdeniedreason()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( - 3, this->kickdeniedreason(), output); + 2, this->kickdeniedreason(), output); } } @@ -17003,21 +16569,14 @@ int AskKickDeniedMessage::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - // required uint32 gameId = 1; - if (has_gameid()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt32Size( - this->gameid()); - } - - // required uint32 playerId = 2; + // required uint32 playerId = 1; if (has_playerid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->playerid()); } - // required .AskKickDeniedMessage.KickDeniedReason kickDeniedReason = 3; + // required .AskKickDeniedMessage.KickDeniedReason kickDeniedReason = 2; if (has_kickdeniedreason()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->kickdeniedreason()); @@ -17038,9 +16597,6 @@ void AskKickDeniedMessage::CheckTypeAndMergeFrom( void AskKickDeniedMessage::MergeFrom(const AskKickDeniedMessage& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { - if (from.has_gameid()) { - set_gameid(from.gameid()); - } if (from.has_playerid()) { set_playerid(from.playerid()); } @@ -17057,14 +16613,13 @@ void AskKickDeniedMessage::CopyFrom(const AskKickDeniedMessage& from) { } bool AskKickDeniedMessage::IsInitialized() const { - if ((_has_bits_[0] & 0x00000007) != 0x00000007) return false; + if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; return true; } void AskKickDeniedMessage::Swap(AskKickDeniedMessage* other) { if (other != this) { - std::swap(gameid_, other->gameid_); std::swap(playerid_, other->playerid_); std::swap(kickdeniedreason_, other->kickdeniedreason_); std::swap(_has_bits_[0], other->_has_bits_[0]); @@ -17080,7 +16635,6 @@ void AskKickDeniedMessage::Swap(AskKickDeniedMessage* other) { // =================================================================== #ifndef _MSC_VER -const int StartKickPetitionMessage::kGameIdFieldNumber; const int StartKickPetitionMessage::kPetitionIdFieldNumber; const int StartKickPetitionMessage::kProposingPlayerIdFieldNumber; const int StartKickPetitionMessage::kKickPlayerIdFieldNumber; @@ -17104,7 +16658,6 @@ StartKickPetitionMessage::StartKickPetitionMessage(const StartKickPetitionMessag void StartKickPetitionMessage::SharedCtor() { _cached_size_ = 0; - gameid_ = 0u; petitionid_ = 0u; proposingplayerid_ = 0u; kickplayerid_ = 0u; @@ -17148,7 +16701,6 @@ StartKickPetitionMessage* StartKickPetitionMessage::New() const { void StartKickPetitionMessage::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - gameid_ = 0u; petitionid_ = 0u; proposingplayerid_ = 0u; kickplayerid_ = 0u; @@ -17164,26 +16716,10 @@ bool StartKickPetitionMessage::MergePartialFromCodedStream( ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // required uint32 gameId = 1; + // required uint32 petitionId = 1; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( - input, &gameid_))); - set_has_gameid(); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(16)) goto parse_petitionId; - break; - } - - // required uint32 petitionId = 2; - case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { - parse_petitionId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &petitionid_))); @@ -17191,12 +16727,12 @@ bool StartKickPetitionMessage::MergePartialFromCodedStream( } else { goto handle_uninterpreted; } - if (input->ExpectTag(24)) goto parse_proposingPlayerId; + if (input->ExpectTag(16)) goto parse_proposingPlayerId; break; } - // required uint32 proposingPlayerId = 3; - case 3: { + // required uint32 proposingPlayerId = 2; + case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_proposingPlayerId: @@ -17207,12 +16743,12 @@ bool StartKickPetitionMessage::MergePartialFromCodedStream( } else { goto handle_uninterpreted; } - if (input->ExpectTag(32)) goto parse_kickPlayerId; + if (input->ExpectTag(24)) goto parse_kickPlayerId; break; } - // required uint32 kickPlayerId = 4; - case 4: { + // required uint32 kickPlayerId = 3; + case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_kickPlayerId: @@ -17223,12 +16759,12 @@ bool StartKickPetitionMessage::MergePartialFromCodedStream( } else { goto handle_uninterpreted; } - if (input->ExpectTag(40)) goto parse_kickTimeoutSec; + if (input->ExpectTag(32)) goto parse_kickTimeoutSec; break; } - // required uint32 kickTimeoutSec = 5; - case 5: { + // required uint32 kickTimeoutSec = 4; + case 4: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_kickTimeoutSec: @@ -17239,12 +16775,12 @@ bool StartKickPetitionMessage::MergePartialFromCodedStream( } else { goto handle_uninterpreted; } - if (input->ExpectTag(48)) goto parse_numVotesNeededToKick; + if (input->ExpectTag(40)) goto parse_numVotesNeededToKick; break; } - // required uint32 numVotesNeededToKick = 6; - case 6: { + // required uint32 numVotesNeededToKick = 5; + case 5: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_numVotesNeededToKick: @@ -17276,34 +16812,29 @@ bool StartKickPetitionMessage::MergePartialFromCodedStream( void StartKickPetitionMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { - // required uint32 gameId = 1; - if (has_gameid()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); - } - - // required uint32 petitionId = 2; + // required uint32 petitionId = 1; if (has_petitionid()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->petitionid(), output); + ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->petitionid(), output); } - // required uint32 proposingPlayerId = 3; + // required uint32 proposingPlayerId = 2; if (has_proposingplayerid()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->proposingplayerid(), output); + ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->proposingplayerid(), output); } - // required uint32 kickPlayerId = 4; + // required uint32 kickPlayerId = 3; if (has_kickplayerid()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->kickplayerid(), output); + ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->kickplayerid(), output); } - // required uint32 kickTimeoutSec = 5; + // required uint32 kickTimeoutSec = 4; if (has_kicktimeoutsec()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(5, this->kicktimeoutsec(), output); + ::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->kicktimeoutsec(), output); } - // required uint32 numVotesNeededToKick = 6; + // required uint32 numVotesNeededToKick = 5; if (has_numvotesneededtokick()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(6, this->numvotesneededtokick(), output); + ::google::protobuf::internal::WireFormatLite::WriteUInt32(5, this->numvotesneededtokick(), output); } } @@ -17312,42 +16843,35 @@ int StartKickPetitionMessage::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - // required uint32 gameId = 1; - if (has_gameid()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt32Size( - this->gameid()); - } - - // required uint32 petitionId = 2; + // required uint32 petitionId = 1; if (has_petitionid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->petitionid()); } - // required uint32 proposingPlayerId = 3; + // required uint32 proposingPlayerId = 2; if (has_proposingplayerid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->proposingplayerid()); } - // required uint32 kickPlayerId = 4; + // required uint32 kickPlayerId = 3; if (has_kickplayerid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->kickplayerid()); } - // required uint32 kickTimeoutSec = 5; + // required uint32 kickTimeoutSec = 4; if (has_kicktimeoutsec()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->kicktimeoutsec()); } - // required uint32 numVotesNeededToKick = 6; + // required uint32 numVotesNeededToKick = 5; if (has_numvotesneededtokick()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( @@ -17369,9 +16893,6 @@ void StartKickPetitionMessage::CheckTypeAndMergeFrom( void StartKickPetitionMessage::MergeFrom(const StartKickPetitionMessage& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { - if (from.has_gameid()) { - set_gameid(from.gameid()); - } if (from.has_petitionid()) { set_petitionid(from.petitionid()); } @@ -17397,14 +16918,13 @@ void StartKickPetitionMessage::CopyFrom(const StartKickPetitionMessage& from) { } bool StartKickPetitionMessage::IsInitialized() const { - if ((_has_bits_[0] & 0x0000003f) != 0x0000003f) return false; + if ((_has_bits_[0] & 0x0000001f) != 0x0000001f) return false; return true; } void StartKickPetitionMessage::Swap(StartKickPetitionMessage* other) { if (other != this) { - std::swap(gameid_, other->gameid_); std::swap(petitionid_, other->petitionid_); std::swap(proposingplayerid_, other->proposingplayerid_); std::swap(kickplayerid_, other->kickplayerid_); @@ -17423,7 +16943,6 @@ void StartKickPetitionMessage::Swap(StartKickPetitionMessage* other) { // =================================================================== #ifndef _MSC_VER -const int VoteKickRequestMessage::kGameIdFieldNumber; const int VoteKickRequestMessage::kPetitionIdFieldNumber; const int VoteKickRequestMessage::kVoteKickFieldNumber; #endif // !_MSC_VER @@ -17444,7 +16963,6 @@ VoteKickRequestMessage::VoteKickRequestMessage(const VoteKickRequestMessage& fro void VoteKickRequestMessage::SharedCtor() { _cached_size_ = 0; - gameid_ = 0u; petitionid_ = 0u; votekick_ = false; ::memset(_has_bits_, 0, sizeof(_has_bits_)); @@ -17485,7 +17003,6 @@ VoteKickRequestMessage* VoteKickRequestMessage::New() const { void VoteKickRequestMessage::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - gameid_ = 0u; petitionid_ = 0u; votekick_ = false; } @@ -17498,26 +17015,10 @@ bool VoteKickRequestMessage::MergePartialFromCodedStream( ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // required uint32 gameId = 1; + // required uint32 petitionId = 1; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( - input, &gameid_))); - set_has_gameid(); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(16)) goto parse_petitionId; - break; - } - - // required uint32 petitionId = 2; - case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { - parse_petitionId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &petitionid_))); @@ -17525,12 +17026,12 @@ bool VoteKickRequestMessage::MergePartialFromCodedStream( } else { goto handle_uninterpreted; } - if (input->ExpectTag(24)) goto parse_voteKick; + if (input->ExpectTag(16)) goto parse_voteKick; break; } - // required bool voteKick = 3; - case 3: { + // required bool voteKick = 2; + case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_voteKick: @@ -17562,19 +17063,14 @@ bool VoteKickRequestMessage::MergePartialFromCodedStream( void VoteKickRequestMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { - // required uint32 gameId = 1; - if (has_gameid()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); - } - - // required uint32 petitionId = 2; + // required uint32 petitionId = 1; if (has_petitionid()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->petitionid(), output); + ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->petitionid(), output); } - // required bool voteKick = 3; + // required bool voteKick = 2; if (has_votekick()) { - ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->votekick(), output); + ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->votekick(), output); } } @@ -17583,21 +17079,14 @@ int VoteKickRequestMessage::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - // required uint32 gameId = 1; - if (has_gameid()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt32Size( - this->gameid()); - } - - // required uint32 petitionId = 2; + // required uint32 petitionId = 1; if (has_petitionid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->petitionid()); } - // required bool voteKick = 3; + // required bool voteKick = 2; if (has_votekick()) { total_size += 1 + 1; } @@ -17617,9 +17106,6 @@ void VoteKickRequestMessage::CheckTypeAndMergeFrom( void VoteKickRequestMessage::MergeFrom(const VoteKickRequestMessage& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { - if (from.has_gameid()) { - set_gameid(from.gameid()); - } if (from.has_petitionid()) { set_petitionid(from.petitionid()); } @@ -17636,14 +17122,13 @@ void VoteKickRequestMessage::CopyFrom(const VoteKickRequestMessage& from) { } bool VoteKickRequestMessage::IsInitialized() const { - if ((_has_bits_[0] & 0x00000007) != 0x00000007) return false; + if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; return true; } void VoteKickRequestMessage::Swap(VoteKickRequestMessage* other) { if (other != this) { - std::swap(gameid_, other->gameid_); std::swap(petitionid_, other->petitionid_); std::swap(votekick_, other->votekick_); std::swap(_has_bits_[0], other->_has_bits_[0]); @@ -17678,7 +17163,6 @@ const VoteKickReplyMessage_VoteKickReplyType VoteKickReplyMessage::VoteKickReply const int VoteKickReplyMessage::VoteKickReplyType_ARRAYSIZE; #endif // _MSC_VER #ifndef _MSC_VER -const int VoteKickReplyMessage::kGameIdFieldNumber; const int VoteKickReplyMessage::kPetitionIdFieldNumber; const int VoteKickReplyMessage::kVoteKickReplyTypeFieldNumber; #endif // !_MSC_VER @@ -17699,7 +17183,6 @@ VoteKickReplyMessage::VoteKickReplyMessage(const VoteKickReplyMessage& from) void VoteKickReplyMessage::SharedCtor() { _cached_size_ = 0; - gameid_ = 0u; petitionid_ = 0u; votekickreplytype_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); @@ -17740,7 +17223,6 @@ VoteKickReplyMessage* VoteKickReplyMessage::New() const { void VoteKickReplyMessage::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - gameid_ = 0u; petitionid_ = 0u; votekickreplytype_ = 0; } @@ -17753,26 +17235,10 @@ bool VoteKickReplyMessage::MergePartialFromCodedStream( ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // required uint32 gameId = 1; + // required uint32 petitionId = 1; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( - input, &gameid_))); - set_has_gameid(); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(16)) goto parse_petitionId; - break; - } - - // required uint32 petitionId = 2; - case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { - parse_petitionId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &petitionid_))); @@ -17780,12 +17246,12 @@ bool VoteKickReplyMessage::MergePartialFromCodedStream( } else { goto handle_uninterpreted; } - if (input->ExpectTag(24)) goto parse_voteKickReplyType; + if (input->ExpectTag(16)) goto parse_voteKickReplyType; break; } - // required .VoteKickReplyMessage.VoteKickReplyType voteKickReplyType = 3; - case 3: { + // required .VoteKickReplyMessage.VoteKickReplyType voteKickReplyType = 2; + case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_voteKickReplyType: @@ -17820,20 +17286,15 @@ bool VoteKickReplyMessage::MergePartialFromCodedStream( void VoteKickReplyMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { - // required uint32 gameId = 1; - if (has_gameid()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); - } - - // required uint32 petitionId = 2; + // required uint32 petitionId = 1; if (has_petitionid()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->petitionid(), output); + ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->petitionid(), output); } - // required .VoteKickReplyMessage.VoteKickReplyType voteKickReplyType = 3; + // required .VoteKickReplyMessage.VoteKickReplyType voteKickReplyType = 2; if (has_votekickreplytype()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( - 3, this->votekickreplytype(), output); + 2, this->votekickreplytype(), output); } } @@ -17842,21 +17303,14 @@ int VoteKickReplyMessage::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - // required uint32 gameId = 1; - if (has_gameid()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt32Size( - this->gameid()); - } - - // required uint32 petitionId = 2; + // required uint32 petitionId = 1; if (has_petitionid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->petitionid()); } - // required .VoteKickReplyMessage.VoteKickReplyType voteKickReplyType = 3; + // required .VoteKickReplyMessage.VoteKickReplyType voteKickReplyType = 2; if (has_votekickreplytype()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->votekickreplytype()); @@ -17877,9 +17331,6 @@ void VoteKickReplyMessage::CheckTypeAndMergeFrom( void VoteKickReplyMessage::MergeFrom(const VoteKickReplyMessage& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { - if (from.has_gameid()) { - set_gameid(from.gameid()); - } if (from.has_petitionid()) { set_petitionid(from.petitionid()); } @@ -17896,14 +17347,13 @@ void VoteKickReplyMessage::CopyFrom(const VoteKickReplyMessage& from) { } bool VoteKickReplyMessage::IsInitialized() const { - if ((_has_bits_[0] & 0x00000007) != 0x00000007) return false; + if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; return true; } void VoteKickReplyMessage::Swap(VoteKickReplyMessage* other) { if (other != this) { - std::swap(gameid_, other->gameid_); std::swap(petitionid_, other->petitionid_); std::swap(votekickreplytype_, other->votekickreplytype_); std::swap(_has_bits_[0], other->_has_bits_[0]); @@ -17919,7 +17369,6 @@ void VoteKickReplyMessage::Swap(VoteKickReplyMessage* other) { // =================================================================== #ifndef _MSC_VER -const int KickPetitionUpdateMessage::kGameIdFieldNumber; const int KickPetitionUpdateMessage::kPetitionIdFieldNumber; const int KickPetitionUpdateMessage::kNumVotesAgainstKickingFieldNumber; const int KickPetitionUpdateMessage::kNumVotesInFavourOfKickingFieldNumber; @@ -17942,7 +17391,6 @@ KickPetitionUpdateMessage::KickPetitionUpdateMessage(const KickPetitionUpdateMes void KickPetitionUpdateMessage::SharedCtor() { _cached_size_ = 0; - gameid_ = 0u; petitionid_ = 0u; numvotesagainstkicking_ = 0u; numvotesinfavourofkicking_ = 0u; @@ -17985,7 +17433,6 @@ KickPetitionUpdateMessage* KickPetitionUpdateMessage::New() const { void KickPetitionUpdateMessage::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - gameid_ = 0u; petitionid_ = 0u; numvotesagainstkicking_ = 0u; numvotesinfavourofkicking_ = 0u; @@ -18000,26 +17447,10 @@ bool KickPetitionUpdateMessage::MergePartialFromCodedStream( ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // required uint32 gameId = 1; + // required uint32 petitionId = 1; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( - input, &gameid_))); - set_has_gameid(); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(16)) goto parse_petitionId; - break; - } - - // required uint32 petitionId = 2; - case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { - parse_petitionId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &petitionid_))); @@ -18027,12 +17458,12 @@ bool KickPetitionUpdateMessage::MergePartialFromCodedStream( } else { goto handle_uninterpreted; } - if (input->ExpectTag(24)) goto parse_numVotesAgainstKicking; + if (input->ExpectTag(16)) goto parse_numVotesAgainstKicking; break; } - // required uint32 numVotesAgainstKicking = 3; - case 3: { + // required uint32 numVotesAgainstKicking = 2; + case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_numVotesAgainstKicking: @@ -18043,12 +17474,12 @@ bool KickPetitionUpdateMessage::MergePartialFromCodedStream( } else { goto handle_uninterpreted; } - if (input->ExpectTag(32)) goto parse_numVotesInFavourOfKicking; + if (input->ExpectTag(24)) goto parse_numVotesInFavourOfKicking; break; } - // required uint32 numVotesInFavourOfKicking = 4; - case 4: { + // required uint32 numVotesInFavourOfKicking = 3; + case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_numVotesInFavourOfKicking: @@ -18059,12 +17490,12 @@ bool KickPetitionUpdateMessage::MergePartialFromCodedStream( } else { goto handle_uninterpreted; } - if (input->ExpectTag(40)) goto parse_numVotesNeededToKick; + if (input->ExpectTag(32)) goto parse_numVotesNeededToKick; break; } - // required uint32 numVotesNeededToKick = 5; - case 5: { + // required uint32 numVotesNeededToKick = 4; + case 4: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_numVotesNeededToKick: @@ -18096,29 +17527,24 @@ bool KickPetitionUpdateMessage::MergePartialFromCodedStream( void KickPetitionUpdateMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { - // required uint32 gameId = 1; - if (has_gameid()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); - } - - // required uint32 petitionId = 2; + // required uint32 petitionId = 1; if (has_petitionid()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->petitionid(), output); + ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->petitionid(), output); } - // required uint32 numVotesAgainstKicking = 3; + // required uint32 numVotesAgainstKicking = 2; if (has_numvotesagainstkicking()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->numvotesagainstkicking(), output); + ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->numvotesagainstkicking(), output); } - // required uint32 numVotesInFavourOfKicking = 4; + // required uint32 numVotesInFavourOfKicking = 3; if (has_numvotesinfavourofkicking()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->numvotesinfavourofkicking(), output); + ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->numvotesinfavourofkicking(), output); } - // required uint32 numVotesNeededToKick = 5; + // required uint32 numVotesNeededToKick = 4; if (has_numvotesneededtokick()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(5, this->numvotesneededtokick(), output); + ::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->numvotesneededtokick(), output); } } @@ -18127,35 +17553,28 @@ int KickPetitionUpdateMessage::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - // required uint32 gameId = 1; - if (has_gameid()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt32Size( - this->gameid()); - } - - // required uint32 petitionId = 2; + // required uint32 petitionId = 1; if (has_petitionid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->petitionid()); } - // required uint32 numVotesAgainstKicking = 3; + // required uint32 numVotesAgainstKicking = 2; if (has_numvotesagainstkicking()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->numvotesagainstkicking()); } - // required uint32 numVotesInFavourOfKicking = 4; + // required uint32 numVotesInFavourOfKicking = 3; if (has_numvotesinfavourofkicking()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->numvotesinfavourofkicking()); } - // required uint32 numVotesNeededToKick = 5; + // required uint32 numVotesNeededToKick = 4; if (has_numvotesneededtokick()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( @@ -18177,9 +17596,6 @@ void KickPetitionUpdateMessage::CheckTypeAndMergeFrom( void KickPetitionUpdateMessage::MergeFrom(const KickPetitionUpdateMessage& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { - if (from.has_gameid()) { - set_gameid(from.gameid()); - } if (from.has_petitionid()) { set_petitionid(from.petitionid()); } @@ -18202,14 +17618,13 @@ void KickPetitionUpdateMessage::CopyFrom(const KickPetitionUpdateMessage& from) } bool KickPetitionUpdateMessage::IsInitialized() const { - if ((_has_bits_[0] & 0x0000001f) != 0x0000001f) return false; + if ((_has_bits_[0] & 0x0000000f) != 0x0000000f) return false; return true; } void KickPetitionUpdateMessage::Swap(KickPetitionUpdateMessage* other) { if (other != this) { - std::swap(gameid_, other->gameid_); std::swap(petitionid_, other->petitionid_); std::swap(numvotesagainstkicking_, other->numvotesagainstkicking_); std::swap(numvotesinfavourofkicking_, other->numvotesinfavourofkicking_); @@ -18248,7 +17663,6 @@ const EndKickPetitionMessage_PetitionEndReason EndKickPetitionMessage::PetitionE const int EndKickPetitionMessage::PetitionEndReason_ARRAYSIZE; #endif // _MSC_VER #ifndef _MSC_VER -const int EndKickPetitionMessage::kGameIdFieldNumber; const int EndKickPetitionMessage::kPetitionIdFieldNumber; const int EndKickPetitionMessage::kNumVotesAgainstKickingFieldNumber; const int EndKickPetitionMessage::kNumVotesInFavourOfKickingFieldNumber; @@ -18272,7 +17686,6 @@ EndKickPetitionMessage::EndKickPetitionMessage(const EndKickPetitionMessage& fro void EndKickPetitionMessage::SharedCtor() { _cached_size_ = 0; - gameid_ = 0u; petitionid_ = 0u; numvotesagainstkicking_ = 0u; numvotesinfavourofkicking_ = 0u; @@ -18316,7 +17729,6 @@ EndKickPetitionMessage* EndKickPetitionMessage::New() const { void EndKickPetitionMessage::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - gameid_ = 0u; petitionid_ = 0u; numvotesagainstkicking_ = 0u; numvotesinfavourofkicking_ = 0u; @@ -18332,26 +17744,10 @@ bool EndKickPetitionMessage::MergePartialFromCodedStream( ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // required uint32 gameId = 1; + // required uint32 petitionId = 1; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( - input, &gameid_))); - set_has_gameid(); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(16)) goto parse_petitionId; - break; - } - - // required uint32 petitionId = 2; - case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { - parse_petitionId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &petitionid_))); @@ -18359,12 +17755,12 @@ bool EndKickPetitionMessage::MergePartialFromCodedStream( } else { goto handle_uninterpreted; } - if (input->ExpectTag(24)) goto parse_numVotesAgainstKicking; + if (input->ExpectTag(16)) goto parse_numVotesAgainstKicking; break; } - // required uint32 numVotesAgainstKicking = 3; - case 3: { + // required uint32 numVotesAgainstKicking = 2; + case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_numVotesAgainstKicking: @@ -18375,12 +17771,12 @@ bool EndKickPetitionMessage::MergePartialFromCodedStream( } else { goto handle_uninterpreted; } - if (input->ExpectTag(32)) goto parse_numVotesInFavourOfKicking; + if (input->ExpectTag(24)) goto parse_numVotesInFavourOfKicking; break; } - // required uint32 numVotesInFavourOfKicking = 4; - case 4: { + // required uint32 numVotesInFavourOfKicking = 3; + case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_numVotesInFavourOfKicking: @@ -18391,12 +17787,12 @@ bool EndKickPetitionMessage::MergePartialFromCodedStream( } else { goto handle_uninterpreted; } - if (input->ExpectTag(40)) goto parse_resultPlayerKicked; + if (input->ExpectTag(32)) goto parse_resultPlayerKicked; break; } - // required uint32 resultPlayerKicked = 5; - case 5: { + // required uint32 resultPlayerKicked = 4; + case 4: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_resultPlayerKicked: @@ -18407,12 +17803,12 @@ bool EndKickPetitionMessage::MergePartialFromCodedStream( } else { goto handle_uninterpreted; } - if (input->ExpectTag(48)) goto parse_petitionEndReason; + if (input->ExpectTag(40)) goto parse_petitionEndReason; break; } - // required .EndKickPetitionMessage.PetitionEndReason petitionEndReason = 6; - case 6: { + // required .EndKickPetitionMessage.PetitionEndReason petitionEndReason = 5; + case 5: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_petitionEndReason: @@ -18447,35 +17843,30 @@ bool EndKickPetitionMessage::MergePartialFromCodedStream( void EndKickPetitionMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { - // required uint32 gameId = 1; - if (has_gameid()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); - } - - // required uint32 petitionId = 2; + // required uint32 petitionId = 1; if (has_petitionid()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->petitionid(), output); + ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->petitionid(), output); } - // required uint32 numVotesAgainstKicking = 3; + // required uint32 numVotesAgainstKicking = 2; if (has_numvotesagainstkicking()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->numvotesagainstkicking(), output); + ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->numvotesagainstkicking(), output); } - // required uint32 numVotesInFavourOfKicking = 4; + // required uint32 numVotesInFavourOfKicking = 3; if (has_numvotesinfavourofkicking()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->numvotesinfavourofkicking(), output); + ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->numvotesinfavourofkicking(), output); } - // required uint32 resultPlayerKicked = 5; + // required uint32 resultPlayerKicked = 4; if (has_resultplayerkicked()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(5, this->resultplayerkicked(), output); + ::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->resultplayerkicked(), output); } - // required .EndKickPetitionMessage.PetitionEndReason petitionEndReason = 6; + // required .EndKickPetitionMessage.PetitionEndReason petitionEndReason = 5; if (has_petitionendreason()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( - 6, this->petitionendreason(), output); + 5, this->petitionendreason(), output); } } @@ -18484,42 +17875,35 @@ int EndKickPetitionMessage::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - // required uint32 gameId = 1; - if (has_gameid()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt32Size( - this->gameid()); - } - - // required uint32 petitionId = 2; + // required uint32 petitionId = 1; if (has_petitionid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->petitionid()); } - // required uint32 numVotesAgainstKicking = 3; + // required uint32 numVotesAgainstKicking = 2; if (has_numvotesagainstkicking()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->numvotesagainstkicking()); } - // required uint32 numVotesInFavourOfKicking = 4; + // required uint32 numVotesInFavourOfKicking = 3; if (has_numvotesinfavourofkicking()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->numvotesinfavourofkicking()); } - // required uint32 resultPlayerKicked = 5; + // required uint32 resultPlayerKicked = 4; if (has_resultplayerkicked()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->resultplayerkicked()); } - // required .EndKickPetitionMessage.PetitionEndReason petitionEndReason = 6; + // required .EndKickPetitionMessage.PetitionEndReason petitionEndReason = 5; if (has_petitionendreason()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->petitionendreason()); @@ -18540,9 +17924,6 @@ void EndKickPetitionMessage::CheckTypeAndMergeFrom( void EndKickPetitionMessage::MergeFrom(const EndKickPetitionMessage& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { - if (from.has_gameid()) { - set_gameid(from.gameid()); - } if (from.has_petitionid()) { set_petitionid(from.petitionid()); } @@ -18568,14 +17949,13 @@ void EndKickPetitionMessage::CopyFrom(const EndKickPetitionMessage& from) { } bool EndKickPetitionMessage::IsInitialized() const { - if ((_has_bits_[0] & 0x0000003f) != 0x0000003f) return false; + if ((_has_bits_[0] & 0x0000001f) != 0x0000001f) return false; return true; } void EndKickPetitionMessage::Swap(EndKickPetitionMessage* other) { if (other != this) { - std::swap(gameid_, other->gameid_); std::swap(petitionid_, other->petitionid_); std::swap(numvotesagainstkicking_, other->numvotesagainstkicking_); std::swap(numvotesinfavourofkicking_, other->numvotesinfavourofkicking_); @@ -18978,7 +18358,6 @@ void StatisticsMessage::Swap(StatisticsMessage* other) { // =================================================================== #ifndef _MSC_VER -const int ChatRequestMessage::kTargetGameIdFieldNumber; const int ChatRequestMessage::kTargetPlayerIdFieldNumber; const int ChatRequestMessage::kChatTextFieldNumber; #endif // !_MSC_VER @@ -18999,7 +18378,6 @@ ChatRequestMessage::ChatRequestMessage(const ChatRequestMessage& from) void ChatRequestMessage::SharedCtor() { _cached_size_ = 0; - targetgameid_ = 0u; targetplayerid_ = 0u; chattext_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); ::memset(_has_bits_, 0, sizeof(_has_bits_)); @@ -19043,7 +18421,6 @@ ChatRequestMessage* ChatRequestMessage::New() const { void ChatRequestMessage::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - targetgameid_ = 0u; targetplayerid_ = 0u; if (has_chattext()) { if (chattext_ != &::google::protobuf::internal::kEmptyString) { @@ -19060,26 +18437,10 @@ bool ChatRequestMessage::MergePartialFromCodedStream( ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { 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) { - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( - input, &targetgameid_))); - set_has_targetgameid(); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(16)) goto parse_targetPlayerId; - break; - } - // optional uint32 targetPlayerId = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { - parse_targetPlayerId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &targetplayerid_))); @@ -19122,11 +18483,6 @@ bool ChatRequestMessage::MergePartialFromCodedStream( void ChatRequestMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { - // optional uint32 targetGameId = 1; - if (has_targetgameid()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->targetgameid(), output); - } - // optional uint32 targetPlayerId = 2; if (has_targetplayerid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->targetplayerid(), output); @@ -19144,13 +18500,6 @@ int ChatRequestMessage::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - // optional uint32 targetGameId = 1; - if (has_targetgameid()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt32Size( - this->targetgameid()); - } - // optional uint32 targetPlayerId = 2; if (has_targetplayerid()) { total_size += 1 + @@ -19180,9 +18529,6 @@ void ChatRequestMessage::CheckTypeAndMergeFrom( void ChatRequestMessage::MergeFrom(const ChatRequestMessage& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { - if (from.has_targetgameid()) { - set_targetgameid(from.targetgameid()); - } if (from.has_targetplayerid()) { set_targetplayerid(from.targetplayerid()); } @@ -19199,14 +18545,13 @@ void ChatRequestMessage::CopyFrom(const ChatRequestMessage& from) { } bool ChatRequestMessage::IsInitialized() const { - if ((_has_bits_[0] & 0x00000004) != 0x00000004) return false; + if ((_has_bits_[0] & 0x00000002) != 0x00000002) return false; return true; } void ChatRequestMessage::Swap(ChatRequestMessage* other) { if (other != this) { - std::swap(targetgameid_, other->targetgameid_); std::swap(targetplayerid_, other->targetplayerid_); std::swap(chattext_, other->chattext_); std::swap(_has_bits_[0], other->_has_bits_[0]); @@ -19227,7 +18572,6 @@ bool ChatMessage_ChatType_IsValid(int value) { case 1: case 2: case 3: - case 4: return true; default: return false; @@ -19235,8 +18579,7 @@ bool ChatMessage_ChatType_IsValid(int value) { } #ifndef _MSC_VER -const ChatMessage_ChatType ChatMessage::chatTypeLobby; -const ChatMessage_ChatType ChatMessage::chatTypeGame; +const ChatMessage_ChatType ChatMessage::chatTypeStandard; const ChatMessage_ChatType ChatMessage::chatTypeBot; const ChatMessage_ChatType ChatMessage::chatTypeBroadcast; const ChatMessage_ChatType ChatMessage::chatTypePrivate; @@ -19245,7 +18588,6 @@ const ChatMessage_ChatType ChatMessage::ChatType_MAX; const int ChatMessage::ChatType_ARRAYSIZE; #endif // _MSC_VER #ifndef _MSC_VER -const int ChatMessage::kGameIdFieldNumber; const int ChatMessage::kPlayerIdFieldNumber; const int ChatMessage::kChatTypeFieldNumber; const int ChatMessage::kChatTextFieldNumber; @@ -19267,7 +18609,6 @@ ChatMessage::ChatMessage(const ChatMessage& from) void ChatMessage::SharedCtor() { _cached_size_ = 0; - gameid_ = 0u; playerid_ = 0u; chattype_ = 0; chattext_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); @@ -19312,7 +18653,6 @@ ChatMessage* ChatMessage::New() const { void ChatMessage::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - gameid_ = 0u; playerid_ = 0u; chattype_ = 0; if (has_chattext()) { @@ -19330,26 +18670,10 @@ bool ChatMessage::MergePartialFromCodedStream( ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // optional uint32 gameId = 1; + // optional uint32 playerId = 1; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( - input, &gameid_))); - set_has_gameid(); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(16)) goto parse_playerId; - break; - } - - // optional uint32 playerId = 2; - case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { - parse_playerId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &playerid_))); @@ -19357,12 +18681,12 @@ bool ChatMessage::MergePartialFromCodedStream( } else { goto handle_uninterpreted; } - if (input->ExpectTag(24)) goto parse_chatType; + if (input->ExpectTag(16)) goto parse_chatType; break; } - // required .ChatMessage.ChatType chatType = 3; - case 3: { + // required .ChatMessage.ChatType chatType = 2; + case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_chatType: @@ -19376,12 +18700,12 @@ bool ChatMessage::MergePartialFromCodedStream( } else { goto handle_uninterpreted; } - if (input->ExpectTag(34)) goto parse_chatText; + if (input->ExpectTag(26)) goto parse_chatText; break; } - // required string chatText = 4; - case 4: { + // required string chatText = 3; + case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { parse_chatText: @@ -19411,26 +18735,21 @@ bool ChatMessage::MergePartialFromCodedStream( void ChatMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { - // optional uint32 gameId = 1; - if (has_gameid()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); - } - - // optional uint32 playerId = 2; + // optional uint32 playerId = 1; if (has_playerid()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->playerid(), output); + ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->playerid(), output); } - // required .ChatMessage.ChatType chatType = 3; + // required .ChatMessage.ChatType chatType = 2; if (has_chattype()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( - 3, this->chattype(), output); + 2, this->chattype(), output); } - // required string chatText = 4; + // required string chatText = 3; if (has_chattext()) { ::google::protobuf::internal::WireFormatLite::WriteString( - 4, this->chattext(), output); + 3, this->chattext(), output); } } @@ -19439,27 +18758,20 @@ int ChatMessage::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - // optional uint32 gameId = 1; - if (has_gameid()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt32Size( - this->gameid()); - } - - // optional uint32 playerId = 2; + // optional uint32 playerId = 1; if (has_playerid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->playerid()); } - // required .ChatMessage.ChatType chatType = 3; + // required .ChatMessage.ChatType chatType = 2; if (has_chattype()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->chattype()); } - // required string chatText = 4; + // required string chatText = 3; if (has_chattext()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( @@ -19481,9 +18793,6 @@ void ChatMessage::CheckTypeAndMergeFrom( void ChatMessage::MergeFrom(const ChatMessage& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { - if (from.has_gameid()) { - set_gameid(from.gameid()); - } if (from.has_playerid()) { set_playerid(from.playerid()); } @@ -19503,14 +18812,13 @@ void ChatMessage::CopyFrom(const ChatMessage& from) { } bool ChatMessage::IsInitialized() const { - if ((_has_bits_[0] & 0x0000000c) != 0x0000000c) return false; + if ((_has_bits_[0] & 0x00000006) != 0x00000006) return false; return true; } void ChatMessage::Swap(ChatMessage* other) { if (other != this) { - std::swap(gameid_, other->gameid_); std::swap(playerid_, other->playerid_); std::swap(chattype_, other->chattype_); std::swap(chattext_, other->chattext_); @@ -22048,7 +21356,431 @@ void AdminBanPlayerAckMessage::Swap(AdminBanPlayerAckMessage* other) { // =================================================================== -bool PokerTHMessage_PokerTHMessageType_IsValid(int value) { +bool AuthMessage_AuthMessageType_IsValid(int value) { + switch(value) { + case 1: + case 2: + case 3: + case 4: + case 1024: + return true; + default: + return false; + } +} + +#ifndef _MSC_VER +const AuthMessage_AuthMessageType AuthMessage::Type_AuthClientRequestMessage; +const AuthMessage_AuthMessageType AuthMessage::Type_AuthServerChallengeMessage; +const AuthMessage_AuthMessageType AuthMessage::Type_AuthClientResponseMessage; +const AuthMessage_AuthMessageType AuthMessage::Type_AuthServerVerificationMessage; +const AuthMessage_AuthMessageType AuthMessage::Type_ErrorMessage; +const AuthMessage_AuthMessageType AuthMessage::AuthMessageType_MIN; +const AuthMessage_AuthMessageType AuthMessage::AuthMessageType_MAX; +const int AuthMessage::AuthMessageType_ARRAYSIZE; +#endif // _MSC_VER +#ifndef _MSC_VER +const int AuthMessage::kMessageTypeFieldNumber; +const int AuthMessage::kAuthClientRequestMessageFieldNumber; +const int AuthMessage::kAuthServerChallengeMessageFieldNumber; +const int AuthMessage::kAuthClientResponseMessageFieldNumber; +const int AuthMessage::kAuthServerVerificationMessageFieldNumber; +const int AuthMessage::kErrorMessageFieldNumber; +#endif // !_MSC_VER + +AuthMessage::AuthMessage() + : ::google::protobuf::MessageLite() { + SharedCtor(); +} + +void AuthMessage::InitAsDefaultInstance() { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + authclientrequestmessage_ = const_cast< ::AuthClientRequestMessage*>( + ::AuthClientRequestMessage::internal_default_instance()); +#else + authclientrequestmessage_ = const_cast< ::AuthClientRequestMessage*>(&::AuthClientRequestMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + authserverchallengemessage_ = const_cast< ::AuthServerChallengeMessage*>( + ::AuthServerChallengeMessage::internal_default_instance()); +#else + authserverchallengemessage_ = const_cast< ::AuthServerChallengeMessage*>(&::AuthServerChallengeMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + authclientresponsemessage_ = const_cast< ::AuthClientResponseMessage*>( + ::AuthClientResponseMessage::internal_default_instance()); +#else + authclientresponsemessage_ = const_cast< ::AuthClientResponseMessage*>(&::AuthClientResponseMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + authserververificationmessage_ = const_cast< ::AuthServerVerificationMessage*>( + ::AuthServerVerificationMessage::internal_default_instance()); +#else + authserververificationmessage_ = const_cast< ::AuthServerVerificationMessage*>(&::AuthServerVerificationMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + errormessage_ = const_cast< ::ErrorMessage*>( + ::ErrorMessage::internal_default_instance()); +#else + errormessage_ = const_cast< ::ErrorMessage*>(&::ErrorMessage::default_instance()); +#endif +} + +AuthMessage::AuthMessage(const AuthMessage& from) + : ::google::protobuf::MessageLite() { + SharedCtor(); + MergeFrom(from); +} + +void AuthMessage::SharedCtor() { + _cached_size_ = 0; + messagetype_ = 1; + authclientrequestmessage_ = NULL; + authserverchallengemessage_ = NULL; + authclientresponsemessage_ = NULL; + authserververificationmessage_ = NULL; + errormessage_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +AuthMessage::~AuthMessage() { + SharedDtor(); +} + +void AuthMessage::SharedDtor() { + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else + if (this != default_instance_) { + #endif + delete authclientrequestmessage_; + delete authserverchallengemessage_; + delete authclientresponsemessage_; + delete authserververificationmessage_; + delete errormessage_; + } +} + +void AuthMessage::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const AuthMessage& AuthMessage::default_instance() { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; +} + +AuthMessage* AuthMessage::default_instance_ = NULL; + +AuthMessage* AuthMessage::New() const { + return new AuthMessage; +} + +void AuthMessage::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + messagetype_ = 1; + if (has_authclientrequestmessage()) { + if (authclientrequestmessage_ != NULL) authclientrequestmessage_->::AuthClientRequestMessage::Clear(); + } + if (has_authserverchallengemessage()) { + if (authserverchallengemessage_ != NULL) authserverchallengemessage_->::AuthServerChallengeMessage::Clear(); + } + if (has_authclientresponsemessage()) { + if (authclientresponsemessage_ != NULL) authclientresponsemessage_->::AuthClientResponseMessage::Clear(); + } + if (has_authserververificationmessage()) { + if (authserververificationmessage_ != NULL) authserververificationmessage_->::AuthServerVerificationMessage::Clear(); + } + if (has_errormessage()) { + if (errormessage_ != NULL) errormessage_->::ErrorMessage::Clear(); + } + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +bool AuthMessage::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!(EXPRESSION)) return false + ::google::protobuf::uint32 tag; + while ((tag = input->ReadTag()) != 0) { + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // required .AuthMessage.AuthMessageType messageType = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + int value; + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( + input, &value))); + if (::AuthMessage_AuthMessageType_IsValid(value)) { + set_messagetype(static_cast< ::AuthMessage_AuthMessageType >(value)); + } + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(18)) goto parse_authClientRequestMessage; + break; + } + + // optional .AuthClientRequestMessage authClientRequestMessage = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_authClientRequestMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_authclientrequestmessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(26)) goto parse_authServerChallengeMessage; + break; + } + + // optional .AuthServerChallengeMessage authServerChallengeMessage = 3; + case 3: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_authServerChallengeMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_authserverchallengemessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(34)) goto parse_authClientResponseMessage; + break; + } + + // optional .AuthClientResponseMessage authClientResponseMessage = 4; + case 4: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_authClientResponseMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_authclientresponsemessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(42)) goto parse_authServerVerificationMessage; + break; + } + + // optional .AuthServerVerificationMessage authServerVerificationMessage = 5; + case 5: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_authServerVerificationMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_authserververificationmessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(8202)) goto parse_errorMessage; + break; + } + + // optional .ErrorMessage errorMessage = 1025; + case 1025: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_errorMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_errormessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectAtEnd()) return true; + break; + } + + default: { + handle_uninterpreted: + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { + return true; + } + DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + break; + } + } + } + return true; +#undef DO_ +} + +void AuthMessage::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // required .AuthMessage.AuthMessageType messageType = 1; + if (has_messagetype()) { + ::google::protobuf::internal::WireFormatLite::WriteEnum( + 1, this->messagetype(), output); + } + + // optional .AuthClientRequestMessage authClientRequestMessage = 2; + if (has_authclientrequestmessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 2, this->authclientrequestmessage(), output); + } + + // optional .AuthServerChallengeMessage authServerChallengeMessage = 3; + if (has_authserverchallengemessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 3, this->authserverchallengemessage(), output); + } + + // optional .AuthClientResponseMessage authClientResponseMessage = 4; + if (has_authclientresponsemessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 4, this->authclientresponsemessage(), output); + } + + // optional .AuthServerVerificationMessage authServerVerificationMessage = 5; + if (has_authserververificationmessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 5, this->authserververificationmessage(), output); + } + + // optional .ErrorMessage errorMessage = 1025; + if (has_errormessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 1025, this->errormessage(), output); + } + +} + +int AuthMessage::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // required .AuthMessage.AuthMessageType messageType = 1; + if (has_messagetype()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::EnumSize(this->messagetype()); + } + + // optional .AuthClientRequestMessage authClientRequestMessage = 2; + if (has_authclientrequestmessage()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->authclientrequestmessage()); + } + + // optional .AuthServerChallengeMessage authServerChallengeMessage = 3; + if (has_authserverchallengemessage()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->authserverchallengemessage()); + } + + // optional .AuthClientResponseMessage authClientResponseMessage = 4; + if (has_authclientresponsemessage()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->authclientresponsemessage()); + } + + // optional .AuthServerVerificationMessage authServerVerificationMessage = 5; + if (has_authserververificationmessage()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->authserververificationmessage()); + } + + // optional .ErrorMessage errorMessage = 1025; + if (has_errormessage()) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->errormessage()); + } + + } + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = total_size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); + return total_size; +} + +void AuthMessage::CheckTypeAndMergeFrom( + const ::google::protobuf::MessageLite& from) { + MergeFrom(*::google::protobuf::down_cast(&from)); +} + +void AuthMessage::MergeFrom(const AuthMessage& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_messagetype()) { + set_messagetype(from.messagetype()); + } + if (from.has_authclientrequestmessage()) { + mutable_authclientrequestmessage()->::AuthClientRequestMessage::MergeFrom(from.authclientrequestmessage()); + } + if (from.has_authserverchallengemessage()) { + mutable_authserverchallengemessage()->::AuthServerChallengeMessage::MergeFrom(from.authserverchallengemessage()); + } + if (from.has_authclientresponsemessage()) { + mutable_authclientresponsemessage()->::AuthClientResponseMessage::MergeFrom(from.authclientresponsemessage()); + } + if (from.has_authserververificationmessage()) { + mutable_authserververificationmessage()->::AuthServerVerificationMessage::MergeFrom(from.authserververificationmessage()); + } + if (from.has_errormessage()) { + mutable_errormessage()->::ErrorMessage::MergeFrom(from.errormessage()); + } + } +} + +void AuthMessage::CopyFrom(const AuthMessage& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool AuthMessage::IsInitialized() const { + if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false; + + if (has_authclientrequestmessage()) { + if (!this->authclientrequestmessage().IsInitialized()) return false; + } + if (has_authserverchallengemessage()) { + if (!this->authserverchallengemessage().IsInitialized()) return false; + } + if (has_authclientresponsemessage()) { + if (!this->authclientresponsemessage().IsInitialized()) return false; + } + if (has_authserververificationmessage()) { + if (!this->authserververificationmessage().IsInitialized()) return false; + } + if (has_errormessage()) { + if (!this->errormessage().IsInitialized()) return false; + } + return true; +} + +void AuthMessage::Swap(AuthMessage* other) { + if (other != this) { + std::swap(messagetype_, other->messagetype_); + std::swap(authclientrequestmessage_, other->authclientrequestmessage_); + std::swap(authserverchallengemessage_, other->authserverchallengemessage_); + std::swap(authclientresponsemessage_, other->authclientresponsemessage_); + std::swap(authserververificationmessage_, other->authserververificationmessage_); + std::swap(errormessage_, other->errormessage_); + std::swap(_has_bits_[0], other->_has_bits_[0]); + std::swap(_cached_size_, other->_cached_size_); + } +} + +::std::string AuthMessage::GetTypeName() const { + return "AuthMessage"; +} + + +// =================================================================== + +bool LobbyMessage_LobbyMessageType_IsValid(int value) { switch(value) { case 1: case 2: @@ -22090,47 +21822,7 @@ bool PokerTHMessage_PokerTHMessageType_IsValid(int value) { case 38: case 39: case 40: - case 41: - case 42: - case 43: - case 44: - case 45: - case 46: - case 47: - case 48: - case 49: - case 50: - case 51: - case 52: - case 53: - case 54: - case 55: - case 56: - case 57: - case 58: - case 59: - case 60: - case 61: - case 62: - case 63: - case 64: - case 65: - case 66: - case 67: - case 68: - case 69: - case 70: - case 71: - case 72: - case 73: - case 74: - case 75: - case 76: - case 77: - case 78: - case 79: - case 80: - case 81: + case 1024: return true; default: return false; @@ -22138,212 +21830,108 @@ bool PokerTHMessage_PokerTHMessageType_IsValid(int value) { } #ifndef _MSC_VER -const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_AnnounceMessage; -const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_InitMessage; -const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_AuthServerChallengeMessage; -const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_AuthClientResponseMessage; -const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_AuthServerVerificationMessage; -const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_InitAckMessage; -const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_AvatarRequestMessage; -const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_AvatarHeaderMessage; -const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_AvatarDataMessage; -const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_AvatarEndMessage; -const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_UnknownAvatarMessage; -const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_PlayerListMessage; -const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_GameListNewMessage; -const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_GameListUpdateMessage; -const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_GameListPlayerJoinedMessage; -const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_GameListPlayerLeftMessage; -const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_GameListAdminChangedMessage; -const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_PlayerInfoRequestMessage; -const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_PlayerInfoReplyMessage; -const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_SubscriptionRequestMessage; -const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_JoinExistingGameMessage; -const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_JoinNewGameMessage; -const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_RejoinExistingGameMessage; -const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_JoinGameAckMessage; -const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_JoinGameFailedMessage; -const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_GamePlayerJoinedMessage; -const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_GamePlayerLeftMessage; -const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_GameAdminChangedMessage; -const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_RemovedFromGameMessage; -const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_KickPlayerRequestMessage; -const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_LeaveGameRequestMessage; -const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_InvitePlayerToGameMessage; -const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_InviteNotifyMessage; -const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_RejectGameInvitationMessage; -const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_RejectInvNotifyMessage; -const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_StartEventMessage; -const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_StartEventAckMessage; -const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_GameStartInitialMessage; -const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_GameStartRejoinMessage; -const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_HandStartMessage; -const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_PlayersTurnMessage; -const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_MyActionRequestMessage; -const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_YourActionRejectedMessage; -const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_PlayersActionDoneMessage; -const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_DealFlopCardsMessage; -const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_DealTurnCardMessage; -const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_DealRiverCardMessage; -const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_AllInShowCardsMessage; -const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_EndOfHandShowCardsMessage; -const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_EndOfHandHideCardsMessage; -const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_ShowMyCardsRequestMessage; -const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_AfterHandShowCardsMessage; -const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_EndOfGameMessage; -const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_PlayerIdChangedMessage; -const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_AskKickPlayerMessage; -const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_AskKickDeniedMessage; -const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_StartKickPetitionMessage; -const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_VoteKickRequestMessage; -const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_VoteKickReplyMessage; -const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_KickPetitionUpdateMessage; -const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_EndKickPetitionMessage; -const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_StatisticsMessage; -const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_ChatRequestMessage; -const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_ChatMessage; -const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_ChatRejectMessage; -const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_DialogMessage; -const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_TimeoutWarningMessage; -const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_ResetTimeoutMessage; -const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_ReportAvatarMessage; -const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_ReportAvatarAckMessage; -const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_ReportGameMessage; -const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_ReportGameAckMessage; -const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_ErrorMessage; -const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_AdminRemoveGameMessage; -const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_AdminRemoveGameAckMessage; -const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_AdminBanPlayerMessage; -const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_AdminBanPlayerAckMessage; -const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_GameListSpectatorJoinedMessage; -const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_GameListSpectatorLeftMessage; -const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_GameSpectatorJoinedMessage; -const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_GameSpectatorLeftMessage; -const PokerTHMessage_PokerTHMessageType PokerTHMessage::PokerTHMessageType_MIN; -const PokerTHMessage_PokerTHMessageType PokerTHMessage::PokerTHMessageType_MAX; -const int PokerTHMessage::PokerTHMessageType_ARRAYSIZE; +const LobbyMessage_LobbyMessageType LobbyMessage::Type_InitMessage; +const LobbyMessage_LobbyMessageType LobbyMessage::Type_InitAckMessage; +const LobbyMessage_LobbyMessageType LobbyMessage::Type_AvatarRequestMessage; +const LobbyMessage_LobbyMessageType LobbyMessage::Type_AvatarHeaderMessage; +const LobbyMessage_LobbyMessageType LobbyMessage::Type_AvatarDataMessage; +const LobbyMessage_LobbyMessageType LobbyMessage::Type_AvatarEndMessage; +const LobbyMessage_LobbyMessageType LobbyMessage::Type_UnknownAvatarMessage; +const LobbyMessage_LobbyMessageType LobbyMessage::Type_PlayerListMessage; +const LobbyMessage_LobbyMessageType LobbyMessage::Type_GameListNewMessage; +const LobbyMessage_LobbyMessageType LobbyMessage::Type_GameListUpdateMessage; +const LobbyMessage_LobbyMessageType LobbyMessage::Type_GameListPlayerJoinedMessage; +const LobbyMessage_LobbyMessageType LobbyMessage::Type_GameListPlayerLeftMessage; +const LobbyMessage_LobbyMessageType LobbyMessage::Type_GameListSpectatorJoinedMessage; +const LobbyMessage_LobbyMessageType LobbyMessage::Type_GameListSpectatorLeftMessage; +const LobbyMessage_LobbyMessageType LobbyMessage::Type_GameListAdminChangedMessage; +const LobbyMessage_LobbyMessageType LobbyMessage::Type_PlayerInfoRequestMessage; +const LobbyMessage_LobbyMessageType LobbyMessage::Type_PlayerInfoReplyMessage; +const LobbyMessage_LobbyMessageType LobbyMessage::Type_SubscriptionRequestMessage; +const LobbyMessage_LobbyMessageType LobbyMessage::Type_SubscriptionReplyMessage; +const LobbyMessage_LobbyMessageType LobbyMessage::Type_CreateGameMessage; +const LobbyMessage_LobbyMessageType LobbyMessage::Type_CreateGameFailedMessage; +const LobbyMessage_LobbyMessageType LobbyMessage::Type_InvitePlayerToGameMessage; +const LobbyMessage_LobbyMessageType LobbyMessage::Type_InviteNotifyMessage; +const LobbyMessage_LobbyMessageType LobbyMessage::Type_RejectGameInvitationMessage; +const LobbyMessage_LobbyMessageType LobbyMessage::Type_RejectInvNotifyMessage; +const LobbyMessage_LobbyMessageType LobbyMessage::Type_StatisticsMessage; +const LobbyMessage_LobbyMessageType LobbyMessage::Type_ChatRequestMessage; +const LobbyMessage_LobbyMessageType LobbyMessage::Type_ChatMessage; +const LobbyMessage_LobbyMessageType LobbyMessage::Type_ChatRejectMessage; +const LobbyMessage_LobbyMessageType LobbyMessage::Type_DialogMessage; +const LobbyMessage_LobbyMessageType LobbyMessage::Type_TimeoutWarningMessage; +const LobbyMessage_LobbyMessageType LobbyMessage::Type_ResetTimeoutMessage; +const LobbyMessage_LobbyMessageType LobbyMessage::Type_ReportAvatarMessage; +const LobbyMessage_LobbyMessageType LobbyMessage::Type_ReportAvatarAckMessage; +const LobbyMessage_LobbyMessageType LobbyMessage::Type_ReportGameMessage; +const LobbyMessage_LobbyMessageType LobbyMessage::Type_ReportGameAckMessage; +const LobbyMessage_LobbyMessageType LobbyMessage::Type_AdminRemoveGameMessage; +const LobbyMessage_LobbyMessageType LobbyMessage::Type_AdminRemoveGameAckMessage; +const LobbyMessage_LobbyMessageType LobbyMessage::Type_AdminBanPlayerMessage; +const LobbyMessage_LobbyMessageType LobbyMessage::Type_AdminBanPlayerAckMessage; +const LobbyMessage_LobbyMessageType LobbyMessage::Type_ErrorMessage; +const LobbyMessage_LobbyMessageType LobbyMessage::LobbyMessageType_MIN; +const LobbyMessage_LobbyMessageType LobbyMessage::LobbyMessageType_MAX; +const int LobbyMessage::LobbyMessageType_ARRAYSIZE; #endif // _MSC_VER #ifndef _MSC_VER -const int PokerTHMessage::kMessageTypeFieldNumber; -const int PokerTHMessage::kAnnounceMessageFieldNumber; -const int PokerTHMessage::kInitMessageFieldNumber; -const int PokerTHMessage::kAuthServerChallengeMessageFieldNumber; -const int PokerTHMessage::kAuthClientResponseMessageFieldNumber; -const int PokerTHMessage::kAuthServerVerificationMessageFieldNumber; -const int PokerTHMessage::kInitAckMessageFieldNumber; -const int PokerTHMessage::kAvatarRequestMessageFieldNumber; -const int PokerTHMessage::kAvatarHeaderMessageFieldNumber; -const int PokerTHMessage::kAvatarDataMessageFieldNumber; -const int PokerTHMessage::kAvatarEndMessageFieldNumber; -const int PokerTHMessage::kUnknownAvatarMessageFieldNumber; -const int PokerTHMessage::kPlayerListMessageFieldNumber; -const int PokerTHMessage::kGameListNewMessageFieldNumber; -const int PokerTHMessage::kGameListUpdateMessageFieldNumber; -const int PokerTHMessage::kGameListPlayerJoinedMessageFieldNumber; -const int PokerTHMessage::kGameListPlayerLeftMessageFieldNumber; -const int PokerTHMessage::kGameListAdminChangedMessageFieldNumber; -const int PokerTHMessage::kPlayerInfoRequestMessageFieldNumber; -const int PokerTHMessage::kPlayerInfoReplyMessageFieldNumber; -const int PokerTHMessage::kSubscriptionRequestMessageFieldNumber; -const int PokerTHMessage::kJoinExistingGameMessageFieldNumber; -const int PokerTHMessage::kJoinNewGameMessageFieldNumber; -const int PokerTHMessage::kRejoinExistingGameMessageFieldNumber; -const int PokerTHMessage::kJoinGameAckMessageFieldNumber; -const int PokerTHMessage::kJoinGameFailedMessageFieldNumber; -const int PokerTHMessage::kGamePlayerJoinedMessageFieldNumber; -const int PokerTHMessage::kGamePlayerLeftMessageFieldNumber; -const int PokerTHMessage::kGameAdminChangedMessageFieldNumber; -const int PokerTHMessage::kRemovedFromGameMessageFieldNumber; -const int PokerTHMessage::kKickPlayerRequestMessageFieldNumber; -const int PokerTHMessage::kLeaveGameRequestMessageFieldNumber; -const int PokerTHMessage::kInvitePlayerToGameMessageFieldNumber; -const int PokerTHMessage::kInviteNotifyMessageFieldNumber; -const int PokerTHMessage::kRejectGameInvitationMessageFieldNumber; -const int PokerTHMessage::kRejectInvNotifyMessageFieldNumber; -const int PokerTHMessage::kStartEventMessageFieldNumber; -const int PokerTHMessage::kStartEventAckMessageFieldNumber; -const int PokerTHMessage::kGameStartInitialMessageFieldNumber; -const int PokerTHMessage::kGameStartRejoinMessageFieldNumber; -const int PokerTHMessage::kHandStartMessageFieldNumber; -const int PokerTHMessage::kPlayersTurnMessageFieldNumber; -const int PokerTHMessage::kMyActionRequestMessageFieldNumber; -const int PokerTHMessage::kYourActionRejectedMessageFieldNumber; -const int PokerTHMessage::kPlayersActionDoneMessageFieldNumber; -const int PokerTHMessage::kDealFlopCardsMessageFieldNumber; -const int PokerTHMessage::kDealTurnCardMessageFieldNumber; -const int PokerTHMessage::kDealRiverCardMessageFieldNumber; -const int PokerTHMessage::kAllInShowCardsMessageFieldNumber; -const int PokerTHMessage::kEndOfHandShowCardsMessageFieldNumber; -const int PokerTHMessage::kEndOfHandHideCardsMessageFieldNumber; -const int PokerTHMessage::kShowMyCardsRequestMessageFieldNumber; -const int PokerTHMessage::kAfterHandShowCardsMessageFieldNumber; -const int PokerTHMessage::kEndOfGameMessageFieldNumber; -const int PokerTHMessage::kPlayerIdChangedMessageFieldNumber; -const int PokerTHMessage::kAskKickPlayerMessageFieldNumber; -const int PokerTHMessage::kAskKickDeniedMessageFieldNumber; -const int PokerTHMessage::kStartKickPetitionMessageFieldNumber; -const int PokerTHMessage::kVoteKickRequestMessageFieldNumber; -const int PokerTHMessage::kVoteKickReplyMessageFieldNumber; -const int PokerTHMessage::kKickPetitionUpdateMessageFieldNumber; -const int PokerTHMessage::kEndKickPetitionMessageFieldNumber; -const int PokerTHMessage::kStatisticsMessageFieldNumber; -const int PokerTHMessage::kChatRequestMessageFieldNumber; -const int PokerTHMessage::kChatMessageFieldNumber; -const int PokerTHMessage::kChatRejectMessageFieldNumber; -const int PokerTHMessage::kDialogMessageFieldNumber; -const int PokerTHMessage::kTimeoutWarningMessageFieldNumber; -const int PokerTHMessage::kResetTimeoutMessageFieldNumber; -const int PokerTHMessage::kReportAvatarMessageFieldNumber; -const int PokerTHMessage::kReportAvatarAckMessageFieldNumber; -const int PokerTHMessage::kReportGameMessageFieldNumber; -const int PokerTHMessage::kReportGameAckMessageFieldNumber; -const int PokerTHMessage::kErrorMessageFieldNumber; -const int PokerTHMessage::kAdminRemoveGameMessageFieldNumber; -const int PokerTHMessage::kAdminRemoveGameAckMessageFieldNumber; -const int PokerTHMessage::kAdminBanPlayerMessageFieldNumber; -const int PokerTHMessage::kAdminBanPlayerAckMessageFieldNumber; -const int PokerTHMessage::kGameListSpectatorJoinedMessageFieldNumber; -const int PokerTHMessage::kGameListSpectatorLeftMessageFieldNumber; -const int PokerTHMessage::kGameSpectatorJoinedMessageFieldNumber; -const int PokerTHMessage::kGameSpectatorLeftMessageFieldNumber; +const int LobbyMessage::kMessageTypeFieldNumber; +const int LobbyMessage::kInitMessageFieldNumber; +const int LobbyMessage::kInitAckMessageFieldNumber; +const int LobbyMessage::kAvatarRequestMessageFieldNumber; +const int LobbyMessage::kAvatarHeaderMessageFieldNumber; +const int LobbyMessage::kAvatarDataMessageFieldNumber; +const int LobbyMessage::kAvatarEndMessageFieldNumber; +const int LobbyMessage::kUnknownAvatarMessageFieldNumber; +const int LobbyMessage::kPlayerListMessageFieldNumber; +const int LobbyMessage::kGameListNewMessageFieldNumber; +const int LobbyMessage::kGameListUpdateMessageFieldNumber; +const int LobbyMessage::kGameListPlayerJoinedMessageFieldNumber; +const int LobbyMessage::kGameListPlayerLeftMessageFieldNumber; +const int LobbyMessage::kGameListSpectatorJoinedMessageFieldNumber; +const int LobbyMessage::kGameListSpectatorLeftMessageFieldNumber; +const int LobbyMessage::kGameListAdminChangedMessageFieldNumber; +const int LobbyMessage::kPlayerInfoRequestMessageFieldNumber; +const int LobbyMessage::kPlayerInfoReplyMessageFieldNumber; +const int LobbyMessage::kSubscriptionRequestMessageFieldNumber; +const int LobbyMessage::kSubscriptionReplyMessageFieldNumber; +const int LobbyMessage::kCreateGameMessageFieldNumber; +const int LobbyMessage::kCreateGameFailedMessageFieldNumber; +const int LobbyMessage::kInvitePlayerToGameMessageFieldNumber; +const int LobbyMessage::kInviteNotifyMessageFieldNumber; +const int LobbyMessage::kRejectGameInvitationMessageFieldNumber; +const int LobbyMessage::kRejectInvNotifyMessageFieldNumber; +const int LobbyMessage::kStatisticsMessageFieldNumber; +const int LobbyMessage::kChatRequestMessageFieldNumber; +const int LobbyMessage::kChatMessageFieldNumber; +const int LobbyMessage::kChatRejectMessageFieldNumber; +const int LobbyMessage::kDialogMessageFieldNumber; +const int LobbyMessage::kTimeoutWarningMessageFieldNumber; +const int LobbyMessage::kResetTimeoutMessageFieldNumber; +const int LobbyMessage::kReportAvatarMessageFieldNumber; +const int LobbyMessage::kReportAvatarAckMessageFieldNumber; +const int LobbyMessage::kReportGameMessageFieldNumber; +const int LobbyMessage::kReportGameAckMessageFieldNumber; +const int LobbyMessage::kAdminRemoveGameMessageFieldNumber; +const int LobbyMessage::kAdminRemoveGameAckMessageFieldNumber; +const int LobbyMessage::kAdminBanPlayerMessageFieldNumber; +const int LobbyMessage::kAdminBanPlayerAckMessageFieldNumber; +const int LobbyMessage::kErrorMessageFieldNumber; #endif // !_MSC_VER -PokerTHMessage::PokerTHMessage() +LobbyMessage::LobbyMessage() : ::google::protobuf::MessageLite() { SharedCtor(); } -void PokerTHMessage::InitAsDefaultInstance() { -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - announcemessage_ = const_cast< ::AnnounceMessage*>( - ::AnnounceMessage::internal_default_instance()); -#else - announcemessage_ = const_cast< ::AnnounceMessage*>(&::AnnounceMessage::default_instance()); -#endif +void LobbyMessage::InitAsDefaultInstance() { #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER initmessage_ = const_cast< ::InitMessage*>( ::InitMessage::internal_default_instance()); #else initmessage_ = const_cast< ::InitMessage*>(&::InitMessage::default_instance()); #endif -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - authserverchallengemessage_ = const_cast< ::AuthServerChallengeMessage*>( - ::AuthServerChallengeMessage::internal_default_instance()); -#else - authserverchallengemessage_ = const_cast< ::AuthServerChallengeMessage*>(&::AuthServerChallengeMessage::default_instance()); -#endif -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - authclientresponsemessage_ = const_cast< ::AuthClientResponseMessage*>( - ::AuthClientResponseMessage::internal_default_instance()); -#else - authclientresponsemessage_ = const_cast< ::AuthClientResponseMessage*>(&::AuthClientResponseMessage::default_instance()); -#endif -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - authserververificationmessage_ = const_cast< ::AuthServerVerificationMessage*>( - ::AuthServerVerificationMessage::internal_default_instance()); -#else - authserververificationmessage_ = const_cast< ::AuthServerVerificationMessage*>(&::AuthServerVerificationMessage::default_instance()); -#endif #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER initackmessage_ = const_cast< ::InitAckMessage*>( ::InitAckMessage::internal_default_instance()); @@ -22410,6 +21998,18 @@ void PokerTHMessage::InitAsDefaultInstance() { #else gamelistplayerleftmessage_ = const_cast< ::GameListPlayerLeftMessage*>(&::GameListPlayerLeftMessage::default_instance()); #endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + gamelistspectatorjoinedmessage_ = const_cast< ::GameListSpectatorJoinedMessage*>( + ::GameListSpectatorJoinedMessage::internal_default_instance()); +#else + gamelistspectatorjoinedmessage_ = const_cast< ::GameListSpectatorJoinedMessage*>(&::GameListSpectatorJoinedMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + gamelistspectatorleftmessage_ = const_cast< ::GameListSpectatorLeftMessage*>( + ::GameListSpectatorLeftMessage::internal_default_instance()); +#else + gamelistspectatorleftmessage_ = const_cast< ::GameListSpectatorLeftMessage*>(&::GameListSpectatorLeftMessage::default_instance()); +#endif #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER gamelistadminchangedmessage_ = const_cast< ::GameListAdminChangedMessage*>( ::GameListAdminChangedMessage::internal_default_instance()); @@ -22435,70 +22035,22 @@ void PokerTHMessage::InitAsDefaultInstance() { subscriptionrequestmessage_ = const_cast< ::SubscriptionRequestMessage*>(&::SubscriptionRequestMessage::default_instance()); #endif #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - joinexistinggamemessage_ = const_cast< ::JoinExistingGameMessage*>( - ::JoinExistingGameMessage::internal_default_instance()); + subscriptionreplymessage_ = const_cast< ::SubscriptionReplyMessage*>( + ::SubscriptionReplyMessage::internal_default_instance()); #else - joinexistinggamemessage_ = const_cast< ::JoinExistingGameMessage*>(&::JoinExistingGameMessage::default_instance()); + subscriptionreplymessage_ = const_cast< ::SubscriptionReplyMessage*>(&::SubscriptionReplyMessage::default_instance()); #endif #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - joinnewgamemessage_ = const_cast< ::JoinNewGameMessage*>( - ::JoinNewGameMessage::internal_default_instance()); + creategamemessage_ = const_cast< ::CreateGameMessage*>( + ::CreateGameMessage::internal_default_instance()); #else - joinnewgamemessage_ = const_cast< ::JoinNewGameMessage*>(&::JoinNewGameMessage::default_instance()); + creategamemessage_ = const_cast< ::CreateGameMessage*>(&::CreateGameMessage::default_instance()); #endif #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - rejoinexistinggamemessage_ = const_cast< ::RejoinExistingGameMessage*>( - ::RejoinExistingGameMessage::internal_default_instance()); + creategamefailedmessage_ = const_cast< ::CreateGameFailedMessage*>( + ::CreateGameFailedMessage::internal_default_instance()); #else - rejoinexistinggamemessage_ = const_cast< ::RejoinExistingGameMessage*>(&::RejoinExistingGameMessage::default_instance()); -#endif -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - joingameackmessage_ = const_cast< ::JoinGameAckMessage*>( - ::JoinGameAckMessage::internal_default_instance()); -#else - joingameackmessage_ = const_cast< ::JoinGameAckMessage*>(&::JoinGameAckMessage::default_instance()); -#endif -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - joingamefailedmessage_ = const_cast< ::JoinGameFailedMessage*>( - ::JoinGameFailedMessage::internal_default_instance()); -#else - joingamefailedmessage_ = const_cast< ::JoinGameFailedMessage*>(&::JoinGameFailedMessage::default_instance()); -#endif -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - gameplayerjoinedmessage_ = const_cast< ::GamePlayerJoinedMessage*>( - ::GamePlayerJoinedMessage::internal_default_instance()); -#else - gameplayerjoinedmessage_ = const_cast< ::GamePlayerJoinedMessage*>(&::GamePlayerJoinedMessage::default_instance()); -#endif -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - gameplayerleftmessage_ = const_cast< ::GamePlayerLeftMessage*>( - ::GamePlayerLeftMessage::internal_default_instance()); -#else - gameplayerleftmessage_ = const_cast< ::GamePlayerLeftMessage*>(&::GamePlayerLeftMessage::default_instance()); -#endif -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - gameadminchangedmessage_ = const_cast< ::GameAdminChangedMessage*>( - ::GameAdminChangedMessage::internal_default_instance()); -#else - gameadminchangedmessage_ = const_cast< ::GameAdminChangedMessage*>(&::GameAdminChangedMessage::default_instance()); -#endif -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - removedfromgamemessage_ = const_cast< ::RemovedFromGameMessage*>( - ::RemovedFromGameMessage::internal_default_instance()); -#else - removedfromgamemessage_ = const_cast< ::RemovedFromGameMessage*>(&::RemovedFromGameMessage::default_instance()); -#endif -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - kickplayerrequestmessage_ = const_cast< ::KickPlayerRequestMessage*>( - ::KickPlayerRequestMessage::internal_default_instance()); -#else - kickplayerrequestmessage_ = const_cast< ::KickPlayerRequestMessage*>(&::KickPlayerRequestMessage::default_instance()); -#endif -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - leavegamerequestmessage_ = const_cast< ::LeaveGameRequestMessage*>( - ::LeaveGameRequestMessage::internal_default_instance()); -#else - leavegamerequestmessage_ = const_cast< ::LeaveGameRequestMessage*>(&::LeaveGameRequestMessage::default_instance()); + creategamefailedmessage_ = const_cast< ::CreateGameFailedMessage*>(&::CreateGameFailedMessage::default_instance()); #endif #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER inviteplayertogamemessage_ = const_cast< ::InvitePlayerToGameMessage*>( @@ -22524,6 +22076,2063 @@ void PokerTHMessage::InitAsDefaultInstance() { #else rejectinvnotifymessage_ = const_cast< ::RejectInvNotifyMessage*>(&::RejectInvNotifyMessage::default_instance()); #endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + statisticsmessage_ = const_cast< ::StatisticsMessage*>( + ::StatisticsMessage::internal_default_instance()); +#else + statisticsmessage_ = const_cast< ::StatisticsMessage*>(&::StatisticsMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + chatrequestmessage_ = const_cast< ::ChatRequestMessage*>( + ::ChatRequestMessage::internal_default_instance()); +#else + chatrequestmessage_ = const_cast< ::ChatRequestMessage*>(&::ChatRequestMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + chatmessage_ = const_cast< ::ChatMessage*>( + ::ChatMessage::internal_default_instance()); +#else + chatmessage_ = const_cast< ::ChatMessage*>(&::ChatMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + chatrejectmessage_ = const_cast< ::ChatRejectMessage*>( + ::ChatRejectMessage::internal_default_instance()); +#else + chatrejectmessage_ = const_cast< ::ChatRejectMessage*>(&::ChatRejectMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + dialogmessage_ = const_cast< ::DialogMessage*>( + ::DialogMessage::internal_default_instance()); +#else + dialogmessage_ = const_cast< ::DialogMessage*>(&::DialogMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + timeoutwarningmessage_ = const_cast< ::TimeoutWarningMessage*>( + ::TimeoutWarningMessage::internal_default_instance()); +#else + timeoutwarningmessage_ = const_cast< ::TimeoutWarningMessage*>(&::TimeoutWarningMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + resettimeoutmessage_ = const_cast< ::ResetTimeoutMessage*>( + ::ResetTimeoutMessage::internal_default_instance()); +#else + resettimeoutmessage_ = const_cast< ::ResetTimeoutMessage*>(&::ResetTimeoutMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + reportavatarmessage_ = const_cast< ::ReportAvatarMessage*>( + ::ReportAvatarMessage::internal_default_instance()); +#else + reportavatarmessage_ = const_cast< ::ReportAvatarMessage*>(&::ReportAvatarMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + reportavatarackmessage_ = const_cast< ::ReportAvatarAckMessage*>( + ::ReportAvatarAckMessage::internal_default_instance()); +#else + reportavatarackmessage_ = const_cast< ::ReportAvatarAckMessage*>(&::ReportAvatarAckMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + reportgamemessage_ = const_cast< ::ReportGameMessage*>( + ::ReportGameMessage::internal_default_instance()); +#else + reportgamemessage_ = const_cast< ::ReportGameMessage*>(&::ReportGameMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + reportgameackmessage_ = const_cast< ::ReportGameAckMessage*>( + ::ReportGameAckMessage::internal_default_instance()); +#else + reportgameackmessage_ = const_cast< ::ReportGameAckMessage*>(&::ReportGameAckMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + adminremovegamemessage_ = const_cast< ::AdminRemoveGameMessage*>( + ::AdminRemoveGameMessage::internal_default_instance()); +#else + adminremovegamemessage_ = const_cast< ::AdminRemoveGameMessage*>(&::AdminRemoveGameMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + adminremovegameackmessage_ = const_cast< ::AdminRemoveGameAckMessage*>( + ::AdminRemoveGameAckMessage::internal_default_instance()); +#else + adminremovegameackmessage_ = const_cast< ::AdminRemoveGameAckMessage*>(&::AdminRemoveGameAckMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + adminbanplayermessage_ = const_cast< ::AdminBanPlayerMessage*>( + ::AdminBanPlayerMessage::internal_default_instance()); +#else + adminbanplayermessage_ = const_cast< ::AdminBanPlayerMessage*>(&::AdminBanPlayerMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + adminbanplayerackmessage_ = const_cast< ::AdminBanPlayerAckMessage*>( + ::AdminBanPlayerAckMessage::internal_default_instance()); +#else + adminbanplayerackmessage_ = const_cast< ::AdminBanPlayerAckMessage*>(&::AdminBanPlayerAckMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + errormessage_ = const_cast< ::ErrorMessage*>( + ::ErrorMessage::internal_default_instance()); +#else + errormessage_ = const_cast< ::ErrorMessage*>(&::ErrorMessage::default_instance()); +#endif +} + +LobbyMessage::LobbyMessage(const LobbyMessage& from) + : ::google::protobuf::MessageLite() { + SharedCtor(); + MergeFrom(from); +} + +void LobbyMessage::SharedCtor() { + _cached_size_ = 0; + messagetype_ = 1; + initmessage_ = NULL; + initackmessage_ = NULL; + avatarrequestmessage_ = NULL; + avatarheadermessage_ = NULL; + avatardatamessage_ = NULL; + avatarendmessage_ = NULL; + unknownavatarmessage_ = NULL; + playerlistmessage_ = NULL; + gamelistnewmessage_ = NULL; + gamelistupdatemessage_ = NULL; + gamelistplayerjoinedmessage_ = NULL; + gamelistplayerleftmessage_ = NULL; + gamelistspectatorjoinedmessage_ = NULL; + gamelistspectatorleftmessage_ = NULL; + gamelistadminchangedmessage_ = NULL; + playerinforequestmessage_ = NULL; + playerinforeplymessage_ = NULL; + subscriptionrequestmessage_ = NULL; + subscriptionreplymessage_ = NULL; + creategamemessage_ = NULL; + creategamefailedmessage_ = NULL; + inviteplayertogamemessage_ = NULL; + invitenotifymessage_ = NULL; + rejectgameinvitationmessage_ = NULL; + rejectinvnotifymessage_ = NULL; + statisticsmessage_ = NULL; + chatrequestmessage_ = NULL; + chatmessage_ = NULL; + chatrejectmessage_ = NULL; + dialogmessage_ = NULL; + timeoutwarningmessage_ = NULL; + resettimeoutmessage_ = NULL; + reportavatarmessage_ = NULL; + reportavatarackmessage_ = NULL; + reportgamemessage_ = NULL; + reportgameackmessage_ = NULL; + adminremovegamemessage_ = NULL; + adminremovegameackmessage_ = NULL; + adminbanplayermessage_ = NULL; + adminbanplayerackmessage_ = NULL; + errormessage_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +LobbyMessage::~LobbyMessage() { + SharedDtor(); +} + +void LobbyMessage::SharedDtor() { + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else + if (this != default_instance_) { + #endif + delete initmessage_; + delete initackmessage_; + delete avatarrequestmessage_; + delete avatarheadermessage_; + delete avatardatamessage_; + delete avatarendmessage_; + delete unknownavatarmessage_; + delete playerlistmessage_; + delete gamelistnewmessage_; + delete gamelistupdatemessage_; + delete gamelistplayerjoinedmessage_; + delete gamelistplayerleftmessage_; + delete gamelistspectatorjoinedmessage_; + delete gamelistspectatorleftmessage_; + delete gamelistadminchangedmessage_; + delete playerinforequestmessage_; + delete playerinforeplymessage_; + delete subscriptionrequestmessage_; + delete subscriptionreplymessage_; + delete creategamemessage_; + delete creategamefailedmessage_; + delete inviteplayertogamemessage_; + delete invitenotifymessage_; + delete rejectgameinvitationmessage_; + delete rejectinvnotifymessage_; + delete statisticsmessage_; + delete chatrequestmessage_; + delete chatmessage_; + delete chatrejectmessage_; + delete dialogmessage_; + delete timeoutwarningmessage_; + delete resettimeoutmessage_; + delete reportavatarmessage_; + delete reportavatarackmessage_; + delete reportgamemessage_; + delete reportgameackmessage_; + delete adminremovegamemessage_; + delete adminremovegameackmessage_; + delete adminbanplayermessage_; + delete adminbanplayerackmessage_; + delete errormessage_; + } +} + +void LobbyMessage::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const LobbyMessage& LobbyMessage::default_instance() { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; +} + +LobbyMessage* LobbyMessage::default_instance_ = NULL; + +LobbyMessage* LobbyMessage::New() const { + return new LobbyMessage; +} + +void LobbyMessage::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + messagetype_ = 1; + if (has_initmessage()) { + if (initmessage_ != NULL) initmessage_->::InitMessage::Clear(); + } + if (has_initackmessage()) { + if (initackmessage_ != NULL) initackmessage_->::InitAckMessage::Clear(); + } + if (has_avatarrequestmessage()) { + if (avatarrequestmessage_ != NULL) avatarrequestmessage_->::AvatarRequestMessage::Clear(); + } + if (has_avatarheadermessage()) { + if (avatarheadermessage_ != NULL) avatarheadermessage_->::AvatarHeaderMessage::Clear(); + } + if (has_avatardatamessage()) { + if (avatardatamessage_ != NULL) avatardatamessage_->::AvatarDataMessage::Clear(); + } + if (has_avatarendmessage()) { + if (avatarendmessage_ != NULL) avatarendmessage_->::AvatarEndMessage::Clear(); + } + if (has_unknownavatarmessage()) { + if (unknownavatarmessage_ != NULL) unknownavatarmessage_->::UnknownAvatarMessage::Clear(); + } + } + if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) { + if (has_playerlistmessage()) { + if (playerlistmessage_ != NULL) playerlistmessage_->::PlayerListMessage::Clear(); + } + if (has_gamelistnewmessage()) { + if (gamelistnewmessage_ != NULL) gamelistnewmessage_->::GameListNewMessage::Clear(); + } + if (has_gamelistupdatemessage()) { + if (gamelistupdatemessage_ != NULL) gamelistupdatemessage_->::GameListUpdateMessage::Clear(); + } + if (has_gamelistplayerjoinedmessage()) { + if (gamelistplayerjoinedmessage_ != NULL) gamelistplayerjoinedmessage_->::GameListPlayerJoinedMessage::Clear(); + } + if (has_gamelistplayerleftmessage()) { + if (gamelistplayerleftmessage_ != NULL) gamelistplayerleftmessage_->::GameListPlayerLeftMessage::Clear(); + } + if (has_gamelistspectatorjoinedmessage()) { + if (gamelistspectatorjoinedmessage_ != NULL) gamelistspectatorjoinedmessage_->::GameListSpectatorJoinedMessage::Clear(); + } + if (has_gamelistspectatorleftmessage()) { + if (gamelistspectatorleftmessage_ != NULL) gamelistspectatorleftmessage_->::GameListSpectatorLeftMessage::Clear(); + } + if (has_gamelistadminchangedmessage()) { + if (gamelistadminchangedmessage_ != NULL) gamelistadminchangedmessage_->::GameListAdminChangedMessage::Clear(); + } + } + if (_has_bits_[16 / 32] & (0xffu << (16 % 32))) { + if (has_playerinforequestmessage()) { + if (playerinforequestmessage_ != NULL) playerinforequestmessage_->::PlayerInfoRequestMessage::Clear(); + } + if (has_playerinforeplymessage()) { + if (playerinforeplymessage_ != NULL) playerinforeplymessage_->::PlayerInfoReplyMessage::Clear(); + } + if (has_subscriptionrequestmessage()) { + if (subscriptionrequestmessage_ != NULL) subscriptionrequestmessage_->::SubscriptionRequestMessage::Clear(); + } + if (has_subscriptionreplymessage()) { + if (subscriptionreplymessage_ != NULL) subscriptionreplymessage_->::SubscriptionReplyMessage::Clear(); + } + if (has_creategamemessage()) { + if (creategamemessage_ != NULL) creategamemessage_->::CreateGameMessage::Clear(); + } + if (has_creategamefailedmessage()) { + if (creategamefailedmessage_ != NULL) creategamefailedmessage_->::CreateGameFailedMessage::Clear(); + } + if (has_inviteplayertogamemessage()) { + if (inviteplayertogamemessage_ != NULL) inviteplayertogamemessage_->::InvitePlayerToGameMessage::Clear(); + } + if (has_invitenotifymessage()) { + if (invitenotifymessage_ != NULL) invitenotifymessage_->::InviteNotifyMessage::Clear(); + } + } + if (_has_bits_[24 / 32] & (0xffu << (24 % 32))) { + if (has_rejectgameinvitationmessage()) { + if (rejectgameinvitationmessage_ != NULL) rejectgameinvitationmessage_->::RejectGameInvitationMessage::Clear(); + } + if (has_rejectinvnotifymessage()) { + if (rejectinvnotifymessage_ != NULL) rejectinvnotifymessage_->::RejectInvNotifyMessage::Clear(); + } + if (has_statisticsmessage()) { + if (statisticsmessage_ != NULL) statisticsmessage_->::StatisticsMessage::Clear(); + } + if (has_chatrequestmessage()) { + if (chatrequestmessage_ != NULL) chatrequestmessage_->::ChatRequestMessage::Clear(); + } + if (has_chatmessage()) { + if (chatmessage_ != NULL) chatmessage_->::ChatMessage::Clear(); + } + if (has_chatrejectmessage()) { + if (chatrejectmessage_ != NULL) chatrejectmessage_->::ChatRejectMessage::Clear(); + } + if (has_dialogmessage()) { + if (dialogmessage_ != NULL) dialogmessage_->::DialogMessage::Clear(); + } + if (has_timeoutwarningmessage()) { + if (timeoutwarningmessage_ != NULL) timeoutwarningmessage_->::TimeoutWarningMessage::Clear(); + } + } + if (_has_bits_[32 / 32] & (0xffu << (32 % 32))) { + if (has_resettimeoutmessage()) { + if (resettimeoutmessage_ != NULL) resettimeoutmessage_->::ResetTimeoutMessage::Clear(); + } + if (has_reportavatarmessage()) { + if (reportavatarmessage_ != NULL) reportavatarmessage_->::ReportAvatarMessage::Clear(); + } + if (has_reportavatarackmessage()) { + if (reportavatarackmessage_ != NULL) reportavatarackmessage_->::ReportAvatarAckMessage::Clear(); + } + if (has_reportgamemessage()) { + if (reportgamemessage_ != NULL) reportgamemessage_->::ReportGameMessage::Clear(); + } + if (has_reportgameackmessage()) { + if (reportgameackmessage_ != NULL) reportgameackmessage_->::ReportGameAckMessage::Clear(); + } + if (has_adminremovegamemessage()) { + if (adminremovegamemessage_ != NULL) adminremovegamemessage_->::AdminRemoveGameMessage::Clear(); + } + if (has_adminremovegameackmessage()) { + if (adminremovegameackmessage_ != NULL) adminremovegameackmessage_->::AdminRemoveGameAckMessage::Clear(); + } + if (has_adminbanplayermessage()) { + if (adminbanplayermessage_ != NULL) adminbanplayermessage_->::AdminBanPlayerMessage::Clear(); + } + } + if (_has_bits_[40 / 32] & (0xffu << (40 % 32))) { + if (has_adminbanplayerackmessage()) { + if (adminbanplayerackmessage_ != NULL) adminbanplayerackmessage_->::AdminBanPlayerAckMessage::Clear(); + } + if (has_errormessage()) { + if (errormessage_ != NULL) errormessage_->::ErrorMessage::Clear(); + } + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +bool LobbyMessage::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!(EXPRESSION)) return false + ::google::protobuf::uint32 tag; + while ((tag = input->ReadTag()) != 0) { + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // required .LobbyMessage.LobbyMessageType messageType = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + int value; + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( + input, &value))); + if (::LobbyMessage_LobbyMessageType_IsValid(value)) { + set_messagetype(static_cast< ::LobbyMessage_LobbyMessageType >(value)); + } + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(18)) goto parse_initMessage; + break; + } + + // optional .InitMessage initMessage = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_initMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_initmessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(26)) goto parse_initAckMessage; + break; + } + + // optional .InitAckMessage initAckMessage = 3; + case 3: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_initAckMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_initackmessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(34)) goto parse_avatarRequestMessage; + break; + } + + // optional .AvatarRequestMessage avatarRequestMessage = 4; + case 4: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_avatarRequestMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_avatarrequestmessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(42)) goto parse_avatarHeaderMessage; + break; + } + + // optional .AvatarHeaderMessage avatarHeaderMessage = 5; + case 5: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_avatarHeaderMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_avatarheadermessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(50)) goto parse_avatarDataMessage; + break; + } + + // optional .AvatarDataMessage avatarDataMessage = 6; + case 6: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_avatarDataMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_avatardatamessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(58)) goto parse_avatarEndMessage; + break; + } + + // optional .AvatarEndMessage avatarEndMessage = 7; + case 7: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_avatarEndMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_avatarendmessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(66)) goto parse_unknownAvatarMessage; + break; + } + + // optional .UnknownAvatarMessage unknownAvatarMessage = 8; + case 8: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_unknownAvatarMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_unknownavatarmessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(74)) goto parse_playerListMessage; + break; + } + + // optional .PlayerListMessage playerListMessage = 9; + case 9: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_playerListMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_playerlistmessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(82)) goto parse_gameListNewMessage; + break; + } + + // optional .GameListNewMessage gameListNewMessage = 10; + case 10: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_gameListNewMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_gamelistnewmessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(90)) goto parse_gameListUpdateMessage; + break; + } + + // optional .GameListUpdateMessage gameListUpdateMessage = 11; + case 11: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_gameListUpdateMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_gamelistupdatemessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(98)) goto parse_gameListPlayerJoinedMessage; + break; + } + + // optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 12; + case 12: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_gameListPlayerJoinedMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_gamelistplayerjoinedmessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(106)) goto parse_gameListPlayerLeftMessage; + break; + } + + // optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 13; + case 13: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_gameListPlayerLeftMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_gamelistplayerleftmessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(114)) goto parse_gameListSpectatorJoinedMessage; + break; + } + + // optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 14; + case 14: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_gameListSpectatorJoinedMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_gamelistspectatorjoinedmessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(122)) goto parse_gameListSpectatorLeftMessage; + break; + } + + // optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 15; + case 15: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_gameListSpectatorLeftMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_gamelistspectatorleftmessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(130)) goto parse_gameListAdminChangedMessage; + break; + } + + // optional .GameListAdminChangedMessage gameListAdminChangedMessage = 16; + case 16: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_gameListAdminChangedMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_gamelistadminchangedmessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(138)) goto parse_playerInfoRequestMessage; + break; + } + + // optional .PlayerInfoRequestMessage playerInfoRequestMessage = 17; + case 17: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_playerInfoRequestMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_playerinforequestmessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(146)) goto parse_playerInfoReplyMessage; + break; + } + + // optional .PlayerInfoReplyMessage playerInfoReplyMessage = 18; + case 18: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_playerInfoReplyMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_playerinforeplymessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(154)) goto parse_subscriptionRequestMessage; + break; + } + + // optional .SubscriptionRequestMessage subscriptionRequestMessage = 19; + case 19: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_subscriptionRequestMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_subscriptionrequestmessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(162)) goto parse_subscriptionReplyMessage; + break; + } + + // optional .SubscriptionReplyMessage subscriptionReplyMessage = 20; + case 20: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_subscriptionReplyMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_subscriptionreplymessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(170)) goto parse_createGameMessage; + break; + } + + // optional .CreateGameMessage createGameMessage = 21; + case 21: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_createGameMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_creategamemessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(178)) goto parse_createGameFailedMessage; + break; + } + + // optional .CreateGameFailedMessage createGameFailedMessage = 22; + case 22: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_createGameFailedMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_creategamefailedmessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(186)) goto parse_invitePlayerToGameMessage; + break; + } + + // optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 23; + case 23: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_invitePlayerToGameMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_inviteplayertogamemessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(194)) goto parse_inviteNotifyMessage; + break; + } + + // optional .InviteNotifyMessage inviteNotifyMessage = 24; + case 24: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_inviteNotifyMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_invitenotifymessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(202)) goto parse_rejectGameInvitationMessage; + break; + } + + // optional .RejectGameInvitationMessage rejectGameInvitationMessage = 25; + case 25: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_rejectGameInvitationMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_rejectgameinvitationmessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(210)) goto parse_rejectInvNotifyMessage; + break; + } + + // optional .RejectInvNotifyMessage rejectInvNotifyMessage = 26; + case 26: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_rejectInvNotifyMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_rejectinvnotifymessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(218)) goto parse_statisticsMessage; + break; + } + + // optional .StatisticsMessage statisticsMessage = 27; + case 27: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_statisticsMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_statisticsmessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(226)) goto parse_chatRequestMessage; + break; + } + + // optional .ChatRequestMessage chatRequestMessage = 28; + case 28: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_chatRequestMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_chatrequestmessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(234)) goto parse_chatMessage; + break; + } + + // optional .ChatMessage chatMessage = 29; + case 29: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_chatMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_chatmessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(242)) goto parse_chatRejectMessage; + break; + } + + // optional .ChatRejectMessage chatRejectMessage = 30; + case 30: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_chatRejectMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_chatrejectmessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(250)) goto parse_dialogMessage; + break; + } + + // optional .DialogMessage dialogMessage = 31; + case 31: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_dialogMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_dialogmessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(258)) goto parse_timeoutWarningMessage; + break; + } + + // optional .TimeoutWarningMessage timeoutWarningMessage = 32; + case 32: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_timeoutWarningMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_timeoutwarningmessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(266)) goto parse_resetTimeoutMessage; + break; + } + + // optional .ResetTimeoutMessage resetTimeoutMessage = 33; + case 33: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_resetTimeoutMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_resettimeoutmessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(274)) goto parse_reportAvatarMessage; + break; + } + + // optional .ReportAvatarMessage reportAvatarMessage = 34; + case 34: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_reportAvatarMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_reportavatarmessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(282)) goto parse_reportAvatarAckMessage; + break; + } + + // optional .ReportAvatarAckMessage reportAvatarAckMessage = 35; + case 35: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_reportAvatarAckMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_reportavatarackmessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(290)) goto parse_reportGameMessage; + break; + } + + // optional .ReportGameMessage reportGameMessage = 36; + case 36: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_reportGameMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_reportgamemessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(298)) goto parse_reportGameAckMessage; + break; + } + + // optional .ReportGameAckMessage reportGameAckMessage = 37; + case 37: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_reportGameAckMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_reportgameackmessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(306)) goto parse_adminRemoveGameMessage; + break; + } + + // optional .AdminRemoveGameMessage adminRemoveGameMessage = 38; + case 38: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_adminRemoveGameMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_adminremovegamemessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(314)) goto parse_adminRemoveGameAckMessage; + break; + } + + // optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 39; + case 39: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_adminRemoveGameAckMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_adminremovegameackmessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(322)) goto parse_adminBanPlayerMessage; + break; + } + + // optional .AdminBanPlayerMessage adminBanPlayerMessage = 40; + case 40: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_adminBanPlayerMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_adminbanplayermessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(330)) goto parse_adminBanPlayerAckMessage; + break; + } + + // optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 41; + case 41: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_adminBanPlayerAckMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_adminbanplayerackmessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(8202)) goto parse_errorMessage; + break; + } + + // optional .ErrorMessage errorMessage = 1025; + case 1025: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_errorMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_errormessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectAtEnd()) return true; + break; + } + + default: { + handle_uninterpreted: + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { + return true; + } + DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + break; + } + } + } + return true; +#undef DO_ +} + +void LobbyMessage::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // required .LobbyMessage.LobbyMessageType messageType = 1; + if (has_messagetype()) { + ::google::protobuf::internal::WireFormatLite::WriteEnum( + 1, this->messagetype(), output); + } + + // optional .InitMessage initMessage = 2; + if (has_initmessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 2, this->initmessage(), output); + } + + // optional .InitAckMessage initAckMessage = 3; + if (has_initackmessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 3, this->initackmessage(), output); + } + + // optional .AvatarRequestMessage avatarRequestMessage = 4; + if (has_avatarrequestmessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 4, this->avatarrequestmessage(), output); + } + + // optional .AvatarHeaderMessage avatarHeaderMessage = 5; + if (has_avatarheadermessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 5, this->avatarheadermessage(), output); + } + + // optional .AvatarDataMessage avatarDataMessage = 6; + if (has_avatardatamessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 6, this->avatardatamessage(), output); + } + + // optional .AvatarEndMessage avatarEndMessage = 7; + if (has_avatarendmessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 7, this->avatarendmessage(), output); + } + + // optional .UnknownAvatarMessage unknownAvatarMessage = 8; + if (has_unknownavatarmessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 8, this->unknownavatarmessage(), output); + } + + // optional .PlayerListMessage playerListMessage = 9; + if (has_playerlistmessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 9, this->playerlistmessage(), output); + } + + // optional .GameListNewMessage gameListNewMessage = 10; + if (has_gamelistnewmessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 10, this->gamelistnewmessage(), output); + } + + // optional .GameListUpdateMessage gameListUpdateMessage = 11; + if (has_gamelistupdatemessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 11, this->gamelistupdatemessage(), output); + } + + // optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 12; + if (has_gamelistplayerjoinedmessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 12, this->gamelistplayerjoinedmessage(), output); + } + + // optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 13; + if (has_gamelistplayerleftmessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 13, this->gamelistplayerleftmessage(), output); + } + + // optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 14; + if (has_gamelistspectatorjoinedmessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 14, this->gamelistspectatorjoinedmessage(), output); + } + + // optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 15; + if (has_gamelistspectatorleftmessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 15, this->gamelistspectatorleftmessage(), output); + } + + // optional .GameListAdminChangedMessage gameListAdminChangedMessage = 16; + if (has_gamelistadminchangedmessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 16, this->gamelistadminchangedmessage(), output); + } + + // optional .PlayerInfoRequestMessage playerInfoRequestMessage = 17; + if (has_playerinforequestmessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 17, this->playerinforequestmessage(), output); + } + + // optional .PlayerInfoReplyMessage playerInfoReplyMessage = 18; + if (has_playerinforeplymessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 18, this->playerinforeplymessage(), output); + } + + // optional .SubscriptionRequestMessage subscriptionRequestMessage = 19; + if (has_subscriptionrequestmessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 19, this->subscriptionrequestmessage(), output); + } + + // optional .SubscriptionReplyMessage subscriptionReplyMessage = 20; + if (has_subscriptionreplymessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 20, this->subscriptionreplymessage(), output); + } + + // optional .CreateGameMessage createGameMessage = 21; + if (has_creategamemessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 21, this->creategamemessage(), output); + } + + // optional .CreateGameFailedMessage createGameFailedMessage = 22; + if (has_creategamefailedmessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 22, this->creategamefailedmessage(), output); + } + + // optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 23; + if (has_inviteplayertogamemessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 23, this->inviteplayertogamemessage(), output); + } + + // optional .InviteNotifyMessage inviteNotifyMessage = 24; + if (has_invitenotifymessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 24, this->invitenotifymessage(), output); + } + + // optional .RejectGameInvitationMessage rejectGameInvitationMessage = 25; + if (has_rejectgameinvitationmessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 25, this->rejectgameinvitationmessage(), output); + } + + // optional .RejectInvNotifyMessage rejectInvNotifyMessage = 26; + if (has_rejectinvnotifymessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 26, this->rejectinvnotifymessage(), output); + } + + // optional .StatisticsMessage statisticsMessage = 27; + if (has_statisticsmessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 27, this->statisticsmessage(), output); + } + + // optional .ChatRequestMessage chatRequestMessage = 28; + if (has_chatrequestmessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 28, this->chatrequestmessage(), output); + } + + // optional .ChatMessage chatMessage = 29; + if (has_chatmessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 29, this->chatmessage(), output); + } + + // optional .ChatRejectMessage chatRejectMessage = 30; + if (has_chatrejectmessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 30, this->chatrejectmessage(), output); + } + + // optional .DialogMessage dialogMessage = 31; + if (has_dialogmessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 31, this->dialogmessage(), output); + } + + // optional .TimeoutWarningMessage timeoutWarningMessage = 32; + if (has_timeoutwarningmessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 32, this->timeoutwarningmessage(), output); + } + + // optional .ResetTimeoutMessage resetTimeoutMessage = 33; + if (has_resettimeoutmessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 33, this->resettimeoutmessage(), output); + } + + // optional .ReportAvatarMessage reportAvatarMessage = 34; + if (has_reportavatarmessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 34, this->reportavatarmessage(), output); + } + + // optional .ReportAvatarAckMessage reportAvatarAckMessage = 35; + if (has_reportavatarackmessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 35, this->reportavatarackmessage(), output); + } + + // optional .ReportGameMessage reportGameMessage = 36; + if (has_reportgamemessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 36, this->reportgamemessage(), output); + } + + // optional .ReportGameAckMessage reportGameAckMessage = 37; + if (has_reportgameackmessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 37, this->reportgameackmessage(), output); + } + + // optional .AdminRemoveGameMessage adminRemoveGameMessage = 38; + if (has_adminremovegamemessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 38, this->adminremovegamemessage(), output); + } + + // optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 39; + if (has_adminremovegameackmessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 39, this->adminremovegameackmessage(), output); + } + + // optional .AdminBanPlayerMessage adminBanPlayerMessage = 40; + if (has_adminbanplayermessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 40, this->adminbanplayermessage(), output); + } + + // optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 41; + if (has_adminbanplayerackmessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 41, this->adminbanplayerackmessage(), output); + } + + // optional .ErrorMessage errorMessage = 1025; + if (has_errormessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 1025, this->errormessage(), output); + } + +} + +int LobbyMessage::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // required .LobbyMessage.LobbyMessageType messageType = 1; + if (has_messagetype()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::EnumSize(this->messagetype()); + } + + // optional .InitMessage initMessage = 2; + if (has_initmessage()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->initmessage()); + } + + // optional .InitAckMessage initAckMessage = 3; + if (has_initackmessage()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->initackmessage()); + } + + // optional .AvatarRequestMessage avatarRequestMessage = 4; + if (has_avatarrequestmessage()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->avatarrequestmessage()); + } + + // optional .AvatarHeaderMessage avatarHeaderMessage = 5; + if (has_avatarheadermessage()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->avatarheadermessage()); + } + + // optional .AvatarDataMessage avatarDataMessage = 6; + if (has_avatardatamessage()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->avatardatamessage()); + } + + // optional .AvatarEndMessage avatarEndMessage = 7; + if (has_avatarendmessage()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->avatarendmessage()); + } + + // optional .UnknownAvatarMessage unknownAvatarMessage = 8; + if (has_unknownavatarmessage()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->unknownavatarmessage()); + } + + } + if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) { + // optional .PlayerListMessage playerListMessage = 9; + if (has_playerlistmessage()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->playerlistmessage()); + } + + // optional .GameListNewMessage gameListNewMessage = 10; + if (has_gamelistnewmessage()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->gamelistnewmessage()); + } + + // optional .GameListUpdateMessage gameListUpdateMessage = 11; + if (has_gamelistupdatemessage()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->gamelistupdatemessage()); + } + + // optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 12; + if (has_gamelistplayerjoinedmessage()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->gamelistplayerjoinedmessage()); + } + + // optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 13; + if (has_gamelistplayerleftmessage()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->gamelistplayerleftmessage()); + } + + // optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 14; + if (has_gamelistspectatorjoinedmessage()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->gamelistspectatorjoinedmessage()); + } + + // optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 15; + if (has_gamelistspectatorleftmessage()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->gamelistspectatorleftmessage()); + } + + // optional .GameListAdminChangedMessage gameListAdminChangedMessage = 16; + if (has_gamelistadminchangedmessage()) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->gamelistadminchangedmessage()); + } + + } + if (_has_bits_[16 / 32] & (0xffu << (16 % 32))) { + // optional .PlayerInfoRequestMessage playerInfoRequestMessage = 17; + if (has_playerinforequestmessage()) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->playerinforequestmessage()); + } + + // optional .PlayerInfoReplyMessage playerInfoReplyMessage = 18; + if (has_playerinforeplymessage()) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->playerinforeplymessage()); + } + + // optional .SubscriptionRequestMessage subscriptionRequestMessage = 19; + if (has_subscriptionrequestmessage()) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->subscriptionrequestmessage()); + } + + // optional .SubscriptionReplyMessage subscriptionReplyMessage = 20; + if (has_subscriptionreplymessage()) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->subscriptionreplymessage()); + } + + // optional .CreateGameMessage createGameMessage = 21; + if (has_creategamemessage()) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->creategamemessage()); + } + + // optional .CreateGameFailedMessage createGameFailedMessage = 22; + if (has_creategamefailedmessage()) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->creategamefailedmessage()); + } + + // optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 23; + if (has_inviteplayertogamemessage()) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->inviteplayertogamemessage()); + } + + // optional .InviteNotifyMessage inviteNotifyMessage = 24; + if (has_invitenotifymessage()) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->invitenotifymessage()); + } + + } + if (_has_bits_[24 / 32] & (0xffu << (24 % 32))) { + // optional .RejectGameInvitationMessage rejectGameInvitationMessage = 25; + if (has_rejectgameinvitationmessage()) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->rejectgameinvitationmessage()); + } + + // optional .RejectInvNotifyMessage rejectInvNotifyMessage = 26; + if (has_rejectinvnotifymessage()) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->rejectinvnotifymessage()); + } + + // optional .StatisticsMessage statisticsMessage = 27; + if (has_statisticsmessage()) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->statisticsmessage()); + } + + // optional .ChatRequestMessage chatRequestMessage = 28; + if (has_chatrequestmessage()) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->chatrequestmessage()); + } + + // optional .ChatMessage chatMessage = 29; + if (has_chatmessage()) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->chatmessage()); + } + + // optional .ChatRejectMessage chatRejectMessage = 30; + if (has_chatrejectmessage()) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->chatrejectmessage()); + } + + // optional .DialogMessage dialogMessage = 31; + if (has_dialogmessage()) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->dialogmessage()); + } + + // optional .TimeoutWarningMessage timeoutWarningMessage = 32; + if (has_timeoutwarningmessage()) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->timeoutwarningmessage()); + } + + } + if (_has_bits_[32 / 32] & (0xffu << (32 % 32))) { + // optional .ResetTimeoutMessage resetTimeoutMessage = 33; + if (has_resettimeoutmessage()) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->resettimeoutmessage()); + } + + // optional .ReportAvatarMessage reportAvatarMessage = 34; + if (has_reportavatarmessage()) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->reportavatarmessage()); + } + + // optional .ReportAvatarAckMessage reportAvatarAckMessage = 35; + if (has_reportavatarackmessage()) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->reportavatarackmessage()); + } + + // optional .ReportGameMessage reportGameMessage = 36; + if (has_reportgamemessage()) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->reportgamemessage()); + } + + // optional .ReportGameAckMessage reportGameAckMessage = 37; + if (has_reportgameackmessage()) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->reportgameackmessage()); + } + + // optional .AdminRemoveGameMessage adminRemoveGameMessage = 38; + if (has_adminremovegamemessage()) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->adminremovegamemessage()); + } + + // optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 39; + if (has_adminremovegameackmessage()) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->adminremovegameackmessage()); + } + + // optional .AdminBanPlayerMessage adminBanPlayerMessage = 40; + if (has_adminbanplayermessage()) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->adminbanplayermessage()); + } + + } + if (_has_bits_[40 / 32] & (0xffu << (40 % 32))) { + // optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 41; + if (has_adminbanplayerackmessage()) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->adminbanplayerackmessage()); + } + + // optional .ErrorMessage errorMessage = 1025; + if (has_errormessage()) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->errormessage()); + } + + } + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = total_size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); + return total_size; +} + +void LobbyMessage::CheckTypeAndMergeFrom( + const ::google::protobuf::MessageLite& from) { + MergeFrom(*::google::protobuf::down_cast(&from)); +} + +void LobbyMessage::MergeFrom(const LobbyMessage& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_messagetype()) { + set_messagetype(from.messagetype()); + } + if (from.has_initmessage()) { + mutable_initmessage()->::InitMessage::MergeFrom(from.initmessage()); + } + if (from.has_initackmessage()) { + mutable_initackmessage()->::InitAckMessage::MergeFrom(from.initackmessage()); + } + if (from.has_avatarrequestmessage()) { + mutable_avatarrequestmessage()->::AvatarRequestMessage::MergeFrom(from.avatarrequestmessage()); + } + if (from.has_avatarheadermessage()) { + mutable_avatarheadermessage()->::AvatarHeaderMessage::MergeFrom(from.avatarheadermessage()); + } + if (from.has_avatardatamessage()) { + mutable_avatardatamessage()->::AvatarDataMessage::MergeFrom(from.avatardatamessage()); + } + if (from.has_avatarendmessage()) { + mutable_avatarendmessage()->::AvatarEndMessage::MergeFrom(from.avatarendmessage()); + } + if (from.has_unknownavatarmessage()) { + mutable_unknownavatarmessage()->::UnknownAvatarMessage::MergeFrom(from.unknownavatarmessage()); + } + } + if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) { + if (from.has_playerlistmessage()) { + mutable_playerlistmessage()->::PlayerListMessage::MergeFrom(from.playerlistmessage()); + } + if (from.has_gamelistnewmessage()) { + mutable_gamelistnewmessage()->::GameListNewMessage::MergeFrom(from.gamelistnewmessage()); + } + if (from.has_gamelistupdatemessage()) { + mutable_gamelistupdatemessage()->::GameListUpdateMessage::MergeFrom(from.gamelistupdatemessage()); + } + if (from.has_gamelistplayerjoinedmessage()) { + mutable_gamelistplayerjoinedmessage()->::GameListPlayerJoinedMessage::MergeFrom(from.gamelistplayerjoinedmessage()); + } + if (from.has_gamelistplayerleftmessage()) { + mutable_gamelistplayerleftmessage()->::GameListPlayerLeftMessage::MergeFrom(from.gamelistplayerleftmessage()); + } + if (from.has_gamelistspectatorjoinedmessage()) { + mutable_gamelistspectatorjoinedmessage()->::GameListSpectatorJoinedMessage::MergeFrom(from.gamelistspectatorjoinedmessage()); + } + if (from.has_gamelistspectatorleftmessage()) { + mutable_gamelistspectatorleftmessage()->::GameListSpectatorLeftMessage::MergeFrom(from.gamelistspectatorleftmessage()); + } + if (from.has_gamelistadminchangedmessage()) { + mutable_gamelistadminchangedmessage()->::GameListAdminChangedMessage::MergeFrom(from.gamelistadminchangedmessage()); + } + } + if (from._has_bits_[16 / 32] & (0xffu << (16 % 32))) { + if (from.has_playerinforequestmessage()) { + mutable_playerinforequestmessage()->::PlayerInfoRequestMessage::MergeFrom(from.playerinforequestmessage()); + } + if (from.has_playerinforeplymessage()) { + mutable_playerinforeplymessage()->::PlayerInfoReplyMessage::MergeFrom(from.playerinforeplymessage()); + } + if (from.has_subscriptionrequestmessage()) { + mutable_subscriptionrequestmessage()->::SubscriptionRequestMessage::MergeFrom(from.subscriptionrequestmessage()); + } + if (from.has_subscriptionreplymessage()) { + mutable_subscriptionreplymessage()->::SubscriptionReplyMessage::MergeFrom(from.subscriptionreplymessage()); + } + if (from.has_creategamemessage()) { + mutable_creategamemessage()->::CreateGameMessage::MergeFrom(from.creategamemessage()); + } + if (from.has_creategamefailedmessage()) { + mutable_creategamefailedmessage()->::CreateGameFailedMessage::MergeFrom(from.creategamefailedmessage()); + } + if (from.has_inviteplayertogamemessage()) { + mutable_inviteplayertogamemessage()->::InvitePlayerToGameMessage::MergeFrom(from.inviteplayertogamemessage()); + } + if (from.has_invitenotifymessage()) { + mutable_invitenotifymessage()->::InviteNotifyMessage::MergeFrom(from.invitenotifymessage()); + } + } + if (from._has_bits_[24 / 32] & (0xffu << (24 % 32))) { + if (from.has_rejectgameinvitationmessage()) { + mutable_rejectgameinvitationmessage()->::RejectGameInvitationMessage::MergeFrom(from.rejectgameinvitationmessage()); + } + if (from.has_rejectinvnotifymessage()) { + mutable_rejectinvnotifymessage()->::RejectInvNotifyMessage::MergeFrom(from.rejectinvnotifymessage()); + } + if (from.has_statisticsmessage()) { + mutable_statisticsmessage()->::StatisticsMessage::MergeFrom(from.statisticsmessage()); + } + if (from.has_chatrequestmessage()) { + mutable_chatrequestmessage()->::ChatRequestMessage::MergeFrom(from.chatrequestmessage()); + } + if (from.has_chatmessage()) { + mutable_chatmessage()->::ChatMessage::MergeFrom(from.chatmessage()); + } + if (from.has_chatrejectmessage()) { + mutable_chatrejectmessage()->::ChatRejectMessage::MergeFrom(from.chatrejectmessage()); + } + if (from.has_dialogmessage()) { + mutable_dialogmessage()->::DialogMessage::MergeFrom(from.dialogmessage()); + } + if (from.has_timeoutwarningmessage()) { + mutable_timeoutwarningmessage()->::TimeoutWarningMessage::MergeFrom(from.timeoutwarningmessage()); + } + } + if (from._has_bits_[32 / 32] & (0xffu << (32 % 32))) { + if (from.has_resettimeoutmessage()) { + mutable_resettimeoutmessage()->::ResetTimeoutMessage::MergeFrom(from.resettimeoutmessage()); + } + if (from.has_reportavatarmessage()) { + mutable_reportavatarmessage()->::ReportAvatarMessage::MergeFrom(from.reportavatarmessage()); + } + if (from.has_reportavatarackmessage()) { + mutable_reportavatarackmessage()->::ReportAvatarAckMessage::MergeFrom(from.reportavatarackmessage()); + } + if (from.has_reportgamemessage()) { + mutable_reportgamemessage()->::ReportGameMessage::MergeFrom(from.reportgamemessage()); + } + if (from.has_reportgameackmessage()) { + mutable_reportgameackmessage()->::ReportGameAckMessage::MergeFrom(from.reportgameackmessage()); + } + if (from.has_adminremovegamemessage()) { + mutable_adminremovegamemessage()->::AdminRemoveGameMessage::MergeFrom(from.adminremovegamemessage()); + } + if (from.has_adminremovegameackmessage()) { + mutable_adminremovegameackmessage()->::AdminRemoveGameAckMessage::MergeFrom(from.adminremovegameackmessage()); + } + if (from.has_adminbanplayermessage()) { + mutable_adminbanplayermessage()->::AdminBanPlayerMessage::MergeFrom(from.adminbanplayermessage()); + } + } + if (from._has_bits_[40 / 32] & (0xffu << (40 % 32))) { + if (from.has_adminbanplayerackmessage()) { + mutable_adminbanplayerackmessage()->::AdminBanPlayerAckMessage::MergeFrom(from.adminbanplayerackmessage()); + } + if (from.has_errormessage()) { + mutable_errormessage()->::ErrorMessage::MergeFrom(from.errormessage()); + } + } +} + +void LobbyMessage::CopyFrom(const LobbyMessage& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool LobbyMessage::IsInitialized() const { + if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false; + + if (has_avatarrequestmessage()) { + if (!this->avatarrequestmessage().IsInitialized()) return false; + } + if (has_avatarheadermessage()) { + if (!this->avatarheadermessage().IsInitialized()) return false; + } + if (has_avatardatamessage()) { + if (!this->avatardatamessage().IsInitialized()) return false; + } + if (has_avatarendmessage()) { + if (!this->avatarendmessage().IsInitialized()) return false; + } + if (has_unknownavatarmessage()) { + if (!this->unknownavatarmessage().IsInitialized()) return false; + } + if (has_playerlistmessage()) { + if (!this->playerlistmessage().IsInitialized()) return false; + } + if (has_gamelistnewmessage()) { + if (!this->gamelistnewmessage().IsInitialized()) return false; + } + if (has_gamelistupdatemessage()) { + if (!this->gamelistupdatemessage().IsInitialized()) return false; + } + if (has_gamelistplayerjoinedmessage()) { + if (!this->gamelistplayerjoinedmessage().IsInitialized()) return false; + } + if (has_gamelistplayerleftmessage()) { + if (!this->gamelistplayerleftmessage().IsInitialized()) return false; + } + if (has_gamelistspectatorjoinedmessage()) { + if (!this->gamelistspectatorjoinedmessage().IsInitialized()) return false; + } + if (has_gamelistspectatorleftmessage()) { + if (!this->gamelistspectatorleftmessage().IsInitialized()) return false; + } + if (has_gamelistadminchangedmessage()) { + if (!this->gamelistadminchangedmessage().IsInitialized()) return false; + } + if (has_playerinforeplymessage()) { + if (!this->playerinforeplymessage().IsInitialized()) return false; + } + if (has_subscriptionrequestmessage()) { + if (!this->subscriptionrequestmessage().IsInitialized()) return false; + } + if (has_subscriptionreplymessage()) { + if (!this->subscriptionreplymessage().IsInitialized()) return false; + } + if (has_creategamemessage()) { + if (!this->creategamemessage().IsInitialized()) return false; + } + if (has_creategamefailedmessage()) { + if (!this->creategamefailedmessage().IsInitialized()) return false; + } + if (has_inviteplayertogamemessage()) { + if (!this->inviteplayertogamemessage().IsInitialized()) return false; + } + if (has_invitenotifymessage()) { + if (!this->invitenotifymessage().IsInitialized()) return false; + } + if (has_rejectgameinvitationmessage()) { + if (!this->rejectgameinvitationmessage().IsInitialized()) return false; + } + if (has_rejectinvnotifymessage()) { + if (!this->rejectinvnotifymessage().IsInitialized()) return false; + } + if (has_statisticsmessage()) { + if (!this->statisticsmessage().IsInitialized()) return false; + } + if (has_chatrequestmessage()) { + if (!this->chatrequestmessage().IsInitialized()) return false; + } + if (has_chatmessage()) { + if (!this->chatmessage().IsInitialized()) return false; + } + if (has_chatrejectmessage()) { + if (!this->chatrejectmessage().IsInitialized()) return false; + } + if (has_dialogmessage()) { + if (!this->dialogmessage().IsInitialized()) return false; + } + if (has_timeoutwarningmessage()) { + if (!this->timeoutwarningmessage().IsInitialized()) return false; + } + if (has_reportavatarmessage()) { + if (!this->reportavatarmessage().IsInitialized()) return false; + } + if (has_reportavatarackmessage()) { + if (!this->reportavatarackmessage().IsInitialized()) return false; + } + if (has_reportgamemessage()) { + if (!this->reportgamemessage().IsInitialized()) return false; + } + if (has_reportgameackmessage()) { + if (!this->reportgameackmessage().IsInitialized()) return false; + } + if (has_adminremovegamemessage()) { + if (!this->adminremovegamemessage().IsInitialized()) return false; + } + if (has_adminremovegameackmessage()) { + if (!this->adminremovegameackmessage().IsInitialized()) return false; + } + if (has_adminbanplayermessage()) { + if (!this->adminbanplayermessage().IsInitialized()) return false; + } + if (has_adminbanplayerackmessage()) { + if (!this->adminbanplayerackmessage().IsInitialized()) return false; + } + if (has_errormessage()) { + if (!this->errormessage().IsInitialized()) return false; + } + return true; +} + +void LobbyMessage::Swap(LobbyMessage* other) { + if (other != this) { + std::swap(messagetype_, other->messagetype_); + std::swap(initmessage_, other->initmessage_); + std::swap(initackmessage_, other->initackmessage_); + std::swap(avatarrequestmessage_, other->avatarrequestmessage_); + std::swap(avatarheadermessage_, other->avatarheadermessage_); + std::swap(avatardatamessage_, other->avatardatamessage_); + std::swap(avatarendmessage_, other->avatarendmessage_); + std::swap(unknownavatarmessage_, other->unknownavatarmessage_); + std::swap(playerlistmessage_, other->playerlistmessage_); + std::swap(gamelistnewmessage_, other->gamelistnewmessage_); + std::swap(gamelistupdatemessage_, other->gamelistupdatemessage_); + std::swap(gamelistplayerjoinedmessage_, other->gamelistplayerjoinedmessage_); + std::swap(gamelistplayerleftmessage_, other->gamelistplayerleftmessage_); + std::swap(gamelistspectatorjoinedmessage_, other->gamelistspectatorjoinedmessage_); + std::swap(gamelistspectatorleftmessage_, other->gamelistspectatorleftmessage_); + std::swap(gamelistadminchangedmessage_, other->gamelistadminchangedmessage_); + std::swap(playerinforequestmessage_, other->playerinforequestmessage_); + std::swap(playerinforeplymessage_, other->playerinforeplymessage_); + std::swap(subscriptionrequestmessage_, other->subscriptionrequestmessage_); + std::swap(subscriptionreplymessage_, other->subscriptionreplymessage_); + std::swap(creategamemessage_, other->creategamemessage_); + std::swap(creategamefailedmessage_, other->creategamefailedmessage_); + std::swap(inviteplayertogamemessage_, other->inviteplayertogamemessage_); + std::swap(invitenotifymessage_, other->invitenotifymessage_); + std::swap(rejectgameinvitationmessage_, other->rejectgameinvitationmessage_); + std::swap(rejectinvnotifymessage_, other->rejectinvnotifymessage_); + std::swap(statisticsmessage_, other->statisticsmessage_); + std::swap(chatrequestmessage_, other->chatrequestmessage_); + std::swap(chatmessage_, other->chatmessage_); + std::swap(chatrejectmessage_, other->chatrejectmessage_); + std::swap(dialogmessage_, other->dialogmessage_); + std::swap(timeoutwarningmessage_, other->timeoutwarningmessage_); + std::swap(resettimeoutmessage_, other->resettimeoutmessage_); + std::swap(reportavatarmessage_, other->reportavatarmessage_); + std::swap(reportavatarackmessage_, other->reportavatarackmessage_); + std::swap(reportgamemessage_, other->reportgamemessage_); + std::swap(reportgameackmessage_, other->reportgameackmessage_); + std::swap(adminremovegamemessage_, other->adminremovegamemessage_); + std::swap(adminremovegameackmessage_, other->adminremovegameackmessage_); + std::swap(adminbanplayermessage_, other->adminbanplayermessage_); + std::swap(adminbanplayerackmessage_, other->adminbanplayerackmessage_); + std::swap(errormessage_, other->errormessage_); + std::swap(_has_bits_[0], other->_has_bits_[0]); + std::swap(_has_bits_[1], other->_has_bits_[1]); + std::swap(_cached_size_, other->_cached_size_); + } +} + +::std::string LobbyMessage::GetTypeName() const { + return "LobbyMessage"; +} + + +// =================================================================== + +bool GameManagementMessage_GameManagementMessageType_IsValid(int value) { + switch(value) { + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: + case 15: + case 16: + case 17: + case 18: + case 19: + case 20: + case 21: + case 22: + case 23: + case 24: + case 25: + case 26: + case 27: + case 28: + case 1024: + return true; + default: + return false; + } +} + +#ifndef _MSC_VER +const GameManagementMessage_GameManagementMessageType GameManagementMessage::Type_JoinGameMessage; +const GameManagementMessage_GameManagementMessageType GameManagementMessage::Type_RejoinGameMessage; +const GameManagementMessage_GameManagementMessageType GameManagementMessage::Type_JoinGameAckMessage; +const GameManagementMessage_GameManagementMessageType GameManagementMessage::Type_JoinGameFailedMessage; +const GameManagementMessage_GameManagementMessageType GameManagementMessage::Type_GamePlayerJoinedMessage; +const GameManagementMessage_GameManagementMessageType GameManagementMessage::Type_GamePlayerLeftMessage; +const GameManagementMessage_GameManagementMessageType GameManagementMessage::Type_GameSpectatorJoinedMessage; +const GameManagementMessage_GameManagementMessageType GameManagementMessage::Type_GameSpectatorLeftMessage; +const GameManagementMessage_GameManagementMessageType GameManagementMessage::Type_GameAdminChangedMessage; +const GameManagementMessage_GameManagementMessageType GameManagementMessage::Type_RemovedFromGameMessage; +const GameManagementMessage_GameManagementMessageType GameManagementMessage::Type_KickPlayerRequestMessage; +const GameManagementMessage_GameManagementMessageType GameManagementMessage::Type_LeaveGameRequestMessage; +const GameManagementMessage_GameManagementMessageType GameManagementMessage::Type_StartEventMessage; +const GameManagementMessage_GameManagementMessageType GameManagementMessage::Type_StartEventAckMessage; +const GameManagementMessage_GameManagementMessageType GameManagementMessage::Type_GameStartInitialMessage; +const GameManagementMessage_GameManagementMessageType GameManagementMessage::Type_GameStartRejoinMessage; +const GameManagementMessage_GameManagementMessageType GameManagementMessage::Type_EndOfGameMessage; +const GameManagementMessage_GameManagementMessageType GameManagementMessage::Type_PlayerIdChangedMessage; +const GameManagementMessage_GameManagementMessageType GameManagementMessage::Type_AskKickPlayerMessage; +const GameManagementMessage_GameManagementMessageType GameManagementMessage::Type_AskKickDeniedMessage; +const GameManagementMessage_GameManagementMessageType GameManagementMessage::Type_StartKickPetitionMessage; +const GameManagementMessage_GameManagementMessageType GameManagementMessage::Type_VoteKickRequestMessage; +const GameManagementMessage_GameManagementMessageType GameManagementMessage::Type_VoteKickReplyMessage; +const GameManagementMessage_GameManagementMessageType GameManagementMessage::Type_KickPetitionUpdateMessage; +const GameManagementMessage_GameManagementMessageType GameManagementMessage::Type_EndKickPetitionMessage; +const GameManagementMessage_GameManagementMessageType GameManagementMessage::Type_ChatRequestMessage; +const GameManagementMessage_GameManagementMessageType GameManagementMessage::Type_ChatMessage; +const GameManagementMessage_GameManagementMessageType GameManagementMessage::Type_ChatRejectMessage; +const GameManagementMessage_GameManagementMessageType GameManagementMessage::Type_ErrorMessage; +const GameManagementMessage_GameManagementMessageType GameManagementMessage::GameManagementMessageType_MIN; +const GameManagementMessage_GameManagementMessageType GameManagementMessage::GameManagementMessageType_MAX; +const int GameManagementMessage::GameManagementMessageType_ARRAYSIZE; +#endif // _MSC_VER +#ifndef _MSC_VER +const int GameManagementMessage::kMessageTypeFieldNumber; +const int GameManagementMessage::kJoinGameMessageFieldNumber; +const int GameManagementMessage::kRejoinGameMessageFieldNumber; +const int GameManagementMessage::kJoinGameAckMessageFieldNumber; +const int GameManagementMessage::kJoinGameFailedMessageFieldNumber; +const int GameManagementMessage::kGamePlayerJoinedMessageFieldNumber; +const int GameManagementMessage::kGamePlayerLeftMessageFieldNumber; +const int GameManagementMessage::kGameSpectatorJoinedMessageFieldNumber; +const int GameManagementMessage::kGameSpectatorLeftMessageFieldNumber; +const int GameManagementMessage::kGameAdminChangedMessageFieldNumber; +const int GameManagementMessage::kRemovedFromGameMessageFieldNumber; +const int GameManagementMessage::kKickPlayerRequestMessageFieldNumber; +const int GameManagementMessage::kLeaveGameRequestMessageFieldNumber; +const int GameManagementMessage::kStartEventMessageFieldNumber; +const int GameManagementMessage::kStartEventAckMessageFieldNumber; +const int GameManagementMessage::kGameStartInitialMessageFieldNumber; +const int GameManagementMessage::kGameStartRejoinMessageFieldNumber; +const int GameManagementMessage::kEndOfGameMessageFieldNumber; +const int GameManagementMessage::kPlayerIdChangedMessageFieldNumber; +const int GameManagementMessage::kAskKickPlayerMessageFieldNumber; +const int GameManagementMessage::kAskKickDeniedMessageFieldNumber; +const int GameManagementMessage::kStartKickPetitionMessageFieldNumber; +const int GameManagementMessage::kVoteKickRequestMessageFieldNumber; +const int GameManagementMessage::kVoteKickReplyMessageFieldNumber; +const int GameManagementMessage::kKickPetitionUpdateMessageFieldNumber; +const int GameManagementMessage::kEndKickPetitionMessageFieldNumber; +const int GameManagementMessage::kChatRequestMessageFieldNumber; +const int GameManagementMessage::kChatMessageFieldNumber; +const int GameManagementMessage::kChatRejectMessageFieldNumber; +const int GameManagementMessage::kErrorMessageFieldNumber; +#endif // !_MSC_VER + +GameManagementMessage::GameManagementMessage() + : ::google::protobuf::MessageLite() { + SharedCtor(); +} + +void GameManagementMessage::InitAsDefaultInstance() { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + joingamemessage_ = const_cast< ::JoinGameMessage*>( + ::JoinGameMessage::internal_default_instance()); +#else + joingamemessage_ = const_cast< ::JoinGameMessage*>(&::JoinGameMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + rejoingamemessage_ = const_cast< ::RejoinGameMessage*>( + ::RejoinGameMessage::internal_default_instance()); +#else + rejoingamemessage_ = const_cast< ::RejoinGameMessage*>(&::RejoinGameMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + joingameackmessage_ = const_cast< ::JoinGameAckMessage*>( + ::JoinGameAckMessage::internal_default_instance()); +#else + joingameackmessage_ = const_cast< ::JoinGameAckMessage*>(&::JoinGameAckMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + joingamefailedmessage_ = const_cast< ::JoinGameFailedMessage*>( + ::JoinGameFailedMessage::internal_default_instance()); +#else + joingamefailedmessage_ = const_cast< ::JoinGameFailedMessage*>(&::JoinGameFailedMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + gameplayerjoinedmessage_ = const_cast< ::GamePlayerJoinedMessage*>( + ::GamePlayerJoinedMessage::internal_default_instance()); +#else + gameplayerjoinedmessage_ = const_cast< ::GamePlayerJoinedMessage*>(&::GamePlayerJoinedMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + gameplayerleftmessage_ = const_cast< ::GamePlayerLeftMessage*>( + ::GamePlayerLeftMessage::internal_default_instance()); +#else + gameplayerleftmessage_ = const_cast< ::GamePlayerLeftMessage*>(&::GamePlayerLeftMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + gamespectatorjoinedmessage_ = const_cast< ::GameSpectatorJoinedMessage*>( + ::GameSpectatorJoinedMessage::internal_default_instance()); +#else + gamespectatorjoinedmessage_ = const_cast< ::GameSpectatorJoinedMessage*>(&::GameSpectatorJoinedMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + gamespectatorleftmessage_ = const_cast< ::GameSpectatorLeftMessage*>( + ::GameSpectatorLeftMessage::internal_default_instance()); +#else + gamespectatorleftmessage_ = const_cast< ::GameSpectatorLeftMessage*>(&::GameSpectatorLeftMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + gameadminchangedmessage_ = const_cast< ::GameAdminChangedMessage*>( + ::GameAdminChangedMessage::internal_default_instance()); +#else + gameadminchangedmessage_ = const_cast< ::GameAdminChangedMessage*>(&::GameAdminChangedMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + removedfromgamemessage_ = const_cast< ::RemovedFromGameMessage*>( + ::RemovedFromGameMessage::internal_default_instance()); +#else + removedfromgamemessage_ = const_cast< ::RemovedFromGameMessage*>(&::RemovedFromGameMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + kickplayerrequestmessage_ = const_cast< ::KickPlayerRequestMessage*>( + ::KickPlayerRequestMessage::internal_default_instance()); +#else + kickplayerrequestmessage_ = const_cast< ::KickPlayerRequestMessage*>(&::KickPlayerRequestMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + leavegamerequestmessage_ = const_cast< ::LeaveGameRequestMessage*>( + ::LeaveGameRequestMessage::internal_default_instance()); +#else + leavegamerequestmessage_ = const_cast< ::LeaveGameRequestMessage*>(&::LeaveGameRequestMessage::default_instance()); +#endif #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER starteventmessage_ = const_cast< ::StartEventMessage*>( ::StartEventMessage::internal_default_instance()); @@ -22548,6 +24157,1444 @@ void PokerTHMessage::InitAsDefaultInstance() { #else gamestartrejoinmessage_ = const_cast< ::GameStartRejoinMessage*>(&::GameStartRejoinMessage::default_instance()); #endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + endofgamemessage_ = const_cast< ::EndOfGameMessage*>( + ::EndOfGameMessage::internal_default_instance()); +#else + endofgamemessage_ = const_cast< ::EndOfGameMessage*>(&::EndOfGameMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + playeridchangedmessage_ = const_cast< ::PlayerIdChangedMessage*>( + ::PlayerIdChangedMessage::internal_default_instance()); +#else + playeridchangedmessage_ = const_cast< ::PlayerIdChangedMessage*>(&::PlayerIdChangedMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + askkickplayermessage_ = const_cast< ::AskKickPlayerMessage*>( + ::AskKickPlayerMessage::internal_default_instance()); +#else + askkickplayermessage_ = const_cast< ::AskKickPlayerMessage*>(&::AskKickPlayerMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + askkickdeniedmessage_ = const_cast< ::AskKickDeniedMessage*>( + ::AskKickDeniedMessage::internal_default_instance()); +#else + askkickdeniedmessage_ = const_cast< ::AskKickDeniedMessage*>(&::AskKickDeniedMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + startkickpetitionmessage_ = const_cast< ::StartKickPetitionMessage*>( + ::StartKickPetitionMessage::internal_default_instance()); +#else + startkickpetitionmessage_ = const_cast< ::StartKickPetitionMessage*>(&::StartKickPetitionMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + votekickrequestmessage_ = const_cast< ::VoteKickRequestMessage*>( + ::VoteKickRequestMessage::internal_default_instance()); +#else + votekickrequestmessage_ = const_cast< ::VoteKickRequestMessage*>(&::VoteKickRequestMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + votekickreplymessage_ = const_cast< ::VoteKickReplyMessage*>( + ::VoteKickReplyMessage::internal_default_instance()); +#else + votekickreplymessage_ = const_cast< ::VoteKickReplyMessage*>(&::VoteKickReplyMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + kickpetitionupdatemessage_ = const_cast< ::KickPetitionUpdateMessage*>( + ::KickPetitionUpdateMessage::internal_default_instance()); +#else + kickpetitionupdatemessage_ = const_cast< ::KickPetitionUpdateMessage*>(&::KickPetitionUpdateMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + endkickpetitionmessage_ = const_cast< ::EndKickPetitionMessage*>( + ::EndKickPetitionMessage::internal_default_instance()); +#else + endkickpetitionmessage_ = const_cast< ::EndKickPetitionMessage*>(&::EndKickPetitionMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + chatrequestmessage_ = const_cast< ::ChatRequestMessage*>( + ::ChatRequestMessage::internal_default_instance()); +#else + chatrequestmessage_ = const_cast< ::ChatRequestMessage*>(&::ChatRequestMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + chatmessage_ = const_cast< ::ChatMessage*>( + ::ChatMessage::internal_default_instance()); +#else + chatmessage_ = const_cast< ::ChatMessage*>(&::ChatMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + chatrejectmessage_ = const_cast< ::ChatRejectMessage*>( + ::ChatRejectMessage::internal_default_instance()); +#else + chatrejectmessage_ = const_cast< ::ChatRejectMessage*>(&::ChatRejectMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + errormessage_ = const_cast< ::ErrorMessage*>( + ::ErrorMessage::internal_default_instance()); +#else + errormessage_ = const_cast< ::ErrorMessage*>(&::ErrorMessage::default_instance()); +#endif +} + +GameManagementMessage::GameManagementMessage(const GameManagementMessage& from) + : ::google::protobuf::MessageLite() { + SharedCtor(); + MergeFrom(from); +} + +void GameManagementMessage::SharedCtor() { + _cached_size_ = 0; + messagetype_ = 1; + joingamemessage_ = NULL; + rejoingamemessage_ = NULL; + joingameackmessage_ = NULL; + joingamefailedmessage_ = NULL; + gameplayerjoinedmessage_ = NULL; + gameplayerleftmessage_ = NULL; + gamespectatorjoinedmessage_ = NULL; + gamespectatorleftmessage_ = NULL; + gameadminchangedmessage_ = NULL; + removedfromgamemessage_ = NULL; + kickplayerrequestmessage_ = NULL; + leavegamerequestmessage_ = NULL; + starteventmessage_ = NULL; + starteventackmessage_ = NULL; + gamestartinitialmessage_ = NULL; + gamestartrejoinmessage_ = NULL; + endofgamemessage_ = NULL; + playeridchangedmessage_ = NULL; + askkickplayermessage_ = NULL; + askkickdeniedmessage_ = NULL; + startkickpetitionmessage_ = NULL; + votekickrequestmessage_ = NULL; + votekickreplymessage_ = NULL; + kickpetitionupdatemessage_ = NULL; + endkickpetitionmessage_ = NULL; + chatrequestmessage_ = NULL; + chatmessage_ = NULL; + chatrejectmessage_ = NULL; + errormessage_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GameManagementMessage::~GameManagementMessage() { + SharedDtor(); +} + +void GameManagementMessage::SharedDtor() { + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else + if (this != default_instance_) { + #endif + delete joingamemessage_; + delete rejoingamemessage_; + delete joingameackmessage_; + delete joingamefailedmessage_; + delete gameplayerjoinedmessage_; + delete gameplayerleftmessage_; + delete gamespectatorjoinedmessage_; + delete gamespectatorleftmessage_; + delete gameadminchangedmessage_; + delete removedfromgamemessage_; + delete kickplayerrequestmessage_; + delete leavegamerequestmessage_; + delete starteventmessage_; + delete starteventackmessage_; + delete gamestartinitialmessage_; + delete gamestartrejoinmessage_; + delete endofgamemessage_; + delete playeridchangedmessage_; + delete askkickplayermessage_; + delete askkickdeniedmessage_; + delete startkickpetitionmessage_; + delete votekickrequestmessage_; + delete votekickreplymessage_; + delete kickpetitionupdatemessage_; + delete endkickpetitionmessage_; + delete chatrequestmessage_; + delete chatmessage_; + delete chatrejectmessage_; + delete errormessage_; + } +} + +void GameManagementMessage::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const GameManagementMessage& GameManagementMessage::default_instance() { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; +} + +GameManagementMessage* GameManagementMessage::default_instance_ = NULL; + +GameManagementMessage* GameManagementMessage::New() const { + return new GameManagementMessage; +} + +void GameManagementMessage::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + messagetype_ = 1; + if (has_joingamemessage()) { + if (joingamemessage_ != NULL) joingamemessage_->::JoinGameMessage::Clear(); + } + if (has_rejoingamemessage()) { + if (rejoingamemessage_ != NULL) rejoingamemessage_->::RejoinGameMessage::Clear(); + } + if (has_joingameackmessage()) { + if (joingameackmessage_ != NULL) joingameackmessage_->::JoinGameAckMessage::Clear(); + } + if (has_joingamefailedmessage()) { + if (joingamefailedmessage_ != NULL) joingamefailedmessage_->::JoinGameFailedMessage::Clear(); + } + if (has_gameplayerjoinedmessage()) { + if (gameplayerjoinedmessage_ != NULL) gameplayerjoinedmessage_->::GamePlayerJoinedMessage::Clear(); + } + if (has_gameplayerleftmessage()) { + if (gameplayerleftmessage_ != NULL) gameplayerleftmessage_->::GamePlayerLeftMessage::Clear(); + } + if (has_gamespectatorjoinedmessage()) { + if (gamespectatorjoinedmessage_ != NULL) gamespectatorjoinedmessage_->::GameSpectatorJoinedMessage::Clear(); + } + } + if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) { + if (has_gamespectatorleftmessage()) { + if (gamespectatorleftmessage_ != NULL) gamespectatorleftmessage_->::GameSpectatorLeftMessage::Clear(); + } + if (has_gameadminchangedmessage()) { + if (gameadminchangedmessage_ != NULL) gameadminchangedmessage_->::GameAdminChangedMessage::Clear(); + } + if (has_removedfromgamemessage()) { + if (removedfromgamemessage_ != NULL) removedfromgamemessage_->::RemovedFromGameMessage::Clear(); + } + if (has_kickplayerrequestmessage()) { + if (kickplayerrequestmessage_ != NULL) kickplayerrequestmessage_->::KickPlayerRequestMessage::Clear(); + } + if (has_leavegamerequestmessage()) { + if (leavegamerequestmessage_ != NULL) leavegamerequestmessage_->::LeaveGameRequestMessage::Clear(); + } + if (has_starteventmessage()) { + if (starteventmessage_ != NULL) starteventmessage_->::StartEventMessage::Clear(); + } + if (has_starteventackmessage()) { + if (starteventackmessage_ != NULL) starteventackmessage_->::StartEventAckMessage::Clear(); + } + if (has_gamestartinitialmessage()) { + if (gamestartinitialmessage_ != NULL) gamestartinitialmessage_->::GameStartInitialMessage::Clear(); + } + } + if (_has_bits_[16 / 32] & (0xffu << (16 % 32))) { + if (has_gamestartrejoinmessage()) { + if (gamestartrejoinmessage_ != NULL) gamestartrejoinmessage_->::GameStartRejoinMessage::Clear(); + } + if (has_endofgamemessage()) { + if (endofgamemessage_ != NULL) endofgamemessage_->::EndOfGameMessage::Clear(); + } + if (has_playeridchangedmessage()) { + if (playeridchangedmessage_ != NULL) playeridchangedmessage_->::PlayerIdChangedMessage::Clear(); + } + if (has_askkickplayermessage()) { + if (askkickplayermessage_ != NULL) askkickplayermessage_->::AskKickPlayerMessage::Clear(); + } + if (has_askkickdeniedmessage()) { + if (askkickdeniedmessage_ != NULL) askkickdeniedmessage_->::AskKickDeniedMessage::Clear(); + } + if (has_startkickpetitionmessage()) { + if (startkickpetitionmessage_ != NULL) startkickpetitionmessage_->::StartKickPetitionMessage::Clear(); + } + if (has_votekickrequestmessage()) { + if (votekickrequestmessage_ != NULL) votekickrequestmessage_->::VoteKickRequestMessage::Clear(); + } + if (has_votekickreplymessage()) { + if (votekickreplymessage_ != NULL) votekickreplymessage_->::VoteKickReplyMessage::Clear(); + } + } + if (_has_bits_[24 / 32] & (0xffu << (24 % 32))) { + if (has_kickpetitionupdatemessage()) { + if (kickpetitionupdatemessage_ != NULL) kickpetitionupdatemessage_->::KickPetitionUpdateMessage::Clear(); + } + if (has_endkickpetitionmessage()) { + if (endkickpetitionmessage_ != NULL) endkickpetitionmessage_->::EndKickPetitionMessage::Clear(); + } + if (has_chatrequestmessage()) { + if (chatrequestmessage_ != NULL) chatrequestmessage_->::ChatRequestMessage::Clear(); + } + if (has_chatmessage()) { + if (chatmessage_ != NULL) chatmessage_->::ChatMessage::Clear(); + } + if (has_chatrejectmessage()) { + if (chatrejectmessage_ != NULL) chatrejectmessage_->::ChatRejectMessage::Clear(); + } + if (has_errormessage()) { + if (errormessage_ != NULL) errormessage_->::ErrorMessage::Clear(); + } + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +bool GameManagementMessage::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!(EXPRESSION)) return false + ::google::protobuf::uint32 tag; + while ((tag = input->ReadTag()) != 0) { + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // required .GameManagementMessage.GameManagementMessageType messageType = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + int value; + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( + input, &value))); + if (::GameManagementMessage_GameManagementMessageType_IsValid(value)) { + set_messagetype(static_cast< ::GameManagementMessage_GameManagementMessageType >(value)); + } + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(18)) goto parse_joinGameMessage; + break; + } + + // optional .JoinGameMessage joinGameMessage = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_joinGameMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_joingamemessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(26)) goto parse_rejoinGameMessage; + break; + } + + // optional .RejoinGameMessage rejoinGameMessage = 3; + case 3: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_rejoinGameMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_rejoingamemessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(34)) goto parse_joinGameAckMessage; + break; + } + + // optional .JoinGameAckMessage joinGameAckMessage = 4; + case 4: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_joinGameAckMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_joingameackmessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(42)) goto parse_joinGameFailedMessage; + break; + } + + // optional .JoinGameFailedMessage joinGameFailedMessage = 5; + case 5: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_joinGameFailedMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_joingamefailedmessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(50)) goto parse_gamePlayerJoinedMessage; + break; + } + + // optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 6; + case 6: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_gamePlayerJoinedMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_gameplayerjoinedmessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(58)) goto parse_gamePlayerLeftMessage; + break; + } + + // optional .GamePlayerLeftMessage gamePlayerLeftMessage = 7; + case 7: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_gamePlayerLeftMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_gameplayerleftmessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(66)) goto parse_gameSpectatorJoinedMessage; + break; + } + + // optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 8; + case 8: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_gameSpectatorJoinedMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_gamespectatorjoinedmessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(74)) goto parse_gameSpectatorLeftMessage; + break; + } + + // optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 9; + case 9: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_gameSpectatorLeftMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_gamespectatorleftmessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(82)) goto parse_gameAdminChangedMessage; + break; + } + + // optional .GameAdminChangedMessage gameAdminChangedMessage = 10; + case 10: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_gameAdminChangedMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_gameadminchangedmessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(90)) goto parse_removedFromGameMessage; + break; + } + + // optional .RemovedFromGameMessage removedFromGameMessage = 11; + case 11: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_removedFromGameMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_removedfromgamemessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(98)) goto parse_kickPlayerRequestMessage; + break; + } + + // optional .KickPlayerRequestMessage kickPlayerRequestMessage = 12; + case 12: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_kickPlayerRequestMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_kickplayerrequestmessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(106)) goto parse_leaveGameRequestMessage; + break; + } + + // optional .LeaveGameRequestMessage leaveGameRequestMessage = 13; + case 13: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_leaveGameRequestMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_leavegamerequestmessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(114)) goto parse_startEventMessage; + break; + } + + // optional .StartEventMessage startEventMessage = 14; + case 14: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_startEventMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_starteventmessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(122)) goto parse_startEventAckMessage; + break; + } + + // optional .StartEventAckMessage startEventAckMessage = 15; + case 15: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_startEventAckMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_starteventackmessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(130)) goto parse_gameStartInitialMessage; + break; + } + + // optional .GameStartInitialMessage gameStartInitialMessage = 16; + case 16: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_gameStartInitialMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_gamestartinitialmessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(138)) goto parse_gameStartRejoinMessage; + break; + } + + // optional .GameStartRejoinMessage gameStartRejoinMessage = 17; + case 17: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_gameStartRejoinMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_gamestartrejoinmessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(146)) goto parse_endOfGameMessage; + break; + } + + // optional .EndOfGameMessage endOfGameMessage = 18; + case 18: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_endOfGameMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_endofgamemessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(154)) goto parse_playerIdChangedMessage; + break; + } + + // optional .PlayerIdChangedMessage playerIdChangedMessage = 19; + case 19: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_playerIdChangedMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_playeridchangedmessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(162)) goto parse_askKickPlayerMessage; + break; + } + + // optional .AskKickPlayerMessage askKickPlayerMessage = 20; + case 20: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_askKickPlayerMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_askkickplayermessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(170)) goto parse_askKickDeniedMessage; + break; + } + + // optional .AskKickDeniedMessage askKickDeniedMessage = 21; + case 21: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_askKickDeniedMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_askkickdeniedmessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(178)) goto parse_startKickPetitionMessage; + break; + } + + // optional .StartKickPetitionMessage startKickPetitionMessage = 22; + case 22: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_startKickPetitionMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_startkickpetitionmessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(186)) goto parse_voteKickRequestMessage; + break; + } + + // optional .VoteKickRequestMessage voteKickRequestMessage = 23; + case 23: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_voteKickRequestMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_votekickrequestmessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(194)) goto parse_voteKickReplyMessage; + break; + } + + // optional .VoteKickReplyMessage voteKickReplyMessage = 24; + case 24: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_voteKickReplyMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_votekickreplymessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(202)) goto parse_kickPetitionUpdateMessage; + break; + } + + // optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 25; + case 25: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_kickPetitionUpdateMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_kickpetitionupdatemessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(210)) goto parse_endKickPetitionMessage; + break; + } + + // optional .EndKickPetitionMessage endKickPetitionMessage = 26; + case 26: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_endKickPetitionMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_endkickpetitionmessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(218)) goto parse_chatRequestMessage; + break; + } + + // optional .ChatRequestMessage chatRequestMessage = 27; + case 27: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_chatRequestMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_chatrequestmessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(226)) goto parse_chatMessage; + break; + } + + // optional .ChatMessage chatMessage = 28; + case 28: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_chatMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_chatmessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(234)) goto parse_chatRejectMessage; + break; + } + + // optional .ChatRejectMessage chatRejectMessage = 29; + case 29: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_chatRejectMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_chatrejectmessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(8202)) goto parse_errorMessage; + break; + } + + // optional .ErrorMessage errorMessage = 1025; + case 1025: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_errorMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_errormessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectAtEnd()) return true; + break; + } + + default: { + handle_uninterpreted: + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { + return true; + } + DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + break; + } + } + } + return true; +#undef DO_ +} + +void GameManagementMessage::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // required .GameManagementMessage.GameManagementMessageType messageType = 1; + if (has_messagetype()) { + ::google::protobuf::internal::WireFormatLite::WriteEnum( + 1, this->messagetype(), output); + } + + // optional .JoinGameMessage joinGameMessage = 2; + if (has_joingamemessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 2, this->joingamemessage(), output); + } + + // optional .RejoinGameMessage rejoinGameMessage = 3; + if (has_rejoingamemessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 3, this->rejoingamemessage(), output); + } + + // optional .JoinGameAckMessage joinGameAckMessage = 4; + if (has_joingameackmessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 4, this->joingameackmessage(), output); + } + + // optional .JoinGameFailedMessage joinGameFailedMessage = 5; + if (has_joingamefailedmessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 5, this->joingamefailedmessage(), output); + } + + // optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 6; + if (has_gameplayerjoinedmessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 6, this->gameplayerjoinedmessage(), output); + } + + // optional .GamePlayerLeftMessage gamePlayerLeftMessage = 7; + if (has_gameplayerleftmessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 7, this->gameplayerleftmessage(), output); + } + + // optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 8; + if (has_gamespectatorjoinedmessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 8, this->gamespectatorjoinedmessage(), output); + } + + // optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 9; + if (has_gamespectatorleftmessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 9, this->gamespectatorleftmessage(), output); + } + + // optional .GameAdminChangedMessage gameAdminChangedMessage = 10; + if (has_gameadminchangedmessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 10, this->gameadminchangedmessage(), output); + } + + // optional .RemovedFromGameMessage removedFromGameMessage = 11; + if (has_removedfromgamemessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 11, this->removedfromgamemessage(), output); + } + + // optional .KickPlayerRequestMessage kickPlayerRequestMessage = 12; + if (has_kickplayerrequestmessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 12, this->kickplayerrequestmessage(), output); + } + + // optional .LeaveGameRequestMessage leaveGameRequestMessage = 13; + if (has_leavegamerequestmessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 13, this->leavegamerequestmessage(), output); + } + + // optional .StartEventMessage startEventMessage = 14; + if (has_starteventmessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 14, this->starteventmessage(), output); + } + + // optional .StartEventAckMessage startEventAckMessage = 15; + if (has_starteventackmessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 15, this->starteventackmessage(), output); + } + + // optional .GameStartInitialMessage gameStartInitialMessage = 16; + if (has_gamestartinitialmessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 16, this->gamestartinitialmessage(), output); + } + + // optional .GameStartRejoinMessage gameStartRejoinMessage = 17; + if (has_gamestartrejoinmessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 17, this->gamestartrejoinmessage(), output); + } + + // optional .EndOfGameMessage endOfGameMessage = 18; + if (has_endofgamemessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 18, this->endofgamemessage(), output); + } + + // optional .PlayerIdChangedMessage playerIdChangedMessage = 19; + if (has_playeridchangedmessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 19, this->playeridchangedmessage(), output); + } + + // optional .AskKickPlayerMessage askKickPlayerMessage = 20; + if (has_askkickplayermessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 20, this->askkickplayermessage(), output); + } + + // optional .AskKickDeniedMessage askKickDeniedMessage = 21; + if (has_askkickdeniedmessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 21, this->askkickdeniedmessage(), output); + } + + // optional .StartKickPetitionMessage startKickPetitionMessage = 22; + if (has_startkickpetitionmessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 22, this->startkickpetitionmessage(), output); + } + + // optional .VoteKickRequestMessage voteKickRequestMessage = 23; + if (has_votekickrequestmessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 23, this->votekickrequestmessage(), output); + } + + // optional .VoteKickReplyMessage voteKickReplyMessage = 24; + if (has_votekickreplymessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 24, this->votekickreplymessage(), output); + } + + // optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 25; + if (has_kickpetitionupdatemessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 25, this->kickpetitionupdatemessage(), output); + } + + // optional .EndKickPetitionMessage endKickPetitionMessage = 26; + if (has_endkickpetitionmessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 26, this->endkickpetitionmessage(), output); + } + + // optional .ChatRequestMessage chatRequestMessage = 27; + if (has_chatrequestmessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 27, this->chatrequestmessage(), output); + } + + // optional .ChatMessage chatMessage = 28; + if (has_chatmessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 28, this->chatmessage(), output); + } + + // optional .ChatRejectMessage chatRejectMessage = 29; + if (has_chatrejectmessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 29, this->chatrejectmessage(), output); + } + + // optional .ErrorMessage errorMessage = 1025; + if (has_errormessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 1025, this->errormessage(), output); + } + +} + +int GameManagementMessage::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // required .GameManagementMessage.GameManagementMessageType messageType = 1; + if (has_messagetype()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::EnumSize(this->messagetype()); + } + + // optional .JoinGameMessage joinGameMessage = 2; + if (has_joingamemessage()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->joingamemessage()); + } + + // optional .RejoinGameMessage rejoinGameMessage = 3; + if (has_rejoingamemessage()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->rejoingamemessage()); + } + + // optional .JoinGameAckMessage joinGameAckMessage = 4; + if (has_joingameackmessage()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->joingameackmessage()); + } + + // optional .JoinGameFailedMessage joinGameFailedMessage = 5; + if (has_joingamefailedmessage()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->joingamefailedmessage()); + } + + // optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 6; + if (has_gameplayerjoinedmessage()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->gameplayerjoinedmessage()); + } + + // optional .GamePlayerLeftMessage gamePlayerLeftMessage = 7; + if (has_gameplayerleftmessage()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->gameplayerleftmessage()); + } + + // optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 8; + if (has_gamespectatorjoinedmessage()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->gamespectatorjoinedmessage()); + } + + } + if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) { + // optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 9; + if (has_gamespectatorleftmessage()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->gamespectatorleftmessage()); + } + + // optional .GameAdminChangedMessage gameAdminChangedMessage = 10; + if (has_gameadminchangedmessage()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->gameadminchangedmessage()); + } + + // optional .RemovedFromGameMessage removedFromGameMessage = 11; + if (has_removedfromgamemessage()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->removedfromgamemessage()); + } + + // optional .KickPlayerRequestMessage kickPlayerRequestMessage = 12; + if (has_kickplayerrequestmessage()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->kickplayerrequestmessage()); + } + + // optional .LeaveGameRequestMessage leaveGameRequestMessage = 13; + if (has_leavegamerequestmessage()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->leavegamerequestmessage()); + } + + // optional .StartEventMessage startEventMessage = 14; + if (has_starteventmessage()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->starteventmessage()); + } + + // optional .StartEventAckMessage startEventAckMessage = 15; + if (has_starteventackmessage()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->starteventackmessage()); + } + + // optional .GameStartInitialMessage gameStartInitialMessage = 16; + if (has_gamestartinitialmessage()) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->gamestartinitialmessage()); + } + + } + if (_has_bits_[16 / 32] & (0xffu << (16 % 32))) { + // optional .GameStartRejoinMessage gameStartRejoinMessage = 17; + if (has_gamestartrejoinmessage()) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->gamestartrejoinmessage()); + } + + // optional .EndOfGameMessage endOfGameMessage = 18; + if (has_endofgamemessage()) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->endofgamemessage()); + } + + // optional .PlayerIdChangedMessage playerIdChangedMessage = 19; + if (has_playeridchangedmessage()) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->playeridchangedmessage()); + } + + // optional .AskKickPlayerMessage askKickPlayerMessage = 20; + if (has_askkickplayermessage()) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->askkickplayermessage()); + } + + // optional .AskKickDeniedMessage askKickDeniedMessage = 21; + if (has_askkickdeniedmessage()) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->askkickdeniedmessage()); + } + + // optional .StartKickPetitionMessage startKickPetitionMessage = 22; + if (has_startkickpetitionmessage()) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->startkickpetitionmessage()); + } + + // optional .VoteKickRequestMessage voteKickRequestMessage = 23; + if (has_votekickrequestmessage()) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->votekickrequestmessage()); + } + + // optional .VoteKickReplyMessage voteKickReplyMessage = 24; + if (has_votekickreplymessage()) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->votekickreplymessage()); + } + + } + if (_has_bits_[24 / 32] & (0xffu << (24 % 32))) { + // optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 25; + if (has_kickpetitionupdatemessage()) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->kickpetitionupdatemessage()); + } + + // optional .EndKickPetitionMessage endKickPetitionMessage = 26; + if (has_endkickpetitionmessage()) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->endkickpetitionmessage()); + } + + // optional .ChatRequestMessage chatRequestMessage = 27; + if (has_chatrequestmessage()) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->chatrequestmessage()); + } + + // optional .ChatMessage chatMessage = 28; + if (has_chatmessage()) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->chatmessage()); + } + + // optional .ChatRejectMessage chatRejectMessage = 29; + if (has_chatrejectmessage()) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->chatrejectmessage()); + } + + // optional .ErrorMessage errorMessage = 1025; + if (has_errormessage()) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->errormessage()); + } + + } + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = total_size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); + return total_size; +} + +void GameManagementMessage::CheckTypeAndMergeFrom( + const ::google::protobuf::MessageLite& from) { + MergeFrom(*::google::protobuf::down_cast(&from)); +} + +void GameManagementMessage::MergeFrom(const GameManagementMessage& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_messagetype()) { + set_messagetype(from.messagetype()); + } + if (from.has_joingamemessage()) { + mutable_joingamemessage()->::JoinGameMessage::MergeFrom(from.joingamemessage()); + } + if (from.has_rejoingamemessage()) { + mutable_rejoingamemessage()->::RejoinGameMessage::MergeFrom(from.rejoingamemessage()); + } + if (from.has_joingameackmessage()) { + mutable_joingameackmessage()->::JoinGameAckMessage::MergeFrom(from.joingameackmessage()); + } + if (from.has_joingamefailedmessage()) { + mutable_joingamefailedmessage()->::JoinGameFailedMessage::MergeFrom(from.joingamefailedmessage()); + } + if (from.has_gameplayerjoinedmessage()) { + mutable_gameplayerjoinedmessage()->::GamePlayerJoinedMessage::MergeFrom(from.gameplayerjoinedmessage()); + } + if (from.has_gameplayerleftmessage()) { + mutable_gameplayerleftmessage()->::GamePlayerLeftMessage::MergeFrom(from.gameplayerleftmessage()); + } + if (from.has_gamespectatorjoinedmessage()) { + mutable_gamespectatorjoinedmessage()->::GameSpectatorJoinedMessage::MergeFrom(from.gamespectatorjoinedmessage()); + } + } + if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) { + if (from.has_gamespectatorleftmessage()) { + mutable_gamespectatorleftmessage()->::GameSpectatorLeftMessage::MergeFrom(from.gamespectatorleftmessage()); + } + if (from.has_gameadminchangedmessage()) { + mutable_gameadminchangedmessage()->::GameAdminChangedMessage::MergeFrom(from.gameadminchangedmessage()); + } + if (from.has_removedfromgamemessage()) { + mutable_removedfromgamemessage()->::RemovedFromGameMessage::MergeFrom(from.removedfromgamemessage()); + } + if (from.has_kickplayerrequestmessage()) { + mutable_kickplayerrequestmessage()->::KickPlayerRequestMessage::MergeFrom(from.kickplayerrequestmessage()); + } + if (from.has_leavegamerequestmessage()) { + mutable_leavegamerequestmessage()->::LeaveGameRequestMessage::MergeFrom(from.leavegamerequestmessage()); + } + if (from.has_starteventmessage()) { + mutable_starteventmessage()->::StartEventMessage::MergeFrom(from.starteventmessage()); + } + if (from.has_starteventackmessage()) { + mutable_starteventackmessage()->::StartEventAckMessage::MergeFrom(from.starteventackmessage()); + } + if (from.has_gamestartinitialmessage()) { + mutable_gamestartinitialmessage()->::GameStartInitialMessage::MergeFrom(from.gamestartinitialmessage()); + } + } + if (from._has_bits_[16 / 32] & (0xffu << (16 % 32))) { + if (from.has_gamestartrejoinmessage()) { + mutable_gamestartrejoinmessage()->::GameStartRejoinMessage::MergeFrom(from.gamestartrejoinmessage()); + } + if (from.has_endofgamemessage()) { + mutable_endofgamemessage()->::EndOfGameMessage::MergeFrom(from.endofgamemessage()); + } + if (from.has_playeridchangedmessage()) { + mutable_playeridchangedmessage()->::PlayerIdChangedMessage::MergeFrom(from.playeridchangedmessage()); + } + if (from.has_askkickplayermessage()) { + mutable_askkickplayermessage()->::AskKickPlayerMessage::MergeFrom(from.askkickplayermessage()); + } + if (from.has_askkickdeniedmessage()) { + mutable_askkickdeniedmessage()->::AskKickDeniedMessage::MergeFrom(from.askkickdeniedmessage()); + } + if (from.has_startkickpetitionmessage()) { + mutable_startkickpetitionmessage()->::StartKickPetitionMessage::MergeFrom(from.startkickpetitionmessage()); + } + if (from.has_votekickrequestmessage()) { + mutable_votekickrequestmessage()->::VoteKickRequestMessage::MergeFrom(from.votekickrequestmessage()); + } + if (from.has_votekickreplymessage()) { + mutable_votekickreplymessage()->::VoteKickReplyMessage::MergeFrom(from.votekickreplymessage()); + } + } + if (from._has_bits_[24 / 32] & (0xffu << (24 % 32))) { + if (from.has_kickpetitionupdatemessage()) { + mutable_kickpetitionupdatemessage()->::KickPetitionUpdateMessage::MergeFrom(from.kickpetitionupdatemessage()); + } + if (from.has_endkickpetitionmessage()) { + mutable_endkickpetitionmessage()->::EndKickPetitionMessage::MergeFrom(from.endkickpetitionmessage()); + } + if (from.has_chatrequestmessage()) { + mutable_chatrequestmessage()->::ChatRequestMessage::MergeFrom(from.chatrequestmessage()); + } + if (from.has_chatmessage()) { + mutable_chatmessage()->::ChatMessage::MergeFrom(from.chatmessage()); + } + if (from.has_chatrejectmessage()) { + mutable_chatrejectmessage()->::ChatRejectMessage::MergeFrom(from.chatrejectmessage()); + } + if (from.has_errormessage()) { + mutable_errormessage()->::ErrorMessage::MergeFrom(from.errormessage()); + } + } +} + +void GameManagementMessage::CopyFrom(const GameManagementMessage& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool GameManagementMessage::IsInitialized() const { + if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false; + + if (has_joingameackmessage()) { + if (!this->joingameackmessage().IsInitialized()) return false; + } + if (has_joingamefailedmessage()) { + if (!this->joingamefailedmessage().IsInitialized()) return false; + } + if (has_gameplayerjoinedmessage()) { + if (!this->gameplayerjoinedmessage().IsInitialized()) return false; + } + if (has_gameplayerleftmessage()) { + if (!this->gameplayerleftmessage().IsInitialized()) return false; + } + if (has_gamespectatorjoinedmessage()) { + if (!this->gamespectatorjoinedmessage().IsInitialized()) return false; + } + if (has_gamespectatorleftmessage()) { + if (!this->gamespectatorleftmessage().IsInitialized()) return false; + } + if (has_gameadminchangedmessage()) { + if (!this->gameadminchangedmessage().IsInitialized()) return false; + } + if (has_removedfromgamemessage()) { + if (!this->removedfromgamemessage().IsInitialized()) return false; + } + if (has_kickplayerrequestmessage()) { + if (!this->kickplayerrequestmessage().IsInitialized()) return false; + } + if (has_starteventmessage()) { + if (!this->starteventmessage().IsInitialized()) return false; + } + if (has_gamestartinitialmessage()) { + if (!this->gamestartinitialmessage().IsInitialized()) return false; + } + if (has_gamestartrejoinmessage()) { + if (!this->gamestartrejoinmessage().IsInitialized()) return false; + } + if (has_endofgamemessage()) { + if (!this->endofgamemessage().IsInitialized()) return false; + } + if (has_playeridchangedmessage()) { + if (!this->playeridchangedmessage().IsInitialized()) return false; + } + if (has_askkickplayermessage()) { + if (!this->askkickplayermessage().IsInitialized()) return false; + } + if (has_askkickdeniedmessage()) { + if (!this->askkickdeniedmessage().IsInitialized()) return false; + } + if (has_startkickpetitionmessage()) { + if (!this->startkickpetitionmessage().IsInitialized()) return false; + } + if (has_votekickrequestmessage()) { + if (!this->votekickrequestmessage().IsInitialized()) return false; + } + if (has_votekickreplymessage()) { + if (!this->votekickreplymessage().IsInitialized()) return false; + } + if (has_kickpetitionupdatemessage()) { + if (!this->kickpetitionupdatemessage().IsInitialized()) return false; + } + if (has_endkickpetitionmessage()) { + if (!this->endkickpetitionmessage().IsInitialized()) return false; + } + if (has_chatrequestmessage()) { + if (!this->chatrequestmessage().IsInitialized()) return false; + } + if (has_chatmessage()) { + if (!this->chatmessage().IsInitialized()) return false; + } + if (has_chatrejectmessage()) { + if (!this->chatrejectmessage().IsInitialized()) return false; + } + if (has_errormessage()) { + if (!this->errormessage().IsInitialized()) return false; + } + return true; +} + +void GameManagementMessage::Swap(GameManagementMessage* other) { + if (other != this) { + std::swap(messagetype_, other->messagetype_); + std::swap(joingamemessage_, other->joingamemessage_); + std::swap(rejoingamemessage_, other->rejoingamemessage_); + std::swap(joingameackmessage_, other->joingameackmessage_); + std::swap(joingamefailedmessage_, other->joingamefailedmessage_); + std::swap(gameplayerjoinedmessage_, other->gameplayerjoinedmessage_); + std::swap(gameplayerleftmessage_, other->gameplayerleftmessage_); + std::swap(gamespectatorjoinedmessage_, other->gamespectatorjoinedmessage_); + std::swap(gamespectatorleftmessage_, other->gamespectatorleftmessage_); + std::swap(gameadminchangedmessage_, other->gameadminchangedmessage_); + std::swap(removedfromgamemessage_, other->removedfromgamemessage_); + std::swap(kickplayerrequestmessage_, other->kickplayerrequestmessage_); + std::swap(leavegamerequestmessage_, other->leavegamerequestmessage_); + std::swap(starteventmessage_, other->starteventmessage_); + std::swap(starteventackmessage_, other->starteventackmessage_); + std::swap(gamestartinitialmessage_, other->gamestartinitialmessage_); + std::swap(gamestartrejoinmessage_, other->gamestartrejoinmessage_); + std::swap(endofgamemessage_, other->endofgamemessage_); + std::swap(playeridchangedmessage_, other->playeridchangedmessage_); + std::swap(askkickplayermessage_, other->askkickplayermessage_); + std::swap(askkickdeniedmessage_, other->askkickdeniedmessage_); + std::swap(startkickpetitionmessage_, other->startkickpetitionmessage_); + std::swap(votekickrequestmessage_, other->votekickrequestmessage_); + std::swap(votekickreplymessage_, other->votekickreplymessage_); + std::swap(kickpetitionupdatemessage_, other->kickpetitionupdatemessage_); + std::swap(endkickpetitionmessage_, other->endkickpetitionmessage_); + std::swap(chatrequestmessage_, other->chatrequestmessage_); + std::swap(chatmessage_, other->chatmessage_); + std::swap(chatrejectmessage_, other->chatrejectmessage_); + std::swap(errormessage_, other->errormessage_); + std::swap(_has_bits_[0], other->_has_bits_[0]); + std::swap(_cached_size_, other->_cached_size_); + } +} + +::std::string GameManagementMessage::GetTypeName() const { + return "GameManagementMessage"; +} + + +// =================================================================== + +bool GameEngineMessage_GameEngineMessageType_IsValid(int value) { + switch(value) { + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + return true; + default: + return false; + } +} + +#ifndef _MSC_VER +const GameEngineMessage_GameEngineMessageType GameEngineMessage::Type_HandStartMessage; +const GameEngineMessage_GameEngineMessageType GameEngineMessage::Type_PlayersTurnMessage; +const GameEngineMessage_GameEngineMessageType GameEngineMessage::Type_MyActionRequestMessage; +const GameEngineMessage_GameEngineMessageType GameEngineMessage::Type_YourActionRejectedMessage; +const GameEngineMessage_GameEngineMessageType GameEngineMessage::Type_PlayersActionDoneMessage; +const GameEngineMessage_GameEngineMessageType GameEngineMessage::Type_DealFlopCardsMessage; +const GameEngineMessage_GameEngineMessageType GameEngineMessage::Type_DealTurnCardMessage; +const GameEngineMessage_GameEngineMessageType GameEngineMessage::Type_DealRiverCardMessage; +const GameEngineMessage_GameEngineMessageType GameEngineMessage::Type_AllInShowCardsMessage; +const GameEngineMessage_GameEngineMessageType GameEngineMessage::Type_EndOfHandShowCardsMessage; +const GameEngineMessage_GameEngineMessageType GameEngineMessage::Type_EndOfHandHideCardsMessage; +const GameEngineMessage_GameEngineMessageType GameEngineMessage::Type_ShowMyCardsRequestMessage; +const GameEngineMessage_GameEngineMessageType GameEngineMessage::Type_AfterHandShowCardsMessage; +const GameEngineMessage_GameEngineMessageType GameEngineMessage::GameEngineMessageType_MIN; +const GameEngineMessage_GameEngineMessageType GameEngineMessage::GameEngineMessageType_MAX; +const int GameEngineMessage::GameEngineMessageType_ARRAYSIZE; +#endif // _MSC_VER +#ifndef _MSC_VER +const int GameEngineMessage::kMessageTypeFieldNumber; +const int GameEngineMessage::kHandStartMessageFieldNumber; +const int GameEngineMessage::kPlayersTurnMessageFieldNumber; +const int GameEngineMessage::kMyActionRequestMessageFieldNumber; +const int GameEngineMessage::kYourActionRejectedMessageFieldNumber; +const int GameEngineMessage::kPlayersActionDoneMessageFieldNumber; +const int GameEngineMessage::kDealFlopCardsMessageFieldNumber; +const int GameEngineMessage::kDealTurnCardMessageFieldNumber; +const int GameEngineMessage::kDealRiverCardMessageFieldNumber; +const int GameEngineMessage::kAllInShowCardsMessageFieldNumber; +const int GameEngineMessage::kEndOfHandShowCardsMessageFieldNumber; +const int GameEngineMessage::kEndOfHandHideCardsMessageFieldNumber; +const int GameEngineMessage::kShowMyCardsRequestMessageFieldNumber; +const int GameEngineMessage::kAfterHandShowCardsMessageFieldNumber; +#endif // !_MSC_VER + +GameEngineMessage::GameEngineMessage() + : ::google::protobuf::MessageLite() { + SharedCtor(); +} + +void GameEngineMessage::InitAsDefaultInstance() { #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER handstartmessage_ = const_cast< ::HandStartMessage*>( ::HandStartMessage::internal_default_instance()); @@ -22626,230 +25673,17 @@ void PokerTHMessage::InitAsDefaultInstance() { #else afterhandshowcardsmessage_ = const_cast< ::AfterHandShowCardsMessage*>(&::AfterHandShowCardsMessage::default_instance()); #endif -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - endofgamemessage_ = const_cast< ::EndOfGameMessage*>( - ::EndOfGameMessage::internal_default_instance()); -#else - endofgamemessage_ = const_cast< ::EndOfGameMessage*>(&::EndOfGameMessage::default_instance()); -#endif -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - playeridchangedmessage_ = const_cast< ::PlayerIdChangedMessage*>( - ::PlayerIdChangedMessage::internal_default_instance()); -#else - playeridchangedmessage_ = const_cast< ::PlayerIdChangedMessage*>(&::PlayerIdChangedMessage::default_instance()); -#endif -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - askkickplayermessage_ = const_cast< ::AskKickPlayerMessage*>( - ::AskKickPlayerMessage::internal_default_instance()); -#else - askkickplayermessage_ = const_cast< ::AskKickPlayerMessage*>(&::AskKickPlayerMessage::default_instance()); -#endif -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - askkickdeniedmessage_ = const_cast< ::AskKickDeniedMessage*>( - ::AskKickDeniedMessage::internal_default_instance()); -#else - askkickdeniedmessage_ = const_cast< ::AskKickDeniedMessage*>(&::AskKickDeniedMessage::default_instance()); -#endif -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - startkickpetitionmessage_ = const_cast< ::StartKickPetitionMessage*>( - ::StartKickPetitionMessage::internal_default_instance()); -#else - startkickpetitionmessage_ = const_cast< ::StartKickPetitionMessage*>(&::StartKickPetitionMessage::default_instance()); -#endif -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - votekickrequestmessage_ = const_cast< ::VoteKickRequestMessage*>( - ::VoteKickRequestMessage::internal_default_instance()); -#else - votekickrequestmessage_ = const_cast< ::VoteKickRequestMessage*>(&::VoteKickRequestMessage::default_instance()); -#endif -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - votekickreplymessage_ = const_cast< ::VoteKickReplyMessage*>( - ::VoteKickReplyMessage::internal_default_instance()); -#else - votekickreplymessage_ = const_cast< ::VoteKickReplyMessage*>(&::VoteKickReplyMessage::default_instance()); -#endif -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - kickpetitionupdatemessage_ = const_cast< ::KickPetitionUpdateMessage*>( - ::KickPetitionUpdateMessage::internal_default_instance()); -#else - kickpetitionupdatemessage_ = const_cast< ::KickPetitionUpdateMessage*>(&::KickPetitionUpdateMessage::default_instance()); -#endif -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - endkickpetitionmessage_ = const_cast< ::EndKickPetitionMessage*>( - ::EndKickPetitionMessage::internal_default_instance()); -#else - endkickpetitionmessage_ = const_cast< ::EndKickPetitionMessage*>(&::EndKickPetitionMessage::default_instance()); -#endif -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - statisticsmessage_ = const_cast< ::StatisticsMessage*>( - ::StatisticsMessage::internal_default_instance()); -#else - statisticsmessage_ = const_cast< ::StatisticsMessage*>(&::StatisticsMessage::default_instance()); -#endif -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - chatrequestmessage_ = const_cast< ::ChatRequestMessage*>( - ::ChatRequestMessage::internal_default_instance()); -#else - chatrequestmessage_ = const_cast< ::ChatRequestMessage*>(&::ChatRequestMessage::default_instance()); -#endif -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - chatmessage_ = const_cast< ::ChatMessage*>( - ::ChatMessage::internal_default_instance()); -#else - chatmessage_ = const_cast< ::ChatMessage*>(&::ChatMessage::default_instance()); -#endif -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - chatrejectmessage_ = const_cast< ::ChatRejectMessage*>( - ::ChatRejectMessage::internal_default_instance()); -#else - chatrejectmessage_ = const_cast< ::ChatRejectMessage*>(&::ChatRejectMessage::default_instance()); -#endif -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - dialogmessage_ = const_cast< ::DialogMessage*>( - ::DialogMessage::internal_default_instance()); -#else - dialogmessage_ = const_cast< ::DialogMessage*>(&::DialogMessage::default_instance()); -#endif -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - timeoutwarningmessage_ = const_cast< ::TimeoutWarningMessage*>( - ::TimeoutWarningMessage::internal_default_instance()); -#else - timeoutwarningmessage_ = const_cast< ::TimeoutWarningMessage*>(&::TimeoutWarningMessage::default_instance()); -#endif -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - resettimeoutmessage_ = const_cast< ::ResetTimeoutMessage*>( - ::ResetTimeoutMessage::internal_default_instance()); -#else - resettimeoutmessage_ = const_cast< ::ResetTimeoutMessage*>(&::ResetTimeoutMessage::default_instance()); -#endif -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - reportavatarmessage_ = const_cast< ::ReportAvatarMessage*>( - ::ReportAvatarMessage::internal_default_instance()); -#else - reportavatarmessage_ = const_cast< ::ReportAvatarMessage*>(&::ReportAvatarMessage::default_instance()); -#endif -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - reportavatarackmessage_ = const_cast< ::ReportAvatarAckMessage*>( - ::ReportAvatarAckMessage::internal_default_instance()); -#else - reportavatarackmessage_ = const_cast< ::ReportAvatarAckMessage*>(&::ReportAvatarAckMessage::default_instance()); -#endif -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - reportgamemessage_ = const_cast< ::ReportGameMessage*>( - ::ReportGameMessage::internal_default_instance()); -#else - reportgamemessage_ = const_cast< ::ReportGameMessage*>(&::ReportGameMessage::default_instance()); -#endif -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - reportgameackmessage_ = const_cast< ::ReportGameAckMessage*>( - ::ReportGameAckMessage::internal_default_instance()); -#else - reportgameackmessage_ = const_cast< ::ReportGameAckMessage*>(&::ReportGameAckMessage::default_instance()); -#endif -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - errormessage_ = const_cast< ::ErrorMessage*>( - ::ErrorMessage::internal_default_instance()); -#else - errormessage_ = const_cast< ::ErrorMessage*>(&::ErrorMessage::default_instance()); -#endif -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - adminremovegamemessage_ = const_cast< ::AdminRemoveGameMessage*>( - ::AdminRemoveGameMessage::internal_default_instance()); -#else - adminremovegamemessage_ = const_cast< ::AdminRemoveGameMessage*>(&::AdminRemoveGameMessage::default_instance()); -#endif -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - adminremovegameackmessage_ = const_cast< ::AdminRemoveGameAckMessage*>( - ::AdminRemoveGameAckMessage::internal_default_instance()); -#else - adminremovegameackmessage_ = const_cast< ::AdminRemoveGameAckMessage*>(&::AdminRemoveGameAckMessage::default_instance()); -#endif -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - adminbanplayermessage_ = const_cast< ::AdminBanPlayerMessage*>( - ::AdminBanPlayerMessage::internal_default_instance()); -#else - adminbanplayermessage_ = const_cast< ::AdminBanPlayerMessage*>(&::AdminBanPlayerMessage::default_instance()); -#endif -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - adminbanplayerackmessage_ = const_cast< ::AdminBanPlayerAckMessage*>( - ::AdminBanPlayerAckMessage::internal_default_instance()); -#else - adminbanplayerackmessage_ = const_cast< ::AdminBanPlayerAckMessage*>(&::AdminBanPlayerAckMessage::default_instance()); -#endif -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - gamelistspectatorjoinedmessage_ = const_cast< ::GameListSpectatorJoinedMessage*>( - ::GameListSpectatorJoinedMessage::internal_default_instance()); -#else - gamelistspectatorjoinedmessage_ = const_cast< ::GameListSpectatorJoinedMessage*>(&::GameListSpectatorJoinedMessage::default_instance()); -#endif -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - gamelistspectatorleftmessage_ = const_cast< ::GameListSpectatorLeftMessage*>( - ::GameListSpectatorLeftMessage::internal_default_instance()); -#else - gamelistspectatorleftmessage_ = const_cast< ::GameListSpectatorLeftMessage*>(&::GameListSpectatorLeftMessage::default_instance()); -#endif -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - gamespectatorjoinedmessage_ = const_cast< ::GameSpectatorJoinedMessage*>( - ::GameSpectatorJoinedMessage::internal_default_instance()); -#else - gamespectatorjoinedmessage_ = const_cast< ::GameSpectatorJoinedMessage*>(&::GameSpectatorJoinedMessage::default_instance()); -#endif -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - gamespectatorleftmessage_ = const_cast< ::GameSpectatorLeftMessage*>( - ::GameSpectatorLeftMessage::internal_default_instance()); -#else - gamespectatorleftmessage_ = const_cast< ::GameSpectatorLeftMessage*>(&::GameSpectatorLeftMessage::default_instance()); -#endif } -PokerTHMessage::PokerTHMessage(const PokerTHMessage& from) +GameEngineMessage::GameEngineMessage(const GameEngineMessage& from) : ::google::protobuf::MessageLite() { SharedCtor(); MergeFrom(from); } -void PokerTHMessage::SharedCtor() { +void GameEngineMessage::SharedCtor() { _cached_size_ = 0; messagetype_ = 1; - announcemessage_ = NULL; - initmessage_ = NULL; - authserverchallengemessage_ = NULL; - authclientresponsemessage_ = NULL; - authserververificationmessage_ = NULL; - initackmessage_ = NULL; - avatarrequestmessage_ = NULL; - avatarheadermessage_ = NULL; - avatardatamessage_ = NULL; - avatarendmessage_ = NULL; - unknownavatarmessage_ = NULL; - playerlistmessage_ = NULL; - gamelistnewmessage_ = NULL; - gamelistupdatemessage_ = NULL; - gamelistplayerjoinedmessage_ = NULL; - gamelistplayerleftmessage_ = NULL; - gamelistadminchangedmessage_ = NULL; - playerinforequestmessage_ = NULL; - playerinforeplymessage_ = NULL; - subscriptionrequestmessage_ = NULL; - joinexistinggamemessage_ = NULL; - joinnewgamemessage_ = NULL; - rejoinexistinggamemessage_ = NULL; - joingameackmessage_ = NULL; - joingamefailedmessage_ = NULL; - gameplayerjoinedmessage_ = NULL; - gameplayerleftmessage_ = NULL; - gameadminchangedmessage_ = NULL; - removedfromgamemessage_ = NULL; - kickplayerrequestmessage_ = NULL; - leavegamerequestmessage_ = NULL; - inviteplayertogamemessage_ = NULL; - invitenotifymessage_ = NULL; - rejectgameinvitationmessage_ = NULL; - rejectinvnotifymessage_ = NULL; - starteventmessage_ = NULL; - starteventackmessage_ = NULL; - gamestartinitialmessage_ = NULL; - gamestartrejoinmessage_ = NULL; handstartmessage_ = NULL; playersturnmessage_ = NULL; myactionrequestmessage_ = NULL; @@ -22863,35 +25697,1042 @@ void PokerTHMessage::SharedCtor() { endofhandhidecardsmessage_ = NULL; showmycardsrequestmessage_ = NULL; afterhandshowcardsmessage_ = NULL; - endofgamemessage_ = NULL; - playeridchangedmessage_ = NULL; - askkickplayermessage_ = NULL; - askkickdeniedmessage_ = NULL; - startkickpetitionmessage_ = NULL; - votekickrequestmessage_ = NULL; - votekickreplymessage_ = NULL; - kickpetitionupdatemessage_ = NULL; - endkickpetitionmessage_ = NULL; - statisticsmessage_ = NULL; - chatrequestmessage_ = NULL; - chatmessage_ = NULL; - chatrejectmessage_ = NULL; - dialogmessage_ = NULL; - timeoutwarningmessage_ = NULL; - resettimeoutmessage_ = NULL; - reportavatarmessage_ = NULL; - reportavatarackmessage_ = NULL; - reportgamemessage_ = NULL; - reportgameackmessage_ = NULL; - errormessage_ = NULL; - adminremovegamemessage_ = NULL; - adminremovegameackmessage_ = NULL; - adminbanplayermessage_ = NULL; - adminbanplayerackmessage_ = NULL; - gamelistspectatorjoinedmessage_ = NULL; - gamelistspectatorleftmessage_ = NULL; - gamespectatorjoinedmessage_ = NULL; - gamespectatorleftmessage_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GameEngineMessage::~GameEngineMessage() { + SharedDtor(); +} + +void GameEngineMessage::SharedDtor() { + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else + if (this != default_instance_) { + #endif + delete handstartmessage_; + delete playersturnmessage_; + delete myactionrequestmessage_; + delete youractionrejectedmessage_; + delete playersactiondonemessage_; + delete dealflopcardsmessage_; + delete dealturncardmessage_; + delete dealrivercardmessage_; + delete allinshowcardsmessage_; + delete endofhandshowcardsmessage_; + delete endofhandhidecardsmessage_; + delete showmycardsrequestmessage_; + delete afterhandshowcardsmessage_; + } +} + +void GameEngineMessage::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const GameEngineMessage& GameEngineMessage::default_instance() { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; +} + +GameEngineMessage* GameEngineMessage::default_instance_ = NULL; + +GameEngineMessage* GameEngineMessage::New() const { + return new GameEngineMessage; +} + +void GameEngineMessage::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + messagetype_ = 1; + if (has_handstartmessage()) { + if (handstartmessage_ != NULL) handstartmessage_->::HandStartMessage::Clear(); + } + if (has_playersturnmessage()) { + if (playersturnmessage_ != NULL) playersturnmessage_->::PlayersTurnMessage::Clear(); + } + if (has_myactionrequestmessage()) { + if (myactionrequestmessage_ != NULL) myactionrequestmessage_->::MyActionRequestMessage::Clear(); + } + if (has_youractionrejectedmessage()) { + if (youractionrejectedmessage_ != NULL) youractionrejectedmessage_->::YourActionRejectedMessage::Clear(); + } + if (has_playersactiondonemessage()) { + if (playersactiondonemessage_ != NULL) playersactiondonemessage_->::PlayersActionDoneMessage::Clear(); + } + if (has_dealflopcardsmessage()) { + if (dealflopcardsmessage_ != NULL) dealflopcardsmessage_->::DealFlopCardsMessage::Clear(); + } + if (has_dealturncardmessage()) { + if (dealturncardmessage_ != NULL) dealturncardmessage_->::DealTurnCardMessage::Clear(); + } + } + if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) { + if (has_dealrivercardmessage()) { + if (dealrivercardmessage_ != NULL) dealrivercardmessage_->::DealRiverCardMessage::Clear(); + } + if (has_allinshowcardsmessage()) { + if (allinshowcardsmessage_ != NULL) allinshowcardsmessage_->::AllInShowCardsMessage::Clear(); + } + if (has_endofhandshowcardsmessage()) { + if (endofhandshowcardsmessage_ != NULL) endofhandshowcardsmessage_->::EndOfHandShowCardsMessage::Clear(); + } + if (has_endofhandhidecardsmessage()) { + if (endofhandhidecardsmessage_ != NULL) endofhandhidecardsmessage_->::EndOfHandHideCardsMessage::Clear(); + } + if (has_showmycardsrequestmessage()) { + if (showmycardsrequestmessage_ != NULL) showmycardsrequestmessage_->::ShowMyCardsRequestMessage::Clear(); + } + if (has_afterhandshowcardsmessage()) { + if (afterhandshowcardsmessage_ != NULL) afterhandshowcardsmessage_->::AfterHandShowCardsMessage::Clear(); + } + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +bool GameEngineMessage::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!(EXPRESSION)) return false + ::google::protobuf::uint32 tag; + while ((tag = input->ReadTag()) != 0) { + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // required .GameEngineMessage.GameEngineMessageType messageType = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + int value; + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( + input, &value))); + if (::GameEngineMessage_GameEngineMessageType_IsValid(value)) { + set_messagetype(static_cast< ::GameEngineMessage_GameEngineMessageType >(value)); + } + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(18)) goto parse_handStartMessage; + break; + } + + // optional .HandStartMessage handStartMessage = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_handStartMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_handstartmessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(26)) goto parse_playersTurnMessage; + break; + } + + // optional .PlayersTurnMessage playersTurnMessage = 3; + case 3: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_playersTurnMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_playersturnmessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(34)) goto parse_myActionRequestMessage; + break; + } + + // optional .MyActionRequestMessage myActionRequestMessage = 4; + case 4: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_myActionRequestMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_myactionrequestmessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(42)) goto parse_yourActionRejectedMessage; + break; + } + + // optional .YourActionRejectedMessage yourActionRejectedMessage = 5; + case 5: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_yourActionRejectedMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_youractionrejectedmessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(50)) goto parse_playersActionDoneMessage; + break; + } + + // optional .PlayersActionDoneMessage playersActionDoneMessage = 6; + case 6: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_playersActionDoneMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_playersactiondonemessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(58)) goto parse_dealFlopCardsMessage; + break; + } + + // optional .DealFlopCardsMessage dealFlopCardsMessage = 7; + case 7: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_dealFlopCardsMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_dealflopcardsmessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(66)) goto parse_dealTurnCardMessage; + break; + } + + // optional .DealTurnCardMessage dealTurnCardMessage = 8; + case 8: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_dealTurnCardMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_dealturncardmessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(74)) goto parse_dealRiverCardMessage; + break; + } + + // optional .DealRiverCardMessage dealRiverCardMessage = 9; + case 9: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_dealRiverCardMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_dealrivercardmessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(82)) goto parse_allInShowCardsMessage; + break; + } + + // optional .AllInShowCardsMessage allInShowCardsMessage = 10; + case 10: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_allInShowCardsMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_allinshowcardsmessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(90)) goto parse_endOfHandShowCardsMessage; + break; + } + + // optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 11; + case 11: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_endOfHandShowCardsMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_endofhandshowcardsmessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(98)) goto parse_endOfHandHideCardsMessage; + break; + } + + // optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 12; + case 12: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_endOfHandHideCardsMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_endofhandhidecardsmessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(106)) goto parse_showMyCardsRequestMessage; + break; + } + + // optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 13; + case 13: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_showMyCardsRequestMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_showmycardsrequestmessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(114)) goto parse_afterHandShowCardsMessage; + break; + } + + // optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 14; + case 14: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_afterHandShowCardsMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_afterhandshowcardsmessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectAtEnd()) return true; + break; + } + + default: { + handle_uninterpreted: + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { + return true; + } + DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + break; + } + } + } + return true; +#undef DO_ +} + +void GameEngineMessage::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // required .GameEngineMessage.GameEngineMessageType messageType = 1; + if (has_messagetype()) { + ::google::protobuf::internal::WireFormatLite::WriteEnum( + 1, this->messagetype(), output); + } + + // optional .HandStartMessage handStartMessage = 2; + if (has_handstartmessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 2, this->handstartmessage(), output); + } + + // optional .PlayersTurnMessage playersTurnMessage = 3; + if (has_playersturnmessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 3, this->playersturnmessage(), output); + } + + // optional .MyActionRequestMessage myActionRequestMessage = 4; + if (has_myactionrequestmessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 4, this->myactionrequestmessage(), output); + } + + // optional .YourActionRejectedMessage yourActionRejectedMessage = 5; + if (has_youractionrejectedmessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 5, this->youractionrejectedmessage(), output); + } + + // optional .PlayersActionDoneMessage playersActionDoneMessage = 6; + if (has_playersactiondonemessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 6, this->playersactiondonemessage(), output); + } + + // optional .DealFlopCardsMessage dealFlopCardsMessage = 7; + if (has_dealflopcardsmessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 7, this->dealflopcardsmessage(), output); + } + + // optional .DealTurnCardMessage dealTurnCardMessage = 8; + if (has_dealturncardmessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 8, this->dealturncardmessage(), output); + } + + // optional .DealRiverCardMessage dealRiverCardMessage = 9; + if (has_dealrivercardmessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 9, this->dealrivercardmessage(), output); + } + + // optional .AllInShowCardsMessage allInShowCardsMessage = 10; + if (has_allinshowcardsmessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 10, this->allinshowcardsmessage(), output); + } + + // optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 11; + if (has_endofhandshowcardsmessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 11, this->endofhandshowcardsmessage(), output); + } + + // optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 12; + if (has_endofhandhidecardsmessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 12, this->endofhandhidecardsmessage(), output); + } + + // optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 13; + if (has_showmycardsrequestmessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 13, this->showmycardsrequestmessage(), output); + } + + // optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 14; + if (has_afterhandshowcardsmessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 14, this->afterhandshowcardsmessage(), output); + } + +} + +int GameEngineMessage::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // required .GameEngineMessage.GameEngineMessageType messageType = 1; + if (has_messagetype()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::EnumSize(this->messagetype()); + } + + // optional .HandStartMessage handStartMessage = 2; + if (has_handstartmessage()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->handstartmessage()); + } + + // optional .PlayersTurnMessage playersTurnMessage = 3; + if (has_playersturnmessage()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->playersturnmessage()); + } + + // optional .MyActionRequestMessage myActionRequestMessage = 4; + if (has_myactionrequestmessage()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->myactionrequestmessage()); + } + + // optional .YourActionRejectedMessage yourActionRejectedMessage = 5; + if (has_youractionrejectedmessage()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->youractionrejectedmessage()); + } + + // optional .PlayersActionDoneMessage playersActionDoneMessage = 6; + if (has_playersactiondonemessage()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->playersactiondonemessage()); + } + + // optional .DealFlopCardsMessage dealFlopCardsMessage = 7; + if (has_dealflopcardsmessage()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->dealflopcardsmessage()); + } + + // optional .DealTurnCardMessage dealTurnCardMessage = 8; + if (has_dealturncardmessage()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->dealturncardmessage()); + } + + } + if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) { + // optional .DealRiverCardMessage dealRiverCardMessage = 9; + if (has_dealrivercardmessage()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->dealrivercardmessage()); + } + + // optional .AllInShowCardsMessage allInShowCardsMessage = 10; + if (has_allinshowcardsmessage()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->allinshowcardsmessage()); + } + + // optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 11; + if (has_endofhandshowcardsmessage()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->endofhandshowcardsmessage()); + } + + // optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 12; + if (has_endofhandhidecardsmessage()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->endofhandhidecardsmessage()); + } + + // optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 13; + if (has_showmycardsrequestmessage()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->showmycardsrequestmessage()); + } + + // optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 14; + if (has_afterhandshowcardsmessage()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->afterhandshowcardsmessage()); + } + + } + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = total_size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); + return total_size; +} + +void GameEngineMessage::CheckTypeAndMergeFrom( + const ::google::protobuf::MessageLite& from) { + MergeFrom(*::google::protobuf::down_cast(&from)); +} + +void GameEngineMessage::MergeFrom(const GameEngineMessage& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_messagetype()) { + set_messagetype(from.messagetype()); + } + if (from.has_handstartmessage()) { + mutable_handstartmessage()->::HandStartMessage::MergeFrom(from.handstartmessage()); + } + if (from.has_playersturnmessage()) { + mutable_playersturnmessage()->::PlayersTurnMessage::MergeFrom(from.playersturnmessage()); + } + if (from.has_myactionrequestmessage()) { + mutable_myactionrequestmessage()->::MyActionRequestMessage::MergeFrom(from.myactionrequestmessage()); + } + if (from.has_youractionrejectedmessage()) { + mutable_youractionrejectedmessage()->::YourActionRejectedMessage::MergeFrom(from.youractionrejectedmessage()); + } + if (from.has_playersactiondonemessage()) { + mutable_playersactiondonemessage()->::PlayersActionDoneMessage::MergeFrom(from.playersactiondonemessage()); + } + if (from.has_dealflopcardsmessage()) { + mutable_dealflopcardsmessage()->::DealFlopCardsMessage::MergeFrom(from.dealflopcardsmessage()); + } + if (from.has_dealturncardmessage()) { + mutable_dealturncardmessage()->::DealTurnCardMessage::MergeFrom(from.dealturncardmessage()); + } + } + if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) { + if (from.has_dealrivercardmessage()) { + mutable_dealrivercardmessage()->::DealRiverCardMessage::MergeFrom(from.dealrivercardmessage()); + } + if (from.has_allinshowcardsmessage()) { + mutable_allinshowcardsmessage()->::AllInShowCardsMessage::MergeFrom(from.allinshowcardsmessage()); + } + if (from.has_endofhandshowcardsmessage()) { + mutable_endofhandshowcardsmessage()->::EndOfHandShowCardsMessage::MergeFrom(from.endofhandshowcardsmessage()); + } + if (from.has_endofhandhidecardsmessage()) { + mutable_endofhandhidecardsmessage()->::EndOfHandHideCardsMessage::MergeFrom(from.endofhandhidecardsmessage()); + } + if (from.has_showmycardsrequestmessage()) { + mutable_showmycardsrequestmessage()->::ShowMyCardsRequestMessage::MergeFrom(from.showmycardsrequestmessage()); + } + if (from.has_afterhandshowcardsmessage()) { + mutable_afterhandshowcardsmessage()->::AfterHandShowCardsMessage::MergeFrom(from.afterhandshowcardsmessage()); + } + } +} + +void GameEngineMessage::CopyFrom(const GameEngineMessage& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool GameEngineMessage::IsInitialized() const { + if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false; + + if (has_handstartmessage()) { + if (!this->handstartmessage().IsInitialized()) return false; + } + if (has_playersturnmessage()) { + if (!this->playersturnmessage().IsInitialized()) return false; + } + if (has_myactionrequestmessage()) { + if (!this->myactionrequestmessage().IsInitialized()) return false; + } + if (has_youractionrejectedmessage()) { + if (!this->youractionrejectedmessage().IsInitialized()) return false; + } + if (has_playersactiondonemessage()) { + if (!this->playersactiondonemessage().IsInitialized()) return false; + } + if (has_dealflopcardsmessage()) { + if (!this->dealflopcardsmessage().IsInitialized()) return false; + } + if (has_dealturncardmessage()) { + if (!this->dealturncardmessage().IsInitialized()) return false; + } + if (has_dealrivercardmessage()) { + if (!this->dealrivercardmessage().IsInitialized()) return false; + } + if (has_allinshowcardsmessage()) { + if (!this->allinshowcardsmessage().IsInitialized()) return false; + } + if (has_endofhandshowcardsmessage()) { + if (!this->endofhandshowcardsmessage().IsInitialized()) return false; + } + if (has_endofhandhidecardsmessage()) { + if (!this->endofhandhidecardsmessage().IsInitialized()) return false; + } + if (has_afterhandshowcardsmessage()) { + if (!this->afterhandshowcardsmessage().IsInitialized()) return false; + } + return true; +} + +void GameEngineMessage::Swap(GameEngineMessage* other) { + if (other != this) { + std::swap(messagetype_, other->messagetype_); + std::swap(handstartmessage_, other->handstartmessage_); + std::swap(playersturnmessage_, other->playersturnmessage_); + std::swap(myactionrequestmessage_, other->myactionrequestmessage_); + std::swap(youractionrejectedmessage_, other->youractionrejectedmessage_); + std::swap(playersactiondonemessage_, other->playersactiondonemessage_); + std::swap(dealflopcardsmessage_, other->dealflopcardsmessage_); + std::swap(dealturncardmessage_, other->dealturncardmessage_); + std::swap(dealrivercardmessage_, other->dealrivercardmessage_); + std::swap(allinshowcardsmessage_, other->allinshowcardsmessage_); + std::swap(endofhandshowcardsmessage_, other->endofhandshowcardsmessage_); + std::swap(endofhandhidecardsmessage_, other->endofhandhidecardsmessage_); + std::swap(showmycardsrequestmessage_, other->showmycardsrequestmessage_); + std::swap(afterhandshowcardsmessage_, other->afterhandshowcardsmessage_); + std::swap(_has_bits_[0], other->_has_bits_[0]); + std::swap(_cached_size_, other->_cached_size_); + } +} + +::std::string GameEngineMessage::GetTypeName() const { + return "GameEngineMessage"; +} + + +// =================================================================== + +bool GameMessage_GameMessageType_IsValid(int value) { + switch(value) { + case 1: + case 2: + return true; + default: + return false; + } +} + +#ifndef _MSC_VER +const GameMessage_GameMessageType GameMessage::Type_GameManagementMessage; +const GameMessage_GameMessageType GameMessage::Type_GameEngineMessage; +const GameMessage_GameMessageType GameMessage::GameMessageType_MIN; +const GameMessage_GameMessageType GameMessage::GameMessageType_MAX; +const int GameMessage::GameMessageType_ARRAYSIZE; +#endif // _MSC_VER +#ifndef _MSC_VER +const int GameMessage::kMessageTypeFieldNumber; +const int GameMessage::kGameIdFieldNumber; +const int GameMessage::kGameManagementMessageFieldNumber; +const int GameMessage::kGameEngineMessageFieldNumber; +#endif // !_MSC_VER + +GameMessage::GameMessage() + : ::google::protobuf::MessageLite() { + SharedCtor(); +} + +void GameMessage::InitAsDefaultInstance() { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + gamemanagementmessage_ = const_cast< ::GameManagementMessage*>( + ::GameManagementMessage::internal_default_instance()); +#else + gamemanagementmessage_ = const_cast< ::GameManagementMessage*>(&::GameManagementMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + gameenginemessage_ = const_cast< ::GameEngineMessage*>( + ::GameEngineMessage::internal_default_instance()); +#else + gameenginemessage_ = const_cast< ::GameEngineMessage*>(&::GameEngineMessage::default_instance()); +#endif +} + +GameMessage::GameMessage(const GameMessage& from) + : ::google::protobuf::MessageLite() { + SharedCtor(); + MergeFrom(from); +} + +void GameMessage::SharedCtor() { + _cached_size_ = 0; + messagetype_ = 1; + gameid_ = 0u; + gamemanagementmessage_ = NULL; + gameenginemessage_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GameMessage::~GameMessage() { + SharedDtor(); +} + +void GameMessage::SharedDtor() { + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else + if (this != default_instance_) { + #endif + delete gamemanagementmessage_; + delete gameenginemessage_; + } +} + +void GameMessage::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const GameMessage& GameMessage::default_instance() { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; +} + +GameMessage* GameMessage::default_instance_ = NULL; + +GameMessage* GameMessage::New() const { + return new GameMessage; +} + +void GameMessage::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + messagetype_ = 1; + gameid_ = 0u; + if (has_gamemanagementmessage()) { + if (gamemanagementmessage_ != NULL) gamemanagementmessage_->::GameManagementMessage::Clear(); + } + if (has_gameenginemessage()) { + if (gameenginemessage_ != NULL) gameenginemessage_->::GameEngineMessage::Clear(); + } + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +bool GameMessage::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!(EXPRESSION)) return false + ::google::protobuf::uint32 tag; + while ((tag = input->ReadTag()) != 0) { + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // required .GameMessage.GameMessageType messageType = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + int value; + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( + input, &value))); + if (::GameMessage_GameMessageType_IsValid(value)) { + set_messagetype(static_cast< ::GameMessage_GameMessageType >(value)); + } + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(16)) goto parse_gameId; + break; + } + + // required uint32 gameId = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + 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; + } + if (input->ExpectTag(26)) goto parse_gameManagementMessage; + break; + } + + // optional .GameManagementMessage gameManagementMessage = 3; + case 3: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_gameManagementMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_gamemanagementmessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(34)) goto parse_gameEngineMessage; + break; + } + + // optional .GameEngineMessage gameEngineMessage = 4; + case 4: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_gameEngineMessage: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_gameenginemessage())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectAtEnd()) return true; + break; + } + + default: { + handle_uninterpreted: + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { + return true; + } + DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag)); + break; + } + } + } + return true; +#undef DO_ +} + +void GameMessage::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // required .GameMessage.GameMessageType messageType = 1; + if (has_messagetype()) { + ::google::protobuf::internal::WireFormatLite::WriteEnum( + 1, this->messagetype(), output); + } + + // required uint32 gameId = 2; + if (has_gameid()) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->gameid(), output); + } + + // optional .GameManagementMessage gameManagementMessage = 3; + if (has_gamemanagementmessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 3, this->gamemanagementmessage(), output); + } + + // optional .GameEngineMessage gameEngineMessage = 4; + if (has_gameenginemessage()) { + ::google::protobuf::internal::WireFormatLite::WriteMessage( + 4, this->gameenginemessage(), output); + } + +} + +int GameMessage::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // required .GameMessage.GameMessageType messageType = 1; + if (has_messagetype()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::EnumSize(this->messagetype()); + } + + // required uint32 gameId = 2; + if (has_gameid()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::UInt32Size( + this->gameid()); + } + + // optional .GameManagementMessage gameManagementMessage = 3; + if (has_gamemanagementmessage()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->gamemanagementmessage()); + } + + // optional .GameEngineMessage gameEngineMessage = 4; + if (has_gameenginemessage()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->gameenginemessage()); + } + + } + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = total_size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); + return total_size; +} + +void GameMessage::CheckTypeAndMergeFrom( + const ::google::protobuf::MessageLite& from) { + MergeFrom(*::google::protobuf::down_cast(&from)); +} + +void GameMessage::MergeFrom(const GameMessage& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_messagetype()) { + set_messagetype(from.messagetype()); + } + if (from.has_gameid()) { + set_gameid(from.gameid()); + } + if (from.has_gamemanagementmessage()) { + mutable_gamemanagementmessage()->::GameManagementMessage::MergeFrom(from.gamemanagementmessage()); + } + if (from.has_gameenginemessage()) { + mutable_gameenginemessage()->::GameEngineMessage::MergeFrom(from.gameenginemessage()); + } + } +} + +void GameMessage::CopyFrom(const GameMessage& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool GameMessage::IsInitialized() const { + if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; + + if (has_gamemanagementmessage()) { + if (!this->gamemanagementmessage().IsInitialized()) return false; + } + if (has_gameenginemessage()) { + if (!this->gameenginemessage().IsInitialized()) return false; + } + return true; +} + +void GameMessage::Swap(GameMessage* other) { + if (other != this) { + std::swap(messagetype_, other->messagetype_); + std::swap(gameid_, other->gameid_); + std::swap(gamemanagementmessage_, other->gamemanagementmessage_); + std::swap(gameenginemessage_, other->gameenginemessage_); + std::swap(_has_bits_[0], other->_has_bits_[0]); + std::swap(_cached_size_, other->_cached_size_); + } +} + +::std::string GameMessage::GetTypeName() const { + return "GameMessage"; +} + + +// =================================================================== + +bool PokerTHMessage_PokerTHMessageType_IsValid(int value) { + switch(value) { + case 1: + case 2: + case 3: + case 4: + return true; + default: + return false; + } +} + +#ifndef _MSC_VER +const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_AnnounceMessage; +const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_AuthMessage; +const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_LobbyMessage; +const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_GameMessage; +const PokerTHMessage_PokerTHMessageType PokerTHMessage::PokerTHMessageType_MIN; +const PokerTHMessage_PokerTHMessageType PokerTHMessage::PokerTHMessageType_MAX; +const int PokerTHMessage::PokerTHMessageType_ARRAYSIZE; +#endif // _MSC_VER +#ifndef _MSC_VER +const int PokerTHMessage::kMessageTypeFieldNumber; +const int PokerTHMessage::kAnnounceMessageFieldNumber; +const int PokerTHMessage::kAuthMessageFieldNumber; +const int PokerTHMessage::kLobbyMessageFieldNumber; +const int PokerTHMessage::kGameMessageFieldNumber; +#endif // !_MSC_VER + +PokerTHMessage::PokerTHMessage() + : ::google::protobuf::MessageLite() { + SharedCtor(); +} + +void PokerTHMessage::InitAsDefaultInstance() { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + announcemessage_ = const_cast< ::AnnounceMessage*>( + ::AnnounceMessage::internal_default_instance()); +#else + announcemessage_ = const_cast< ::AnnounceMessage*>(&::AnnounceMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + authmessage_ = const_cast< ::AuthMessage*>( + ::AuthMessage::internal_default_instance()); +#else + authmessage_ = const_cast< ::AuthMessage*>(&::AuthMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + lobbymessage_ = const_cast< ::LobbyMessage*>( + ::LobbyMessage::internal_default_instance()); +#else + lobbymessage_ = const_cast< ::LobbyMessage*>(&::LobbyMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + gamemessage_ = const_cast< ::GameMessage*>( + ::GameMessage::internal_default_instance()); +#else + gamemessage_ = const_cast< ::GameMessage*>(&::GameMessage::default_instance()); +#endif +} + +PokerTHMessage::PokerTHMessage(const PokerTHMessage& from) + : ::google::protobuf::MessageLite() { + SharedCtor(); + MergeFrom(from); +} + +void PokerTHMessage::SharedCtor() { + _cached_size_ = 0; + messagetype_ = 1; + announcemessage_ = NULL; + authmessage_ = NULL; + lobbymessage_ = NULL; + gamemessage_ = NULL; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } @@ -22906,86 +26747,9 @@ void PokerTHMessage::SharedDtor() { if (this != default_instance_) { #endif delete announcemessage_; - delete initmessage_; - delete authserverchallengemessage_; - delete authclientresponsemessage_; - delete authserververificationmessage_; - delete initackmessage_; - delete avatarrequestmessage_; - delete avatarheadermessage_; - delete avatardatamessage_; - delete avatarendmessage_; - delete unknownavatarmessage_; - delete playerlistmessage_; - delete gamelistnewmessage_; - delete gamelistupdatemessage_; - delete gamelistplayerjoinedmessage_; - delete gamelistplayerleftmessage_; - delete gamelistadminchangedmessage_; - delete playerinforequestmessage_; - delete playerinforeplymessage_; - delete subscriptionrequestmessage_; - delete joinexistinggamemessage_; - delete joinnewgamemessage_; - delete rejoinexistinggamemessage_; - delete joingameackmessage_; - delete joingamefailedmessage_; - delete gameplayerjoinedmessage_; - delete gameplayerleftmessage_; - delete gameadminchangedmessage_; - delete removedfromgamemessage_; - delete kickplayerrequestmessage_; - delete leavegamerequestmessage_; - delete inviteplayertogamemessage_; - delete invitenotifymessage_; - delete rejectgameinvitationmessage_; - delete rejectinvnotifymessage_; - delete starteventmessage_; - delete starteventackmessage_; - delete gamestartinitialmessage_; - delete gamestartrejoinmessage_; - delete handstartmessage_; - delete playersturnmessage_; - delete myactionrequestmessage_; - delete youractionrejectedmessage_; - delete playersactiondonemessage_; - delete dealflopcardsmessage_; - delete dealturncardmessage_; - delete dealrivercardmessage_; - delete allinshowcardsmessage_; - delete endofhandshowcardsmessage_; - delete endofhandhidecardsmessage_; - delete showmycardsrequestmessage_; - delete afterhandshowcardsmessage_; - delete endofgamemessage_; - delete playeridchangedmessage_; - delete askkickplayermessage_; - delete askkickdeniedmessage_; - delete startkickpetitionmessage_; - delete votekickrequestmessage_; - delete votekickreplymessage_; - delete kickpetitionupdatemessage_; - delete endkickpetitionmessage_; - delete statisticsmessage_; - delete chatrequestmessage_; - delete chatmessage_; - delete chatrejectmessage_; - delete dialogmessage_; - delete timeoutwarningmessage_; - delete resettimeoutmessage_; - delete reportavatarmessage_; - delete reportavatarackmessage_; - delete reportgamemessage_; - delete reportgameackmessage_; - delete errormessage_; - delete adminremovegamemessage_; - delete adminremovegameackmessage_; - delete adminbanplayermessage_; - delete adminbanplayerackmessage_; - delete gamelistspectatorjoinedmessage_; - delete gamelistspectatorleftmessage_; - delete gamespectatorjoinedmessage_; - delete gamespectatorleftmessage_; + delete authmessage_; + delete lobbymessage_; + delete gamemessage_; } } @@ -23015,265 +26779,14 @@ void PokerTHMessage::Clear() { if (has_announcemessage()) { if (announcemessage_ != NULL) announcemessage_->::AnnounceMessage::Clear(); } - if (has_initmessage()) { - if (initmessage_ != NULL) initmessage_->::InitMessage::Clear(); + if (has_authmessage()) { + if (authmessage_ != NULL) authmessage_->::AuthMessage::Clear(); } - if (has_authserverchallengemessage()) { - if (authserverchallengemessage_ != NULL) authserverchallengemessage_->::AuthServerChallengeMessage::Clear(); + if (has_lobbymessage()) { + if (lobbymessage_ != NULL) lobbymessage_->::LobbyMessage::Clear(); } - if (has_authclientresponsemessage()) { - if (authclientresponsemessage_ != NULL) authclientresponsemessage_->::AuthClientResponseMessage::Clear(); - } - if (has_authserververificationmessage()) { - if (authserververificationmessage_ != NULL) authserververificationmessage_->::AuthServerVerificationMessage::Clear(); - } - if (has_initackmessage()) { - if (initackmessage_ != NULL) initackmessage_->::InitAckMessage::Clear(); - } - if (has_avatarrequestmessage()) { - if (avatarrequestmessage_ != NULL) avatarrequestmessage_->::AvatarRequestMessage::Clear(); - } - } - if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) { - if (has_avatarheadermessage()) { - if (avatarheadermessage_ != NULL) avatarheadermessage_->::AvatarHeaderMessage::Clear(); - } - if (has_avatardatamessage()) { - if (avatardatamessage_ != NULL) avatardatamessage_->::AvatarDataMessage::Clear(); - } - if (has_avatarendmessage()) { - if (avatarendmessage_ != NULL) avatarendmessage_->::AvatarEndMessage::Clear(); - } - if (has_unknownavatarmessage()) { - if (unknownavatarmessage_ != NULL) unknownavatarmessage_->::UnknownAvatarMessage::Clear(); - } - if (has_playerlistmessage()) { - if (playerlistmessage_ != NULL) playerlistmessage_->::PlayerListMessage::Clear(); - } - if (has_gamelistnewmessage()) { - if (gamelistnewmessage_ != NULL) gamelistnewmessage_->::GameListNewMessage::Clear(); - } - if (has_gamelistupdatemessage()) { - if (gamelistupdatemessage_ != NULL) gamelistupdatemessage_->::GameListUpdateMessage::Clear(); - } - if (has_gamelistplayerjoinedmessage()) { - if (gamelistplayerjoinedmessage_ != NULL) gamelistplayerjoinedmessage_->::GameListPlayerJoinedMessage::Clear(); - } - } - if (_has_bits_[16 / 32] & (0xffu << (16 % 32))) { - if (has_gamelistplayerleftmessage()) { - if (gamelistplayerleftmessage_ != NULL) gamelistplayerleftmessage_->::GameListPlayerLeftMessage::Clear(); - } - if (has_gamelistadminchangedmessage()) { - if (gamelistadminchangedmessage_ != NULL) gamelistadminchangedmessage_->::GameListAdminChangedMessage::Clear(); - } - if (has_playerinforequestmessage()) { - if (playerinforequestmessage_ != NULL) playerinforequestmessage_->::PlayerInfoRequestMessage::Clear(); - } - if (has_playerinforeplymessage()) { - if (playerinforeplymessage_ != NULL) playerinforeplymessage_->::PlayerInfoReplyMessage::Clear(); - } - if (has_subscriptionrequestmessage()) { - if (subscriptionrequestmessage_ != NULL) subscriptionrequestmessage_->::SubscriptionRequestMessage::Clear(); - } - if (has_joinexistinggamemessage()) { - if (joinexistinggamemessage_ != NULL) joinexistinggamemessage_->::JoinExistingGameMessage::Clear(); - } - if (has_joinnewgamemessage()) { - if (joinnewgamemessage_ != NULL) joinnewgamemessage_->::JoinNewGameMessage::Clear(); - } - if (has_rejoinexistinggamemessage()) { - if (rejoinexistinggamemessage_ != NULL) rejoinexistinggamemessage_->::RejoinExistingGameMessage::Clear(); - } - } - if (_has_bits_[24 / 32] & (0xffu << (24 % 32))) { - if (has_joingameackmessage()) { - if (joingameackmessage_ != NULL) joingameackmessage_->::JoinGameAckMessage::Clear(); - } - if (has_joingamefailedmessage()) { - if (joingamefailedmessage_ != NULL) joingamefailedmessage_->::JoinGameFailedMessage::Clear(); - } - if (has_gameplayerjoinedmessage()) { - if (gameplayerjoinedmessage_ != NULL) gameplayerjoinedmessage_->::GamePlayerJoinedMessage::Clear(); - } - if (has_gameplayerleftmessage()) { - if (gameplayerleftmessage_ != NULL) gameplayerleftmessage_->::GamePlayerLeftMessage::Clear(); - } - if (has_gameadminchangedmessage()) { - if (gameadminchangedmessage_ != NULL) gameadminchangedmessage_->::GameAdminChangedMessage::Clear(); - } - if (has_removedfromgamemessage()) { - if (removedfromgamemessage_ != NULL) removedfromgamemessage_->::RemovedFromGameMessage::Clear(); - } - if (has_kickplayerrequestmessage()) { - if (kickplayerrequestmessage_ != NULL) kickplayerrequestmessage_->::KickPlayerRequestMessage::Clear(); - } - if (has_leavegamerequestmessage()) { - if (leavegamerequestmessage_ != NULL) leavegamerequestmessage_->::LeaveGameRequestMessage::Clear(); - } - } - if (_has_bits_[32 / 32] & (0xffu << (32 % 32))) { - if (has_inviteplayertogamemessage()) { - if (inviteplayertogamemessage_ != NULL) inviteplayertogamemessage_->::InvitePlayerToGameMessage::Clear(); - } - if (has_invitenotifymessage()) { - if (invitenotifymessage_ != NULL) invitenotifymessage_->::InviteNotifyMessage::Clear(); - } - if (has_rejectgameinvitationmessage()) { - if (rejectgameinvitationmessage_ != NULL) rejectgameinvitationmessage_->::RejectGameInvitationMessage::Clear(); - } - if (has_rejectinvnotifymessage()) { - if (rejectinvnotifymessage_ != NULL) rejectinvnotifymessage_->::RejectInvNotifyMessage::Clear(); - } - if (has_starteventmessage()) { - if (starteventmessage_ != NULL) starteventmessage_->::StartEventMessage::Clear(); - } - if (has_starteventackmessage()) { - if (starteventackmessage_ != NULL) starteventackmessage_->::StartEventAckMessage::Clear(); - } - if (has_gamestartinitialmessage()) { - if (gamestartinitialmessage_ != NULL) gamestartinitialmessage_->::GameStartInitialMessage::Clear(); - } - if (has_gamestartrejoinmessage()) { - if (gamestartrejoinmessage_ != NULL) gamestartrejoinmessage_->::GameStartRejoinMessage::Clear(); - } - } - if (_has_bits_[40 / 32] & (0xffu << (40 % 32))) { - if (has_handstartmessage()) { - if (handstartmessage_ != NULL) handstartmessage_->::HandStartMessage::Clear(); - } - if (has_playersturnmessage()) { - if (playersturnmessage_ != NULL) playersturnmessage_->::PlayersTurnMessage::Clear(); - } - if (has_myactionrequestmessage()) { - if (myactionrequestmessage_ != NULL) myactionrequestmessage_->::MyActionRequestMessage::Clear(); - } - if (has_youractionrejectedmessage()) { - if (youractionrejectedmessage_ != NULL) youractionrejectedmessage_->::YourActionRejectedMessage::Clear(); - } - if (has_playersactiondonemessage()) { - if (playersactiondonemessage_ != NULL) playersactiondonemessage_->::PlayersActionDoneMessage::Clear(); - } - if (has_dealflopcardsmessage()) { - if (dealflopcardsmessage_ != NULL) dealflopcardsmessage_->::DealFlopCardsMessage::Clear(); - } - if (has_dealturncardmessage()) { - if (dealturncardmessage_ != NULL) dealturncardmessage_->::DealTurnCardMessage::Clear(); - } - if (has_dealrivercardmessage()) { - if (dealrivercardmessage_ != NULL) dealrivercardmessage_->::DealRiverCardMessage::Clear(); - } - } - if (_has_bits_[48 / 32] & (0xffu << (48 % 32))) { - if (has_allinshowcardsmessage()) { - if (allinshowcardsmessage_ != NULL) allinshowcardsmessage_->::AllInShowCardsMessage::Clear(); - } - if (has_endofhandshowcardsmessage()) { - if (endofhandshowcardsmessage_ != NULL) endofhandshowcardsmessage_->::EndOfHandShowCardsMessage::Clear(); - } - if (has_endofhandhidecardsmessage()) { - if (endofhandhidecardsmessage_ != NULL) endofhandhidecardsmessage_->::EndOfHandHideCardsMessage::Clear(); - } - if (has_showmycardsrequestmessage()) { - if (showmycardsrequestmessage_ != NULL) showmycardsrequestmessage_->::ShowMyCardsRequestMessage::Clear(); - } - if (has_afterhandshowcardsmessage()) { - if (afterhandshowcardsmessage_ != NULL) afterhandshowcardsmessage_->::AfterHandShowCardsMessage::Clear(); - } - if (has_endofgamemessage()) { - if (endofgamemessage_ != NULL) endofgamemessage_->::EndOfGameMessage::Clear(); - } - if (has_playeridchangedmessage()) { - if (playeridchangedmessage_ != NULL) playeridchangedmessage_->::PlayerIdChangedMessage::Clear(); - } - if (has_askkickplayermessage()) { - if (askkickplayermessage_ != NULL) askkickplayermessage_->::AskKickPlayerMessage::Clear(); - } - } - if (_has_bits_[56 / 32] & (0xffu << (56 % 32))) { - if (has_askkickdeniedmessage()) { - if (askkickdeniedmessage_ != NULL) askkickdeniedmessage_->::AskKickDeniedMessage::Clear(); - } - if (has_startkickpetitionmessage()) { - if (startkickpetitionmessage_ != NULL) startkickpetitionmessage_->::StartKickPetitionMessage::Clear(); - } - if (has_votekickrequestmessage()) { - if (votekickrequestmessage_ != NULL) votekickrequestmessage_->::VoteKickRequestMessage::Clear(); - } - if (has_votekickreplymessage()) { - if (votekickreplymessage_ != NULL) votekickreplymessage_->::VoteKickReplyMessage::Clear(); - } - if (has_kickpetitionupdatemessage()) { - if (kickpetitionupdatemessage_ != NULL) kickpetitionupdatemessage_->::KickPetitionUpdateMessage::Clear(); - } - if (has_endkickpetitionmessage()) { - if (endkickpetitionmessage_ != NULL) endkickpetitionmessage_->::EndKickPetitionMessage::Clear(); - } - if (has_statisticsmessage()) { - if (statisticsmessage_ != NULL) statisticsmessage_->::StatisticsMessage::Clear(); - } - if (has_chatrequestmessage()) { - if (chatrequestmessage_ != NULL) chatrequestmessage_->::ChatRequestMessage::Clear(); - } - } - if (_has_bits_[64 / 32] & (0xffu << (64 % 32))) { - if (has_chatmessage()) { - if (chatmessage_ != NULL) chatmessage_->::ChatMessage::Clear(); - } - if (has_chatrejectmessage()) { - if (chatrejectmessage_ != NULL) chatrejectmessage_->::ChatRejectMessage::Clear(); - } - if (has_dialogmessage()) { - if (dialogmessage_ != NULL) dialogmessage_->::DialogMessage::Clear(); - } - if (has_timeoutwarningmessage()) { - if (timeoutwarningmessage_ != NULL) timeoutwarningmessage_->::TimeoutWarningMessage::Clear(); - } - if (has_resettimeoutmessage()) { - if (resettimeoutmessage_ != NULL) resettimeoutmessage_->::ResetTimeoutMessage::Clear(); - } - if (has_reportavatarmessage()) { - if (reportavatarmessage_ != NULL) reportavatarmessage_->::ReportAvatarMessage::Clear(); - } - if (has_reportavatarackmessage()) { - if (reportavatarackmessage_ != NULL) reportavatarackmessage_->::ReportAvatarAckMessage::Clear(); - } - if (has_reportgamemessage()) { - if (reportgamemessage_ != NULL) reportgamemessage_->::ReportGameMessage::Clear(); - } - } - if (_has_bits_[72 / 32] & (0xffu << (72 % 32))) { - if (has_reportgameackmessage()) { - if (reportgameackmessage_ != NULL) reportgameackmessage_->::ReportGameAckMessage::Clear(); - } - if (has_errormessage()) { - if (errormessage_ != NULL) errormessage_->::ErrorMessage::Clear(); - } - if (has_adminremovegamemessage()) { - if (adminremovegamemessage_ != NULL) adminremovegamemessage_->::AdminRemoveGameMessage::Clear(); - } - if (has_adminremovegameackmessage()) { - if (adminremovegameackmessage_ != NULL) adminremovegameackmessage_->::AdminRemoveGameAckMessage::Clear(); - } - if (has_adminbanplayermessage()) { - if (adminbanplayermessage_ != NULL) adminbanplayermessage_->::AdminBanPlayerMessage::Clear(); - } - if (has_adminbanplayerackmessage()) { - if (adminbanplayerackmessage_ != NULL) adminbanplayerackmessage_->::AdminBanPlayerAckMessage::Clear(); - } - if (has_gamelistspectatorjoinedmessage()) { - if (gamelistspectatorjoinedmessage_ != NULL) gamelistspectatorjoinedmessage_->::GameListSpectatorJoinedMessage::Clear(); - } - if (has_gamelistspectatorleftmessage()) { - if (gamelistspectatorleftmessage_ != NULL) gamelistspectatorleftmessage_->::GameListSpectatorLeftMessage::Clear(); - } - } - if (_has_bits_[80 / 32] & (0xffu << (80 % 32))) { - if (has_gamespectatorjoinedmessage()) { - if (gamespectatorjoinedmessage_ != NULL) gamespectatorjoinedmessage_->::GameSpectatorJoinedMessage::Clear(); - } - if (has_gamespectatorleftmessage()) { - if (gamespectatorleftmessage_ != NULL) gamespectatorleftmessage_->::GameSpectatorLeftMessage::Clear(); + if (has_gamemessage()) { + if (gamemessage_ != NULL) gamemessage_->::GameMessage::Clear(); } } ::memset(_has_bits_, 0, sizeof(_has_bits_)); @@ -23313,1123 +26826,45 @@ bool PokerTHMessage::MergePartialFromCodedStream( } else { goto handle_uninterpreted; } - if (input->ExpectTag(26)) goto parse_initMessage; + if (input->ExpectTag(26)) goto parse_authMessage; break; } - // optional .InitMessage initMessage = 3; + // optional .AuthMessage authMessage = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_initMessage: + parse_authMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_initmessage())); + input, mutable_authmessage())); } else { goto handle_uninterpreted; } - if (input->ExpectTag(34)) goto parse_authServerChallengeMessage; + if (input->ExpectTag(34)) goto parse_lobbyMessage; break; } - // optional .AuthServerChallengeMessage authServerChallengeMessage = 4; + // optional .LobbyMessage lobbyMessage = 4; case 4: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_authServerChallengeMessage: + parse_lobbyMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_authserverchallengemessage())); + input, mutable_lobbymessage())); } else { goto handle_uninterpreted; } - if (input->ExpectTag(42)) goto parse_authClientResponseMessage; + if (input->ExpectTag(42)) goto parse_gameMessage; break; } - // optional .AuthClientResponseMessage authClientResponseMessage = 5; + // optional .GameMessage gameMessage = 5; case 5: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_authClientResponseMessage: + parse_gameMessage: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_authclientresponsemessage())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(50)) goto parse_authServerVerificationMessage; - break; - } - - // optional .AuthServerVerificationMessage authServerVerificationMessage = 6; - case 6: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_authServerVerificationMessage: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_authserververificationmessage())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(58)) goto parse_initAckMessage; - break; - } - - // optional .InitAckMessage initAckMessage = 7; - case 7: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_initAckMessage: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_initackmessage())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(66)) goto parse_avatarRequestMessage; - break; - } - - // optional .AvatarRequestMessage avatarRequestMessage = 8; - case 8: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_avatarRequestMessage: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_avatarrequestmessage())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(74)) goto parse_avatarHeaderMessage; - break; - } - - // optional .AvatarHeaderMessage avatarHeaderMessage = 9; - case 9: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_avatarHeaderMessage: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_avatarheadermessage())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(82)) goto parse_avatarDataMessage; - break; - } - - // optional .AvatarDataMessage avatarDataMessage = 10; - case 10: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_avatarDataMessage: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_avatardatamessage())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(90)) goto parse_avatarEndMessage; - break; - } - - // optional .AvatarEndMessage avatarEndMessage = 11; - case 11: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_avatarEndMessage: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_avatarendmessage())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(98)) goto parse_unknownAvatarMessage; - break; - } - - // optional .UnknownAvatarMessage unknownAvatarMessage = 12; - case 12: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_unknownAvatarMessage: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_unknownavatarmessage())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(106)) goto parse_playerListMessage; - break; - } - - // optional .PlayerListMessage playerListMessage = 13; - case 13: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_playerListMessage: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_playerlistmessage())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(114)) goto parse_gameListNewMessage; - break; - } - - // optional .GameListNewMessage gameListNewMessage = 14; - case 14: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_gameListNewMessage: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_gamelistnewmessage())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(122)) goto parse_gameListUpdateMessage; - break; - } - - // optional .GameListUpdateMessage gameListUpdateMessage = 15; - case 15: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_gameListUpdateMessage: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_gamelistupdatemessage())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(130)) goto parse_gameListPlayerJoinedMessage; - break; - } - - // optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 16; - case 16: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_gameListPlayerJoinedMessage: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_gamelistplayerjoinedmessage())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(138)) goto parse_gameListPlayerLeftMessage; - break; - } - - // optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 17; - case 17: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_gameListPlayerLeftMessage: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_gamelistplayerleftmessage())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(146)) goto parse_gameListAdminChangedMessage; - break; - } - - // optional .GameListAdminChangedMessage gameListAdminChangedMessage = 18; - case 18: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_gameListAdminChangedMessage: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_gamelistadminchangedmessage())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(154)) goto parse_playerInfoRequestMessage; - break; - } - - // optional .PlayerInfoRequestMessage playerInfoRequestMessage = 19; - case 19: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_playerInfoRequestMessage: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_playerinforequestmessage())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(162)) goto parse_playerInfoReplyMessage; - break; - } - - // optional .PlayerInfoReplyMessage playerInfoReplyMessage = 20; - case 20: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_playerInfoReplyMessage: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_playerinforeplymessage())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(170)) goto parse_subscriptionRequestMessage; - break; - } - - // optional .SubscriptionRequestMessage subscriptionRequestMessage = 21; - case 21: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_subscriptionRequestMessage: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_subscriptionrequestmessage())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(178)) goto parse_joinExistingGameMessage; - break; - } - - // optional .JoinExistingGameMessage joinExistingGameMessage = 22; - case 22: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_joinExistingGameMessage: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_joinexistinggamemessage())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(186)) goto parse_joinNewGameMessage; - break; - } - - // optional .JoinNewGameMessage joinNewGameMessage = 23; - case 23: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_joinNewGameMessage: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_joinnewgamemessage())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(194)) goto parse_rejoinExistingGameMessage; - break; - } - - // optional .RejoinExistingGameMessage rejoinExistingGameMessage = 24; - case 24: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_rejoinExistingGameMessage: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_rejoinexistinggamemessage())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(202)) goto parse_joinGameAckMessage; - break; - } - - // optional .JoinGameAckMessage joinGameAckMessage = 25; - case 25: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_joinGameAckMessage: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_joingameackmessage())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(210)) goto parse_joinGameFailedMessage; - break; - } - - // optional .JoinGameFailedMessage joinGameFailedMessage = 26; - case 26: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_joinGameFailedMessage: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_joingamefailedmessage())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(218)) goto parse_gamePlayerJoinedMessage; - break; - } - - // optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 27; - case 27: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_gamePlayerJoinedMessage: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_gameplayerjoinedmessage())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(226)) goto parse_gamePlayerLeftMessage; - break; - } - - // optional .GamePlayerLeftMessage gamePlayerLeftMessage = 28; - case 28: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_gamePlayerLeftMessage: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_gameplayerleftmessage())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(234)) goto parse_gameAdminChangedMessage; - break; - } - - // optional .GameAdminChangedMessage gameAdminChangedMessage = 29; - case 29: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_gameAdminChangedMessage: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_gameadminchangedmessage())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(242)) goto parse_removedFromGameMessage; - break; - } - - // optional .RemovedFromGameMessage removedFromGameMessage = 30; - case 30: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_removedFromGameMessage: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_removedfromgamemessage())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(250)) goto parse_kickPlayerRequestMessage; - break; - } - - // optional .KickPlayerRequestMessage kickPlayerRequestMessage = 31; - case 31: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_kickPlayerRequestMessage: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_kickplayerrequestmessage())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(258)) goto parse_leaveGameRequestMessage; - break; - } - - // optional .LeaveGameRequestMessage leaveGameRequestMessage = 32; - case 32: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_leaveGameRequestMessage: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_leavegamerequestmessage())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(266)) goto parse_invitePlayerToGameMessage; - break; - } - - // optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 33; - case 33: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_invitePlayerToGameMessage: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_inviteplayertogamemessage())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(274)) goto parse_inviteNotifyMessage; - break; - } - - // optional .InviteNotifyMessage inviteNotifyMessage = 34; - case 34: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_inviteNotifyMessage: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_invitenotifymessage())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(282)) goto parse_rejectGameInvitationMessage; - break; - } - - // optional .RejectGameInvitationMessage rejectGameInvitationMessage = 35; - case 35: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_rejectGameInvitationMessage: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_rejectgameinvitationmessage())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(290)) goto parse_rejectInvNotifyMessage; - break; - } - - // optional .RejectInvNotifyMessage rejectInvNotifyMessage = 36; - case 36: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_rejectInvNotifyMessage: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_rejectinvnotifymessage())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(298)) goto parse_startEventMessage; - break; - } - - // optional .StartEventMessage startEventMessage = 37; - case 37: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_startEventMessage: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_starteventmessage())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(306)) goto parse_startEventAckMessage; - break; - } - - // optional .StartEventAckMessage startEventAckMessage = 38; - case 38: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_startEventAckMessage: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_starteventackmessage())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(314)) goto parse_gameStartInitialMessage; - break; - } - - // optional .GameStartInitialMessage gameStartInitialMessage = 39; - case 39: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_gameStartInitialMessage: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_gamestartinitialmessage())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(322)) goto parse_gameStartRejoinMessage; - break; - } - - // optional .GameStartRejoinMessage gameStartRejoinMessage = 40; - case 40: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_gameStartRejoinMessage: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_gamestartrejoinmessage())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(330)) goto parse_handStartMessage; - break; - } - - // optional .HandStartMessage handStartMessage = 41; - case 41: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_handStartMessage: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_handstartmessage())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(338)) goto parse_playersTurnMessage; - break; - } - - // optional .PlayersTurnMessage playersTurnMessage = 42; - case 42: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_playersTurnMessage: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_playersturnmessage())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(346)) goto parse_myActionRequestMessage; - break; - } - - // optional .MyActionRequestMessage myActionRequestMessage = 43; - case 43: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_myActionRequestMessage: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_myactionrequestmessage())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(354)) goto parse_yourActionRejectedMessage; - break; - } - - // optional .YourActionRejectedMessage yourActionRejectedMessage = 44; - case 44: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_yourActionRejectedMessage: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_youractionrejectedmessage())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(362)) goto parse_playersActionDoneMessage; - break; - } - - // optional .PlayersActionDoneMessage playersActionDoneMessage = 45; - case 45: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_playersActionDoneMessage: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_playersactiondonemessage())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(370)) goto parse_dealFlopCardsMessage; - break; - } - - // optional .DealFlopCardsMessage dealFlopCardsMessage = 46; - case 46: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_dealFlopCardsMessage: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_dealflopcardsmessage())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(378)) goto parse_dealTurnCardMessage; - break; - } - - // optional .DealTurnCardMessage dealTurnCardMessage = 47; - case 47: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_dealTurnCardMessage: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_dealturncardmessage())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(386)) goto parse_dealRiverCardMessage; - break; - } - - // optional .DealRiverCardMessage dealRiverCardMessage = 48; - case 48: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_dealRiverCardMessage: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_dealrivercardmessage())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(394)) goto parse_allInShowCardsMessage; - break; - } - - // optional .AllInShowCardsMessage allInShowCardsMessage = 49; - case 49: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_allInShowCardsMessage: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_allinshowcardsmessage())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(402)) goto parse_endOfHandShowCardsMessage; - break; - } - - // optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 50; - case 50: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_endOfHandShowCardsMessage: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_endofhandshowcardsmessage())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(410)) goto parse_endOfHandHideCardsMessage; - break; - } - - // optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 51; - case 51: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_endOfHandHideCardsMessage: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_endofhandhidecardsmessage())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(418)) goto parse_showMyCardsRequestMessage; - break; - } - - // optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 52; - case 52: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_showMyCardsRequestMessage: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_showmycardsrequestmessage())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(426)) goto parse_afterHandShowCardsMessage; - break; - } - - // optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 53; - case 53: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_afterHandShowCardsMessage: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_afterhandshowcardsmessage())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(434)) goto parse_endOfGameMessage; - break; - } - - // optional .EndOfGameMessage endOfGameMessage = 54; - case 54: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_endOfGameMessage: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_endofgamemessage())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(442)) goto parse_playerIdChangedMessage; - break; - } - - // optional .PlayerIdChangedMessage playerIdChangedMessage = 55; - case 55: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_playerIdChangedMessage: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_playeridchangedmessage())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(450)) goto parse_askKickPlayerMessage; - break; - } - - // optional .AskKickPlayerMessage askKickPlayerMessage = 56; - case 56: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_askKickPlayerMessage: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_askkickplayermessage())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(458)) goto parse_askKickDeniedMessage; - break; - } - - // optional .AskKickDeniedMessage askKickDeniedMessage = 57; - case 57: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_askKickDeniedMessage: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_askkickdeniedmessage())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(466)) goto parse_startKickPetitionMessage; - break; - } - - // optional .StartKickPetitionMessage startKickPetitionMessage = 58; - case 58: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_startKickPetitionMessage: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_startkickpetitionmessage())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(474)) goto parse_voteKickRequestMessage; - break; - } - - // optional .VoteKickRequestMessage voteKickRequestMessage = 59; - case 59: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_voteKickRequestMessage: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_votekickrequestmessage())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(482)) goto parse_voteKickReplyMessage; - break; - } - - // optional .VoteKickReplyMessage voteKickReplyMessage = 60; - case 60: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_voteKickReplyMessage: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_votekickreplymessage())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(490)) goto parse_kickPetitionUpdateMessage; - break; - } - - // optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 61; - case 61: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_kickPetitionUpdateMessage: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_kickpetitionupdatemessage())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(498)) goto parse_endKickPetitionMessage; - break; - } - - // optional .EndKickPetitionMessage endKickPetitionMessage = 62; - case 62: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_endKickPetitionMessage: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_endkickpetitionmessage())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(506)) goto parse_statisticsMessage; - break; - } - - // optional .StatisticsMessage statisticsMessage = 63; - case 63: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_statisticsMessage: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_statisticsmessage())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(514)) goto parse_chatRequestMessage; - break; - } - - // optional .ChatRequestMessage chatRequestMessage = 64; - case 64: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_chatRequestMessage: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_chatrequestmessage())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(522)) goto parse_chatMessage; - break; - } - - // optional .ChatMessage chatMessage = 65; - case 65: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_chatMessage: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_chatmessage())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(530)) goto parse_chatRejectMessage; - break; - } - - // optional .ChatRejectMessage chatRejectMessage = 66; - case 66: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_chatRejectMessage: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_chatrejectmessage())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(538)) goto parse_dialogMessage; - break; - } - - // optional .DialogMessage dialogMessage = 67; - case 67: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_dialogMessage: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_dialogmessage())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(546)) goto parse_timeoutWarningMessage; - break; - } - - // optional .TimeoutWarningMessage timeoutWarningMessage = 68; - case 68: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_timeoutWarningMessage: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_timeoutwarningmessage())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(554)) goto parse_resetTimeoutMessage; - break; - } - - // optional .ResetTimeoutMessage resetTimeoutMessage = 69; - case 69: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_resetTimeoutMessage: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_resettimeoutmessage())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(562)) goto parse_reportAvatarMessage; - break; - } - - // optional .ReportAvatarMessage reportAvatarMessage = 70; - case 70: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_reportAvatarMessage: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_reportavatarmessage())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(570)) goto parse_reportAvatarAckMessage; - break; - } - - // optional .ReportAvatarAckMessage reportAvatarAckMessage = 71; - case 71: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_reportAvatarAckMessage: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_reportavatarackmessage())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(578)) goto parse_reportGameMessage; - break; - } - - // optional .ReportGameMessage reportGameMessage = 72; - case 72: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_reportGameMessage: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_reportgamemessage())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(586)) goto parse_reportGameAckMessage; - break; - } - - // optional .ReportGameAckMessage reportGameAckMessage = 73; - case 73: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_reportGameAckMessage: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_reportgameackmessage())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(594)) goto parse_errorMessage; - break; - } - - // optional .ErrorMessage errorMessage = 74; - case 74: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_errorMessage: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_errormessage())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(602)) goto parse_adminRemoveGameMessage; - break; - } - - // optional .AdminRemoveGameMessage adminRemoveGameMessage = 75; - case 75: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_adminRemoveGameMessage: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_adminremovegamemessage())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(610)) goto parse_adminRemoveGameAckMessage; - break; - } - - // optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 76; - case 76: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_adminRemoveGameAckMessage: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_adminremovegameackmessage())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(618)) goto parse_adminBanPlayerMessage; - break; - } - - // optional .AdminBanPlayerMessage adminBanPlayerMessage = 77; - case 77: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_adminBanPlayerMessage: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_adminbanplayermessage())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(626)) goto parse_adminBanPlayerAckMessage; - break; - } - - // optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 78; - case 78: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_adminBanPlayerAckMessage: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_adminbanplayerackmessage())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(634)) goto parse_gameListSpectatorJoinedMessage; - break; - } - - // optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 79; - case 79: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_gameListSpectatorJoinedMessage: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_gamelistspectatorjoinedmessage())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(642)) goto parse_gameListSpectatorLeftMessage; - break; - } - - // optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 80; - case 80: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_gameListSpectatorLeftMessage: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_gamelistspectatorleftmessage())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(650)) goto parse_gameSpectatorJoinedMessage; - break; - } - - // optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 81; - case 81: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_gameSpectatorJoinedMessage: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_gamespectatorjoinedmessage())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(658)) goto parse_gameSpectatorLeftMessage; - break; - } - - // optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 82; - case 82: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_gameSpectatorLeftMessage: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_gamespectatorleftmessage())); + input, mutable_gamemessage())); } else { goto handle_uninterpreted; } @@ -24466,484 +26901,22 @@ void PokerTHMessage::SerializeWithCachedSizes( 2, this->announcemessage(), output); } - // optional .InitMessage initMessage = 3; - if (has_initmessage()) { + // optional .AuthMessage authMessage = 3; + if (has_authmessage()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( - 3, this->initmessage(), output); + 3, this->authmessage(), output); } - // optional .AuthServerChallengeMessage authServerChallengeMessage = 4; - if (has_authserverchallengemessage()) { + // optional .LobbyMessage lobbyMessage = 4; + if (has_lobbymessage()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( - 4, this->authserverchallengemessage(), output); + 4, this->lobbymessage(), output); } - // optional .AuthClientResponseMessage authClientResponseMessage = 5; - if (has_authclientresponsemessage()) { + // optional .GameMessage gameMessage = 5; + if (has_gamemessage()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( - 5, this->authclientresponsemessage(), output); - } - - // optional .AuthServerVerificationMessage authServerVerificationMessage = 6; - if (has_authserververificationmessage()) { - ::google::protobuf::internal::WireFormatLite::WriteMessage( - 6, this->authserververificationmessage(), output); - } - - // optional .InitAckMessage initAckMessage = 7; - if (has_initackmessage()) { - ::google::protobuf::internal::WireFormatLite::WriteMessage( - 7, this->initackmessage(), output); - } - - // optional .AvatarRequestMessage avatarRequestMessage = 8; - if (has_avatarrequestmessage()) { - ::google::protobuf::internal::WireFormatLite::WriteMessage( - 8, this->avatarrequestmessage(), output); - } - - // optional .AvatarHeaderMessage avatarHeaderMessage = 9; - if (has_avatarheadermessage()) { - ::google::protobuf::internal::WireFormatLite::WriteMessage( - 9, this->avatarheadermessage(), output); - } - - // optional .AvatarDataMessage avatarDataMessage = 10; - if (has_avatardatamessage()) { - ::google::protobuf::internal::WireFormatLite::WriteMessage( - 10, this->avatardatamessage(), output); - } - - // optional .AvatarEndMessage avatarEndMessage = 11; - if (has_avatarendmessage()) { - ::google::protobuf::internal::WireFormatLite::WriteMessage( - 11, this->avatarendmessage(), output); - } - - // optional .UnknownAvatarMessage unknownAvatarMessage = 12; - if (has_unknownavatarmessage()) { - ::google::protobuf::internal::WireFormatLite::WriteMessage( - 12, this->unknownavatarmessage(), output); - } - - // optional .PlayerListMessage playerListMessage = 13; - if (has_playerlistmessage()) { - ::google::protobuf::internal::WireFormatLite::WriteMessage( - 13, this->playerlistmessage(), output); - } - - // optional .GameListNewMessage gameListNewMessage = 14; - if (has_gamelistnewmessage()) { - ::google::protobuf::internal::WireFormatLite::WriteMessage( - 14, this->gamelistnewmessage(), output); - } - - // optional .GameListUpdateMessage gameListUpdateMessage = 15; - if (has_gamelistupdatemessage()) { - ::google::protobuf::internal::WireFormatLite::WriteMessage( - 15, this->gamelistupdatemessage(), output); - } - - // optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 16; - if (has_gamelistplayerjoinedmessage()) { - ::google::protobuf::internal::WireFormatLite::WriteMessage( - 16, this->gamelistplayerjoinedmessage(), output); - } - - // optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 17; - if (has_gamelistplayerleftmessage()) { - ::google::protobuf::internal::WireFormatLite::WriteMessage( - 17, this->gamelistplayerleftmessage(), output); - } - - // optional .GameListAdminChangedMessage gameListAdminChangedMessage = 18; - if (has_gamelistadminchangedmessage()) { - ::google::protobuf::internal::WireFormatLite::WriteMessage( - 18, this->gamelistadminchangedmessage(), output); - } - - // optional .PlayerInfoRequestMessage playerInfoRequestMessage = 19; - if (has_playerinforequestmessage()) { - ::google::protobuf::internal::WireFormatLite::WriteMessage( - 19, this->playerinforequestmessage(), output); - } - - // optional .PlayerInfoReplyMessage playerInfoReplyMessage = 20; - if (has_playerinforeplymessage()) { - ::google::protobuf::internal::WireFormatLite::WriteMessage( - 20, this->playerinforeplymessage(), output); - } - - // optional .SubscriptionRequestMessage subscriptionRequestMessage = 21; - if (has_subscriptionrequestmessage()) { - ::google::protobuf::internal::WireFormatLite::WriteMessage( - 21, this->subscriptionrequestmessage(), output); - } - - // optional .JoinExistingGameMessage joinExistingGameMessage = 22; - if (has_joinexistinggamemessage()) { - ::google::protobuf::internal::WireFormatLite::WriteMessage( - 22, this->joinexistinggamemessage(), output); - } - - // optional .JoinNewGameMessage joinNewGameMessage = 23; - if (has_joinnewgamemessage()) { - ::google::protobuf::internal::WireFormatLite::WriteMessage( - 23, this->joinnewgamemessage(), output); - } - - // optional .RejoinExistingGameMessage rejoinExistingGameMessage = 24; - if (has_rejoinexistinggamemessage()) { - ::google::protobuf::internal::WireFormatLite::WriteMessage( - 24, this->rejoinexistinggamemessage(), output); - } - - // optional .JoinGameAckMessage joinGameAckMessage = 25; - if (has_joingameackmessage()) { - ::google::protobuf::internal::WireFormatLite::WriteMessage( - 25, this->joingameackmessage(), output); - } - - // optional .JoinGameFailedMessage joinGameFailedMessage = 26; - if (has_joingamefailedmessage()) { - ::google::protobuf::internal::WireFormatLite::WriteMessage( - 26, this->joingamefailedmessage(), output); - } - - // optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 27; - if (has_gameplayerjoinedmessage()) { - ::google::protobuf::internal::WireFormatLite::WriteMessage( - 27, this->gameplayerjoinedmessage(), output); - } - - // optional .GamePlayerLeftMessage gamePlayerLeftMessage = 28; - if (has_gameplayerleftmessage()) { - ::google::protobuf::internal::WireFormatLite::WriteMessage( - 28, this->gameplayerleftmessage(), output); - } - - // optional .GameAdminChangedMessage gameAdminChangedMessage = 29; - if (has_gameadminchangedmessage()) { - ::google::protobuf::internal::WireFormatLite::WriteMessage( - 29, this->gameadminchangedmessage(), output); - } - - // optional .RemovedFromGameMessage removedFromGameMessage = 30; - if (has_removedfromgamemessage()) { - ::google::protobuf::internal::WireFormatLite::WriteMessage( - 30, this->removedfromgamemessage(), output); - } - - // optional .KickPlayerRequestMessage kickPlayerRequestMessage = 31; - if (has_kickplayerrequestmessage()) { - ::google::protobuf::internal::WireFormatLite::WriteMessage( - 31, this->kickplayerrequestmessage(), output); - } - - // optional .LeaveGameRequestMessage leaveGameRequestMessage = 32; - if (has_leavegamerequestmessage()) { - ::google::protobuf::internal::WireFormatLite::WriteMessage( - 32, this->leavegamerequestmessage(), output); - } - - // optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 33; - if (has_inviteplayertogamemessage()) { - ::google::protobuf::internal::WireFormatLite::WriteMessage( - 33, this->inviteplayertogamemessage(), output); - } - - // optional .InviteNotifyMessage inviteNotifyMessage = 34; - if (has_invitenotifymessage()) { - ::google::protobuf::internal::WireFormatLite::WriteMessage( - 34, this->invitenotifymessage(), output); - } - - // optional .RejectGameInvitationMessage rejectGameInvitationMessage = 35; - if (has_rejectgameinvitationmessage()) { - ::google::protobuf::internal::WireFormatLite::WriteMessage( - 35, this->rejectgameinvitationmessage(), output); - } - - // optional .RejectInvNotifyMessage rejectInvNotifyMessage = 36; - if (has_rejectinvnotifymessage()) { - ::google::protobuf::internal::WireFormatLite::WriteMessage( - 36, this->rejectinvnotifymessage(), output); - } - - // optional .StartEventMessage startEventMessage = 37; - if (has_starteventmessage()) { - ::google::protobuf::internal::WireFormatLite::WriteMessage( - 37, this->starteventmessage(), output); - } - - // optional .StartEventAckMessage startEventAckMessage = 38; - if (has_starteventackmessage()) { - ::google::protobuf::internal::WireFormatLite::WriteMessage( - 38, this->starteventackmessage(), output); - } - - // optional .GameStartInitialMessage gameStartInitialMessage = 39; - if (has_gamestartinitialmessage()) { - ::google::protobuf::internal::WireFormatLite::WriteMessage( - 39, this->gamestartinitialmessage(), output); - } - - // optional .GameStartRejoinMessage gameStartRejoinMessage = 40; - if (has_gamestartrejoinmessage()) { - ::google::protobuf::internal::WireFormatLite::WriteMessage( - 40, this->gamestartrejoinmessage(), output); - } - - // optional .HandStartMessage handStartMessage = 41; - if (has_handstartmessage()) { - ::google::protobuf::internal::WireFormatLite::WriteMessage( - 41, this->handstartmessage(), output); - } - - // optional .PlayersTurnMessage playersTurnMessage = 42; - if (has_playersturnmessage()) { - ::google::protobuf::internal::WireFormatLite::WriteMessage( - 42, this->playersturnmessage(), output); - } - - // optional .MyActionRequestMessage myActionRequestMessage = 43; - if (has_myactionrequestmessage()) { - ::google::protobuf::internal::WireFormatLite::WriteMessage( - 43, this->myactionrequestmessage(), output); - } - - // optional .YourActionRejectedMessage yourActionRejectedMessage = 44; - if (has_youractionrejectedmessage()) { - ::google::protobuf::internal::WireFormatLite::WriteMessage( - 44, this->youractionrejectedmessage(), output); - } - - // optional .PlayersActionDoneMessage playersActionDoneMessage = 45; - if (has_playersactiondonemessage()) { - ::google::protobuf::internal::WireFormatLite::WriteMessage( - 45, this->playersactiondonemessage(), output); - } - - // optional .DealFlopCardsMessage dealFlopCardsMessage = 46; - if (has_dealflopcardsmessage()) { - ::google::protobuf::internal::WireFormatLite::WriteMessage( - 46, this->dealflopcardsmessage(), output); - } - - // optional .DealTurnCardMessage dealTurnCardMessage = 47; - if (has_dealturncardmessage()) { - ::google::protobuf::internal::WireFormatLite::WriteMessage( - 47, this->dealturncardmessage(), output); - } - - // optional .DealRiverCardMessage dealRiverCardMessage = 48; - if (has_dealrivercardmessage()) { - ::google::protobuf::internal::WireFormatLite::WriteMessage( - 48, this->dealrivercardmessage(), output); - } - - // optional .AllInShowCardsMessage allInShowCardsMessage = 49; - if (has_allinshowcardsmessage()) { - ::google::protobuf::internal::WireFormatLite::WriteMessage( - 49, this->allinshowcardsmessage(), output); - } - - // optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 50; - if (has_endofhandshowcardsmessage()) { - ::google::protobuf::internal::WireFormatLite::WriteMessage( - 50, this->endofhandshowcardsmessage(), output); - } - - // optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 51; - if (has_endofhandhidecardsmessage()) { - ::google::protobuf::internal::WireFormatLite::WriteMessage( - 51, this->endofhandhidecardsmessage(), output); - } - - // optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 52; - if (has_showmycardsrequestmessage()) { - ::google::protobuf::internal::WireFormatLite::WriteMessage( - 52, this->showmycardsrequestmessage(), output); - } - - // optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 53; - if (has_afterhandshowcardsmessage()) { - ::google::protobuf::internal::WireFormatLite::WriteMessage( - 53, this->afterhandshowcardsmessage(), output); - } - - // optional .EndOfGameMessage endOfGameMessage = 54; - if (has_endofgamemessage()) { - ::google::protobuf::internal::WireFormatLite::WriteMessage( - 54, this->endofgamemessage(), output); - } - - // optional .PlayerIdChangedMessage playerIdChangedMessage = 55; - if (has_playeridchangedmessage()) { - ::google::protobuf::internal::WireFormatLite::WriteMessage( - 55, this->playeridchangedmessage(), output); - } - - // optional .AskKickPlayerMessage askKickPlayerMessage = 56; - if (has_askkickplayermessage()) { - ::google::protobuf::internal::WireFormatLite::WriteMessage( - 56, this->askkickplayermessage(), output); - } - - // optional .AskKickDeniedMessage askKickDeniedMessage = 57; - if (has_askkickdeniedmessage()) { - ::google::protobuf::internal::WireFormatLite::WriteMessage( - 57, this->askkickdeniedmessage(), output); - } - - // optional .StartKickPetitionMessage startKickPetitionMessage = 58; - if (has_startkickpetitionmessage()) { - ::google::protobuf::internal::WireFormatLite::WriteMessage( - 58, this->startkickpetitionmessage(), output); - } - - // optional .VoteKickRequestMessage voteKickRequestMessage = 59; - if (has_votekickrequestmessage()) { - ::google::protobuf::internal::WireFormatLite::WriteMessage( - 59, this->votekickrequestmessage(), output); - } - - // optional .VoteKickReplyMessage voteKickReplyMessage = 60; - if (has_votekickreplymessage()) { - ::google::protobuf::internal::WireFormatLite::WriteMessage( - 60, this->votekickreplymessage(), output); - } - - // optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 61; - if (has_kickpetitionupdatemessage()) { - ::google::protobuf::internal::WireFormatLite::WriteMessage( - 61, this->kickpetitionupdatemessage(), output); - } - - // optional .EndKickPetitionMessage endKickPetitionMessage = 62; - if (has_endkickpetitionmessage()) { - ::google::protobuf::internal::WireFormatLite::WriteMessage( - 62, this->endkickpetitionmessage(), output); - } - - // optional .StatisticsMessage statisticsMessage = 63; - if (has_statisticsmessage()) { - ::google::protobuf::internal::WireFormatLite::WriteMessage( - 63, this->statisticsmessage(), output); - } - - // optional .ChatRequestMessage chatRequestMessage = 64; - if (has_chatrequestmessage()) { - ::google::protobuf::internal::WireFormatLite::WriteMessage( - 64, this->chatrequestmessage(), output); - } - - // optional .ChatMessage chatMessage = 65; - if (has_chatmessage()) { - ::google::protobuf::internal::WireFormatLite::WriteMessage( - 65, this->chatmessage(), output); - } - - // optional .ChatRejectMessage chatRejectMessage = 66; - if (has_chatrejectmessage()) { - ::google::protobuf::internal::WireFormatLite::WriteMessage( - 66, this->chatrejectmessage(), output); - } - - // optional .DialogMessage dialogMessage = 67; - if (has_dialogmessage()) { - ::google::protobuf::internal::WireFormatLite::WriteMessage( - 67, this->dialogmessage(), output); - } - - // optional .TimeoutWarningMessage timeoutWarningMessage = 68; - if (has_timeoutwarningmessage()) { - ::google::protobuf::internal::WireFormatLite::WriteMessage( - 68, this->timeoutwarningmessage(), output); - } - - // optional .ResetTimeoutMessage resetTimeoutMessage = 69; - if (has_resettimeoutmessage()) { - ::google::protobuf::internal::WireFormatLite::WriteMessage( - 69, this->resettimeoutmessage(), output); - } - - // optional .ReportAvatarMessage reportAvatarMessage = 70; - if (has_reportavatarmessage()) { - ::google::protobuf::internal::WireFormatLite::WriteMessage( - 70, this->reportavatarmessage(), output); - } - - // optional .ReportAvatarAckMessage reportAvatarAckMessage = 71; - if (has_reportavatarackmessage()) { - ::google::protobuf::internal::WireFormatLite::WriteMessage( - 71, this->reportavatarackmessage(), output); - } - - // optional .ReportGameMessage reportGameMessage = 72; - if (has_reportgamemessage()) { - ::google::protobuf::internal::WireFormatLite::WriteMessage( - 72, this->reportgamemessage(), output); - } - - // optional .ReportGameAckMessage reportGameAckMessage = 73; - if (has_reportgameackmessage()) { - ::google::protobuf::internal::WireFormatLite::WriteMessage( - 73, this->reportgameackmessage(), output); - } - - // optional .ErrorMessage errorMessage = 74; - if (has_errormessage()) { - ::google::protobuf::internal::WireFormatLite::WriteMessage( - 74, this->errormessage(), output); - } - - // optional .AdminRemoveGameMessage adminRemoveGameMessage = 75; - if (has_adminremovegamemessage()) { - ::google::protobuf::internal::WireFormatLite::WriteMessage( - 75, this->adminremovegamemessage(), output); - } - - // optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 76; - if (has_adminremovegameackmessage()) { - ::google::protobuf::internal::WireFormatLite::WriteMessage( - 76, this->adminremovegameackmessage(), output); - } - - // optional .AdminBanPlayerMessage adminBanPlayerMessage = 77; - if (has_adminbanplayermessage()) { - ::google::protobuf::internal::WireFormatLite::WriteMessage( - 77, this->adminbanplayermessage(), output); - } - - // optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 78; - if (has_adminbanplayerackmessage()) { - ::google::protobuf::internal::WireFormatLite::WriteMessage( - 78, this->adminbanplayerackmessage(), output); - } - - // optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 79; - if (has_gamelistspectatorjoinedmessage()) { - ::google::protobuf::internal::WireFormatLite::WriteMessage( - 79, this->gamelistspectatorjoinedmessage(), output); - } - - // optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 80; - if (has_gamelistspectatorleftmessage()) { - ::google::protobuf::internal::WireFormatLite::WriteMessage( - 80, this->gamelistspectatorleftmessage(), output); - } - - // optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 81; - if (has_gamespectatorjoinedmessage()) { - ::google::protobuf::internal::WireFormatLite::WriteMessage( - 81, this->gamespectatorjoinedmessage(), output); - } - - // optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 82; - if (has_gamespectatorleftmessage()) { - ::google::protobuf::internal::WireFormatLite::WriteMessage( - 82, this->gamespectatorleftmessage(), output); + 5, this->gamemessage(), output); } } @@ -24965,584 +26938,25 @@ int PokerTHMessage::ByteSize() const { this->announcemessage()); } - // optional .InitMessage initMessage = 3; - if (has_initmessage()) { + // optional .AuthMessage authMessage = 3; + if (has_authmessage()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->initmessage()); + this->authmessage()); } - // optional .AuthServerChallengeMessage authServerChallengeMessage = 4; - if (has_authserverchallengemessage()) { + // optional .LobbyMessage lobbyMessage = 4; + if (has_lobbymessage()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->authserverchallengemessage()); + this->lobbymessage()); } - // optional .AuthClientResponseMessage authClientResponseMessage = 5; - if (has_authclientresponsemessage()) { + // optional .GameMessage gameMessage = 5; + if (has_gamemessage()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->authclientresponsemessage()); - } - - // optional .AuthServerVerificationMessage authServerVerificationMessage = 6; - if (has_authserververificationmessage()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->authserververificationmessage()); - } - - // optional .InitAckMessage initAckMessage = 7; - if (has_initackmessage()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->initackmessage()); - } - - // optional .AvatarRequestMessage avatarRequestMessage = 8; - if (has_avatarrequestmessage()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->avatarrequestmessage()); - } - - } - if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) { - // optional .AvatarHeaderMessage avatarHeaderMessage = 9; - if (has_avatarheadermessage()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->avatarheadermessage()); - } - - // optional .AvatarDataMessage avatarDataMessage = 10; - if (has_avatardatamessage()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->avatardatamessage()); - } - - // optional .AvatarEndMessage avatarEndMessage = 11; - if (has_avatarendmessage()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->avatarendmessage()); - } - - // optional .UnknownAvatarMessage unknownAvatarMessage = 12; - if (has_unknownavatarmessage()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->unknownavatarmessage()); - } - - // optional .PlayerListMessage playerListMessage = 13; - if (has_playerlistmessage()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->playerlistmessage()); - } - - // optional .GameListNewMessage gameListNewMessage = 14; - if (has_gamelistnewmessage()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->gamelistnewmessage()); - } - - // optional .GameListUpdateMessage gameListUpdateMessage = 15; - if (has_gamelistupdatemessage()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->gamelistupdatemessage()); - } - - // optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 16; - if (has_gamelistplayerjoinedmessage()) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->gamelistplayerjoinedmessage()); - } - - } - if (_has_bits_[16 / 32] & (0xffu << (16 % 32))) { - // optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 17; - if (has_gamelistplayerleftmessage()) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->gamelistplayerleftmessage()); - } - - // optional .GameListAdminChangedMessage gameListAdminChangedMessage = 18; - if (has_gamelistadminchangedmessage()) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->gamelistadminchangedmessage()); - } - - // optional .PlayerInfoRequestMessage playerInfoRequestMessage = 19; - if (has_playerinforequestmessage()) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->playerinforequestmessage()); - } - - // optional .PlayerInfoReplyMessage playerInfoReplyMessage = 20; - if (has_playerinforeplymessage()) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->playerinforeplymessage()); - } - - // optional .SubscriptionRequestMessage subscriptionRequestMessage = 21; - if (has_subscriptionrequestmessage()) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->subscriptionrequestmessage()); - } - - // optional .JoinExistingGameMessage joinExistingGameMessage = 22; - if (has_joinexistinggamemessage()) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->joinexistinggamemessage()); - } - - // optional .JoinNewGameMessage joinNewGameMessage = 23; - if (has_joinnewgamemessage()) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->joinnewgamemessage()); - } - - // optional .RejoinExistingGameMessage rejoinExistingGameMessage = 24; - if (has_rejoinexistinggamemessage()) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->rejoinexistinggamemessage()); - } - - } - if (_has_bits_[24 / 32] & (0xffu << (24 % 32))) { - // optional .JoinGameAckMessage joinGameAckMessage = 25; - if (has_joingameackmessage()) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->joingameackmessage()); - } - - // optional .JoinGameFailedMessage joinGameFailedMessage = 26; - if (has_joingamefailedmessage()) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->joingamefailedmessage()); - } - - // optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 27; - if (has_gameplayerjoinedmessage()) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->gameplayerjoinedmessage()); - } - - // optional .GamePlayerLeftMessage gamePlayerLeftMessage = 28; - if (has_gameplayerleftmessage()) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->gameplayerleftmessage()); - } - - // optional .GameAdminChangedMessage gameAdminChangedMessage = 29; - if (has_gameadminchangedmessage()) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->gameadminchangedmessage()); - } - - // optional .RemovedFromGameMessage removedFromGameMessage = 30; - if (has_removedfromgamemessage()) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->removedfromgamemessage()); - } - - // optional .KickPlayerRequestMessage kickPlayerRequestMessage = 31; - if (has_kickplayerrequestmessage()) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->kickplayerrequestmessage()); - } - - // optional .LeaveGameRequestMessage leaveGameRequestMessage = 32; - if (has_leavegamerequestmessage()) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->leavegamerequestmessage()); - } - - } - if (_has_bits_[32 / 32] & (0xffu << (32 % 32))) { - // optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 33; - if (has_inviteplayertogamemessage()) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->inviteplayertogamemessage()); - } - - // optional .InviteNotifyMessage inviteNotifyMessage = 34; - if (has_invitenotifymessage()) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->invitenotifymessage()); - } - - // optional .RejectGameInvitationMessage rejectGameInvitationMessage = 35; - if (has_rejectgameinvitationmessage()) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->rejectgameinvitationmessage()); - } - - // optional .RejectInvNotifyMessage rejectInvNotifyMessage = 36; - if (has_rejectinvnotifymessage()) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->rejectinvnotifymessage()); - } - - // optional .StartEventMessage startEventMessage = 37; - if (has_starteventmessage()) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->starteventmessage()); - } - - // optional .StartEventAckMessage startEventAckMessage = 38; - if (has_starteventackmessage()) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->starteventackmessage()); - } - - // optional .GameStartInitialMessage gameStartInitialMessage = 39; - if (has_gamestartinitialmessage()) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->gamestartinitialmessage()); - } - - // optional .GameStartRejoinMessage gameStartRejoinMessage = 40; - if (has_gamestartrejoinmessage()) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->gamestartrejoinmessage()); - } - - } - if (_has_bits_[40 / 32] & (0xffu << (40 % 32))) { - // optional .HandStartMessage handStartMessage = 41; - if (has_handstartmessage()) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->handstartmessage()); - } - - // optional .PlayersTurnMessage playersTurnMessage = 42; - if (has_playersturnmessage()) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->playersturnmessage()); - } - - // optional .MyActionRequestMessage myActionRequestMessage = 43; - if (has_myactionrequestmessage()) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->myactionrequestmessage()); - } - - // optional .YourActionRejectedMessage yourActionRejectedMessage = 44; - if (has_youractionrejectedmessage()) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->youractionrejectedmessage()); - } - - // optional .PlayersActionDoneMessage playersActionDoneMessage = 45; - if (has_playersactiondonemessage()) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->playersactiondonemessage()); - } - - // optional .DealFlopCardsMessage dealFlopCardsMessage = 46; - if (has_dealflopcardsmessage()) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->dealflopcardsmessage()); - } - - // optional .DealTurnCardMessage dealTurnCardMessage = 47; - if (has_dealturncardmessage()) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->dealturncardmessage()); - } - - // optional .DealRiverCardMessage dealRiverCardMessage = 48; - if (has_dealrivercardmessage()) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->dealrivercardmessage()); - } - - } - if (_has_bits_[48 / 32] & (0xffu << (48 % 32))) { - // optional .AllInShowCardsMessage allInShowCardsMessage = 49; - if (has_allinshowcardsmessage()) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->allinshowcardsmessage()); - } - - // optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 50; - if (has_endofhandshowcardsmessage()) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->endofhandshowcardsmessage()); - } - - // optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 51; - if (has_endofhandhidecardsmessage()) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->endofhandhidecardsmessage()); - } - - // optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 52; - if (has_showmycardsrequestmessage()) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->showmycardsrequestmessage()); - } - - // optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 53; - if (has_afterhandshowcardsmessage()) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->afterhandshowcardsmessage()); - } - - // optional .EndOfGameMessage endOfGameMessage = 54; - if (has_endofgamemessage()) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->endofgamemessage()); - } - - // optional .PlayerIdChangedMessage playerIdChangedMessage = 55; - if (has_playeridchangedmessage()) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->playeridchangedmessage()); - } - - // optional .AskKickPlayerMessage askKickPlayerMessage = 56; - if (has_askkickplayermessage()) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->askkickplayermessage()); - } - - } - if (_has_bits_[56 / 32] & (0xffu << (56 % 32))) { - // optional .AskKickDeniedMessage askKickDeniedMessage = 57; - if (has_askkickdeniedmessage()) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->askkickdeniedmessage()); - } - - // optional .StartKickPetitionMessage startKickPetitionMessage = 58; - if (has_startkickpetitionmessage()) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->startkickpetitionmessage()); - } - - // optional .VoteKickRequestMessage voteKickRequestMessage = 59; - if (has_votekickrequestmessage()) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->votekickrequestmessage()); - } - - // optional .VoteKickReplyMessage voteKickReplyMessage = 60; - if (has_votekickreplymessage()) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->votekickreplymessage()); - } - - // optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 61; - if (has_kickpetitionupdatemessage()) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->kickpetitionupdatemessage()); - } - - // optional .EndKickPetitionMessage endKickPetitionMessage = 62; - if (has_endkickpetitionmessage()) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->endkickpetitionmessage()); - } - - // optional .StatisticsMessage statisticsMessage = 63; - if (has_statisticsmessage()) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->statisticsmessage()); - } - - // optional .ChatRequestMessage chatRequestMessage = 64; - if (has_chatrequestmessage()) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->chatrequestmessage()); - } - - } - if (_has_bits_[64 / 32] & (0xffu << (64 % 32))) { - // optional .ChatMessage chatMessage = 65; - if (has_chatmessage()) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->chatmessage()); - } - - // optional .ChatRejectMessage chatRejectMessage = 66; - if (has_chatrejectmessage()) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->chatrejectmessage()); - } - - // optional .DialogMessage dialogMessage = 67; - if (has_dialogmessage()) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->dialogmessage()); - } - - // optional .TimeoutWarningMessage timeoutWarningMessage = 68; - if (has_timeoutwarningmessage()) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->timeoutwarningmessage()); - } - - // optional .ResetTimeoutMessage resetTimeoutMessage = 69; - if (has_resettimeoutmessage()) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->resettimeoutmessage()); - } - - // optional .ReportAvatarMessage reportAvatarMessage = 70; - if (has_reportavatarmessage()) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->reportavatarmessage()); - } - - // optional .ReportAvatarAckMessage reportAvatarAckMessage = 71; - if (has_reportavatarackmessage()) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->reportavatarackmessage()); - } - - // optional .ReportGameMessage reportGameMessage = 72; - if (has_reportgamemessage()) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->reportgamemessage()); - } - - } - if (_has_bits_[72 / 32] & (0xffu << (72 % 32))) { - // optional .ReportGameAckMessage reportGameAckMessage = 73; - if (has_reportgameackmessage()) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->reportgameackmessage()); - } - - // optional .ErrorMessage errorMessage = 74; - if (has_errormessage()) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->errormessage()); - } - - // optional .AdminRemoveGameMessage adminRemoveGameMessage = 75; - if (has_adminremovegamemessage()) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->adminremovegamemessage()); - } - - // optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 76; - if (has_adminremovegameackmessage()) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->adminremovegameackmessage()); - } - - // optional .AdminBanPlayerMessage adminBanPlayerMessage = 77; - if (has_adminbanplayermessage()) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->adminbanplayermessage()); - } - - // optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 78; - if (has_adminbanplayerackmessage()) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->adminbanplayerackmessage()); - } - - // optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 79; - if (has_gamelistspectatorjoinedmessage()) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->gamelistspectatorjoinedmessage()); - } - - // optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 80; - if (has_gamelistspectatorleftmessage()) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->gamelistspectatorleftmessage()); - } - - } - if (_has_bits_[80 / 32] & (0xffu << (80 % 32))) { - // optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 81; - if (has_gamespectatorjoinedmessage()) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->gamespectatorjoinedmessage()); - } - - // optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 82; - if (has_gamespectatorleftmessage()) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->gamespectatorleftmessage()); + this->gamemessage()); } } @@ -25566,265 +26980,14 @@ void PokerTHMessage::MergeFrom(const PokerTHMessage& from) { if (from.has_announcemessage()) { mutable_announcemessage()->::AnnounceMessage::MergeFrom(from.announcemessage()); } - if (from.has_initmessage()) { - mutable_initmessage()->::InitMessage::MergeFrom(from.initmessage()); + if (from.has_authmessage()) { + mutable_authmessage()->::AuthMessage::MergeFrom(from.authmessage()); } - if (from.has_authserverchallengemessage()) { - mutable_authserverchallengemessage()->::AuthServerChallengeMessage::MergeFrom(from.authserverchallengemessage()); + if (from.has_lobbymessage()) { + mutable_lobbymessage()->::LobbyMessage::MergeFrom(from.lobbymessage()); } - if (from.has_authclientresponsemessage()) { - mutable_authclientresponsemessage()->::AuthClientResponseMessage::MergeFrom(from.authclientresponsemessage()); - } - if (from.has_authserververificationmessage()) { - mutable_authserververificationmessage()->::AuthServerVerificationMessage::MergeFrom(from.authserververificationmessage()); - } - if (from.has_initackmessage()) { - mutable_initackmessage()->::InitAckMessage::MergeFrom(from.initackmessage()); - } - if (from.has_avatarrequestmessage()) { - mutable_avatarrequestmessage()->::AvatarRequestMessage::MergeFrom(from.avatarrequestmessage()); - } - } - if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) { - if (from.has_avatarheadermessage()) { - mutable_avatarheadermessage()->::AvatarHeaderMessage::MergeFrom(from.avatarheadermessage()); - } - if (from.has_avatardatamessage()) { - mutable_avatardatamessage()->::AvatarDataMessage::MergeFrom(from.avatardatamessage()); - } - if (from.has_avatarendmessage()) { - mutable_avatarendmessage()->::AvatarEndMessage::MergeFrom(from.avatarendmessage()); - } - if (from.has_unknownavatarmessage()) { - mutable_unknownavatarmessage()->::UnknownAvatarMessage::MergeFrom(from.unknownavatarmessage()); - } - if (from.has_playerlistmessage()) { - mutable_playerlistmessage()->::PlayerListMessage::MergeFrom(from.playerlistmessage()); - } - if (from.has_gamelistnewmessage()) { - mutable_gamelistnewmessage()->::GameListNewMessage::MergeFrom(from.gamelistnewmessage()); - } - if (from.has_gamelistupdatemessage()) { - mutable_gamelistupdatemessage()->::GameListUpdateMessage::MergeFrom(from.gamelistupdatemessage()); - } - if (from.has_gamelistplayerjoinedmessage()) { - mutable_gamelistplayerjoinedmessage()->::GameListPlayerJoinedMessage::MergeFrom(from.gamelistplayerjoinedmessage()); - } - } - if (from._has_bits_[16 / 32] & (0xffu << (16 % 32))) { - if (from.has_gamelistplayerleftmessage()) { - mutable_gamelistplayerleftmessage()->::GameListPlayerLeftMessage::MergeFrom(from.gamelistplayerleftmessage()); - } - if (from.has_gamelistadminchangedmessage()) { - mutable_gamelistadminchangedmessage()->::GameListAdminChangedMessage::MergeFrom(from.gamelistadminchangedmessage()); - } - if (from.has_playerinforequestmessage()) { - mutable_playerinforequestmessage()->::PlayerInfoRequestMessage::MergeFrom(from.playerinforequestmessage()); - } - if (from.has_playerinforeplymessage()) { - mutable_playerinforeplymessage()->::PlayerInfoReplyMessage::MergeFrom(from.playerinforeplymessage()); - } - if (from.has_subscriptionrequestmessage()) { - mutable_subscriptionrequestmessage()->::SubscriptionRequestMessage::MergeFrom(from.subscriptionrequestmessage()); - } - if (from.has_joinexistinggamemessage()) { - mutable_joinexistinggamemessage()->::JoinExistingGameMessage::MergeFrom(from.joinexistinggamemessage()); - } - if (from.has_joinnewgamemessage()) { - mutable_joinnewgamemessage()->::JoinNewGameMessage::MergeFrom(from.joinnewgamemessage()); - } - if (from.has_rejoinexistinggamemessage()) { - mutable_rejoinexistinggamemessage()->::RejoinExistingGameMessage::MergeFrom(from.rejoinexistinggamemessage()); - } - } - if (from._has_bits_[24 / 32] & (0xffu << (24 % 32))) { - if (from.has_joingameackmessage()) { - mutable_joingameackmessage()->::JoinGameAckMessage::MergeFrom(from.joingameackmessage()); - } - if (from.has_joingamefailedmessage()) { - mutable_joingamefailedmessage()->::JoinGameFailedMessage::MergeFrom(from.joingamefailedmessage()); - } - if (from.has_gameplayerjoinedmessage()) { - mutable_gameplayerjoinedmessage()->::GamePlayerJoinedMessage::MergeFrom(from.gameplayerjoinedmessage()); - } - if (from.has_gameplayerleftmessage()) { - mutable_gameplayerleftmessage()->::GamePlayerLeftMessage::MergeFrom(from.gameplayerleftmessage()); - } - if (from.has_gameadminchangedmessage()) { - mutable_gameadminchangedmessage()->::GameAdminChangedMessage::MergeFrom(from.gameadminchangedmessage()); - } - if (from.has_removedfromgamemessage()) { - mutable_removedfromgamemessage()->::RemovedFromGameMessage::MergeFrom(from.removedfromgamemessage()); - } - if (from.has_kickplayerrequestmessage()) { - mutable_kickplayerrequestmessage()->::KickPlayerRequestMessage::MergeFrom(from.kickplayerrequestmessage()); - } - if (from.has_leavegamerequestmessage()) { - mutable_leavegamerequestmessage()->::LeaveGameRequestMessage::MergeFrom(from.leavegamerequestmessage()); - } - } - if (from._has_bits_[32 / 32] & (0xffu << (32 % 32))) { - if (from.has_inviteplayertogamemessage()) { - mutable_inviteplayertogamemessage()->::InvitePlayerToGameMessage::MergeFrom(from.inviteplayertogamemessage()); - } - if (from.has_invitenotifymessage()) { - mutable_invitenotifymessage()->::InviteNotifyMessage::MergeFrom(from.invitenotifymessage()); - } - if (from.has_rejectgameinvitationmessage()) { - mutable_rejectgameinvitationmessage()->::RejectGameInvitationMessage::MergeFrom(from.rejectgameinvitationmessage()); - } - if (from.has_rejectinvnotifymessage()) { - mutable_rejectinvnotifymessage()->::RejectInvNotifyMessage::MergeFrom(from.rejectinvnotifymessage()); - } - if (from.has_starteventmessage()) { - mutable_starteventmessage()->::StartEventMessage::MergeFrom(from.starteventmessage()); - } - if (from.has_starteventackmessage()) { - mutable_starteventackmessage()->::StartEventAckMessage::MergeFrom(from.starteventackmessage()); - } - if (from.has_gamestartinitialmessage()) { - mutable_gamestartinitialmessage()->::GameStartInitialMessage::MergeFrom(from.gamestartinitialmessage()); - } - if (from.has_gamestartrejoinmessage()) { - mutable_gamestartrejoinmessage()->::GameStartRejoinMessage::MergeFrom(from.gamestartrejoinmessage()); - } - } - if (from._has_bits_[40 / 32] & (0xffu << (40 % 32))) { - if (from.has_handstartmessage()) { - mutable_handstartmessage()->::HandStartMessage::MergeFrom(from.handstartmessage()); - } - if (from.has_playersturnmessage()) { - mutable_playersturnmessage()->::PlayersTurnMessage::MergeFrom(from.playersturnmessage()); - } - if (from.has_myactionrequestmessage()) { - mutable_myactionrequestmessage()->::MyActionRequestMessage::MergeFrom(from.myactionrequestmessage()); - } - if (from.has_youractionrejectedmessage()) { - mutable_youractionrejectedmessage()->::YourActionRejectedMessage::MergeFrom(from.youractionrejectedmessage()); - } - if (from.has_playersactiondonemessage()) { - mutable_playersactiondonemessage()->::PlayersActionDoneMessage::MergeFrom(from.playersactiondonemessage()); - } - if (from.has_dealflopcardsmessage()) { - mutable_dealflopcardsmessage()->::DealFlopCardsMessage::MergeFrom(from.dealflopcardsmessage()); - } - if (from.has_dealturncardmessage()) { - mutable_dealturncardmessage()->::DealTurnCardMessage::MergeFrom(from.dealturncardmessage()); - } - if (from.has_dealrivercardmessage()) { - mutable_dealrivercardmessage()->::DealRiverCardMessage::MergeFrom(from.dealrivercardmessage()); - } - } - if (from._has_bits_[48 / 32] & (0xffu << (48 % 32))) { - if (from.has_allinshowcardsmessage()) { - mutable_allinshowcardsmessage()->::AllInShowCardsMessage::MergeFrom(from.allinshowcardsmessage()); - } - if (from.has_endofhandshowcardsmessage()) { - mutable_endofhandshowcardsmessage()->::EndOfHandShowCardsMessage::MergeFrom(from.endofhandshowcardsmessage()); - } - if (from.has_endofhandhidecardsmessage()) { - mutable_endofhandhidecardsmessage()->::EndOfHandHideCardsMessage::MergeFrom(from.endofhandhidecardsmessage()); - } - if (from.has_showmycardsrequestmessage()) { - mutable_showmycardsrequestmessage()->::ShowMyCardsRequestMessage::MergeFrom(from.showmycardsrequestmessage()); - } - if (from.has_afterhandshowcardsmessage()) { - mutable_afterhandshowcardsmessage()->::AfterHandShowCardsMessage::MergeFrom(from.afterhandshowcardsmessage()); - } - if (from.has_endofgamemessage()) { - mutable_endofgamemessage()->::EndOfGameMessage::MergeFrom(from.endofgamemessage()); - } - if (from.has_playeridchangedmessage()) { - mutable_playeridchangedmessage()->::PlayerIdChangedMessage::MergeFrom(from.playeridchangedmessage()); - } - if (from.has_askkickplayermessage()) { - mutable_askkickplayermessage()->::AskKickPlayerMessage::MergeFrom(from.askkickplayermessage()); - } - } - if (from._has_bits_[56 / 32] & (0xffu << (56 % 32))) { - if (from.has_askkickdeniedmessage()) { - mutable_askkickdeniedmessage()->::AskKickDeniedMessage::MergeFrom(from.askkickdeniedmessage()); - } - if (from.has_startkickpetitionmessage()) { - mutable_startkickpetitionmessage()->::StartKickPetitionMessage::MergeFrom(from.startkickpetitionmessage()); - } - if (from.has_votekickrequestmessage()) { - mutable_votekickrequestmessage()->::VoteKickRequestMessage::MergeFrom(from.votekickrequestmessage()); - } - if (from.has_votekickreplymessage()) { - mutable_votekickreplymessage()->::VoteKickReplyMessage::MergeFrom(from.votekickreplymessage()); - } - if (from.has_kickpetitionupdatemessage()) { - mutable_kickpetitionupdatemessage()->::KickPetitionUpdateMessage::MergeFrom(from.kickpetitionupdatemessage()); - } - if (from.has_endkickpetitionmessage()) { - mutable_endkickpetitionmessage()->::EndKickPetitionMessage::MergeFrom(from.endkickpetitionmessage()); - } - if (from.has_statisticsmessage()) { - mutable_statisticsmessage()->::StatisticsMessage::MergeFrom(from.statisticsmessage()); - } - if (from.has_chatrequestmessage()) { - mutable_chatrequestmessage()->::ChatRequestMessage::MergeFrom(from.chatrequestmessage()); - } - } - if (from._has_bits_[64 / 32] & (0xffu << (64 % 32))) { - if (from.has_chatmessage()) { - mutable_chatmessage()->::ChatMessage::MergeFrom(from.chatmessage()); - } - if (from.has_chatrejectmessage()) { - mutable_chatrejectmessage()->::ChatRejectMessage::MergeFrom(from.chatrejectmessage()); - } - if (from.has_dialogmessage()) { - mutable_dialogmessage()->::DialogMessage::MergeFrom(from.dialogmessage()); - } - if (from.has_timeoutwarningmessage()) { - mutable_timeoutwarningmessage()->::TimeoutWarningMessage::MergeFrom(from.timeoutwarningmessage()); - } - if (from.has_resettimeoutmessage()) { - mutable_resettimeoutmessage()->::ResetTimeoutMessage::MergeFrom(from.resettimeoutmessage()); - } - if (from.has_reportavatarmessage()) { - mutable_reportavatarmessage()->::ReportAvatarMessage::MergeFrom(from.reportavatarmessage()); - } - if (from.has_reportavatarackmessage()) { - mutable_reportavatarackmessage()->::ReportAvatarAckMessage::MergeFrom(from.reportavatarackmessage()); - } - if (from.has_reportgamemessage()) { - mutable_reportgamemessage()->::ReportGameMessage::MergeFrom(from.reportgamemessage()); - } - } - if (from._has_bits_[72 / 32] & (0xffu << (72 % 32))) { - if (from.has_reportgameackmessage()) { - mutable_reportgameackmessage()->::ReportGameAckMessage::MergeFrom(from.reportgameackmessage()); - } - if (from.has_errormessage()) { - mutable_errormessage()->::ErrorMessage::MergeFrom(from.errormessage()); - } - if (from.has_adminremovegamemessage()) { - mutable_adminremovegamemessage()->::AdminRemoveGameMessage::MergeFrom(from.adminremovegamemessage()); - } - if (from.has_adminremovegameackmessage()) { - mutable_adminremovegameackmessage()->::AdminRemoveGameAckMessage::MergeFrom(from.adminremovegameackmessage()); - } - if (from.has_adminbanplayermessage()) { - mutable_adminbanplayermessage()->::AdminBanPlayerMessage::MergeFrom(from.adminbanplayermessage()); - } - if (from.has_adminbanplayerackmessage()) { - mutable_adminbanplayerackmessage()->::AdminBanPlayerAckMessage::MergeFrom(from.adminbanplayerackmessage()); - } - if (from.has_gamelistspectatorjoinedmessage()) { - mutable_gamelistspectatorjoinedmessage()->::GameListSpectatorJoinedMessage::MergeFrom(from.gamelistspectatorjoinedmessage()); - } - if (from.has_gamelistspectatorleftmessage()) { - mutable_gamelistspectatorleftmessage()->::GameListSpectatorLeftMessage::MergeFrom(from.gamelistspectatorleftmessage()); - } - } - if (from._has_bits_[80 / 32] & (0xffu << (80 % 32))) { - if (from.has_gamespectatorjoinedmessage()) { - mutable_gamespectatorjoinedmessage()->::GameSpectatorJoinedMessage::MergeFrom(from.gamespectatorjoinedmessage()); - } - if (from.has_gamespectatorleftmessage()) { - mutable_gamespectatorleftmessage()->::GameSpectatorLeftMessage::MergeFrom(from.gamespectatorleftmessage()); + if (from.has_gamemessage()) { + mutable_gamemessage()->::GameMessage::MergeFrom(from.gamemessage()); } } } @@ -25841,236 +27004,14 @@ bool PokerTHMessage::IsInitialized() const { if (has_announcemessage()) { if (!this->announcemessage().IsInitialized()) return false; } - if (has_initmessage()) { - if (!this->initmessage().IsInitialized()) return false; + if (has_authmessage()) { + if (!this->authmessage().IsInitialized()) return false; } - if (has_authserverchallengemessage()) { - if (!this->authserverchallengemessage().IsInitialized()) return false; + if (has_lobbymessage()) { + if (!this->lobbymessage().IsInitialized()) return false; } - if (has_authclientresponsemessage()) { - if (!this->authclientresponsemessage().IsInitialized()) return false; - } - if (has_authserververificationmessage()) { - if (!this->authserververificationmessage().IsInitialized()) return false; - } - if (has_initackmessage()) { - if (!this->initackmessage().IsInitialized()) return false; - } - if (has_avatarrequestmessage()) { - if (!this->avatarrequestmessage().IsInitialized()) return false; - } - if (has_avatarheadermessage()) { - if (!this->avatarheadermessage().IsInitialized()) return false; - } - if (has_avatardatamessage()) { - if (!this->avatardatamessage().IsInitialized()) return false; - } - if (has_avatarendmessage()) { - if (!this->avatarendmessage().IsInitialized()) return false; - } - if (has_unknownavatarmessage()) { - if (!this->unknownavatarmessage().IsInitialized()) return false; - } - if (has_playerlistmessage()) { - if (!this->playerlistmessage().IsInitialized()) return false; - } - if (has_gamelistnewmessage()) { - if (!this->gamelistnewmessage().IsInitialized()) return false; - } - if (has_gamelistupdatemessage()) { - if (!this->gamelistupdatemessage().IsInitialized()) return false; - } - if (has_gamelistplayerjoinedmessage()) { - if (!this->gamelistplayerjoinedmessage().IsInitialized()) return false; - } - if (has_gamelistplayerleftmessage()) { - if (!this->gamelistplayerleftmessage().IsInitialized()) return false; - } - if (has_gamelistadminchangedmessage()) { - if (!this->gamelistadminchangedmessage().IsInitialized()) return false; - } - if (has_playerinforeplymessage()) { - if (!this->playerinforeplymessage().IsInitialized()) return false; - } - if (has_subscriptionrequestmessage()) { - if (!this->subscriptionrequestmessage().IsInitialized()) return false; - } - if (has_joinexistinggamemessage()) { - if (!this->joinexistinggamemessage().IsInitialized()) return false; - } - if (has_joinnewgamemessage()) { - if (!this->joinnewgamemessage().IsInitialized()) return false; - } - if (has_rejoinexistinggamemessage()) { - if (!this->rejoinexistinggamemessage().IsInitialized()) return false; - } - if (has_joingameackmessage()) { - if (!this->joingameackmessage().IsInitialized()) return false; - } - if (has_joingamefailedmessage()) { - if (!this->joingamefailedmessage().IsInitialized()) return false; - } - if (has_gameplayerjoinedmessage()) { - if (!this->gameplayerjoinedmessage().IsInitialized()) return false; - } - if (has_gameplayerleftmessage()) { - if (!this->gameplayerleftmessage().IsInitialized()) return false; - } - if (has_gameadminchangedmessage()) { - if (!this->gameadminchangedmessage().IsInitialized()) return false; - } - if (has_removedfromgamemessage()) { - if (!this->removedfromgamemessage().IsInitialized()) return false; - } - if (has_kickplayerrequestmessage()) { - if (!this->kickplayerrequestmessage().IsInitialized()) return false; - } - if (has_leavegamerequestmessage()) { - if (!this->leavegamerequestmessage().IsInitialized()) return false; - } - if (has_inviteplayertogamemessage()) { - if (!this->inviteplayertogamemessage().IsInitialized()) return false; - } - if (has_invitenotifymessage()) { - if (!this->invitenotifymessage().IsInitialized()) return false; - } - if (has_rejectgameinvitationmessage()) { - if (!this->rejectgameinvitationmessage().IsInitialized()) return false; - } - if (has_rejectinvnotifymessage()) { - if (!this->rejectinvnotifymessage().IsInitialized()) return false; - } - if (has_starteventmessage()) { - if (!this->starteventmessage().IsInitialized()) return false; - } - if (has_starteventackmessage()) { - if (!this->starteventackmessage().IsInitialized()) return false; - } - if (has_gamestartinitialmessage()) { - if (!this->gamestartinitialmessage().IsInitialized()) return false; - } - if (has_gamestartrejoinmessage()) { - if (!this->gamestartrejoinmessage().IsInitialized()) return false; - } - if (has_handstartmessage()) { - if (!this->handstartmessage().IsInitialized()) return false; - } - if (has_playersturnmessage()) { - if (!this->playersturnmessage().IsInitialized()) return false; - } - if (has_myactionrequestmessage()) { - if (!this->myactionrequestmessage().IsInitialized()) return false; - } - if (has_youractionrejectedmessage()) { - if (!this->youractionrejectedmessage().IsInitialized()) return false; - } - if (has_playersactiondonemessage()) { - if (!this->playersactiondonemessage().IsInitialized()) return false; - } - if (has_dealflopcardsmessage()) { - if (!this->dealflopcardsmessage().IsInitialized()) return false; - } - if (has_dealturncardmessage()) { - if (!this->dealturncardmessage().IsInitialized()) return false; - } - if (has_dealrivercardmessage()) { - if (!this->dealrivercardmessage().IsInitialized()) return false; - } - if (has_allinshowcardsmessage()) { - if (!this->allinshowcardsmessage().IsInitialized()) return false; - } - if (has_endofhandshowcardsmessage()) { - if (!this->endofhandshowcardsmessage().IsInitialized()) return false; - } - if (has_endofhandhidecardsmessage()) { - if (!this->endofhandhidecardsmessage().IsInitialized()) return false; - } - if (has_afterhandshowcardsmessage()) { - if (!this->afterhandshowcardsmessage().IsInitialized()) return false; - } - if (has_endofgamemessage()) { - if (!this->endofgamemessage().IsInitialized()) return false; - } - if (has_playeridchangedmessage()) { - if (!this->playeridchangedmessage().IsInitialized()) return false; - } - if (has_askkickplayermessage()) { - if (!this->askkickplayermessage().IsInitialized()) return false; - } - if (has_askkickdeniedmessage()) { - if (!this->askkickdeniedmessage().IsInitialized()) return false; - } - if (has_startkickpetitionmessage()) { - if (!this->startkickpetitionmessage().IsInitialized()) return false; - } - if (has_votekickrequestmessage()) { - if (!this->votekickrequestmessage().IsInitialized()) return false; - } - if (has_votekickreplymessage()) { - if (!this->votekickreplymessage().IsInitialized()) return false; - } - if (has_kickpetitionupdatemessage()) { - if (!this->kickpetitionupdatemessage().IsInitialized()) return false; - } - if (has_endkickpetitionmessage()) { - if (!this->endkickpetitionmessage().IsInitialized()) return false; - } - if (has_statisticsmessage()) { - if (!this->statisticsmessage().IsInitialized()) return false; - } - if (has_chatrequestmessage()) { - if (!this->chatrequestmessage().IsInitialized()) return false; - } - if (has_chatmessage()) { - if (!this->chatmessage().IsInitialized()) return false; - } - if (has_chatrejectmessage()) { - if (!this->chatrejectmessage().IsInitialized()) return false; - } - if (has_dialogmessage()) { - if (!this->dialogmessage().IsInitialized()) return false; - } - if (has_timeoutwarningmessage()) { - if (!this->timeoutwarningmessage().IsInitialized()) return false; - } - if (has_reportavatarmessage()) { - if (!this->reportavatarmessage().IsInitialized()) return false; - } - if (has_reportavatarackmessage()) { - if (!this->reportavatarackmessage().IsInitialized()) return false; - } - if (has_reportgamemessage()) { - if (!this->reportgamemessage().IsInitialized()) return false; - } - if (has_reportgameackmessage()) { - if (!this->reportgameackmessage().IsInitialized()) return false; - } - if (has_errormessage()) { - if (!this->errormessage().IsInitialized()) return false; - } - if (has_adminremovegamemessage()) { - if (!this->adminremovegamemessage().IsInitialized()) return false; - } - if (has_adminremovegameackmessage()) { - if (!this->adminremovegameackmessage().IsInitialized()) return false; - } - if (has_adminbanplayermessage()) { - if (!this->adminbanplayermessage().IsInitialized()) return false; - } - if (has_adminbanplayerackmessage()) { - if (!this->adminbanplayerackmessage().IsInitialized()) return false; - } - if (has_gamelistspectatorjoinedmessage()) { - if (!this->gamelistspectatorjoinedmessage().IsInitialized()) return false; - } - if (has_gamelistspectatorleftmessage()) { - if (!this->gamelistspectatorleftmessage().IsInitialized()) return false; - } - if (has_gamespectatorjoinedmessage()) { - if (!this->gamespectatorjoinedmessage().IsInitialized()) return false; - } - if (has_gamespectatorleftmessage()) { - if (!this->gamespectatorleftmessage().IsInitialized()) return false; + if (has_gamemessage()) { + if (!this->gamemessage().IsInitialized()) return false; } return true; } @@ -26079,89 +27020,10 @@ void PokerTHMessage::Swap(PokerTHMessage* other) { if (other != this) { std::swap(messagetype_, other->messagetype_); std::swap(announcemessage_, other->announcemessage_); - std::swap(initmessage_, other->initmessage_); - std::swap(authserverchallengemessage_, other->authserverchallengemessage_); - std::swap(authclientresponsemessage_, other->authclientresponsemessage_); - std::swap(authserververificationmessage_, other->authserververificationmessage_); - std::swap(initackmessage_, other->initackmessage_); - std::swap(avatarrequestmessage_, other->avatarrequestmessage_); - std::swap(avatarheadermessage_, other->avatarheadermessage_); - std::swap(avatardatamessage_, other->avatardatamessage_); - std::swap(avatarendmessage_, other->avatarendmessage_); - std::swap(unknownavatarmessage_, other->unknownavatarmessage_); - std::swap(playerlistmessage_, other->playerlistmessage_); - std::swap(gamelistnewmessage_, other->gamelistnewmessage_); - std::swap(gamelistupdatemessage_, other->gamelistupdatemessage_); - std::swap(gamelistplayerjoinedmessage_, other->gamelistplayerjoinedmessage_); - std::swap(gamelistplayerleftmessage_, other->gamelistplayerleftmessage_); - std::swap(gamelistadminchangedmessage_, other->gamelistadminchangedmessage_); - std::swap(playerinforequestmessage_, other->playerinforequestmessage_); - std::swap(playerinforeplymessage_, other->playerinforeplymessage_); - std::swap(subscriptionrequestmessage_, other->subscriptionrequestmessage_); - std::swap(joinexistinggamemessage_, other->joinexistinggamemessage_); - std::swap(joinnewgamemessage_, other->joinnewgamemessage_); - std::swap(rejoinexistinggamemessage_, other->rejoinexistinggamemessage_); - std::swap(joingameackmessage_, other->joingameackmessage_); - std::swap(joingamefailedmessage_, other->joingamefailedmessage_); - std::swap(gameplayerjoinedmessage_, other->gameplayerjoinedmessage_); - std::swap(gameplayerleftmessage_, other->gameplayerleftmessage_); - std::swap(gameadminchangedmessage_, other->gameadminchangedmessage_); - std::swap(removedfromgamemessage_, other->removedfromgamemessage_); - std::swap(kickplayerrequestmessage_, other->kickplayerrequestmessage_); - std::swap(leavegamerequestmessage_, other->leavegamerequestmessage_); - std::swap(inviteplayertogamemessage_, other->inviteplayertogamemessage_); - std::swap(invitenotifymessage_, other->invitenotifymessage_); - std::swap(rejectgameinvitationmessage_, other->rejectgameinvitationmessage_); - std::swap(rejectinvnotifymessage_, other->rejectinvnotifymessage_); - std::swap(starteventmessage_, other->starteventmessage_); - std::swap(starteventackmessage_, other->starteventackmessage_); - std::swap(gamestartinitialmessage_, other->gamestartinitialmessage_); - std::swap(gamestartrejoinmessage_, other->gamestartrejoinmessage_); - std::swap(handstartmessage_, other->handstartmessage_); - std::swap(playersturnmessage_, other->playersturnmessage_); - std::swap(myactionrequestmessage_, other->myactionrequestmessage_); - std::swap(youractionrejectedmessage_, other->youractionrejectedmessage_); - std::swap(playersactiondonemessage_, other->playersactiondonemessage_); - std::swap(dealflopcardsmessage_, other->dealflopcardsmessage_); - std::swap(dealturncardmessage_, other->dealturncardmessage_); - std::swap(dealrivercardmessage_, other->dealrivercardmessage_); - std::swap(allinshowcardsmessage_, other->allinshowcardsmessage_); - std::swap(endofhandshowcardsmessage_, other->endofhandshowcardsmessage_); - std::swap(endofhandhidecardsmessage_, other->endofhandhidecardsmessage_); - std::swap(showmycardsrequestmessage_, other->showmycardsrequestmessage_); - std::swap(afterhandshowcardsmessage_, other->afterhandshowcardsmessage_); - std::swap(endofgamemessage_, other->endofgamemessage_); - std::swap(playeridchangedmessage_, other->playeridchangedmessage_); - std::swap(askkickplayermessage_, other->askkickplayermessage_); - std::swap(askkickdeniedmessage_, other->askkickdeniedmessage_); - std::swap(startkickpetitionmessage_, other->startkickpetitionmessage_); - std::swap(votekickrequestmessage_, other->votekickrequestmessage_); - std::swap(votekickreplymessage_, other->votekickreplymessage_); - std::swap(kickpetitionupdatemessage_, other->kickpetitionupdatemessage_); - std::swap(endkickpetitionmessage_, other->endkickpetitionmessage_); - std::swap(statisticsmessage_, other->statisticsmessage_); - std::swap(chatrequestmessage_, other->chatrequestmessage_); - std::swap(chatmessage_, other->chatmessage_); - std::swap(chatrejectmessage_, other->chatrejectmessage_); - std::swap(dialogmessage_, other->dialogmessage_); - std::swap(timeoutwarningmessage_, other->timeoutwarningmessage_); - std::swap(resettimeoutmessage_, other->resettimeoutmessage_); - std::swap(reportavatarmessage_, other->reportavatarmessage_); - std::swap(reportavatarackmessage_, other->reportavatarackmessage_); - std::swap(reportgamemessage_, other->reportgamemessage_); - std::swap(reportgameackmessage_, other->reportgameackmessage_); - std::swap(errormessage_, other->errormessage_); - std::swap(adminremovegamemessage_, other->adminremovegamemessage_); - std::swap(adminremovegameackmessage_, other->adminremovegameackmessage_); - std::swap(adminbanplayermessage_, other->adminbanplayermessage_); - std::swap(adminbanplayerackmessage_, other->adminbanplayerackmessage_); - std::swap(gamelistspectatorjoinedmessage_, other->gamelistspectatorjoinedmessage_); - std::swap(gamelistspectatorleftmessage_, other->gamelistspectatorleftmessage_); - std::swap(gamespectatorjoinedmessage_, other->gamespectatorjoinedmessage_); - std::swap(gamespectatorleftmessage_, other->gamespectatorleftmessage_); + std::swap(authmessage_, other->authmessage_); + std::swap(lobbymessage_, other->lobbymessage_); + std::swap(gamemessage_, other->gamemessage_); 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]); 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..70e126c9 100644 --- a/src/third_party/protobuf/pokerth.pb.h +++ b/src/third_party/protobuf/pokerth.pb.h @@ -34,10 +34,11 @@ class NetGameInfo; class PlayerResult; class AnnounceMessage; class AnnounceMessage_Version; -class InitMessage; +class AuthClientRequestMessage; class AuthServerChallengeMessage; class AuthClientResponseMessage; class AuthServerVerificationMessage; +class InitMessage; class InitAckMessage; class AvatarRequestMessage; class AvatarHeaderMessage; @@ -57,9 +58,11 @@ class PlayerInfoReplyMessage; class PlayerInfoReplyMessage_PlayerInfoData; class PlayerInfoReplyMessage_PlayerInfoData_AvatarData; class SubscriptionRequestMessage; -class JoinExistingGameMessage; -class JoinNewGameMessage; -class RejoinExistingGameMessage; +class SubscriptionReplyMessage; +class CreateGameMessage; +class CreateGameFailedMessage; +class JoinGameMessage; +class RejoinGameMessage; class JoinGameAckMessage; class JoinGameFailedMessage; class GamePlayerJoinedMessage; @@ -120,6 +123,11 @@ class AdminRemoveGameMessage; class AdminRemoveGameAckMessage; class AdminBanPlayerMessage; class AdminBanPlayerAckMessage; +class AuthMessage; +class LobbyMessage; +class GameManagementMessage; +class GameEngineMessage; +class GameMessage; class PokerTHMessage; enum NetGameInfo_NetGameType { @@ -162,15 +170,15 @@ const AnnounceMessage_ServerType AnnounceMessage_ServerType_ServerType_MIN = Ann const AnnounceMessage_ServerType AnnounceMessage_ServerType_ServerType_MAX = AnnounceMessage_ServerType_serverTypeInternetAuth; const int AnnounceMessage_ServerType_ServerType_ARRAYSIZE = AnnounceMessage_ServerType_ServerType_MAX + 1; -enum InitMessage_LoginType { - InitMessage_LoginType_guestLogin = 0, - InitMessage_LoginType_authenticatedLogin = 1, - InitMessage_LoginType_unauthenticatedLogin = 2 +enum AuthClientRequestMessage_LoginType { + AuthClientRequestMessage_LoginType_guestLogin = 0, + AuthClientRequestMessage_LoginType_authenticatedLogin = 1, + AuthClientRequestMessage_LoginType_unauthenticatedLogin = 2 }; -bool InitMessage_LoginType_IsValid(int value); -const InitMessage_LoginType InitMessage_LoginType_LoginType_MIN = InitMessage_LoginType_guestLogin; -const InitMessage_LoginType InitMessage_LoginType_LoginType_MAX = InitMessage_LoginType_unauthenticatedLogin; -const int InitMessage_LoginType_LoginType_ARRAYSIZE = InitMessage_LoginType_LoginType_MAX + 1; +bool AuthClientRequestMessage_LoginType_IsValid(int value); +const AuthClientRequestMessage_LoginType AuthClientRequestMessage_LoginType_LoginType_MIN = AuthClientRequestMessage_LoginType_guestLogin; +const AuthClientRequestMessage_LoginType AuthClientRequestMessage_LoginType_LoginType_MAX = AuthClientRequestMessage_LoginType_unauthenticatedLogin; +const int AuthClientRequestMessage_LoginType_LoginType_ARRAYSIZE = AuthClientRequestMessage_LoginType_LoginType_MAX + 1; enum PlayerListMessage_PlayerListNotification { PlayerListMessage_PlayerListNotification_playerListNew = 0, @@ -190,19 +198,26 @@ const SubscriptionRequestMessage_SubscriptionAction SubscriptionRequestMessage_S const SubscriptionRequestMessage_SubscriptionAction SubscriptionRequestMessage_SubscriptionAction_SubscriptionAction_MAX = SubscriptionRequestMessage_SubscriptionAction_resubscribeGameList; const int SubscriptionRequestMessage_SubscriptionAction_SubscriptionAction_ARRAYSIZE = SubscriptionRequestMessage_SubscriptionAction_SubscriptionAction_MAX + 1; +enum CreateGameFailedMessage_CreateGameFailureReason { + CreateGameFailedMessage_CreateGameFailureReason_notAllowedAsGuest = 1, + CreateGameFailedMessage_CreateGameFailureReason_gameNameInUse = 2, + CreateGameFailedMessage_CreateGameFailureReason_badGameName = 3, + CreateGameFailedMessage_CreateGameFailureReason_invalidSettings = 4 +}; +bool CreateGameFailedMessage_CreateGameFailureReason_IsValid(int value); +const CreateGameFailedMessage_CreateGameFailureReason CreateGameFailedMessage_CreateGameFailureReason_CreateGameFailureReason_MIN = CreateGameFailedMessage_CreateGameFailureReason_notAllowedAsGuest; +const CreateGameFailedMessage_CreateGameFailureReason CreateGameFailedMessage_CreateGameFailureReason_CreateGameFailureReason_MAX = CreateGameFailedMessage_CreateGameFailureReason_invalidSettings; +const int CreateGameFailedMessage_CreateGameFailureReason_CreateGameFailureReason_ARRAYSIZE = CreateGameFailedMessage_CreateGameFailureReason_CreateGameFailureReason_MAX + 1; + enum JoinGameFailedMessage_JoinGameFailureReason { JoinGameFailedMessage_JoinGameFailureReason_invalidGame = 1, JoinGameFailedMessage_JoinGameFailureReason_gameIsFull = 2, JoinGameFailedMessage_JoinGameFailureReason_gameIsRunning = 3, JoinGameFailedMessage_JoinGameFailureReason_invalidPassword = 4, - JoinGameFailedMessage_JoinGameFailureReason_notAllowedAsGuest = 5, - JoinGameFailedMessage_JoinGameFailureReason_notInvited = 6, - JoinGameFailedMessage_JoinGameFailureReason_gameNameInUse = 7, - JoinGameFailedMessage_JoinGameFailureReason_badGameName = 8, - JoinGameFailedMessage_JoinGameFailureReason_invalidSettings = 9, - JoinGameFailedMessage_JoinGameFailureReason_ipAddressBlocked = 10, - JoinGameFailedMessage_JoinGameFailureReason_rejoinFailed = 11, - JoinGameFailedMessage_JoinGameFailureReason_noSpectatorsAllowed = 12 + JoinGameFailedMessage_JoinGameFailureReason_notInvited = 5, + JoinGameFailedMessage_JoinGameFailureReason_ipAddressBlocked = 6, + JoinGameFailedMessage_JoinGameFailureReason_rejoinFailed = 7, + JoinGameFailedMessage_JoinGameFailureReason_noSpectatorsAllowed = 8 }; bool JoinGameFailedMessage_JoinGameFailureReason_IsValid(int value); const JoinGameFailedMessage_JoinGameFailureReason JoinGameFailedMessage_JoinGameFailureReason_JoinGameFailureReason_MIN = JoinGameFailedMessage_JoinGameFailureReason_invalidGame; @@ -303,14 +318,13 @@ const StatisticsMessage_StatisticsData_StatisticsType StatisticsMessage_Statisti const int StatisticsMessage_StatisticsData_StatisticsType_StatisticsType_ARRAYSIZE = StatisticsMessage_StatisticsData_StatisticsType_StatisticsType_MAX + 1; enum ChatMessage_ChatType { - ChatMessage_ChatType_chatTypeLobby = 0, - ChatMessage_ChatType_chatTypeGame = 1, - ChatMessage_ChatType_chatTypeBot = 2, - ChatMessage_ChatType_chatTypeBroadcast = 3, - ChatMessage_ChatType_chatTypePrivate = 4 + ChatMessage_ChatType_chatTypeStandard = 0, + ChatMessage_ChatType_chatTypeBot = 1, + ChatMessage_ChatType_chatTypeBroadcast = 2, + ChatMessage_ChatType_chatTypePrivate = 3 }; bool ChatMessage_ChatType_IsValid(int value); -const ChatMessage_ChatType ChatMessage_ChatType_ChatType_MIN = ChatMessage_ChatType_chatTypeLobby; +const ChatMessage_ChatType ChatMessage_ChatType_ChatType_MIN = ChatMessage_ChatType_chatTypeStandard; const ChatMessage_ChatType ChatMessage_ChatType_ChatType_MAX = ChatMessage_ChatType_chatTypePrivate; const int ChatMessage_ChatType_ChatType_ARRAYSIZE = ChatMessage_ChatType_ChatType_MAX + 1; @@ -387,92 +401,140 @@ const AdminBanPlayerAckMessage_AdminBanPlayerResult AdminBanPlayerAckMessage_Adm const AdminBanPlayerAckMessage_AdminBanPlayerResult AdminBanPlayerAckMessage_AdminBanPlayerResult_AdminBanPlayerResult_MAX = AdminBanPlayerAckMessage_AdminBanPlayerResult_banPlayerInvalid; const int AdminBanPlayerAckMessage_AdminBanPlayerResult_AdminBanPlayerResult_ARRAYSIZE = AdminBanPlayerAckMessage_AdminBanPlayerResult_AdminBanPlayerResult_MAX + 1; +enum AuthMessage_AuthMessageType { + AuthMessage_AuthMessageType_Type_AuthClientRequestMessage = 1, + AuthMessage_AuthMessageType_Type_AuthServerChallengeMessage = 2, + AuthMessage_AuthMessageType_Type_AuthClientResponseMessage = 3, + AuthMessage_AuthMessageType_Type_AuthServerVerificationMessage = 4, + AuthMessage_AuthMessageType_Type_ErrorMessage = 1024 +}; +bool AuthMessage_AuthMessageType_IsValid(int value); +const AuthMessage_AuthMessageType AuthMessage_AuthMessageType_AuthMessageType_MIN = AuthMessage_AuthMessageType_Type_AuthClientRequestMessage; +const AuthMessage_AuthMessageType AuthMessage_AuthMessageType_AuthMessageType_MAX = AuthMessage_AuthMessageType_Type_ErrorMessage; +const int AuthMessage_AuthMessageType_AuthMessageType_ARRAYSIZE = AuthMessage_AuthMessageType_AuthMessageType_MAX + 1; + +enum LobbyMessage_LobbyMessageType { + LobbyMessage_LobbyMessageType_Type_InitMessage = 1, + LobbyMessage_LobbyMessageType_Type_InitAckMessage = 2, + LobbyMessage_LobbyMessageType_Type_AvatarRequestMessage = 3, + LobbyMessage_LobbyMessageType_Type_AvatarHeaderMessage = 4, + LobbyMessage_LobbyMessageType_Type_AvatarDataMessage = 5, + LobbyMessage_LobbyMessageType_Type_AvatarEndMessage = 6, + LobbyMessage_LobbyMessageType_Type_UnknownAvatarMessage = 7, + LobbyMessage_LobbyMessageType_Type_PlayerListMessage = 8, + LobbyMessage_LobbyMessageType_Type_GameListNewMessage = 9, + LobbyMessage_LobbyMessageType_Type_GameListUpdateMessage = 10, + LobbyMessage_LobbyMessageType_Type_GameListPlayerJoinedMessage = 11, + LobbyMessage_LobbyMessageType_Type_GameListPlayerLeftMessage = 12, + LobbyMessage_LobbyMessageType_Type_GameListSpectatorJoinedMessage = 13, + LobbyMessage_LobbyMessageType_Type_GameListSpectatorLeftMessage = 14, + LobbyMessage_LobbyMessageType_Type_GameListAdminChangedMessage = 15, + LobbyMessage_LobbyMessageType_Type_PlayerInfoRequestMessage = 16, + LobbyMessage_LobbyMessageType_Type_PlayerInfoReplyMessage = 17, + LobbyMessage_LobbyMessageType_Type_SubscriptionRequestMessage = 18, + LobbyMessage_LobbyMessageType_Type_SubscriptionReplyMessage = 19, + LobbyMessage_LobbyMessageType_Type_CreateGameMessage = 20, + LobbyMessage_LobbyMessageType_Type_CreateGameFailedMessage = 21, + LobbyMessage_LobbyMessageType_Type_InvitePlayerToGameMessage = 22, + LobbyMessage_LobbyMessageType_Type_InviteNotifyMessage = 23, + LobbyMessage_LobbyMessageType_Type_RejectGameInvitationMessage = 24, + LobbyMessage_LobbyMessageType_Type_RejectInvNotifyMessage = 25, + LobbyMessage_LobbyMessageType_Type_StatisticsMessage = 26, + LobbyMessage_LobbyMessageType_Type_ChatRequestMessage = 27, + LobbyMessage_LobbyMessageType_Type_ChatMessage = 28, + LobbyMessage_LobbyMessageType_Type_ChatRejectMessage = 29, + LobbyMessage_LobbyMessageType_Type_DialogMessage = 30, + LobbyMessage_LobbyMessageType_Type_TimeoutWarningMessage = 31, + LobbyMessage_LobbyMessageType_Type_ResetTimeoutMessage = 32, + LobbyMessage_LobbyMessageType_Type_ReportAvatarMessage = 33, + LobbyMessage_LobbyMessageType_Type_ReportAvatarAckMessage = 34, + LobbyMessage_LobbyMessageType_Type_ReportGameMessage = 35, + LobbyMessage_LobbyMessageType_Type_ReportGameAckMessage = 36, + LobbyMessage_LobbyMessageType_Type_AdminRemoveGameMessage = 37, + LobbyMessage_LobbyMessageType_Type_AdminRemoveGameAckMessage = 38, + LobbyMessage_LobbyMessageType_Type_AdminBanPlayerMessage = 39, + LobbyMessage_LobbyMessageType_Type_AdminBanPlayerAckMessage = 40, + LobbyMessage_LobbyMessageType_Type_ErrorMessage = 1024 +}; +bool LobbyMessage_LobbyMessageType_IsValid(int value); +const LobbyMessage_LobbyMessageType LobbyMessage_LobbyMessageType_LobbyMessageType_MIN = LobbyMessage_LobbyMessageType_Type_InitMessage; +const LobbyMessage_LobbyMessageType LobbyMessage_LobbyMessageType_LobbyMessageType_MAX = LobbyMessage_LobbyMessageType_Type_ErrorMessage; +const int LobbyMessage_LobbyMessageType_LobbyMessageType_ARRAYSIZE = LobbyMessage_LobbyMessageType_LobbyMessageType_MAX + 1; + +enum GameManagementMessage_GameManagementMessageType { + GameManagementMessage_GameManagementMessageType_Type_JoinGameMessage = 1, + GameManagementMessage_GameManagementMessageType_Type_RejoinGameMessage = 2, + GameManagementMessage_GameManagementMessageType_Type_JoinGameAckMessage = 3, + GameManagementMessage_GameManagementMessageType_Type_JoinGameFailedMessage = 4, + GameManagementMessage_GameManagementMessageType_Type_GamePlayerJoinedMessage = 5, + GameManagementMessage_GameManagementMessageType_Type_GamePlayerLeftMessage = 6, + GameManagementMessage_GameManagementMessageType_Type_GameSpectatorJoinedMessage = 7, + GameManagementMessage_GameManagementMessageType_Type_GameSpectatorLeftMessage = 8, + GameManagementMessage_GameManagementMessageType_Type_GameAdminChangedMessage = 9, + GameManagementMessage_GameManagementMessageType_Type_RemovedFromGameMessage = 10, + GameManagementMessage_GameManagementMessageType_Type_KickPlayerRequestMessage = 11, + GameManagementMessage_GameManagementMessageType_Type_LeaveGameRequestMessage = 12, + GameManagementMessage_GameManagementMessageType_Type_StartEventMessage = 13, + GameManagementMessage_GameManagementMessageType_Type_StartEventAckMessage = 14, + GameManagementMessage_GameManagementMessageType_Type_GameStartInitialMessage = 15, + GameManagementMessage_GameManagementMessageType_Type_GameStartRejoinMessage = 16, + GameManagementMessage_GameManagementMessageType_Type_EndOfGameMessage = 17, + GameManagementMessage_GameManagementMessageType_Type_PlayerIdChangedMessage = 18, + GameManagementMessage_GameManagementMessageType_Type_AskKickPlayerMessage = 19, + GameManagementMessage_GameManagementMessageType_Type_AskKickDeniedMessage = 20, + GameManagementMessage_GameManagementMessageType_Type_StartKickPetitionMessage = 21, + GameManagementMessage_GameManagementMessageType_Type_VoteKickRequestMessage = 22, + GameManagementMessage_GameManagementMessageType_Type_VoteKickReplyMessage = 23, + GameManagementMessage_GameManagementMessageType_Type_KickPetitionUpdateMessage = 24, + GameManagementMessage_GameManagementMessageType_Type_EndKickPetitionMessage = 25, + GameManagementMessage_GameManagementMessageType_Type_ChatRequestMessage = 26, + GameManagementMessage_GameManagementMessageType_Type_ChatMessage = 27, + GameManagementMessage_GameManagementMessageType_Type_ChatRejectMessage = 28, + GameManagementMessage_GameManagementMessageType_Type_ErrorMessage = 1024 +}; +bool GameManagementMessage_GameManagementMessageType_IsValid(int value); +const GameManagementMessage_GameManagementMessageType GameManagementMessage_GameManagementMessageType_GameManagementMessageType_MIN = GameManagementMessage_GameManagementMessageType_Type_JoinGameMessage; +const GameManagementMessage_GameManagementMessageType GameManagementMessage_GameManagementMessageType_GameManagementMessageType_MAX = GameManagementMessage_GameManagementMessageType_Type_ErrorMessage; +const int GameManagementMessage_GameManagementMessageType_GameManagementMessageType_ARRAYSIZE = GameManagementMessage_GameManagementMessageType_GameManagementMessageType_MAX + 1; + +enum GameEngineMessage_GameEngineMessageType { + GameEngineMessage_GameEngineMessageType_Type_HandStartMessage = 1, + GameEngineMessage_GameEngineMessageType_Type_PlayersTurnMessage = 2, + GameEngineMessage_GameEngineMessageType_Type_MyActionRequestMessage = 3, + GameEngineMessage_GameEngineMessageType_Type_YourActionRejectedMessage = 4, + GameEngineMessage_GameEngineMessageType_Type_PlayersActionDoneMessage = 5, + GameEngineMessage_GameEngineMessageType_Type_DealFlopCardsMessage = 6, + GameEngineMessage_GameEngineMessageType_Type_DealTurnCardMessage = 7, + GameEngineMessage_GameEngineMessageType_Type_DealRiverCardMessage = 8, + GameEngineMessage_GameEngineMessageType_Type_AllInShowCardsMessage = 9, + GameEngineMessage_GameEngineMessageType_Type_EndOfHandShowCardsMessage = 10, + GameEngineMessage_GameEngineMessageType_Type_EndOfHandHideCardsMessage = 11, + GameEngineMessage_GameEngineMessageType_Type_ShowMyCardsRequestMessage = 12, + GameEngineMessage_GameEngineMessageType_Type_AfterHandShowCardsMessage = 13 +}; +bool GameEngineMessage_GameEngineMessageType_IsValid(int value); +const GameEngineMessage_GameEngineMessageType GameEngineMessage_GameEngineMessageType_GameEngineMessageType_MIN = GameEngineMessage_GameEngineMessageType_Type_HandStartMessage; +const GameEngineMessage_GameEngineMessageType GameEngineMessage_GameEngineMessageType_GameEngineMessageType_MAX = GameEngineMessage_GameEngineMessageType_Type_AfterHandShowCardsMessage; +const int GameEngineMessage_GameEngineMessageType_GameEngineMessageType_ARRAYSIZE = GameEngineMessage_GameEngineMessageType_GameEngineMessageType_MAX + 1; + +enum GameMessage_GameMessageType { + GameMessage_GameMessageType_Type_GameManagementMessage = 1, + GameMessage_GameMessageType_Type_GameEngineMessage = 2 +}; +bool GameMessage_GameMessageType_IsValid(int value); +const GameMessage_GameMessageType GameMessage_GameMessageType_GameMessageType_MIN = GameMessage_GameMessageType_Type_GameManagementMessage; +const GameMessage_GameMessageType GameMessage_GameMessageType_GameMessageType_MAX = GameMessage_GameMessageType_Type_GameEngineMessage; +const int GameMessage_GameMessageType_GameMessageType_ARRAYSIZE = GameMessage_GameMessageType_GameMessageType_MAX + 1; + enum PokerTHMessage_PokerTHMessageType { PokerTHMessage_PokerTHMessageType_Type_AnnounceMessage = 1, - PokerTHMessage_PokerTHMessageType_Type_InitMessage = 2, - PokerTHMessage_PokerTHMessageType_Type_AuthServerChallengeMessage = 3, - PokerTHMessage_PokerTHMessageType_Type_AuthClientResponseMessage = 4, - PokerTHMessage_PokerTHMessageType_Type_AuthServerVerificationMessage = 5, - PokerTHMessage_PokerTHMessageType_Type_InitAckMessage = 6, - PokerTHMessage_PokerTHMessageType_Type_AvatarRequestMessage = 7, - PokerTHMessage_PokerTHMessageType_Type_AvatarHeaderMessage = 8, - PokerTHMessage_PokerTHMessageType_Type_AvatarDataMessage = 9, - PokerTHMessage_PokerTHMessageType_Type_AvatarEndMessage = 10, - PokerTHMessage_PokerTHMessageType_Type_UnknownAvatarMessage = 11, - PokerTHMessage_PokerTHMessageType_Type_PlayerListMessage = 12, - PokerTHMessage_PokerTHMessageType_Type_GameListNewMessage = 13, - PokerTHMessage_PokerTHMessageType_Type_GameListUpdateMessage = 14, - PokerTHMessage_PokerTHMessageType_Type_GameListPlayerJoinedMessage = 15, - PokerTHMessage_PokerTHMessageType_Type_GameListPlayerLeftMessage = 16, - PokerTHMessage_PokerTHMessageType_Type_GameListAdminChangedMessage = 17, - PokerTHMessage_PokerTHMessageType_Type_PlayerInfoRequestMessage = 18, - PokerTHMessage_PokerTHMessageType_Type_PlayerInfoReplyMessage = 19, - PokerTHMessage_PokerTHMessageType_Type_SubscriptionRequestMessage = 20, - PokerTHMessage_PokerTHMessageType_Type_JoinExistingGameMessage = 21, - PokerTHMessage_PokerTHMessageType_Type_JoinNewGameMessage = 22, - PokerTHMessage_PokerTHMessageType_Type_RejoinExistingGameMessage = 23, - PokerTHMessage_PokerTHMessageType_Type_JoinGameAckMessage = 24, - PokerTHMessage_PokerTHMessageType_Type_JoinGameFailedMessage = 25, - PokerTHMessage_PokerTHMessageType_Type_GamePlayerJoinedMessage = 26, - PokerTHMessage_PokerTHMessageType_Type_GamePlayerLeftMessage = 27, - PokerTHMessage_PokerTHMessageType_Type_GameAdminChangedMessage = 28, - PokerTHMessage_PokerTHMessageType_Type_RemovedFromGameMessage = 29, - PokerTHMessage_PokerTHMessageType_Type_KickPlayerRequestMessage = 30, - PokerTHMessage_PokerTHMessageType_Type_LeaveGameRequestMessage = 31, - PokerTHMessage_PokerTHMessageType_Type_InvitePlayerToGameMessage = 32, - PokerTHMessage_PokerTHMessageType_Type_InviteNotifyMessage = 33, - PokerTHMessage_PokerTHMessageType_Type_RejectGameInvitationMessage = 34, - PokerTHMessage_PokerTHMessageType_Type_RejectInvNotifyMessage = 35, - PokerTHMessage_PokerTHMessageType_Type_StartEventMessage = 36, - PokerTHMessage_PokerTHMessageType_Type_StartEventAckMessage = 37, - PokerTHMessage_PokerTHMessageType_Type_GameStartInitialMessage = 38, - PokerTHMessage_PokerTHMessageType_Type_GameStartRejoinMessage = 39, - PokerTHMessage_PokerTHMessageType_Type_HandStartMessage = 40, - PokerTHMessage_PokerTHMessageType_Type_PlayersTurnMessage = 41, - PokerTHMessage_PokerTHMessageType_Type_MyActionRequestMessage = 42, - PokerTHMessage_PokerTHMessageType_Type_YourActionRejectedMessage = 43, - PokerTHMessage_PokerTHMessageType_Type_PlayersActionDoneMessage = 44, - PokerTHMessage_PokerTHMessageType_Type_DealFlopCardsMessage = 45, - PokerTHMessage_PokerTHMessageType_Type_DealTurnCardMessage = 46, - PokerTHMessage_PokerTHMessageType_Type_DealRiverCardMessage = 47, - PokerTHMessage_PokerTHMessageType_Type_AllInShowCardsMessage = 48, - PokerTHMessage_PokerTHMessageType_Type_EndOfHandShowCardsMessage = 49, - PokerTHMessage_PokerTHMessageType_Type_EndOfHandHideCardsMessage = 50, - PokerTHMessage_PokerTHMessageType_Type_ShowMyCardsRequestMessage = 51, - PokerTHMessage_PokerTHMessageType_Type_AfterHandShowCardsMessage = 52, - PokerTHMessage_PokerTHMessageType_Type_EndOfGameMessage = 53, - PokerTHMessage_PokerTHMessageType_Type_PlayerIdChangedMessage = 54, - PokerTHMessage_PokerTHMessageType_Type_AskKickPlayerMessage = 55, - PokerTHMessage_PokerTHMessageType_Type_AskKickDeniedMessage = 56, - PokerTHMessage_PokerTHMessageType_Type_StartKickPetitionMessage = 57, - PokerTHMessage_PokerTHMessageType_Type_VoteKickRequestMessage = 58, - PokerTHMessage_PokerTHMessageType_Type_VoteKickReplyMessage = 59, - PokerTHMessage_PokerTHMessageType_Type_KickPetitionUpdateMessage = 60, - PokerTHMessage_PokerTHMessageType_Type_EndKickPetitionMessage = 61, - PokerTHMessage_PokerTHMessageType_Type_StatisticsMessage = 62, - PokerTHMessage_PokerTHMessageType_Type_ChatRequestMessage = 63, - PokerTHMessage_PokerTHMessageType_Type_ChatMessage = 64, - PokerTHMessage_PokerTHMessageType_Type_ChatRejectMessage = 65, - PokerTHMessage_PokerTHMessageType_Type_DialogMessage = 66, - PokerTHMessage_PokerTHMessageType_Type_TimeoutWarningMessage = 67, - PokerTHMessage_PokerTHMessageType_Type_ResetTimeoutMessage = 68, - PokerTHMessage_PokerTHMessageType_Type_ReportAvatarMessage = 69, - PokerTHMessage_PokerTHMessageType_Type_ReportAvatarAckMessage = 70, - PokerTHMessage_PokerTHMessageType_Type_ReportGameMessage = 71, - PokerTHMessage_PokerTHMessageType_Type_ReportGameAckMessage = 72, - PokerTHMessage_PokerTHMessageType_Type_ErrorMessage = 73, - PokerTHMessage_PokerTHMessageType_Type_AdminRemoveGameMessage = 74, - PokerTHMessage_PokerTHMessageType_Type_AdminRemoveGameAckMessage = 75, - PokerTHMessage_PokerTHMessageType_Type_AdminBanPlayerMessage = 76, - PokerTHMessage_PokerTHMessageType_Type_AdminBanPlayerAckMessage = 77, - PokerTHMessage_PokerTHMessageType_Type_GameListSpectatorJoinedMessage = 78, - PokerTHMessage_PokerTHMessageType_Type_GameListSpectatorLeftMessage = 79, - PokerTHMessage_PokerTHMessageType_Type_GameSpectatorJoinedMessage = 80, - PokerTHMessage_PokerTHMessageType_Type_GameSpectatorLeftMessage = 81 + PokerTHMessage_PokerTHMessageType_Type_AuthMessage = 2, + PokerTHMessage_PokerTHMessageType_Type_LobbyMessage = 3, + PokerTHMessage_PokerTHMessageType_Type_GameMessage = 4 }; bool PokerTHMessage_PokerTHMessageType_IsValid(int value); const PokerTHMessage_PokerTHMessageType PokerTHMessage_PokerTHMessageType_PokerTHMessageType_MIN = PokerTHMessage_PokerTHMessageType_Type_AnnounceMessage; -const PokerTHMessage_PokerTHMessageType PokerTHMessage_PokerTHMessageType_PokerTHMessageType_MAX = PokerTHMessage_PokerTHMessageType_Type_GameSpectatorLeftMessage; +const PokerTHMessage_PokerTHMessageType PokerTHMessage_PokerTHMessageType_PokerTHMessageType_MAX = PokerTHMessage_PokerTHMessageType_Type_GameMessage; const int PokerTHMessage_PokerTHMessageType_PokerTHMessageType_ARRAYSIZE = PokerTHMessage_PokerTHMessageType_PokerTHMessageType_MAX + 1; enum NetGameMode { @@ -1201,38 +1263,38 @@ class AnnounceMessage : public ::google::protobuf::MessageLite { }; // ------------------------------------------------------------------- -class InitMessage : public ::google::protobuf::MessageLite { +class AuthClientRequestMessage : public ::google::protobuf::MessageLite { public: - InitMessage(); - virtual ~InitMessage(); + AuthClientRequestMessage(); + virtual ~AuthClientRequestMessage(); - InitMessage(const InitMessage& from); + AuthClientRequestMessage(const AuthClientRequestMessage& from); - inline InitMessage& operator=(const InitMessage& from) { + inline AuthClientRequestMessage& operator=(const AuthClientRequestMessage& from) { CopyFrom(from); return *this; } - static const InitMessage& default_instance(); + static const AuthClientRequestMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER // Returns the internal default instance pointer. This function can // return NULL thus should not be used by the user. This is intended // for Protobuf internal code. Please use default_instance() declared // above instead. - static inline const InitMessage* internal_default_instance() { + static inline const AuthClientRequestMessage* internal_default_instance() { return default_instance_; } #endif - void Swap(InitMessage* other); + void Swap(AuthClientRequestMessage* other); // implements Message ---------------------------------------------- - InitMessage* New() const; + AuthClientRequestMessage* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); - void CopyFrom(const InitMessage& from); - void MergeFrom(const InitMessage& from); + void CopyFrom(const AuthClientRequestMessage& from); + void MergeFrom(const AuthClientRequestMessage& from); void Clear(); bool IsInitialized() const; @@ -1252,19 +1314,19 @@ class InitMessage : public ::google::protobuf::MessageLite { // nested types ---------------------------------------------------- - typedef InitMessage_LoginType LoginType; - static const LoginType guestLogin = InitMessage_LoginType_guestLogin; - static const LoginType authenticatedLogin = InitMessage_LoginType_authenticatedLogin; - static const LoginType unauthenticatedLogin = InitMessage_LoginType_unauthenticatedLogin; + typedef AuthClientRequestMessage_LoginType LoginType; + static const LoginType guestLogin = AuthClientRequestMessage_LoginType_guestLogin; + static const LoginType authenticatedLogin = AuthClientRequestMessage_LoginType_authenticatedLogin; + static const LoginType unauthenticatedLogin = AuthClientRequestMessage_LoginType_unauthenticatedLogin; static inline bool LoginType_IsValid(int value) { - return InitMessage_LoginType_IsValid(value); + return AuthClientRequestMessage_LoginType_IsValid(value); } static const LoginType LoginType_MIN = - InitMessage_LoginType_LoginType_MIN; + AuthClientRequestMessage_LoginType_LoginType_MIN; static const LoginType LoginType_MAX = - InitMessage_LoginType_LoginType_MAX; + AuthClientRequestMessage_LoginType_LoginType_MAX; static const int LoginType_ARRAYSIZE = - InitMessage_LoginType_LoginType_ARRAYSIZE; + AuthClientRequestMessage_LoginType_LoginType_ARRAYSIZE; // accessors ------------------------------------------------------- @@ -1284,17 +1346,12 @@ class InitMessage : public ::google::protobuf::MessageLite { inline ::google::protobuf::uint32 buildid() const; inline void set_buildid(::google::protobuf::uint32 value); - // optional bytes myLastSessionId = 3; - inline bool has_mylastsessionid() const; - inline void clear_mylastsessionid(); - static const int kMyLastSessionIdFieldNumber = 3; - inline const ::std::string& mylastsessionid() const; - inline void set_mylastsessionid(const ::std::string& value); - inline void set_mylastsessionid(const char* value); - inline void set_mylastsessionid(const void* value, size_t size); - inline ::std::string* mutable_mylastsessionid(); - inline ::std::string* release_mylastsessionid(); - inline void set_allocated_mylastsessionid(::std::string* mylastsessionid); + // required .AuthClientRequestMessage.LoginType login = 3; + inline bool has_login() const; + inline void clear_login(); + static const int kLoginFieldNumber = 3; + inline ::AuthClientRequestMessage_LoginType login() const; + inline void set_login(::AuthClientRequestMessage_LoginType value); // optional string authServerPassword = 4; inline bool has_authserverpassword() const; @@ -1308,17 +1365,10 @@ class InitMessage : public ::google::protobuf::MessageLite { inline ::std::string* release_authserverpassword(); inline void set_allocated_authserverpassword(::std::string* authserverpassword); - // required .InitMessage.LoginType login = 5; - inline bool has_login() const; - inline void clear_login(); - static const int kLoginFieldNumber = 5; - inline ::InitMessage_LoginType login() const; - inline void set_login(::InitMessage_LoginType value); - - // optional string nickName = 6; + // optional string nickName = 5; inline bool has_nickname() const; inline void clear_nickname(); - static const int kNickNameFieldNumber = 6; + static const int kNickNameFieldNumber = 5; inline const ::std::string& nickname() const; inline void set_nickname(const ::std::string& value); inline void set_nickname(const char* value); @@ -1327,10 +1377,10 @@ class InitMessage : public ::google::protobuf::MessageLite { inline ::std::string* release_nickname(); inline void set_allocated_nickname(::std::string* nickname); - // optional bytes clientUserData = 7; + // optional bytes clientUserData = 6; inline bool has_clientuserdata() const; inline void clear_clientuserdata(); - static const int kClientUserDataFieldNumber = 7; + static const int kClientUserDataFieldNumber = 6; inline const ::std::string& clientuserdata() const; inline void set_clientuserdata(const ::std::string& value); inline void set_clientuserdata(const char* value); @@ -1339,48 +1389,45 @@ class InitMessage : public ::google::protobuf::MessageLite { inline ::std::string* release_clientuserdata(); inline void set_allocated_clientuserdata(::std::string* clientuserdata); - // optional bytes avatarHash = 8; - inline bool has_avatarhash() const; - inline void clear_avatarhash(); - static const int kAvatarHashFieldNumber = 8; - inline const ::std::string& avatarhash() const; - inline void set_avatarhash(const ::std::string& value); - inline void set_avatarhash(const char* value); - inline void set_avatarhash(const void* value, size_t size); - inline ::std::string* mutable_avatarhash(); - inline ::std::string* release_avatarhash(); - inline void set_allocated_avatarhash(::std::string* avatarhash); + // optional bytes myLastSessionId = 7; + inline bool has_mylastsessionid() const; + inline void clear_mylastsessionid(); + static const int kMyLastSessionIdFieldNumber = 7; + inline const ::std::string& mylastsessionid() const; + inline void set_mylastsessionid(const ::std::string& value); + inline void set_mylastsessionid(const char* value); + inline void set_mylastsessionid(const void* value, size_t size); + inline ::std::string* mutable_mylastsessionid(); + inline ::std::string* release_mylastsessionid(); + inline void set_allocated_mylastsessionid(::std::string* mylastsessionid); - // @@protoc_insertion_point(class_scope:InitMessage) + // @@protoc_insertion_point(class_scope:AuthClientRequestMessage) private: inline void set_has_requestedversion(); inline void clear_has_requestedversion(); inline void set_has_buildid(); inline void clear_has_buildid(); - inline void set_has_mylastsessionid(); - inline void clear_has_mylastsessionid(); - inline void set_has_authserverpassword(); - inline void clear_has_authserverpassword(); inline void set_has_login(); inline void clear_has_login(); + inline void set_has_authserverpassword(); + inline void clear_has_authserverpassword(); inline void set_has_nickname(); inline void clear_has_nickname(); inline void set_has_clientuserdata(); inline void clear_has_clientuserdata(); - inline void set_has_avatarhash(); - inline void clear_has_avatarhash(); + inline void set_has_mylastsessionid(); + inline void clear_has_mylastsessionid(); ::AnnounceMessage_Version* requestedversion_; - ::std::string* mylastsessionid_; ::google::protobuf::uint32 buildid_; int login_; ::std::string* authserverpassword_; ::std::string* nickname_; ::std::string* clientuserdata_; - ::std::string* avatarhash_; + ::std::string* mylastsessionid_; mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(8 + 31) / 32]; + ::google::protobuf::uint32 _has_bits_[(7 + 31) / 32]; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); @@ -1391,7 +1438,7 @@ class InitMessage : public ::google::protobuf::MessageLite { friend void protobuf_ShutdownFile_pokerth_2eproto(); void InitAsDefaultInstance(); - static InitMessage* default_instance_; + static AuthClientRequestMessage* default_instance_; }; // ------------------------------------------------------------------- @@ -1624,10 +1671,29 @@ class AuthServerVerificationMessage : public ::google::protobuf::MessageLite { // accessors ------------------------------------------------------- - // required bytes serverVerification = 1; + // required bytes yourSessionId = 1; + inline bool has_yoursessionid() const; + inline void clear_yoursessionid(); + static const int kYourSessionIdFieldNumber = 1; + inline const ::std::string& yoursessionid() const; + inline void set_yoursessionid(const ::std::string& value); + inline void set_yoursessionid(const char* value); + inline void set_yoursessionid(const void* value, size_t size); + inline ::std::string* mutable_yoursessionid(); + inline ::std::string* release_yoursessionid(); + inline void set_allocated_yoursessionid(::std::string* yoursessionid); + + // required uint32 yourPlayerId = 2; + inline bool has_yourplayerid() const; + inline void clear_yourplayerid(); + static const int kYourPlayerIdFieldNumber = 2; + inline ::google::protobuf::uint32 yourplayerid() const; + inline void set_yourplayerid(::google::protobuf::uint32 value); + + // optional bytes serverVerification = 3; inline bool has_serververification() const; inline void clear_serververification(); - static const int kServerVerificationFieldNumber = 1; + static const int kServerVerificationFieldNumber = 3; inline const ::std::string& serververification() const; inline void set_serververification(const ::std::string& value); inline void set_serververification(const char* value); @@ -1638,10 +1704,104 @@ class AuthServerVerificationMessage : public ::google::protobuf::MessageLite { // @@protoc_insertion_point(class_scope:AuthServerVerificationMessage) private: + inline void set_has_yoursessionid(); + inline void clear_has_yoursessionid(); + inline void set_has_yourplayerid(); + inline void clear_has_yourplayerid(); inline void set_has_serververification(); inline void clear_has_serververification(); + ::std::string* yoursessionid_; ::std::string* serververification_; + ::google::protobuf::uint32 yourplayerid_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else + friend void protobuf_AddDesc_pokerth_2eproto(); + #endif + friend void protobuf_AssignDesc_pokerth_2eproto(); + friend void protobuf_ShutdownFile_pokerth_2eproto(); + + void InitAsDefaultInstance(); + static AuthServerVerificationMessage* default_instance_; +}; +// ------------------------------------------------------------------- + +class InitMessage : public ::google::protobuf::MessageLite { + public: + InitMessage(); + virtual ~InitMessage(); + + InitMessage(const InitMessage& from); + + inline InitMessage& operator=(const InitMessage& from) { + CopyFrom(from); + return *this; + } + + static const InitMessage& default_instance(); + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const InitMessage* internal_default_instance() { + return default_instance_; + } + #endif + + void Swap(InitMessage* other); + + // implements Message ---------------------------------------------- + + InitMessage* New() const; + void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); + void CopyFrom(const InitMessage& from); + void MergeFrom(const InitMessage& from); + void Clear(); + bool IsInitialized() const; + + int ByteSize() const; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input); + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + + ::std::string GetTypeName() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional bytes avatarHash = 1; + inline bool has_avatarhash() const; + inline void clear_avatarhash(); + static const int kAvatarHashFieldNumber = 1; + inline const ::std::string& avatarhash() const; + inline void set_avatarhash(const ::std::string& value); + inline void set_avatarhash(const char* value); + inline void set_avatarhash(const void* value, size_t size); + inline ::std::string* mutable_avatarhash(); + inline ::std::string* release_avatarhash(); + inline void set_allocated_avatarhash(::std::string* avatarhash); + + // @@protoc_insertion_point(class_scope:InitMessage) + private: + inline void set_has_avatarhash(); + inline void clear_has_avatarhash(); + + ::std::string* avatarhash_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; @@ -1655,7 +1815,7 @@ class AuthServerVerificationMessage : public ::google::protobuf::MessageLite { friend void protobuf_ShutdownFile_pokerth_2eproto(); void InitAsDefaultInstance(); - static AuthServerVerificationMessage* default_instance_; + static InitMessage* default_instance_; }; // ------------------------------------------------------------------- @@ -1712,29 +1872,10 @@ class InitAckMessage : public ::google::protobuf::MessageLite { // accessors ------------------------------------------------------- - // required bytes yourSessionId = 1; - inline bool has_yoursessionid() const; - inline void clear_yoursessionid(); - static const int kYourSessionIdFieldNumber = 1; - inline const ::std::string& yoursessionid() const; - inline void set_yoursessionid(const ::std::string& value); - inline void set_yoursessionid(const char* value); - inline void set_yoursessionid(const void* value, size_t size); - inline ::std::string* mutable_yoursessionid(); - inline ::std::string* release_yoursessionid(); - inline void set_allocated_yoursessionid(::std::string* yoursessionid); - - // required uint32 yourPlayerId = 2; - inline bool has_yourplayerid() const; - inline void clear_yourplayerid(); - static const int kYourPlayerIdFieldNumber = 2; - inline ::google::protobuf::uint32 yourplayerid() const; - inline void set_yourplayerid(::google::protobuf::uint32 value); - - // optional bytes yourAvatarHash = 3; + // optional bytes yourAvatarHash = 1; inline bool has_youravatarhash() const; inline void clear_youravatarhash(); - static const int kYourAvatarHashFieldNumber = 3; + static const int kYourAvatarHashFieldNumber = 1; inline const ::std::string& youravatarhash() const; inline void set_youravatarhash(const ::std::string& value); inline void set_youravatarhash(const char* value); @@ -1743,31 +1884,25 @@ class InitAckMessage : public ::google::protobuf::MessageLite { inline ::std::string* release_youravatarhash(); inline void set_allocated_youravatarhash(::std::string* youravatarhash); - // optional uint32 rejoinGameId = 4; + // optional uint32 rejoinGameId = 2; inline bool has_rejoingameid() const; inline void clear_rejoingameid(); - static const int kRejoinGameIdFieldNumber = 4; + static const int kRejoinGameIdFieldNumber = 2; inline ::google::protobuf::uint32 rejoingameid() const; inline void set_rejoingameid(::google::protobuf::uint32 value); // @@protoc_insertion_point(class_scope:InitAckMessage) private: - inline void set_has_yoursessionid(); - inline void clear_has_yoursessionid(); - inline void set_has_yourplayerid(); - inline void clear_has_yourplayerid(); inline void set_has_youravatarhash(); inline void clear_has_youravatarhash(); inline void set_has_rejoingameid(); inline void clear_has_rejoingameid(); - ::std::string* yoursessionid_; ::std::string* youravatarhash_; - ::google::protobuf::uint32 yourplayerid_; ::google::protobuf::uint32 rejoingameid_; mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32]; + ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); @@ -3549,22 +3684,32 @@ class SubscriptionRequestMessage : public ::google::protobuf::MessageLite { // accessors ------------------------------------------------------- - // required .SubscriptionRequestMessage.SubscriptionAction subscriptionAction = 1; + // required uint32 requestId = 1; + inline bool has_requestid() const; + inline void clear_requestid(); + static const int kRequestIdFieldNumber = 1; + inline ::google::protobuf::uint32 requestid() const; + inline void set_requestid(::google::protobuf::uint32 value); + + // required .SubscriptionRequestMessage.SubscriptionAction subscriptionAction = 2; inline bool has_subscriptionaction() const; inline void clear_subscriptionaction(); - static const int kSubscriptionActionFieldNumber = 1; + static const int kSubscriptionActionFieldNumber = 2; inline ::SubscriptionRequestMessage_SubscriptionAction subscriptionaction() const; inline void set_subscriptionaction(::SubscriptionRequestMessage_SubscriptionAction value); // @@protoc_insertion_point(class_scope:SubscriptionRequestMessage) private: + inline void set_has_requestid(); + inline void clear_has_requestid(); inline void set_has_subscriptionaction(); inline void clear_has_subscriptionaction(); + ::google::protobuf::uint32 requestid_; int subscriptionaction_; mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; + ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); @@ -3579,38 +3724,38 @@ class SubscriptionRequestMessage : public ::google::protobuf::MessageLite { }; // ------------------------------------------------------------------- -class JoinExistingGameMessage : public ::google::protobuf::MessageLite { +class SubscriptionReplyMessage : public ::google::protobuf::MessageLite { public: - JoinExistingGameMessage(); - virtual ~JoinExistingGameMessage(); + SubscriptionReplyMessage(); + virtual ~SubscriptionReplyMessage(); - JoinExistingGameMessage(const JoinExistingGameMessage& from); + SubscriptionReplyMessage(const SubscriptionReplyMessage& from); - inline JoinExistingGameMessage& operator=(const JoinExistingGameMessage& from) { + inline SubscriptionReplyMessage& operator=(const SubscriptionReplyMessage& from) { CopyFrom(from); return *this; } - static const JoinExistingGameMessage& default_instance(); + static const SubscriptionReplyMessage& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER // Returns the internal default instance pointer. This function can // return NULL thus should not be used by the user. This is intended // for Protobuf internal code. Please use default_instance() declared // above instead. - static inline const JoinExistingGameMessage* internal_default_instance() { + static inline const SubscriptionReplyMessage* internal_default_instance() { return default_instance_; } #endif - void Swap(JoinExistingGameMessage* other); + void Swap(SubscriptionReplyMessage* other); // implements Message ---------------------------------------------- - JoinExistingGameMessage* New() const; + SubscriptionReplyMessage* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); - void CopyFrom(const JoinExistingGameMessage& from); - void MergeFrom(const JoinExistingGameMessage& from); + void CopyFrom(const SubscriptionReplyMessage& from); + void MergeFrom(const SubscriptionReplyMessage& from); void Clear(); bool IsInitialized() const; @@ -3632,257 +3777,29 @@ class JoinExistingGameMessage : public ::google::protobuf::MessageLite { // accessors ------------------------------------------------------- - // required uint32 gameId = 1; - inline bool has_gameid() const; - inline void clear_gameid(); - static const int kGameIdFieldNumber = 1; - inline ::google::protobuf::uint32 gameid() const; - inline void set_gameid(::google::protobuf::uint32 value); + // required uint32 requestId = 1; + inline bool has_requestid() const; + inline void clear_requestid(); + static const int kRequestIdFieldNumber = 1; + inline ::google::protobuf::uint32 requestid() const; + inline void set_requestid(::google::protobuf::uint32 value); - // optional string password = 2; - inline bool has_password() const; - inline void clear_password(); - static const int kPasswordFieldNumber = 2; - inline const ::std::string& password() const; - inline void set_password(const ::std::string& value); - inline void set_password(const char* value); - inline void set_password(const char* value, size_t size); - inline ::std::string* mutable_password(); - inline ::std::string* release_password(); - inline void set_allocated_password(::std::string* password); + // required bool ack = 2; + inline bool has_ack() const; + inline void clear_ack(); + static const int kAckFieldNumber = 2; + inline bool ack() const; + inline void set_ack(bool value); - // optional bool autoLeave = 3 [default = false]; - inline bool has_autoleave() const; - inline void clear_autoleave(); - static const int kAutoLeaveFieldNumber = 3; - inline bool autoleave() const; - inline void set_autoleave(bool value); - - // optional bool spectateOnly = 4 [default = false]; - inline bool has_spectateonly() const; - inline void clear_spectateonly(); - static const int kSpectateOnlyFieldNumber = 4; - inline bool spectateonly() const; - inline void set_spectateonly(bool value); - - // @@protoc_insertion_point(class_scope:JoinExistingGameMessage) + // @@protoc_insertion_point(class_scope:SubscriptionReplyMessage) private: - inline void set_has_gameid(); - inline void clear_has_gameid(); - inline void set_has_password(); - inline void clear_has_password(); - inline void set_has_autoleave(); - inline void clear_has_autoleave(); - inline void set_has_spectateonly(); - inline void clear_has_spectateonly(); + inline void set_has_requestid(); + inline void clear_has_requestid(); + inline void set_has_ack(); + inline void clear_has_ack(); - ::std::string* password_; - ::google::protobuf::uint32 gameid_; - bool autoleave_; - bool spectateonly_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32]; - - #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - friend void protobuf_AddDesc_pokerth_2eproto_impl(); - #else - friend void protobuf_AddDesc_pokerth_2eproto(); - #endif - friend void protobuf_AssignDesc_pokerth_2eproto(); - friend void protobuf_ShutdownFile_pokerth_2eproto(); - - void InitAsDefaultInstance(); - static JoinExistingGameMessage* default_instance_; -}; -// ------------------------------------------------------------------- - -class JoinNewGameMessage : public ::google::protobuf::MessageLite { - public: - JoinNewGameMessage(); - virtual ~JoinNewGameMessage(); - - JoinNewGameMessage(const JoinNewGameMessage& from); - - inline JoinNewGameMessage& operator=(const JoinNewGameMessage& from) { - CopyFrom(from); - return *this; - } - - static const JoinNewGameMessage& default_instance(); - - #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - // Returns the internal default instance pointer. This function can - // return NULL thus should not be used by the user. This is intended - // for Protobuf internal code. Please use default_instance() declared - // above instead. - static inline const JoinNewGameMessage* internal_default_instance() { - return default_instance_; - } - #endif - - void Swap(JoinNewGameMessage* other); - - // implements Message ---------------------------------------------- - - JoinNewGameMessage* New() const; - void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); - void CopyFrom(const JoinNewGameMessage& from); - void MergeFrom(const JoinNewGameMessage& from); - void Clear(); - bool IsInitialized() const; - - int ByteSize() const; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input); - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - - ::std::string GetTypeName() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // required .NetGameInfo gameInfo = 1; - inline bool has_gameinfo() const; - inline void clear_gameinfo(); - static const int kGameInfoFieldNumber = 1; - inline const ::NetGameInfo& gameinfo() const; - inline ::NetGameInfo* mutable_gameinfo(); - inline ::NetGameInfo* release_gameinfo(); - inline void set_allocated_gameinfo(::NetGameInfo* gameinfo); - - // optional string password = 2; - inline bool has_password() const; - inline void clear_password(); - static const int kPasswordFieldNumber = 2; - inline const ::std::string& password() const; - inline void set_password(const ::std::string& value); - inline void set_password(const char* value); - inline void set_password(const char* value, size_t size); - inline ::std::string* mutable_password(); - inline ::std::string* release_password(); - inline void set_allocated_password(::std::string* password); - - // optional bool autoLeave = 3; - inline bool has_autoleave() const; - inline void clear_autoleave(); - static const int kAutoLeaveFieldNumber = 3; - inline bool autoleave() const; - inline void set_autoleave(bool value); - - // @@protoc_insertion_point(class_scope:JoinNewGameMessage) - private: - inline void set_has_gameinfo(); - inline void clear_has_gameinfo(); - inline void set_has_password(); - inline void clear_has_password(); - inline void set_has_autoleave(); - inline void clear_has_autoleave(); - - ::NetGameInfo* gameinfo_; - ::std::string* password_; - bool autoleave_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; - - #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - friend void protobuf_AddDesc_pokerth_2eproto_impl(); - #else - friend void protobuf_AddDesc_pokerth_2eproto(); - #endif - friend void protobuf_AssignDesc_pokerth_2eproto(); - friend void protobuf_ShutdownFile_pokerth_2eproto(); - - void InitAsDefaultInstance(); - static JoinNewGameMessage* default_instance_; -}; -// ------------------------------------------------------------------- - -class RejoinExistingGameMessage : public ::google::protobuf::MessageLite { - public: - RejoinExistingGameMessage(); - virtual ~RejoinExistingGameMessage(); - - RejoinExistingGameMessage(const RejoinExistingGameMessage& from); - - inline RejoinExistingGameMessage& operator=(const RejoinExistingGameMessage& from) { - CopyFrom(from); - return *this; - } - - static const RejoinExistingGameMessage& default_instance(); - - #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - // Returns the internal default instance pointer. This function can - // return NULL thus should not be used by the user. This is intended - // for Protobuf internal code. Please use default_instance() declared - // above instead. - static inline const RejoinExistingGameMessage* internal_default_instance() { - return default_instance_; - } - #endif - - void Swap(RejoinExistingGameMessage* other); - - // implements Message ---------------------------------------------- - - RejoinExistingGameMessage* New() const; - void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); - void CopyFrom(const RejoinExistingGameMessage& from); - void MergeFrom(const RejoinExistingGameMessage& from); - void Clear(); - bool IsInitialized() const; - - int ByteSize() const; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input); - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - - ::std::string GetTypeName() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // required uint32 gameId = 1; - inline bool has_gameid() const; - inline void clear_gameid(); - static const int kGameIdFieldNumber = 1; - inline ::google::protobuf::uint32 gameid() const; - inline void set_gameid(::google::protobuf::uint32 value); - - // optional bool autoLeave = 2; - inline bool has_autoleave() const; - inline void clear_autoleave(); - static const int kAutoLeaveFieldNumber = 2; - inline bool autoleave() const; - inline void set_autoleave(bool value); - - // @@protoc_insertion_point(class_scope:RejoinExistingGameMessage) - private: - inline void set_has_gameid(); - inline void clear_has_gameid(); - inline void set_has_autoleave(); - inline void clear_has_autoleave(); - - ::google::protobuf::uint32 gameid_; - bool autoleave_; + ::google::protobuf::uint32 requestid_; + bool ack_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; @@ -3896,7 +3813,426 @@ class RejoinExistingGameMessage : public ::google::protobuf::MessageLite { friend void protobuf_ShutdownFile_pokerth_2eproto(); void InitAsDefaultInstance(); - static RejoinExistingGameMessage* default_instance_; + static SubscriptionReplyMessage* default_instance_; +}; +// ------------------------------------------------------------------- + +class CreateGameMessage : public ::google::protobuf::MessageLite { + public: + CreateGameMessage(); + virtual ~CreateGameMessage(); + + CreateGameMessage(const CreateGameMessage& from); + + inline CreateGameMessage& operator=(const CreateGameMessage& from) { + CopyFrom(from); + return *this; + } + + static const CreateGameMessage& default_instance(); + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const CreateGameMessage* internal_default_instance() { + return default_instance_; + } + #endif + + void Swap(CreateGameMessage* other); + + // implements Message ---------------------------------------------- + + CreateGameMessage* New() const; + void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); + void CopyFrom(const CreateGameMessage& from); + void MergeFrom(const CreateGameMessage& from); + void Clear(); + bool IsInitialized() const; + + int ByteSize() const; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input); + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + + ::std::string GetTypeName() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // required uint32 requestId = 1; + inline bool has_requestid() const; + inline void clear_requestid(); + static const int kRequestIdFieldNumber = 1; + inline ::google::protobuf::uint32 requestid() const; + inline void set_requestid(::google::protobuf::uint32 value); + + // required .NetGameInfo gameInfo = 2; + inline bool has_gameinfo() const; + inline void clear_gameinfo(); + static const int kGameInfoFieldNumber = 2; + inline const ::NetGameInfo& gameinfo() const; + inline ::NetGameInfo* mutable_gameinfo(); + inline ::NetGameInfo* release_gameinfo(); + inline void set_allocated_gameinfo(::NetGameInfo* gameinfo); + + // optional string password = 3; + inline bool has_password() const; + inline void clear_password(); + static const int kPasswordFieldNumber = 3; + inline const ::std::string& password() const; + inline void set_password(const ::std::string& value); + inline void set_password(const char* value); + inline void set_password(const char* value, size_t size); + inline ::std::string* mutable_password(); + inline ::std::string* release_password(); + inline void set_allocated_password(::std::string* password); + + // optional bool autoLeave = 4; + inline bool has_autoleave() const; + inline void clear_autoleave(); + static const int kAutoLeaveFieldNumber = 4; + inline bool autoleave() const; + inline void set_autoleave(bool value); + + // @@protoc_insertion_point(class_scope:CreateGameMessage) + private: + inline void set_has_requestid(); + inline void clear_has_requestid(); + inline void set_has_gameinfo(); + inline void clear_has_gameinfo(); + inline void set_has_password(); + inline void clear_has_password(); + inline void set_has_autoleave(); + inline void clear_has_autoleave(); + + ::NetGameInfo* gameinfo_; + ::google::protobuf::uint32 requestid_; + bool autoleave_; + ::std::string* password_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32]; + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else + friend void protobuf_AddDesc_pokerth_2eproto(); + #endif + friend void protobuf_AssignDesc_pokerth_2eproto(); + friend void protobuf_ShutdownFile_pokerth_2eproto(); + + void InitAsDefaultInstance(); + static CreateGameMessage* default_instance_; +}; +// ------------------------------------------------------------------- + +class CreateGameFailedMessage : public ::google::protobuf::MessageLite { + public: + CreateGameFailedMessage(); + virtual ~CreateGameFailedMessage(); + + CreateGameFailedMessage(const CreateGameFailedMessage& from); + + inline CreateGameFailedMessage& operator=(const CreateGameFailedMessage& from) { + CopyFrom(from); + return *this; + } + + static const CreateGameFailedMessage& default_instance(); + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const CreateGameFailedMessage* internal_default_instance() { + return default_instance_; + } + #endif + + void Swap(CreateGameFailedMessage* other); + + // implements Message ---------------------------------------------- + + CreateGameFailedMessage* New() const; + void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); + void CopyFrom(const CreateGameFailedMessage& from); + void MergeFrom(const CreateGameFailedMessage& from); + void Clear(); + bool IsInitialized() const; + + int ByteSize() const; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input); + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + + ::std::string GetTypeName() const; + + // nested types ---------------------------------------------------- + + typedef CreateGameFailedMessage_CreateGameFailureReason CreateGameFailureReason; + static const CreateGameFailureReason notAllowedAsGuest = CreateGameFailedMessage_CreateGameFailureReason_notAllowedAsGuest; + static const CreateGameFailureReason gameNameInUse = CreateGameFailedMessage_CreateGameFailureReason_gameNameInUse; + static const CreateGameFailureReason badGameName = CreateGameFailedMessage_CreateGameFailureReason_badGameName; + static const CreateGameFailureReason invalidSettings = CreateGameFailedMessage_CreateGameFailureReason_invalidSettings; + static inline bool CreateGameFailureReason_IsValid(int value) { + return CreateGameFailedMessage_CreateGameFailureReason_IsValid(value); + } + static const CreateGameFailureReason CreateGameFailureReason_MIN = + CreateGameFailedMessage_CreateGameFailureReason_CreateGameFailureReason_MIN; + static const CreateGameFailureReason CreateGameFailureReason_MAX = + CreateGameFailedMessage_CreateGameFailureReason_CreateGameFailureReason_MAX; + static const int CreateGameFailureReason_ARRAYSIZE = + CreateGameFailedMessage_CreateGameFailureReason_CreateGameFailureReason_ARRAYSIZE; + + // accessors ------------------------------------------------------- + + // required uint32 requestId = 1; + inline bool has_requestid() const; + inline void clear_requestid(); + static const int kRequestIdFieldNumber = 1; + inline ::google::protobuf::uint32 requestid() const; + inline void set_requestid(::google::protobuf::uint32 value); + + // required .CreateGameFailedMessage.CreateGameFailureReason createGameFailureReason = 2; + inline bool has_creategamefailurereason() const; + inline void clear_creategamefailurereason(); + static const int kCreateGameFailureReasonFieldNumber = 2; + inline ::CreateGameFailedMessage_CreateGameFailureReason creategamefailurereason() const; + inline void set_creategamefailurereason(::CreateGameFailedMessage_CreateGameFailureReason value); + + // @@protoc_insertion_point(class_scope:CreateGameFailedMessage) + private: + inline void set_has_requestid(); + inline void clear_has_requestid(); + inline void set_has_creategamefailurereason(); + inline void clear_has_creategamefailurereason(); + + ::google::protobuf::uint32 requestid_; + int creategamefailurereason_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else + friend void protobuf_AddDesc_pokerth_2eproto(); + #endif + friend void protobuf_AssignDesc_pokerth_2eproto(); + friend void protobuf_ShutdownFile_pokerth_2eproto(); + + void InitAsDefaultInstance(); + static CreateGameFailedMessage* default_instance_; +}; +// ------------------------------------------------------------------- + +class JoinGameMessage : public ::google::protobuf::MessageLite { + public: + JoinGameMessage(); + virtual ~JoinGameMessage(); + + JoinGameMessage(const JoinGameMessage& from); + + inline JoinGameMessage& operator=(const JoinGameMessage& from) { + CopyFrom(from); + return *this; + } + + static const JoinGameMessage& default_instance(); + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const JoinGameMessage* internal_default_instance() { + return default_instance_; + } + #endif + + void Swap(JoinGameMessage* other); + + // implements Message ---------------------------------------------- + + JoinGameMessage* New() const; + void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); + void CopyFrom(const JoinGameMessage& from); + void MergeFrom(const JoinGameMessage& from); + void Clear(); + bool IsInitialized() const; + + int ByteSize() const; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input); + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + + ::std::string GetTypeName() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional string password = 1; + inline bool has_password() const; + inline void clear_password(); + static const int kPasswordFieldNumber = 1; + inline const ::std::string& password() const; + inline void set_password(const ::std::string& value); + inline void set_password(const char* value); + inline void set_password(const char* value, size_t size); + inline ::std::string* mutable_password(); + inline ::std::string* release_password(); + inline void set_allocated_password(::std::string* password); + + // optional bool autoLeave = 2 [default = false]; + inline bool has_autoleave() const; + inline void clear_autoleave(); + static const int kAutoLeaveFieldNumber = 2; + inline bool autoleave() const; + inline void set_autoleave(bool value); + + // optional bool spectateOnly = 3 [default = false]; + inline bool has_spectateonly() const; + inline void clear_spectateonly(); + static const int kSpectateOnlyFieldNumber = 3; + inline bool spectateonly() const; + inline void set_spectateonly(bool value); + + // @@protoc_insertion_point(class_scope:JoinGameMessage) + private: + inline void set_has_password(); + inline void clear_has_password(); + inline void set_has_autoleave(); + inline void clear_has_autoleave(); + inline void set_has_spectateonly(); + inline void clear_has_spectateonly(); + + ::std::string* password_; + bool autoleave_; + bool spectateonly_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else + friend void protobuf_AddDesc_pokerth_2eproto(); + #endif + friend void protobuf_AssignDesc_pokerth_2eproto(); + friend void protobuf_ShutdownFile_pokerth_2eproto(); + + void InitAsDefaultInstance(); + static JoinGameMessage* default_instance_; +}; +// ------------------------------------------------------------------- + +class RejoinGameMessage : public ::google::protobuf::MessageLite { + public: + RejoinGameMessage(); + virtual ~RejoinGameMessage(); + + RejoinGameMessage(const RejoinGameMessage& from); + + inline RejoinGameMessage& operator=(const RejoinGameMessage& from) { + CopyFrom(from); + return *this; + } + + static const RejoinGameMessage& default_instance(); + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const RejoinGameMessage* internal_default_instance() { + return default_instance_; + } + #endif + + void Swap(RejoinGameMessage* other); + + // implements Message ---------------------------------------------- + + RejoinGameMessage* New() const; + void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); + void CopyFrom(const RejoinGameMessage& from); + void MergeFrom(const RejoinGameMessage& from); + void Clear(); + bool IsInitialized() const; + + int ByteSize() const; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input); + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + + ::std::string GetTypeName() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional bool autoLeave = 1 [default = false]; + inline bool has_autoleave() const; + inline void clear_autoleave(); + static const int kAutoLeaveFieldNumber = 1; + inline bool autoleave() const; + inline void set_autoleave(bool value); + + // @@protoc_insertion_point(class_scope:RejoinGameMessage) + private: + inline void set_has_autoleave(); + inline void clear_has_autoleave(); + + bool autoleave_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else + friend void protobuf_AddDesc_pokerth_2eproto(); + #endif + friend void protobuf_AssignDesc_pokerth_2eproto(); + friend void protobuf_ShutdownFile_pokerth_2eproto(); + + void InitAsDefaultInstance(); + static RejoinGameMessage* default_instance_; }; // ------------------------------------------------------------------- @@ -3953,40 +4289,31 @@ class JoinGameAckMessage : public ::google::protobuf::MessageLite { // accessors ------------------------------------------------------- - // required uint32 gameId = 1; - inline bool has_gameid() const; - inline void clear_gameid(); - static const int kGameIdFieldNumber = 1; - inline ::google::protobuf::uint32 gameid() const; - inline void set_gameid(::google::protobuf::uint32 value); - - // required bool areYouGameAdmin = 2; + // required bool areYouGameAdmin = 1; inline bool has_areyougameadmin() const; inline void clear_areyougameadmin(); - static const int kAreYouGameAdminFieldNumber = 2; + static const int kAreYouGameAdminFieldNumber = 1; inline bool areyougameadmin() const; inline void set_areyougameadmin(bool value); - // required .NetGameInfo gameInfo = 3; + // required .NetGameInfo gameInfo = 2; inline bool has_gameinfo() const; inline void clear_gameinfo(); - static const int kGameInfoFieldNumber = 3; + static const int kGameInfoFieldNumber = 2; inline const ::NetGameInfo& gameinfo() const; inline ::NetGameInfo* mutable_gameinfo(); inline ::NetGameInfo* release_gameinfo(); inline void set_allocated_gameinfo(::NetGameInfo* gameinfo); - // optional bool spectateOnly = 4; + // optional bool spectateOnly = 3; inline bool has_spectateonly() const; inline void clear_spectateonly(); - static const int kSpectateOnlyFieldNumber = 4; + static const int kSpectateOnlyFieldNumber = 3; inline bool spectateonly() const; inline void set_spectateonly(bool value); // @@protoc_insertion_point(class_scope:JoinGameAckMessage) private: - inline void set_has_gameid(); - inline void clear_has_gameid(); inline void set_has_areyougameadmin(); inline void clear_has_areyougameadmin(); inline void set_has_gameinfo(); @@ -3994,13 +4321,12 @@ class JoinGameAckMessage : public ::google::protobuf::MessageLite { inline void set_has_spectateonly(); inline void clear_has_spectateonly(); - ::google::protobuf::uint32 gameid_; + ::NetGameInfo* gameinfo_; bool areyougameadmin_; bool spectateonly_; - ::NetGameInfo* gameinfo_; mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32]; + ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); @@ -4071,11 +4397,7 @@ class JoinGameFailedMessage : public ::google::protobuf::MessageLite { static const JoinGameFailureReason gameIsFull = JoinGameFailedMessage_JoinGameFailureReason_gameIsFull; static const JoinGameFailureReason gameIsRunning = JoinGameFailedMessage_JoinGameFailureReason_gameIsRunning; static const JoinGameFailureReason invalidPassword = JoinGameFailedMessage_JoinGameFailureReason_invalidPassword; - static const JoinGameFailureReason notAllowedAsGuest = JoinGameFailedMessage_JoinGameFailureReason_notAllowedAsGuest; static const JoinGameFailureReason notInvited = JoinGameFailedMessage_JoinGameFailureReason_notInvited; - static const JoinGameFailureReason gameNameInUse = JoinGameFailedMessage_JoinGameFailureReason_gameNameInUse; - static const JoinGameFailureReason badGameName = JoinGameFailedMessage_JoinGameFailureReason_badGameName; - static const JoinGameFailureReason invalidSettings = JoinGameFailedMessage_JoinGameFailureReason_invalidSettings; static const JoinGameFailureReason ipAddressBlocked = JoinGameFailedMessage_JoinGameFailureReason_ipAddressBlocked; static const JoinGameFailureReason rejoinFailed = JoinGameFailedMessage_JoinGameFailureReason_rejoinFailed; static const JoinGameFailureReason noSpectatorsAllowed = JoinGameFailedMessage_JoinGameFailureReason_noSpectatorsAllowed; @@ -4091,32 +4413,22 @@ class JoinGameFailedMessage : public ::google::protobuf::MessageLite { // accessors ------------------------------------------------------- - // required uint32 gameId = 1; - inline bool has_gameid() const; - inline void clear_gameid(); - static const int kGameIdFieldNumber = 1; - inline ::google::protobuf::uint32 gameid() const; - inline void set_gameid(::google::protobuf::uint32 value); - - // required .JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason = 2; + // required .JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason = 1; inline bool has_joingamefailurereason() const; inline void clear_joingamefailurereason(); - static const int kJoinGameFailureReasonFieldNumber = 2; + static const int kJoinGameFailureReasonFieldNumber = 1; inline ::JoinGameFailedMessage_JoinGameFailureReason joingamefailurereason() const; inline void set_joingamefailurereason(::JoinGameFailedMessage_JoinGameFailureReason value); // @@protoc_insertion_point(class_scope:JoinGameFailedMessage) private: - inline void set_has_gameid(); - inline void clear_has_gameid(); inline void set_has_joingamefailurereason(); inline void clear_has_joingamefailurereason(); - ::google::protobuf::uint32 gameid_; int joingamefailurereason_; mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; + ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); @@ -4184,42 +4496,32 @@ class GamePlayerJoinedMessage : public ::google::protobuf::MessageLite { // accessors ------------------------------------------------------- - // required uint32 gameId = 1; - inline bool has_gameid() const; - inline void clear_gameid(); - static const int kGameIdFieldNumber = 1; - inline ::google::protobuf::uint32 gameid() const; - inline void set_gameid(::google::protobuf::uint32 value); - - // required uint32 playerId = 2; + // required uint32 playerId = 1; inline bool has_playerid() const; inline void clear_playerid(); - static const int kPlayerIdFieldNumber = 2; + static const int kPlayerIdFieldNumber = 1; inline ::google::protobuf::uint32 playerid() const; inline void set_playerid(::google::protobuf::uint32 value); - // required bool isGameAdmin = 3; + // required bool isGameAdmin = 2; inline bool has_isgameadmin() const; inline void clear_isgameadmin(); - static const int kIsGameAdminFieldNumber = 3; + static const int kIsGameAdminFieldNumber = 2; inline bool isgameadmin() const; inline void set_isgameadmin(bool value); // @@protoc_insertion_point(class_scope:GamePlayerJoinedMessage) private: - inline void set_has_gameid(); - inline void clear_has_gameid(); inline void set_has_playerid(); inline void clear_has_playerid(); inline void set_has_isgameadmin(); inline void clear_has_isgameadmin(); - ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 playerid_; bool isgameadmin_; mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; + ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); @@ -4301,42 +4603,32 @@ class GamePlayerLeftMessage : public ::google::protobuf::MessageLite { // accessors ------------------------------------------------------- - // required uint32 gameId = 1; - inline bool has_gameid() const; - inline void clear_gameid(); - static const int kGameIdFieldNumber = 1; - inline ::google::protobuf::uint32 gameid() const; - inline void set_gameid(::google::protobuf::uint32 value); - - // required uint32 playerId = 2; + // required uint32 playerId = 1; inline bool has_playerid() const; inline void clear_playerid(); - static const int kPlayerIdFieldNumber = 2; + static const int kPlayerIdFieldNumber = 1; inline ::google::protobuf::uint32 playerid() const; inline void set_playerid(::google::protobuf::uint32 value); - // required .GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason = 3; + // required .GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason = 2; inline bool has_gameplayerleftreason() const; inline void clear_gameplayerleftreason(); - static const int kGamePlayerLeftReasonFieldNumber = 3; + static const int kGamePlayerLeftReasonFieldNumber = 2; inline ::GamePlayerLeftMessage_GamePlayerLeftReason gameplayerleftreason() const; inline void set_gameplayerleftreason(::GamePlayerLeftMessage_GamePlayerLeftReason value); // @@protoc_insertion_point(class_scope:GamePlayerLeftMessage) private: - inline void set_has_gameid(); - inline void clear_has_gameid(); inline void set_has_playerid(); inline void clear_has_playerid(); inline void set_has_gameplayerleftreason(); inline void clear_has_gameplayerleftreason(); - ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 playerid_; int gameplayerleftreason_; mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; + ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); @@ -4404,32 +4696,22 @@ class GameSpectatorJoinedMessage : public ::google::protobuf::MessageLite { // accessors ------------------------------------------------------- - // required uint32 gameId = 1; - inline bool has_gameid() const; - inline void clear_gameid(); - static const int kGameIdFieldNumber = 1; - inline ::google::protobuf::uint32 gameid() const; - inline void set_gameid(::google::protobuf::uint32 value); - - // required uint32 playerId = 2; + // required uint32 playerId = 1; inline bool has_playerid() const; inline void clear_playerid(); - static const int kPlayerIdFieldNumber = 2; + static const int kPlayerIdFieldNumber = 1; inline ::google::protobuf::uint32 playerid() const; inline void set_playerid(::google::protobuf::uint32 value); // @@protoc_insertion_point(class_scope:GameSpectatorJoinedMessage) private: - inline void set_has_gameid(); - inline void clear_has_gameid(); inline void set_has_playerid(); inline void clear_has_playerid(); - ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 playerid_; mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; + ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); @@ -4497,42 +4779,32 @@ class GameSpectatorLeftMessage : public ::google::protobuf::MessageLite { // accessors ------------------------------------------------------- - // required uint32 gameId = 1; - inline bool has_gameid() const; - inline void clear_gameid(); - static const int kGameIdFieldNumber = 1; - inline ::google::protobuf::uint32 gameid() const; - inline void set_gameid(::google::protobuf::uint32 value); - - // required uint32 playerId = 2; + // required uint32 playerId = 1; inline bool has_playerid() const; inline void clear_playerid(); - static const int kPlayerIdFieldNumber = 2; + static const int kPlayerIdFieldNumber = 1; inline ::google::protobuf::uint32 playerid() const; inline void set_playerid(::google::protobuf::uint32 value); - // required .GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason = 3; + // required .GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason = 2; inline bool has_gamespectatorleftreason() const; inline void clear_gamespectatorleftreason(); - static const int kGameSpectatorLeftReasonFieldNumber = 3; + static const int kGameSpectatorLeftReasonFieldNumber = 2; inline ::GamePlayerLeftMessage_GamePlayerLeftReason gamespectatorleftreason() const; inline void set_gamespectatorleftreason(::GamePlayerLeftMessage_GamePlayerLeftReason value); // @@protoc_insertion_point(class_scope:GameSpectatorLeftMessage) private: - inline void set_has_gameid(); - inline void clear_has_gameid(); inline void set_has_playerid(); inline void clear_has_playerid(); inline void set_has_gamespectatorleftreason(); inline void clear_has_gamespectatorleftreason(); - ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 playerid_; int gamespectatorleftreason_; mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; + ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); @@ -4600,32 +4872,22 @@ class GameAdminChangedMessage : public ::google::protobuf::MessageLite { // accessors ------------------------------------------------------- - // required uint32 gameId = 1; - inline bool has_gameid() const; - inline void clear_gameid(); - static const int kGameIdFieldNumber = 1; - inline ::google::protobuf::uint32 gameid() const; - inline void set_gameid(::google::protobuf::uint32 value); - - // required uint32 newAdminPlayerId = 2; + // required uint32 newAdminPlayerId = 1; inline bool has_newadminplayerid() const; inline void clear_newadminplayerid(); - static const int kNewAdminPlayerIdFieldNumber = 2; + static const int kNewAdminPlayerIdFieldNumber = 1; inline ::google::protobuf::uint32 newadminplayerid() const; inline void set_newadminplayerid(::google::protobuf::uint32 value); // @@protoc_insertion_point(class_scope:GameAdminChangedMessage) private: - inline void set_has_gameid(); - inline void clear_has_gameid(); inline void set_has_newadminplayerid(); inline void clear_has_newadminplayerid(); - ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 newadminplayerid_; mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; + ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); @@ -4711,32 +4973,22 @@ class RemovedFromGameMessage : public ::google::protobuf::MessageLite { // accessors ------------------------------------------------------- - // required uint32 gameId = 1; - inline bool has_gameid() const; - inline void clear_gameid(); - static const int kGameIdFieldNumber = 1; - inline ::google::protobuf::uint32 gameid() const; - inline void set_gameid(::google::protobuf::uint32 value); - - // required .RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason = 2; + // required .RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason = 1; inline bool has_removedfromgamereason() const; inline void clear_removedfromgamereason(); - static const int kRemovedFromGameReasonFieldNumber = 2; + static const int kRemovedFromGameReasonFieldNumber = 1; inline ::RemovedFromGameMessage_RemovedFromGameReason removedfromgamereason() const; inline void set_removedfromgamereason(::RemovedFromGameMessage_RemovedFromGameReason value); // @@protoc_insertion_point(class_scope:RemovedFromGameMessage) private: - inline void set_has_gameid(); - inline void clear_has_gameid(); inline void set_has_removedfromgamereason(); inline void clear_has_removedfromgamereason(); - ::google::protobuf::uint32 gameid_; int removedfromgamereason_; mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; + ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); @@ -4804,32 +5056,22 @@ class KickPlayerRequestMessage : public ::google::protobuf::MessageLite { // accessors ------------------------------------------------------- - // required uint32 gameId = 1; - inline bool has_gameid() const; - inline void clear_gameid(); - static const int kGameIdFieldNumber = 1; - inline ::google::protobuf::uint32 gameid() const; - inline void set_gameid(::google::protobuf::uint32 value); - - // required uint32 playerId = 2; + // required uint32 playerId = 1; inline bool has_playerid() const; inline void clear_playerid(); - static const int kPlayerIdFieldNumber = 2; + static const int kPlayerIdFieldNumber = 1; inline ::google::protobuf::uint32 playerid() const; inline void set_playerid(::google::protobuf::uint32 value); // @@protoc_insertion_point(class_scope:KickPlayerRequestMessage) private: - inline void set_has_gameid(); - inline void clear_has_gameid(); inline void set_has_playerid(); inline void clear_has_playerid(); - ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 playerid_; mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; + ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); @@ -4897,22 +5139,12 @@ class LeaveGameRequestMessage : public ::google::protobuf::MessageLite { // accessors ------------------------------------------------------- - // required uint32 gameId = 1; - inline bool has_gameid() const; - inline void clear_gameid(); - static const int kGameIdFieldNumber = 1; - inline ::google::protobuf::uint32 gameid() const; - inline void set_gameid(::google::protobuf::uint32 value); - // @@protoc_insertion_point(class_scope:LeaveGameRequestMessage) private: - inline void set_has_gameid(); - inline void clear_has_gameid(); - ::google::protobuf::uint32 gameid_; mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; + ::google::protobuf::uint32 _has_bits_[1]; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); @@ -5398,42 +5630,32 @@ class StartEventMessage : public ::google::protobuf::MessageLite { // accessors ------------------------------------------------------- - // required uint32 gameId = 1; - inline bool has_gameid() const; - inline void clear_gameid(); - static const int kGameIdFieldNumber = 1; - inline ::google::protobuf::uint32 gameid() const; - inline void set_gameid(::google::protobuf::uint32 value); - - // required .StartEventMessage.StartEventType startEventType = 2; + // required .StartEventMessage.StartEventType startEventType = 1; inline bool has_starteventtype() const; inline void clear_starteventtype(); - static const int kStartEventTypeFieldNumber = 2; + static const int kStartEventTypeFieldNumber = 1; inline ::StartEventMessage_StartEventType starteventtype() const; inline void set_starteventtype(::StartEventMessage_StartEventType value); - // optional bool fillWithComputerPlayers = 3; + // optional bool fillWithComputerPlayers = 2; inline bool has_fillwithcomputerplayers() const; inline void clear_fillwithcomputerplayers(); - static const int kFillWithComputerPlayersFieldNumber = 3; + static const int kFillWithComputerPlayersFieldNumber = 2; inline bool fillwithcomputerplayers() const; inline void set_fillwithcomputerplayers(bool value); // @@protoc_insertion_point(class_scope:StartEventMessage) private: - inline void set_has_gameid(); - inline void clear_has_gameid(); inline void set_has_starteventtype(); inline void clear_has_starteventtype(); inline void set_has_fillwithcomputerplayers(); inline void clear_has_fillwithcomputerplayers(); - ::google::protobuf::uint32 gameid_; int starteventtype_; bool fillwithcomputerplayers_; mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; + ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); @@ -5501,22 +5723,12 @@ class StartEventAckMessage : public ::google::protobuf::MessageLite { // accessors ------------------------------------------------------- - // required uint32 gameId = 1; - inline bool has_gameid() const; - inline void clear_gameid(); - static const int kGameIdFieldNumber = 1; - inline ::google::protobuf::uint32 gameid() const; - inline void set_gameid(::google::protobuf::uint32 value); - // @@protoc_insertion_point(class_scope:StartEventAckMessage) private: - inline void set_has_gameid(); - inline void clear_has_gameid(); - ::google::protobuf::uint32 gameid_; mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; + ::google::protobuf::uint32 _has_bits_[1]; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); @@ -5584,24 +5796,17 @@ class GameStartInitialMessage : public ::google::protobuf::MessageLite { // accessors ------------------------------------------------------- - // required uint32 gameId = 1; - inline bool has_gameid() const; - inline void clear_gameid(); - static const int kGameIdFieldNumber = 1; - inline ::google::protobuf::uint32 gameid() const; - inline void set_gameid(::google::protobuf::uint32 value); - - // required uint32 startDealerPlayerId = 2; + // required uint32 startDealerPlayerId = 1; inline bool has_startdealerplayerid() const; inline void clear_startdealerplayerid(); - static const int kStartDealerPlayerIdFieldNumber = 2; + static const int kStartDealerPlayerIdFieldNumber = 1; inline ::google::protobuf::uint32 startdealerplayerid() const; inline void set_startdealerplayerid(::google::protobuf::uint32 value); - // repeated uint32 playerSeats = 3 [packed = true]; + // repeated uint32 playerSeats = 2 [packed = true]; inline int playerseats_size() const; inline void clear_playerseats(); - static const int kPlayerSeatsFieldNumber = 3; + static const int kPlayerSeatsFieldNumber = 2; inline ::google::protobuf::uint32 playerseats(int index) const; inline void set_playerseats(int index, ::google::protobuf::uint32 value); inline void add_playerseats(::google::protobuf::uint32 value); @@ -5612,18 +5817,15 @@ class GameStartInitialMessage : public ::google::protobuf::MessageLite { // @@protoc_insertion_point(class_scope:GameStartInitialMessage) private: - inline void set_has_gameid(); - inline void clear_has_gameid(); inline void set_has_startdealerplayerid(); inline void clear_has_startdealerplayerid(); - ::google::protobuf::uint32 gameid_; - ::google::protobuf::uint32 startdealerplayerid_; ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > playerseats_; mutable int _playerseats_cached_byte_size_; + ::google::protobuf::uint32 startdealerplayerid_; mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; + ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); @@ -5786,31 +5988,24 @@ class GameStartRejoinMessage : public ::google::protobuf::MessageLite { // accessors ------------------------------------------------------- - // required uint32 gameId = 1; - inline bool has_gameid() const; - inline void clear_gameid(); - static const int kGameIdFieldNumber = 1; - inline ::google::protobuf::uint32 gameid() const; - inline void set_gameid(::google::protobuf::uint32 value); - - // required uint32 startDealerPlayerId = 2; + // required uint32 startDealerPlayerId = 1; inline bool has_startdealerplayerid() const; inline void clear_startdealerplayerid(); - static const int kStartDealerPlayerIdFieldNumber = 2; + static const int kStartDealerPlayerIdFieldNumber = 1; inline ::google::protobuf::uint32 startdealerplayerid() const; inline void set_startdealerplayerid(::google::protobuf::uint32 value); - // required uint32 handNum = 3; + // required uint32 handNum = 2; inline bool has_handnum() const; inline void clear_handnum(); - static const int kHandNumFieldNumber = 3; + static const int kHandNumFieldNumber = 2; inline ::google::protobuf::uint32 handnum() const; inline void set_handnum(::google::protobuf::uint32 value); - // repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; + // repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 3; inline int rejoinplayerdata_size() const; inline void clear_rejoinplayerdata(); - static const int kRejoinPlayerDataFieldNumber = 4; + static const int kRejoinPlayerDataFieldNumber = 3; inline const ::GameStartRejoinMessage_RejoinPlayerData& rejoinplayerdata(int index) const; inline ::GameStartRejoinMessage_RejoinPlayerData* mutable_rejoinplayerdata(int index); inline ::GameStartRejoinMessage_RejoinPlayerData* add_rejoinplayerdata(); @@ -5821,20 +6016,17 @@ class GameStartRejoinMessage : public ::google::protobuf::MessageLite { // @@protoc_insertion_point(class_scope:GameStartRejoinMessage) private: - inline void set_has_gameid(); - inline void clear_has_gameid(); inline void set_has_startdealerplayerid(); inline void clear_has_startdealerplayerid(); inline void set_has_handnum(); inline void clear_has_handnum(); - ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 startdealerplayerid_; - ::google::protobuf::RepeatedPtrField< ::GameStartRejoinMessage_RejoinPlayerData > rejoinplayerdata_; ::google::protobuf::uint32 handnum_; + ::google::protobuf::RepeatedPtrField< ::GameStartRejoinMessage_RejoinPlayerData > rejoinplayerdata_; mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32]; + ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); @@ -5997,26 +6189,19 @@ class HandStartMessage : public ::google::protobuf::MessageLite { // accessors ------------------------------------------------------- - // required uint32 gameId = 1; - inline bool has_gameid() const; - inline void clear_gameid(); - static const int kGameIdFieldNumber = 1; - inline ::google::protobuf::uint32 gameid() const; - inline void set_gameid(::google::protobuf::uint32 value); - - // optional .HandStartMessage.PlainCards plainCards = 2; + // optional .HandStartMessage.PlainCards plainCards = 1; inline bool has_plaincards() const; inline void clear_plaincards(); - static const int kPlainCardsFieldNumber = 2; + static const int kPlainCardsFieldNumber = 1; inline const ::HandStartMessage_PlainCards& plaincards() const; inline ::HandStartMessage_PlainCards* mutable_plaincards(); inline ::HandStartMessage_PlainCards* release_plaincards(); inline void set_allocated_plaincards(::HandStartMessage_PlainCards* plaincards); - // optional bytes encryptedCards = 3; + // optional bytes encryptedCards = 2; inline bool has_encryptedcards() const; inline void clear_encryptedcards(); - static const int kEncryptedCardsFieldNumber = 3; + static const int kEncryptedCardsFieldNumber = 2; inline const ::std::string& encryptedcards() const; inline void set_encryptedcards(const ::std::string& value); inline void set_encryptedcards(const char* value); @@ -6025,34 +6210,32 @@ class HandStartMessage : public ::google::protobuf::MessageLite { inline ::std::string* release_encryptedcards(); inline void set_allocated_encryptedcards(::std::string* encryptedcards); - // required uint32 smallBlind = 4; + // required uint32 smallBlind = 3; inline bool has_smallblind() const; inline void clear_smallblind(); - static const int kSmallBlindFieldNumber = 4; + static const int kSmallBlindFieldNumber = 3; inline ::google::protobuf::uint32 smallblind() const; inline void set_smallblind(::google::protobuf::uint32 value); - // repeated .NetPlayerState seatStates = 5; + // repeated .NetPlayerState seatStates = 4; inline int seatstates_size() const; inline void clear_seatstates(); - static const int kSeatStatesFieldNumber = 5; + static const int kSeatStatesFieldNumber = 4; inline ::NetPlayerState seatstates(int index) const; inline void set_seatstates(int index, ::NetPlayerState value); inline void add_seatstates(::NetPlayerState value); inline const ::google::protobuf::RepeatedField& seatstates() const; inline ::google::protobuf::RepeatedField* mutable_seatstates(); - // optional uint32 dealerPlayerId = 6; + // optional uint32 dealerPlayerId = 5; inline bool has_dealerplayerid() const; inline void clear_dealerplayerid(); - static const int kDealerPlayerIdFieldNumber = 6; + static const int kDealerPlayerIdFieldNumber = 5; inline ::google::protobuf::uint32 dealerplayerid() const; inline void set_dealerplayerid(::google::protobuf::uint32 value); // @@protoc_insertion_point(class_scope:HandStartMessage) private: - inline void set_has_gameid(); - inline void clear_has_gameid(); inline void set_has_plaincards(); inline void clear_has_plaincards(); inline void set_has_encryptedcards(); @@ -6063,14 +6246,13 @@ class HandStartMessage : public ::google::protobuf::MessageLite { inline void clear_has_dealerplayerid(); ::HandStartMessage_PlainCards* plaincards_; - ::google::protobuf::uint32 gameid_; - ::google::protobuf::uint32 smallblind_; ::std::string* encryptedcards_; ::google::protobuf::RepeatedField seatstates_; + ::google::protobuf::uint32 smallblind_; ::google::protobuf::uint32 dealerplayerid_; mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(6 + 31) / 32]; + ::google::protobuf::uint32 _has_bits_[(5 + 31) / 32]; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); @@ -6138,42 +6320,32 @@ class PlayersTurnMessage : public ::google::protobuf::MessageLite { // accessors ------------------------------------------------------- - // required uint32 gameId = 1; - inline bool has_gameid() const; - inline void clear_gameid(); - static const int kGameIdFieldNumber = 1; - inline ::google::protobuf::uint32 gameid() const; - inline void set_gameid(::google::protobuf::uint32 value); - - // required uint32 playerId = 2; + // required uint32 playerId = 1; inline bool has_playerid() const; inline void clear_playerid(); - static const int kPlayerIdFieldNumber = 2; + static const int kPlayerIdFieldNumber = 1; inline ::google::protobuf::uint32 playerid() const; inline void set_playerid(::google::protobuf::uint32 value); - // required .NetGameState gameState = 3; + // required .NetGameState gameState = 2; inline bool has_gamestate() const; inline void clear_gamestate(); - static const int kGameStateFieldNumber = 3; + static const int kGameStateFieldNumber = 2; inline ::NetGameState gamestate() const; inline void set_gamestate(::NetGameState value); // @@protoc_insertion_point(class_scope:PlayersTurnMessage) private: - inline void set_has_gameid(); - inline void clear_has_gameid(); inline void set_has_playerid(); inline void clear_has_playerid(); inline void set_has_gamestate(); inline void clear_has_gamestate(); - ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 playerid_; int gamestate_; mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; + ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); @@ -6241,45 +6413,36 @@ class MyActionRequestMessage : public ::google::protobuf::MessageLite { // accessors ------------------------------------------------------- - // required uint32 gameId = 1; - inline bool has_gameid() const; - inline void clear_gameid(); - static const int kGameIdFieldNumber = 1; - inline ::google::protobuf::uint32 gameid() const; - inline void set_gameid(::google::protobuf::uint32 value); - - // required uint32 handNum = 2; + // required uint32 handNum = 1; inline bool has_handnum() const; inline void clear_handnum(); - static const int kHandNumFieldNumber = 2; + static const int kHandNumFieldNumber = 1; inline ::google::protobuf::uint32 handnum() const; inline void set_handnum(::google::protobuf::uint32 value); - // required .NetGameState gameState = 3; + // required .NetGameState gameState = 2; inline bool has_gamestate() const; inline void clear_gamestate(); - static const int kGameStateFieldNumber = 3; + static const int kGameStateFieldNumber = 2; inline ::NetGameState gamestate() const; inline void set_gamestate(::NetGameState value); - // required .NetPlayerAction myAction = 4; + // required .NetPlayerAction myAction = 3; inline bool has_myaction() const; inline void clear_myaction(); - static const int kMyActionFieldNumber = 4; + static const int kMyActionFieldNumber = 3; inline ::NetPlayerAction myaction() const; inline void set_myaction(::NetPlayerAction value); - // required uint32 myRelativeBet = 5; + // required uint32 myRelativeBet = 4; inline bool has_myrelativebet() const; inline void clear_myrelativebet(); - static const int kMyRelativeBetFieldNumber = 5; + static const int kMyRelativeBetFieldNumber = 4; inline ::google::protobuf::uint32 myrelativebet() const; inline void set_myrelativebet(::google::protobuf::uint32 value); // @@protoc_insertion_point(class_scope:MyActionRequestMessage) private: - inline void set_has_gameid(); - inline void clear_has_gameid(); inline void set_has_handnum(); inline void clear_has_handnum(); inline void set_has_gamestate(); @@ -6289,14 +6452,13 @@ class MyActionRequestMessage : public ::google::protobuf::MessageLite { inline void set_has_myrelativebet(); inline void clear_has_myrelativebet(); - ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 handnum_; int gamestate_; int myaction_; ::google::protobuf::uint32 myrelativebet_; mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(5 + 31) / 32]; + ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32]; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); @@ -6378,45 +6540,36 @@ class YourActionRejectedMessage : public ::google::protobuf::MessageLite { // accessors ------------------------------------------------------- - // required uint32 gameId = 1; - inline bool has_gameid() const; - inline void clear_gameid(); - static const int kGameIdFieldNumber = 1; - inline ::google::protobuf::uint32 gameid() const; - inline void set_gameid(::google::protobuf::uint32 value); - - // required .NetGameState gameState = 2; + // required .NetGameState gameState = 1; inline bool has_gamestate() const; inline void clear_gamestate(); - static const int kGameStateFieldNumber = 2; + static const int kGameStateFieldNumber = 1; inline ::NetGameState gamestate() const; inline void set_gamestate(::NetGameState value); - // required .NetPlayerAction yourAction = 3; + // required .NetPlayerAction yourAction = 2; inline bool has_youraction() const; inline void clear_youraction(); - static const int kYourActionFieldNumber = 3; + static const int kYourActionFieldNumber = 2; inline ::NetPlayerAction youraction() const; inline void set_youraction(::NetPlayerAction value); - // required uint32 yourRelativeBet = 4; + // required uint32 yourRelativeBet = 3; inline bool has_yourrelativebet() const; inline void clear_yourrelativebet(); - static const int kYourRelativeBetFieldNumber = 4; + static const int kYourRelativeBetFieldNumber = 3; inline ::google::protobuf::uint32 yourrelativebet() const; inline void set_yourrelativebet(::google::protobuf::uint32 value); - // required .YourActionRejectedMessage.RejectionReason rejectionReason = 5; + // required .YourActionRejectedMessage.RejectionReason rejectionReason = 4; inline bool has_rejectionreason() const; inline void clear_rejectionreason(); - static const int kRejectionReasonFieldNumber = 5; + static const int kRejectionReasonFieldNumber = 4; inline ::YourActionRejectedMessage_RejectionReason rejectionreason() const; inline void set_rejectionreason(::YourActionRejectedMessage_RejectionReason value); // @@protoc_insertion_point(class_scope:YourActionRejectedMessage) private: - inline void set_has_gameid(); - inline void clear_has_gameid(); inline void set_has_gamestate(); inline void clear_has_gamestate(); inline void set_has_youraction(); @@ -6426,14 +6579,13 @@ class YourActionRejectedMessage : public ::google::protobuf::MessageLite { inline void set_has_rejectionreason(); inline void clear_has_rejectionreason(); - ::google::protobuf::uint32 gameid_; int gamestate_; int youraction_; ::google::protobuf::uint32 yourrelativebet_; int rejectionreason_; mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(5 + 31) / 32]; + ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32]; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); @@ -6501,66 +6653,57 @@ class PlayersActionDoneMessage : public ::google::protobuf::MessageLite { // accessors ------------------------------------------------------- - // required uint32 gameId = 1; - inline bool has_gameid() const; - inline void clear_gameid(); - static const int kGameIdFieldNumber = 1; - inline ::google::protobuf::uint32 gameid() const; - inline void set_gameid(::google::protobuf::uint32 value); - - // required uint32 playerId = 2; + // required uint32 playerId = 1; inline bool has_playerid() const; inline void clear_playerid(); - static const int kPlayerIdFieldNumber = 2; + static const int kPlayerIdFieldNumber = 1; inline ::google::protobuf::uint32 playerid() const; inline void set_playerid(::google::protobuf::uint32 value); - // required .NetGameState gameState = 3; + // required .NetGameState gameState = 2; inline bool has_gamestate() const; inline void clear_gamestate(); - static const int kGameStateFieldNumber = 3; + static const int kGameStateFieldNumber = 2; inline ::NetGameState gamestate() const; inline void set_gamestate(::NetGameState value); - // required .NetPlayerAction playerAction = 4; + // required .NetPlayerAction playerAction = 3; inline bool has_playeraction() const; inline void clear_playeraction(); - static const int kPlayerActionFieldNumber = 4; + static const int kPlayerActionFieldNumber = 3; inline ::NetPlayerAction playeraction() const; inline void set_playeraction(::NetPlayerAction value); - // required uint32 totalPlayerBet = 5; + // required uint32 totalPlayerBet = 4; inline bool has_totalplayerbet() const; inline void clear_totalplayerbet(); - static const int kTotalPlayerBetFieldNumber = 5; + static const int kTotalPlayerBetFieldNumber = 4; inline ::google::protobuf::uint32 totalplayerbet() const; inline void set_totalplayerbet(::google::protobuf::uint32 value); - // required uint32 playerMoney = 6; + // required uint32 playerMoney = 5; inline bool has_playermoney() const; inline void clear_playermoney(); - static const int kPlayerMoneyFieldNumber = 6; + static const int kPlayerMoneyFieldNumber = 5; inline ::google::protobuf::uint32 playermoney() const; inline void set_playermoney(::google::protobuf::uint32 value); - // required uint32 highestSet = 7; + // required uint32 highestSet = 6; inline bool has_highestset() const; inline void clear_highestset(); - static const int kHighestSetFieldNumber = 7; + static const int kHighestSetFieldNumber = 6; inline ::google::protobuf::uint32 highestset() const; inline void set_highestset(::google::protobuf::uint32 value); - // required uint32 minimumRaise = 8; + // required uint32 minimumRaise = 7; inline bool has_minimumraise() const; inline void clear_minimumraise(); - static const int kMinimumRaiseFieldNumber = 8; + static const int kMinimumRaiseFieldNumber = 7; inline ::google::protobuf::uint32 minimumraise() const; inline void set_minimumraise(::google::protobuf::uint32 value); // @@protoc_insertion_point(class_scope:PlayersActionDoneMessage) private: - inline void set_has_gameid(); - inline void clear_has_gameid(); inline void set_has_playerid(); inline void clear_has_playerid(); inline void set_has_gamestate(); @@ -6576,7 +6719,6 @@ class PlayersActionDoneMessage : public ::google::protobuf::MessageLite { inline void set_has_minimumraise(); inline void clear_has_minimumraise(); - ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 playerid_; int gamestate_; int playeraction_; @@ -6586,7 +6728,7 @@ class PlayersActionDoneMessage : public ::google::protobuf::MessageLite { ::google::protobuf::uint32 minimumraise_; mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(8 + 31) / 32]; + ::google::protobuf::uint32 _has_bits_[(7 + 31) / 32]; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); @@ -6654,38 +6796,29 @@ class DealFlopCardsMessage : public ::google::protobuf::MessageLite { // accessors ------------------------------------------------------- - // required uint32 gameId = 1; - inline bool has_gameid() const; - inline void clear_gameid(); - static const int kGameIdFieldNumber = 1; - inline ::google::protobuf::uint32 gameid() const; - inline void set_gameid(::google::protobuf::uint32 value); - - // required uint32 flopCard1 = 2; + // required uint32 flopCard1 = 1; inline bool has_flopcard1() const; inline void clear_flopcard1(); - static const int kFlopCard1FieldNumber = 2; + static const int kFlopCard1FieldNumber = 1; inline ::google::protobuf::uint32 flopcard1() const; inline void set_flopcard1(::google::protobuf::uint32 value); - // required uint32 flopCard2 = 3; + // required uint32 flopCard2 = 2; inline bool has_flopcard2() const; inline void clear_flopcard2(); - static const int kFlopCard2FieldNumber = 3; + static const int kFlopCard2FieldNumber = 2; inline ::google::protobuf::uint32 flopcard2() const; inline void set_flopcard2(::google::protobuf::uint32 value); - // required uint32 flopCard3 = 4; + // required uint32 flopCard3 = 3; inline bool has_flopcard3() const; inline void clear_flopcard3(); - static const int kFlopCard3FieldNumber = 4; + static const int kFlopCard3FieldNumber = 3; inline ::google::protobuf::uint32 flopcard3() const; inline void set_flopcard3(::google::protobuf::uint32 value); // @@protoc_insertion_point(class_scope:DealFlopCardsMessage) private: - inline void set_has_gameid(); - inline void clear_has_gameid(); inline void set_has_flopcard1(); inline void clear_has_flopcard1(); inline void set_has_flopcard2(); @@ -6693,13 +6826,12 @@ class DealFlopCardsMessage : public ::google::protobuf::MessageLite { inline void set_has_flopcard3(); inline void clear_has_flopcard3(); - ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 flopcard1_; ::google::protobuf::uint32 flopcard2_; ::google::protobuf::uint32 flopcard3_; mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32]; + ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); @@ -6767,32 +6899,22 @@ class DealTurnCardMessage : public ::google::protobuf::MessageLite { // accessors ------------------------------------------------------- - // required uint32 gameId = 1; - inline bool has_gameid() const; - inline void clear_gameid(); - static const int kGameIdFieldNumber = 1; - inline ::google::protobuf::uint32 gameid() const; - inline void set_gameid(::google::protobuf::uint32 value); - - // required uint32 turnCard = 2; + // required uint32 turnCard = 1; inline bool has_turncard() const; inline void clear_turncard(); - static const int kTurnCardFieldNumber = 2; + static const int kTurnCardFieldNumber = 1; inline ::google::protobuf::uint32 turncard() const; inline void set_turncard(::google::protobuf::uint32 value); // @@protoc_insertion_point(class_scope:DealTurnCardMessage) private: - inline void set_has_gameid(); - inline void clear_has_gameid(); inline void set_has_turncard(); inline void clear_has_turncard(); - ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 turncard_; mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; + ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); @@ -6860,32 +6982,22 @@ class DealRiverCardMessage : public ::google::protobuf::MessageLite { // accessors ------------------------------------------------------- - // required uint32 gameId = 1; - inline bool has_gameid() const; - inline void clear_gameid(); - static const int kGameIdFieldNumber = 1; - inline ::google::protobuf::uint32 gameid() const; - inline void set_gameid(::google::protobuf::uint32 value); - - // required uint32 riverCard = 2; + // required uint32 riverCard = 1; inline bool has_rivercard() const; inline void clear_rivercard(); - static const int kRiverCardFieldNumber = 2; + static const int kRiverCardFieldNumber = 1; inline ::google::protobuf::uint32 rivercard() const; inline void set_rivercard(::google::protobuf::uint32 value); // @@protoc_insertion_point(class_scope:DealRiverCardMessage) private: - inline void set_has_gameid(); - inline void clear_has_gameid(); inline void set_has_rivercard(); inline void clear_has_rivercard(); - ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 rivercard_; mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; + ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); @@ -7058,17 +7170,10 @@ class AllInShowCardsMessage : public ::google::protobuf::MessageLite { // accessors ------------------------------------------------------- - // required uint32 gameId = 1; - inline bool has_gameid() const; - inline void clear_gameid(); - static const int kGameIdFieldNumber = 1; - inline ::google::protobuf::uint32 gameid() const; - inline void set_gameid(::google::protobuf::uint32 value); - - // repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; + // repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 1; inline int playersallin_size() const; inline void clear_playersallin(); - static const int kPlayersAllInFieldNumber = 2; + static const int kPlayersAllInFieldNumber = 1; inline const ::AllInShowCardsMessage_PlayerAllIn& playersallin(int index) const; inline ::AllInShowCardsMessage_PlayerAllIn* mutable_playersallin(int index); inline ::AllInShowCardsMessage_PlayerAllIn* add_playersallin(); @@ -7079,14 +7184,11 @@ class AllInShowCardsMessage : public ::google::protobuf::MessageLite { // @@protoc_insertion_point(class_scope:AllInShowCardsMessage) private: - inline void set_has_gameid(); - inline void clear_has_gameid(); ::google::protobuf::RepeatedPtrField< ::AllInShowCardsMessage_PlayerAllIn > playersallin_; - ::google::protobuf::uint32 gameid_; mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; + ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); @@ -7154,17 +7256,10 @@ class EndOfHandShowCardsMessage : public ::google::protobuf::MessageLite { // accessors ------------------------------------------------------- - // required uint32 gameId = 1; - inline bool has_gameid() const; - inline void clear_gameid(); - static const int kGameIdFieldNumber = 1; - inline ::google::protobuf::uint32 gameid() const; - inline void set_gameid(::google::protobuf::uint32 value); - - // repeated .PlayerResult playerResults = 2; + // repeated .PlayerResult playerResults = 1; inline int playerresults_size() const; inline void clear_playerresults(); - static const int kPlayerResultsFieldNumber = 2; + static const int kPlayerResultsFieldNumber = 1; inline const ::PlayerResult& playerresults(int index) const; inline ::PlayerResult* mutable_playerresults(int index); inline ::PlayerResult* add_playerresults(); @@ -7175,14 +7270,11 @@ class EndOfHandShowCardsMessage : public ::google::protobuf::MessageLite { // @@protoc_insertion_point(class_scope:EndOfHandShowCardsMessage) private: - inline void set_has_gameid(); - inline void clear_has_gameid(); ::google::protobuf::RepeatedPtrField< ::PlayerResult > playerresults_; - ::google::protobuf::uint32 gameid_; mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; + ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); @@ -7250,38 +7342,29 @@ class EndOfHandHideCardsMessage : public ::google::protobuf::MessageLite { // accessors ------------------------------------------------------- - // required uint32 gameId = 1; - inline bool has_gameid() const; - inline void clear_gameid(); - static const int kGameIdFieldNumber = 1; - inline ::google::protobuf::uint32 gameid() const; - inline void set_gameid(::google::protobuf::uint32 value); - - // required uint32 playerId = 2; + // required uint32 playerId = 1; inline bool has_playerid() const; inline void clear_playerid(); - static const int kPlayerIdFieldNumber = 2; + static const int kPlayerIdFieldNumber = 1; inline ::google::protobuf::uint32 playerid() const; inline void set_playerid(::google::protobuf::uint32 value); - // required uint32 moneyWon = 3; + // required uint32 moneyWon = 2; inline bool has_moneywon() const; inline void clear_moneywon(); - static const int kMoneyWonFieldNumber = 3; + static const int kMoneyWonFieldNumber = 2; inline ::google::protobuf::uint32 moneywon() const; inline void set_moneywon(::google::protobuf::uint32 value); - // required uint32 playerMoney = 4; + // required uint32 playerMoney = 3; inline bool has_playermoney() const; inline void clear_playermoney(); - static const int kPlayerMoneyFieldNumber = 4; + static const int kPlayerMoneyFieldNumber = 3; inline ::google::protobuf::uint32 playermoney() const; inline void set_playermoney(::google::protobuf::uint32 value); // @@protoc_insertion_point(class_scope:EndOfHandHideCardsMessage) private: - inline void set_has_gameid(); - inline void clear_has_gameid(); inline void set_has_playerid(); inline void clear_has_playerid(); inline void set_has_moneywon(); @@ -7289,13 +7372,12 @@ class EndOfHandHideCardsMessage : public ::google::protobuf::MessageLite { inline void set_has_playermoney(); inline void clear_has_playermoney(); - ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 playerid_; ::google::protobuf::uint32 moneywon_; ::google::protobuf::uint32 playermoney_; mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32]; + ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); @@ -7521,32 +7603,22 @@ class EndOfGameMessage : public ::google::protobuf::MessageLite { // accessors ------------------------------------------------------- - // required uint32 gameId = 1; - inline bool has_gameid() const; - inline void clear_gameid(); - static const int kGameIdFieldNumber = 1; - inline ::google::protobuf::uint32 gameid() const; - inline void set_gameid(::google::protobuf::uint32 value); - - // required uint32 winnerPlayerId = 2; + // required uint32 winnerPlayerId = 1; inline bool has_winnerplayerid() const; inline void clear_winnerplayerid(); - static const int kWinnerPlayerIdFieldNumber = 2; + static const int kWinnerPlayerIdFieldNumber = 1; inline ::google::protobuf::uint32 winnerplayerid() const; inline void set_winnerplayerid(::google::protobuf::uint32 value); // @@protoc_insertion_point(class_scope:EndOfGameMessage) private: - inline void set_has_gameid(); - inline void clear_has_gameid(); inline void set_has_winnerplayerid(); inline void clear_has_winnerplayerid(); - ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 winnerplayerid_; mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; + ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); @@ -7707,32 +7779,22 @@ class AskKickPlayerMessage : public ::google::protobuf::MessageLite { // accessors ------------------------------------------------------- - // required uint32 gameId = 1; - inline bool has_gameid() const; - inline void clear_gameid(); - static const int kGameIdFieldNumber = 1; - inline ::google::protobuf::uint32 gameid() const; - inline void set_gameid(::google::protobuf::uint32 value); - - // required uint32 playerId = 2; + // required uint32 playerId = 1; inline bool has_playerid() const; inline void clear_playerid(); - static const int kPlayerIdFieldNumber = 2; + static const int kPlayerIdFieldNumber = 1; inline ::google::protobuf::uint32 playerid() const; inline void set_playerid(::google::protobuf::uint32 value); // @@protoc_insertion_point(class_scope:AskKickPlayerMessage) private: - inline void set_has_gameid(); - inline void clear_has_gameid(); inline void set_has_playerid(); inline void clear_has_playerid(); - ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 playerid_; mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; + ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); @@ -7816,42 +7878,32 @@ class AskKickDeniedMessage : public ::google::protobuf::MessageLite { // accessors ------------------------------------------------------- - // required uint32 gameId = 1; - inline bool has_gameid() const; - inline void clear_gameid(); - static const int kGameIdFieldNumber = 1; - inline ::google::protobuf::uint32 gameid() const; - inline void set_gameid(::google::protobuf::uint32 value); - - // required uint32 playerId = 2; + // required uint32 playerId = 1; inline bool has_playerid() const; inline void clear_playerid(); - static const int kPlayerIdFieldNumber = 2; + static const int kPlayerIdFieldNumber = 1; inline ::google::protobuf::uint32 playerid() const; inline void set_playerid(::google::protobuf::uint32 value); - // required .AskKickDeniedMessage.KickDeniedReason kickDeniedReason = 3; + // required .AskKickDeniedMessage.KickDeniedReason kickDeniedReason = 2; inline bool has_kickdeniedreason() const; inline void clear_kickdeniedreason(); - static const int kKickDeniedReasonFieldNumber = 3; + static const int kKickDeniedReasonFieldNumber = 2; inline ::AskKickDeniedMessage_KickDeniedReason kickdeniedreason() const; inline void set_kickdeniedreason(::AskKickDeniedMessage_KickDeniedReason value); // @@protoc_insertion_point(class_scope:AskKickDeniedMessage) private: - inline void set_has_gameid(); - inline void clear_has_gameid(); inline void set_has_playerid(); inline void clear_has_playerid(); inline void set_has_kickdeniedreason(); inline void clear_has_kickdeniedreason(); - ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 playerid_; int kickdeniedreason_; mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; + ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); @@ -7919,52 +7971,43 @@ class StartKickPetitionMessage : public ::google::protobuf::MessageLite { // accessors ------------------------------------------------------- - // required uint32 gameId = 1; - inline bool has_gameid() const; - inline void clear_gameid(); - static const int kGameIdFieldNumber = 1; - inline ::google::protobuf::uint32 gameid() const; - inline void set_gameid(::google::protobuf::uint32 value); - - // required uint32 petitionId = 2; + // required uint32 petitionId = 1; inline bool has_petitionid() const; inline void clear_petitionid(); - static const int kPetitionIdFieldNumber = 2; + static const int kPetitionIdFieldNumber = 1; inline ::google::protobuf::uint32 petitionid() const; inline void set_petitionid(::google::protobuf::uint32 value); - // required uint32 proposingPlayerId = 3; + // required uint32 proposingPlayerId = 2; inline bool has_proposingplayerid() const; inline void clear_proposingplayerid(); - static const int kProposingPlayerIdFieldNumber = 3; + static const int kProposingPlayerIdFieldNumber = 2; inline ::google::protobuf::uint32 proposingplayerid() const; inline void set_proposingplayerid(::google::protobuf::uint32 value); - // required uint32 kickPlayerId = 4; + // required uint32 kickPlayerId = 3; inline bool has_kickplayerid() const; inline void clear_kickplayerid(); - static const int kKickPlayerIdFieldNumber = 4; + static const int kKickPlayerIdFieldNumber = 3; inline ::google::protobuf::uint32 kickplayerid() const; inline void set_kickplayerid(::google::protobuf::uint32 value); - // required uint32 kickTimeoutSec = 5; + // required uint32 kickTimeoutSec = 4; inline bool has_kicktimeoutsec() const; inline void clear_kicktimeoutsec(); - static const int kKickTimeoutSecFieldNumber = 5; + static const int kKickTimeoutSecFieldNumber = 4; inline ::google::protobuf::uint32 kicktimeoutsec() const; inline void set_kicktimeoutsec(::google::protobuf::uint32 value); - // required uint32 numVotesNeededToKick = 6; + // required uint32 numVotesNeededToKick = 5; inline bool has_numvotesneededtokick() const; inline void clear_numvotesneededtokick(); - static const int kNumVotesNeededToKickFieldNumber = 6; + static const int kNumVotesNeededToKickFieldNumber = 5; inline ::google::protobuf::uint32 numvotesneededtokick() const; inline void set_numvotesneededtokick(::google::protobuf::uint32 value); // @@protoc_insertion_point(class_scope:StartKickPetitionMessage) private: - inline void set_has_gameid(); - inline void clear_has_gameid(); inline void set_has_petitionid(); inline void clear_has_petitionid(); inline void set_has_proposingplayerid(); @@ -7976,7 +8019,6 @@ class StartKickPetitionMessage : public ::google::protobuf::MessageLite { inline void set_has_numvotesneededtokick(); inline void clear_has_numvotesneededtokick(); - ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 petitionid_; ::google::protobuf::uint32 proposingplayerid_; ::google::protobuf::uint32 kickplayerid_; @@ -7984,7 +8026,7 @@ class StartKickPetitionMessage : public ::google::protobuf::MessageLite { ::google::protobuf::uint32 numvotesneededtokick_; mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(6 + 31) / 32]; + ::google::protobuf::uint32 _has_bits_[(5 + 31) / 32]; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); @@ -8052,42 +8094,32 @@ class VoteKickRequestMessage : public ::google::protobuf::MessageLite { // accessors ------------------------------------------------------- - // required uint32 gameId = 1; - inline bool has_gameid() const; - inline void clear_gameid(); - static const int kGameIdFieldNumber = 1; - inline ::google::protobuf::uint32 gameid() const; - inline void set_gameid(::google::protobuf::uint32 value); - - // required uint32 petitionId = 2; + // required uint32 petitionId = 1; inline bool has_petitionid() const; inline void clear_petitionid(); - static const int kPetitionIdFieldNumber = 2; + static const int kPetitionIdFieldNumber = 1; inline ::google::protobuf::uint32 petitionid() const; inline void set_petitionid(::google::protobuf::uint32 value); - // required bool voteKick = 3; + // required bool voteKick = 2; inline bool has_votekick() const; inline void clear_votekick(); - static const int kVoteKickFieldNumber = 3; + static const int kVoteKickFieldNumber = 2; inline bool votekick() const; inline void set_votekick(bool value); // @@protoc_insertion_point(class_scope:VoteKickRequestMessage) private: - inline void set_has_gameid(); - inline void clear_has_gameid(); inline void set_has_petitionid(); inline void clear_has_petitionid(); inline void set_has_votekick(); inline void clear_has_votekick(); - ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 petitionid_; bool votekick_; mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; + ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); @@ -8169,42 +8201,32 @@ class VoteKickReplyMessage : public ::google::protobuf::MessageLite { // accessors ------------------------------------------------------- - // required uint32 gameId = 1; - inline bool has_gameid() const; - inline void clear_gameid(); - static const int kGameIdFieldNumber = 1; - inline ::google::protobuf::uint32 gameid() const; - inline void set_gameid(::google::protobuf::uint32 value); - - // required uint32 petitionId = 2; + // required uint32 petitionId = 1; inline bool has_petitionid() const; inline void clear_petitionid(); - static const int kPetitionIdFieldNumber = 2; + static const int kPetitionIdFieldNumber = 1; inline ::google::protobuf::uint32 petitionid() const; inline void set_petitionid(::google::protobuf::uint32 value); - // required .VoteKickReplyMessage.VoteKickReplyType voteKickReplyType = 3; + // required .VoteKickReplyMessage.VoteKickReplyType voteKickReplyType = 2; inline bool has_votekickreplytype() const; inline void clear_votekickreplytype(); - static const int kVoteKickReplyTypeFieldNumber = 3; + static const int kVoteKickReplyTypeFieldNumber = 2; inline ::VoteKickReplyMessage_VoteKickReplyType votekickreplytype() const; inline void set_votekickreplytype(::VoteKickReplyMessage_VoteKickReplyType value); // @@protoc_insertion_point(class_scope:VoteKickReplyMessage) private: - inline void set_has_gameid(); - inline void clear_has_gameid(); inline void set_has_petitionid(); inline void clear_has_petitionid(); inline void set_has_votekickreplytype(); inline void clear_has_votekickreplytype(); - ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 petitionid_; int votekickreplytype_; mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; + ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); @@ -8272,45 +8294,36 @@ class KickPetitionUpdateMessage : public ::google::protobuf::MessageLite { // accessors ------------------------------------------------------- - // required uint32 gameId = 1; - inline bool has_gameid() const; - inline void clear_gameid(); - static const int kGameIdFieldNumber = 1; - inline ::google::protobuf::uint32 gameid() const; - inline void set_gameid(::google::protobuf::uint32 value); - - // required uint32 petitionId = 2; + // required uint32 petitionId = 1; inline bool has_petitionid() const; inline void clear_petitionid(); - static const int kPetitionIdFieldNumber = 2; + static const int kPetitionIdFieldNumber = 1; inline ::google::protobuf::uint32 petitionid() const; inline void set_petitionid(::google::protobuf::uint32 value); - // required uint32 numVotesAgainstKicking = 3; + // required uint32 numVotesAgainstKicking = 2; inline bool has_numvotesagainstkicking() const; inline void clear_numvotesagainstkicking(); - static const int kNumVotesAgainstKickingFieldNumber = 3; + static const int kNumVotesAgainstKickingFieldNumber = 2; inline ::google::protobuf::uint32 numvotesagainstkicking() const; inline void set_numvotesagainstkicking(::google::protobuf::uint32 value); - // required uint32 numVotesInFavourOfKicking = 4; + // required uint32 numVotesInFavourOfKicking = 3; inline bool has_numvotesinfavourofkicking() const; inline void clear_numvotesinfavourofkicking(); - static const int kNumVotesInFavourOfKickingFieldNumber = 4; + static const int kNumVotesInFavourOfKickingFieldNumber = 3; inline ::google::protobuf::uint32 numvotesinfavourofkicking() const; inline void set_numvotesinfavourofkicking(::google::protobuf::uint32 value); - // required uint32 numVotesNeededToKick = 5; + // required uint32 numVotesNeededToKick = 4; inline bool has_numvotesneededtokick() const; inline void clear_numvotesneededtokick(); - static const int kNumVotesNeededToKickFieldNumber = 5; + static const int kNumVotesNeededToKickFieldNumber = 4; inline ::google::protobuf::uint32 numvotesneededtokick() const; inline void set_numvotesneededtokick(::google::protobuf::uint32 value); // @@protoc_insertion_point(class_scope:KickPetitionUpdateMessage) private: - inline void set_has_gameid(); - inline void clear_has_gameid(); inline void set_has_petitionid(); inline void clear_has_petitionid(); inline void set_has_numvotesagainstkicking(); @@ -8320,14 +8333,13 @@ class KickPetitionUpdateMessage : public ::google::protobuf::MessageLite { inline void set_has_numvotesneededtokick(); inline void clear_has_numvotesneededtokick(); - ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 petitionid_; ::google::protobuf::uint32 numvotesagainstkicking_; ::google::protobuf::uint32 numvotesinfavourofkicking_; ::google::protobuf::uint32 numvotesneededtokick_; mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(5 + 31) / 32]; + ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32]; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); @@ -8410,52 +8422,43 @@ class EndKickPetitionMessage : public ::google::protobuf::MessageLite { // accessors ------------------------------------------------------- - // required uint32 gameId = 1; - inline bool has_gameid() const; - inline void clear_gameid(); - static const int kGameIdFieldNumber = 1; - inline ::google::protobuf::uint32 gameid() const; - inline void set_gameid(::google::protobuf::uint32 value); - - // required uint32 petitionId = 2; + // required uint32 petitionId = 1; inline bool has_petitionid() const; inline void clear_petitionid(); - static const int kPetitionIdFieldNumber = 2; + static const int kPetitionIdFieldNumber = 1; inline ::google::protobuf::uint32 petitionid() const; inline void set_petitionid(::google::protobuf::uint32 value); - // required uint32 numVotesAgainstKicking = 3; + // required uint32 numVotesAgainstKicking = 2; inline bool has_numvotesagainstkicking() const; inline void clear_numvotesagainstkicking(); - static const int kNumVotesAgainstKickingFieldNumber = 3; + static const int kNumVotesAgainstKickingFieldNumber = 2; inline ::google::protobuf::uint32 numvotesagainstkicking() const; inline void set_numvotesagainstkicking(::google::protobuf::uint32 value); - // required uint32 numVotesInFavourOfKicking = 4; + // required uint32 numVotesInFavourOfKicking = 3; inline bool has_numvotesinfavourofkicking() const; inline void clear_numvotesinfavourofkicking(); - static const int kNumVotesInFavourOfKickingFieldNumber = 4; + static const int kNumVotesInFavourOfKickingFieldNumber = 3; inline ::google::protobuf::uint32 numvotesinfavourofkicking() const; inline void set_numvotesinfavourofkicking(::google::protobuf::uint32 value); - // required uint32 resultPlayerKicked = 5; + // required uint32 resultPlayerKicked = 4; inline bool has_resultplayerkicked() const; inline void clear_resultplayerkicked(); - static const int kResultPlayerKickedFieldNumber = 5; + static const int kResultPlayerKickedFieldNumber = 4; inline ::google::protobuf::uint32 resultplayerkicked() const; inline void set_resultplayerkicked(::google::protobuf::uint32 value); - // required .EndKickPetitionMessage.PetitionEndReason petitionEndReason = 6; + // required .EndKickPetitionMessage.PetitionEndReason petitionEndReason = 5; inline bool has_petitionendreason() const; inline void clear_petitionendreason(); - static const int kPetitionEndReasonFieldNumber = 6; + static const int kPetitionEndReasonFieldNumber = 5; inline ::EndKickPetitionMessage_PetitionEndReason petitionendreason() const; inline void set_petitionendreason(::EndKickPetitionMessage_PetitionEndReason value); // @@protoc_insertion_point(class_scope:EndKickPetitionMessage) private: - inline void set_has_gameid(); - inline void clear_has_gameid(); inline void set_has_petitionid(); inline void clear_has_petitionid(); inline void set_has_numvotesagainstkicking(); @@ -8467,7 +8470,6 @@ class EndKickPetitionMessage : public ::google::protobuf::MessageLite { inline void set_has_petitionendreason(); inline void clear_has_petitionendreason(); - ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 petitionid_; ::google::protobuf::uint32 numvotesagainstkicking_; ::google::protobuf::uint32 numvotesinfavourofkicking_; @@ -8475,7 +8477,7 @@ class EndKickPetitionMessage : public ::google::protobuf::MessageLite { int petitionendreason_; mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(6 + 31) / 32]; + ::google::protobuf::uint32 _has_bits_[(5 + 31) / 32]; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); @@ -8736,13 +8738,6 @@ class ChatRequestMessage : public ::google::protobuf::MessageLite { // accessors ------------------------------------------------------- - // optional uint32 targetGameId = 1; - inline bool has_targetgameid() const; - inline void clear_targetgameid(); - static const int kTargetGameIdFieldNumber = 1; - inline ::google::protobuf::uint32 targetgameid() const; - inline void set_targetgameid(::google::protobuf::uint32 value); - // optional uint32 targetPlayerId = 2; inline bool has_targetplayerid() const; inline void clear_targetplayerid(); @@ -8764,19 +8759,16 @@ class ChatRequestMessage : public ::google::protobuf::MessageLite { // @@protoc_insertion_point(class_scope:ChatRequestMessage) private: - inline void set_has_targetgameid(); - inline void clear_has_targetgameid(); inline void set_has_targetplayerid(); inline void clear_has_targetplayerid(); inline void set_has_chattext(); inline void clear_has_chattext(); - ::google::protobuf::uint32 targetgameid_; - ::google::protobuf::uint32 targetplayerid_; ::std::string* chattext_; + ::google::protobuf::uint32 targetplayerid_; mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; + ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); @@ -8843,8 +8835,7 @@ class ChatMessage : public ::google::protobuf::MessageLite { // nested types ---------------------------------------------------- typedef ChatMessage_ChatType ChatType; - static const ChatType chatTypeLobby = ChatMessage_ChatType_chatTypeLobby; - static const ChatType chatTypeGame = ChatMessage_ChatType_chatTypeGame; + static const ChatType chatTypeStandard = ChatMessage_ChatType_chatTypeStandard; static const ChatType chatTypeBot = ChatMessage_ChatType_chatTypeBot; static const ChatType chatTypeBroadcast = ChatMessage_ChatType_chatTypeBroadcast; static const ChatType chatTypePrivate = ChatMessage_ChatType_chatTypePrivate; @@ -8860,31 +8851,24 @@ class ChatMessage : public ::google::protobuf::MessageLite { // accessors ------------------------------------------------------- - // optional uint32 gameId = 1; - inline bool has_gameid() const; - inline void clear_gameid(); - static const int kGameIdFieldNumber = 1; - inline ::google::protobuf::uint32 gameid() const; - inline void set_gameid(::google::protobuf::uint32 value); - - // optional uint32 playerId = 2; + // optional uint32 playerId = 1; inline bool has_playerid() const; inline void clear_playerid(); - static const int kPlayerIdFieldNumber = 2; + static const int kPlayerIdFieldNumber = 1; inline ::google::protobuf::uint32 playerid() const; inline void set_playerid(::google::protobuf::uint32 value); - // required .ChatMessage.ChatType chatType = 3; + // required .ChatMessage.ChatType chatType = 2; inline bool has_chattype() const; inline void clear_chattype(); - static const int kChatTypeFieldNumber = 3; + static const int kChatTypeFieldNumber = 2; inline ::ChatMessage_ChatType chattype() const; inline void set_chattype(::ChatMessage_ChatType value); - // required string chatText = 4; + // required string chatText = 3; inline bool has_chattext() const; inline void clear_chattext(); - static const int kChatTextFieldNumber = 4; + static const int kChatTextFieldNumber = 3; inline const ::std::string& chattext() const; inline void set_chattext(const ::std::string& value); inline void set_chattext(const char* value); @@ -8895,8 +8879,6 @@ class ChatMessage : public ::google::protobuf::MessageLite { // @@protoc_insertion_point(class_scope:ChatMessage) private: - inline void set_has_gameid(); - inline void clear_has_gameid(); inline void set_has_playerid(); inline void clear_has_playerid(); inline void set_has_chattype(); @@ -8904,13 +8886,12 @@ class ChatMessage : public ::google::protobuf::MessageLite { inline void set_has_chattext(); inline void clear_has_chattext(); - ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 playerid_; - ::std::string* chattext_; int chattype_; + ::std::string* chattext_; mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32]; + ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); @@ -10166,6 +10147,1656 @@ class AdminBanPlayerAckMessage : public ::google::protobuf::MessageLite { }; // ------------------------------------------------------------------- +class AuthMessage : public ::google::protobuf::MessageLite { + public: + AuthMessage(); + virtual ~AuthMessage(); + + AuthMessage(const AuthMessage& from); + + inline AuthMessage& operator=(const AuthMessage& from) { + CopyFrom(from); + return *this; + } + + static const AuthMessage& default_instance(); + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const AuthMessage* internal_default_instance() { + return default_instance_; + } + #endif + + void Swap(AuthMessage* other); + + // implements Message ---------------------------------------------- + + AuthMessage* New() const; + void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); + void CopyFrom(const AuthMessage& from); + void MergeFrom(const AuthMessage& from); + void Clear(); + bool IsInitialized() const; + + int ByteSize() const; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input); + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + + ::std::string GetTypeName() const; + + // nested types ---------------------------------------------------- + + typedef AuthMessage_AuthMessageType AuthMessageType; + static const AuthMessageType Type_AuthClientRequestMessage = AuthMessage_AuthMessageType_Type_AuthClientRequestMessage; + static const AuthMessageType Type_AuthServerChallengeMessage = AuthMessage_AuthMessageType_Type_AuthServerChallengeMessage; + static const AuthMessageType Type_AuthClientResponseMessage = AuthMessage_AuthMessageType_Type_AuthClientResponseMessage; + static const AuthMessageType Type_AuthServerVerificationMessage = AuthMessage_AuthMessageType_Type_AuthServerVerificationMessage; + static const AuthMessageType Type_ErrorMessage = AuthMessage_AuthMessageType_Type_ErrorMessage; + static inline bool AuthMessageType_IsValid(int value) { + return AuthMessage_AuthMessageType_IsValid(value); + } + static const AuthMessageType AuthMessageType_MIN = + AuthMessage_AuthMessageType_AuthMessageType_MIN; + static const AuthMessageType AuthMessageType_MAX = + AuthMessage_AuthMessageType_AuthMessageType_MAX; + static const int AuthMessageType_ARRAYSIZE = + AuthMessage_AuthMessageType_AuthMessageType_ARRAYSIZE; + + // accessors ------------------------------------------------------- + + // required .AuthMessage.AuthMessageType messageType = 1; + inline bool has_messagetype() const; + inline void clear_messagetype(); + static const int kMessageTypeFieldNumber = 1; + inline ::AuthMessage_AuthMessageType messagetype() const; + inline void set_messagetype(::AuthMessage_AuthMessageType value); + + // optional .AuthClientRequestMessage authClientRequestMessage = 2; + inline bool has_authclientrequestmessage() const; + inline void clear_authclientrequestmessage(); + static const int kAuthClientRequestMessageFieldNumber = 2; + inline const ::AuthClientRequestMessage& authclientrequestmessage() const; + inline ::AuthClientRequestMessage* mutable_authclientrequestmessage(); + inline ::AuthClientRequestMessage* release_authclientrequestmessage(); + inline void set_allocated_authclientrequestmessage(::AuthClientRequestMessage* authclientrequestmessage); + + // optional .AuthServerChallengeMessage authServerChallengeMessage = 3; + inline bool has_authserverchallengemessage() const; + inline void clear_authserverchallengemessage(); + static const int kAuthServerChallengeMessageFieldNumber = 3; + inline const ::AuthServerChallengeMessage& authserverchallengemessage() const; + inline ::AuthServerChallengeMessage* mutable_authserverchallengemessage(); + inline ::AuthServerChallengeMessage* release_authserverchallengemessage(); + inline void set_allocated_authserverchallengemessage(::AuthServerChallengeMessage* authserverchallengemessage); + + // optional .AuthClientResponseMessage authClientResponseMessage = 4; + inline bool has_authclientresponsemessage() const; + inline void clear_authclientresponsemessage(); + static const int kAuthClientResponseMessageFieldNumber = 4; + inline const ::AuthClientResponseMessage& authclientresponsemessage() const; + inline ::AuthClientResponseMessage* mutable_authclientresponsemessage(); + inline ::AuthClientResponseMessage* release_authclientresponsemessage(); + inline void set_allocated_authclientresponsemessage(::AuthClientResponseMessage* authclientresponsemessage); + + // optional .AuthServerVerificationMessage authServerVerificationMessage = 5; + inline bool has_authserververificationmessage() const; + inline void clear_authserververificationmessage(); + static const int kAuthServerVerificationMessageFieldNumber = 5; + inline const ::AuthServerVerificationMessage& authserververificationmessage() const; + inline ::AuthServerVerificationMessage* mutable_authserververificationmessage(); + inline ::AuthServerVerificationMessage* release_authserververificationmessage(); + inline void set_allocated_authserververificationmessage(::AuthServerVerificationMessage* authserververificationmessage); + + // optional .ErrorMessage errorMessage = 1025; + inline bool has_errormessage() const; + inline void clear_errormessage(); + static const int kErrorMessageFieldNumber = 1025; + inline const ::ErrorMessage& errormessage() const; + inline ::ErrorMessage* mutable_errormessage(); + inline ::ErrorMessage* release_errormessage(); + inline void set_allocated_errormessage(::ErrorMessage* errormessage); + + // @@protoc_insertion_point(class_scope:AuthMessage) + private: + inline void set_has_messagetype(); + inline void clear_has_messagetype(); + inline void set_has_authclientrequestmessage(); + inline void clear_has_authclientrequestmessage(); + inline void set_has_authserverchallengemessage(); + inline void clear_has_authserverchallengemessage(); + inline void set_has_authclientresponsemessage(); + inline void clear_has_authclientresponsemessage(); + inline void set_has_authserververificationmessage(); + inline void clear_has_authserververificationmessage(); + inline void set_has_errormessage(); + inline void clear_has_errormessage(); + + ::AuthClientRequestMessage* authclientrequestmessage_; + ::AuthServerChallengeMessage* authserverchallengemessage_; + ::AuthClientResponseMessage* authclientresponsemessage_; + ::AuthServerVerificationMessage* authserververificationmessage_; + ::ErrorMessage* errormessage_; + int messagetype_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(6 + 31) / 32]; + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else + friend void protobuf_AddDesc_pokerth_2eproto(); + #endif + friend void protobuf_AssignDesc_pokerth_2eproto(); + friend void protobuf_ShutdownFile_pokerth_2eproto(); + + void InitAsDefaultInstance(); + static AuthMessage* default_instance_; +}; +// ------------------------------------------------------------------- + +class LobbyMessage : public ::google::protobuf::MessageLite { + public: + LobbyMessage(); + virtual ~LobbyMessage(); + + LobbyMessage(const LobbyMessage& from); + + inline LobbyMessage& operator=(const LobbyMessage& from) { + CopyFrom(from); + return *this; + } + + static const LobbyMessage& default_instance(); + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const LobbyMessage* internal_default_instance() { + return default_instance_; + } + #endif + + void Swap(LobbyMessage* other); + + // implements Message ---------------------------------------------- + + LobbyMessage* New() const; + void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); + void CopyFrom(const LobbyMessage& from); + void MergeFrom(const LobbyMessage& from); + void Clear(); + bool IsInitialized() const; + + int ByteSize() const; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input); + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + + ::std::string GetTypeName() const; + + // nested types ---------------------------------------------------- + + typedef LobbyMessage_LobbyMessageType LobbyMessageType; + static const LobbyMessageType Type_InitMessage = LobbyMessage_LobbyMessageType_Type_InitMessage; + static const LobbyMessageType Type_InitAckMessage = LobbyMessage_LobbyMessageType_Type_InitAckMessage; + static const LobbyMessageType Type_AvatarRequestMessage = LobbyMessage_LobbyMessageType_Type_AvatarRequestMessage; + static const LobbyMessageType Type_AvatarHeaderMessage = LobbyMessage_LobbyMessageType_Type_AvatarHeaderMessage; + static const LobbyMessageType Type_AvatarDataMessage = LobbyMessage_LobbyMessageType_Type_AvatarDataMessage; + static const LobbyMessageType Type_AvatarEndMessage = LobbyMessage_LobbyMessageType_Type_AvatarEndMessage; + static const LobbyMessageType Type_UnknownAvatarMessage = LobbyMessage_LobbyMessageType_Type_UnknownAvatarMessage; + static const LobbyMessageType Type_PlayerListMessage = LobbyMessage_LobbyMessageType_Type_PlayerListMessage; + static const LobbyMessageType Type_GameListNewMessage = LobbyMessage_LobbyMessageType_Type_GameListNewMessage; + static const LobbyMessageType Type_GameListUpdateMessage = LobbyMessage_LobbyMessageType_Type_GameListUpdateMessage; + static const LobbyMessageType Type_GameListPlayerJoinedMessage = LobbyMessage_LobbyMessageType_Type_GameListPlayerJoinedMessage; + static const LobbyMessageType Type_GameListPlayerLeftMessage = LobbyMessage_LobbyMessageType_Type_GameListPlayerLeftMessage; + static const LobbyMessageType Type_GameListSpectatorJoinedMessage = LobbyMessage_LobbyMessageType_Type_GameListSpectatorJoinedMessage; + static const LobbyMessageType Type_GameListSpectatorLeftMessage = LobbyMessage_LobbyMessageType_Type_GameListSpectatorLeftMessage; + static const LobbyMessageType Type_GameListAdminChangedMessage = LobbyMessage_LobbyMessageType_Type_GameListAdminChangedMessage; + static const LobbyMessageType Type_PlayerInfoRequestMessage = LobbyMessage_LobbyMessageType_Type_PlayerInfoRequestMessage; + static const LobbyMessageType Type_PlayerInfoReplyMessage = LobbyMessage_LobbyMessageType_Type_PlayerInfoReplyMessage; + static const LobbyMessageType Type_SubscriptionRequestMessage = LobbyMessage_LobbyMessageType_Type_SubscriptionRequestMessage; + static const LobbyMessageType Type_SubscriptionReplyMessage = LobbyMessage_LobbyMessageType_Type_SubscriptionReplyMessage; + static const LobbyMessageType Type_CreateGameMessage = LobbyMessage_LobbyMessageType_Type_CreateGameMessage; + static const LobbyMessageType Type_CreateGameFailedMessage = LobbyMessage_LobbyMessageType_Type_CreateGameFailedMessage; + static const LobbyMessageType Type_InvitePlayerToGameMessage = LobbyMessage_LobbyMessageType_Type_InvitePlayerToGameMessage; + static const LobbyMessageType Type_InviteNotifyMessage = LobbyMessage_LobbyMessageType_Type_InviteNotifyMessage; + static const LobbyMessageType Type_RejectGameInvitationMessage = LobbyMessage_LobbyMessageType_Type_RejectGameInvitationMessage; + static const LobbyMessageType Type_RejectInvNotifyMessage = LobbyMessage_LobbyMessageType_Type_RejectInvNotifyMessage; + static const LobbyMessageType Type_StatisticsMessage = LobbyMessage_LobbyMessageType_Type_StatisticsMessage; + static const LobbyMessageType Type_ChatRequestMessage = LobbyMessage_LobbyMessageType_Type_ChatRequestMessage; + static const LobbyMessageType Type_ChatMessage = LobbyMessage_LobbyMessageType_Type_ChatMessage; + static const LobbyMessageType Type_ChatRejectMessage = LobbyMessage_LobbyMessageType_Type_ChatRejectMessage; + static const LobbyMessageType Type_DialogMessage = LobbyMessage_LobbyMessageType_Type_DialogMessage; + static const LobbyMessageType Type_TimeoutWarningMessage = LobbyMessage_LobbyMessageType_Type_TimeoutWarningMessage; + static const LobbyMessageType Type_ResetTimeoutMessage = LobbyMessage_LobbyMessageType_Type_ResetTimeoutMessage; + static const LobbyMessageType Type_ReportAvatarMessage = LobbyMessage_LobbyMessageType_Type_ReportAvatarMessage; + static const LobbyMessageType Type_ReportAvatarAckMessage = LobbyMessage_LobbyMessageType_Type_ReportAvatarAckMessage; + static const LobbyMessageType Type_ReportGameMessage = LobbyMessage_LobbyMessageType_Type_ReportGameMessage; + static const LobbyMessageType Type_ReportGameAckMessage = LobbyMessage_LobbyMessageType_Type_ReportGameAckMessage; + static const LobbyMessageType Type_AdminRemoveGameMessage = LobbyMessage_LobbyMessageType_Type_AdminRemoveGameMessage; + static const LobbyMessageType Type_AdminRemoveGameAckMessage = LobbyMessage_LobbyMessageType_Type_AdminRemoveGameAckMessage; + static const LobbyMessageType Type_AdminBanPlayerMessage = LobbyMessage_LobbyMessageType_Type_AdminBanPlayerMessage; + static const LobbyMessageType Type_AdminBanPlayerAckMessage = LobbyMessage_LobbyMessageType_Type_AdminBanPlayerAckMessage; + static const LobbyMessageType Type_ErrorMessage = LobbyMessage_LobbyMessageType_Type_ErrorMessage; + static inline bool LobbyMessageType_IsValid(int value) { + return LobbyMessage_LobbyMessageType_IsValid(value); + } + static const LobbyMessageType LobbyMessageType_MIN = + LobbyMessage_LobbyMessageType_LobbyMessageType_MIN; + static const LobbyMessageType LobbyMessageType_MAX = + LobbyMessage_LobbyMessageType_LobbyMessageType_MAX; + static const int LobbyMessageType_ARRAYSIZE = + LobbyMessage_LobbyMessageType_LobbyMessageType_ARRAYSIZE; + + // accessors ------------------------------------------------------- + + // required .LobbyMessage.LobbyMessageType messageType = 1; + inline bool has_messagetype() const; + inline void clear_messagetype(); + static const int kMessageTypeFieldNumber = 1; + inline ::LobbyMessage_LobbyMessageType messagetype() const; + inline void set_messagetype(::LobbyMessage_LobbyMessageType value); + + // optional .InitMessage initMessage = 2; + inline bool has_initmessage() const; + inline void clear_initmessage(); + static const int kInitMessageFieldNumber = 2; + inline const ::InitMessage& initmessage() const; + inline ::InitMessage* mutable_initmessage(); + inline ::InitMessage* release_initmessage(); + inline void set_allocated_initmessage(::InitMessage* initmessage); + + // optional .InitAckMessage initAckMessage = 3; + inline bool has_initackmessage() const; + inline void clear_initackmessage(); + static const int kInitAckMessageFieldNumber = 3; + inline const ::InitAckMessage& initackmessage() const; + inline ::InitAckMessage* mutable_initackmessage(); + inline ::InitAckMessage* release_initackmessage(); + inline void set_allocated_initackmessage(::InitAckMessage* initackmessage); + + // optional .AvatarRequestMessage avatarRequestMessage = 4; + inline bool has_avatarrequestmessage() const; + inline void clear_avatarrequestmessage(); + static const int kAvatarRequestMessageFieldNumber = 4; + inline const ::AvatarRequestMessage& avatarrequestmessage() const; + inline ::AvatarRequestMessage* mutable_avatarrequestmessage(); + inline ::AvatarRequestMessage* release_avatarrequestmessage(); + inline void set_allocated_avatarrequestmessage(::AvatarRequestMessage* avatarrequestmessage); + + // optional .AvatarHeaderMessage avatarHeaderMessage = 5; + inline bool has_avatarheadermessage() const; + inline void clear_avatarheadermessage(); + static const int kAvatarHeaderMessageFieldNumber = 5; + inline const ::AvatarHeaderMessage& avatarheadermessage() const; + inline ::AvatarHeaderMessage* mutable_avatarheadermessage(); + inline ::AvatarHeaderMessage* release_avatarheadermessage(); + inline void set_allocated_avatarheadermessage(::AvatarHeaderMessage* avatarheadermessage); + + // optional .AvatarDataMessage avatarDataMessage = 6; + inline bool has_avatardatamessage() const; + inline void clear_avatardatamessage(); + static const int kAvatarDataMessageFieldNumber = 6; + inline const ::AvatarDataMessage& avatardatamessage() const; + inline ::AvatarDataMessage* mutable_avatardatamessage(); + inline ::AvatarDataMessage* release_avatardatamessage(); + inline void set_allocated_avatardatamessage(::AvatarDataMessage* avatardatamessage); + + // optional .AvatarEndMessage avatarEndMessage = 7; + inline bool has_avatarendmessage() const; + inline void clear_avatarendmessage(); + static const int kAvatarEndMessageFieldNumber = 7; + inline const ::AvatarEndMessage& avatarendmessage() const; + inline ::AvatarEndMessage* mutable_avatarendmessage(); + inline ::AvatarEndMessage* release_avatarendmessage(); + inline void set_allocated_avatarendmessage(::AvatarEndMessage* avatarendmessage); + + // optional .UnknownAvatarMessage unknownAvatarMessage = 8; + inline bool has_unknownavatarmessage() const; + inline void clear_unknownavatarmessage(); + static const int kUnknownAvatarMessageFieldNumber = 8; + inline const ::UnknownAvatarMessage& unknownavatarmessage() const; + inline ::UnknownAvatarMessage* mutable_unknownavatarmessage(); + inline ::UnknownAvatarMessage* release_unknownavatarmessage(); + inline void set_allocated_unknownavatarmessage(::UnknownAvatarMessage* unknownavatarmessage); + + // optional .PlayerListMessage playerListMessage = 9; + inline bool has_playerlistmessage() const; + inline void clear_playerlistmessage(); + static const int kPlayerListMessageFieldNumber = 9; + inline const ::PlayerListMessage& playerlistmessage() const; + inline ::PlayerListMessage* mutable_playerlistmessage(); + inline ::PlayerListMessage* release_playerlistmessage(); + inline void set_allocated_playerlistmessage(::PlayerListMessage* playerlistmessage); + + // optional .GameListNewMessage gameListNewMessage = 10; + inline bool has_gamelistnewmessage() const; + inline void clear_gamelistnewmessage(); + static const int kGameListNewMessageFieldNumber = 10; + inline const ::GameListNewMessage& gamelistnewmessage() const; + inline ::GameListNewMessage* mutable_gamelistnewmessage(); + inline ::GameListNewMessage* release_gamelistnewmessage(); + inline void set_allocated_gamelistnewmessage(::GameListNewMessage* gamelistnewmessage); + + // optional .GameListUpdateMessage gameListUpdateMessage = 11; + inline bool has_gamelistupdatemessage() const; + inline void clear_gamelistupdatemessage(); + static const int kGameListUpdateMessageFieldNumber = 11; + inline const ::GameListUpdateMessage& gamelistupdatemessage() const; + inline ::GameListUpdateMessage* mutable_gamelistupdatemessage(); + inline ::GameListUpdateMessage* release_gamelistupdatemessage(); + inline void set_allocated_gamelistupdatemessage(::GameListUpdateMessage* gamelistupdatemessage); + + // optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 12; + inline bool has_gamelistplayerjoinedmessage() const; + inline void clear_gamelistplayerjoinedmessage(); + static const int kGameListPlayerJoinedMessageFieldNumber = 12; + inline const ::GameListPlayerJoinedMessage& gamelistplayerjoinedmessage() const; + inline ::GameListPlayerJoinedMessage* mutable_gamelistplayerjoinedmessage(); + inline ::GameListPlayerJoinedMessage* release_gamelistplayerjoinedmessage(); + inline void set_allocated_gamelistplayerjoinedmessage(::GameListPlayerJoinedMessage* gamelistplayerjoinedmessage); + + // optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 13; + inline bool has_gamelistplayerleftmessage() const; + inline void clear_gamelistplayerleftmessage(); + static const int kGameListPlayerLeftMessageFieldNumber = 13; + inline const ::GameListPlayerLeftMessage& gamelistplayerleftmessage() const; + inline ::GameListPlayerLeftMessage* mutable_gamelistplayerleftmessage(); + inline ::GameListPlayerLeftMessage* release_gamelistplayerleftmessage(); + inline void set_allocated_gamelistplayerleftmessage(::GameListPlayerLeftMessage* gamelistplayerleftmessage); + + // optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 14; + inline bool has_gamelistspectatorjoinedmessage() const; + inline void clear_gamelistspectatorjoinedmessage(); + static const int kGameListSpectatorJoinedMessageFieldNumber = 14; + inline const ::GameListSpectatorJoinedMessage& gamelistspectatorjoinedmessage() const; + inline ::GameListSpectatorJoinedMessage* mutable_gamelistspectatorjoinedmessage(); + inline ::GameListSpectatorJoinedMessage* release_gamelistspectatorjoinedmessage(); + inline void set_allocated_gamelistspectatorjoinedmessage(::GameListSpectatorJoinedMessage* gamelistspectatorjoinedmessage); + + // optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 15; + inline bool has_gamelistspectatorleftmessage() const; + inline void clear_gamelistspectatorleftmessage(); + static const int kGameListSpectatorLeftMessageFieldNumber = 15; + inline const ::GameListSpectatorLeftMessage& gamelistspectatorleftmessage() const; + inline ::GameListSpectatorLeftMessage* mutable_gamelistspectatorleftmessage(); + inline ::GameListSpectatorLeftMessage* release_gamelistspectatorleftmessage(); + inline void set_allocated_gamelistspectatorleftmessage(::GameListSpectatorLeftMessage* gamelistspectatorleftmessage); + + // optional .GameListAdminChangedMessage gameListAdminChangedMessage = 16; + inline bool has_gamelistadminchangedmessage() const; + inline void clear_gamelistadminchangedmessage(); + static const int kGameListAdminChangedMessageFieldNumber = 16; + inline const ::GameListAdminChangedMessage& gamelistadminchangedmessage() const; + inline ::GameListAdminChangedMessage* mutable_gamelistadminchangedmessage(); + inline ::GameListAdminChangedMessage* release_gamelistadminchangedmessage(); + inline void set_allocated_gamelistadminchangedmessage(::GameListAdminChangedMessage* gamelistadminchangedmessage); + + // optional .PlayerInfoRequestMessage playerInfoRequestMessage = 17; + inline bool has_playerinforequestmessage() const; + inline void clear_playerinforequestmessage(); + static const int kPlayerInfoRequestMessageFieldNumber = 17; + inline const ::PlayerInfoRequestMessage& playerinforequestmessage() const; + inline ::PlayerInfoRequestMessage* mutable_playerinforequestmessage(); + inline ::PlayerInfoRequestMessage* release_playerinforequestmessage(); + inline void set_allocated_playerinforequestmessage(::PlayerInfoRequestMessage* playerinforequestmessage); + + // optional .PlayerInfoReplyMessage playerInfoReplyMessage = 18; + inline bool has_playerinforeplymessage() const; + inline void clear_playerinforeplymessage(); + static const int kPlayerInfoReplyMessageFieldNumber = 18; + inline const ::PlayerInfoReplyMessage& playerinforeplymessage() const; + inline ::PlayerInfoReplyMessage* mutable_playerinforeplymessage(); + inline ::PlayerInfoReplyMessage* release_playerinforeplymessage(); + inline void set_allocated_playerinforeplymessage(::PlayerInfoReplyMessage* playerinforeplymessage); + + // optional .SubscriptionRequestMessage subscriptionRequestMessage = 19; + inline bool has_subscriptionrequestmessage() const; + inline void clear_subscriptionrequestmessage(); + static const int kSubscriptionRequestMessageFieldNumber = 19; + inline const ::SubscriptionRequestMessage& subscriptionrequestmessage() const; + inline ::SubscriptionRequestMessage* mutable_subscriptionrequestmessage(); + inline ::SubscriptionRequestMessage* release_subscriptionrequestmessage(); + inline void set_allocated_subscriptionrequestmessage(::SubscriptionRequestMessage* subscriptionrequestmessage); + + // optional .SubscriptionReplyMessage subscriptionReplyMessage = 20; + inline bool has_subscriptionreplymessage() const; + inline void clear_subscriptionreplymessage(); + static const int kSubscriptionReplyMessageFieldNumber = 20; + inline const ::SubscriptionReplyMessage& subscriptionreplymessage() const; + inline ::SubscriptionReplyMessage* mutable_subscriptionreplymessage(); + inline ::SubscriptionReplyMessage* release_subscriptionreplymessage(); + inline void set_allocated_subscriptionreplymessage(::SubscriptionReplyMessage* subscriptionreplymessage); + + // optional .CreateGameMessage createGameMessage = 21; + inline bool has_creategamemessage() const; + inline void clear_creategamemessage(); + static const int kCreateGameMessageFieldNumber = 21; + inline const ::CreateGameMessage& creategamemessage() const; + inline ::CreateGameMessage* mutable_creategamemessage(); + inline ::CreateGameMessage* release_creategamemessage(); + inline void set_allocated_creategamemessage(::CreateGameMessage* creategamemessage); + + // optional .CreateGameFailedMessage createGameFailedMessage = 22; + inline bool has_creategamefailedmessage() const; + inline void clear_creategamefailedmessage(); + static const int kCreateGameFailedMessageFieldNumber = 22; + inline const ::CreateGameFailedMessage& creategamefailedmessage() const; + inline ::CreateGameFailedMessage* mutable_creategamefailedmessage(); + inline ::CreateGameFailedMessage* release_creategamefailedmessage(); + inline void set_allocated_creategamefailedmessage(::CreateGameFailedMessage* creategamefailedmessage); + + // optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 23; + inline bool has_inviteplayertogamemessage() const; + inline void clear_inviteplayertogamemessage(); + static const int kInvitePlayerToGameMessageFieldNumber = 23; + inline const ::InvitePlayerToGameMessage& inviteplayertogamemessage() const; + inline ::InvitePlayerToGameMessage* mutable_inviteplayertogamemessage(); + inline ::InvitePlayerToGameMessage* release_inviteplayertogamemessage(); + inline void set_allocated_inviteplayertogamemessage(::InvitePlayerToGameMessage* inviteplayertogamemessage); + + // optional .InviteNotifyMessage inviteNotifyMessage = 24; + inline bool has_invitenotifymessage() const; + inline void clear_invitenotifymessage(); + static const int kInviteNotifyMessageFieldNumber = 24; + inline const ::InviteNotifyMessage& invitenotifymessage() const; + inline ::InviteNotifyMessage* mutable_invitenotifymessage(); + inline ::InviteNotifyMessage* release_invitenotifymessage(); + inline void set_allocated_invitenotifymessage(::InviteNotifyMessage* invitenotifymessage); + + // optional .RejectGameInvitationMessage rejectGameInvitationMessage = 25; + inline bool has_rejectgameinvitationmessage() const; + inline void clear_rejectgameinvitationmessage(); + static const int kRejectGameInvitationMessageFieldNumber = 25; + inline const ::RejectGameInvitationMessage& rejectgameinvitationmessage() const; + inline ::RejectGameInvitationMessage* mutable_rejectgameinvitationmessage(); + inline ::RejectGameInvitationMessage* release_rejectgameinvitationmessage(); + inline void set_allocated_rejectgameinvitationmessage(::RejectGameInvitationMessage* rejectgameinvitationmessage); + + // optional .RejectInvNotifyMessage rejectInvNotifyMessage = 26; + inline bool has_rejectinvnotifymessage() const; + inline void clear_rejectinvnotifymessage(); + static const int kRejectInvNotifyMessageFieldNumber = 26; + inline const ::RejectInvNotifyMessage& rejectinvnotifymessage() const; + inline ::RejectInvNotifyMessage* mutable_rejectinvnotifymessage(); + inline ::RejectInvNotifyMessage* release_rejectinvnotifymessage(); + inline void set_allocated_rejectinvnotifymessage(::RejectInvNotifyMessage* rejectinvnotifymessage); + + // optional .StatisticsMessage statisticsMessage = 27; + inline bool has_statisticsmessage() const; + inline void clear_statisticsmessage(); + static const int kStatisticsMessageFieldNumber = 27; + inline const ::StatisticsMessage& statisticsmessage() const; + inline ::StatisticsMessage* mutable_statisticsmessage(); + inline ::StatisticsMessage* release_statisticsmessage(); + inline void set_allocated_statisticsmessage(::StatisticsMessage* statisticsmessage); + + // optional .ChatRequestMessage chatRequestMessage = 28; + inline bool has_chatrequestmessage() const; + inline void clear_chatrequestmessage(); + static const int kChatRequestMessageFieldNumber = 28; + inline const ::ChatRequestMessage& chatrequestmessage() const; + inline ::ChatRequestMessage* mutable_chatrequestmessage(); + inline ::ChatRequestMessage* release_chatrequestmessage(); + inline void set_allocated_chatrequestmessage(::ChatRequestMessage* chatrequestmessage); + + // optional .ChatMessage chatMessage = 29; + inline bool has_chatmessage() const; + inline void clear_chatmessage(); + static const int kChatMessageFieldNumber = 29; + inline const ::ChatMessage& chatmessage() const; + inline ::ChatMessage* mutable_chatmessage(); + inline ::ChatMessage* release_chatmessage(); + inline void set_allocated_chatmessage(::ChatMessage* chatmessage); + + // optional .ChatRejectMessage chatRejectMessage = 30; + inline bool has_chatrejectmessage() const; + inline void clear_chatrejectmessage(); + static const int kChatRejectMessageFieldNumber = 30; + inline const ::ChatRejectMessage& chatrejectmessage() const; + inline ::ChatRejectMessage* mutable_chatrejectmessage(); + inline ::ChatRejectMessage* release_chatrejectmessage(); + inline void set_allocated_chatrejectmessage(::ChatRejectMessage* chatrejectmessage); + + // optional .DialogMessage dialogMessage = 31; + inline bool has_dialogmessage() const; + inline void clear_dialogmessage(); + static const int kDialogMessageFieldNumber = 31; + inline const ::DialogMessage& dialogmessage() const; + inline ::DialogMessage* mutable_dialogmessage(); + inline ::DialogMessage* release_dialogmessage(); + inline void set_allocated_dialogmessage(::DialogMessage* dialogmessage); + + // optional .TimeoutWarningMessage timeoutWarningMessage = 32; + inline bool has_timeoutwarningmessage() const; + inline void clear_timeoutwarningmessage(); + static const int kTimeoutWarningMessageFieldNumber = 32; + inline const ::TimeoutWarningMessage& timeoutwarningmessage() const; + inline ::TimeoutWarningMessage* mutable_timeoutwarningmessage(); + inline ::TimeoutWarningMessage* release_timeoutwarningmessage(); + inline void set_allocated_timeoutwarningmessage(::TimeoutWarningMessage* timeoutwarningmessage); + + // optional .ResetTimeoutMessage resetTimeoutMessage = 33; + inline bool has_resettimeoutmessage() const; + inline void clear_resettimeoutmessage(); + static const int kResetTimeoutMessageFieldNumber = 33; + inline const ::ResetTimeoutMessage& resettimeoutmessage() const; + inline ::ResetTimeoutMessage* mutable_resettimeoutmessage(); + inline ::ResetTimeoutMessage* release_resettimeoutmessage(); + inline void set_allocated_resettimeoutmessage(::ResetTimeoutMessage* resettimeoutmessage); + + // optional .ReportAvatarMessage reportAvatarMessage = 34; + inline bool has_reportavatarmessage() const; + inline void clear_reportavatarmessage(); + static const int kReportAvatarMessageFieldNumber = 34; + inline const ::ReportAvatarMessage& reportavatarmessage() const; + inline ::ReportAvatarMessage* mutable_reportavatarmessage(); + inline ::ReportAvatarMessage* release_reportavatarmessage(); + inline void set_allocated_reportavatarmessage(::ReportAvatarMessage* reportavatarmessage); + + // optional .ReportAvatarAckMessage reportAvatarAckMessage = 35; + inline bool has_reportavatarackmessage() const; + inline void clear_reportavatarackmessage(); + static const int kReportAvatarAckMessageFieldNumber = 35; + inline const ::ReportAvatarAckMessage& reportavatarackmessage() const; + inline ::ReportAvatarAckMessage* mutable_reportavatarackmessage(); + inline ::ReportAvatarAckMessage* release_reportavatarackmessage(); + inline void set_allocated_reportavatarackmessage(::ReportAvatarAckMessage* reportavatarackmessage); + + // optional .ReportGameMessage reportGameMessage = 36; + inline bool has_reportgamemessage() const; + inline void clear_reportgamemessage(); + static const int kReportGameMessageFieldNumber = 36; + inline const ::ReportGameMessage& reportgamemessage() const; + inline ::ReportGameMessage* mutable_reportgamemessage(); + inline ::ReportGameMessage* release_reportgamemessage(); + inline void set_allocated_reportgamemessage(::ReportGameMessage* reportgamemessage); + + // optional .ReportGameAckMessage reportGameAckMessage = 37; + inline bool has_reportgameackmessage() const; + inline void clear_reportgameackmessage(); + static const int kReportGameAckMessageFieldNumber = 37; + inline const ::ReportGameAckMessage& reportgameackmessage() const; + inline ::ReportGameAckMessage* mutable_reportgameackmessage(); + inline ::ReportGameAckMessage* release_reportgameackmessage(); + inline void set_allocated_reportgameackmessage(::ReportGameAckMessage* reportgameackmessage); + + // optional .AdminRemoveGameMessage adminRemoveGameMessage = 38; + inline bool has_adminremovegamemessage() const; + inline void clear_adminremovegamemessage(); + static const int kAdminRemoveGameMessageFieldNumber = 38; + inline const ::AdminRemoveGameMessage& adminremovegamemessage() const; + inline ::AdminRemoveGameMessage* mutable_adminremovegamemessage(); + inline ::AdminRemoveGameMessage* release_adminremovegamemessage(); + inline void set_allocated_adminremovegamemessage(::AdminRemoveGameMessage* adminremovegamemessage); + + // optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 39; + inline bool has_adminremovegameackmessage() const; + inline void clear_adminremovegameackmessage(); + static const int kAdminRemoveGameAckMessageFieldNumber = 39; + inline const ::AdminRemoveGameAckMessage& adminremovegameackmessage() const; + inline ::AdminRemoveGameAckMessage* mutable_adminremovegameackmessage(); + inline ::AdminRemoveGameAckMessage* release_adminremovegameackmessage(); + inline void set_allocated_adminremovegameackmessage(::AdminRemoveGameAckMessage* adminremovegameackmessage); + + // optional .AdminBanPlayerMessage adminBanPlayerMessage = 40; + inline bool has_adminbanplayermessage() const; + inline void clear_adminbanplayermessage(); + static const int kAdminBanPlayerMessageFieldNumber = 40; + inline const ::AdminBanPlayerMessage& adminbanplayermessage() const; + inline ::AdminBanPlayerMessage* mutable_adminbanplayermessage(); + inline ::AdminBanPlayerMessage* release_adminbanplayermessage(); + inline void set_allocated_adminbanplayermessage(::AdminBanPlayerMessage* adminbanplayermessage); + + // optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 41; + inline bool has_adminbanplayerackmessage() const; + inline void clear_adminbanplayerackmessage(); + static const int kAdminBanPlayerAckMessageFieldNumber = 41; + inline const ::AdminBanPlayerAckMessage& adminbanplayerackmessage() const; + inline ::AdminBanPlayerAckMessage* mutable_adminbanplayerackmessage(); + inline ::AdminBanPlayerAckMessage* release_adminbanplayerackmessage(); + inline void set_allocated_adminbanplayerackmessage(::AdminBanPlayerAckMessage* adminbanplayerackmessage); + + // optional .ErrorMessage errorMessage = 1025; + inline bool has_errormessage() const; + inline void clear_errormessage(); + static const int kErrorMessageFieldNumber = 1025; + inline const ::ErrorMessage& errormessage() const; + inline ::ErrorMessage* mutable_errormessage(); + inline ::ErrorMessage* release_errormessage(); + inline void set_allocated_errormessage(::ErrorMessage* errormessage); + + // @@protoc_insertion_point(class_scope:LobbyMessage) + private: + inline void set_has_messagetype(); + inline void clear_has_messagetype(); + inline void set_has_initmessage(); + inline void clear_has_initmessage(); + inline void set_has_initackmessage(); + inline void clear_has_initackmessage(); + inline void set_has_avatarrequestmessage(); + inline void clear_has_avatarrequestmessage(); + inline void set_has_avatarheadermessage(); + inline void clear_has_avatarheadermessage(); + inline void set_has_avatardatamessage(); + inline void clear_has_avatardatamessage(); + inline void set_has_avatarendmessage(); + inline void clear_has_avatarendmessage(); + inline void set_has_unknownavatarmessage(); + inline void clear_has_unknownavatarmessage(); + inline void set_has_playerlistmessage(); + inline void clear_has_playerlistmessage(); + inline void set_has_gamelistnewmessage(); + inline void clear_has_gamelistnewmessage(); + inline void set_has_gamelistupdatemessage(); + inline void clear_has_gamelistupdatemessage(); + inline void set_has_gamelistplayerjoinedmessage(); + inline void clear_has_gamelistplayerjoinedmessage(); + inline void set_has_gamelistplayerleftmessage(); + inline void clear_has_gamelistplayerleftmessage(); + inline void set_has_gamelistspectatorjoinedmessage(); + inline void clear_has_gamelistspectatorjoinedmessage(); + inline void set_has_gamelistspectatorleftmessage(); + inline void clear_has_gamelistspectatorleftmessage(); + inline void set_has_gamelistadminchangedmessage(); + inline void clear_has_gamelistadminchangedmessage(); + inline void set_has_playerinforequestmessage(); + inline void clear_has_playerinforequestmessage(); + inline void set_has_playerinforeplymessage(); + inline void clear_has_playerinforeplymessage(); + inline void set_has_subscriptionrequestmessage(); + inline void clear_has_subscriptionrequestmessage(); + inline void set_has_subscriptionreplymessage(); + inline void clear_has_subscriptionreplymessage(); + inline void set_has_creategamemessage(); + inline void clear_has_creategamemessage(); + inline void set_has_creategamefailedmessage(); + inline void clear_has_creategamefailedmessage(); + inline void set_has_inviteplayertogamemessage(); + inline void clear_has_inviteplayertogamemessage(); + inline void set_has_invitenotifymessage(); + inline void clear_has_invitenotifymessage(); + inline void set_has_rejectgameinvitationmessage(); + inline void clear_has_rejectgameinvitationmessage(); + inline void set_has_rejectinvnotifymessage(); + inline void clear_has_rejectinvnotifymessage(); + inline void set_has_statisticsmessage(); + inline void clear_has_statisticsmessage(); + inline void set_has_chatrequestmessage(); + inline void clear_has_chatrequestmessage(); + inline void set_has_chatmessage(); + inline void clear_has_chatmessage(); + inline void set_has_chatrejectmessage(); + inline void clear_has_chatrejectmessage(); + inline void set_has_dialogmessage(); + inline void clear_has_dialogmessage(); + inline void set_has_timeoutwarningmessage(); + inline void clear_has_timeoutwarningmessage(); + inline void set_has_resettimeoutmessage(); + inline void clear_has_resettimeoutmessage(); + inline void set_has_reportavatarmessage(); + inline void clear_has_reportavatarmessage(); + inline void set_has_reportavatarackmessage(); + inline void clear_has_reportavatarackmessage(); + inline void set_has_reportgamemessage(); + inline void clear_has_reportgamemessage(); + inline void set_has_reportgameackmessage(); + inline void clear_has_reportgameackmessage(); + inline void set_has_adminremovegamemessage(); + inline void clear_has_adminremovegamemessage(); + inline void set_has_adminremovegameackmessage(); + inline void clear_has_adminremovegameackmessage(); + inline void set_has_adminbanplayermessage(); + inline void clear_has_adminbanplayermessage(); + inline void set_has_adminbanplayerackmessage(); + inline void clear_has_adminbanplayerackmessage(); + inline void set_has_errormessage(); + inline void clear_has_errormessage(); + + ::InitMessage* initmessage_; + ::InitAckMessage* initackmessage_; + ::AvatarRequestMessage* avatarrequestmessage_; + ::AvatarHeaderMessage* avatarheadermessage_; + ::AvatarDataMessage* avatardatamessage_; + ::AvatarEndMessage* avatarendmessage_; + ::UnknownAvatarMessage* unknownavatarmessage_; + ::PlayerListMessage* playerlistmessage_; + ::GameListNewMessage* gamelistnewmessage_; + ::GameListUpdateMessage* gamelistupdatemessage_; + ::GameListPlayerJoinedMessage* gamelistplayerjoinedmessage_; + ::GameListPlayerLeftMessage* gamelistplayerleftmessage_; + ::GameListSpectatorJoinedMessage* gamelistspectatorjoinedmessage_; + ::GameListSpectatorLeftMessage* gamelistspectatorleftmessage_; + ::GameListAdminChangedMessage* gamelistadminchangedmessage_; + ::PlayerInfoRequestMessage* playerinforequestmessage_; + ::PlayerInfoReplyMessage* playerinforeplymessage_; + ::SubscriptionRequestMessage* subscriptionrequestmessage_; + ::SubscriptionReplyMessage* subscriptionreplymessage_; + ::CreateGameMessage* creategamemessage_; + ::CreateGameFailedMessage* creategamefailedmessage_; + ::InvitePlayerToGameMessage* inviteplayertogamemessage_; + ::InviteNotifyMessage* invitenotifymessage_; + ::RejectGameInvitationMessage* rejectgameinvitationmessage_; + ::RejectInvNotifyMessage* rejectinvnotifymessage_; + ::StatisticsMessage* statisticsmessage_; + ::ChatRequestMessage* chatrequestmessage_; + ::ChatMessage* chatmessage_; + ::ChatRejectMessage* chatrejectmessage_; + ::DialogMessage* dialogmessage_; + ::TimeoutWarningMessage* timeoutwarningmessage_; + ::ResetTimeoutMessage* resettimeoutmessage_; + ::ReportAvatarMessage* reportavatarmessage_; + ::ReportAvatarAckMessage* reportavatarackmessage_; + ::ReportGameMessage* reportgamemessage_; + ::ReportGameAckMessage* reportgameackmessage_; + ::AdminRemoveGameMessage* adminremovegamemessage_; + ::AdminRemoveGameAckMessage* adminremovegameackmessage_; + ::AdminBanPlayerMessage* adminbanplayermessage_; + ::AdminBanPlayerAckMessage* adminbanplayerackmessage_; + ::ErrorMessage* errormessage_; + int messagetype_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(42 + 31) / 32]; + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else + friend void protobuf_AddDesc_pokerth_2eproto(); + #endif + friend void protobuf_AssignDesc_pokerth_2eproto(); + friend void protobuf_ShutdownFile_pokerth_2eproto(); + + void InitAsDefaultInstance(); + static LobbyMessage* default_instance_; +}; +// ------------------------------------------------------------------- + +class GameManagementMessage : public ::google::protobuf::MessageLite { + public: + GameManagementMessage(); + virtual ~GameManagementMessage(); + + GameManagementMessage(const GameManagementMessage& from); + + inline GameManagementMessage& operator=(const GameManagementMessage& from) { + CopyFrom(from); + return *this; + } + + static const GameManagementMessage& default_instance(); + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const GameManagementMessage* internal_default_instance() { + return default_instance_; + } + #endif + + void Swap(GameManagementMessage* other); + + // implements Message ---------------------------------------------- + + GameManagementMessage* New() const; + void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); + void CopyFrom(const GameManagementMessage& from); + void MergeFrom(const GameManagementMessage& from); + void Clear(); + bool IsInitialized() const; + + int ByteSize() const; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input); + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + + ::std::string GetTypeName() const; + + // nested types ---------------------------------------------------- + + typedef GameManagementMessage_GameManagementMessageType GameManagementMessageType; + static const GameManagementMessageType Type_JoinGameMessage = GameManagementMessage_GameManagementMessageType_Type_JoinGameMessage; + static const GameManagementMessageType Type_RejoinGameMessage = GameManagementMessage_GameManagementMessageType_Type_RejoinGameMessage; + static const GameManagementMessageType Type_JoinGameAckMessage = GameManagementMessage_GameManagementMessageType_Type_JoinGameAckMessage; + static const GameManagementMessageType Type_JoinGameFailedMessage = GameManagementMessage_GameManagementMessageType_Type_JoinGameFailedMessage; + static const GameManagementMessageType Type_GamePlayerJoinedMessage = GameManagementMessage_GameManagementMessageType_Type_GamePlayerJoinedMessage; + static const GameManagementMessageType Type_GamePlayerLeftMessage = GameManagementMessage_GameManagementMessageType_Type_GamePlayerLeftMessage; + static const GameManagementMessageType Type_GameSpectatorJoinedMessage = GameManagementMessage_GameManagementMessageType_Type_GameSpectatorJoinedMessage; + static const GameManagementMessageType Type_GameSpectatorLeftMessage = GameManagementMessage_GameManagementMessageType_Type_GameSpectatorLeftMessage; + static const GameManagementMessageType Type_GameAdminChangedMessage = GameManagementMessage_GameManagementMessageType_Type_GameAdminChangedMessage; + static const GameManagementMessageType Type_RemovedFromGameMessage = GameManagementMessage_GameManagementMessageType_Type_RemovedFromGameMessage; + static const GameManagementMessageType Type_KickPlayerRequestMessage = GameManagementMessage_GameManagementMessageType_Type_KickPlayerRequestMessage; + static const GameManagementMessageType Type_LeaveGameRequestMessage = GameManagementMessage_GameManagementMessageType_Type_LeaveGameRequestMessage; + static const GameManagementMessageType Type_StartEventMessage = GameManagementMessage_GameManagementMessageType_Type_StartEventMessage; + static const GameManagementMessageType Type_StartEventAckMessage = GameManagementMessage_GameManagementMessageType_Type_StartEventAckMessage; + static const GameManagementMessageType Type_GameStartInitialMessage = GameManagementMessage_GameManagementMessageType_Type_GameStartInitialMessage; + static const GameManagementMessageType Type_GameStartRejoinMessage = GameManagementMessage_GameManagementMessageType_Type_GameStartRejoinMessage; + static const GameManagementMessageType Type_EndOfGameMessage = GameManagementMessage_GameManagementMessageType_Type_EndOfGameMessage; + static const GameManagementMessageType Type_PlayerIdChangedMessage = GameManagementMessage_GameManagementMessageType_Type_PlayerIdChangedMessage; + static const GameManagementMessageType Type_AskKickPlayerMessage = GameManagementMessage_GameManagementMessageType_Type_AskKickPlayerMessage; + static const GameManagementMessageType Type_AskKickDeniedMessage = GameManagementMessage_GameManagementMessageType_Type_AskKickDeniedMessage; + static const GameManagementMessageType Type_StartKickPetitionMessage = GameManagementMessage_GameManagementMessageType_Type_StartKickPetitionMessage; + static const GameManagementMessageType Type_VoteKickRequestMessage = GameManagementMessage_GameManagementMessageType_Type_VoteKickRequestMessage; + static const GameManagementMessageType Type_VoteKickReplyMessage = GameManagementMessage_GameManagementMessageType_Type_VoteKickReplyMessage; + static const GameManagementMessageType Type_KickPetitionUpdateMessage = GameManagementMessage_GameManagementMessageType_Type_KickPetitionUpdateMessage; + static const GameManagementMessageType Type_EndKickPetitionMessage = GameManagementMessage_GameManagementMessageType_Type_EndKickPetitionMessage; + static const GameManagementMessageType Type_ChatRequestMessage = GameManagementMessage_GameManagementMessageType_Type_ChatRequestMessage; + static const GameManagementMessageType Type_ChatMessage = GameManagementMessage_GameManagementMessageType_Type_ChatMessage; + static const GameManagementMessageType Type_ChatRejectMessage = GameManagementMessage_GameManagementMessageType_Type_ChatRejectMessage; + static const GameManagementMessageType Type_ErrorMessage = GameManagementMessage_GameManagementMessageType_Type_ErrorMessage; + static inline bool GameManagementMessageType_IsValid(int value) { + return GameManagementMessage_GameManagementMessageType_IsValid(value); + } + static const GameManagementMessageType GameManagementMessageType_MIN = + GameManagementMessage_GameManagementMessageType_GameManagementMessageType_MIN; + static const GameManagementMessageType GameManagementMessageType_MAX = + GameManagementMessage_GameManagementMessageType_GameManagementMessageType_MAX; + static const int GameManagementMessageType_ARRAYSIZE = + GameManagementMessage_GameManagementMessageType_GameManagementMessageType_ARRAYSIZE; + + // accessors ------------------------------------------------------- + + // required .GameManagementMessage.GameManagementMessageType messageType = 1; + inline bool has_messagetype() const; + inline void clear_messagetype(); + static const int kMessageTypeFieldNumber = 1; + inline ::GameManagementMessage_GameManagementMessageType messagetype() const; + inline void set_messagetype(::GameManagementMessage_GameManagementMessageType value); + + // optional .JoinGameMessage joinGameMessage = 2; + inline bool has_joingamemessage() const; + inline void clear_joingamemessage(); + static const int kJoinGameMessageFieldNumber = 2; + inline const ::JoinGameMessage& joingamemessage() const; + inline ::JoinGameMessage* mutable_joingamemessage(); + inline ::JoinGameMessage* release_joingamemessage(); + inline void set_allocated_joingamemessage(::JoinGameMessage* joingamemessage); + + // optional .RejoinGameMessage rejoinGameMessage = 3; + inline bool has_rejoingamemessage() const; + inline void clear_rejoingamemessage(); + static const int kRejoinGameMessageFieldNumber = 3; + inline const ::RejoinGameMessage& rejoingamemessage() const; + inline ::RejoinGameMessage* mutable_rejoingamemessage(); + inline ::RejoinGameMessage* release_rejoingamemessage(); + inline void set_allocated_rejoingamemessage(::RejoinGameMessage* rejoingamemessage); + + // optional .JoinGameAckMessage joinGameAckMessage = 4; + inline bool has_joingameackmessage() const; + inline void clear_joingameackmessage(); + static const int kJoinGameAckMessageFieldNumber = 4; + inline const ::JoinGameAckMessage& joingameackmessage() const; + inline ::JoinGameAckMessage* mutable_joingameackmessage(); + inline ::JoinGameAckMessage* release_joingameackmessage(); + inline void set_allocated_joingameackmessage(::JoinGameAckMessage* joingameackmessage); + + // optional .JoinGameFailedMessage joinGameFailedMessage = 5; + inline bool has_joingamefailedmessage() const; + inline void clear_joingamefailedmessage(); + static const int kJoinGameFailedMessageFieldNumber = 5; + inline const ::JoinGameFailedMessage& joingamefailedmessage() const; + inline ::JoinGameFailedMessage* mutable_joingamefailedmessage(); + inline ::JoinGameFailedMessage* release_joingamefailedmessage(); + inline void set_allocated_joingamefailedmessage(::JoinGameFailedMessage* joingamefailedmessage); + + // optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 6; + inline bool has_gameplayerjoinedmessage() const; + inline void clear_gameplayerjoinedmessage(); + static const int kGamePlayerJoinedMessageFieldNumber = 6; + inline const ::GamePlayerJoinedMessage& gameplayerjoinedmessage() const; + inline ::GamePlayerJoinedMessage* mutable_gameplayerjoinedmessage(); + inline ::GamePlayerJoinedMessage* release_gameplayerjoinedmessage(); + inline void set_allocated_gameplayerjoinedmessage(::GamePlayerJoinedMessage* gameplayerjoinedmessage); + + // optional .GamePlayerLeftMessage gamePlayerLeftMessage = 7; + inline bool has_gameplayerleftmessage() const; + inline void clear_gameplayerleftmessage(); + static const int kGamePlayerLeftMessageFieldNumber = 7; + inline const ::GamePlayerLeftMessage& gameplayerleftmessage() const; + inline ::GamePlayerLeftMessage* mutable_gameplayerleftmessage(); + inline ::GamePlayerLeftMessage* release_gameplayerleftmessage(); + inline void set_allocated_gameplayerleftmessage(::GamePlayerLeftMessage* gameplayerleftmessage); + + // optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 8; + inline bool has_gamespectatorjoinedmessage() const; + inline void clear_gamespectatorjoinedmessage(); + static const int kGameSpectatorJoinedMessageFieldNumber = 8; + inline const ::GameSpectatorJoinedMessage& gamespectatorjoinedmessage() const; + inline ::GameSpectatorJoinedMessage* mutable_gamespectatorjoinedmessage(); + inline ::GameSpectatorJoinedMessage* release_gamespectatorjoinedmessage(); + inline void set_allocated_gamespectatorjoinedmessage(::GameSpectatorJoinedMessage* gamespectatorjoinedmessage); + + // optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 9; + inline bool has_gamespectatorleftmessage() const; + inline void clear_gamespectatorleftmessage(); + static const int kGameSpectatorLeftMessageFieldNumber = 9; + inline const ::GameSpectatorLeftMessage& gamespectatorleftmessage() const; + inline ::GameSpectatorLeftMessage* mutable_gamespectatorleftmessage(); + inline ::GameSpectatorLeftMessage* release_gamespectatorleftmessage(); + inline void set_allocated_gamespectatorleftmessage(::GameSpectatorLeftMessage* gamespectatorleftmessage); + + // optional .GameAdminChangedMessage gameAdminChangedMessage = 10; + inline bool has_gameadminchangedmessage() const; + inline void clear_gameadminchangedmessage(); + static const int kGameAdminChangedMessageFieldNumber = 10; + inline const ::GameAdminChangedMessage& gameadminchangedmessage() const; + inline ::GameAdminChangedMessage* mutable_gameadminchangedmessage(); + inline ::GameAdminChangedMessage* release_gameadminchangedmessage(); + inline void set_allocated_gameadminchangedmessage(::GameAdminChangedMessage* gameadminchangedmessage); + + // optional .RemovedFromGameMessage removedFromGameMessage = 11; + inline bool has_removedfromgamemessage() const; + inline void clear_removedfromgamemessage(); + static const int kRemovedFromGameMessageFieldNumber = 11; + inline const ::RemovedFromGameMessage& removedfromgamemessage() const; + inline ::RemovedFromGameMessage* mutable_removedfromgamemessage(); + inline ::RemovedFromGameMessage* release_removedfromgamemessage(); + inline void set_allocated_removedfromgamemessage(::RemovedFromGameMessage* removedfromgamemessage); + + // optional .KickPlayerRequestMessage kickPlayerRequestMessage = 12; + inline bool has_kickplayerrequestmessage() const; + inline void clear_kickplayerrequestmessage(); + static const int kKickPlayerRequestMessageFieldNumber = 12; + inline const ::KickPlayerRequestMessage& kickplayerrequestmessage() const; + inline ::KickPlayerRequestMessage* mutable_kickplayerrequestmessage(); + inline ::KickPlayerRequestMessage* release_kickplayerrequestmessage(); + inline void set_allocated_kickplayerrequestmessage(::KickPlayerRequestMessage* kickplayerrequestmessage); + + // optional .LeaveGameRequestMessage leaveGameRequestMessage = 13; + inline bool has_leavegamerequestmessage() const; + inline void clear_leavegamerequestmessage(); + static const int kLeaveGameRequestMessageFieldNumber = 13; + inline const ::LeaveGameRequestMessage& leavegamerequestmessage() const; + inline ::LeaveGameRequestMessage* mutable_leavegamerequestmessage(); + inline ::LeaveGameRequestMessage* release_leavegamerequestmessage(); + inline void set_allocated_leavegamerequestmessage(::LeaveGameRequestMessage* leavegamerequestmessage); + + // optional .StartEventMessage startEventMessage = 14; + inline bool has_starteventmessage() const; + inline void clear_starteventmessage(); + static const int kStartEventMessageFieldNumber = 14; + inline const ::StartEventMessage& starteventmessage() const; + inline ::StartEventMessage* mutable_starteventmessage(); + inline ::StartEventMessage* release_starteventmessage(); + inline void set_allocated_starteventmessage(::StartEventMessage* starteventmessage); + + // optional .StartEventAckMessage startEventAckMessage = 15; + inline bool has_starteventackmessage() const; + inline void clear_starteventackmessage(); + static const int kStartEventAckMessageFieldNumber = 15; + inline const ::StartEventAckMessage& starteventackmessage() const; + inline ::StartEventAckMessage* mutable_starteventackmessage(); + inline ::StartEventAckMessage* release_starteventackmessage(); + inline void set_allocated_starteventackmessage(::StartEventAckMessage* starteventackmessage); + + // optional .GameStartInitialMessage gameStartInitialMessage = 16; + inline bool has_gamestartinitialmessage() const; + inline void clear_gamestartinitialmessage(); + static const int kGameStartInitialMessageFieldNumber = 16; + inline const ::GameStartInitialMessage& gamestartinitialmessage() const; + inline ::GameStartInitialMessage* mutable_gamestartinitialmessage(); + inline ::GameStartInitialMessage* release_gamestartinitialmessage(); + inline void set_allocated_gamestartinitialmessage(::GameStartInitialMessage* gamestartinitialmessage); + + // optional .GameStartRejoinMessage gameStartRejoinMessage = 17; + inline bool has_gamestartrejoinmessage() const; + inline void clear_gamestartrejoinmessage(); + static const int kGameStartRejoinMessageFieldNumber = 17; + inline const ::GameStartRejoinMessage& gamestartrejoinmessage() const; + inline ::GameStartRejoinMessage* mutable_gamestartrejoinmessage(); + inline ::GameStartRejoinMessage* release_gamestartrejoinmessage(); + inline void set_allocated_gamestartrejoinmessage(::GameStartRejoinMessage* gamestartrejoinmessage); + + // optional .EndOfGameMessage endOfGameMessage = 18; + inline bool has_endofgamemessage() const; + inline void clear_endofgamemessage(); + static const int kEndOfGameMessageFieldNumber = 18; + inline const ::EndOfGameMessage& endofgamemessage() const; + inline ::EndOfGameMessage* mutable_endofgamemessage(); + inline ::EndOfGameMessage* release_endofgamemessage(); + inline void set_allocated_endofgamemessage(::EndOfGameMessage* endofgamemessage); + + // optional .PlayerIdChangedMessage playerIdChangedMessage = 19; + inline bool has_playeridchangedmessage() const; + inline void clear_playeridchangedmessage(); + static const int kPlayerIdChangedMessageFieldNumber = 19; + inline const ::PlayerIdChangedMessage& playeridchangedmessage() const; + inline ::PlayerIdChangedMessage* mutable_playeridchangedmessage(); + inline ::PlayerIdChangedMessage* release_playeridchangedmessage(); + inline void set_allocated_playeridchangedmessage(::PlayerIdChangedMessage* playeridchangedmessage); + + // optional .AskKickPlayerMessage askKickPlayerMessage = 20; + inline bool has_askkickplayermessage() const; + inline void clear_askkickplayermessage(); + static const int kAskKickPlayerMessageFieldNumber = 20; + inline const ::AskKickPlayerMessage& askkickplayermessage() const; + inline ::AskKickPlayerMessage* mutable_askkickplayermessage(); + inline ::AskKickPlayerMessage* release_askkickplayermessage(); + inline void set_allocated_askkickplayermessage(::AskKickPlayerMessage* askkickplayermessage); + + // optional .AskKickDeniedMessage askKickDeniedMessage = 21; + inline bool has_askkickdeniedmessage() const; + inline void clear_askkickdeniedmessage(); + static const int kAskKickDeniedMessageFieldNumber = 21; + inline const ::AskKickDeniedMessage& askkickdeniedmessage() const; + inline ::AskKickDeniedMessage* mutable_askkickdeniedmessage(); + inline ::AskKickDeniedMessage* release_askkickdeniedmessage(); + inline void set_allocated_askkickdeniedmessage(::AskKickDeniedMessage* askkickdeniedmessage); + + // optional .StartKickPetitionMessage startKickPetitionMessage = 22; + inline bool has_startkickpetitionmessage() const; + inline void clear_startkickpetitionmessage(); + static const int kStartKickPetitionMessageFieldNumber = 22; + inline const ::StartKickPetitionMessage& startkickpetitionmessage() const; + inline ::StartKickPetitionMessage* mutable_startkickpetitionmessage(); + inline ::StartKickPetitionMessage* release_startkickpetitionmessage(); + inline void set_allocated_startkickpetitionmessage(::StartKickPetitionMessage* startkickpetitionmessage); + + // optional .VoteKickRequestMessage voteKickRequestMessage = 23; + inline bool has_votekickrequestmessage() const; + inline void clear_votekickrequestmessage(); + static const int kVoteKickRequestMessageFieldNumber = 23; + inline const ::VoteKickRequestMessage& votekickrequestmessage() const; + inline ::VoteKickRequestMessage* mutable_votekickrequestmessage(); + inline ::VoteKickRequestMessage* release_votekickrequestmessage(); + inline void set_allocated_votekickrequestmessage(::VoteKickRequestMessage* votekickrequestmessage); + + // optional .VoteKickReplyMessage voteKickReplyMessage = 24; + inline bool has_votekickreplymessage() const; + inline void clear_votekickreplymessage(); + static const int kVoteKickReplyMessageFieldNumber = 24; + inline const ::VoteKickReplyMessage& votekickreplymessage() const; + inline ::VoteKickReplyMessage* mutable_votekickreplymessage(); + inline ::VoteKickReplyMessage* release_votekickreplymessage(); + inline void set_allocated_votekickreplymessage(::VoteKickReplyMessage* votekickreplymessage); + + // optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 25; + inline bool has_kickpetitionupdatemessage() const; + inline void clear_kickpetitionupdatemessage(); + static const int kKickPetitionUpdateMessageFieldNumber = 25; + inline const ::KickPetitionUpdateMessage& kickpetitionupdatemessage() const; + inline ::KickPetitionUpdateMessage* mutable_kickpetitionupdatemessage(); + inline ::KickPetitionUpdateMessage* release_kickpetitionupdatemessage(); + inline void set_allocated_kickpetitionupdatemessage(::KickPetitionUpdateMessage* kickpetitionupdatemessage); + + // optional .EndKickPetitionMessage endKickPetitionMessage = 26; + inline bool has_endkickpetitionmessage() const; + inline void clear_endkickpetitionmessage(); + static const int kEndKickPetitionMessageFieldNumber = 26; + inline const ::EndKickPetitionMessage& endkickpetitionmessage() const; + inline ::EndKickPetitionMessage* mutable_endkickpetitionmessage(); + inline ::EndKickPetitionMessage* release_endkickpetitionmessage(); + inline void set_allocated_endkickpetitionmessage(::EndKickPetitionMessage* endkickpetitionmessage); + + // optional .ChatRequestMessage chatRequestMessage = 27; + inline bool has_chatrequestmessage() const; + inline void clear_chatrequestmessage(); + static const int kChatRequestMessageFieldNumber = 27; + inline const ::ChatRequestMessage& chatrequestmessage() const; + inline ::ChatRequestMessage* mutable_chatrequestmessage(); + inline ::ChatRequestMessage* release_chatrequestmessage(); + inline void set_allocated_chatrequestmessage(::ChatRequestMessage* chatrequestmessage); + + // optional .ChatMessage chatMessage = 28; + inline bool has_chatmessage() const; + inline void clear_chatmessage(); + static const int kChatMessageFieldNumber = 28; + inline const ::ChatMessage& chatmessage() const; + inline ::ChatMessage* mutable_chatmessage(); + inline ::ChatMessage* release_chatmessage(); + inline void set_allocated_chatmessage(::ChatMessage* chatmessage); + + // optional .ChatRejectMessage chatRejectMessage = 29; + inline bool has_chatrejectmessage() const; + inline void clear_chatrejectmessage(); + static const int kChatRejectMessageFieldNumber = 29; + inline const ::ChatRejectMessage& chatrejectmessage() const; + inline ::ChatRejectMessage* mutable_chatrejectmessage(); + inline ::ChatRejectMessage* release_chatrejectmessage(); + inline void set_allocated_chatrejectmessage(::ChatRejectMessage* chatrejectmessage); + + // optional .ErrorMessage errorMessage = 1025; + inline bool has_errormessage() const; + inline void clear_errormessage(); + static const int kErrorMessageFieldNumber = 1025; + inline const ::ErrorMessage& errormessage() const; + inline ::ErrorMessage* mutable_errormessage(); + inline ::ErrorMessage* release_errormessage(); + inline void set_allocated_errormessage(::ErrorMessage* errormessage); + + // @@protoc_insertion_point(class_scope:GameManagementMessage) + private: + inline void set_has_messagetype(); + inline void clear_has_messagetype(); + inline void set_has_joingamemessage(); + inline void clear_has_joingamemessage(); + inline void set_has_rejoingamemessage(); + inline void clear_has_rejoingamemessage(); + inline void set_has_joingameackmessage(); + inline void clear_has_joingameackmessage(); + inline void set_has_joingamefailedmessage(); + inline void clear_has_joingamefailedmessage(); + inline void set_has_gameplayerjoinedmessage(); + inline void clear_has_gameplayerjoinedmessage(); + inline void set_has_gameplayerleftmessage(); + inline void clear_has_gameplayerleftmessage(); + inline void set_has_gamespectatorjoinedmessage(); + inline void clear_has_gamespectatorjoinedmessage(); + inline void set_has_gamespectatorleftmessage(); + inline void clear_has_gamespectatorleftmessage(); + inline void set_has_gameadminchangedmessage(); + inline void clear_has_gameadminchangedmessage(); + inline void set_has_removedfromgamemessage(); + inline void clear_has_removedfromgamemessage(); + inline void set_has_kickplayerrequestmessage(); + inline void clear_has_kickplayerrequestmessage(); + inline void set_has_leavegamerequestmessage(); + inline void clear_has_leavegamerequestmessage(); + inline void set_has_starteventmessage(); + inline void clear_has_starteventmessage(); + inline void set_has_starteventackmessage(); + inline void clear_has_starteventackmessage(); + inline void set_has_gamestartinitialmessage(); + inline void clear_has_gamestartinitialmessage(); + inline void set_has_gamestartrejoinmessage(); + inline void clear_has_gamestartrejoinmessage(); + inline void set_has_endofgamemessage(); + inline void clear_has_endofgamemessage(); + inline void set_has_playeridchangedmessage(); + inline void clear_has_playeridchangedmessage(); + inline void set_has_askkickplayermessage(); + inline void clear_has_askkickplayermessage(); + inline void set_has_askkickdeniedmessage(); + inline void clear_has_askkickdeniedmessage(); + inline void set_has_startkickpetitionmessage(); + inline void clear_has_startkickpetitionmessage(); + inline void set_has_votekickrequestmessage(); + inline void clear_has_votekickrequestmessage(); + inline void set_has_votekickreplymessage(); + inline void clear_has_votekickreplymessage(); + inline void set_has_kickpetitionupdatemessage(); + inline void clear_has_kickpetitionupdatemessage(); + inline void set_has_endkickpetitionmessage(); + inline void clear_has_endkickpetitionmessage(); + inline void set_has_chatrequestmessage(); + inline void clear_has_chatrequestmessage(); + inline void set_has_chatmessage(); + inline void clear_has_chatmessage(); + inline void set_has_chatrejectmessage(); + inline void clear_has_chatrejectmessage(); + inline void set_has_errormessage(); + inline void clear_has_errormessage(); + + ::JoinGameMessage* joingamemessage_; + ::RejoinGameMessage* rejoingamemessage_; + ::JoinGameAckMessage* joingameackmessage_; + ::JoinGameFailedMessage* joingamefailedmessage_; + ::GamePlayerJoinedMessage* gameplayerjoinedmessage_; + ::GamePlayerLeftMessage* gameplayerleftmessage_; + ::GameSpectatorJoinedMessage* gamespectatorjoinedmessage_; + ::GameSpectatorLeftMessage* gamespectatorleftmessage_; + ::GameAdminChangedMessage* gameadminchangedmessage_; + ::RemovedFromGameMessage* removedfromgamemessage_; + ::KickPlayerRequestMessage* kickplayerrequestmessage_; + ::LeaveGameRequestMessage* leavegamerequestmessage_; + ::StartEventMessage* starteventmessage_; + ::StartEventAckMessage* starteventackmessage_; + ::GameStartInitialMessage* gamestartinitialmessage_; + ::GameStartRejoinMessage* gamestartrejoinmessage_; + ::EndOfGameMessage* endofgamemessage_; + ::PlayerIdChangedMessage* playeridchangedmessage_; + ::AskKickPlayerMessage* askkickplayermessage_; + ::AskKickDeniedMessage* askkickdeniedmessage_; + ::StartKickPetitionMessage* startkickpetitionmessage_; + ::VoteKickRequestMessage* votekickrequestmessage_; + ::VoteKickReplyMessage* votekickreplymessage_; + ::KickPetitionUpdateMessage* kickpetitionupdatemessage_; + ::EndKickPetitionMessage* endkickpetitionmessage_; + ::ChatRequestMessage* chatrequestmessage_; + ::ChatMessage* chatmessage_; + ::ChatRejectMessage* chatrejectmessage_; + ::ErrorMessage* errormessage_; + int messagetype_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(30 + 31) / 32]; + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else + friend void protobuf_AddDesc_pokerth_2eproto(); + #endif + friend void protobuf_AssignDesc_pokerth_2eproto(); + friend void protobuf_ShutdownFile_pokerth_2eproto(); + + void InitAsDefaultInstance(); + static GameManagementMessage* default_instance_; +}; +// ------------------------------------------------------------------- + +class GameEngineMessage : public ::google::protobuf::MessageLite { + public: + GameEngineMessage(); + virtual ~GameEngineMessage(); + + GameEngineMessage(const GameEngineMessage& from); + + inline GameEngineMessage& operator=(const GameEngineMessage& from) { + CopyFrom(from); + return *this; + } + + static const GameEngineMessage& default_instance(); + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const GameEngineMessage* internal_default_instance() { + return default_instance_; + } + #endif + + void Swap(GameEngineMessage* other); + + // implements Message ---------------------------------------------- + + GameEngineMessage* New() const; + void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); + void CopyFrom(const GameEngineMessage& from); + void MergeFrom(const GameEngineMessage& from); + void Clear(); + bool IsInitialized() const; + + int ByteSize() const; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input); + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + + ::std::string GetTypeName() const; + + // nested types ---------------------------------------------------- + + typedef GameEngineMessage_GameEngineMessageType GameEngineMessageType; + static const GameEngineMessageType Type_HandStartMessage = GameEngineMessage_GameEngineMessageType_Type_HandStartMessage; + static const GameEngineMessageType Type_PlayersTurnMessage = GameEngineMessage_GameEngineMessageType_Type_PlayersTurnMessage; + static const GameEngineMessageType Type_MyActionRequestMessage = GameEngineMessage_GameEngineMessageType_Type_MyActionRequestMessage; + static const GameEngineMessageType Type_YourActionRejectedMessage = GameEngineMessage_GameEngineMessageType_Type_YourActionRejectedMessage; + static const GameEngineMessageType Type_PlayersActionDoneMessage = GameEngineMessage_GameEngineMessageType_Type_PlayersActionDoneMessage; + static const GameEngineMessageType Type_DealFlopCardsMessage = GameEngineMessage_GameEngineMessageType_Type_DealFlopCardsMessage; + static const GameEngineMessageType Type_DealTurnCardMessage = GameEngineMessage_GameEngineMessageType_Type_DealTurnCardMessage; + static const GameEngineMessageType Type_DealRiverCardMessage = GameEngineMessage_GameEngineMessageType_Type_DealRiverCardMessage; + static const GameEngineMessageType Type_AllInShowCardsMessage = GameEngineMessage_GameEngineMessageType_Type_AllInShowCardsMessage; + static const GameEngineMessageType Type_EndOfHandShowCardsMessage = GameEngineMessage_GameEngineMessageType_Type_EndOfHandShowCardsMessage; + static const GameEngineMessageType Type_EndOfHandHideCardsMessage = GameEngineMessage_GameEngineMessageType_Type_EndOfHandHideCardsMessage; + static const GameEngineMessageType Type_ShowMyCardsRequestMessage = GameEngineMessage_GameEngineMessageType_Type_ShowMyCardsRequestMessage; + static const GameEngineMessageType Type_AfterHandShowCardsMessage = GameEngineMessage_GameEngineMessageType_Type_AfterHandShowCardsMessage; + static inline bool GameEngineMessageType_IsValid(int value) { + return GameEngineMessage_GameEngineMessageType_IsValid(value); + } + static const GameEngineMessageType GameEngineMessageType_MIN = + GameEngineMessage_GameEngineMessageType_GameEngineMessageType_MIN; + static const GameEngineMessageType GameEngineMessageType_MAX = + GameEngineMessage_GameEngineMessageType_GameEngineMessageType_MAX; + static const int GameEngineMessageType_ARRAYSIZE = + GameEngineMessage_GameEngineMessageType_GameEngineMessageType_ARRAYSIZE; + + // accessors ------------------------------------------------------- + + // required .GameEngineMessage.GameEngineMessageType messageType = 1; + inline bool has_messagetype() const; + inline void clear_messagetype(); + static const int kMessageTypeFieldNumber = 1; + inline ::GameEngineMessage_GameEngineMessageType messagetype() const; + inline void set_messagetype(::GameEngineMessage_GameEngineMessageType value); + + // optional .HandStartMessage handStartMessage = 2; + inline bool has_handstartmessage() const; + inline void clear_handstartmessage(); + static const int kHandStartMessageFieldNumber = 2; + inline const ::HandStartMessage& handstartmessage() const; + inline ::HandStartMessage* mutable_handstartmessage(); + inline ::HandStartMessage* release_handstartmessage(); + inline void set_allocated_handstartmessage(::HandStartMessage* handstartmessage); + + // optional .PlayersTurnMessage playersTurnMessage = 3; + inline bool has_playersturnmessage() const; + inline void clear_playersturnmessage(); + static const int kPlayersTurnMessageFieldNumber = 3; + inline const ::PlayersTurnMessage& playersturnmessage() const; + inline ::PlayersTurnMessage* mutable_playersturnmessage(); + inline ::PlayersTurnMessage* release_playersturnmessage(); + inline void set_allocated_playersturnmessage(::PlayersTurnMessage* playersturnmessage); + + // optional .MyActionRequestMessage myActionRequestMessage = 4; + inline bool has_myactionrequestmessage() const; + inline void clear_myactionrequestmessage(); + static const int kMyActionRequestMessageFieldNumber = 4; + inline const ::MyActionRequestMessage& myactionrequestmessage() const; + inline ::MyActionRequestMessage* mutable_myactionrequestmessage(); + inline ::MyActionRequestMessage* release_myactionrequestmessage(); + inline void set_allocated_myactionrequestmessage(::MyActionRequestMessage* myactionrequestmessage); + + // optional .YourActionRejectedMessage yourActionRejectedMessage = 5; + inline bool has_youractionrejectedmessage() const; + inline void clear_youractionrejectedmessage(); + static const int kYourActionRejectedMessageFieldNumber = 5; + inline const ::YourActionRejectedMessage& youractionrejectedmessage() const; + inline ::YourActionRejectedMessage* mutable_youractionrejectedmessage(); + inline ::YourActionRejectedMessage* release_youractionrejectedmessage(); + inline void set_allocated_youractionrejectedmessage(::YourActionRejectedMessage* youractionrejectedmessage); + + // optional .PlayersActionDoneMessage playersActionDoneMessage = 6; + inline bool has_playersactiondonemessage() const; + inline void clear_playersactiondonemessage(); + static const int kPlayersActionDoneMessageFieldNumber = 6; + inline const ::PlayersActionDoneMessage& playersactiondonemessage() const; + inline ::PlayersActionDoneMessage* mutable_playersactiondonemessage(); + inline ::PlayersActionDoneMessage* release_playersactiondonemessage(); + inline void set_allocated_playersactiondonemessage(::PlayersActionDoneMessage* playersactiondonemessage); + + // optional .DealFlopCardsMessage dealFlopCardsMessage = 7; + inline bool has_dealflopcardsmessage() const; + inline void clear_dealflopcardsmessage(); + static const int kDealFlopCardsMessageFieldNumber = 7; + inline const ::DealFlopCardsMessage& dealflopcardsmessage() const; + inline ::DealFlopCardsMessage* mutable_dealflopcardsmessage(); + inline ::DealFlopCardsMessage* release_dealflopcardsmessage(); + inline void set_allocated_dealflopcardsmessage(::DealFlopCardsMessage* dealflopcardsmessage); + + // optional .DealTurnCardMessage dealTurnCardMessage = 8; + inline bool has_dealturncardmessage() const; + inline void clear_dealturncardmessage(); + static const int kDealTurnCardMessageFieldNumber = 8; + inline const ::DealTurnCardMessage& dealturncardmessage() const; + inline ::DealTurnCardMessage* mutable_dealturncardmessage(); + inline ::DealTurnCardMessage* release_dealturncardmessage(); + inline void set_allocated_dealturncardmessage(::DealTurnCardMessage* dealturncardmessage); + + // optional .DealRiverCardMessage dealRiverCardMessage = 9; + inline bool has_dealrivercardmessage() const; + inline void clear_dealrivercardmessage(); + static const int kDealRiverCardMessageFieldNumber = 9; + inline const ::DealRiverCardMessage& dealrivercardmessage() const; + inline ::DealRiverCardMessage* mutable_dealrivercardmessage(); + inline ::DealRiverCardMessage* release_dealrivercardmessage(); + inline void set_allocated_dealrivercardmessage(::DealRiverCardMessage* dealrivercardmessage); + + // optional .AllInShowCardsMessage allInShowCardsMessage = 10; + inline bool has_allinshowcardsmessage() const; + inline void clear_allinshowcardsmessage(); + static const int kAllInShowCardsMessageFieldNumber = 10; + inline const ::AllInShowCardsMessage& allinshowcardsmessage() const; + inline ::AllInShowCardsMessage* mutable_allinshowcardsmessage(); + inline ::AllInShowCardsMessage* release_allinshowcardsmessage(); + inline void set_allocated_allinshowcardsmessage(::AllInShowCardsMessage* allinshowcardsmessage); + + // optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 11; + inline bool has_endofhandshowcardsmessage() const; + inline void clear_endofhandshowcardsmessage(); + static const int kEndOfHandShowCardsMessageFieldNumber = 11; + inline const ::EndOfHandShowCardsMessage& endofhandshowcardsmessage() const; + inline ::EndOfHandShowCardsMessage* mutable_endofhandshowcardsmessage(); + inline ::EndOfHandShowCardsMessage* release_endofhandshowcardsmessage(); + inline void set_allocated_endofhandshowcardsmessage(::EndOfHandShowCardsMessage* endofhandshowcardsmessage); + + // optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 12; + inline bool has_endofhandhidecardsmessage() const; + inline void clear_endofhandhidecardsmessage(); + static const int kEndOfHandHideCardsMessageFieldNumber = 12; + inline const ::EndOfHandHideCardsMessage& endofhandhidecardsmessage() const; + inline ::EndOfHandHideCardsMessage* mutable_endofhandhidecardsmessage(); + inline ::EndOfHandHideCardsMessage* release_endofhandhidecardsmessage(); + inline void set_allocated_endofhandhidecardsmessage(::EndOfHandHideCardsMessage* endofhandhidecardsmessage); + + // optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 13; + inline bool has_showmycardsrequestmessage() const; + inline void clear_showmycardsrequestmessage(); + static const int kShowMyCardsRequestMessageFieldNumber = 13; + inline const ::ShowMyCardsRequestMessage& showmycardsrequestmessage() const; + inline ::ShowMyCardsRequestMessage* mutable_showmycardsrequestmessage(); + inline ::ShowMyCardsRequestMessage* release_showmycardsrequestmessage(); + inline void set_allocated_showmycardsrequestmessage(::ShowMyCardsRequestMessage* showmycardsrequestmessage); + + // optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 14; + inline bool has_afterhandshowcardsmessage() const; + inline void clear_afterhandshowcardsmessage(); + static const int kAfterHandShowCardsMessageFieldNumber = 14; + inline const ::AfterHandShowCardsMessage& afterhandshowcardsmessage() const; + inline ::AfterHandShowCardsMessage* mutable_afterhandshowcardsmessage(); + inline ::AfterHandShowCardsMessage* release_afterhandshowcardsmessage(); + inline void set_allocated_afterhandshowcardsmessage(::AfterHandShowCardsMessage* afterhandshowcardsmessage); + + // @@protoc_insertion_point(class_scope:GameEngineMessage) + private: + inline void set_has_messagetype(); + inline void clear_has_messagetype(); + inline void set_has_handstartmessage(); + inline void clear_has_handstartmessage(); + inline void set_has_playersturnmessage(); + inline void clear_has_playersturnmessage(); + inline void set_has_myactionrequestmessage(); + inline void clear_has_myactionrequestmessage(); + inline void set_has_youractionrejectedmessage(); + inline void clear_has_youractionrejectedmessage(); + inline void set_has_playersactiondonemessage(); + inline void clear_has_playersactiondonemessage(); + inline void set_has_dealflopcardsmessage(); + inline void clear_has_dealflopcardsmessage(); + inline void set_has_dealturncardmessage(); + inline void clear_has_dealturncardmessage(); + inline void set_has_dealrivercardmessage(); + inline void clear_has_dealrivercardmessage(); + inline void set_has_allinshowcardsmessage(); + inline void clear_has_allinshowcardsmessage(); + inline void set_has_endofhandshowcardsmessage(); + inline void clear_has_endofhandshowcardsmessage(); + inline void set_has_endofhandhidecardsmessage(); + inline void clear_has_endofhandhidecardsmessage(); + inline void set_has_showmycardsrequestmessage(); + inline void clear_has_showmycardsrequestmessage(); + inline void set_has_afterhandshowcardsmessage(); + inline void clear_has_afterhandshowcardsmessage(); + + ::HandStartMessage* handstartmessage_; + ::PlayersTurnMessage* playersturnmessage_; + ::MyActionRequestMessage* myactionrequestmessage_; + ::YourActionRejectedMessage* youractionrejectedmessage_; + ::PlayersActionDoneMessage* playersactiondonemessage_; + ::DealFlopCardsMessage* dealflopcardsmessage_; + ::DealTurnCardMessage* dealturncardmessage_; + ::DealRiverCardMessage* dealrivercardmessage_; + ::AllInShowCardsMessage* allinshowcardsmessage_; + ::EndOfHandShowCardsMessage* endofhandshowcardsmessage_; + ::EndOfHandHideCardsMessage* endofhandhidecardsmessage_; + ::ShowMyCardsRequestMessage* showmycardsrequestmessage_; + ::AfterHandShowCardsMessage* afterhandshowcardsmessage_; + int messagetype_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(14 + 31) / 32]; + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else + friend void protobuf_AddDesc_pokerth_2eproto(); + #endif + friend void protobuf_AssignDesc_pokerth_2eproto(); + friend void protobuf_ShutdownFile_pokerth_2eproto(); + + void InitAsDefaultInstance(); + static GameEngineMessage* default_instance_; +}; +// ------------------------------------------------------------------- + +class GameMessage : public ::google::protobuf::MessageLite { + public: + GameMessage(); + virtual ~GameMessage(); + + GameMessage(const GameMessage& from); + + inline GameMessage& operator=(const GameMessage& from) { + CopyFrom(from); + return *this; + } + + static const GameMessage& default_instance(); + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const GameMessage* internal_default_instance() { + return default_instance_; + } + #endif + + void Swap(GameMessage* other); + + // implements Message ---------------------------------------------- + + GameMessage* New() const; + void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); + void CopyFrom(const GameMessage& from); + void MergeFrom(const GameMessage& from); + void Clear(); + bool IsInitialized() const; + + int ByteSize() const; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input); + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + + ::std::string GetTypeName() const; + + // nested types ---------------------------------------------------- + + typedef GameMessage_GameMessageType GameMessageType; + static const GameMessageType Type_GameManagementMessage = GameMessage_GameMessageType_Type_GameManagementMessage; + static const GameMessageType Type_GameEngineMessage = GameMessage_GameMessageType_Type_GameEngineMessage; + static inline bool GameMessageType_IsValid(int value) { + return GameMessage_GameMessageType_IsValid(value); + } + static const GameMessageType GameMessageType_MIN = + GameMessage_GameMessageType_GameMessageType_MIN; + static const GameMessageType GameMessageType_MAX = + GameMessage_GameMessageType_GameMessageType_MAX; + static const int GameMessageType_ARRAYSIZE = + GameMessage_GameMessageType_GameMessageType_ARRAYSIZE; + + // accessors ------------------------------------------------------- + + // required .GameMessage.GameMessageType messageType = 1; + inline bool has_messagetype() const; + inline void clear_messagetype(); + static const int kMessageTypeFieldNumber = 1; + inline ::GameMessage_GameMessageType messagetype() const; + inline void set_messagetype(::GameMessage_GameMessageType value); + + // required uint32 gameId = 2; + inline bool has_gameid() const; + inline void clear_gameid(); + static const int kGameIdFieldNumber = 2; + inline ::google::protobuf::uint32 gameid() const; + inline void set_gameid(::google::protobuf::uint32 value); + + // optional .GameManagementMessage gameManagementMessage = 3; + inline bool has_gamemanagementmessage() const; + inline void clear_gamemanagementmessage(); + static const int kGameManagementMessageFieldNumber = 3; + inline const ::GameManagementMessage& gamemanagementmessage() const; + inline ::GameManagementMessage* mutable_gamemanagementmessage(); + inline ::GameManagementMessage* release_gamemanagementmessage(); + inline void set_allocated_gamemanagementmessage(::GameManagementMessage* gamemanagementmessage); + + // optional .GameEngineMessage gameEngineMessage = 4; + inline bool has_gameenginemessage() const; + inline void clear_gameenginemessage(); + static const int kGameEngineMessageFieldNumber = 4; + inline const ::GameEngineMessage& gameenginemessage() const; + inline ::GameEngineMessage* mutable_gameenginemessage(); + inline ::GameEngineMessage* release_gameenginemessage(); + inline void set_allocated_gameenginemessage(::GameEngineMessage* gameenginemessage); + + // @@protoc_insertion_point(class_scope:GameMessage) + private: + inline void set_has_messagetype(); + inline void clear_has_messagetype(); + inline void set_has_gameid(); + inline void clear_has_gameid(); + inline void set_has_gamemanagementmessage(); + inline void clear_has_gamemanagementmessage(); + inline void set_has_gameenginemessage(); + inline void clear_has_gameenginemessage(); + + int messagetype_; + ::google::protobuf::uint32 gameid_; + ::GameManagementMessage* gamemanagementmessage_; + ::GameEngineMessage* gameenginemessage_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32]; + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else + friend void protobuf_AddDesc_pokerth_2eproto(); + #endif + friend void protobuf_AssignDesc_pokerth_2eproto(); + friend void protobuf_ShutdownFile_pokerth_2eproto(); + + void InitAsDefaultInstance(); + static GameMessage* default_instance_; +}; +// ------------------------------------------------------------------- + class PokerTHMessage : public ::google::protobuf::MessageLite { public: PokerTHMessage(); @@ -10219,86 +11850,9 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { typedef PokerTHMessage_PokerTHMessageType PokerTHMessageType; static const PokerTHMessageType Type_AnnounceMessage = PokerTHMessage_PokerTHMessageType_Type_AnnounceMessage; - static const PokerTHMessageType Type_InitMessage = PokerTHMessage_PokerTHMessageType_Type_InitMessage; - static const PokerTHMessageType Type_AuthServerChallengeMessage = PokerTHMessage_PokerTHMessageType_Type_AuthServerChallengeMessage; - static const PokerTHMessageType Type_AuthClientResponseMessage = PokerTHMessage_PokerTHMessageType_Type_AuthClientResponseMessage; - static const PokerTHMessageType Type_AuthServerVerificationMessage = PokerTHMessage_PokerTHMessageType_Type_AuthServerVerificationMessage; - static const PokerTHMessageType Type_InitAckMessage = PokerTHMessage_PokerTHMessageType_Type_InitAckMessage; - static const PokerTHMessageType Type_AvatarRequestMessage = PokerTHMessage_PokerTHMessageType_Type_AvatarRequestMessage; - static const PokerTHMessageType Type_AvatarHeaderMessage = PokerTHMessage_PokerTHMessageType_Type_AvatarHeaderMessage; - static const PokerTHMessageType Type_AvatarDataMessage = PokerTHMessage_PokerTHMessageType_Type_AvatarDataMessage; - static const PokerTHMessageType Type_AvatarEndMessage = PokerTHMessage_PokerTHMessageType_Type_AvatarEndMessage; - static const PokerTHMessageType Type_UnknownAvatarMessage = PokerTHMessage_PokerTHMessageType_Type_UnknownAvatarMessage; - static const PokerTHMessageType Type_PlayerListMessage = PokerTHMessage_PokerTHMessageType_Type_PlayerListMessage; - static const PokerTHMessageType Type_GameListNewMessage = PokerTHMessage_PokerTHMessageType_Type_GameListNewMessage; - static const PokerTHMessageType Type_GameListUpdateMessage = PokerTHMessage_PokerTHMessageType_Type_GameListUpdateMessage; - static const PokerTHMessageType Type_GameListPlayerJoinedMessage = PokerTHMessage_PokerTHMessageType_Type_GameListPlayerJoinedMessage; - static const PokerTHMessageType Type_GameListPlayerLeftMessage = PokerTHMessage_PokerTHMessageType_Type_GameListPlayerLeftMessage; - static const PokerTHMessageType Type_GameListAdminChangedMessage = PokerTHMessage_PokerTHMessageType_Type_GameListAdminChangedMessage; - static const PokerTHMessageType Type_PlayerInfoRequestMessage = PokerTHMessage_PokerTHMessageType_Type_PlayerInfoRequestMessage; - static const PokerTHMessageType Type_PlayerInfoReplyMessage = PokerTHMessage_PokerTHMessageType_Type_PlayerInfoReplyMessage; - static const PokerTHMessageType Type_SubscriptionRequestMessage = PokerTHMessage_PokerTHMessageType_Type_SubscriptionRequestMessage; - static const PokerTHMessageType Type_JoinExistingGameMessage = PokerTHMessage_PokerTHMessageType_Type_JoinExistingGameMessage; - static const PokerTHMessageType Type_JoinNewGameMessage = PokerTHMessage_PokerTHMessageType_Type_JoinNewGameMessage; - static const PokerTHMessageType Type_RejoinExistingGameMessage = PokerTHMessage_PokerTHMessageType_Type_RejoinExistingGameMessage; - static const PokerTHMessageType Type_JoinGameAckMessage = PokerTHMessage_PokerTHMessageType_Type_JoinGameAckMessage; - static const PokerTHMessageType Type_JoinGameFailedMessage = PokerTHMessage_PokerTHMessageType_Type_JoinGameFailedMessage; - static const PokerTHMessageType Type_GamePlayerJoinedMessage = PokerTHMessage_PokerTHMessageType_Type_GamePlayerJoinedMessage; - static const PokerTHMessageType Type_GamePlayerLeftMessage = PokerTHMessage_PokerTHMessageType_Type_GamePlayerLeftMessage; - static const PokerTHMessageType Type_GameAdminChangedMessage = PokerTHMessage_PokerTHMessageType_Type_GameAdminChangedMessage; - static const PokerTHMessageType Type_RemovedFromGameMessage = PokerTHMessage_PokerTHMessageType_Type_RemovedFromGameMessage; - static const PokerTHMessageType Type_KickPlayerRequestMessage = PokerTHMessage_PokerTHMessageType_Type_KickPlayerRequestMessage; - static const PokerTHMessageType Type_LeaveGameRequestMessage = PokerTHMessage_PokerTHMessageType_Type_LeaveGameRequestMessage; - static const PokerTHMessageType Type_InvitePlayerToGameMessage = PokerTHMessage_PokerTHMessageType_Type_InvitePlayerToGameMessage; - static const PokerTHMessageType Type_InviteNotifyMessage = PokerTHMessage_PokerTHMessageType_Type_InviteNotifyMessage; - static const PokerTHMessageType Type_RejectGameInvitationMessage = PokerTHMessage_PokerTHMessageType_Type_RejectGameInvitationMessage; - static const PokerTHMessageType Type_RejectInvNotifyMessage = PokerTHMessage_PokerTHMessageType_Type_RejectInvNotifyMessage; - static const PokerTHMessageType Type_StartEventMessage = PokerTHMessage_PokerTHMessageType_Type_StartEventMessage; - static const PokerTHMessageType Type_StartEventAckMessage = PokerTHMessage_PokerTHMessageType_Type_StartEventAckMessage; - static const PokerTHMessageType Type_GameStartInitialMessage = PokerTHMessage_PokerTHMessageType_Type_GameStartInitialMessage; - static const PokerTHMessageType Type_GameStartRejoinMessage = PokerTHMessage_PokerTHMessageType_Type_GameStartRejoinMessage; - static const PokerTHMessageType Type_HandStartMessage = PokerTHMessage_PokerTHMessageType_Type_HandStartMessage; - static const PokerTHMessageType Type_PlayersTurnMessage = PokerTHMessage_PokerTHMessageType_Type_PlayersTurnMessage; - static const PokerTHMessageType Type_MyActionRequestMessage = PokerTHMessage_PokerTHMessageType_Type_MyActionRequestMessage; - static const PokerTHMessageType Type_YourActionRejectedMessage = PokerTHMessage_PokerTHMessageType_Type_YourActionRejectedMessage; - static const PokerTHMessageType Type_PlayersActionDoneMessage = PokerTHMessage_PokerTHMessageType_Type_PlayersActionDoneMessage; - static const PokerTHMessageType Type_DealFlopCardsMessage = PokerTHMessage_PokerTHMessageType_Type_DealFlopCardsMessage; - static const PokerTHMessageType Type_DealTurnCardMessage = PokerTHMessage_PokerTHMessageType_Type_DealTurnCardMessage; - static const PokerTHMessageType Type_DealRiverCardMessage = PokerTHMessage_PokerTHMessageType_Type_DealRiverCardMessage; - static const PokerTHMessageType Type_AllInShowCardsMessage = PokerTHMessage_PokerTHMessageType_Type_AllInShowCardsMessage; - static const PokerTHMessageType Type_EndOfHandShowCardsMessage = PokerTHMessage_PokerTHMessageType_Type_EndOfHandShowCardsMessage; - static const PokerTHMessageType Type_EndOfHandHideCardsMessage = PokerTHMessage_PokerTHMessageType_Type_EndOfHandHideCardsMessage; - static const PokerTHMessageType Type_ShowMyCardsRequestMessage = PokerTHMessage_PokerTHMessageType_Type_ShowMyCardsRequestMessage; - static const PokerTHMessageType Type_AfterHandShowCardsMessage = PokerTHMessage_PokerTHMessageType_Type_AfterHandShowCardsMessage; - static const PokerTHMessageType Type_EndOfGameMessage = PokerTHMessage_PokerTHMessageType_Type_EndOfGameMessage; - static const PokerTHMessageType Type_PlayerIdChangedMessage = PokerTHMessage_PokerTHMessageType_Type_PlayerIdChangedMessage; - static const PokerTHMessageType Type_AskKickPlayerMessage = PokerTHMessage_PokerTHMessageType_Type_AskKickPlayerMessage; - static const PokerTHMessageType Type_AskKickDeniedMessage = PokerTHMessage_PokerTHMessageType_Type_AskKickDeniedMessage; - static const PokerTHMessageType Type_StartKickPetitionMessage = PokerTHMessage_PokerTHMessageType_Type_StartKickPetitionMessage; - static const PokerTHMessageType Type_VoteKickRequestMessage = PokerTHMessage_PokerTHMessageType_Type_VoteKickRequestMessage; - static const PokerTHMessageType Type_VoteKickReplyMessage = PokerTHMessage_PokerTHMessageType_Type_VoteKickReplyMessage; - static const PokerTHMessageType Type_KickPetitionUpdateMessage = PokerTHMessage_PokerTHMessageType_Type_KickPetitionUpdateMessage; - static const PokerTHMessageType Type_EndKickPetitionMessage = PokerTHMessage_PokerTHMessageType_Type_EndKickPetitionMessage; - static const PokerTHMessageType Type_StatisticsMessage = PokerTHMessage_PokerTHMessageType_Type_StatisticsMessage; - static const PokerTHMessageType Type_ChatRequestMessage = PokerTHMessage_PokerTHMessageType_Type_ChatRequestMessage; - static const PokerTHMessageType Type_ChatMessage = PokerTHMessage_PokerTHMessageType_Type_ChatMessage; - static const PokerTHMessageType Type_ChatRejectMessage = PokerTHMessage_PokerTHMessageType_Type_ChatRejectMessage; - static const PokerTHMessageType Type_DialogMessage = PokerTHMessage_PokerTHMessageType_Type_DialogMessage; - static const PokerTHMessageType Type_TimeoutWarningMessage = PokerTHMessage_PokerTHMessageType_Type_TimeoutWarningMessage; - static const PokerTHMessageType Type_ResetTimeoutMessage = PokerTHMessage_PokerTHMessageType_Type_ResetTimeoutMessage; - static const PokerTHMessageType Type_ReportAvatarMessage = PokerTHMessage_PokerTHMessageType_Type_ReportAvatarMessage; - static const PokerTHMessageType Type_ReportAvatarAckMessage = PokerTHMessage_PokerTHMessageType_Type_ReportAvatarAckMessage; - static const PokerTHMessageType Type_ReportGameMessage = PokerTHMessage_PokerTHMessageType_Type_ReportGameMessage; - static const PokerTHMessageType Type_ReportGameAckMessage = PokerTHMessage_PokerTHMessageType_Type_ReportGameAckMessage; - static const PokerTHMessageType Type_ErrorMessage = PokerTHMessage_PokerTHMessageType_Type_ErrorMessage; - static const PokerTHMessageType Type_AdminRemoveGameMessage = PokerTHMessage_PokerTHMessageType_Type_AdminRemoveGameMessage; - static const PokerTHMessageType Type_AdminRemoveGameAckMessage = PokerTHMessage_PokerTHMessageType_Type_AdminRemoveGameAckMessage; - static const PokerTHMessageType Type_AdminBanPlayerMessage = PokerTHMessage_PokerTHMessageType_Type_AdminBanPlayerMessage; - static const PokerTHMessageType Type_AdminBanPlayerAckMessage = PokerTHMessage_PokerTHMessageType_Type_AdminBanPlayerAckMessage; - static const PokerTHMessageType Type_GameListSpectatorJoinedMessage = PokerTHMessage_PokerTHMessageType_Type_GameListSpectatorJoinedMessage; - static const PokerTHMessageType Type_GameListSpectatorLeftMessage = PokerTHMessage_PokerTHMessageType_Type_GameListSpectatorLeftMessage; - static const PokerTHMessageType Type_GameSpectatorJoinedMessage = PokerTHMessage_PokerTHMessageType_Type_GameSpectatorJoinedMessage; - static const PokerTHMessageType Type_GameSpectatorLeftMessage = PokerTHMessage_PokerTHMessageType_Type_GameSpectatorLeftMessage; + static const PokerTHMessageType Type_AuthMessage = PokerTHMessage_PokerTHMessageType_Type_AuthMessage; + static const PokerTHMessageType Type_LobbyMessage = PokerTHMessage_PokerTHMessageType_Type_LobbyMessage; + static const PokerTHMessageType Type_GameMessage = PokerTHMessage_PokerTHMessageType_Type_GameMessage; static inline bool PokerTHMessageType_IsValid(int value) { return PokerTHMessage_PokerTHMessageType_IsValid(value); } @@ -10327,725 +11881,32 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { inline ::AnnounceMessage* release_announcemessage(); inline void set_allocated_announcemessage(::AnnounceMessage* announcemessage); - // optional .InitMessage initMessage = 3; - inline bool has_initmessage() const; - inline void clear_initmessage(); - static const int kInitMessageFieldNumber = 3; - inline const ::InitMessage& initmessage() const; - inline ::InitMessage* mutable_initmessage(); - inline ::InitMessage* release_initmessage(); - inline void set_allocated_initmessage(::InitMessage* initmessage); - - // optional .AuthServerChallengeMessage authServerChallengeMessage = 4; - inline bool has_authserverchallengemessage() const; - inline void clear_authserverchallengemessage(); - static const int kAuthServerChallengeMessageFieldNumber = 4; - inline const ::AuthServerChallengeMessage& authserverchallengemessage() const; - inline ::AuthServerChallengeMessage* mutable_authserverchallengemessage(); - inline ::AuthServerChallengeMessage* release_authserverchallengemessage(); - inline void set_allocated_authserverchallengemessage(::AuthServerChallengeMessage* authserverchallengemessage); - - // optional .AuthClientResponseMessage authClientResponseMessage = 5; - inline bool has_authclientresponsemessage() const; - inline void clear_authclientresponsemessage(); - static const int kAuthClientResponseMessageFieldNumber = 5; - inline const ::AuthClientResponseMessage& authclientresponsemessage() const; - inline ::AuthClientResponseMessage* mutable_authclientresponsemessage(); - inline ::AuthClientResponseMessage* release_authclientresponsemessage(); - inline void set_allocated_authclientresponsemessage(::AuthClientResponseMessage* authclientresponsemessage); - - // optional .AuthServerVerificationMessage authServerVerificationMessage = 6; - inline bool has_authserververificationmessage() const; - inline void clear_authserververificationmessage(); - static const int kAuthServerVerificationMessageFieldNumber = 6; - inline const ::AuthServerVerificationMessage& authserververificationmessage() const; - inline ::AuthServerVerificationMessage* mutable_authserververificationmessage(); - inline ::AuthServerVerificationMessage* release_authserververificationmessage(); - inline void set_allocated_authserververificationmessage(::AuthServerVerificationMessage* authserververificationmessage); - - // optional .InitAckMessage initAckMessage = 7; - inline bool has_initackmessage() const; - inline void clear_initackmessage(); - static const int kInitAckMessageFieldNumber = 7; - inline const ::InitAckMessage& initackmessage() const; - inline ::InitAckMessage* mutable_initackmessage(); - inline ::InitAckMessage* release_initackmessage(); - inline void set_allocated_initackmessage(::InitAckMessage* initackmessage); - - // optional .AvatarRequestMessage avatarRequestMessage = 8; - inline bool has_avatarrequestmessage() const; - inline void clear_avatarrequestmessage(); - static const int kAvatarRequestMessageFieldNumber = 8; - inline const ::AvatarRequestMessage& avatarrequestmessage() const; - inline ::AvatarRequestMessage* mutable_avatarrequestmessage(); - inline ::AvatarRequestMessage* release_avatarrequestmessage(); - inline void set_allocated_avatarrequestmessage(::AvatarRequestMessage* avatarrequestmessage); - - // optional .AvatarHeaderMessage avatarHeaderMessage = 9; - inline bool has_avatarheadermessage() const; - inline void clear_avatarheadermessage(); - static const int kAvatarHeaderMessageFieldNumber = 9; - inline const ::AvatarHeaderMessage& avatarheadermessage() const; - inline ::AvatarHeaderMessage* mutable_avatarheadermessage(); - inline ::AvatarHeaderMessage* release_avatarheadermessage(); - inline void set_allocated_avatarheadermessage(::AvatarHeaderMessage* avatarheadermessage); - - // optional .AvatarDataMessage avatarDataMessage = 10; - inline bool has_avatardatamessage() const; - inline void clear_avatardatamessage(); - static const int kAvatarDataMessageFieldNumber = 10; - inline const ::AvatarDataMessage& avatardatamessage() const; - inline ::AvatarDataMessage* mutable_avatardatamessage(); - inline ::AvatarDataMessage* release_avatardatamessage(); - inline void set_allocated_avatardatamessage(::AvatarDataMessage* avatardatamessage); - - // optional .AvatarEndMessage avatarEndMessage = 11; - inline bool has_avatarendmessage() const; - inline void clear_avatarendmessage(); - static const int kAvatarEndMessageFieldNumber = 11; - inline const ::AvatarEndMessage& avatarendmessage() const; - inline ::AvatarEndMessage* mutable_avatarendmessage(); - inline ::AvatarEndMessage* release_avatarendmessage(); - inline void set_allocated_avatarendmessage(::AvatarEndMessage* avatarendmessage); - - // optional .UnknownAvatarMessage unknownAvatarMessage = 12; - inline bool has_unknownavatarmessage() const; - inline void clear_unknownavatarmessage(); - static const int kUnknownAvatarMessageFieldNumber = 12; - inline const ::UnknownAvatarMessage& unknownavatarmessage() const; - inline ::UnknownAvatarMessage* mutable_unknownavatarmessage(); - inline ::UnknownAvatarMessage* release_unknownavatarmessage(); - inline void set_allocated_unknownavatarmessage(::UnknownAvatarMessage* unknownavatarmessage); - - // optional .PlayerListMessage playerListMessage = 13; - inline bool has_playerlistmessage() const; - inline void clear_playerlistmessage(); - static const int kPlayerListMessageFieldNumber = 13; - inline const ::PlayerListMessage& playerlistmessage() const; - inline ::PlayerListMessage* mutable_playerlistmessage(); - inline ::PlayerListMessage* release_playerlistmessage(); - inline void set_allocated_playerlistmessage(::PlayerListMessage* playerlistmessage); - - // optional .GameListNewMessage gameListNewMessage = 14; - inline bool has_gamelistnewmessage() const; - inline void clear_gamelistnewmessage(); - static const int kGameListNewMessageFieldNumber = 14; - inline const ::GameListNewMessage& gamelistnewmessage() const; - inline ::GameListNewMessage* mutable_gamelistnewmessage(); - inline ::GameListNewMessage* release_gamelistnewmessage(); - inline void set_allocated_gamelistnewmessage(::GameListNewMessage* gamelistnewmessage); - - // optional .GameListUpdateMessage gameListUpdateMessage = 15; - inline bool has_gamelistupdatemessage() const; - inline void clear_gamelistupdatemessage(); - static const int kGameListUpdateMessageFieldNumber = 15; - inline const ::GameListUpdateMessage& gamelistupdatemessage() const; - inline ::GameListUpdateMessage* mutable_gamelistupdatemessage(); - inline ::GameListUpdateMessage* release_gamelistupdatemessage(); - inline void set_allocated_gamelistupdatemessage(::GameListUpdateMessage* gamelistupdatemessage); - - // optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 16; - inline bool has_gamelistplayerjoinedmessage() const; - inline void clear_gamelistplayerjoinedmessage(); - static const int kGameListPlayerJoinedMessageFieldNumber = 16; - inline const ::GameListPlayerJoinedMessage& gamelistplayerjoinedmessage() const; - inline ::GameListPlayerJoinedMessage* mutable_gamelistplayerjoinedmessage(); - inline ::GameListPlayerJoinedMessage* release_gamelistplayerjoinedmessage(); - inline void set_allocated_gamelistplayerjoinedmessage(::GameListPlayerJoinedMessage* gamelistplayerjoinedmessage); - - // optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 17; - inline bool has_gamelistplayerleftmessage() const; - inline void clear_gamelistplayerleftmessage(); - static const int kGameListPlayerLeftMessageFieldNumber = 17; - inline const ::GameListPlayerLeftMessage& gamelistplayerleftmessage() const; - inline ::GameListPlayerLeftMessage* mutable_gamelistplayerleftmessage(); - inline ::GameListPlayerLeftMessage* release_gamelistplayerleftmessage(); - inline void set_allocated_gamelistplayerleftmessage(::GameListPlayerLeftMessage* gamelistplayerleftmessage); - - // optional .GameListAdminChangedMessage gameListAdminChangedMessage = 18; - inline bool has_gamelistadminchangedmessage() const; - inline void clear_gamelistadminchangedmessage(); - static const int kGameListAdminChangedMessageFieldNumber = 18; - inline const ::GameListAdminChangedMessage& gamelistadminchangedmessage() const; - inline ::GameListAdminChangedMessage* mutable_gamelistadminchangedmessage(); - inline ::GameListAdminChangedMessage* release_gamelistadminchangedmessage(); - inline void set_allocated_gamelistadminchangedmessage(::GameListAdminChangedMessage* gamelistadminchangedmessage); - - // optional .PlayerInfoRequestMessage playerInfoRequestMessage = 19; - inline bool has_playerinforequestmessage() const; - inline void clear_playerinforequestmessage(); - static const int kPlayerInfoRequestMessageFieldNumber = 19; - inline const ::PlayerInfoRequestMessage& playerinforequestmessage() const; - inline ::PlayerInfoRequestMessage* mutable_playerinforequestmessage(); - inline ::PlayerInfoRequestMessage* release_playerinforequestmessage(); - inline void set_allocated_playerinforequestmessage(::PlayerInfoRequestMessage* playerinforequestmessage); - - // optional .PlayerInfoReplyMessage playerInfoReplyMessage = 20; - inline bool has_playerinforeplymessage() const; - inline void clear_playerinforeplymessage(); - static const int kPlayerInfoReplyMessageFieldNumber = 20; - inline const ::PlayerInfoReplyMessage& playerinforeplymessage() const; - inline ::PlayerInfoReplyMessage* mutable_playerinforeplymessage(); - inline ::PlayerInfoReplyMessage* release_playerinforeplymessage(); - inline void set_allocated_playerinforeplymessage(::PlayerInfoReplyMessage* playerinforeplymessage); - - // optional .SubscriptionRequestMessage subscriptionRequestMessage = 21; - inline bool has_subscriptionrequestmessage() const; - inline void clear_subscriptionrequestmessage(); - static const int kSubscriptionRequestMessageFieldNumber = 21; - inline const ::SubscriptionRequestMessage& subscriptionrequestmessage() const; - inline ::SubscriptionRequestMessage* mutable_subscriptionrequestmessage(); - inline ::SubscriptionRequestMessage* release_subscriptionrequestmessage(); - inline void set_allocated_subscriptionrequestmessage(::SubscriptionRequestMessage* subscriptionrequestmessage); - - // optional .JoinExistingGameMessage joinExistingGameMessage = 22; - inline bool has_joinexistinggamemessage() const; - inline void clear_joinexistinggamemessage(); - static const int kJoinExistingGameMessageFieldNumber = 22; - inline const ::JoinExistingGameMessage& joinexistinggamemessage() const; - inline ::JoinExistingGameMessage* mutable_joinexistinggamemessage(); - inline ::JoinExistingGameMessage* release_joinexistinggamemessage(); - inline void set_allocated_joinexistinggamemessage(::JoinExistingGameMessage* joinexistinggamemessage); - - // optional .JoinNewGameMessage joinNewGameMessage = 23; - inline bool has_joinnewgamemessage() const; - inline void clear_joinnewgamemessage(); - static const int kJoinNewGameMessageFieldNumber = 23; - inline const ::JoinNewGameMessage& joinnewgamemessage() const; - inline ::JoinNewGameMessage* mutable_joinnewgamemessage(); - inline ::JoinNewGameMessage* release_joinnewgamemessage(); - inline void set_allocated_joinnewgamemessage(::JoinNewGameMessage* joinnewgamemessage); - - // optional .RejoinExistingGameMessage rejoinExistingGameMessage = 24; - inline bool has_rejoinexistinggamemessage() const; - inline void clear_rejoinexistinggamemessage(); - static const int kRejoinExistingGameMessageFieldNumber = 24; - inline const ::RejoinExistingGameMessage& rejoinexistinggamemessage() const; - inline ::RejoinExistingGameMessage* mutable_rejoinexistinggamemessage(); - inline ::RejoinExistingGameMessage* release_rejoinexistinggamemessage(); - inline void set_allocated_rejoinexistinggamemessage(::RejoinExistingGameMessage* rejoinexistinggamemessage); - - // optional .JoinGameAckMessage joinGameAckMessage = 25; - inline bool has_joingameackmessage() const; - inline void clear_joingameackmessage(); - static const int kJoinGameAckMessageFieldNumber = 25; - inline const ::JoinGameAckMessage& joingameackmessage() const; - inline ::JoinGameAckMessage* mutable_joingameackmessage(); - inline ::JoinGameAckMessage* release_joingameackmessage(); - inline void set_allocated_joingameackmessage(::JoinGameAckMessage* joingameackmessage); - - // optional .JoinGameFailedMessage joinGameFailedMessage = 26; - inline bool has_joingamefailedmessage() const; - inline void clear_joingamefailedmessage(); - static const int kJoinGameFailedMessageFieldNumber = 26; - inline const ::JoinGameFailedMessage& joingamefailedmessage() const; - inline ::JoinGameFailedMessage* mutable_joingamefailedmessage(); - inline ::JoinGameFailedMessage* release_joingamefailedmessage(); - inline void set_allocated_joingamefailedmessage(::JoinGameFailedMessage* joingamefailedmessage); - - // optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 27; - inline bool has_gameplayerjoinedmessage() const; - inline void clear_gameplayerjoinedmessage(); - static const int kGamePlayerJoinedMessageFieldNumber = 27; - inline const ::GamePlayerJoinedMessage& gameplayerjoinedmessage() const; - inline ::GamePlayerJoinedMessage* mutable_gameplayerjoinedmessage(); - inline ::GamePlayerJoinedMessage* release_gameplayerjoinedmessage(); - inline void set_allocated_gameplayerjoinedmessage(::GamePlayerJoinedMessage* gameplayerjoinedmessage); - - // optional .GamePlayerLeftMessage gamePlayerLeftMessage = 28; - inline bool has_gameplayerleftmessage() const; - inline void clear_gameplayerleftmessage(); - static const int kGamePlayerLeftMessageFieldNumber = 28; - inline const ::GamePlayerLeftMessage& gameplayerleftmessage() const; - inline ::GamePlayerLeftMessage* mutable_gameplayerleftmessage(); - inline ::GamePlayerLeftMessage* release_gameplayerleftmessage(); - inline void set_allocated_gameplayerleftmessage(::GamePlayerLeftMessage* gameplayerleftmessage); - - // optional .GameAdminChangedMessage gameAdminChangedMessage = 29; - inline bool has_gameadminchangedmessage() const; - inline void clear_gameadminchangedmessage(); - static const int kGameAdminChangedMessageFieldNumber = 29; - inline const ::GameAdminChangedMessage& gameadminchangedmessage() const; - inline ::GameAdminChangedMessage* mutable_gameadminchangedmessage(); - inline ::GameAdminChangedMessage* release_gameadminchangedmessage(); - inline void set_allocated_gameadminchangedmessage(::GameAdminChangedMessage* gameadminchangedmessage); - - // optional .RemovedFromGameMessage removedFromGameMessage = 30; - inline bool has_removedfromgamemessage() const; - inline void clear_removedfromgamemessage(); - static const int kRemovedFromGameMessageFieldNumber = 30; - inline const ::RemovedFromGameMessage& removedfromgamemessage() const; - inline ::RemovedFromGameMessage* mutable_removedfromgamemessage(); - inline ::RemovedFromGameMessage* release_removedfromgamemessage(); - inline void set_allocated_removedfromgamemessage(::RemovedFromGameMessage* removedfromgamemessage); - - // optional .KickPlayerRequestMessage kickPlayerRequestMessage = 31; - inline bool has_kickplayerrequestmessage() const; - inline void clear_kickplayerrequestmessage(); - static const int kKickPlayerRequestMessageFieldNumber = 31; - inline const ::KickPlayerRequestMessage& kickplayerrequestmessage() const; - inline ::KickPlayerRequestMessage* mutable_kickplayerrequestmessage(); - inline ::KickPlayerRequestMessage* release_kickplayerrequestmessage(); - inline void set_allocated_kickplayerrequestmessage(::KickPlayerRequestMessage* kickplayerrequestmessage); - - // optional .LeaveGameRequestMessage leaveGameRequestMessage = 32; - inline bool has_leavegamerequestmessage() const; - inline void clear_leavegamerequestmessage(); - static const int kLeaveGameRequestMessageFieldNumber = 32; - inline const ::LeaveGameRequestMessage& leavegamerequestmessage() const; - inline ::LeaveGameRequestMessage* mutable_leavegamerequestmessage(); - inline ::LeaveGameRequestMessage* release_leavegamerequestmessage(); - inline void set_allocated_leavegamerequestmessage(::LeaveGameRequestMessage* leavegamerequestmessage); - - // optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 33; - inline bool has_inviteplayertogamemessage() const; - inline void clear_inviteplayertogamemessage(); - static const int kInvitePlayerToGameMessageFieldNumber = 33; - inline const ::InvitePlayerToGameMessage& inviteplayertogamemessage() const; - inline ::InvitePlayerToGameMessage* mutable_inviteplayertogamemessage(); - inline ::InvitePlayerToGameMessage* release_inviteplayertogamemessage(); - inline void set_allocated_inviteplayertogamemessage(::InvitePlayerToGameMessage* inviteplayertogamemessage); - - // optional .InviteNotifyMessage inviteNotifyMessage = 34; - inline bool has_invitenotifymessage() const; - inline void clear_invitenotifymessage(); - static const int kInviteNotifyMessageFieldNumber = 34; - inline const ::InviteNotifyMessage& invitenotifymessage() const; - inline ::InviteNotifyMessage* mutable_invitenotifymessage(); - inline ::InviteNotifyMessage* release_invitenotifymessage(); - inline void set_allocated_invitenotifymessage(::InviteNotifyMessage* invitenotifymessage); - - // optional .RejectGameInvitationMessage rejectGameInvitationMessage = 35; - inline bool has_rejectgameinvitationmessage() const; - inline void clear_rejectgameinvitationmessage(); - static const int kRejectGameInvitationMessageFieldNumber = 35; - inline const ::RejectGameInvitationMessage& rejectgameinvitationmessage() const; - inline ::RejectGameInvitationMessage* mutable_rejectgameinvitationmessage(); - inline ::RejectGameInvitationMessage* release_rejectgameinvitationmessage(); - inline void set_allocated_rejectgameinvitationmessage(::RejectGameInvitationMessage* rejectgameinvitationmessage); - - // optional .RejectInvNotifyMessage rejectInvNotifyMessage = 36; - inline bool has_rejectinvnotifymessage() const; - inline void clear_rejectinvnotifymessage(); - static const int kRejectInvNotifyMessageFieldNumber = 36; - inline const ::RejectInvNotifyMessage& rejectinvnotifymessage() const; - inline ::RejectInvNotifyMessage* mutable_rejectinvnotifymessage(); - inline ::RejectInvNotifyMessage* release_rejectinvnotifymessage(); - inline void set_allocated_rejectinvnotifymessage(::RejectInvNotifyMessage* rejectinvnotifymessage); - - // optional .StartEventMessage startEventMessage = 37; - inline bool has_starteventmessage() const; - inline void clear_starteventmessage(); - static const int kStartEventMessageFieldNumber = 37; - inline const ::StartEventMessage& starteventmessage() const; - inline ::StartEventMessage* mutable_starteventmessage(); - inline ::StartEventMessage* release_starteventmessage(); - inline void set_allocated_starteventmessage(::StartEventMessage* starteventmessage); - - // optional .StartEventAckMessage startEventAckMessage = 38; - inline bool has_starteventackmessage() const; - inline void clear_starteventackmessage(); - static const int kStartEventAckMessageFieldNumber = 38; - inline const ::StartEventAckMessage& starteventackmessage() const; - inline ::StartEventAckMessage* mutable_starteventackmessage(); - inline ::StartEventAckMessage* release_starteventackmessage(); - inline void set_allocated_starteventackmessage(::StartEventAckMessage* starteventackmessage); - - // optional .GameStartInitialMessage gameStartInitialMessage = 39; - inline bool has_gamestartinitialmessage() const; - inline void clear_gamestartinitialmessage(); - static const int kGameStartInitialMessageFieldNumber = 39; - inline const ::GameStartInitialMessage& gamestartinitialmessage() const; - inline ::GameStartInitialMessage* mutable_gamestartinitialmessage(); - inline ::GameStartInitialMessage* release_gamestartinitialmessage(); - inline void set_allocated_gamestartinitialmessage(::GameStartInitialMessage* gamestartinitialmessage); - - // optional .GameStartRejoinMessage gameStartRejoinMessage = 40; - inline bool has_gamestartrejoinmessage() const; - inline void clear_gamestartrejoinmessage(); - static const int kGameStartRejoinMessageFieldNumber = 40; - inline const ::GameStartRejoinMessage& gamestartrejoinmessage() const; - inline ::GameStartRejoinMessage* mutable_gamestartrejoinmessage(); - inline ::GameStartRejoinMessage* release_gamestartrejoinmessage(); - inline void set_allocated_gamestartrejoinmessage(::GameStartRejoinMessage* gamestartrejoinmessage); - - // optional .HandStartMessage handStartMessage = 41; - inline bool has_handstartmessage() const; - inline void clear_handstartmessage(); - static const int kHandStartMessageFieldNumber = 41; - inline const ::HandStartMessage& handstartmessage() const; - inline ::HandStartMessage* mutable_handstartmessage(); - inline ::HandStartMessage* release_handstartmessage(); - inline void set_allocated_handstartmessage(::HandStartMessage* handstartmessage); - - // optional .PlayersTurnMessage playersTurnMessage = 42; - inline bool has_playersturnmessage() const; - inline void clear_playersturnmessage(); - static const int kPlayersTurnMessageFieldNumber = 42; - inline const ::PlayersTurnMessage& playersturnmessage() const; - inline ::PlayersTurnMessage* mutable_playersturnmessage(); - inline ::PlayersTurnMessage* release_playersturnmessage(); - inline void set_allocated_playersturnmessage(::PlayersTurnMessage* playersturnmessage); - - // optional .MyActionRequestMessage myActionRequestMessage = 43; - inline bool has_myactionrequestmessage() const; - inline void clear_myactionrequestmessage(); - static const int kMyActionRequestMessageFieldNumber = 43; - inline const ::MyActionRequestMessage& myactionrequestmessage() const; - inline ::MyActionRequestMessage* mutable_myactionrequestmessage(); - inline ::MyActionRequestMessage* release_myactionrequestmessage(); - inline void set_allocated_myactionrequestmessage(::MyActionRequestMessage* myactionrequestmessage); - - // optional .YourActionRejectedMessage yourActionRejectedMessage = 44; - inline bool has_youractionrejectedmessage() const; - inline void clear_youractionrejectedmessage(); - static const int kYourActionRejectedMessageFieldNumber = 44; - inline const ::YourActionRejectedMessage& youractionrejectedmessage() const; - inline ::YourActionRejectedMessage* mutable_youractionrejectedmessage(); - inline ::YourActionRejectedMessage* release_youractionrejectedmessage(); - inline void set_allocated_youractionrejectedmessage(::YourActionRejectedMessage* youractionrejectedmessage); - - // optional .PlayersActionDoneMessage playersActionDoneMessage = 45; - inline bool has_playersactiondonemessage() const; - inline void clear_playersactiondonemessage(); - static const int kPlayersActionDoneMessageFieldNumber = 45; - inline const ::PlayersActionDoneMessage& playersactiondonemessage() const; - inline ::PlayersActionDoneMessage* mutable_playersactiondonemessage(); - inline ::PlayersActionDoneMessage* release_playersactiondonemessage(); - inline void set_allocated_playersactiondonemessage(::PlayersActionDoneMessage* playersactiondonemessage); - - // optional .DealFlopCardsMessage dealFlopCardsMessage = 46; - inline bool has_dealflopcardsmessage() const; - inline void clear_dealflopcardsmessage(); - static const int kDealFlopCardsMessageFieldNumber = 46; - inline const ::DealFlopCardsMessage& dealflopcardsmessage() const; - inline ::DealFlopCardsMessage* mutable_dealflopcardsmessage(); - inline ::DealFlopCardsMessage* release_dealflopcardsmessage(); - inline void set_allocated_dealflopcardsmessage(::DealFlopCardsMessage* dealflopcardsmessage); - - // optional .DealTurnCardMessage dealTurnCardMessage = 47; - inline bool has_dealturncardmessage() const; - inline void clear_dealturncardmessage(); - static const int kDealTurnCardMessageFieldNumber = 47; - inline const ::DealTurnCardMessage& dealturncardmessage() const; - inline ::DealTurnCardMessage* mutable_dealturncardmessage(); - inline ::DealTurnCardMessage* release_dealturncardmessage(); - inline void set_allocated_dealturncardmessage(::DealTurnCardMessage* dealturncardmessage); - - // optional .DealRiverCardMessage dealRiverCardMessage = 48; - inline bool has_dealrivercardmessage() const; - inline void clear_dealrivercardmessage(); - static const int kDealRiverCardMessageFieldNumber = 48; - inline const ::DealRiverCardMessage& dealrivercardmessage() const; - inline ::DealRiverCardMessage* mutable_dealrivercardmessage(); - inline ::DealRiverCardMessage* release_dealrivercardmessage(); - inline void set_allocated_dealrivercardmessage(::DealRiverCardMessage* dealrivercardmessage); - - // optional .AllInShowCardsMessage allInShowCardsMessage = 49; - inline bool has_allinshowcardsmessage() const; - inline void clear_allinshowcardsmessage(); - static const int kAllInShowCardsMessageFieldNumber = 49; - inline const ::AllInShowCardsMessage& allinshowcardsmessage() const; - inline ::AllInShowCardsMessage* mutable_allinshowcardsmessage(); - inline ::AllInShowCardsMessage* release_allinshowcardsmessage(); - inline void set_allocated_allinshowcardsmessage(::AllInShowCardsMessage* allinshowcardsmessage); - - // optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 50; - inline bool has_endofhandshowcardsmessage() const; - inline void clear_endofhandshowcardsmessage(); - static const int kEndOfHandShowCardsMessageFieldNumber = 50; - inline const ::EndOfHandShowCardsMessage& endofhandshowcardsmessage() const; - inline ::EndOfHandShowCardsMessage* mutable_endofhandshowcardsmessage(); - inline ::EndOfHandShowCardsMessage* release_endofhandshowcardsmessage(); - inline void set_allocated_endofhandshowcardsmessage(::EndOfHandShowCardsMessage* endofhandshowcardsmessage); - - // optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 51; - inline bool has_endofhandhidecardsmessage() const; - inline void clear_endofhandhidecardsmessage(); - static const int kEndOfHandHideCardsMessageFieldNumber = 51; - inline const ::EndOfHandHideCardsMessage& endofhandhidecardsmessage() const; - inline ::EndOfHandHideCardsMessage* mutable_endofhandhidecardsmessage(); - inline ::EndOfHandHideCardsMessage* release_endofhandhidecardsmessage(); - inline void set_allocated_endofhandhidecardsmessage(::EndOfHandHideCardsMessage* endofhandhidecardsmessage); - - // optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 52; - inline bool has_showmycardsrequestmessage() const; - inline void clear_showmycardsrequestmessage(); - static const int kShowMyCardsRequestMessageFieldNumber = 52; - inline const ::ShowMyCardsRequestMessage& showmycardsrequestmessage() const; - inline ::ShowMyCardsRequestMessage* mutable_showmycardsrequestmessage(); - inline ::ShowMyCardsRequestMessage* release_showmycardsrequestmessage(); - inline void set_allocated_showmycardsrequestmessage(::ShowMyCardsRequestMessage* showmycardsrequestmessage); - - // optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 53; - inline bool has_afterhandshowcardsmessage() const; - inline void clear_afterhandshowcardsmessage(); - static const int kAfterHandShowCardsMessageFieldNumber = 53; - inline const ::AfterHandShowCardsMessage& afterhandshowcardsmessage() const; - inline ::AfterHandShowCardsMessage* mutable_afterhandshowcardsmessage(); - inline ::AfterHandShowCardsMessage* release_afterhandshowcardsmessage(); - inline void set_allocated_afterhandshowcardsmessage(::AfterHandShowCardsMessage* afterhandshowcardsmessage); - - // optional .EndOfGameMessage endOfGameMessage = 54; - inline bool has_endofgamemessage() const; - inline void clear_endofgamemessage(); - static const int kEndOfGameMessageFieldNumber = 54; - inline const ::EndOfGameMessage& endofgamemessage() const; - inline ::EndOfGameMessage* mutable_endofgamemessage(); - inline ::EndOfGameMessage* release_endofgamemessage(); - inline void set_allocated_endofgamemessage(::EndOfGameMessage* endofgamemessage); - - // optional .PlayerIdChangedMessage playerIdChangedMessage = 55; - inline bool has_playeridchangedmessage() const; - inline void clear_playeridchangedmessage(); - static const int kPlayerIdChangedMessageFieldNumber = 55; - inline const ::PlayerIdChangedMessage& playeridchangedmessage() const; - inline ::PlayerIdChangedMessage* mutable_playeridchangedmessage(); - inline ::PlayerIdChangedMessage* release_playeridchangedmessage(); - inline void set_allocated_playeridchangedmessage(::PlayerIdChangedMessage* playeridchangedmessage); - - // optional .AskKickPlayerMessage askKickPlayerMessage = 56; - inline bool has_askkickplayermessage() const; - inline void clear_askkickplayermessage(); - static const int kAskKickPlayerMessageFieldNumber = 56; - inline const ::AskKickPlayerMessage& askkickplayermessage() const; - inline ::AskKickPlayerMessage* mutable_askkickplayermessage(); - inline ::AskKickPlayerMessage* release_askkickplayermessage(); - inline void set_allocated_askkickplayermessage(::AskKickPlayerMessage* askkickplayermessage); - - // optional .AskKickDeniedMessage askKickDeniedMessage = 57; - inline bool has_askkickdeniedmessage() const; - inline void clear_askkickdeniedmessage(); - static const int kAskKickDeniedMessageFieldNumber = 57; - inline const ::AskKickDeniedMessage& askkickdeniedmessage() const; - inline ::AskKickDeniedMessage* mutable_askkickdeniedmessage(); - inline ::AskKickDeniedMessage* release_askkickdeniedmessage(); - inline void set_allocated_askkickdeniedmessage(::AskKickDeniedMessage* askkickdeniedmessage); - - // optional .StartKickPetitionMessage startKickPetitionMessage = 58; - inline bool has_startkickpetitionmessage() const; - inline void clear_startkickpetitionmessage(); - static const int kStartKickPetitionMessageFieldNumber = 58; - inline const ::StartKickPetitionMessage& startkickpetitionmessage() const; - inline ::StartKickPetitionMessage* mutable_startkickpetitionmessage(); - inline ::StartKickPetitionMessage* release_startkickpetitionmessage(); - inline void set_allocated_startkickpetitionmessage(::StartKickPetitionMessage* startkickpetitionmessage); - - // optional .VoteKickRequestMessage voteKickRequestMessage = 59; - inline bool has_votekickrequestmessage() const; - inline void clear_votekickrequestmessage(); - static const int kVoteKickRequestMessageFieldNumber = 59; - inline const ::VoteKickRequestMessage& votekickrequestmessage() const; - inline ::VoteKickRequestMessage* mutable_votekickrequestmessage(); - inline ::VoteKickRequestMessage* release_votekickrequestmessage(); - inline void set_allocated_votekickrequestmessage(::VoteKickRequestMessage* votekickrequestmessage); - - // optional .VoteKickReplyMessage voteKickReplyMessage = 60; - inline bool has_votekickreplymessage() const; - inline void clear_votekickreplymessage(); - static const int kVoteKickReplyMessageFieldNumber = 60; - inline const ::VoteKickReplyMessage& votekickreplymessage() const; - inline ::VoteKickReplyMessage* mutable_votekickreplymessage(); - inline ::VoteKickReplyMessage* release_votekickreplymessage(); - inline void set_allocated_votekickreplymessage(::VoteKickReplyMessage* votekickreplymessage); - - // optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 61; - inline bool has_kickpetitionupdatemessage() const; - inline void clear_kickpetitionupdatemessage(); - static const int kKickPetitionUpdateMessageFieldNumber = 61; - inline const ::KickPetitionUpdateMessage& kickpetitionupdatemessage() const; - inline ::KickPetitionUpdateMessage* mutable_kickpetitionupdatemessage(); - inline ::KickPetitionUpdateMessage* release_kickpetitionupdatemessage(); - inline void set_allocated_kickpetitionupdatemessage(::KickPetitionUpdateMessage* kickpetitionupdatemessage); - - // optional .EndKickPetitionMessage endKickPetitionMessage = 62; - inline bool has_endkickpetitionmessage() const; - inline void clear_endkickpetitionmessage(); - static const int kEndKickPetitionMessageFieldNumber = 62; - inline const ::EndKickPetitionMessage& endkickpetitionmessage() const; - inline ::EndKickPetitionMessage* mutable_endkickpetitionmessage(); - inline ::EndKickPetitionMessage* release_endkickpetitionmessage(); - inline void set_allocated_endkickpetitionmessage(::EndKickPetitionMessage* endkickpetitionmessage); - - // optional .StatisticsMessage statisticsMessage = 63; - inline bool has_statisticsmessage() const; - inline void clear_statisticsmessage(); - static const int kStatisticsMessageFieldNumber = 63; - inline const ::StatisticsMessage& statisticsmessage() const; - inline ::StatisticsMessage* mutable_statisticsmessage(); - inline ::StatisticsMessage* release_statisticsmessage(); - inline void set_allocated_statisticsmessage(::StatisticsMessage* statisticsmessage); - - // optional .ChatRequestMessage chatRequestMessage = 64; - inline bool has_chatrequestmessage() const; - inline void clear_chatrequestmessage(); - static const int kChatRequestMessageFieldNumber = 64; - inline const ::ChatRequestMessage& chatrequestmessage() const; - inline ::ChatRequestMessage* mutable_chatrequestmessage(); - inline ::ChatRequestMessage* release_chatrequestmessage(); - inline void set_allocated_chatrequestmessage(::ChatRequestMessage* chatrequestmessage); - - // optional .ChatMessage chatMessage = 65; - inline bool has_chatmessage() const; - inline void clear_chatmessage(); - static const int kChatMessageFieldNumber = 65; - inline const ::ChatMessage& chatmessage() const; - inline ::ChatMessage* mutable_chatmessage(); - inline ::ChatMessage* release_chatmessage(); - inline void set_allocated_chatmessage(::ChatMessage* chatmessage); - - // optional .ChatRejectMessage chatRejectMessage = 66; - inline bool has_chatrejectmessage() const; - inline void clear_chatrejectmessage(); - static const int kChatRejectMessageFieldNumber = 66; - inline const ::ChatRejectMessage& chatrejectmessage() const; - inline ::ChatRejectMessage* mutable_chatrejectmessage(); - inline ::ChatRejectMessage* release_chatrejectmessage(); - inline void set_allocated_chatrejectmessage(::ChatRejectMessage* chatrejectmessage); - - // optional .DialogMessage dialogMessage = 67; - inline bool has_dialogmessage() const; - inline void clear_dialogmessage(); - static const int kDialogMessageFieldNumber = 67; - inline const ::DialogMessage& dialogmessage() const; - inline ::DialogMessage* mutable_dialogmessage(); - inline ::DialogMessage* release_dialogmessage(); - inline void set_allocated_dialogmessage(::DialogMessage* dialogmessage); - - // optional .TimeoutWarningMessage timeoutWarningMessage = 68; - inline bool has_timeoutwarningmessage() const; - inline void clear_timeoutwarningmessage(); - static const int kTimeoutWarningMessageFieldNumber = 68; - inline const ::TimeoutWarningMessage& timeoutwarningmessage() const; - inline ::TimeoutWarningMessage* mutable_timeoutwarningmessage(); - inline ::TimeoutWarningMessage* release_timeoutwarningmessage(); - inline void set_allocated_timeoutwarningmessage(::TimeoutWarningMessage* timeoutwarningmessage); - - // optional .ResetTimeoutMessage resetTimeoutMessage = 69; - inline bool has_resettimeoutmessage() const; - inline void clear_resettimeoutmessage(); - static const int kResetTimeoutMessageFieldNumber = 69; - inline const ::ResetTimeoutMessage& resettimeoutmessage() const; - inline ::ResetTimeoutMessage* mutable_resettimeoutmessage(); - inline ::ResetTimeoutMessage* release_resettimeoutmessage(); - inline void set_allocated_resettimeoutmessage(::ResetTimeoutMessage* resettimeoutmessage); - - // optional .ReportAvatarMessage reportAvatarMessage = 70; - inline bool has_reportavatarmessage() const; - inline void clear_reportavatarmessage(); - static const int kReportAvatarMessageFieldNumber = 70; - inline const ::ReportAvatarMessage& reportavatarmessage() const; - inline ::ReportAvatarMessage* mutable_reportavatarmessage(); - inline ::ReportAvatarMessage* release_reportavatarmessage(); - inline void set_allocated_reportavatarmessage(::ReportAvatarMessage* reportavatarmessage); - - // optional .ReportAvatarAckMessage reportAvatarAckMessage = 71; - inline bool has_reportavatarackmessage() const; - inline void clear_reportavatarackmessage(); - static const int kReportAvatarAckMessageFieldNumber = 71; - inline const ::ReportAvatarAckMessage& reportavatarackmessage() const; - inline ::ReportAvatarAckMessage* mutable_reportavatarackmessage(); - inline ::ReportAvatarAckMessage* release_reportavatarackmessage(); - inline void set_allocated_reportavatarackmessage(::ReportAvatarAckMessage* reportavatarackmessage); - - // optional .ReportGameMessage reportGameMessage = 72; - inline bool has_reportgamemessage() const; - inline void clear_reportgamemessage(); - static const int kReportGameMessageFieldNumber = 72; - inline const ::ReportGameMessage& reportgamemessage() const; - inline ::ReportGameMessage* mutable_reportgamemessage(); - inline ::ReportGameMessage* release_reportgamemessage(); - inline void set_allocated_reportgamemessage(::ReportGameMessage* reportgamemessage); - - // optional .ReportGameAckMessage reportGameAckMessage = 73; - inline bool has_reportgameackmessage() const; - inline void clear_reportgameackmessage(); - static const int kReportGameAckMessageFieldNumber = 73; - inline const ::ReportGameAckMessage& reportgameackmessage() const; - inline ::ReportGameAckMessage* mutable_reportgameackmessage(); - inline ::ReportGameAckMessage* release_reportgameackmessage(); - inline void set_allocated_reportgameackmessage(::ReportGameAckMessage* reportgameackmessage); - - // optional .ErrorMessage errorMessage = 74; - inline bool has_errormessage() const; - inline void clear_errormessage(); - static const int kErrorMessageFieldNumber = 74; - inline const ::ErrorMessage& errormessage() const; - inline ::ErrorMessage* mutable_errormessage(); - inline ::ErrorMessage* release_errormessage(); - inline void set_allocated_errormessage(::ErrorMessage* errormessage); - - // optional .AdminRemoveGameMessage adminRemoveGameMessage = 75; - inline bool has_adminremovegamemessage() const; - inline void clear_adminremovegamemessage(); - static const int kAdminRemoveGameMessageFieldNumber = 75; - inline const ::AdminRemoveGameMessage& adminremovegamemessage() const; - inline ::AdminRemoveGameMessage* mutable_adminremovegamemessage(); - inline ::AdminRemoveGameMessage* release_adminremovegamemessage(); - inline void set_allocated_adminremovegamemessage(::AdminRemoveGameMessage* adminremovegamemessage); - - // optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 76; - inline bool has_adminremovegameackmessage() const; - inline void clear_adminremovegameackmessage(); - static const int kAdminRemoveGameAckMessageFieldNumber = 76; - inline const ::AdminRemoveGameAckMessage& adminremovegameackmessage() const; - inline ::AdminRemoveGameAckMessage* mutable_adminremovegameackmessage(); - inline ::AdminRemoveGameAckMessage* release_adminremovegameackmessage(); - inline void set_allocated_adminremovegameackmessage(::AdminRemoveGameAckMessage* adminremovegameackmessage); - - // optional .AdminBanPlayerMessage adminBanPlayerMessage = 77; - inline bool has_adminbanplayermessage() const; - inline void clear_adminbanplayermessage(); - static const int kAdminBanPlayerMessageFieldNumber = 77; - inline const ::AdminBanPlayerMessage& adminbanplayermessage() const; - inline ::AdminBanPlayerMessage* mutable_adminbanplayermessage(); - inline ::AdminBanPlayerMessage* release_adminbanplayermessage(); - inline void set_allocated_adminbanplayermessage(::AdminBanPlayerMessage* adminbanplayermessage); - - // optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 78; - inline bool has_adminbanplayerackmessage() const; - inline void clear_adminbanplayerackmessage(); - static const int kAdminBanPlayerAckMessageFieldNumber = 78; - inline const ::AdminBanPlayerAckMessage& adminbanplayerackmessage() const; - inline ::AdminBanPlayerAckMessage* mutable_adminbanplayerackmessage(); - inline ::AdminBanPlayerAckMessage* release_adminbanplayerackmessage(); - inline void set_allocated_adminbanplayerackmessage(::AdminBanPlayerAckMessage* adminbanplayerackmessage); - - // optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 79; - inline bool has_gamelistspectatorjoinedmessage() const; - inline void clear_gamelistspectatorjoinedmessage(); - static const int kGameListSpectatorJoinedMessageFieldNumber = 79; - inline const ::GameListSpectatorJoinedMessage& gamelistspectatorjoinedmessage() const; - inline ::GameListSpectatorJoinedMessage* mutable_gamelistspectatorjoinedmessage(); - inline ::GameListSpectatorJoinedMessage* release_gamelistspectatorjoinedmessage(); - inline void set_allocated_gamelistspectatorjoinedmessage(::GameListSpectatorJoinedMessage* gamelistspectatorjoinedmessage); - - // optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 80; - inline bool has_gamelistspectatorleftmessage() const; - inline void clear_gamelistspectatorleftmessage(); - static const int kGameListSpectatorLeftMessageFieldNumber = 80; - inline const ::GameListSpectatorLeftMessage& gamelistspectatorleftmessage() const; - inline ::GameListSpectatorLeftMessage* mutable_gamelistspectatorleftmessage(); - inline ::GameListSpectatorLeftMessage* release_gamelistspectatorleftmessage(); - inline void set_allocated_gamelistspectatorleftmessage(::GameListSpectatorLeftMessage* gamelistspectatorleftmessage); - - // optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 81; - inline bool has_gamespectatorjoinedmessage() const; - inline void clear_gamespectatorjoinedmessage(); - static const int kGameSpectatorJoinedMessageFieldNumber = 81; - inline const ::GameSpectatorJoinedMessage& gamespectatorjoinedmessage() const; - inline ::GameSpectatorJoinedMessage* mutable_gamespectatorjoinedmessage(); - inline ::GameSpectatorJoinedMessage* release_gamespectatorjoinedmessage(); - inline void set_allocated_gamespectatorjoinedmessage(::GameSpectatorJoinedMessage* gamespectatorjoinedmessage); - - // optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 82; - inline bool has_gamespectatorleftmessage() const; - inline void clear_gamespectatorleftmessage(); - static const int kGameSpectatorLeftMessageFieldNumber = 82; - inline const ::GameSpectatorLeftMessage& gamespectatorleftmessage() const; - inline ::GameSpectatorLeftMessage* mutable_gamespectatorleftmessage(); - inline ::GameSpectatorLeftMessage* release_gamespectatorleftmessage(); - inline void set_allocated_gamespectatorleftmessage(::GameSpectatorLeftMessage* gamespectatorleftmessage); + // optional .AuthMessage authMessage = 3; + inline bool has_authmessage() const; + inline void clear_authmessage(); + static const int kAuthMessageFieldNumber = 3; + inline const ::AuthMessage& authmessage() const; + inline ::AuthMessage* mutable_authmessage(); + inline ::AuthMessage* release_authmessage(); + inline void set_allocated_authmessage(::AuthMessage* authmessage); + + // optional .LobbyMessage lobbyMessage = 4; + inline bool has_lobbymessage() const; + inline void clear_lobbymessage(); + static const int kLobbyMessageFieldNumber = 4; + inline const ::LobbyMessage& lobbymessage() const; + inline ::LobbyMessage* mutable_lobbymessage(); + inline ::LobbyMessage* release_lobbymessage(); + inline void set_allocated_lobbymessage(::LobbyMessage* lobbymessage); + + // optional .GameMessage gameMessage = 5; + inline bool has_gamemessage() const; + inline void clear_gamemessage(); + static const int kGameMessageFieldNumber = 5; + inline const ::GameMessage& gamemessage() const; + inline ::GameMessage* mutable_gamemessage(); + inline ::GameMessage* release_gamemessage(); + inline void set_allocated_gamemessage(::GameMessage* gamemessage); // @@protoc_insertion_point(class_scope:PokerTHMessage) private: @@ -11053,252 +11914,21 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { inline void clear_has_messagetype(); inline void set_has_announcemessage(); inline void clear_has_announcemessage(); - inline void set_has_initmessage(); - inline void clear_has_initmessage(); - inline void set_has_authserverchallengemessage(); - inline void clear_has_authserverchallengemessage(); - inline void set_has_authclientresponsemessage(); - inline void clear_has_authclientresponsemessage(); - inline void set_has_authserververificationmessage(); - inline void clear_has_authserververificationmessage(); - inline void set_has_initackmessage(); - inline void clear_has_initackmessage(); - inline void set_has_avatarrequestmessage(); - inline void clear_has_avatarrequestmessage(); - inline void set_has_avatarheadermessage(); - inline void clear_has_avatarheadermessage(); - inline void set_has_avatardatamessage(); - inline void clear_has_avatardatamessage(); - inline void set_has_avatarendmessage(); - inline void clear_has_avatarendmessage(); - inline void set_has_unknownavatarmessage(); - inline void clear_has_unknownavatarmessage(); - inline void set_has_playerlistmessage(); - inline void clear_has_playerlistmessage(); - inline void set_has_gamelistnewmessage(); - inline void clear_has_gamelistnewmessage(); - inline void set_has_gamelistupdatemessage(); - inline void clear_has_gamelistupdatemessage(); - inline void set_has_gamelistplayerjoinedmessage(); - inline void clear_has_gamelistplayerjoinedmessage(); - inline void set_has_gamelistplayerleftmessage(); - inline void clear_has_gamelistplayerleftmessage(); - inline void set_has_gamelistadminchangedmessage(); - inline void clear_has_gamelistadminchangedmessage(); - inline void set_has_playerinforequestmessage(); - inline void clear_has_playerinforequestmessage(); - inline void set_has_playerinforeplymessage(); - inline void clear_has_playerinforeplymessage(); - inline void set_has_subscriptionrequestmessage(); - inline void clear_has_subscriptionrequestmessage(); - inline void set_has_joinexistinggamemessage(); - inline void clear_has_joinexistinggamemessage(); - inline void set_has_joinnewgamemessage(); - inline void clear_has_joinnewgamemessage(); - inline void set_has_rejoinexistinggamemessage(); - inline void clear_has_rejoinexistinggamemessage(); - inline void set_has_joingameackmessage(); - inline void clear_has_joingameackmessage(); - inline void set_has_joingamefailedmessage(); - inline void clear_has_joingamefailedmessage(); - inline void set_has_gameplayerjoinedmessage(); - inline void clear_has_gameplayerjoinedmessage(); - inline void set_has_gameplayerleftmessage(); - inline void clear_has_gameplayerleftmessage(); - inline void set_has_gameadminchangedmessage(); - inline void clear_has_gameadminchangedmessage(); - inline void set_has_removedfromgamemessage(); - inline void clear_has_removedfromgamemessage(); - inline void set_has_kickplayerrequestmessage(); - inline void clear_has_kickplayerrequestmessage(); - inline void set_has_leavegamerequestmessage(); - inline void clear_has_leavegamerequestmessage(); - inline void set_has_inviteplayertogamemessage(); - inline void clear_has_inviteplayertogamemessage(); - inline void set_has_invitenotifymessage(); - inline void clear_has_invitenotifymessage(); - inline void set_has_rejectgameinvitationmessage(); - inline void clear_has_rejectgameinvitationmessage(); - inline void set_has_rejectinvnotifymessage(); - inline void clear_has_rejectinvnotifymessage(); - inline void set_has_starteventmessage(); - inline void clear_has_starteventmessage(); - inline void set_has_starteventackmessage(); - inline void clear_has_starteventackmessage(); - inline void set_has_gamestartinitialmessage(); - inline void clear_has_gamestartinitialmessage(); - inline void set_has_gamestartrejoinmessage(); - inline void clear_has_gamestartrejoinmessage(); - inline void set_has_handstartmessage(); - inline void clear_has_handstartmessage(); - inline void set_has_playersturnmessage(); - inline void clear_has_playersturnmessage(); - inline void set_has_myactionrequestmessage(); - inline void clear_has_myactionrequestmessage(); - inline void set_has_youractionrejectedmessage(); - inline void clear_has_youractionrejectedmessage(); - inline void set_has_playersactiondonemessage(); - inline void clear_has_playersactiondonemessage(); - inline void set_has_dealflopcardsmessage(); - inline void clear_has_dealflopcardsmessage(); - inline void set_has_dealturncardmessage(); - inline void clear_has_dealturncardmessage(); - inline void set_has_dealrivercardmessage(); - inline void clear_has_dealrivercardmessage(); - inline void set_has_allinshowcardsmessage(); - inline void clear_has_allinshowcardsmessage(); - inline void set_has_endofhandshowcardsmessage(); - inline void clear_has_endofhandshowcardsmessage(); - inline void set_has_endofhandhidecardsmessage(); - inline void clear_has_endofhandhidecardsmessage(); - inline void set_has_showmycardsrequestmessage(); - inline void clear_has_showmycardsrequestmessage(); - inline void set_has_afterhandshowcardsmessage(); - inline void clear_has_afterhandshowcardsmessage(); - inline void set_has_endofgamemessage(); - inline void clear_has_endofgamemessage(); - inline void set_has_playeridchangedmessage(); - inline void clear_has_playeridchangedmessage(); - inline void set_has_askkickplayermessage(); - inline void clear_has_askkickplayermessage(); - inline void set_has_askkickdeniedmessage(); - inline void clear_has_askkickdeniedmessage(); - inline void set_has_startkickpetitionmessage(); - inline void clear_has_startkickpetitionmessage(); - inline void set_has_votekickrequestmessage(); - inline void clear_has_votekickrequestmessage(); - inline void set_has_votekickreplymessage(); - inline void clear_has_votekickreplymessage(); - inline void set_has_kickpetitionupdatemessage(); - inline void clear_has_kickpetitionupdatemessage(); - inline void set_has_endkickpetitionmessage(); - inline void clear_has_endkickpetitionmessage(); - inline void set_has_statisticsmessage(); - inline void clear_has_statisticsmessage(); - inline void set_has_chatrequestmessage(); - inline void clear_has_chatrequestmessage(); - inline void set_has_chatmessage(); - inline void clear_has_chatmessage(); - inline void set_has_chatrejectmessage(); - inline void clear_has_chatrejectmessage(); - inline void set_has_dialogmessage(); - inline void clear_has_dialogmessage(); - inline void set_has_timeoutwarningmessage(); - inline void clear_has_timeoutwarningmessage(); - inline void set_has_resettimeoutmessage(); - inline void clear_has_resettimeoutmessage(); - inline void set_has_reportavatarmessage(); - inline void clear_has_reportavatarmessage(); - inline void set_has_reportavatarackmessage(); - inline void clear_has_reportavatarackmessage(); - inline void set_has_reportgamemessage(); - inline void clear_has_reportgamemessage(); - inline void set_has_reportgameackmessage(); - inline void clear_has_reportgameackmessage(); - inline void set_has_errormessage(); - inline void clear_has_errormessage(); - inline void set_has_adminremovegamemessage(); - inline void clear_has_adminremovegamemessage(); - inline void set_has_adminremovegameackmessage(); - inline void clear_has_adminremovegameackmessage(); - inline void set_has_adminbanplayermessage(); - inline void clear_has_adminbanplayermessage(); - inline void set_has_adminbanplayerackmessage(); - inline void clear_has_adminbanplayerackmessage(); - inline void set_has_gamelistspectatorjoinedmessage(); - inline void clear_has_gamelistspectatorjoinedmessage(); - inline void set_has_gamelistspectatorleftmessage(); - inline void clear_has_gamelistspectatorleftmessage(); - inline void set_has_gamespectatorjoinedmessage(); - inline void clear_has_gamespectatorjoinedmessage(); - inline void set_has_gamespectatorleftmessage(); - inline void clear_has_gamespectatorleftmessage(); + inline void set_has_authmessage(); + inline void clear_has_authmessage(); + inline void set_has_lobbymessage(); + inline void clear_has_lobbymessage(); + inline void set_has_gamemessage(); + inline void clear_has_gamemessage(); ::AnnounceMessage* announcemessage_; - ::InitMessage* initmessage_; - ::AuthServerChallengeMessage* authserverchallengemessage_; - ::AuthClientResponseMessage* authclientresponsemessage_; - ::AuthServerVerificationMessage* authserververificationmessage_; - ::InitAckMessage* initackmessage_; - ::AvatarRequestMessage* avatarrequestmessage_; - ::AvatarHeaderMessage* avatarheadermessage_; - ::AvatarDataMessage* avatardatamessage_; - ::AvatarEndMessage* avatarendmessage_; - ::UnknownAvatarMessage* unknownavatarmessage_; - ::PlayerListMessage* playerlistmessage_; - ::GameListNewMessage* gamelistnewmessage_; - ::GameListUpdateMessage* gamelistupdatemessage_; - ::GameListPlayerJoinedMessage* gamelistplayerjoinedmessage_; - ::GameListPlayerLeftMessage* gamelistplayerleftmessage_; - ::GameListAdminChangedMessage* gamelistadminchangedmessage_; - ::PlayerInfoRequestMessage* playerinforequestmessage_; - ::PlayerInfoReplyMessage* playerinforeplymessage_; - ::SubscriptionRequestMessage* subscriptionrequestmessage_; - ::JoinExistingGameMessage* joinexistinggamemessage_; - ::JoinNewGameMessage* joinnewgamemessage_; - ::RejoinExistingGameMessage* rejoinexistinggamemessage_; - ::JoinGameAckMessage* joingameackmessage_; - ::JoinGameFailedMessage* joingamefailedmessage_; - ::GamePlayerJoinedMessage* gameplayerjoinedmessage_; - ::GamePlayerLeftMessage* gameplayerleftmessage_; - ::GameAdminChangedMessage* gameadminchangedmessage_; - ::RemovedFromGameMessage* removedfromgamemessage_; - ::KickPlayerRequestMessage* kickplayerrequestmessage_; - ::LeaveGameRequestMessage* leavegamerequestmessage_; - ::InvitePlayerToGameMessage* inviteplayertogamemessage_; - ::InviteNotifyMessage* invitenotifymessage_; - ::RejectGameInvitationMessage* rejectgameinvitationmessage_; - ::RejectInvNotifyMessage* rejectinvnotifymessage_; - ::StartEventMessage* starteventmessage_; - ::StartEventAckMessage* starteventackmessage_; - ::GameStartInitialMessage* gamestartinitialmessage_; - ::GameStartRejoinMessage* gamestartrejoinmessage_; - ::HandStartMessage* handstartmessage_; - ::PlayersTurnMessage* playersturnmessage_; - ::MyActionRequestMessage* myactionrequestmessage_; - ::YourActionRejectedMessage* youractionrejectedmessage_; - ::PlayersActionDoneMessage* playersactiondonemessage_; - ::DealFlopCardsMessage* dealflopcardsmessage_; - ::DealTurnCardMessage* dealturncardmessage_; - ::DealRiverCardMessage* dealrivercardmessage_; - ::AllInShowCardsMessage* allinshowcardsmessage_; - ::EndOfHandShowCardsMessage* endofhandshowcardsmessage_; - ::EndOfHandHideCardsMessage* endofhandhidecardsmessage_; - ::ShowMyCardsRequestMessage* showmycardsrequestmessage_; - ::AfterHandShowCardsMessage* afterhandshowcardsmessage_; - ::EndOfGameMessage* endofgamemessage_; - ::PlayerIdChangedMessage* playeridchangedmessage_; - ::AskKickPlayerMessage* askkickplayermessage_; - ::AskKickDeniedMessage* askkickdeniedmessage_; - ::StartKickPetitionMessage* startkickpetitionmessage_; - ::VoteKickRequestMessage* votekickrequestmessage_; - ::VoteKickReplyMessage* votekickreplymessage_; - ::KickPetitionUpdateMessage* kickpetitionupdatemessage_; - ::EndKickPetitionMessage* endkickpetitionmessage_; - ::StatisticsMessage* statisticsmessage_; - ::ChatRequestMessage* chatrequestmessage_; - ::ChatMessage* chatmessage_; - ::ChatRejectMessage* chatrejectmessage_; - ::DialogMessage* dialogmessage_; - ::TimeoutWarningMessage* timeoutwarningmessage_; - ::ResetTimeoutMessage* resettimeoutmessage_; - ::ReportAvatarMessage* reportavatarmessage_; - ::ReportAvatarAckMessage* reportavatarackmessage_; - ::ReportGameMessage* reportgamemessage_; - ::ReportGameAckMessage* reportgameackmessage_; - ::ErrorMessage* errormessage_; - ::AdminRemoveGameMessage* adminremovegamemessage_; - ::AdminRemoveGameAckMessage* adminremovegameackmessage_; - ::AdminBanPlayerMessage* adminbanplayermessage_; - ::AdminBanPlayerAckMessage* adminbanplayerackmessage_; - ::GameListSpectatorJoinedMessage* gamelistspectatorjoinedmessage_; - ::GameListSpectatorLeftMessage* gamelistspectatorleftmessage_; - ::GameSpectatorJoinedMessage* gamespectatorjoinedmessage_; - ::GameSpectatorLeftMessage* gamespectatorleftmessage_; + ::AuthMessage* authmessage_; + ::LobbyMessage* lobbymessage_; + ::GameMessage* gamemessage_; int messagetype_; mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(82 + 31) / 32]; + ::google::protobuf::uint32 _has_bits_[(5 + 31) / 32]; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_pokerth_2eproto_impl(); @@ -12068,41 +12698,41 @@ inline void AnnounceMessage::set_numplayersonserver(::google::protobuf::uint32 v // ------------------------------------------------------------------- -// InitMessage +// AuthClientRequestMessage // required .AnnounceMessage.Version requestedVersion = 1; -inline bool InitMessage::has_requestedversion() const { +inline bool AuthClientRequestMessage::has_requestedversion() const { return (_has_bits_[0] & 0x00000001u) != 0; } -inline void InitMessage::set_has_requestedversion() { +inline void AuthClientRequestMessage::set_has_requestedversion() { _has_bits_[0] |= 0x00000001u; } -inline void InitMessage::clear_has_requestedversion() { +inline void AuthClientRequestMessage::clear_has_requestedversion() { _has_bits_[0] &= ~0x00000001u; } -inline void InitMessage::clear_requestedversion() { +inline void AuthClientRequestMessage::clear_requestedversion() { if (requestedversion_ != NULL) requestedversion_->::AnnounceMessage_Version::Clear(); clear_has_requestedversion(); } -inline const ::AnnounceMessage_Version& InitMessage::requestedversion() const { +inline const ::AnnounceMessage_Version& AuthClientRequestMessage::requestedversion() const { #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return requestedversion_ != NULL ? *requestedversion_ : *default_instance().requestedversion_; #else return requestedversion_ != NULL ? *requestedversion_ : *default_instance_->requestedversion_; #endif } -inline ::AnnounceMessage_Version* InitMessage::mutable_requestedversion() { +inline ::AnnounceMessage_Version* AuthClientRequestMessage::mutable_requestedversion() { set_has_requestedversion(); if (requestedversion_ == NULL) requestedversion_ = new ::AnnounceMessage_Version; return requestedversion_; } -inline ::AnnounceMessage_Version* InitMessage::release_requestedversion() { +inline ::AnnounceMessage_Version* AuthClientRequestMessage::release_requestedversion() { clear_has_requestedversion(); ::AnnounceMessage_Version* temp = requestedversion_; requestedversion_ = NULL; return temp; } -inline void InitMessage::set_allocated_requestedversion(::AnnounceMessage_Version* requestedversion) { +inline void AuthClientRequestMessage::set_allocated_requestedversion(::AnnounceMessage_Version* requestedversion) { delete requestedversion_; requestedversion_ = requestedversion; if (requestedversion) { @@ -12113,145 +12743,98 @@ inline void InitMessage::set_allocated_requestedversion(::AnnounceMessage_Versio } // required uint32 buildId = 2; -inline bool InitMessage::has_buildid() const { +inline bool AuthClientRequestMessage::has_buildid() const { return (_has_bits_[0] & 0x00000002u) != 0; } -inline void InitMessage::set_has_buildid() { +inline void AuthClientRequestMessage::set_has_buildid() { _has_bits_[0] |= 0x00000002u; } -inline void InitMessage::clear_has_buildid() { +inline void AuthClientRequestMessage::clear_has_buildid() { _has_bits_[0] &= ~0x00000002u; } -inline void InitMessage::clear_buildid() { +inline void AuthClientRequestMessage::clear_buildid() { buildid_ = 0u; clear_has_buildid(); } -inline ::google::protobuf::uint32 InitMessage::buildid() const { +inline ::google::protobuf::uint32 AuthClientRequestMessage::buildid() const { return buildid_; } -inline void InitMessage::set_buildid(::google::protobuf::uint32 value) { +inline void AuthClientRequestMessage::set_buildid(::google::protobuf::uint32 value) { set_has_buildid(); buildid_ = value; } -// optional bytes myLastSessionId = 3; -inline bool InitMessage::has_mylastsessionid() const { +// required .AuthClientRequestMessage.LoginType login = 3; +inline bool AuthClientRequestMessage::has_login() const { return (_has_bits_[0] & 0x00000004u) != 0; } -inline void InitMessage::set_has_mylastsessionid() { +inline void AuthClientRequestMessage::set_has_login() { _has_bits_[0] |= 0x00000004u; } -inline void InitMessage::clear_has_mylastsessionid() { +inline void AuthClientRequestMessage::clear_has_login() { _has_bits_[0] &= ~0x00000004u; } -inline void InitMessage::clear_mylastsessionid() { - if (mylastsessionid_ != &::google::protobuf::internal::kEmptyString) { - mylastsessionid_->clear(); - } - clear_has_mylastsessionid(); +inline void AuthClientRequestMessage::clear_login() { + login_ = 0; + clear_has_login(); } -inline const ::std::string& InitMessage::mylastsessionid() const { - return *mylastsessionid_; +inline ::AuthClientRequestMessage_LoginType AuthClientRequestMessage::login() const { + return static_cast< ::AuthClientRequestMessage_LoginType >(login_); } -inline void InitMessage::set_mylastsessionid(const ::std::string& value) { - set_has_mylastsessionid(); - if (mylastsessionid_ == &::google::protobuf::internal::kEmptyString) { - mylastsessionid_ = new ::std::string; - } - mylastsessionid_->assign(value); -} -inline void InitMessage::set_mylastsessionid(const char* value) { - set_has_mylastsessionid(); - if (mylastsessionid_ == &::google::protobuf::internal::kEmptyString) { - mylastsessionid_ = new ::std::string; - } - mylastsessionid_->assign(value); -} -inline void InitMessage::set_mylastsessionid(const void* value, size_t size) { - set_has_mylastsessionid(); - if (mylastsessionid_ == &::google::protobuf::internal::kEmptyString) { - mylastsessionid_ = new ::std::string; - } - mylastsessionid_->assign(reinterpret_cast(value), size); -} -inline ::std::string* InitMessage::mutable_mylastsessionid() { - set_has_mylastsessionid(); - if (mylastsessionid_ == &::google::protobuf::internal::kEmptyString) { - mylastsessionid_ = new ::std::string; - } - return mylastsessionid_; -} -inline ::std::string* InitMessage::release_mylastsessionid() { - clear_has_mylastsessionid(); - if (mylastsessionid_ == &::google::protobuf::internal::kEmptyString) { - return NULL; - } else { - ::std::string* temp = mylastsessionid_; - mylastsessionid_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); - return temp; - } -} -inline void InitMessage::set_allocated_mylastsessionid(::std::string* mylastsessionid) { - if (mylastsessionid_ != &::google::protobuf::internal::kEmptyString) { - delete mylastsessionid_; - } - if (mylastsessionid) { - set_has_mylastsessionid(); - mylastsessionid_ = mylastsessionid; - } else { - clear_has_mylastsessionid(); - mylastsessionid_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); - } +inline void AuthClientRequestMessage::set_login(::AuthClientRequestMessage_LoginType value) { + assert(::AuthClientRequestMessage_LoginType_IsValid(value)); + set_has_login(); + login_ = value; } // optional string authServerPassword = 4; -inline bool InitMessage::has_authserverpassword() const { +inline bool AuthClientRequestMessage::has_authserverpassword() const { return (_has_bits_[0] & 0x00000008u) != 0; } -inline void InitMessage::set_has_authserverpassword() { +inline void AuthClientRequestMessage::set_has_authserverpassword() { _has_bits_[0] |= 0x00000008u; } -inline void InitMessage::clear_has_authserverpassword() { +inline void AuthClientRequestMessage::clear_has_authserverpassword() { _has_bits_[0] &= ~0x00000008u; } -inline void InitMessage::clear_authserverpassword() { +inline void AuthClientRequestMessage::clear_authserverpassword() { if (authserverpassword_ != &::google::protobuf::internal::kEmptyString) { authserverpassword_->clear(); } clear_has_authserverpassword(); } -inline const ::std::string& InitMessage::authserverpassword() const { +inline const ::std::string& AuthClientRequestMessage::authserverpassword() const { return *authserverpassword_; } -inline void InitMessage::set_authserverpassword(const ::std::string& value) { +inline void AuthClientRequestMessage::set_authserverpassword(const ::std::string& value) { set_has_authserverpassword(); if (authserverpassword_ == &::google::protobuf::internal::kEmptyString) { authserverpassword_ = new ::std::string; } authserverpassword_->assign(value); } -inline void InitMessage::set_authserverpassword(const char* value) { +inline void AuthClientRequestMessage::set_authserverpassword(const char* value) { set_has_authserverpassword(); if (authserverpassword_ == &::google::protobuf::internal::kEmptyString) { authserverpassword_ = new ::std::string; } authserverpassword_->assign(value); } -inline void InitMessage::set_authserverpassword(const char* value, size_t size) { +inline void AuthClientRequestMessage::set_authserverpassword(const char* value, size_t size) { set_has_authserverpassword(); if (authserverpassword_ == &::google::protobuf::internal::kEmptyString) { authserverpassword_ = new ::std::string; } authserverpassword_->assign(reinterpret_cast(value), size); } -inline ::std::string* InitMessage::mutable_authserverpassword() { +inline ::std::string* AuthClientRequestMessage::mutable_authserverpassword() { set_has_authserverpassword(); if (authserverpassword_ == &::google::protobuf::internal::kEmptyString) { authserverpassword_ = new ::std::string; } return authserverpassword_; } -inline ::std::string* InitMessage::release_authserverpassword() { +inline ::std::string* AuthClientRequestMessage::release_authserverpassword() { clear_has_authserverpassword(); if (authserverpassword_ == &::google::protobuf::internal::kEmptyString) { return NULL; @@ -12261,7 +12844,7 @@ inline ::std::string* InitMessage::release_authserverpassword() { return temp; } } -inline void InitMessage::set_allocated_authserverpassword(::std::string* authserverpassword) { +inline void AuthClientRequestMessage::set_allocated_authserverpassword(::std::string* authserverpassword) { if (authserverpassword_ != &::google::protobuf::internal::kEmptyString) { delete authserverpassword_; } @@ -12274,77 +12857,54 @@ inline void InitMessage::set_allocated_authserverpassword(::std::string* authser } } -// required .InitMessage.LoginType login = 5; -inline bool InitMessage::has_login() const { +// optional string nickName = 5; +inline bool AuthClientRequestMessage::has_nickname() const { return (_has_bits_[0] & 0x00000010u) != 0; } -inline void InitMessage::set_has_login() { +inline void AuthClientRequestMessage::set_has_nickname() { _has_bits_[0] |= 0x00000010u; } -inline void InitMessage::clear_has_login() { +inline void AuthClientRequestMessage::clear_has_nickname() { _has_bits_[0] &= ~0x00000010u; } -inline void InitMessage::clear_login() { - login_ = 0; - clear_has_login(); -} -inline ::InitMessage_LoginType InitMessage::login() const { - return static_cast< ::InitMessage_LoginType >(login_); -} -inline void InitMessage::set_login(::InitMessage_LoginType value) { - assert(::InitMessage_LoginType_IsValid(value)); - set_has_login(); - login_ = value; -} - -// optional string nickName = 6; -inline bool InitMessage::has_nickname() const { - return (_has_bits_[0] & 0x00000020u) != 0; -} -inline void InitMessage::set_has_nickname() { - _has_bits_[0] |= 0x00000020u; -} -inline void InitMessage::clear_has_nickname() { - _has_bits_[0] &= ~0x00000020u; -} -inline void InitMessage::clear_nickname() { +inline void AuthClientRequestMessage::clear_nickname() { if (nickname_ != &::google::protobuf::internal::kEmptyString) { nickname_->clear(); } clear_has_nickname(); } -inline const ::std::string& InitMessage::nickname() const { +inline const ::std::string& AuthClientRequestMessage::nickname() const { return *nickname_; } -inline void InitMessage::set_nickname(const ::std::string& value) { +inline void AuthClientRequestMessage::set_nickname(const ::std::string& value) { set_has_nickname(); if (nickname_ == &::google::protobuf::internal::kEmptyString) { nickname_ = new ::std::string; } nickname_->assign(value); } -inline void InitMessage::set_nickname(const char* value) { +inline void AuthClientRequestMessage::set_nickname(const char* value) { set_has_nickname(); if (nickname_ == &::google::protobuf::internal::kEmptyString) { nickname_ = new ::std::string; } nickname_->assign(value); } -inline void InitMessage::set_nickname(const char* value, size_t size) { +inline void AuthClientRequestMessage::set_nickname(const char* value, size_t size) { set_has_nickname(); if (nickname_ == &::google::protobuf::internal::kEmptyString) { nickname_ = new ::std::string; } nickname_->assign(reinterpret_cast(value), size); } -inline ::std::string* InitMessage::mutable_nickname() { +inline ::std::string* AuthClientRequestMessage::mutable_nickname() { set_has_nickname(); if (nickname_ == &::google::protobuf::internal::kEmptyString) { nickname_ = new ::std::string; } return nickname_; } -inline ::std::string* InitMessage::release_nickname() { +inline ::std::string* AuthClientRequestMessage::release_nickname() { clear_has_nickname(); if (nickname_ == &::google::protobuf::internal::kEmptyString) { return NULL; @@ -12354,7 +12914,7 @@ inline ::std::string* InitMessage::release_nickname() { return temp; } } -inline void InitMessage::set_allocated_nickname(::std::string* nickname) { +inline void AuthClientRequestMessage::set_allocated_nickname(::std::string* nickname) { if (nickname_ != &::google::protobuf::internal::kEmptyString) { delete nickname_; } @@ -12367,54 +12927,54 @@ inline void InitMessage::set_allocated_nickname(::std::string* nickname) { } } -// optional bytes clientUserData = 7; -inline bool InitMessage::has_clientuserdata() const { - return (_has_bits_[0] & 0x00000040u) != 0; +// optional bytes clientUserData = 6; +inline bool AuthClientRequestMessage::has_clientuserdata() const { + return (_has_bits_[0] & 0x00000020u) != 0; } -inline void InitMessage::set_has_clientuserdata() { - _has_bits_[0] |= 0x00000040u; +inline void AuthClientRequestMessage::set_has_clientuserdata() { + _has_bits_[0] |= 0x00000020u; } -inline void InitMessage::clear_has_clientuserdata() { - _has_bits_[0] &= ~0x00000040u; +inline void AuthClientRequestMessage::clear_has_clientuserdata() { + _has_bits_[0] &= ~0x00000020u; } -inline void InitMessage::clear_clientuserdata() { +inline void AuthClientRequestMessage::clear_clientuserdata() { if (clientuserdata_ != &::google::protobuf::internal::kEmptyString) { clientuserdata_->clear(); } clear_has_clientuserdata(); } -inline const ::std::string& InitMessage::clientuserdata() const { +inline const ::std::string& AuthClientRequestMessage::clientuserdata() const { return *clientuserdata_; } -inline void InitMessage::set_clientuserdata(const ::std::string& value) { +inline void AuthClientRequestMessage::set_clientuserdata(const ::std::string& value) { set_has_clientuserdata(); if (clientuserdata_ == &::google::protobuf::internal::kEmptyString) { clientuserdata_ = new ::std::string; } clientuserdata_->assign(value); } -inline void InitMessage::set_clientuserdata(const char* value) { +inline void AuthClientRequestMessage::set_clientuserdata(const char* value) { set_has_clientuserdata(); if (clientuserdata_ == &::google::protobuf::internal::kEmptyString) { clientuserdata_ = new ::std::string; } clientuserdata_->assign(value); } -inline void InitMessage::set_clientuserdata(const void* value, size_t size) { +inline void AuthClientRequestMessage::set_clientuserdata(const void* value, size_t size) { set_has_clientuserdata(); if (clientuserdata_ == &::google::protobuf::internal::kEmptyString) { clientuserdata_ = new ::std::string; } clientuserdata_->assign(reinterpret_cast(value), size); } -inline ::std::string* InitMessage::mutable_clientuserdata() { +inline ::std::string* AuthClientRequestMessage::mutable_clientuserdata() { set_has_clientuserdata(); if (clientuserdata_ == &::google::protobuf::internal::kEmptyString) { clientuserdata_ = new ::std::string; } return clientuserdata_; } -inline ::std::string* InitMessage::release_clientuserdata() { +inline ::std::string* AuthClientRequestMessage::release_clientuserdata() { clear_has_clientuserdata(); if (clientuserdata_ == &::google::protobuf::internal::kEmptyString) { return NULL; @@ -12424,7 +12984,7 @@ inline ::std::string* InitMessage::release_clientuserdata() { return temp; } } -inline void InitMessage::set_allocated_clientuserdata(::std::string* clientuserdata) { +inline void AuthClientRequestMessage::set_allocated_clientuserdata(::std::string* clientuserdata) { if (clientuserdata_ != &::google::protobuf::internal::kEmptyString) { delete clientuserdata_; } @@ -12437,73 +12997,73 @@ inline void InitMessage::set_allocated_clientuserdata(::std::string* clientuserd } } -// optional bytes avatarHash = 8; -inline bool InitMessage::has_avatarhash() const { - return (_has_bits_[0] & 0x00000080u) != 0; +// optional bytes myLastSessionId = 7; +inline bool AuthClientRequestMessage::has_mylastsessionid() const { + return (_has_bits_[0] & 0x00000040u) != 0; } -inline void InitMessage::set_has_avatarhash() { - _has_bits_[0] |= 0x00000080u; +inline void AuthClientRequestMessage::set_has_mylastsessionid() { + _has_bits_[0] |= 0x00000040u; } -inline void InitMessage::clear_has_avatarhash() { - _has_bits_[0] &= ~0x00000080u; +inline void AuthClientRequestMessage::clear_has_mylastsessionid() { + _has_bits_[0] &= ~0x00000040u; } -inline void InitMessage::clear_avatarhash() { - if (avatarhash_ != &::google::protobuf::internal::kEmptyString) { - avatarhash_->clear(); +inline void AuthClientRequestMessage::clear_mylastsessionid() { + if (mylastsessionid_ != &::google::protobuf::internal::kEmptyString) { + mylastsessionid_->clear(); } - clear_has_avatarhash(); + clear_has_mylastsessionid(); } -inline const ::std::string& InitMessage::avatarhash() const { - return *avatarhash_; +inline const ::std::string& AuthClientRequestMessage::mylastsessionid() const { + return *mylastsessionid_; } -inline void InitMessage::set_avatarhash(const ::std::string& value) { - set_has_avatarhash(); - if (avatarhash_ == &::google::protobuf::internal::kEmptyString) { - avatarhash_ = new ::std::string; +inline void AuthClientRequestMessage::set_mylastsessionid(const ::std::string& value) { + set_has_mylastsessionid(); + if (mylastsessionid_ == &::google::protobuf::internal::kEmptyString) { + mylastsessionid_ = new ::std::string; } - avatarhash_->assign(value); + mylastsessionid_->assign(value); } -inline void InitMessage::set_avatarhash(const char* value) { - set_has_avatarhash(); - if (avatarhash_ == &::google::protobuf::internal::kEmptyString) { - avatarhash_ = new ::std::string; +inline void AuthClientRequestMessage::set_mylastsessionid(const char* value) { + set_has_mylastsessionid(); + if (mylastsessionid_ == &::google::protobuf::internal::kEmptyString) { + mylastsessionid_ = new ::std::string; } - avatarhash_->assign(value); + mylastsessionid_->assign(value); } -inline void InitMessage::set_avatarhash(const void* value, size_t size) { - set_has_avatarhash(); - if (avatarhash_ == &::google::protobuf::internal::kEmptyString) { - avatarhash_ = new ::std::string; +inline void AuthClientRequestMessage::set_mylastsessionid(const void* value, size_t size) { + set_has_mylastsessionid(); + if (mylastsessionid_ == &::google::protobuf::internal::kEmptyString) { + mylastsessionid_ = new ::std::string; } - avatarhash_->assign(reinterpret_cast(value), size); + mylastsessionid_->assign(reinterpret_cast(value), size); } -inline ::std::string* InitMessage::mutable_avatarhash() { - set_has_avatarhash(); - if (avatarhash_ == &::google::protobuf::internal::kEmptyString) { - avatarhash_ = new ::std::string; +inline ::std::string* AuthClientRequestMessage::mutable_mylastsessionid() { + set_has_mylastsessionid(); + if (mylastsessionid_ == &::google::protobuf::internal::kEmptyString) { + mylastsessionid_ = new ::std::string; } - return avatarhash_; + return mylastsessionid_; } -inline ::std::string* InitMessage::release_avatarhash() { - clear_has_avatarhash(); - if (avatarhash_ == &::google::protobuf::internal::kEmptyString) { +inline ::std::string* AuthClientRequestMessage::release_mylastsessionid() { + clear_has_mylastsessionid(); + if (mylastsessionid_ == &::google::protobuf::internal::kEmptyString) { return NULL; } else { - ::std::string* temp = avatarhash_; - avatarhash_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + ::std::string* temp = mylastsessionid_; + mylastsessionid_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); return temp; } } -inline void InitMessage::set_allocated_avatarhash(::std::string* avatarhash) { - if (avatarhash_ != &::google::protobuf::internal::kEmptyString) { - delete avatarhash_; +inline void AuthClientRequestMessage::set_allocated_mylastsessionid(::std::string* mylastsessionid) { + if (mylastsessionid_ != &::google::protobuf::internal::kEmptyString) { + delete mylastsessionid_; } - if (avatarhash) { - set_has_avatarhash(); - avatarhash_ = avatarhash; + if (mylastsessionid) { + set_has_mylastsessionid(); + mylastsessionid_ = mylastsessionid; } else { - clear_has_avatarhash(); - avatarhash_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + clear_has_mylastsessionid(); + mylastsessionid_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); } } @@ -12659,16 +13219,108 @@ inline void AuthClientResponseMessage::set_allocated_clientresponse(::std::strin // AuthServerVerificationMessage -// required bytes serverVerification = 1; -inline bool AuthServerVerificationMessage::has_serververification() const { +// required bytes yourSessionId = 1; +inline bool AuthServerVerificationMessage::has_yoursessionid() const { return (_has_bits_[0] & 0x00000001u) != 0; } -inline void AuthServerVerificationMessage::set_has_serververification() { +inline void AuthServerVerificationMessage::set_has_yoursessionid() { _has_bits_[0] |= 0x00000001u; } -inline void AuthServerVerificationMessage::clear_has_serververification() { +inline void AuthServerVerificationMessage::clear_has_yoursessionid() { _has_bits_[0] &= ~0x00000001u; } +inline void AuthServerVerificationMessage::clear_yoursessionid() { + if (yoursessionid_ != &::google::protobuf::internal::kEmptyString) { + yoursessionid_->clear(); + } + clear_has_yoursessionid(); +} +inline const ::std::string& AuthServerVerificationMessage::yoursessionid() const { + return *yoursessionid_; +} +inline void AuthServerVerificationMessage::set_yoursessionid(const ::std::string& value) { + set_has_yoursessionid(); + if (yoursessionid_ == &::google::protobuf::internal::kEmptyString) { + yoursessionid_ = new ::std::string; + } + yoursessionid_->assign(value); +} +inline void AuthServerVerificationMessage::set_yoursessionid(const char* value) { + set_has_yoursessionid(); + if (yoursessionid_ == &::google::protobuf::internal::kEmptyString) { + yoursessionid_ = new ::std::string; + } + yoursessionid_->assign(value); +} +inline void AuthServerVerificationMessage::set_yoursessionid(const void* value, size_t size) { + set_has_yoursessionid(); + if (yoursessionid_ == &::google::protobuf::internal::kEmptyString) { + yoursessionid_ = new ::std::string; + } + yoursessionid_->assign(reinterpret_cast(value), size); +} +inline ::std::string* AuthServerVerificationMessage::mutable_yoursessionid() { + set_has_yoursessionid(); + if (yoursessionid_ == &::google::protobuf::internal::kEmptyString) { + yoursessionid_ = new ::std::string; + } + return yoursessionid_; +} +inline ::std::string* AuthServerVerificationMessage::release_yoursessionid() { + clear_has_yoursessionid(); + if (yoursessionid_ == &::google::protobuf::internal::kEmptyString) { + return NULL; + } else { + ::std::string* temp = yoursessionid_; + yoursessionid_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + return temp; + } +} +inline void AuthServerVerificationMessage::set_allocated_yoursessionid(::std::string* yoursessionid) { + if (yoursessionid_ != &::google::protobuf::internal::kEmptyString) { + delete yoursessionid_; + } + if (yoursessionid) { + set_has_yoursessionid(); + yoursessionid_ = yoursessionid; + } else { + clear_has_yoursessionid(); + yoursessionid_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + } +} + +// required uint32 yourPlayerId = 2; +inline bool AuthServerVerificationMessage::has_yourplayerid() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void AuthServerVerificationMessage::set_has_yourplayerid() { + _has_bits_[0] |= 0x00000002u; +} +inline void AuthServerVerificationMessage::clear_has_yourplayerid() { + _has_bits_[0] &= ~0x00000002u; +} +inline void AuthServerVerificationMessage::clear_yourplayerid() { + yourplayerid_ = 0u; + clear_has_yourplayerid(); +} +inline ::google::protobuf::uint32 AuthServerVerificationMessage::yourplayerid() const { + return yourplayerid_; +} +inline void AuthServerVerificationMessage::set_yourplayerid(::google::protobuf::uint32 value) { + set_has_yourplayerid(); + yourplayerid_ = value; +} + +// optional bytes serverVerification = 3; +inline bool AuthServerVerificationMessage::has_serververification() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void AuthServerVerificationMessage::set_has_serververification() { + _has_bits_[0] |= 0x00000004u; +} +inline void AuthServerVerificationMessage::clear_has_serververification() { + _has_bits_[0] &= ~0x00000004u; +} inline void AuthServerVerificationMessage::clear_serververification() { if (serververification_ != &::google::protobuf::internal::kEmptyString) { serververification_->clear(); @@ -12731,109 +13383,91 @@ inline void AuthServerVerificationMessage::set_allocated_serververification(::st // ------------------------------------------------------------------- -// InitAckMessage +// InitMessage -// required bytes yourSessionId = 1; -inline bool InitAckMessage::has_yoursessionid() const { +// optional bytes avatarHash = 1; +inline bool InitMessage::has_avatarhash() const { return (_has_bits_[0] & 0x00000001u) != 0; } -inline void InitAckMessage::set_has_yoursessionid() { +inline void InitMessage::set_has_avatarhash() { _has_bits_[0] |= 0x00000001u; } -inline void InitAckMessage::clear_has_yoursessionid() { +inline void InitMessage::clear_has_avatarhash() { _has_bits_[0] &= ~0x00000001u; } -inline void InitAckMessage::clear_yoursessionid() { - if (yoursessionid_ != &::google::protobuf::internal::kEmptyString) { - yoursessionid_->clear(); +inline void InitMessage::clear_avatarhash() { + if (avatarhash_ != &::google::protobuf::internal::kEmptyString) { + avatarhash_->clear(); } - clear_has_yoursessionid(); + clear_has_avatarhash(); } -inline const ::std::string& InitAckMessage::yoursessionid() const { - return *yoursessionid_; +inline const ::std::string& InitMessage::avatarhash() const { + return *avatarhash_; } -inline void InitAckMessage::set_yoursessionid(const ::std::string& value) { - set_has_yoursessionid(); - if (yoursessionid_ == &::google::protobuf::internal::kEmptyString) { - yoursessionid_ = new ::std::string; +inline void InitMessage::set_avatarhash(const ::std::string& value) { + set_has_avatarhash(); + if (avatarhash_ == &::google::protobuf::internal::kEmptyString) { + avatarhash_ = new ::std::string; } - yoursessionid_->assign(value); + avatarhash_->assign(value); } -inline void InitAckMessage::set_yoursessionid(const char* value) { - set_has_yoursessionid(); - if (yoursessionid_ == &::google::protobuf::internal::kEmptyString) { - yoursessionid_ = new ::std::string; +inline void InitMessage::set_avatarhash(const char* value) { + set_has_avatarhash(); + if (avatarhash_ == &::google::protobuf::internal::kEmptyString) { + avatarhash_ = new ::std::string; } - yoursessionid_->assign(value); + avatarhash_->assign(value); } -inline void InitAckMessage::set_yoursessionid(const void* value, size_t size) { - set_has_yoursessionid(); - if (yoursessionid_ == &::google::protobuf::internal::kEmptyString) { - yoursessionid_ = new ::std::string; +inline void InitMessage::set_avatarhash(const void* value, size_t size) { + set_has_avatarhash(); + if (avatarhash_ == &::google::protobuf::internal::kEmptyString) { + avatarhash_ = new ::std::string; } - yoursessionid_->assign(reinterpret_cast(value), size); + avatarhash_->assign(reinterpret_cast(value), size); } -inline ::std::string* InitAckMessage::mutable_yoursessionid() { - set_has_yoursessionid(); - if (yoursessionid_ == &::google::protobuf::internal::kEmptyString) { - yoursessionid_ = new ::std::string; +inline ::std::string* InitMessage::mutable_avatarhash() { + set_has_avatarhash(); + if (avatarhash_ == &::google::protobuf::internal::kEmptyString) { + avatarhash_ = new ::std::string; } - return yoursessionid_; + return avatarhash_; } -inline ::std::string* InitAckMessage::release_yoursessionid() { - clear_has_yoursessionid(); - if (yoursessionid_ == &::google::protobuf::internal::kEmptyString) { +inline ::std::string* InitMessage::release_avatarhash() { + clear_has_avatarhash(); + if (avatarhash_ == &::google::protobuf::internal::kEmptyString) { return NULL; } else { - ::std::string* temp = yoursessionid_; - yoursessionid_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + ::std::string* temp = avatarhash_; + avatarhash_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); return temp; } } -inline void InitAckMessage::set_allocated_yoursessionid(::std::string* yoursessionid) { - if (yoursessionid_ != &::google::protobuf::internal::kEmptyString) { - delete yoursessionid_; +inline void InitMessage::set_allocated_avatarhash(::std::string* avatarhash) { + if (avatarhash_ != &::google::protobuf::internal::kEmptyString) { + delete avatarhash_; } - if (yoursessionid) { - set_has_yoursessionid(); - yoursessionid_ = yoursessionid; + if (avatarhash) { + set_has_avatarhash(); + avatarhash_ = avatarhash; } else { - clear_has_yoursessionid(); - yoursessionid_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + clear_has_avatarhash(); + avatarhash_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); } } -// required uint32 yourPlayerId = 2; -inline bool InitAckMessage::has_yourplayerid() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void InitAckMessage::set_has_yourplayerid() { - _has_bits_[0] |= 0x00000002u; -} -inline void InitAckMessage::clear_has_yourplayerid() { - _has_bits_[0] &= ~0x00000002u; -} -inline void InitAckMessage::clear_yourplayerid() { - yourplayerid_ = 0u; - clear_has_yourplayerid(); -} -inline ::google::protobuf::uint32 InitAckMessage::yourplayerid() const { - return yourplayerid_; -} -inline void InitAckMessage::set_yourplayerid(::google::protobuf::uint32 value) { - set_has_yourplayerid(); - yourplayerid_ = value; -} +// ------------------------------------------------------------------- -// optional bytes yourAvatarHash = 3; +// InitAckMessage + +// optional bytes yourAvatarHash = 1; inline bool InitAckMessage::has_youravatarhash() const { - return (_has_bits_[0] & 0x00000004u) != 0; + return (_has_bits_[0] & 0x00000001u) != 0; } inline void InitAckMessage::set_has_youravatarhash() { - _has_bits_[0] |= 0x00000004u; + _has_bits_[0] |= 0x00000001u; } inline void InitAckMessage::clear_has_youravatarhash() { - _has_bits_[0] &= ~0x00000004u; + _has_bits_[0] &= ~0x00000001u; } inline void InitAckMessage::clear_youravatarhash() { if (youravatarhash_ != &::google::protobuf::internal::kEmptyString) { @@ -12895,15 +13529,15 @@ inline void InitAckMessage::set_allocated_youravatarhash(::std::string* youravat } } -// optional uint32 rejoinGameId = 4; +// optional uint32 rejoinGameId = 2; inline bool InitAckMessage::has_rejoingameid() const { - return (_has_bits_[0] & 0x00000008u) != 0; + return (_has_bits_[0] & 0x00000002u) != 0; } inline void InitAckMessage::set_has_rejoingameid() { - _has_bits_[0] |= 0x00000008u; + _has_bits_[0] |= 0x00000002u; } inline void InitAckMessage::clear_has_rejoingameid() { - _has_bits_[0] &= ~0x00000008u; + _has_bits_[0] &= ~0x00000002u; } inline void InitAckMessage::clear_rejoingameid() { rejoingameid_ = 0u; @@ -14184,16 +14818,38 @@ inline void PlayerInfoReplyMessage::set_allocated_playerinfodata(::PlayerInfoRep // SubscriptionRequestMessage -// required .SubscriptionRequestMessage.SubscriptionAction subscriptionAction = 1; -inline bool SubscriptionRequestMessage::has_subscriptionaction() const { +// required uint32 requestId = 1; +inline bool SubscriptionRequestMessage::has_requestid() const { return (_has_bits_[0] & 0x00000001u) != 0; } -inline void SubscriptionRequestMessage::set_has_subscriptionaction() { +inline void SubscriptionRequestMessage::set_has_requestid() { _has_bits_[0] |= 0x00000001u; } -inline void SubscriptionRequestMessage::clear_has_subscriptionaction() { +inline void SubscriptionRequestMessage::clear_has_requestid() { _has_bits_[0] &= ~0x00000001u; } +inline void SubscriptionRequestMessage::clear_requestid() { + requestid_ = 0u; + clear_has_requestid(); +} +inline ::google::protobuf::uint32 SubscriptionRequestMessage::requestid() const { + return requestid_; +} +inline void SubscriptionRequestMessage::set_requestid(::google::protobuf::uint32 value) { + set_has_requestid(); + requestid_ = value; +} + +// required .SubscriptionRequestMessage.SubscriptionAction subscriptionAction = 2; +inline bool SubscriptionRequestMessage::has_subscriptionaction() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void SubscriptionRequestMessage::set_has_subscriptionaction() { + _has_bits_[0] |= 0x00000002u; +} +inline void SubscriptionRequestMessage::clear_has_subscriptionaction() { + _has_bits_[0] &= ~0x00000002u; +} inline void SubscriptionRequestMessage::clear_subscriptionaction() { subscriptionaction_ = 1; clear_has_subscriptionaction(); @@ -14209,181 +14865,111 @@ inline void SubscriptionRequestMessage::set_subscriptionaction(::SubscriptionReq // ------------------------------------------------------------------- -// JoinExistingGameMessage +// SubscriptionReplyMessage -// required uint32 gameId = 1; -inline bool JoinExistingGameMessage::has_gameid() const { +// required uint32 requestId = 1; +inline bool SubscriptionReplyMessage::has_requestid() const { return (_has_bits_[0] & 0x00000001u) != 0; } -inline void JoinExistingGameMessage::set_has_gameid() { +inline void SubscriptionReplyMessage::set_has_requestid() { _has_bits_[0] |= 0x00000001u; } -inline void JoinExistingGameMessage::clear_has_gameid() { +inline void SubscriptionReplyMessage::clear_has_requestid() { _has_bits_[0] &= ~0x00000001u; } -inline void JoinExistingGameMessage::clear_gameid() { - gameid_ = 0u; - clear_has_gameid(); +inline void SubscriptionReplyMessage::clear_requestid() { + requestid_ = 0u; + clear_has_requestid(); } -inline ::google::protobuf::uint32 JoinExistingGameMessage::gameid() const { - return gameid_; +inline ::google::protobuf::uint32 SubscriptionReplyMessage::requestid() const { + return requestid_; } -inline void JoinExistingGameMessage::set_gameid(::google::protobuf::uint32 value) { - set_has_gameid(); - gameid_ = value; +inline void SubscriptionReplyMessage::set_requestid(::google::protobuf::uint32 value) { + set_has_requestid(); + requestid_ = value; } -// optional string password = 2; -inline bool JoinExistingGameMessage::has_password() const { +// required bool ack = 2; +inline bool SubscriptionReplyMessage::has_ack() const { return (_has_bits_[0] & 0x00000002u) != 0; } -inline void JoinExistingGameMessage::set_has_password() { +inline void SubscriptionReplyMessage::set_has_ack() { _has_bits_[0] |= 0x00000002u; } -inline void JoinExistingGameMessage::clear_has_password() { +inline void SubscriptionReplyMessage::clear_has_ack() { _has_bits_[0] &= ~0x00000002u; } -inline void JoinExistingGameMessage::clear_password() { - if (password_ != &::google::protobuf::internal::kEmptyString) { - password_->clear(); - } - clear_has_password(); +inline void SubscriptionReplyMessage::clear_ack() { + ack_ = false; + clear_has_ack(); } -inline const ::std::string& JoinExistingGameMessage::password() const { - return *password_; +inline bool SubscriptionReplyMessage::ack() const { + return ack_; } -inline void JoinExistingGameMessage::set_password(const ::std::string& value) { - set_has_password(); - if (password_ == &::google::protobuf::internal::kEmptyString) { - password_ = new ::std::string; - } - password_->assign(value); -} -inline void JoinExistingGameMessage::set_password(const char* value) { - set_has_password(); - if (password_ == &::google::protobuf::internal::kEmptyString) { - password_ = new ::std::string; - } - password_->assign(value); -} -inline void JoinExistingGameMessage::set_password(const char* value, size_t size) { - set_has_password(); - if (password_ == &::google::protobuf::internal::kEmptyString) { - password_ = new ::std::string; - } - password_->assign(reinterpret_cast(value), size); -} -inline ::std::string* JoinExistingGameMessage::mutable_password() { - set_has_password(); - if (password_ == &::google::protobuf::internal::kEmptyString) { - password_ = new ::std::string; - } - return password_; -} -inline ::std::string* JoinExistingGameMessage::release_password() { - clear_has_password(); - if (password_ == &::google::protobuf::internal::kEmptyString) { - return NULL; - } else { - ::std::string* temp = password_; - password_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); - return temp; - } -} -inline void JoinExistingGameMessage::set_allocated_password(::std::string* password) { - if (password_ != &::google::protobuf::internal::kEmptyString) { - delete password_; - } - if (password) { - set_has_password(); - password_ = password; - } else { - clear_has_password(); - password_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); - } -} - -// optional bool autoLeave = 3 [default = false]; -inline bool JoinExistingGameMessage::has_autoleave() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void JoinExistingGameMessage::set_has_autoleave() { - _has_bits_[0] |= 0x00000004u; -} -inline void JoinExistingGameMessage::clear_has_autoleave() { - _has_bits_[0] &= ~0x00000004u; -} -inline void JoinExistingGameMessage::clear_autoleave() { - autoleave_ = false; - clear_has_autoleave(); -} -inline bool JoinExistingGameMessage::autoleave() const { - return autoleave_; -} -inline void JoinExistingGameMessage::set_autoleave(bool value) { - set_has_autoleave(); - autoleave_ = value; -} - -// optional bool spectateOnly = 4 [default = false]; -inline bool JoinExistingGameMessage::has_spectateonly() const { - return (_has_bits_[0] & 0x00000008u) != 0; -} -inline void JoinExistingGameMessage::set_has_spectateonly() { - _has_bits_[0] |= 0x00000008u; -} -inline void JoinExistingGameMessage::clear_has_spectateonly() { - _has_bits_[0] &= ~0x00000008u; -} -inline void JoinExistingGameMessage::clear_spectateonly() { - spectateonly_ = false; - clear_has_spectateonly(); -} -inline bool JoinExistingGameMessage::spectateonly() const { - return spectateonly_; -} -inline void JoinExistingGameMessage::set_spectateonly(bool value) { - set_has_spectateonly(); - spectateonly_ = value; +inline void SubscriptionReplyMessage::set_ack(bool value) { + set_has_ack(); + ack_ = value; } // ------------------------------------------------------------------- -// JoinNewGameMessage +// CreateGameMessage -// required .NetGameInfo gameInfo = 1; -inline bool JoinNewGameMessage::has_gameinfo() const { +// required uint32 requestId = 1; +inline bool CreateGameMessage::has_requestid() const { return (_has_bits_[0] & 0x00000001u) != 0; } -inline void JoinNewGameMessage::set_has_gameinfo() { +inline void CreateGameMessage::set_has_requestid() { _has_bits_[0] |= 0x00000001u; } -inline void JoinNewGameMessage::clear_has_gameinfo() { +inline void CreateGameMessage::clear_has_requestid() { _has_bits_[0] &= ~0x00000001u; } -inline void JoinNewGameMessage::clear_gameinfo() { +inline void CreateGameMessage::clear_requestid() { + requestid_ = 0u; + clear_has_requestid(); +} +inline ::google::protobuf::uint32 CreateGameMessage::requestid() const { + return requestid_; +} +inline void CreateGameMessage::set_requestid(::google::protobuf::uint32 value) { + set_has_requestid(); + requestid_ = value; +} + +// required .NetGameInfo gameInfo = 2; +inline bool CreateGameMessage::has_gameinfo() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CreateGameMessage::set_has_gameinfo() { + _has_bits_[0] |= 0x00000002u; +} +inline void CreateGameMessage::clear_has_gameinfo() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CreateGameMessage::clear_gameinfo() { if (gameinfo_ != NULL) gameinfo_->::NetGameInfo::Clear(); clear_has_gameinfo(); } -inline const ::NetGameInfo& JoinNewGameMessage::gameinfo() const { +inline const ::NetGameInfo& CreateGameMessage::gameinfo() const { #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return gameinfo_ != NULL ? *gameinfo_ : *default_instance().gameinfo_; #else return gameinfo_ != NULL ? *gameinfo_ : *default_instance_->gameinfo_; #endif } -inline ::NetGameInfo* JoinNewGameMessage::mutable_gameinfo() { +inline ::NetGameInfo* CreateGameMessage::mutable_gameinfo() { set_has_gameinfo(); if (gameinfo_ == NULL) gameinfo_ = new ::NetGameInfo; return gameinfo_; } -inline ::NetGameInfo* JoinNewGameMessage::release_gameinfo() { +inline ::NetGameInfo* CreateGameMessage::release_gameinfo() { clear_has_gameinfo(); ::NetGameInfo* temp = gameinfo_; gameinfo_ = NULL; return temp; } -inline void JoinNewGameMessage::set_allocated_gameinfo(::NetGameInfo* gameinfo) { +inline void CreateGameMessage::set_allocated_gameinfo(::NetGameInfo* gameinfo) { delete gameinfo_; gameinfo_ = gameinfo; if (gameinfo) { @@ -14393,54 +14979,54 @@ inline void JoinNewGameMessage::set_allocated_gameinfo(::NetGameInfo* gameinfo) } } -// optional string password = 2; -inline bool JoinNewGameMessage::has_password() const { - return (_has_bits_[0] & 0x00000002u) != 0; +// optional string password = 3; +inline bool CreateGameMessage::has_password() const { + return (_has_bits_[0] & 0x00000004u) != 0; } -inline void JoinNewGameMessage::set_has_password() { - _has_bits_[0] |= 0x00000002u; +inline void CreateGameMessage::set_has_password() { + _has_bits_[0] |= 0x00000004u; } -inline void JoinNewGameMessage::clear_has_password() { - _has_bits_[0] &= ~0x00000002u; +inline void CreateGameMessage::clear_has_password() { + _has_bits_[0] &= ~0x00000004u; } -inline void JoinNewGameMessage::clear_password() { +inline void CreateGameMessage::clear_password() { if (password_ != &::google::protobuf::internal::kEmptyString) { password_->clear(); } clear_has_password(); } -inline const ::std::string& JoinNewGameMessage::password() const { +inline const ::std::string& CreateGameMessage::password() const { return *password_; } -inline void JoinNewGameMessage::set_password(const ::std::string& value) { +inline void CreateGameMessage::set_password(const ::std::string& value) { set_has_password(); if (password_ == &::google::protobuf::internal::kEmptyString) { password_ = new ::std::string; } password_->assign(value); } -inline void JoinNewGameMessage::set_password(const char* value) { +inline void CreateGameMessage::set_password(const char* value) { set_has_password(); if (password_ == &::google::protobuf::internal::kEmptyString) { password_ = new ::std::string; } password_->assign(value); } -inline void JoinNewGameMessage::set_password(const char* value, size_t size) { +inline void CreateGameMessage::set_password(const char* value, size_t size) { set_has_password(); if (password_ == &::google::protobuf::internal::kEmptyString) { password_ = new ::std::string; } password_->assign(reinterpret_cast(value), size); } -inline ::std::string* JoinNewGameMessage::mutable_password() { +inline ::std::string* CreateGameMessage::mutable_password() { set_has_password(); if (password_ == &::google::protobuf::internal::kEmptyString) { password_ = new ::std::string; } return password_; } -inline ::std::string* JoinNewGameMessage::release_password() { +inline ::std::string* CreateGameMessage::release_password() { clear_has_password(); if (password_ == &::google::protobuf::internal::kEmptyString) { return NULL; @@ -14450,7 +15036,7 @@ inline ::std::string* JoinNewGameMessage::release_password() { return temp; } } -inline void JoinNewGameMessage::set_allocated_password(::std::string* password) { +inline void CreateGameMessage::set_allocated_password(::std::string* password) { if (password_ != &::google::protobuf::internal::kEmptyString) { delete password_; } @@ -14463,72 +15049,217 @@ inline void JoinNewGameMessage::set_allocated_password(::std::string* password) } } -// optional bool autoLeave = 3; -inline bool JoinNewGameMessage::has_autoleave() const { - return (_has_bits_[0] & 0x00000004u) != 0; +// optional bool autoLeave = 4; +inline bool CreateGameMessage::has_autoleave() const { + return (_has_bits_[0] & 0x00000008u) != 0; } -inline void JoinNewGameMessage::set_has_autoleave() { - _has_bits_[0] |= 0x00000004u; +inline void CreateGameMessage::set_has_autoleave() { + _has_bits_[0] |= 0x00000008u; } -inline void JoinNewGameMessage::clear_has_autoleave() { - _has_bits_[0] &= ~0x00000004u; +inline void CreateGameMessage::clear_has_autoleave() { + _has_bits_[0] &= ~0x00000008u; } -inline void JoinNewGameMessage::clear_autoleave() { +inline void CreateGameMessage::clear_autoleave() { autoleave_ = false; clear_has_autoleave(); } -inline bool JoinNewGameMessage::autoleave() const { +inline bool CreateGameMessage::autoleave() const { return autoleave_; } -inline void JoinNewGameMessage::set_autoleave(bool value) { +inline void CreateGameMessage::set_autoleave(bool value) { set_has_autoleave(); autoleave_ = value; } // ------------------------------------------------------------------- -// RejoinExistingGameMessage +// CreateGameFailedMessage -// required uint32 gameId = 1; -inline bool RejoinExistingGameMessage::has_gameid() const { +// required uint32 requestId = 1; +inline bool CreateGameFailedMessage::has_requestid() const { return (_has_bits_[0] & 0x00000001u) != 0; } -inline void RejoinExistingGameMessage::set_has_gameid() { +inline void CreateGameFailedMessage::set_has_requestid() { _has_bits_[0] |= 0x00000001u; } -inline void RejoinExistingGameMessage::clear_has_gameid() { +inline void CreateGameFailedMessage::clear_has_requestid() { _has_bits_[0] &= ~0x00000001u; } -inline void RejoinExistingGameMessage::clear_gameid() { - gameid_ = 0u; - clear_has_gameid(); +inline void CreateGameFailedMessage::clear_requestid() { + requestid_ = 0u; + clear_has_requestid(); } -inline ::google::protobuf::uint32 RejoinExistingGameMessage::gameid() const { - return gameid_; +inline ::google::protobuf::uint32 CreateGameFailedMessage::requestid() const { + return requestid_; } -inline void RejoinExistingGameMessage::set_gameid(::google::protobuf::uint32 value) { - set_has_gameid(); - gameid_ = value; +inline void CreateGameFailedMessage::set_requestid(::google::protobuf::uint32 value) { + set_has_requestid(); + requestid_ = value; } -// optional bool autoLeave = 2; -inline bool RejoinExistingGameMessage::has_autoleave() const { +// required .CreateGameFailedMessage.CreateGameFailureReason createGameFailureReason = 2; +inline bool CreateGameFailedMessage::has_creategamefailurereason() const { return (_has_bits_[0] & 0x00000002u) != 0; } -inline void RejoinExistingGameMessage::set_has_autoleave() { +inline void CreateGameFailedMessage::set_has_creategamefailurereason() { _has_bits_[0] |= 0x00000002u; } -inline void RejoinExistingGameMessage::clear_has_autoleave() { +inline void CreateGameFailedMessage::clear_has_creategamefailurereason() { _has_bits_[0] &= ~0x00000002u; } -inline void RejoinExistingGameMessage::clear_autoleave() { +inline void CreateGameFailedMessage::clear_creategamefailurereason() { + creategamefailurereason_ = 1; + clear_has_creategamefailurereason(); +} +inline ::CreateGameFailedMessage_CreateGameFailureReason CreateGameFailedMessage::creategamefailurereason() const { + return static_cast< ::CreateGameFailedMessage_CreateGameFailureReason >(creategamefailurereason_); +} +inline void CreateGameFailedMessage::set_creategamefailurereason(::CreateGameFailedMessage_CreateGameFailureReason value) { + assert(::CreateGameFailedMessage_CreateGameFailureReason_IsValid(value)); + set_has_creategamefailurereason(); + creategamefailurereason_ = value; +} + +// ------------------------------------------------------------------- + +// JoinGameMessage + +// optional string password = 1; +inline bool JoinGameMessage::has_password() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void JoinGameMessage::set_has_password() { + _has_bits_[0] |= 0x00000001u; +} +inline void JoinGameMessage::clear_has_password() { + _has_bits_[0] &= ~0x00000001u; +} +inline void JoinGameMessage::clear_password() { + if (password_ != &::google::protobuf::internal::kEmptyString) { + password_->clear(); + } + clear_has_password(); +} +inline const ::std::string& JoinGameMessage::password() const { + return *password_; +} +inline void JoinGameMessage::set_password(const ::std::string& value) { + set_has_password(); + if (password_ == &::google::protobuf::internal::kEmptyString) { + password_ = new ::std::string; + } + password_->assign(value); +} +inline void JoinGameMessage::set_password(const char* value) { + set_has_password(); + if (password_ == &::google::protobuf::internal::kEmptyString) { + password_ = new ::std::string; + } + password_->assign(value); +} +inline void JoinGameMessage::set_password(const char* value, size_t size) { + set_has_password(); + if (password_ == &::google::protobuf::internal::kEmptyString) { + password_ = new ::std::string; + } + password_->assign(reinterpret_cast(value), size); +} +inline ::std::string* JoinGameMessage::mutable_password() { + set_has_password(); + if (password_ == &::google::protobuf::internal::kEmptyString) { + password_ = new ::std::string; + } + return password_; +} +inline ::std::string* JoinGameMessage::release_password() { + clear_has_password(); + if (password_ == &::google::protobuf::internal::kEmptyString) { + return NULL; + } else { + ::std::string* temp = password_; + password_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + return temp; + } +} +inline void JoinGameMessage::set_allocated_password(::std::string* password) { + if (password_ != &::google::protobuf::internal::kEmptyString) { + delete password_; + } + if (password) { + set_has_password(); + password_ = password; + } else { + clear_has_password(); + password_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + } +} + +// optional bool autoLeave = 2 [default = false]; +inline bool JoinGameMessage::has_autoleave() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void JoinGameMessage::set_has_autoleave() { + _has_bits_[0] |= 0x00000002u; +} +inline void JoinGameMessage::clear_has_autoleave() { + _has_bits_[0] &= ~0x00000002u; +} +inline void JoinGameMessage::clear_autoleave() { autoleave_ = false; clear_has_autoleave(); } -inline bool RejoinExistingGameMessage::autoleave() const { +inline bool JoinGameMessage::autoleave() const { return autoleave_; } -inline void RejoinExistingGameMessage::set_autoleave(bool value) { +inline void JoinGameMessage::set_autoleave(bool value) { + set_has_autoleave(); + autoleave_ = value; +} + +// optional bool spectateOnly = 3 [default = false]; +inline bool JoinGameMessage::has_spectateonly() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void JoinGameMessage::set_has_spectateonly() { + _has_bits_[0] |= 0x00000004u; +} +inline void JoinGameMessage::clear_has_spectateonly() { + _has_bits_[0] &= ~0x00000004u; +} +inline void JoinGameMessage::clear_spectateonly() { + spectateonly_ = false; + clear_has_spectateonly(); +} +inline bool JoinGameMessage::spectateonly() const { + return spectateonly_; +} +inline void JoinGameMessage::set_spectateonly(bool value) { + set_has_spectateonly(); + spectateonly_ = value; +} + +// ------------------------------------------------------------------- + +// RejoinGameMessage + +// optional bool autoLeave = 1 [default = false]; +inline bool RejoinGameMessage::has_autoleave() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void RejoinGameMessage::set_has_autoleave() { + _has_bits_[0] |= 0x00000001u; +} +inline void RejoinGameMessage::clear_has_autoleave() { + _has_bits_[0] &= ~0x00000001u; +} +inline void RejoinGameMessage::clear_autoleave() { + autoleave_ = false; + clear_has_autoleave(); +} +inline bool RejoinGameMessage::autoleave() const { + return autoleave_; +} +inline void RejoinGameMessage::set_autoleave(bool value) { set_has_autoleave(); autoleave_ = value; } @@ -14537,37 +15268,15 @@ inline void RejoinExistingGameMessage::set_autoleave(bool value) { // JoinGameAckMessage -// required uint32 gameId = 1; -inline bool JoinGameAckMessage::has_gameid() const { +// required bool areYouGameAdmin = 1; +inline bool JoinGameAckMessage::has_areyougameadmin() const { return (_has_bits_[0] & 0x00000001u) != 0; } -inline void JoinGameAckMessage::set_has_gameid() { +inline void JoinGameAckMessage::set_has_areyougameadmin() { _has_bits_[0] |= 0x00000001u; } -inline void JoinGameAckMessage::clear_has_gameid() { - _has_bits_[0] &= ~0x00000001u; -} -inline void JoinGameAckMessage::clear_gameid() { - gameid_ = 0u; - clear_has_gameid(); -} -inline ::google::protobuf::uint32 JoinGameAckMessage::gameid() const { - return gameid_; -} -inline void JoinGameAckMessage::set_gameid(::google::protobuf::uint32 value) { - set_has_gameid(); - gameid_ = value; -} - -// required bool areYouGameAdmin = 2; -inline bool JoinGameAckMessage::has_areyougameadmin() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void JoinGameAckMessage::set_has_areyougameadmin() { - _has_bits_[0] |= 0x00000002u; -} inline void JoinGameAckMessage::clear_has_areyougameadmin() { - _has_bits_[0] &= ~0x00000002u; + _has_bits_[0] &= ~0x00000001u; } inline void JoinGameAckMessage::clear_areyougameadmin() { areyougameadmin_ = false; @@ -14581,15 +15290,15 @@ inline void JoinGameAckMessage::set_areyougameadmin(bool value) { areyougameadmin_ = value; } -// required .NetGameInfo gameInfo = 3; +// required .NetGameInfo gameInfo = 2; inline bool JoinGameAckMessage::has_gameinfo() const { - return (_has_bits_[0] & 0x00000004u) != 0; + return (_has_bits_[0] & 0x00000002u) != 0; } inline void JoinGameAckMessage::set_has_gameinfo() { - _has_bits_[0] |= 0x00000004u; + _has_bits_[0] |= 0x00000002u; } inline void JoinGameAckMessage::clear_has_gameinfo() { - _has_bits_[0] &= ~0x00000004u; + _has_bits_[0] &= ~0x00000002u; } inline void JoinGameAckMessage::clear_gameinfo() { if (gameinfo_ != NULL) gameinfo_->::NetGameInfo::Clear(); @@ -14623,15 +15332,15 @@ inline void JoinGameAckMessage::set_allocated_gameinfo(::NetGameInfo* gameinfo) } } -// optional bool spectateOnly = 4; +// optional bool spectateOnly = 3; inline bool JoinGameAckMessage::has_spectateonly() const { - return (_has_bits_[0] & 0x00000008u) != 0; + return (_has_bits_[0] & 0x00000004u) != 0; } inline void JoinGameAckMessage::set_has_spectateonly() { - _has_bits_[0] |= 0x00000008u; + _has_bits_[0] |= 0x00000004u; } inline void JoinGameAckMessage::clear_has_spectateonly() { - _has_bits_[0] &= ~0x00000008u; + _has_bits_[0] &= ~0x00000004u; } inline void JoinGameAckMessage::clear_spectateonly() { spectateonly_ = false; @@ -14649,37 +15358,15 @@ inline void JoinGameAckMessage::set_spectateonly(bool value) { // JoinGameFailedMessage -// required uint32 gameId = 1; -inline bool JoinGameFailedMessage::has_gameid() const { +// required .JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason = 1; +inline bool JoinGameFailedMessage::has_joingamefailurereason() const { return (_has_bits_[0] & 0x00000001u) != 0; } -inline void JoinGameFailedMessage::set_has_gameid() { +inline void JoinGameFailedMessage::set_has_joingamefailurereason() { _has_bits_[0] |= 0x00000001u; } -inline void JoinGameFailedMessage::clear_has_gameid() { - _has_bits_[0] &= ~0x00000001u; -} -inline void JoinGameFailedMessage::clear_gameid() { - gameid_ = 0u; - clear_has_gameid(); -} -inline ::google::protobuf::uint32 JoinGameFailedMessage::gameid() const { - return gameid_; -} -inline void JoinGameFailedMessage::set_gameid(::google::protobuf::uint32 value) { - set_has_gameid(); - gameid_ = value; -} - -// required .JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason = 2; -inline bool JoinGameFailedMessage::has_joingamefailurereason() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void JoinGameFailedMessage::set_has_joingamefailurereason() { - _has_bits_[0] |= 0x00000002u; -} inline void JoinGameFailedMessage::clear_has_joingamefailurereason() { - _has_bits_[0] &= ~0x00000002u; + _has_bits_[0] &= ~0x00000001u; } inline void JoinGameFailedMessage::clear_joingamefailurereason() { joingamefailurereason_ = 1; @@ -14698,37 +15385,15 @@ inline void JoinGameFailedMessage::set_joingamefailurereason(::JoinGameFailedMes // GamePlayerJoinedMessage -// required uint32 gameId = 1; -inline bool GamePlayerJoinedMessage::has_gameid() const { +// required uint32 playerId = 1; +inline bool GamePlayerJoinedMessage::has_playerid() const { return (_has_bits_[0] & 0x00000001u) != 0; } -inline void GamePlayerJoinedMessage::set_has_gameid() { +inline void GamePlayerJoinedMessage::set_has_playerid() { _has_bits_[0] |= 0x00000001u; } -inline void GamePlayerJoinedMessage::clear_has_gameid() { - _has_bits_[0] &= ~0x00000001u; -} -inline void GamePlayerJoinedMessage::clear_gameid() { - gameid_ = 0u; - clear_has_gameid(); -} -inline ::google::protobuf::uint32 GamePlayerJoinedMessage::gameid() const { - return gameid_; -} -inline void GamePlayerJoinedMessage::set_gameid(::google::protobuf::uint32 value) { - set_has_gameid(); - gameid_ = value; -} - -// required uint32 playerId = 2; -inline bool GamePlayerJoinedMessage::has_playerid() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void GamePlayerJoinedMessage::set_has_playerid() { - _has_bits_[0] |= 0x00000002u; -} inline void GamePlayerJoinedMessage::clear_has_playerid() { - _has_bits_[0] &= ~0x00000002u; + _has_bits_[0] &= ~0x00000001u; } inline void GamePlayerJoinedMessage::clear_playerid() { playerid_ = 0u; @@ -14742,15 +15407,15 @@ inline void GamePlayerJoinedMessage::set_playerid(::google::protobuf::uint32 val playerid_ = value; } -// required bool isGameAdmin = 3; +// required bool isGameAdmin = 2; inline bool GamePlayerJoinedMessage::has_isgameadmin() const { - return (_has_bits_[0] & 0x00000004u) != 0; + return (_has_bits_[0] & 0x00000002u) != 0; } inline void GamePlayerJoinedMessage::set_has_isgameadmin() { - _has_bits_[0] |= 0x00000004u; + _has_bits_[0] |= 0x00000002u; } inline void GamePlayerJoinedMessage::clear_has_isgameadmin() { - _has_bits_[0] &= ~0x00000004u; + _has_bits_[0] &= ~0x00000002u; } inline void GamePlayerJoinedMessage::clear_isgameadmin() { isgameadmin_ = false; @@ -14768,37 +15433,15 @@ inline void GamePlayerJoinedMessage::set_isgameadmin(bool value) { // GamePlayerLeftMessage -// required uint32 gameId = 1; -inline bool GamePlayerLeftMessage::has_gameid() const { +// required uint32 playerId = 1; +inline bool GamePlayerLeftMessage::has_playerid() const { return (_has_bits_[0] & 0x00000001u) != 0; } -inline void GamePlayerLeftMessage::set_has_gameid() { +inline void GamePlayerLeftMessage::set_has_playerid() { _has_bits_[0] |= 0x00000001u; } -inline void GamePlayerLeftMessage::clear_has_gameid() { - _has_bits_[0] &= ~0x00000001u; -} -inline void GamePlayerLeftMessage::clear_gameid() { - gameid_ = 0u; - clear_has_gameid(); -} -inline ::google::protobuf::uint32 GamePlayerLeftMessage::gameid() const { - return gameid_; -} -inline void GamePlayerLeftMessage::set_gameid(::google::protobuf::uint32 value) { - set_has_gameid(); - gameid_ = value; -} - -// required uint32 playerId = 2; -inline bool GamePlayerLeftMessage::has_playerid() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void GamePlayerLeftMessage::set_has_playerid() { - _has_bits_[0] |= 0x00000002u; -} inline void GamePlayerLeftMessage::clear_has_playerid() { - _has_bits_[0] &= ~0x00000002u; + _has_bits_[0] &= ~0x00000001u; } inline void GamePlayerLeftMessage::clear_playerid() { playerid_ = 0u; @@ -14812,15 +15455,15 @@ inline void GamePlayerLeftMessage::set_playerid(::google::protobuf::uint32 value playerid_ = value; } -// required .GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason = 3; +// required .GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason = 2; inline bool GamePlayerLeftMessage::has_gameplayerleftreason() const { - return (_has_bits_[0] & 0x00000004u) != 0; + return (_has_bits_[0] & 0x00000002u) != 0; } inline void GamePlayerLeftMessage::set_has_gameplayerleftreason() { - _has_bits_[0] |= 0x00000004u; + _has_bits_[0] |= 0x00000002u; } inline void GamePlayerLeftMessage::clear_has_gameplayerleftreason() { - _has_bits_[0] &= ~0x00000004u; + _has_bits_[0] &= ~0x00000002u; } inline void GamePlayerLeftMessage::clear_gameplayerleftreason() { gameplayerleftreason_ = 0; @@ -14839,37 +15482,15 @@ inline void GamePlayerLeftMessage::set_gameplayerleftreason(::GamePlayerLeftMess // GameSpectatorJoinedMessage -// required uint32 gameId = 1; -inline bool GameSpectatorJoinedMessage::has_gameid() const { +// required uint32 playerId = 1; +inline bool GameSpectatorJoinedMessage::has_playerid() const { return (_has_bits_[0] & 0x00000001u) != 0; } -inline void GameSpectatorJoinedMessage::set_has_gameid() { +inline void GameSpectatorJoinedMessage::set_has_playerid() { _has_bits_[0] |= 0x00000001u; } -inline void GameSpectatorJoinedMessage::clear_has_gameid() { - _has_bits_[0] &= ~0x00000001u; -} -inline void GameSpectatorJoinedMessage::clear_gameid() { - gameid_ = 0u; - clear_has_gameid(); -} -inline ::google::protobuf::uint32 GameSpectatorJoinedMessage::gameid() const { - return gameid_; -} -inline void GameSpectatorJoinedMessage::set_gameid(::google::protobuf::uint32 value) { - set_has_gameid(); - gameid_ = value; -} - -// required uint32 playerId = 2; -inline bool GameSpectatorJoinedMessage::has_playerid() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void GameSpectatorJoinedMessage::set_has_playerid() { - _has_bits_[0] |= 0x00000002u; -} inline void GameSpectatorJoinedMessage::clear_has_playerid() { - _has_bits_[0] &= ~0x00000002u; + _has_bits_[0] &= ~0x00000001u; } inline void GameSpectatorJoinedMessage::clear_playerid() { playerid_ = 0u; @@ -14887,37 +15508,15 @@ inline void GameSpectatorJoinedMessage::set_playerid(::google::protobuf::uint32 // GameSpectatorLeftMessage -// required uint32 gameId = 1; -inline bool GameSpectatorLeftMessage::has_gameid() const { +// required uint32 playerId = 1; +inline bool GameSpectatorLeftMessage::has_playerid() const { return (_has_bits_[0] & 0x00000001u) != 0; } -inline void GameSpectatorLeftMessage::set_has_gameid() { +inline void GameSpectatorLeftMessage::set_has_playerid() { _has_bits_[0] |= 0x00000001u; } -inline void GameSpectatorLeftMessage::clear_has_gameid() { - _has_bits_[0] &= ~0x00000001u; -} -inline void GameSpectatorLeftMessage::clear_gameid() { - gameid_ = 0u; - clear_has_gameid(); -} -inline ::google::protobuf::uint32 GameSpectatorLeftMessage::gameid() const { - return gameid_; -} -inline void GameSpectatorLeftMessage::set_gameid(::google::protobuf::uint32 value) { - set_has_gameid(); - gameid_ = value; -} - -// required uint32 playerId = 2; -inline bool GameSpectatorLeftMessage::has_playerid() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void GameSpectatorLeftMessage::set_has_playerid() { - _has_bits_[0] |= 0x00000002u; -} inline void GameSpectatorLeftMessage::clear_has_playerid() { - _has_bits_[0] &= ~0x00000002u; + _has_bits_[0] &= ~0x00000001u; } inline void GameSpectatorLeftMessage::clear_playerid() { playerid_ = 0u; @@ -14931,15 +15530,15 @@ inline void GameSpectatorLeftMessage::set_playerid(::google::protobuf::uint32 va playerid_ = value; } -// required .GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason = 3; +// required .GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason = 2; inline bool GameSpectatorLeftMessage::has_gamespectatorleftreason() const { - return (_has_bits_[0] & 0x00000004u) != 0; + return (_has_bits_[0] & 0x00000002u) != 0; } inline void GameSpectatorLeftMessage::set_has_gamespectatorleftreason() { - _has_bits_[0] |= 0x00000004u; + _has_bits_[0] |= 0x00000002u; } inline void GameSpectatorLeftMessage::clear_has_gamespectatorleftreason() { - _has_bits_[0] &= ~0x00000004u; + _has_bits_[0] &= ~0x00000002u; } inline void GameSpectatorLeftMessage::clear_gamespectatorleftreason() { gamespectatorleftreason_ = 0; @@ -14958,37 +15557,15 @@ inline void GameSpectatorLeftMessage::set_gamespectatorleftreason(::GamePlayerLe // GameAdminChangedMessage -// required uint32 gameId = 1; -inline bool GameAdminChangedMessage::has_gameid() const { +// required uint32 newAdminPlayerId = 1; +inline bool GameAdminChangedMessage::has_newadminplayerid() const { return (_has_bits_[0] & 0x00000001u) != 0; } -inline void GameAdminChangedMessage::set_has_gameid() { +inline void GameAdminChangedMessage::set_has_newadminplayerid() { _has_bits_[0] |= 0x00000001u; } -inline void GameAdminChangedMessage::clear_has_gameid() { - _has_bits_[0] &= ~0x00000001u; -} -inline void GameAdminChangedMessage::clear_gameid() { - gameid_ = 0u; - clear_has_gameid(); -} -inline ::google::protobuf::uint32 GameAdminChangedMessage::gameid() const { - return gameid_; -} -inline void GameAdminChangedMessage::set_gameid(::google::protobuf::uint32 value) { - set_has_gameid(); - gameid_ = value; -} - -// required uint32 newAdminPlayerId = 2; -inline bool GameAdminChangedMessage::has_newadminplayerid() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void GameAdminChangedMessage::set_has_newadminplayerid() { - _has_bits_[0] |= 0x00000002u; -} inline void GameAdminChangedMessage::clear_has_newadminplayerid() { - _has_bits_[0] &= ~0x00000002u; + _has_bits_[0] &= ~0x00000001u; } inline void GameAdminChangedMessage::clear_newadminplayerid() { newadminplayerid_ = 0u; @@ -15006,37 +15583,15 @@ inline void GameAdminChangedMessage::set_newadminplayerid(::google::protobuf::ui // RemovedFromGameMessage -// required uint32 gameId = 1; -inline bool RemovedFromGameMessage::has_gameid() const { +// required .RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason = 1; +inline bool RemovedFromGameMessage::has_removedfromgamereason() const { return (_has_bits_[0] & 0x00000001u) != 0; } -inline void RemovedFromGameMessage::set_has_gameid() { +inline void RemovedFromGameMessage::set_has_removedfromgamereason() { _has_bits_[0] |= 0x00000001u; } -inline void RemovedFromGameMessage::clear_has_gameid() { - _has_bits_[0] &= ~0x00000001u; -} -inline void RemovedFromGameMessage::clear_gameid() { - gameid_ = 0u; - clear_has_gameid(); -} -inline ::google::protobuf::uint32 RemovedFromGameMessage::gameid() const { - return gameid_; -} -inline void RemovedFromGameMessage::set_gameid(::google::protobuf::uint32 value) { - set_has_gameid(); - gameid_ = value; -} - -// required .RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason = 2; -inline bool RemovedFromGameMessage::has_removedfromgamereason() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void RemovedFromGameMessage::set_has_removedfromgamereason() { - _has_bits_[0] |= 0x00000002u; -} inline void RemovedFromGameMessage::clear_has_removedfromgamereason() { - _has_bits_[0] &= ~0x00000002u; + _has_bits_[0] &= ~0x00000001u; } inline void RemovedFromGameMessage::clear_removedfromgamereason() { removedfromgamereason_ = 0; @@ -15055,37 +15610,15 @@ inline void RemovedFromGameMessage::set_removedfromgamereason(::RemovedFromGameM // KickPlayerRequestMessage -// required uint32 gameId = 1; -inline bool KickPlayerRequestMessage::has_gameid() const { +// required uint32 playerId = 1; +inline bool KickPlayerRequestMessage::has_playerid() const { return (_has_bits_[0] & 0x00000001u) != 0; } -inline void KickPlayerRequestMessage::set_has_gameid() { +inline void KickPlayerRequestMessage::set_has_playerid() { _has_bits_[0] |= 0x00000001u; } -inline void KickPlayerRequestMessage::clear_has_gameid() { - _has_bits_[0] &= ~0x00000001u; -} -inline void KickPlayerRequestMessage::clear_gameid() { - gameid_ = 0u; - clear_has_gameid(); -} -inline ::google::protobuf::uint32 KickPlayerRequestMessage::gameid() const { - return gameid_; -} -inline void KickPlayerRequestMessage::set_gameid(::google::protobuf::uint32 value) { - set_has_gameid(); - gameid_ = value; -} - -// required uint32 playerId = 2; -inline bool KickPlayerRequestMessage::has_playerid() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void KickPlayerRequestMessage::set_has_playerid() { - _has_bits_[0] |= 0x00000002u; -} inline void KickPlayerRequestMessage::clear_has_playerid() { - _has_bits_[0] &= ~0x00000002u; + _has_bits_[0] &= ~0x00000001u; } inline void KickPlayerRequestMessage::clear_playerid() { playerid_ = 0u; @@ -15103,28 +15636,6 @@ inline void KickPlayerRequestMessage::set_playerid(::google::protobuf::uint32 va // LeaveGameRequestMessage -// required uint32 gameId = 1; -inline bool LeaveGameRequestMessage::has_gameid() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void LeaveGameRequestMessage::set_has_gameid() { - _has_bits_[0] |= 0x00000001u; -} -inline void LeaveGameRequestMessage::clear_has_gameid() { - _has_bits_[0] &= ~0x00000001u; -} -inline void LeaveGameRequestMessage::clear_gameid() { - gameid_ = 0u; - clear_has_gameid(); -} -inline ::google::protobuf::uint32 LeaveGameRequestMessage::gameid() const { - return gameid_; -} -inline void LeaveGameRequestMessage::set_gameid(::google::protobuf::uint32 value) { - set_has_gameid(); - gameid_ = value; -} - // ------------------------------------------------------------------- // InvitePlayerToGameMessage @@ -15367,37 +15878,15 @@ inline void RejectInvNotifyMessage::set_playerrejectreason(::RejectGameInvitatio // StartEventMessage -// required uint32 gameId = 1; -inline bool StartEventMessage::has_gameid() const { +// required .StartEventMessage.StartEventType startEventType = 1; +inline bool StartEventMessage::has_starteventtype() const { return (_has_bits_[0] & 0x00000001u) != 0; } -inline void StartEventMessage::set_has_gameid() { +inline void StartEventMessage::set_has_starteventtype() { _has_bits_[0] |= 0x00000001u; } -inline void StartEventMessage::clear_has_gameid() { - _has_bits_[0] &= ~0x00000001u; -} -inline void StartEventMessage::clear_gameid() { - gameid_ = 0u; - clear_has_gameid(); -} -inline ::google::protobuf::uint32 StartEventMessage::gameid() const { - return gameid_; -} -inline void StartEventMessage::set_gameid(::google::protobuf::uint32 value) { - set_has_gameid(); - gameid_ = value; -} - -// required .StartEventMessage.StartEventType startEventType = 2; -inline bool StartEventMessage::has_starteventtype() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void StartEventMessage::set_has_starteventtype() { - _has_bits_[0] |= 0x00000002u; -} inline void StartEventMessage::clear_has_starteventtype() { - _has_bits_[0] &= ~0x00000002u; + _has_bits_[0] &= ~0x00000001u; } inline void StartEventMessage::clear_starteventtype() { starteventtype_ = 0; @@ -15412,15 +15901,15 @@ inline void StartEventMessage::set_starteventtype(::StartEventMessage_StartEvent starteventtype_ = value; } -// optional bool fillWithComputerPlayers = 3; +// optional bool fillWithComputerPlayers = 2; inline bool StartEventMessage::has_fillwithcomputerplayers() const { - return (_has_bits_[0] & 0x00000004u) != 0; + return (_has_bits_[0] & 0x00000002u) != 0; } inline void StartEventMessage::set_has_fillwithcomputerplayers() { - _has_bits_[0] |= 0x00000004u; + _has_bits_[0] |= 0x00000002u; } inline void StartEventMessage::clear_has_fillwithcomputerplayers() { - _has_bits_[0] &= ~0x00000004u; + _has_bits_[0] &= ~0x00000002u; } inline void StartEventMessage::clear_fillwithcomputerplayers() { fillwithcomputerplayers_ = false; @@ -15438,63 +15927,19 @@ inline void StartEventMessage::set_fillwithcomputerplayers(bool value) { // StartEventAckMessage -// required uint32 gameId = 1; -inline bool StartEventAckMessage::has_gameid() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void StartEventAckMessage::set_has_gameid() { - _has_bits_[0] |= 0x00000001u; -} -inline void StartEventAckMessage::clear_has_gameid() { - _has_bits_[0] &= ~0x00000001u; -} -inline void StartEventAckMessage::clear_gameid() { - gameid_ = 0u; - clear_has_gameid(); -} -inline ::google::protobuf::uint32 StartEventAckMessage::gameid() const { - return gameid_; -} -inline void StartEventAckMessage::set_gameid(::google::protobuf::uint32 value) { - set_has_gameid(); - gameid_ = value; -} - // ------------------------------------------------------------------- // GameStartInitialMessage -// required uint32 gameId = 1; -inline bool GameStartInitialMessage::has_gameid() const { +// required uint32 startDealerPlayerId = 1; +inline bool GameStartInitialMessage::has_startdealerplayerid() const { return (_has_bits_[0] & 0x00000001u) != 0; } -inline void GameStartInitialMessage::set_has_gameid() { +inline void GameStartInitialMessage::set_has_startdealerplayerid() { _has_bits_[0] |= 0x00000001u; } -inline void GameStartInitialMessage::clear_has_gameid() { - _has_bits_[0] &= ~0x00000001u; -} -inline void GameStartInitialMessage::clear_gameid() { - gameid_ = 0u; - clear_has_gameid(); -} -inline ::google::protobuf::uint32 GameStartInitialMessage::gameid() const { - return gameid_; -} -inline void GameStartInitialMessage::set_gameid(::google::protobuf::uint32 value) { - set_has_gameid(); - gameid_ = value; -} - -// required uint32 startDealerPlayerId = 2; -inline bool GameStartInitialMessage::has_startdealerplayerid() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void GameStartInitialMessage::set_has_startdealerplayerid() { - _has_bits_[0] |= 0x00000002u; -} inline void GameStartInitialMessage::clear_has_startdealerplayerid() { - _has_bits_[0] &= ~0x00000002u; + _has_bits_[0] &= ~0x00000001u; } inline void GameStartInitialMessage::clear_startdealerplayerid() { startdealerplayerid_ = 0u; @@ -15508,7 +15953,7 @@ inline void GameStartInitialMessage::set_startdealerplayerid(::google::protobuf: startdealerplayerid_ = value; } -// repeated uint32 playerSeats = 3 [packed = true]; +// repeated uint32 playerSeats = 2 [packed = true]; inline int GameStartInitialMessage::playerseats_size() const { return playerseats_.size(); } @@ -15585,37 +16030,15 @@ inline void GameStartRejoinMessage_RejoinPlayerData::set_playermoney(::google::p // GameStartRejoinMessage -// required uint32 gameId = 1; -inline bool GameStartRejoinMessage::has_gameid() const { +// required uint32 startDealerPlayerId = 1; +inline bool GameStartRejoinMessage::has_startdealerplayerid() const { return (_has_bits_[0] & 0x00000001u) != 0; } -inline void GameStartRejoinMessage::set_has_gameid() { +inline void GameStartRejoinMessage::set_has_startdealerplayerid() { _has_bits_[0] |= 0x00000001u; } -inline void GameStartRejoinMessage::clear_has_gameid() { - _has_bits_[0] &= ~0x00000001u; -} -inline void GameStartRejoinMessage::clear_gameid() { - gameid_ = 0u; - clear_has_gameid(); -} -inline ::google::protobuf::uint32 GameStartRejoinMessage::gameid() const { - return gameid_; -} -inline void GameStartRejoinMessage::set_gameid(::google::protobuf::uint32 value) { - set_has_gameid(); - gameid_ = value; -} - -// required uint32 startDealerPlayerId = 2; -inline bool GameStartRejoinMessage::has_startdealerplayerid() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void GameStartRejoinMessage::set_has_startdealerplayerid() { - _has_bits_[0] |= 0x00000002u; -} inline void GameStartRejoinMessage::clear_has_startdealerplayerid() { - _has_bits_[0] &= ~0x00000002u; + _has_bits_[0] &= ~0x00000001u; } inline void GameStartRejoinMessage::clear_startdealerplayerid() { startdealerplayerid_ = 0u; @@ -15629,15 +16052,15 @@ inline void GameStartRejoinMessage::set_startdealerplayerid(::google::protobuf:: startdealerplayerid_ = value; } -// required uint32 handNum = 3; +// required uint32 handNum = 2; inline bool GameStartRejoinMessage::has_handnum() const { - return (_has_bits_[0] & 0x00000004u) != 0; + return (_has_bits_[0] & 0x00000002u) != 0; } inline void GameStartRejoinMessage::set_has_handnum() { - _has_bits_[0] |= 0x00000004u; + _has_bits_[0] |= 0x00000002u; } inline void GameStartRejoinMessage::clear_has_handnum() { - _has_bits_[0] &= ~0x00000004u; + _has_bits_[0] &= ~0x00000002u; } inline void GameStartRejoinMessage::clear_handnum() { handnum_ = 0u; @@ -15651,7 +16074,7 @@ inline void GameStartRejoinMessage::set_handnum(::google::protobuf::uint32 value handnum_ = value; } -// repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; +// repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 3; inline int GameStartRejoinMessage::rejoinplayerdata_size() const { return rejoinplayerdata_.size(); } @@ -15728,37 +16151,15 @@ inline void HandStartMessage_PlainCards::set_plaincard2(::google::protobuf::uint // HandStartMessage -// required uint32 gameId = 1; -inline bool HandStartMessage::has_gameid() const { +// optional .HandStartMessage.PlainCards plainCards = 1; +inline bool HandStartMessage::has_plaincards() const { return (_has_bits_[0] & 0x00000001u) != 0; } -inline void HandStartMessage::set_has_gameid() { +inline void HandStartMessage::set_has_plaincards() { _has_bits_[0] |= 0x00000001u; } -inline void HandStartMessage::clear_has_gameid() { - _has_bits_[0] &= ~0x00000001u; -} -inline void HandStartMessage::clear_gameid() { - gameid_ = 0u; - clear_has_gameid(); -} -inline ::google::protobuf::uint32 HandStartMessage::gameid() const { - return gameid_; -} -inline void HandStartMessage::set_gameid(::google::protobuf::uint32 value) { - set_has_gameid(); - gameid_ = value; -} - -// optional .HandStartMessage.PlainCards plainCards = 2; -inline bool HandStartMessage::has_plaincards() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void HandStartMessage::set_has_plaincards() { - _has_bits_[0] |= 0x00000002u; -} inline void HandStartMessage::clear_has_plaincards() { - _has_bits_[0] &= ~0x00000002u; + _has_bits_[0] &= ~0x00000001u; } inline void HandStartMessage::clear_plaincards() { if (plaincards_ != NULL) plaincards_->::HandStartMessage_PlainCards::Clear(); @@ -15792,15 +16193,15 @@ inline void HandStartMessage::set_allocated_plaincards(::HandStartMessage_PlainC } } -// optional bytes encryptedCards = 3; +// optional bytes encryptedCards = 2; inline bool HandStartMessage::has_encryptedcards() const { - return (_has_bits_[0] & 0x00000004u) != 0; + return (_has_bits_[0] & 0x00000002u) != 0; } inline void HandStartMessage::set_has_encryptedcards() { - _has_bits_[0] |= 0x00000004u; + _has_bits_[0] |= 0x00000002u; } inline void HandStartMessage::clear_has_encryptedcards() { - _has_bits_[0] &= ~0x00000004u; + _has_bits_[0] &= ~0x00000002u; } inline void HandStartMessage::clear_encryptedcards() { if (encryptedcards_ != &::google::protobuf::internal::kEmptyString) { @@ -15862,15 +16263,15 @@ inline void HandStartMessage::set_allocated_encryptedcards(::std::string* encryp } } -// required uint32 smallBlind = 4; +// required uint32 smallBlind = 3; inline bool HandStartMessage::has_smallblind() const { - return (_has_bits_[0] & 0x00000008u) != 0; + return (_has_bits_[0] & 0x00000004u) != 0; } inline void HandStartMessage::set_has_smallblind() { - _has_bits_[0] |= 0x00000008u; + _has_bits_[0] |= 0x00000004u; } inline void HandStartMessage::clear_has_smallblind() { - _has_bits_[0] &= ~0x00000008u; + _has_bits_[0] &= ~0x00000004u; } inline void HandStartMessage::clear_smallblind() { smallblind_ = 0u; @@ -15884,7 +16285,7 @@ inline void HandStartMessage::set_smallblind(::google::protobuf::uint32 value) { smallblind_ = value; } -// repeated .NetPlayerState seatStates = 5; +// repeated .NetPlayerState seatStates = 4; inline int HandStartMessage::seatstates_size() const { return seatstates_.size(); } @@ -15911,15 +16312,15 @@ HandStartMessage::mutable_seatstates() { return &seatstates_; } -// optional uint32 dealerPlayerId = 6; +// optional uint32 dealerPlayerId = 5; inline bool HandStartMessage::has_dealerplayerid() const { - return (_has_bits_[0] & 0x00000020u) != 0; + return (_has_bits_[0] & 0x00000010u) != 0; } inline void HandStartMessage::set_has_dealerplayerid() { - _has_bits_[0] |= 0x00000020u; + _has_bits_[0] |= 0x00000010u; } inline void HandStartMessage::clear_has_dealerplayerid() { - _has_bits_[0] &= ~0x00000020u; + _has_bits_[0] &= ~0x00000010u; } inline void HandStartMessage::clear_dealerplayerid() { dealerplayerid_ = 0u; @@ -15937,37 +16338,15 @@ inline void HandStartMessage::set_dealerplayerid(::google::protobuf::uint32 valu // PlayersTurnMessage -// required uint32 gameId = 1; -inline bool PlayersTurnMessage::has_gameid() const { +// required uint32 playerId = 1; +inline bool PlayersTurnMessage::has_playerid() const { return (_has_bits_[0] & 0x00000001u) != 0; } -inline void PlayersTurnMessage::set_has_gameid() { +inline void PlayersTurnMessage::set_has_playerid() { _has_bits_[0] |= 0x00000001u; } -inline void PlayersTurnMessage::clear_has_gameid() { - _has_bits_[0] &= ~0x00000001u; -} -inline void PlayersTurnMessage::clear_gameid() { - gameid_ = 0u; - clear_has_gameid(); -} -inline ::google::protobuf::uint32 PlayersTurnMessage::gameid() const { - return gameid_; -} -inline void PlayersTurnMessage::set_gameid(::google::protobuf::uint32 value) { - set_has_gameid(); - gameid_ = value; -} - -// required uint32 playerId = 2; -inline bool PlayersTurnMessage::has_playerid() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void PlayersTurnMessage::set_has_playerid() { - _has_bits_[0] |= 0x00000002u; -} inline void PlayersTurnMessage::clear_has_playerid() { - _has_bits_[0] &= ~0x00000002u; + _has_bits_[0] &= ~0x00000001u; } inline void PlayersTurnMessage::clear_playerid() { playerid_ = 0u; @@ -15981,15 +16360,15 @@ inline void PlayersTurnMessage::set_playerid(::google::protobuf::uint32 value) { playerid_ = value; } -// required .NetGameState gameState = 3; +// required .NetGameState gameState = 2; inline bool PlayersTurnMessage::has_gamestate() const { - return (_has_bits_[0] & 0x00000004u) != 0; + return (_has_bits_[0] & 0x00000002u) != 0; } inline void PlayersTurnMessage::set_has_gamestate() { - _has_bits_[0] |= 0x00000004u; + _has_bits_[0] |= 0x00000002u; } inline void PlayersTurnMessage::clear_has_gamestate() { - _has_bits_[0] &= ~0x00000004u; + _has_bits_[0] &= ~0x00000002u; } inline void PlayersTurnMessage::clear_gamestate() { gamestate_ = 0; @@ -16008,37 +16387,15 @@ inline void PlayersTurnMessage::set_gamestate(::NetGameState value) { // MyActionRequestMessage -// required uint32 gameId = 1; -inline bool MyActionRequestMessage::has_gameid() const { +// required uint32 handNum = 1; +inline bool MyActionRequestMessage::has_handnum() const { return (_has_bits_[0] & 0x00000001u) != 0; } -inline void MyActionRequestMessage::set_has_gameid() { +inline void MyActionRequestMessage::set_has_handnum() { _has_bits_[0] |= 0x00000001u; } -inline void MyActionRequestMessage::clear_has_gameid() { - _has_bits_[0] &= ~0x00000001u; -} -inline void MyActionRequestMessage::clear_gameid() { - gameid_ = 0u; - clear_has_gameid(); -} -inline ::google::protobuf::uint32 MyActionRequestMessage::gameid() const { - return gameid_; -} -inline void MyActionRequestMessage::set_gameid(::google::protobuf::uint32 value) { - set_has_gameid(); - gameid_ = value; -} - -// required uint32 handNum = 2; -inline bool MyActionRequestMessage::has_handnum() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void MyActionRequestMessage::set_has_handnum() { - _has_bits_[0] |= 0x00000002u; -} inline void MyActionRequestMessage::clear_has_handnum() { - _has_bits_[0] &= ~0x00000002u; + _has_bits_[0] &= ~0x00000001u; } inline void MyActionRequestMessage::clear_handnum() { handnum_ = 0u; @@ -16052,15 +16409,15 @@ inline void MyActionRequestMessage::set_handnum(::google::protobuf::uint32 value handnum_ = value; } -// required .NetGameState gameState = 3; +// required .NetGameState gameState = 2; inline bool MyActionRequestMessage::has_gamestate() const { - return (_has_bits_[0] & 0x00000004u) != 0; + return (_has_bits_[0] & 0x00000002u) != 0; } inline void MyActionRequestMessage::set_has_gamestate() { - _has_bits_[0] |= 0x00000004u; + _has_bits_[0] |= 0x00000002u; } inline void MyActionRequestMessage::clear_has_gamestate() { - _has_bits_[0] &= ~0x00000004u; + _has_bits_[0] &= ~0x00000002u; } inline void MyActionRequestMessage::clear_gamestate() { gamestate_ = 0; @@ -16075,15 +16432,15 @@ inline void MyActionRequestMessage::set_gamestate(::NetGameState value) { gamestate_ = value; } -// required .NetPlayerAction myAction = 4; +// required .NetPlayerAction myAction = 3; inline bool MyActionRequestMessage::has_myaction() const { - return (_has_bits_[0] & 0x00000008u) != 0; + return (_has_bits_[0] & 0x00000004u) != 0; } inline void MyActionRequestMessage::set_has_myaction() { - _has_bits_[0] |= 0x00000008u; + _has_bits_[0] |= 0x00000004u; } inline void MyActionRequestMessage::clear_has_myaction() { - _has_bits_[0] &= ~0x00000008u; + _has_bits_[0] &= ~0x00000004u; } inline void MyActionRequestMessage::clear_myaction() { myaction_ = 0; @@ -16098,15 +16455,15 @@ inline void MyActionRequestMessage::set_myaction(::NetPlayerAction value) { myaction_ = value; } -// required uint32 myRelativeBet = 5; +// required uint32 myRelativeBet = 4; inline bool MyActionRequestMessage::has_myrelativebet() const { - return (_has_bits_[0] & 0x00000010u) != 0; + return (_has_bits_[0] & 0x00000008u) != 0; } inline void MyActionRequestMessage::set_has_myrelativebet() { - _has_bits_[0] |= 0x00000010u; + _has_bits_[0] |= 0x00000008u; } inline void MyActionRequestMessage::clear_has_myrelativebet() { - _has_bits_[0] &= ~0x00000010u; + _has_bits_[0] &= ~0x00000008u; } inline void MyActionRequestMessage::clear_myrelativebet() { myrelativebet_ = 0u; @@ -16124,37 +16481,15 @@ inline void MyActionRequestMessage::set_myrelativebet(::google::protobuf::uint32 // YourActionRejectedMessage -// required uint32 gameId = 1; -inline bool YourActionRejectedMessage::has_gameid() const { +// required .NetGameState gameState = 1; +inline bool YourActionRejectedMessage::has_gamestate() const { return (_has_bits_[0] & 0x00000001u) != 0; } -inline void YourActionRejectedMessage::set_has_gameid() { +inline void YourActionRejectedMessage::set_has_gamestate() { _has_bits_[0] |= 0x00000001u; } -inline void YourActionRejectedMessage::clear_has_gameid() { - _has_bits_[0] &= ~0x00000001u; -} -inline void YourActionRejectedMessage::clear_gameid() { - gameid_ = 0u; - clear_has_gameid(); -} -inline ::google::protobuf::uint32 YourActionRejectedMessage::gameid() const { - return gameid_; -} -inline void YourActionRejectedMessage::set_gameid(::google::protobuf::uint32 value) { - set_has_gameid(); - gameid_ = value; -} - -// required .NetGameState gameState = 2; -inline bool YourActionRejectedMessage::has_gamestate() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void YourActionRejectedMessage::set_has_gamestate() { - _has_bits_[0] |= 0x00000002u; -} inline void YourActionRejectedMessage::clear_has_gamestate() { - _has_bits_[0] &= ~0x00000002u; + _has_bits_[0] &= ~0x00000001u; } inline void YourActionRejectedMessage::clear_gamestate() { gamestate_ = 0; @@ -16169,15 +16504,15 @@ inline void YourActionRejectedMessage::set_gamestate(::NetGameState value) { gamestate_ = value; } -// required .NetPlayerAction yourAction = 3; +// required .NetPlayerAction yourAction = 2; inline bool YourActionRejectedMessage::has_youraction() const { - return (_has_bits_[0] & 0x00000004u) != 0; + return (_has_bits_[0] & 0x00000002u) != 0; } inline void YourActionRejectedMessage::set_has_youraction() { - _has_bits_[0] |= 0x00000004u; + _has_bits_[0] |= 0x00000002u; } inline void YourActionRejectedMessage::clear_has_youraction() { - _has_bits_[0] &= ~0x00000004u; + _has_bits_[0] &= ~0x00000002u; } inline void YourActionRejectedMessage::clear_youraction() { youraction_ = 0; @@ -16192,15 +16527,15 @@ inline void YourActionRejectedMessage::set_youraction(::NetPlayerAction value) { youraction_ = value; } -// required uint32 yourRelativeBet = 4; +// required uint32 yourRelativeBet = 3; inline bool YourActionRejectedMessage::has_yourrelativebet() const { - return (_has_bits_[0] & 0x00000008u) != 0; + return (_has_bits_[0] & 0x00000004u) != 0; } inline void YourActionRejectedMessage::set_has_yourrelativebet() { - _has_bits_[0] |= 0x00000008u; + _has_bits_[0] |= 0x00000004u; } inline void YourActionRejectedMessage::clear_has_yourrelativebet() { - _has_bits_[0] &= ~0x00000008u; + _has_bits_[0] &= ~0x00000004u; } inline void YourActionRejectedMessage::clear_yourrelativebet() { yourrelativebet_ = 0u; @@ -16214,15 +16549,15 @@ inline void YourActionRejectedMessage::set_yourrelativebet(::google::protobuf::u yourrelativebet_ = value; } -// required .YourActionRejectedMessage.RejectionReason rejectionReason = 5; +// required .YourActionRejectedMessage.RejectionReason rejectionReason = 4; inline bool YourActionRejectedMessage::has_rejectionreason() const { - return (_has_bits_[0] & 0x00000010u) != 0; + return (_has_bits_[0] & 0x00000008u) != 0; } inline void YourActionRejectedMessage::set_has_rejectionreason() { - _has_bits_[0] |= 0x00000010u; + _has_bits_[0] |= 0x00000008u; } inline void YourActionRejectedMessage::clear_has_rejectionreason() { - _has_bits_[0] &= ~0x00000010u; + _has_bits_[0] &= ~0x00000008u; } inline void YourActionRejectedMessage::clear_rejectionreason() { rejectionreason_ = 1; @@ -16241,37 +16576,15 @@ inline void YourActionRejectedMessage::set_rejectionreason(::YourActionRejectedM // PlayersActionDoneMessage -// required uint32 gameId = 1; -inline bool PlayersActionDoneMessage::has_gameid() const { +// required uint32 playerId = 1; +inline bool PlayersActionDoneMessage::has_playerid() const { return (_has_bits_[0] & 0x00000001u) != 0; } -inline void PlayersActionDoneMessage::set_has_gameid() { +inline void PlayersActionDoneMessage::set_has_playerid() { _has_bits_[0] |= 0x00000001u; } -inline void PlayersActionDoneMessage::clear_has_gameid() { - _has_bits_[0] &= ~0x00000001u; -} -inline void PlayersActionDoneMessage::clear_gameid() { - gameid_ = 0u; - clear_has_gameid(); -} -inline ::google::protobuf::uint32 PlayersActionDoneMessage::gameid() const { - return gameid_; -} -inline void PlayersActionDoneMessage::set_gameid(::google::protobuf::uint32 value) { - set_has_gameid(); - gameid_ = value; -} - -// required uint32 playerId = 2; -inline bool PlayersActionDoneMessage::has_playerid() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void PlayersActionDoneMessage::set_has_playerid() { - _has_bits_[0] |= 0x00000002u; -} inline void PlayersActionDoneMessage::clear_has_playerid() { - _has_bits_[0] &= ~0x00000002u; + _has_bits_[0] &= ~0x00000001u; } inline void PlayersActionDoneMessage::clear_playerid() { playerid_ = 0u; @@ -16285,15 +16598,15 @@ inline void PlayersActionDoneMessage::set_playerid(::google::protobuf::uint32 va playerid_ = value; } -// required .NetGameState gameState = 3; +// required .NetGameState gameState = 2; inline bool PlayersActionDoneMessage::has_gamestate() const { - return (_has_bits_[0] & 0x00000004u) != 0; + return (_has_bits_[0] & 0x00000002u) != 0; } inline void PlayersActionDoneMessage::set_has_gamestate() { - _has_bits_[0] |= 0x00000004u; + _has_bits_[0] |= 0x00000002u; } inline void PlayersActionDoneMessage::clear_has_gamestate() { - _has_bits_[0] &= ~0x00000004u; + _has_bits_[0] &= ~0x00000002u; } inline void PlayersActionDoneMessage::clear_gamestate() { gamestate_ = 0; @@ -16308,15 +16621,15 @@ inline void PlayersActionDoneMessage::set_gamestate(::NetGameState value) { gamestate_ = value; } -// required .NetPlayerAction playerAction = 4; +// required .NetPlayerAction playerAction = 3; inline bool PlayersActionDoneMessage::has_playeraction() const { - return (_has_bits_[0] & 0x00000008u) != 0; + return (_has_bits_[0] & 0x00000004u) != 0; } inline void PlayersActionDoneMessage::set_has_playeraction() { - _has_bits_[0] |= 0x00000008u; + _has_bits_[0] |= 0x00000004u; } inline void PlayersActionDoneMessage::clear_has_playeraction() { - _has_bits_[0] &= ~0x00000008u; + _has_bits_[0] &= ~0x00000004u; } inline void PlayersActionDoneMessage::clear_playeraction() { playeraction_ = 0; @@ -16331,15 +16644,15 @@ inline void PlayersActionDoneMessage::set_playeraction(::NetPlayerAction value) playeraction_ = value; } -// required uint32 totalPlayerBet = 5; +// required uint32 totalPlayerBet = 4; inline bool PlayersActionDoneMessage::has_totalplayerbet() const { - return (_has_bits_[0] & 0x00000010u) != 0; + return (_has_bits_[0] & 0x00000008u) != 0; } inline void PlayersActionDoneMessage::set_has_totalplayerbet() { - _has_bits_[0] |= 0x00000010u; + _has_bits_[0] |= 0x00000008u; } inline void PlayersActionDoneMessage::clear_has_totalplayerbet() { - _has_bits_[0] &= ~0x00000010u; + _has_bits_[0] &= ~0x00000008u; } inline void PlayersActionDoneMessage::clear_totalplayerbet() { totalplayerbet_ = 0u; @@ -16353,15 +16666,15 @@ inline void PlayersActionDoneMessage::set_totalplayerbet(::google::protobuf::uin totalplayerbet_ = value; } -// required uint32 playerMoney = 6; +// required uint32 playerMoney = 5; inline bool PlayersActionDoneMessage::has_playermoney() const { - return (_has_bits_[0] & 0x00000020u) != 0; + return (_has_bits_[0] & 0x00000010u) != 0; } inline void PlayersActionDoneMessage::set_has_playermoney() { - _has_bits_[0] |= 0x00000020u; + _has_bits_[0] |= 0x00000010u; } inline void PlayersActionDoneMessage::clear_has_playermoney() { - _has_bits_[0] &= ~0x00000020u; + _has_bits_[0] &= ~0x00000010u; } inline void PlayersActionDoneMessage::clear_playermoney() { playermoney_ = 0u; @@ -16375,15 +16688,15 @@ inline void PlayersActionDoneMessage::set_playermoney(::google::protobuf::uint32 playermoney_ = value; } -// required uint32 highestSet = 7; +// required uint32 highestSet = 6; inline bool PlayersActionDoneMessage::has_highestset() const { - return (_has_bits_[0] & 0x00000040u) != 0; + return (_has_bits_[0] & 0x00000020u) != 0; } inline void PlayersActionDoneMessage::set_has_highestset() { - _has_bits_[0] |= 0x00000040u; + _has_bits_[0] |= 0x00000020u; } inline void PlayersActionDoneMessage::clear_has_highestset() { - _has_bits_[0] &= ~0x00000040u; + _has_bits_[0] &= ~0x00000020u; } inline void PlayersActionDoneMessage::clear_highestset() { highestset_ = 0u; @@ -16397,15 +16710,15 @@ inline void PlayersActionDoneMessage::set_highestset(::google::protobuf::uint32 highestset_ = value; } -// required uint32 minimumRaise = 8; +// required uint32 minimumRaise = 7; inline bool PlayersActionDoneMessage::has_minimumraise() const { - return (_has_bits_[0] & 0x00000080u) != 0; + return (_has_bits_[0] & 0x00000040u) != 0; } inline void PlayersActionDoneMessage::set_has_minimumraise() { - _has_bits_[0] |= 0x00000080u; + _has_bits_[0] |= 0x00000040u; } inline void PlayersActionDoneMessage::clear_has_minimumraise() { - _has_bits_[0] &= ~0x00000080u; + _has_bits_[0] &= ~0x00000040u; } inline void PlayersActionDoneMessage::clear_minimumraise() { minimumraise_ = 0u; @@ -16423,37 +16736,15 @@ inline void PlayersActionDoneMessage::set_minimumraise(::google::protobuf::uint3 // DealFlopCardsMessage -// required uint32 gameId = 1; -inline bool DealFlopCardsMessage::has_gameid() const { +// required uint32 flopCard1 = 1; +inline bool DealFlopCardsMessage::has_flopcard1() const { return (_has_bits_[0] & 0x00000001u) != 0; } -inline void DealFlopCardsMessage::set_has_gameid() { +inline void DealFlopCardsMessage::set_has_flopcard1() { _has_bits_[0] |= 0x00000001u; } -inline void DealFlopCardsMessage::clear_has_gameid() { - _has_bits_[0] &= ~0x00000001u; -} -inline void DealFlopCardsMessage::clear_gameid() { - gameid_ = 0u; - clear_has_gameid(); -} -inline ::google::protobuf::uint32 DealFlopCardsMessage::gameid() const { - return gameid_; -} -inline void DealFlopCardsMessage::set_gameid(::google::protobuf::uint32 value) { - set_has_gameid(); - gameid_ = value; -} - -// required uint32 flopCard1 = 2; -inline bool DealFlopCardsMessage::has_flopcard1() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void DealFlopCardsMessage::set_has_flopcard1() { - _has_bits_[0] |= 0x00000002u; -} inline void DealFlopCardsMessage::clear_has_flopcard1() { - _has_bits_[0] &= ~0x00000002u; + _has_bits_[0] &= ~0x00000001u; } inline void DealFlopCardsMessage::clear_flopcard1() { flopcard1_ = 0u; @@ -16467,15 +16758,15 @@ inline void DealFlopCardsMessage::set_flopcard1(::google::protobuf::uint32 value flopcard1_ = value; } -// required uint32 flopCard2 = 3; +// required uint32 flopCard2 = 2; inline bool DealFlopCardsMessage::has_flopcard2() const { - return (_has_bits_[0] & 0x00000004u) != 0; + return (_has_bits_[0] & 0x00000002u) != 0; } inline void DealFlopCardsMessage::set_has_flopcard2() { - _has_bits_[0] |= 0x00000004u; + _has_bits_[0] |= 0x00000002u; } inline void DealFlopCardsMessage::clear_has_flopcard2() { - _has_bits_[0] &= ~0x00000004u; + _has_bits_[0] &= ~0x00000002u; } inline void DealFlopCardsMessage::clear_flopcard2() { flopcard2_ = 0u; @@ -16489,15 +16780,15 @@ inline void DealFlopCardsMessage::set_flopcard2(::google::protobuf::uint32 value flopcard2_ = value; } -// required uint32 flopCard3 = 4; +// required uint32 flopCard3 = 3; inline bool DealFlopCardsMessage::has_flopcard3() const { - return (_has_bits_[0] & 0x00000008u) != 0; + return (_has_bits_[0] & 0x00000004u) != 0; } inline void DealFlopCardsMessage::set_has_flopcard3() { - _has_bits_[0] |= 0x00000008u; + _has_bits_[0] |= 0x00000004u; } inline void DealFlopCardsMessage::clear_has_flopcard3() { - _has_bits_[0] &= ~0x00000008u; + _has_bits_[0] &= ~0x00000004u; } inline void DealFlopCardsMessage::clear_flopcard3() { flopcard3_ = 0u; @@ -16515,37 +16806,15 @@ inline void DealFlopCardsMessage::set_flopcard3(::google::protobuf::uint32 value // DealTurnCardMessage -// required uint32 gameId = 1; -inline bool DealTurnCardMessage::has_gameid() const { +// required uint32 turnCard = 1; +inline bool DealTurnCardMessage::has_turncard() const { return (_has_bits_[0] & 0x00000001u) != 0; } -inline void DealTurnCardMessage::set_has_gameid() { +inline void DealTurnCardMessage::set_has_turncard() { _has_bits_[0] |= 0x00000001u; } -inline void DealTurnCardMessage::clear_has_gameid() { - _has_bits_[0] &= ~0x00000001u; -} -inline void DealTurnCardMessage::clear_gameid() { - gameid_ = 0u; - clear_has_gameid(); -} -inline ::google::protobuf::uint32 DealTurnCardMessage::gameid() const { - return gameid_; -} -inline void DealTurnCardMessage::set_gameid(::google::protobuf::uint32 value) { - set_has_gameid(); - gameid_ = value; -} - -// required uint32 turnCard = 2; -inline bool DealTurnCardMessage::has_turncard() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void DealTurnCardMessage::set_has_turncard() { - _has_bits_[0] |= 0x00000002u; -} inline void DealTurnCardMessage::clear_has_turncard() { - _has_bits_[0] &= ~0x00000002u; + _has_bits_[0] &= ~0x00000001u; } inline void DealTurnCardMessage::clear_turncard() { turncard_ = 0u; @@ -16563,37 +16832,15 @@ inline void DealTurnCardMessage::set_turncard(::google::protobuf::uint32 value) // DealRiverCardMessage -// required uint32 gameId = 1; -inline bool DealRiverCardMessage::has_gameid() const { +// required uint32 riverCard = 1; +inline bool DealRiverCardMessage::has_rivercard() const { return (_has_bits_[0] & 0x00000001u) != 0; } -inline void DealRiverCardMessage::set_has_gameid() { +inline void DealRiverCardMessage::set_has_rivercard() { _has_bits_[0] |= 0x00000001u; } -inline void DealRiverCardMessage::clear_has_gameid() { - _has_bits_[0] &= ~0x00000001u; -} -inline void DealRiverCardMessage::clear_gameid() { - gameid_ = 0u; - clear_has_gameid(); -} -inline ::google::protobuf::uint32 DealRiverCardMessage::gameid() const { - return gameid_; -} -inline void DealRiverCardMessage::set_gameid(::google::protobuf::uint32 value) { - set_has_gameid(); - gameid_ = value; -} - -// required uint32 riverCard = 2; -inline bool DealRiverCardMessage::has_rivercard() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void DealRiverCardMessage::set_has_rivercard() { - _has_bits_[0] |= 0x00000002u; -} inline void DealRiverCardMessage::clear_has_rivercard() { - _has_bits_[0] &= ~0x00000002u; + _has_bits_[0] &= ~0x00000001u; } inline void DealRiverCardMessage::clear_rivercard() { rivercard_ = 0u; @@ -16681,29 +16928,7 @@ inline void AllInShowCardsMessage_PlayerAllIn::set_allincard2(::google::protobuf // AllInShowCardsMessage -// required uint32 gameId = 1; -inline bool AllInShowCardsMessage::has_gameid() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void AllInShowCardsMessage::set_has_gameid() { - _has_bits_[0] |= 0x00000001u; -} -inline void AllInShowCardsMessage::clear_has_gameid() { - _has_bits_[0] &= ~0x00000001u; -} -inline void AllInShowCardsMessage::clear_gameid() { - gameid_ = 0u; - clear_has_gameid(); -} -inline ::google::protobuf::uint32 AllInShowCardsMessage::gameid() const { - return gameid_; -} -inline void AllInShowCardsMessage::set_gameid(::google::protobuf::uint32 value) { - set_has_gameid(); - gameid_ = value; -} - -// repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; +// repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 1; inline int AllInShowCardsMessage::playersallin_size() const { return playersallin_.size(); } @@ -16732,29 +16957,7 @@ AllInShowCardsMessage::mutable_playersallin() { // EndOfHandShowCardsMessage -// required uint32 gameId = 1; -inline bool EndOfHandShowCardsMessage::has_gameid() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void EndOfHandShowCardsMessage::set_has_gameid() { - _has_bits_[0] |= 0x00000001u; -} -inline void EndOfHandShowCardsMessage::clear_has_gameid() { - _has_bits_[0] &= ~0x00000001u; -} -inline void EndOfHandShowCardsMessage::clear_gameid() { - gameid_ = 0u; - clear_has_gameid(); -} -inline ::google::protobuf::uint32 EndOfHandShowCardsMessage::gameid() const { - return gameid_; -} -inline void EndOfHandShowCardsMessage::set_gameid(::google::protobuf::uint32 value) { - set_has_gameid(); - gameid_ = value; -} - -// repeated .PlayerResult playerResults = 2; +// repeated .PlayerResult playerResults = 1; inline int EndOfHandShowCardsMessage::playerresults_size() const { return playerresults_.size(); } @@ -16783,37 +16986,15 @@ EndOfHandShowCardsMessage::mutable_playerresults() { // EndOfHandHideCardsMessage -// required uint32 gameId = 1; -inline bool EndOfHandHideCardsMessage::has_gameid() const { +// required uint32 playerId = 1; +inline bool EndOfHandHideCardsMessage::has_playerid() const { return (_has_bits_[0] & 0x00000001u) != 0; } -inline void EndOfHandHideCardsMessage::set_has_gameid() { +inline void EndOfHandHideCardsMessage::set_has_playerid() { _has_bits_[0] |= 0x00000001u; } -inline void EndOfHandHideCardsMessage::clear_has_gameid() { - _has_bits_[0] &= ~0x00000001u; -} -inline void EndOfHandHideCardsMessage::clear_gameid() { - gameid_ = 0u; - clear_has_gameid(); -} -inline ::google::protobuf::uint32 EndOfHandHideCardsMessage::gameid() const { - return gameid_; -} -inline void EndOfHandHideCardsMessage::set_gameid(::google::protobuf::uint32 value) { - set_has_gameid(); - gameid_ = value; -} - -// required uint32 playerId = 2; -inline bool EndOfHandHideCardsMessage::has_playerid() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void EndOfHandHideCardsMessage::set_has_playerid() { - _has_bits_[0] |= 0x00000002u; -} inline void EndOfHandHideCardsMessage::clear_has_playerid() { - _has_bits_[0] &= ~0x00000002u; + _has_bits_[0] &= ~0x00000001u; } inline void EndOfHandHideCardsMessage::clear_playerid() { playerid_ = 0u; @@ -16827,15 +17008,15 @@ inline void EndOfHandHideCardsMessage::set_playerid(::google::protobuf::uint32 v playerid_ = value; } -// required uint32 moneyWon = 3; +// required uint32 moneyWon = 2; inline bool EndOfHandHideCardsMessage::has_moneywon() const { - return (_has_bits_[0] & 0x00000004u) != 0; + return (_has_bits_[0] & 0x00000002u) != 0; } inline void EndOfHandHideCardsMessage::set_has_moneywon() { - _has_bits_[0] |= 0x00000004u; + _has_bits_[0] |= 0x00000002u; } inline void EndOfHandHideCardsMessage::clear_has_moneywon() { - _has_bits_[0] &= ~0x00000004u; + _has_bits_[0] &= ~0x00000002u; } inline void EndOfHandHideCardsMessage::clear_moneywon() { moneywon_ = 0u; @@ -16849,15 +17030,15 @@ inline void EndOfHandHideCardsMessage::set_moneywon(::google::protobuf::uint32 v moneywon_ = value; } -// required uint32 playerMoney = 4; +// required uint32 playerMoney = 3; inline bool EndOfHandHideCardsMessage::has_playermoney() const { - return (_has_bits_[0] & 0x00000008u) != 0; + return (_has_bits_[0] & 0x00000004u) != 0; } inline void EndOfHandHideCardsMessage::set_has_playermoney() { - _has_bits_[0] |= 0x00000008u; + _has_bits_[0] |= 0x00000004u; } inline void EndOfHandHideCardsMessage::clear_has_playermoney() { - _has_bits_[0] &= ~0x00000008u; + _has_bits_[0] &= ~0x00000004u; } inline void EndOfHandHideCardsMessage::clear_playermoney() { playermoney_ = 0u; @@ -16925,37 +17106,15 @@ inline void AfterHandShowCardsMessage::set_allocated_playerresult(::PlayerResult // EndOfGameMessage -// required uint32 gameId = 1; -inline bool EndOfGameMessage::has_gameid() const { +// required uint32 winnerPlayerId = 1; +inline bool EndOfGameMessage::has_winnerplayerid() const { return (_has_bits_[0] & 0x00000001u) != 0; } -inline void EndOfGameMessage::set_has_gameid() { +inline void EndOfGameMessage::set_has_winnerplayerid() { _has_bits_[0] |= 0x00000001u; } -inline void EndOfGameMessage::clear_has_gameid() { - _has_bits_[0] &= ~0x00000001u; -} -inline void EndOfGameMessage::clear_gameid() { - gameid_ = 0u; - clear_has_gameid(); -} -inline ::google::protobuf::uint32 EndOfGameMessage::gameid() const { - return gameid_; -} -inline void EndOfGameMessage::set_gameid(::google::protobuf::uint32 value) { - set_has_gameid(); - gameid_ = value; -} - -// required uint32 winnerPlayerId = 2; -inline bool EndOfGameMessage::has_winnerplayerid() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void EndOfGameMessage::set_has_winnerplayerid() { - _has_bits_[0] |= 0x00000002u; -} inline void EndOfGameMessage::clear_has_winnerplayerid() { - _has_bits_[0] &= ~0x00000002u; + _has_bits_[0] &= ~0x00000001u; } inline void EndOfGameMessage::clear_winnerplayerid() { winnerplayerid_ = 0u; @@ -17021,37 +17180,15 @@ inline void PlayerIdChangedMessage::set_newplayerid(::google::protobuf::uint32 v // AskKickPlayerMessage -// required uint32 gameId = 1; -inline bool AskKickPlayerMessage::has_gameid() const { +// required uint32 playerId = 1; +inline bool AskKickPlayerMessage::has_playerid() const { return (_has_bits_[0] & 0x00000001u) != 0; } -inline void AskKickPlayerMessage::set_has_gameid() { +inline void AskKickPlayerMessage::set_has_playerid() { _has_bits_[0] |= 0x00000001u; } -inline void AskKickPlayerMessage::clear_has_gameid() { - _has_bits_[0] &= ~0x00000001u; -} -inline void AskKickPlayerMessage::clear_gameid() { - gameid_ = 0u; - clear_has_gameid(); -} -inline ::google::protobuf::uint32 AskKickPlayerMessage::gameid() const { - return gameid_; -} -inline void AskKickPlayerMessage::set_gameid(::google::protobuf::uint32 value) { - set_has_gameid(); - gameid_ = value; -} - -// required uint32 playerId = 2; -inline bool AskKickPlayerMessage::has_playerid() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void AskKickPlayerMessage::set_has_playerid() { - _has_bits_[0] |= 0x00000002u; -} inline void AskKickPlayerMessage::clear_has_playerid() { - _has_bits_[0] &= ~0x00000002u; + _has_bits_[0] &= ~0x00000001u; } inline void AskKickPlayerMessage::clear_playerid() { playerid_ = 0u; @@ -17069,37 +17206,15 @@ inline void AskKickPlayerMessage::set_playerid(::google::protobuf::uint32 value) // AskKickDeniedMessage -// required uint32 gameId = 1; -inline bool AskKickDeniedMessage::has_gameid() const { +// required uint32 playerId = 1; +inline bool AskKickDeniedMessage::has_playerid() const { return (_has_bits_[0] & 0x00000001u) != 0; } -inline void AskKickDeniedMessage::set_has_gameid() { +inline void AskKickDeniedMessage::set_has_playerid() { _has_bits_[0] |= 0x00000001u; } -inline void AskKickDeniedMessage::clear_has_gameid() { - _has_bits_[0] &= ~0x00000001u; -} -inline void AskKickDeniedMessage::clear_gameid() { - gameid_ = 0u; - clear_has_gameid(); -} -inline ::google::protobuf::uint32 AskKickDeniedMessage::gameid() const { - return gameid_; -} -inline void AskKickDeniedMessage::set_gameid(::google::protobuf::uint32 value) { - set_has_gameid(); - gameid_ = value; -} - -// required uint32 playerId = 2; -inline bool AskKickDeniedMessage::has_playerid() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void AskKickDeniedMessage::set_has_playerid() { - _has_bits_[0] |= 0x00000002u; -} inline void AskKickDeniedMessage::clear_has_playerid() { - _has_bits_[0] &= ~0x00000002u; + _has_bits_[0] &= ~0x00000001u; } inline void AskKickDeniedMessage::clear_playerid() { playerid_ = 0u; @@ -17113,15 +17228,15 @@ inline void AskKickDeniedMessage::set_playerid(::google::protobuf::uint32 value) playerid_ = value; } -// required .AskKickDeniedMessage.KickDeniedReason kickDeniedReason = 3; +// required .AskKickDeniedMessage.KickDeniedReason kickDeniedReason = 2; inline bool AskKickDeniedMessage::has_kickdeniedreason() const { - return (_has_bits_[0] & 0x00000004u) != 0; + return (_has_bits_[0] & 0x00000002u) != 0; } inline void AskKickDeniedMessage::set_has_kickdeniedreason() { - _has_bits_[0] |= 0x00000004u; + _has_bits_[0] |= 0x00000002u; } inline void AskKickDeniedMessage::clear_has_kickdeniedreason() { - _has_bits_[0] &= ~0x00000004u; + _has_bits_[0] &= ~0x00000002u; } inline void AskKickDeniedMessage::clear_kickdeniedreason() { kickdeniedreason_ = 0; @@ -17140,37 +17255,15 @@ inline void AskKickDeniedMessage::set_kickdeniedreason(::AskKickDeniedMessage_Ki // StartKickPetitionMessage -// required uint32 gameId = 1; -inline bool StartKickPetitionMessage::has_gameid() const { +// required uint32 petitionId = 1; +inline bool StartKickPetitionMessage::has_petitionid() const { return (_has_bits_[0] & 0x00000001u) != 0; } -inline void StartKickPetitionMessage::set_has_gameid() { +inline void StartKickPetitionMessage::set_has_petitionid() { _has_bits_[0] |= 0x00000001u; } -inline void StartKickPetitionMessage::clear_has_gameid() { - _has_bits_[0] &= ~0x00000001u; -} -inline void StartKickPetitionMessage::clear_gameid() { - gameid_ = 0u; - clear_has_gameid(); -} -inline ::google::protobuf::uint32 StartKickPetitionMessage::gameid() const { - return gameid_; -} -inline void StartKickPetitionMessage::set_gameid(::google::protobuf::uint32 value) { - set_has_gameid(); - gameid_ = value; -} - -// required uint32 petitionId = 2; -inline bool StartKickPetitionMessage::has_petitionid() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void StartKickPetitionMessage::set_has_petitionid() { - _has_bits_[0] |= 0x00000002u; -} inline void StartKickPetitionMessage::clear_has_petitionid() { - _has_bits_[0] &= ~0x00000002u; + _has_bits_[0] &= ~0x00000001u; } inline void StartKickPetitionMessage::clear_petitionid() { petitionid_ = 0u; @@ -17184,15 +17277,15 @@ inline void StartKickPetitionMessage::set_petitionid(::google::protobuf::uint32 petitionid_ = value; } -// required uint32 proposingPlayerId = 3; +// required uint32 proposingPlayerId = 2; inline bool StartKickPetitionMessage::has_proposingplayerid() const { - return (_has_bits_[0] & 0x00000004u) != 0; + return (_has_bits_[0] & 0x00000002u) != 0; } inline void StartKickPetitionMessage::set_has_proposingplayerid() { - _has_bits_[0] |= 0x00000004u; + _has_bits_[0] |= 0x00000002u; } inline void StartKickPetitionMessage::clear_has_proposingplayerid() { - _has_bits_[0] &= ~0x00000004u; + _has_bits_[0] &= ~0x00000002u; } inline void StartKickPetitionMessage::clear_proposingplayerid() { proposingplayerid_ = 0u; @@ -17206,15 +17299,15 @@ inline void StartKickPetitionMessage::set_proposingplayerid(::google::protobuf:: proposingplayerid_ = value; } -// required uint32 kickPlayerId = 4; +// required uint32 kickPlayerId = 3; inline bool StartKickPetitionMessage::has_kickplayerid() const { - return (_has_bits_[0] & 0x00000008u) != 0; + return (_has_bits_[0] & 0x00000004u) != 0; } inline void StartKickPetitionMessage::set_has_kickplayerid() { - _has_bits_[0] |= 0x00000008u; + _has_bits_[0] |= 0x00000004u; } inline void StartKickPetitionMessage::clear_has_kickplayerid() { - _has_bits_[0] &= ~0x00000008u; + _has_bits_[0] &= ~0x00000004u; } inline void StartKickPetitionMessage::clear_kickplayerid() { kickplayerid_ = 0u; @@ -17228,15 +17321,15 @@ inline void StartKickPetitionMessage::set_kickplayerid(::google::protobuf::uint3 kickplayerid_ = value; } -// required uint32 kickTimeoutSec = 5; +// required uint32 kickTimeoutSec = 4; inline bool StartKickPetitionMessage::has_kicktimeoutsec() const { - return (_has_bits_[0] & 0x00000010u) != 0; + return (_has_bits_[0] & 0x00000008u) != 0; } inline void StartKickPetitionMessage::set_has_kicktimeoutsec() { - _has_bits_[0] |= 0x00000010u; + _has_bits_[0] |= 0x00000008u; } inline void StartKickPetitionMessage::clear_has_kicktimeoutsec() { - _has_bits_[0] &= ~0x00000010u; + _has_bits_[0] &= ~0x00000008u; } inline void StartKickPetitionMessage::clear_kicktimeoutsec() { kicktimeoutsec_ = 0u; @@ -17250,15 +17343,15 @@ inline void StartKickPetitionMessage::set_kicktimeoutsec(::google::protobuf::uin kicktimeoutsec_ = value; } -// required uint32 numVotesNeededToKick = 6; +// required uint32 numVotesNeededToKick = 5; inline bool StartKickPetitionMessage::has_numvotesneededtokick() const { - return (_has_bits_[0] & 0x00000020u) != 0; + return (_has_bits_[0] & 0x00000010u) != 0; } inline void StartKickPetitionMessage::set_has_numvotesneededtokick() { - _has_bits_[0] |= 0x00000020u; + _has_bits_[0] |= 0x00000010u; } inline void StartKickPetitionMessage::clear_has_numvotesneededtokick() { - _has_bits_[0] &= ~0x00000020u; + _has_bits_[0] &= ~0x00000010u; } inline void StartKickPetitionMessage::clear_numvotesneededtokick() { numvotesneededtokick_ = 0u; @@ -17276,37 +17369,15 @@ inline void StartKickPetitionMessage::set_numvotesneededtokick(::google::protobu // VoteKickRequestMessage -// required uint32 gameId = 1; -inline bool VoteKickRequestMessage::has_gameid() const { +// required uint32 petitionId = 1; +inline bool VoteKickRequestMessage::has_petitionid() const { return (_has_bits_[0] & 0x00000001u) != 0; } -inline void VoteKickRequestMessage::set_has_gameid() { +inline void VoteKickRequestMessage::set_has_petitionid() { _has_bits_[0] |= 0x00000001u; } -inline void VoteKickRequestMessage::clear_has_gameid() { - _has_bits_[0] &= ~0x00000001u; -} -inline void VoteKickRequestMessage::clear_gameid() { - gameid_ = 0u; - clear_has_gameid(); -} -inline ::google::protobuf::uint32 VoteKickRequestMessage::gameid() const { - return gameid_; -} -inline void VoteKickRequestMessage::set_gameid(::google::protobuf::uint32 value) { - set_has_gameid(); - gameid_ = value; -} - -// required uint32 petitionId = 2; -inline bool VoteKickRequestMessage::has_petitionid() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void VoteKickRequestMessage::set_has_petitionid() { - _has_bits_[0] |= 0x00000002u; -} inline void VoteKickRequestMessage::clear_has_petitionid() { - _has_bits_[0] &= ~0x00000002u; + _has_bits_[0] &= ~0x00000001u; } inline void VoteKickRequestMessage::clear_petitionid() { petitionid_ = 0u; @@ -17320,15 +17391,15 @@ inline void VoteKickRequestMessage::set_petitionid(::google::protobuf::uint32 va petitionid_ = value; } -// required bool voteKick = 3; +// required bool voteKick = 2; inline bool VoteKickRequestMessage::has_votekick() const { - return (_has_bits_[0] & 0x00000004u) != 0; + return (_has_bits_[0] & 0x00000002u) != 0; } inline void VoteKickRequestMessage::set_has_votekick() { - _has_bits_[0] |= 0x00000004u; + _has_bits_[0] |= 0x00000002u; } inline void VoteKickRequestMessage::clear_has_votekick() { - _has_bits_[0] &= ~0x00000004u; + _has_bits_[0] &= ~0x00000002u; } inline void VoteKickRequestMessage::clear_votekick() { votekick_ = false; @@ -17346,37 +17417,15 @@ inline void VoteKickRequestMessage::set_votekick(bool value) { // VoteKickReplyMessage -// required uint32 gameId = 1; -inline bool VoteKickReplyMessage::has_gameid() const { +// required uint32 petitionId = 1; +inline bool VoteKickReplyMessage::has_petitionid() const { return (_has_bits_[0] & 0x00000001u) != 0; } -inline void VoteKickReplyMessage::set_has_gameid() { +inline void VoteKickReplyMessage::set_has_petitionid() { _has_bits_[0] |= 0x00000001u; } -inline void VoteKickReplyMessage::clear_has_gameid() { - _has_bits_[0] &= ~0x00000001u; -} -inline void VoteKickReplyMessage::clear_gameid() { - gameid_ = 0u; - clear_has_gameid(); -} -inline ::google::protobuf::uint32 VoteKickReplyMessage::gameid() const { - return gameid_; -} -inline void VoteKickReplyMessage::set_gameid(::google::protobuf::uint32 value) { - set_has_gameid(); - gameid_ = value; -} - -// required uint32 petitionId = 2; -inline bool VoteKickReplyMessage::has_petitionid() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void VoteKickReplyMessage::set_has_petitionid() { - _has_bits_[0] |= 0x00000002u; -} inline void VoteKickReplyMessage::clear_has_petitionid() { - _has_bits_[0] &= ~0x00000002u; + _has_bits_[0] &= ~0x00000001u; } inline void VoteKickReplyMessage::clear_petitionid() { petitionid_ = 0u; @@ -17390,15 +17439,15 @@ inline void VoteKickReplyMessage::set_petitionid(::google::protobuf::uint32 valu petitionid_ = value; } -// required .VoteKickReplyMessage.VoteKickReplyType voteKickReplyType = 3; +// required .VoteKickReplyMessage.VoteKickReplyType voteKickReplyType = 2; inline bool VoteKickReplyMessage::has_votekickreplytype() const { - return (_has_bits_[0] & 0x00000004u) != 0; + return (_has_bits_[0] & 0x00000002u) != 0; } inline void VoteKickReplyMessage::set_has_votekickreplytype() { - _has_bits_[0] |= 0x00000004u; + _has_bits_[0] |= 0x00000002u; } inline void VoteKickReplyMessage::clear_has_votekickreplytype() { - _has_bits_[0] &= ~0x00000004u; + _has_bits_[0] &= ~0x00000002u; } inline void VoteKickReplyMessage::clear_votekickreplytype() { votekickreplytype_ = 0; @@ -17417,37 +17466,15 @@ inline void VoteKickReplyMessage::set_votekickreplytype(::VoteKickReplyMessage_V // KickPetitionUpdateMessage -// required uint32 gameId = 1; -inline bool KickPetitionUpdateMessage::has_gameid() const { +// required uint32 petitionId = 1; +inline bool KickPetitionUpdateMessage::has_petitionid() const { return (_has_bits_[0] & 0x00000001u) != 0; } -inline void KickPetitionUpdateMessage::set_has_gameid() { +inline void KickPetitionUpdateMessage::set_has_petitionid() { _has_bits_[0] |= 0x00000001u; } -inline void KickPetitionUpdateMessage::clear_has_gameid() { - _has_bits_[0] &= ~0x00000001u; -} -inline void KickPetitionUpdateMessage::clear_gameid() { - gameid_ = 0u; - clear_has_gameid(); -} -inline ::google::protobuf::uint32 KickPetitionUpdateMessage::gameid() const { - return gameid_; -} -inline void KickPetitionUpdateMessage::set_gameid(::google::protobuf::uint32 value) { - set_has_gameid(); - gameid_ = value; -} - -// required uint32 petitionId = 2; -inline bool KickPetitionUpdateMessage::has_petitionid() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void KickPetitionUpdateMessage::set_has_petitionid() { - _has_bits_[0] |= 0x00000002u; -} inline void KickPetitionUpdateMessage::clear_has_petitionid() { - _has_bits_[0] &= ~0x00000002u; + _has_bits_[0] &= ~0x00000001u; } inline void KickPetitionUpdateMessage::clear_petitionid() { petitionid_ = 0u; @@ -17461,15 +17488,15 @@ inline void KickPetitionUpdateMessage::set_petitionid(::google::protobuf::uint32 petitionid_ = value; } -// required uint32 numVotesAgainstKicking = 3; +// required uint32 numVotesAgainstKicking = 2; inline bool KickPetitionUpdateMessage::has_numvotesagainstkicking() const { - return (_has_bits_[0] & 0x00000004u) != 0; + return (_has_bits_[0] & 0x00000002u) != 0; } inline void KickPetitionUpdateMessage::set_has_numvotesagainstkicking() { - _has_bits_[0] |= 0x00000004u; + _has_bits_[0] |= 0x00000002u; } inline void KickPetitionUpdateMessage::clear_has_numvotesagainstkicking() { - _has_bits_[0] &= ~0x00000004u; + _has_bits_[0] &= ~0x00000002u; } inline void KickPetitionUpdateMessage::clear_numvotesagainstkicking() { numvotesagainstkicking_ = 0u; @@ -17483,15 +17510,15 @@ inline void KickPetitionUpdateMessage::set_numvotesagainstkicking(::google::prot numvotesagainstkicking_ = value; } -// required uint32 numVotesInFavourOfKicking = 4; +// required uint32 numVotesInFavourOfKicking = 3; inline bool KickPetitionUpdateMessage::has_numvotesinfavourofkicking() const { - return (_has_bits_[0] & 0x00000008u) != 0; + return (_has_bits_[0] & 0x00000004u) != 0; } inline void KickPetitionUpdateMessage::set_has_numvotesinfavourofkicking() { - _has_bits_[0] |= 0x00000008u; + _has_bits_[0] |= 0x00000004u; } inline void KickPetitionUpdateMessage::clear_has_numvotesinfavourofkicking() { - _has_bits_[0] &= ~0x00000008u; + _has_bits_[0] &= ~0x00000004u; } inline void KickPetitionUpdateMessage::clear_numvotesinfavourofkicking() { numvotesinfavourofkicking_ = 0u; @@ -17505,15 +17532,15 @@ inline void KickPetitionUpdateMessage::set_numvotesinfavourofkicking(::google::p numvotesinfavourofkicking_ = value; } -// required uint32 numVotesNeededToKick = 5; +// required uint32 numVotesNeededToKick = 4; inline bool KickPetitionUpdateMessage::has_numvotesneededtokick() const { - return (_has_bits_[0] & 0x00000010u) != 0; + return (_has_bits_[0] & 0x00000008u) != 0; } inline void KickPetitionUpdateMessage::set_has_numvotesneededtokick() { - _has_bits_[0] |= 0x00000010u; + _has_bits_[0] |= 0x00000008u; } inline void KickPetitionUpdateMessage::clear_has_numvotesneededtokick() { - _has_bits_[0] &= ~0x00000010u; + _has_bits_[0] &= ~0x00000008u; } inline void KickPetitionUpdateMessage::clear_numvotesneededtokick() { numvotesneededtokick_ = 0u; @@ -17531,37 +17558,15 @@ inline void KickPetitionUpdateMessage::set_numvotesneededtokick(::google::protob // EndKickPetitionMessage -// required uint32 gameId = 1; -inline bool EndKickPetitionMessage::has_gameid() const { +// required uint32 petitionId = 1; +inline bool EndKickPetitionMessage::has_petitionid() const { return (_has_bits_[0] & 0x00000001u) != 0; } -inline void EndKickPetitionMessage::set_has_gameid() { +inline void EndKickPetitionMessage::set_has_petitionid() { _has_bits_[0] |= 0x00000001u; } -inline void EndKickPetitionMessage::clear_has_gameid() { - _has_bits_[0] &= ~0x00000001u; -} -inline void EndKickPetitionMessage::clear_gameid() { - gameid_ = 0u; - clear_has_gameid(); -} -inline ::google::protobuf::uint32 EndKickPetitionMessage::gameid() const { - return gameid_; -} -inline void EndKickPetitionMessage::set_gameid(::google::protobuf::uint32 value) { - set_has_gameid(); - gameid_ = value; -} - -// required uint32 petitionId = 2; -inline bool EndKickPetitionMessage::has_petitionid() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void EndKickPetitionMessage::set_has_petitionid() { - _has_bits_[0] |= 0x00000002u; -} inline void EndKickPetitionMessage::clear_has_petitionid() { - _has_bits_[0] &= ~0x00000002u; + _has_bits_[0] &= ~0x00000001u; } inline void EndKickPetitionMessage::clear_petitionid() { petitionid_ = 0u; @@ -17575,15 +17580,15 @@ inline void EndKickPetitionMessage::set_petitionid(::google::protobuf::uint32 va petitionid_ = value; } -// required uint32 numVotesAgainstKicking = 3; +// required uint32 numVotesAgainstKicking = 2; inline bool EndKickPetitionMessage::has_numvotesagainstkicking() const { - return (_has_bits_[0] & 0x00000004u) != 0; + return (_has_bits_[0] & 0x00000002u) != 0; } inline void EndKickPetitionMessage::set_has_numvotesagainstkicking() { - _has_bits_[0] |= 0x00000004u; + _has_bits_[0] |= 0x00000002u; } inline void EndKickPetitionMessage::clear_has_numvotesagainstkicking() { - _has_bits_[0] &= ~0x00000004u; + _has_bits_[0] &= ~0x00000002u; } inline void EndKickPetitionMessage::clear_numvotesagainstkicking() { numvotesagainstkicking_ = 0u; @@ -17597,15 +17602,15 @@ inline void EndKickPetitionMessage::set_numvotesagainstkicking(::google::protobu numvotesagainstkicking_ = value; } -// required uint32 numVotesInFavourOfKicking = 4; +// required uint32 numVotesInFavourOfKicking = 3; inline bool EndKickPetitionMessage::has_numvotesinfavourofkicking() const { - return (_has_bits_[0] & 0x00000008u) != 0; + return (_has_bits_[0] & 0x00000004u) != 0; } inline void EndKickPetitionMessage::set_has_numvotesinfavourofkicking() { - _has_bits_[0] |= 0x00000008u; + _has_bits_[0] |= 0x00000004u; } inline void EndKickPetitionMessage::clear_has_numvotesinfavourofkicking() { - _has_bits_[0] &= ~0x00000008u; + _has_bits_[0] &= ~0x00000004u; } inline void EndKickPetitionMessage::clear_numvotesinfavourofkicking() { numvotesinfavourofkicking_ = 0u; @@ -17619,15 +17624,15 @@ inline void EndKickPetitionMessage::set_numvotesinfavourofkicking(::google::prot numvotesinfavourofkicking_ = value; } -// required uint32 resultPlayerKicked = 5; +// required uint32 resultPlayerKicked = 4; inline bool EndKickPetitionMessage::has_resultplayerkicked() const { - return (_has_bits_[0] & 0x00000010u) != 0; + return (_has_bits_[0] & 0x00000008u) != 0; } inline void EndKickPetitionMessage::set_has_resultplayerkicked() { - _has_bits_[0] |= 0x00000010u; + _has_bits_[0] |= 0x00000008u; } inline void EndKickPetitionMessage::clear_has_resultplayerkicked() { - _has_bits_[0] &= ~0x00000010u; + _has_bits_[0] &= ~0x00000008u; } inline void EndKickPetitionMessage::clear_resultplayerkicked() { resultplayerkicked_ = 0u; @@ -17641,15 +17646,15 @@ inline void EndKickPetitionMessage::set_resultplayerkicked(::google::protobuf::u resultplayerkicked_ = value; } -// required .EndKickPetitionMessage.PetitionEndReason petitionEndReason = 6; +// required .EndKickPetitionMessage.PetitionEndReason petitionEndReason = 5; inline bool EndKickPetitionMessage::has_petitionendreason() const { - return (_has_bits_[0] & 0x00000020u) != 0; + return (_has_bits_[0] & 0x00000010u) != 0; } inline void EndKickPetitionMessage::set_has_petitionendreason() { - _has_bits_[0] |= 0x00000020u; + _has_bits_[0] |= 0x00000010u; } inline void EndKickPetitionMessage::clear_has_petitionendreason() { - _has_bits_[0] &= ~0x00000020u; + _has_bits_[0] &= ~0x00000010u; } inline void EndKickPetitionMessage::clear_petitionendreason() { petitionendreason_ = 0; @@ -17746,37 +17751,15 @@ StatisticsMessage::mutable_statisticsdata() { // ChatRequestMessage -// optional uint32 targetGameId = 1; -inline bool ChatRequestMessage::has_targetgameid() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void ChatRequestMessage::set_has_targetgameid() { - _has_bits_[0] |= 0x00000001u; -} -inline void ChatRequestMessage::clear_has_targetgameid() { - _has_bits_[0] &= ~0x00000001u; -} -inline void ChatRequestMessage::clear_targetgameid() { - targetgameid_ = 0u; - clear_has_targetgameid(); -} -inline ::google::protobuf::uint32 ChatRequestMessage::targetgameid() const { - return targetgameid_; -} -inline void ChatRequestMessage::set_targetgameid(::google::protobuf::uint32 value) { - set_has_targetgameid(); - targetgameid_ = value; -} - // optional uint32 targetPlayerId = 2; inline bool ChatRequestMessage::has_targetplayerid() const { - return (_has_bits_[0] & 0x00000002u) != 0; + return (_has_bits_[0] & 0x00000001u) != 0; } inline void ChatRequestMessage::set_has_targetplayerid() { - _has_bits_[0] |= 0x00000002u; + _has_bits_[0] |= 0x00000001u; } inline void ChatRequestMessage::clear_has_targetplayerid() { - _has_bits_[0] &= ~0x00000002u; + _has_bits_[0] &= ~0x00000001u; } inline void ChatRequestMessage::clear_targetplayerid() { targetplayerid_ = 0u; @@ -17792,13 +17775,13 @@ inline void ChatRequestMessage::set_targetplayerid(::google::protobuf::uint32 va // required string chatText = 3; inline bool ChatRequestMessage::has_chattext() const { - return (_has_bits_[0] & 0x00000004u) != 0; + return (_has_bits_[0] & 0x00000002u) != 0; } inline void ChatRequestMessage::set_has_chattext() { - _has_bits_[0] |= 0x00000004u; + _has_bits_[0] |= 0x00000002u; } inline void ChatRequestMessage::clear_has_chattext() { - _has_bits_[0] &= ~0x00000004u; + _has_bits_[0] &= ~0x00000002u; } inline void ChatRequestMessage::clear_chattext() { if (chattext_ != &::google::protobuf::internal::kEmptyString) { @@ -17864,37 +17847,15 @@ inline void ChatRequestMessage::set_allocated_chattext(::std::string* chattext) // ChatMessage -// optional uint32 gameId = 1; -inline bool ChatMessage::has_gameid() const { +// optional uint32 playerId = 1; +inline bool ChatMessage::has_playerid() const { return (_has_bits_[0] & 0x00000001u) != 0; } -inline void ChatMessage::set_has_gameid() { +inline void ChatMessage::set_has_playerid() { _has_bits_[0] |= 0x00000001u; } -inline void ChatMessage::clear_has_gameid() { - _has_bits_[0] &= ~0x00000001u; -} -inline void ChatMessage::clear_gameid() { - gameid_ = 0u; - clear_has_gameid(); -} -inline ::google::protobuf::uint32 ChatMessage::gameid() const { - return gameid_; -} -inline void ChatMessage::set_gameid(::google::protobuf::uint32 value) { - set_has_gameid(); - gameid_ = value; -} - -// optional uint32 playerId = 2; -inline bool ChatMessage::has_playerid() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void ChatMessage::set_has_playerid() { - _has_bits_[0] |= 0x00000002u; -} inline void ChatMessage::clear_has_playerid() { - _has_bits_[0] &= ~0x00000002u; + _has_bits_[0] &= ~0x00000001u; } inline void ChatMessage::clear_playerid() { playerid_ = 0u; @@ -17908,15 +17869,15 @@ inline void ChatMessage::set_playerid(::google::protobuf::uint32 value) { playerid_ = value; } -// required .ChatMessage.ChatType chatType = 3; +// required .ChatMessage.ChatType chatType = 2; inline bool ChatMessage::has_chattype() const { - return (_has_bits_[0] & 0x00000004u) != 0; + return (_has_bits_[0] & 0x00000002u) != 0; } inline void ChatMessage::set_has_chattype() { - _has_bits_[0] |= 0x00000004u; + _has_bits_[0] |= 0x00000002u; } inline void ChatMessage::clear_has_chattype() { - _has_bits_[0] &= ~0x00000004u; + _has_bits_[0] &= ~0x00000002u; } inline void ChatMessage::clear_chattype() { chattype_ = 0; @@ -17931,15 +17892,15 @@ inline void ChatMessage::set_chattype(::ChatMessage_ChatType value) { chattype_ = value; } -// required string chatText = 4; +// required string chatText = 3; inline bool ChatMessage::has_chattext() const { - return (_has_bits_[0] & 0x00000008u) != 0; + return (_has_bits_[0] & 0x00000004u) != 0; } inline void ChatMessage::set_has_chattext() { - _has_bits_[0] |= 0x00000008u; + _has_bits_[0] |= 0x00000004u; } inline void ChatMessage::clear_has_chattext() { - _has_bits_[0] &= ~0x00000008u; + _has_bits_[0] &= ~0x00000004u; } inline void ChatMessage::clear_chattext() { if (chattext_ != &::google::protobuf::internal::kEmptyString) { @@ -18601,6 +18562,3943 @@ inline void AdminBanPlayerAckMessage::set_banplayerresult(::AdminBanPlayerAckMes // ------------------------------------------------------------------- +// AuthMessage + +// required .AuthMessage.AuthMessageType messageType = 1; +inline bool AuthMessage::has_messagetype() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void AuthMessage::set_has_messagetype() { + _has_bits_[0] |= 0x00000001u; +} +inline void AuthMessage::clear_has_messagetype() { + _has_bits_[0] &= ~0x00000001u; +} +inline void AuthMessage::clear_messagetype() { + messagetype_ = 1; + clear_has_messagetype(); +} +inline ::AuthMessage_AuthMessageType AuthMessage::messagetype() const { + return static_cast< ::AuthMessage_AuthMessageType >(messagetype_); +} +inline void AuthMessage::set_messagetype(::AuthMessage_AuthMessageType value) { + assert(::AuthMessage_AuthMessageType_IsValid(value)); + set_has_messagetype(); + messagetype_ = value; +} + +// optional .AuthClientRequestMessage authClientRequestMessage = 2; +inline bool AuthMessage::has_authclientrequestmessage() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void AuthMessage::set_has_authclientrequestmessage() { + _has_bits_[0] |= 0x00000002u; +} +inline void AuthMessage::clear_has_authclientrequestmessage() { + _has_bits_[0] &= ~0x00000002u; +} +inline void AuthMessage::clear_authclientrequestmessage() { + if (authclientrequestmessage_ != NULL) authclientrequestmessage_->::AuthClientRequestMessage::Clear(); + clear_has_authclientrequestmessage(); +} +inline const ::AuthClientRequestMessage& AuthMessage::authclientrequestmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return authclientrequestmessage_ != NULL ? *authclientrequestmessage_ : *default_instance().authclientrequestmessage_; +#else + return authclientrequestmessage_ != NULL ? *authclientrequestmessage_ : *default_instance_->authclientrequestmessage_; +#endif +} +inline ::AuthClientRequestMessage* AuthMessage::mutable_authclientrequestmessage() { + set_has_authclientrequestmessage(); + if (authclientrequestmessage_ == NULL) authclientrequestmessage_ = new ::AuthClientRequestMessage; + return authclientrequestmessage_; +} +inline ::AuthClientRequestMessage* AuthMessage::release_authclientrequestmessage() { + clear_has_authclientrequestmessage(); + ::AuthClientRequestMessage* temp = authclientrequestmessage_; + authclientrequestmessage_ = NULL; + return temp; +} +inline void AuthMessage::set_allocated_authclientrequestmessage(::AuthClientRequestMessage* authclientrequestmessage) { + delete authclientrequestmessage_; + authclientrequestmessage_ = authclientrequestmessage; + if (authclientrequestmessage) { + set_has_authclientrequestmessage(); + } else { + clear_has_authclientrequestmessage(); + } +} + +// optional .AuthServerChallengeMessage authServerChallengeMessage = 3; +inline bool AuthMessage::has_authserverchallengemessage() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void AuthMessage::set_has_authserverchallengemessage() { + _has_bits_[0] |= 0x00000004u; +} +inline void AuthMessage::clear_has_authserverchallengemessage() { + _has_bits_[0] &= ~0x00000004u; +} +inline void AuthMessage::clear_authserverchallengemessage() { + if (authserverchallengemessage_ != NULL) authserverchallengemessage_->::AuthServerChallengeMessage::Clear(); + clear_has_authserverchallengemessage(); +} +inline const ::AuthServerChallengeMessage& AuthMessage::authserverchallengemessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return authserverchallengemessage_ != NULL ? *authserverchallengemessage_ : *default_instance().authserverchallengemessage_; +#else + return authserverchallengemessage_ != NULL ? *authserverchallengemessage_ : *default_instance_->authserverchallengemessage_; +#endif +} +inline ::AuthServerChallengeMessage* AuthMessage::mutable_authserverchallengemessage() { + set_has_authserverchallengemessage(); + if (authserverchallengemessage_ == NULL) authserverchallengemessage_ = new ::AuthServerChallengeMessage; + return authserverchallengemessage_; +} +inline ::AuthServerChallengeMessage* AuthMessage::release_authserverchallengemessage() { + clear_has_authserverchallengemessage(); + ::AuthServerChallengeMessage* temp = authserverchallengemessage_; + authserverchallengemessage_ = NULL; + return temp; +} +inline void AuthMessage::set_allocated_authserverchallengemessage(::AuthServerChallengeMessage* authserverchallengemessage) { + delete authserverchallengemessage_; + authserverchallengemessage_ = authserverchallengemessage; + if (authserverchallengemessage) { + set_has_authserverchallengemessage(); + } else { + clear_has_authserverchallengemessage(); + } +} + +// optional .AuthClientResponseMessage authClientResponseMessage = 4; +inline bool AuthMessage::has_authclientresponsemessage() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void AuthMessage::set_has_authclientresponsemessage() { + _has_bits_[0] |= 0x00000008u; +} +inline void AuthMessage::clear_has_authclientresponsemessage() { + _has_bits_[0] &= ~0x00000008u; +} +inline void AuthMessage::clear_authclientresponsemessage() { + if (authclientresponsemessage_ != NULL) authclientresponsemessage_->::AuthClientResponseMessage::Clear(); + clear_has_authclientresponsemessage(); +} +inline const ::AuthClientResponseMessage& AuthMessage::authclientresponsemessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return authclientresponsemessage_ != NULL ? *authclientresponsemessage_ : *default_instance().authclientresponsemessage_; +#else + return authclientresponsemessage_ != NULL ? *authclientresponsemessage_ : *default_instance_->authclientresponsemessage_; +#endif +} +inline ::AuthClientResponseMessage* AuthMessage::mutable_authclientresponsemessage() { + set_has_authclientresponsemessage(); + if (authclientresponsemessage_ == NULL) authclientresponsemessage_ = new ::AuthClientResponseMessage; + return authclientresponsemessage_; +} +inline ::AuthClientResponseMessage* AuthMessage::release_authclientresponsemessage() { + clear_has_authclientresponsemessage(); + ::AuthClientResponseMessage* temp = authclientresponsemessage_; + authclientresponsemessage_ = NULL; + return temp; +} +inline void AuthMessage::set_allocated_authclientresponsemessage(::AuthClientResponseMessage* authclientresponsemessage) { + delete authclientresponsemessage_; + authclientresponsemessage_ = authclientresponsemessage; + if (authclientresponsemessage) { + set_has_authclientresponsemessage(); + } else { + clear_has_authclientresponsemessage(); + } +} + +// optional .AuthServerVerificationMessage authServerVerificationMessage = 5; +inline bool AuthMessage::has_authserververificationmessage() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void AuthMessage::set_has_authserververificationmessage() { + _has_bits_[0] |= 0x00000010u; +} +inline void AuthMessage::clear_has_authserververificationmessage() { + _has_bits_[0] &= ~0x00000010u; +} +inline void AuthMessage::clear_authserververificationmessage() { + if (authserververificationmessage_ != NULL) authserververificationmessage_->::AuthServerVerificationMessage::Clear(); + clear_has_authserververificationmessage(); +} +inline const ::AuthServerVerificationMessage& AuthMessage::authserververificationmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return authserververificationmessage_ != NULL ? *authserververificationmessage_ : *default_instance().authserververificationmessage_; +#else + return authserververificationmessage_ != NULL ? *authserververificationmessage_ : *default_instance_->authserververificationmessage_; +#endif +} +inline ::AuthServerVerificationMessage* AuthMessage::mutable_authserververificationmessage() { + set_has_authserververificationmessage(); + if (authserververificationmessage_ == NULL) authserververificationmessage_ = new ::AuthServerVerificationMessage; + return authserververificationmessage_; +} +inline ::AuthServerVerificationMessage* AuthMessage::release_authserververificationmessage() { + clear_has_authserververificationmessage(); + ::AuthServerVerificationMessage* temp = authserververificationmessage_; + authserververificationmessage_ = NULL; + return temp; +} +inline void AuthMessage::set_allocated_authserververificationmessage(::AuthServerVerificationMessage* authserververificationmessage) { + delete authserververificationmessage_; + authserververificationmessage_ = authserververificationmessage; + if (authserververificationmessage) { + set_has_authserververificationmessage(); + } else { + clear_has_authserververificationmessage(); + } +} + +// optional .ErrorMessage errorMessage = 1025; +inline bool AuthMessage::has_errormessage() const { + return (_has_bits_[0] & 0x00000020u) != 0; +} +inline void AuthMessage::set_has_errormessage() { + _has_bits_[0] |= 0x00000020u; +} +inline void AuthMessage::clear_has_errormessage() { + _has_bits_[0] &= ~0x00000020u; +} +inline void AuthMessage::clear_errormessage() { + if (errormessage_ != NULL) errormessage_->::ErrorMessage::Clear(); + clear_has_errormessage(); +} +inline const ::ErrorMessage& AuthMessage::errormessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return errormessage_ != NULL ? *errormessage_ : *default_instance().errormessage_; +#else + return errormessage_ != NULL ? *errormessage_ : *default_instance_->errormessage_; +#endif +} +inline ::ErrorMessage* AuthMessage::mutable_errormessage() { + set_has_errormessage(); + if (errormessage_ == NULL) errormessage_ = new ::ErrorMessage; + return errormessage_; +} +inline ::ErrorMessage* AuthMessage::release_errormessage() { + clear_has_errormessage(); + ::ErrorMessage* temp = errormessage_; + errormessage_ = NULL; + return temp; +} +inline void AuthMessage::set_allocated_errormessage(::ErrorMessage* errormessage) { + delete errormessage_; + errormessage_ = errormessage; + if (errormessage) { + set_has_errormessage(); + } else { + clear_has_errormessage(); + } +} + +// ------------------------------------------------------------------- + +// LobbyMessage + +// required .LobbyMessage.LobbyMessageType messageType = 1; +inline bool LobbyMessage::has_messagetype() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void LobbyMessage::set_has_messagetype() { + _has_bits_[0] |= 0x00000001u; +} +inline void LobbyMessage::clear_has_messagetype() { + _has_bits_[0] &= ~0x00000001u; +} +inline void LobbyMessage::clear_messagetype() { + messagetype_ = 1; + clear_has_messagetype(); +} +inline ::LobbyMessage_LobbyMessageType LobbyMessage::messagetype() const { + return static_cast< ::LobbyMessage_LobbyMessageType >(messagetype_); +} +inline void LobbyMessage::set_messagetype(::LobbyMessage_LobbyMessageType value) { + assert(::LobbyMessage_LobbyMessageType_IsValid(value)); + set_has_messagetype(); + messagetype_ = value; +} + +// optional .InitMessage initMessage = 2; +inline bool LobbyMessage::has_initmessage() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void LobbyMessage::set_has_initmessage() { + _has_bits_[0] |= 0x00000002u; +} +inline void LobbyMessage::clear_has_initmessage() { + _has_bits_[0] &= ~0x00000002u; +} +inline void LobbyMessage::clear_initmessage() { + if (initmessage_ != NULL) initmessage_->::InitMessage::Clear(); + clear_has_initmessage(); +} +inline const ::InitMessage& LobbyMessage::initmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return initmessage_ != NULL ? *initmessage_ : *default_instance().initmessage_; +#else + return initmessage_ != NULL ? *initmessage_ : *default_instance_->initmessage_; +#endif +} +inline ::InitMessage* LobbyMessage::mutable_initmessage() { + set_has_initmessage(); + if (initmessage_ == NULL) initmessage_ = new ::InitMessage; + return initmessage_; +} +inline ::InitMessage* LobbyMessage::release_initmessage() { + clear_has_initmessage(); + ::InitMessage* temp = initmessage_; + initmessage_ = NULL; + return temp; +} +inline void LobbyMessage::set_allocated_initmessage(::InitMessage* initmessage) { + delete initmessage_; + initmessage_ = initmessage; + if (initmessage) { + set_has_initmessage(); + } else { + clear_has_initmessage(); + } +} + +// optional .InitAckMessage initAckMessage = 3; +inline bool LobbyMessage::has_initackmessage() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void LobbyMessage::set_has_initackmessage() { + _has_bits_[0] |= 0x00000004u; +} +inline void LobbyMessage::clear_has_initackmessage() { + _has_bits_[0] &= ~0x00000004u; +} +inline void LobbyMessage::clear_initackmessage() { + if (initackmessage_ != NULL) initackmessage_->::InitAckMessage::Clear(); + clear_has_initackmessage(); +} +inline const ::InitAckMessage& LobbyMessage::initackmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return initackmessage_ != NULL ? *initackmessage_ : *default_instance().initackmessage_; +#else + return initackmessage_ != NULL ? *initackmessage_ : *default_instance_->initackmessage_; +#endif +} +inline ::InitAckMessage* LobbyMessage::mutable_initackmessage() { + set_has_initackmessage(); + if (initackmessage_ == NULL) initackmessage_ = new ::InitAckMessage; + return initackmessage_; +} +inline ::InitAckMessage* LobbyMessage::release_initackmessage() { + clear_has_initackmessage(); + ::InitAckMessage* temp = initackmessage_; + initackmessage_ = NULL; + return temp; +} +inline void LobbyMessage::set_allocated_initackmessage(::InitAckMessage* initackmessage) { + delete initackmessage_; + initackmessage_ = initackmessage; + if (initackmessage) { + set_has_initackmessage(); + } else { + clear_has_initackmessage(); + } +} + +// optional .AvatarRequestMessage avatarRequestMessage = 4; +inline bool LobbyMessage::has_avatarrequestmessage() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void LobbyMessage::set_has_avatarrequestmessage() { + _has_bits_[0] |= 0x00000008u; +} +inline void LobbyMessage::clear_has_avatarrequestmessage() { + _has_bits_[0] &= ~0x00000008u; +} +inline void LobbyMessage::clear_avatarrequestmessage() { + if (avatarrequestmessage_ != NULL) avatarrequestmessage_->::AvatarRequestMessage::Clear(); + clear_has_avatarrequestmessage(); +} +inline const ::AvatarRequestMessage& LobbyMessage::avatarrequestmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return avatarrequestmessage_ != NULL ? *avatarrequestmessage_ : *default_instance().avatarrequestmessage_; +#else + return avatarrequestmessage_ != NULL ? *avatarrequestmessage_ : *default_instance_->avatarrequestmessage_; +#endif +} +inline ::AvatarRequestMessage* LobbyMessage::mutable_avatarrequestmessage() { + set_has_avatarrequestmessage(); + if (avatarrequestmessage_ == NULL) avatarrequestmessage_ = new ::AvatarRequestMessage; + return avatarrequestmessage_; +} +inline ::AvatarRequestMessage* LobbyMessage::release_avatarrequestmessage() { + clear_has_avatarrequestmessage(); + ::AvatarRequestMessage* temp = avatarrequestmessage_; + avatarrequestmessage_ = NULL; + return temp; +} +inline void LobbyMessage::set_allocated_avatarrequestmessage(::AvatarRequestMessage* avatarrequestmessage) { + delete avatarrequestmessage_; + avatarrequestmessage_ = avatarrequestmessage; + if (avatarrequestmessage) { + set_has_avatarrequestmessage(); + } else { + clear_has_avatarrequestmessage(); + } +} + +// optional .AvatarHeaderMessage avatarHeaderMessage = 5; +inline bool LobbyMessage::has_avatarheadermessage() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void LobbyMessage::set_has_avatarheadermessage() { + _has_bits_[0] |= 0x00000010u; +} +inline void LobbyMessage::clear_has_avatarheadermessage() { + _has_bits_[0] &= ~0x00000010u; +} +inline void LobbyMessage::clear_avatarheadermessage() { + if (avatarheadermessage_ != NULL) avatarheadermessage_->::AvatarHeaderMessage::Clear(); + clear_has_avatarheadermessage(); +} +inline const ::AvatarHeaderMessage& LobbyMessage::avatarheadermessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return avatarheadermessage_ != NULL ? *avatarheadermessage_ : *default_instance().avatarheadermessage_; +#else + return avatarheadermessage_ != NULL ? *avatarheadermessage_ : *default_instance_->avatarheadermessage_; +#endif +} +inline ::AvatarHeaderMessage* LobbyMessage::mutable_avatarheadermessage() { + set_has_avatarheadermessage(); + if (avatarheadermessage_ == NULL) avatarheadermessage_ = new ::AvatarHeaderMessage; + return avatarheadermessage_; +} +inline ::AvatarHeaderMessage* LobbyMessage::release_avatarheadermessage() { + clear_has_avatarheadermessage(); + ::AvatarHeaderMessage* temp = avatarheadermessage_; + avatarheadermessage_ = NULL; + return temp; +} +inline void LobbyMessage::set_allocated_avatarheadermessage(::AvatarHeaderMessage* avatarheadermessage) { + delete avatarheadermessage_; + avatarheadermessage_ = avatarheadermessage; + if (avatarheadermessage) { + set_has_avatarheadermessage(); + } else { + clear_has_avatarheadermessage(); + } +} + +// optional .AvatarDataMessage avatarDataMessage = 6; +inline bool LobbyMessage::has_avatardatamessage() const { + return (_has_bits_[0] & 0x00000020u) != 0; +} +inline void LobbyMessage::set_has_avatardatamessage() { + _has_bits_[0] |= 0x00000020u; +} +inline void LobbyMessage::clear_has_avatardatamessage() { + _has_bits_[0] &= ~0x00000020u; +} +inline void LobbyMessage::clear_avatardatamessage() { + if (avatardatamessage_ != NULL) avatardatamessage_->::AvatarDataMessage::Clear(); + clear_has_avatardatamessage(); +} +inline const ::AvatarDataMessage& LobbyMessage::avatardatamessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return avatardatamessage_ != NULL ? *avatardatamessage_ : *default_instance().avatardatamessage_; +#else + return avatardatamessage_ != NULL ? *avatardatamessage_ : *default_instance_->avatardatamessage_; +#endif +} +inline ::AvatarDataMessage* LobbyMessage::mutable_avatardatamessage() { + set_has_avatardatamessage(); + if (avatardatamessage_ == NULL) avatardatamessage_ = new ::AvatarDataMessage; + return avatardatamessage_; +} +inline ::AvatarDataMessage* LobbyMessage::release_avatardatamessage() { + clear_has_avatardatamessage(); + ::AvatarDataMessage* temp = avatardatamessage_; + avatardatamessage_ = NULL; + return temp; +} +inline void LobbyMessage::set_allocated_avatardatamessage(::AvatarDataMessage* avatardatamessage) { + delete avatardatamessage_; + avatardatamessage_ = avatardatamessage; + if (avatardatamessage) { + set_has_avatardatamessage(); + } else { + clear_has_avatardatamessage(); + } +} + +// optional .AvatarEndMessage avatarEndMessage = 7; +inline bool LobbyMessage::has_avatarendmessage() const { + return (_has_bits_[0] & 0x00000040u) != 0; +} +inline void LobbyMessage::set_has_avatarendmessage() { + _has_bits_[0] |= 0x00000040u; +} +inline void LobbyMessage::clear_has_avatarendmessage() { + _has_bits_[0] &= ~0x00000040u; +} +inline void LobbyMessage::clear_avatarendmessage() { + if (avatarendmessage_ != NULL) avatarendmessage_->::AvatarEndMessage::Clear(); + clear_has_avatarendmessage(); +} +inline const ::AvatarEndMessage& LobbyMessage::avatarendmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return avatarendmessage_ != NULL ? *avatarendmessage_ : *default_instance().avatarendmessage_; +#else + return avatarendmessage_ != NULL ? *avatarendmessage_ : *default_instance_->avatarendmessage_; +#endif +} +inline ::AvatarEndMessage* LobbyMessage::mutable_avatarendmessage() { + set_has_avatarendmessage(); + if (avatarendmessage_ == NULL) avatarendmessage_ = new ::AvatarEndMessage; + return avatarendmessage_; +} +inline ::AvatarEndMessage* LobbyMessage::release_avatarendmessage() { + clear_has_avatarendmessage(); + ::AvatarEndMessage* temp = avatarendmessage_; + avatarendmessage_ = NULL; + return temp; +} +inline void LobbyMessage::set_allocated_avatarendmessage(::AvatarEndMessage* avatarendmessage) { + delete avatarendmessage_; + avatarendmessage_ = avatarendmessage; + if (avatarendmessage) { + set_has_avatarendmessage(); + } else { + clear_has_avatarendmessage(); + } +} + +// optional .UnknownAvatarMessage unknownAvatarMessage = 8; +inline bool LobbyMessage::has_unknownavatarmessage() const { + return (_has_bits_[0] & 0x00000080u) != 0; +} +inline void LobbyMessage::set_has_unknownavatarmessage() { + _has_bits_[0] |= 0x00000080u; +} +inline void LobbyMessage::clear_has_unknownavatarmessage() { + _has_bits_[0] &= ~0x00000080u; +} +inline void LobbyMessage::clear_unknownavatarmessage() { + if (unknownavatarmessage_ != NULL) unknownavatarmessage_->::UnknownAvatarMessage::Clear(); + clear_has_unknownavatarmessage(); +} +inline const ::UnknownAvatarMessage& LobbyMessage::unknownavatarmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return unknownavatarmessage_ != NULL ? *unknownavatarmessage_ : *default_instance().unknownavatarmessage_; +#else + return unknownavatarmessage_ != NULL ? *unknownavatarmessage_ : *default_instance_->unknownavatarmessage_; +#endif +} +inline ::UnknownAvatarMessage* LobbyMessage::mutable_unknownavatarmessage() { + set_has_unknownavatarmessage(); + if (unknownavatarmessage_ == NULL) unknownavatarmessage_ = new ::UnknownAvatarMessage; + return unknownavatarmessage_; +} +inline ::UnknownAvatarMessage* LobbyMessage::release_unknownavatarmessage() { + clear_has_unknownavatarmessage(); + ::UnknownAvatarMessage* temp = unknownavatarmessage_; + unknownavatarmessage_ = NULL; + return temp; +} +inline void LobbyMessage::set_allocated_unknownavatarmessage(::UnknownAvatarMessage* unknownavatarmessage) { + delete unknownavatarmessage_; + unknownavatarmessage_ = unknownavatarmessage; + if (unknownavatarmessage) { + set_has_unknownavatarmessage(); + } else { + clear_has_unknownavatarmessage(); + } +} + +// optional .PlayerListMessage playerListMessage = 9; +inline bool LobbyMessage::has_playerlistmessage() const { + return (_has_bits_[0] & 0x00000100u) != 0; +} +inline void LobbyMessage::set_has_playerlistmessage() { + _has_bits_[0] |= 0x00000100u; +} +inline void LobbyMessage::clear_has_playerlistmessage() { + _has_bits_[0] &= ~0x00000100u; +} +inline void LobbyMessage::clear_playerlistmessage() { + if (playerlistmessage_ != NULL) playerlistmessage_->::PlayerListMessage::Clear(); + clear_has_playerlistmessage(); +} +inline const ::PlayerListMessage& LobbyMessage::playerlistmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return playerlistmessage_ != NULL ? *playerlistmessage_ : *default_instance().playerlistmessage_; +#else + return playerlistmessage_ != NULL ? *playerlistmessage_ : *default_instance_->playerlistmessage_; +#endif +} +inline ::PlayerListMessage* LobbyMessage::mutable_playerlistmessage() { + set_has_playerlistmessage(); + if (playerlistmessage_ == NULL) playerlistmessage_ = new ::PlayerListMessage; + return playerlistmessage_; +} +inline ::PlayerListMessage* LobbyMessage::release_playerlistmessage() { + clear_has_playerlistmessage(); + ::PlayerListMessage* temp = playerlistmessage_; + playerlistmessage_ = NULL; + return temp; +} +inline void LobbyMessage::set_allocated_playerlistmessage(::PlayerListMessage* playerlistmessage) { + delete playerlistmessage_; + playerlistmessage_ = playerlistmessage; + if (playerlistmessage) { + set_has_playerlistmessage(); + } else { + clear_has_playerlistmessage(); + } +} + +// optional .GameListNewMessage gameListNewMessage = 10; +inline bool LobbyMessage::has_gamelistnewmessage() const { + return (_has_bits_[0] & 0x00000200u) != 0; +} +inline void LobbyMessage::set_has_gamelistnewmessage() { + _has_bits_[0] |= 0x00000200u; +} +inline void LobbyMessage::clear_has_gamelistnewmessage() { + _has_bits_[0] &= ~0x00000200u; +} +inline void LobbyMessage::clear_gamelistnewmessage() { + if (gamelistnewmessage_ != NULL) gamelistnewmessage_->::GameListNewMessage::Clear(); + clear_has_gamelistnewmessage(); +} +inline const ::GameListNewMessage& LobbyMessage::gamelistnewmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return gamelistnewmessage_ != NULL ? *gamelistnewmessage_ : *default_instance().gamelistnewmessage_; +#else + return gamelistnewmessage_ != NULL ? *gamelistnewmessage_ : *default_instance_->gamelistnewmessage_; +#endif +} +inline ::GameListNewMessage* LobbyMessage::mutable_gamelistnewmessage() { + set_has_gamelistnewmessage(); + if (gamelistnewmessage_ == NULL) gamelistnewmessage_ = new ::GameListNewMessage; + return gamelistnewmessage_; +} +inline ::GameListNewMessage* LobbyMessage::release_gamelistnewmessage() { + clear_has_gamelistnewmessage(); + ::GameListNewMessage* temp = gamelistnewmessage_; + gamelistnewmessage_ = NULL; + return temp; +} +inline void LobbyMessage::set_allocated_gamelistnewmessage(::GameListNewMessage* gamelistnewmessage) { + delete gamelistnewmessage_; + gamelistnewmessage_ = gamelistnewmessage; + if (gamelistnewmessage) { + set_has_gamelistnewmessage(); + } else { + clear_has_gamelistnewmessage(); + } +} + +// optional .GameListUpdateMessage gameListUpdateMessage = 11; +inline bool LobbyMessage::has_gamelistupdatemessage() const { + return (_has_bits_[0] & 0x00000400u) != 0; +} +inline void LobbyMessage::set_has_gamelistupdatemessage() { + _has_bits_[0] |= 0x00000400u; +} +inline void LobbyMessage::clear_has_gamelistupdatemessage() { + _has_bits_[0] &= ~0x00000400u; +} +inline void LobbyMessage::clear_gamelistupdatemessage() { + if (gamelistupdatemessage_ != NULL) gamelistupdatemessage_->::GameListUpdateMessage::Clear(); + clear_has_gamelistupdatemessage(); +} +inline const ::GameListUpdateMessage& LobbyMessage::gamelistupdatemessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return gamelistupdatemessage_ != NULL ? *gamelistupdatemessage_ : *default_instance().gamelistupdatemessage_; +#else + return gamelistupdatemessage_ != NULL ? *gamelistupdatemessage_ : *default_instance_->gamelistupdatemessage_; +#endif +} +inline ::GameListUpdateMessage* LobbyMessage::mutable_gamelistupdatemessage() { + set_has_gamelistupdatemessage(); + if (gamelistupdatemessage_ == NULL) gamelistupdatemessage_ = new ::GameListUpdateMessage; + return gamelistupdatemessage_; +} +inline ::GameListUpdateMessage* LobbyMessage::release_gamelistupdatemessage() { + clear_has_gamelistupdatemessage(); + ::GameListUpdateMessage* temp = gamelistupdatemessage_; + gamelistupdatemessage_ = NULL; + return temp; +} +inline void LobbyMessage::set_allocated_gamelistupdatemessage(::GameListUpdateMessage* gamelistupdatemessage) { + delete gamelistupdatemessage_; + gamelistupdatemessage_ = gamelistupdatemessage; + if (gamelistupdatemessage) { + set_has_gamelistupdatemessage(); + } else { + clear_has_gamelistupdatemessage(); + } +} + +// optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 12; +inline bool LobbyMessage::has_gamelistplayerjoinedmessage() const { + return (_has_bits_[0] & 0x00000800u) != 0; +} +inline void LobbyMessage::set_has_gamelistplayerjoinedmessage() { + _has_bits_[0] |= 0x00000800u; +} +inline void LobbyMessage::clear_has_gamelistplayerjoinedmessage() { + _has_bits_[0] &= ~0x00000800u; +} +inline void LobbyMessage::clear_gamelistplayerjoinedmessage() { + if (gamelistplayerjoinedmessage_ != NULL) gamelistplayerjoinedmessage_->::GameListPlayerJoinedMessage::Clear(); + clear_has_gamelistplayerjoinedmessage(); +} +inline const ::GameListPlayerJoinedMessage& LobbyMessage::gamelistplayerjoinedmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return gamelistplayerjoinedmessage_ != NULL ? *gamelistplayerjoinedmessage_ : *default_instance().gamelistplayerjoinedmessage_; +#else + return gamelistplayerjoinedmessage_ != NULL ? *gamelistplayerjoinedmessage_ : *default_instance_->gamelistplayerjoinedmessage_; +#endif +} +inline ::GameListPlayerJoinedMessage* LobbyMessage::mutable_gamelistplayerjoinedmessage() { + set_has_gamelistplayerjoinedmessage(); + if (gamelistplayerjoinedmessage_ == NULL) gamelistplayerjoinedmessage_ = new ::GameListPlayerJoinedMessage; + return gamelistplayerjoinedmessage_; +} +inline ::GameListPlayerJoinedMessage* LobbyMessage::release_gamelistplayerjoinedmessage() { + clear_has_gamelistplayerjoinedmessage(); + ::GameListPlayerJoinedMessage* temp = gamelistplayerjoinedmessage_; + gamelistplayerjoinedmessage_ = NULL; + return temp; +} +inline void LobbyMessage::set_allocated_gamelistplayerjoinedmessage(::GameListPlayerJoinedMessage* gamelistplayerjoinedmessage) { + delete gamelistplayerjoinedmessage_; + gamelistplayerjoinedmessage_ = gamelistplayerjoinedmessage; + if (gamelistplayerjoinedmessage) { + set_has_gamelistplayerjoinedmessage(); + } else { + clear_has_gamelistplayerjoinedmessage(); + } +} + +// optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 13; +inline bool LobbyMessage::has_gamelistplayerleftmessage() const { + return (_has_bits_[0] & 0x00001000u) != 0; +} +inline void LobbyMessage::set_has_gamelistplayerleftmessage() { + _has_bits_[0] |= 0x00001000u; +} +inline void LobbyMessage::clear_has_gamelistplayerleftmessage() { + _has_bits_[0] &= ~0x00001000u; +} +inline void LobbyMessage::clear_gamelistplayerleftmessage() { + if (gamelistplayerleftmessage_ != NULL) gamelistplayerleftmessage_->::GameListPlayerLeftMessage::Clear(); + clear_has_gamelistplayerleftmessage(); +} +inline const ::GameListPlayerLeftMessage& LobbyMessage::gamelistplayerleftmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return gamelistplayerleftmessage_ != NULL ? *gamelistplayerleftmessage_ : *default_instance().gamelistplayerleftmessage_; +#else + return gamelistplayerleftmessage_ != NULL ? *gamelistplayerleftmessage_ : *default_instance_->gamelistplayerleftmessage_; +#endif +} +inline ::GameListPlayerLeftMessage* LobbyMessage::mutable_gamelistplayerleftmessage() { + set_has_gamelistplayerleftmessage(); + if (gamelistplayerleftmessage_ == NULL) gamelistplayerleftmessage_ = new ::GameListPlayerLeftMessage; + return gamelistplayerleftmessage_; +} +inline ::GameListPlayerLeftMessage* LobbyMessage::release_gamelistplayerleftmessage() { + clear_has_gamelistplayerleftmessage(); + ::GameListPlayerLeftMessage* temp = gamelistplayerleftmessage_; + gamelistplayerleftmessage_ = NULL; + return temp; +} +inline void LobbyMessage::set_allocated_gamelistplayerleftmessage(::GameListPlayerLeftMessage* gamelistplayerleftmessage) { + delete gamelistplayerleftmessage_; + gamelistplayerleftmessage_ = gamelistplayerleftmessage; + if (gamelistplayerleftmessage) { + set_has_gamelistplayerleftmessage(); + } else { + clear_has_gamelistplayerleftmessage(); + } +} + +// optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 14; +inline bool LobbyMessage::has_gamelistspectatorjoinedmessage() const { + return (_has_bits_[0] & 0x00002000u) != 0; +} +inline void LobbyMessage::set_has_gamelistspectatorjoinedmessage() { + _has_bits_[0] |= 0x00002000u; +} +inline void LobbyMessage::clear_has_gamelistspectatorjoinedmessage() { + _has_bits_[0] &= ~0x00002000u; +} +inline void LobbyMessage::clear_gamelistspectatorjoinedmessage() { + if (gamelistspectatorjoinedmessage_ != NULL) gamelistspectatorjoinedmessage_->::GameListSpectatorJoinedMessage::Clear(); + clear_has_gamelistspectatorjoinedmessage(); +} +inline const ::GameListSpectatorJoinedMessage& LobbyMessage::gamelistspectatorjoinedmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return gamelistspectatorjoinedmessage_ != NULL ? *gamelistspectatorjoinedmessage_ : *default_instance().gamelistspectatorjoinedmessage_; +#else + return gamelistspectatorjoinedmessage_ != NULL ? *gamelistspectatorjoinedmessage_ : *default_instance_->gamelistspectatorjoinedmessage_; +#endif +} +inline ::GameListSpectatorJoinedMessage* LobbyMessage::mutable_gamelistspectatorjoinedmessage() { + set_has_gamelistspectatorjoinedmessage(); + if (gamelistspectatorjoinedmessage_ == NULL) gamelistspectatorjoinedmessage_ = new ::GameListSpectatorJoinedMessage; + return gamelistspectatorjoinedmessage_; +} +inline ::GameListSpectatorJoinedMessage* LobbyMessage::release_gamelistspectatorjoinedmessage() { + clear_has_gamelistspectatorjoinedmessage(); + ::GameListSpectatorJoinedMessage* temp = gamelistspectatorjoinedmessage_; + gamelistspectatorjoinedmessage_ = NULL; + return temp; +} +inline void LobbyMessage::set_allocated_gamelistspectatorjoinedmessage(::GameListSpectatorJoinedMessage* gamelistspectatorjoinedmessage) { + delete gamelistspectatorjoinedmessage_; + gamelistspectatorjoinedmessage_ = gamelistspectatorjoinedmessage; + if (gamelistspectatorjoinedmessage) { + set_has_gamelistspectatorjoinedmessage(); + } else { + clear_has_gamelistspectatorjoinedmessage(); + } +} + +// optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 15; +inline bool LobbyMessage::has_gamelistspectatorleftmessage() const { + return (_has_bits_[0] & 0x00004000u) != 0; +} +inline void LobbyMessage::set_has_gamelistspectatorleftmessage() { + _has_bits_[0] |= 0x00004000u; +} +inline void LobbyMessage::clear_has_gamelistspectatorleftmessage() { + _has_bits_[0] &= ~0x00004000u; +} +inline void LobbyMessage::clear_gamelistspectatorleftmessage() { + if (gamelistspectatorleftmessage_ != NULL) gamelistspectatorleftmessage_->::GameListSpectatorLeftMessage::Clear(); + clear_has_gamelistspectatorleftmessage(); +} +inline const ::GameListSpectatorLeftMessage& LobbyMessage::gamelistspectatorleftmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return gamelistspectatorleftmessage_ != NULL ? *gamelistspectatorleftmessage_ : *default_instance().gamelistspectatorleftmessage_; +#else + return gamelistspectatorleftmessage_ != NULL ? *gamelistspectatorleftmessage_ : *default_instance_->gamelistspectatorleftmessage_; +#endif +} +inline ::GameListSpectatorLeftMessage* LobbyMessage::mutable_gamelistspectatorleftmessage() { + set_has_gamelistspectatorleftmessage(); + if (gamelistspectatorleftmessage_ == NULL) gamelistspectatorleftmessage_ = new ::GameListSpectatorLeftMessage; + return gamelistspectatorleftmessage_; +} +inline ::GameListSpectatorLeftMessage* LobbyMessage::release_gamelistspectatorleftmessage() { + clear_has_gamelistspectatorleftmessage(); + ::GameListSpectatorLeftMessage* temp = gamelistspectatorleftmessage_; + gamelistspectatorleftmessage_ = NULL; + return temp; +} +inline void LobbyMessage::set_allocated_gamelistspectatorleftmessage(::GameListSpectatorLeftMessage* gamelistspectatorleftmessage) { + delete gamelistspectatorleftmessage_; + gamelistspectatorleftmessage_ = gamelistspectatorleftmessage; + if (gamelistspectatorleftmessage) { + set_has_gamelistspectatorleftmessage(); + } else { + clear_has_gamelistspectatorleftmessage(); + } +} + +// optional .GameListAdminChangedMessage gameListAdminChangedMessage = 16; +inline bool LobbyMessage::has_gamelistadminchangedmessage() const { + return (_has_bits_[0] & 0x00008000u) != 0; +} +inline void LobbyMessage::set_has_gamelistadminchangedmessage() { + _has_bits_[0] |= 0x00008000u; +} +inline void LobbyMessage::clear_has_gamelistadminchangedmessage() { + _has_bits_[0] &= ~0x00008000u; +} +inline void LobbyMessage::clear_gamelistadminchangedmessage() { + if (gamelistadminchangedmessage_ != NULL) gamelistadminchangedmessage_->::GameListAdminChangedMessage::Clear(); + clear_has_gamelistadminchangedmessage(); +} +inline const ::GameListAdminChangedMessage& LobbyMessage::gamelistadminchangedmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return gamelistadminchangedmessage_ != NULL ? *gamelistadminchangedmessage_ : *default_instance().gamelistadminchangedmessage_; +#else + return gamelistadminchangedmessage_ != NULL ? *gamelistadminchangedmessage_ : *default_instance_->gamelistadminchangedmessage_; +#endif +} +inline ::GameListAdminChangedMessage* LobbyMessage::mutable_gamelistadminchangedmessage() { + set_has_gamelistadminchangedmessage(); + if (gamelistadminchangedmessage_ == NULL) gamelistadminchangedmessage_ = new ::GameListAdminChangedMessage; + return gamelistadminchangedmessage_; +} +inline ::GameListAdminChangedMessage* LobbyMessage::release_gamelistadminchangedmessage() { + clear_has_gamelistadminchangedmessage(); + ::GameListAdminChangedMessage* temp = gamelistadminchangedmessage_; + gamelistadminchangedmessage_ = NULL; + return temp; +} +inline void LobbyMessage::set_allocated_gamelistadminchangedmessage(::GameListAdminChangedMessage* gamelistadminchangedmessage) { + delete gamelistadminchangedmessage_; + gamelistadminchangedmessage_ = gamelistadminchangedmessage; + if (gamelistadminchangedmessage) { + set_has_gamelistadminchangedmessage(); + } else { + clear_has_gamelistadminchangedmessage(); + } +} + +// optional .PlayerInfoRequestMessage playerInfoRequestMessage = 17; +inline bool LobbyMessage::has_playerinforequestmessage() const { + return (_has_bits_[0] & 0x00010000u) != 0; +} +inline void LobbyMessage::set_has_playerinforequestmessage() { + _has_bits_[0] |= 0x00010000u; +} +inline void LobbyMessage::clear_has_playerinforequestmessage() { + _has_bits_[0] &= ~0x00010000u; +} +inline void LobbyMessage::clear_playerinforequestmessage() { + if (playerinforequestmessage_ != NULL) playerinforequestmessage_->::PlayerInfoRequestMessage::Clear(); + clear_has_playerinforequestmessage(); +} +inline const ::PlayerInfoRequestMessage& LobbyMessage::playerinforequestmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return playerinforequestmessage_ != NULL ? *playerinforequestmessage_ : *default_instance().playerinforequestmessage_; +#else + return playerinforequestmessage_ != NULL ? *playerinforequestmessage_ : *default_instance_->playerinforequestmessage_; +#endif +} +inline ::PlayerInfoRequestMessage* LobbyMessage::mutable_playerinforequestmessage() { + set_has_playerinforequestmessage(); + if (playerinforequestmessage_ == NULL) playerinforequestmessage_ = new ::PlayerInfoRequestMessage; + return playerinforequestmessage_; +} +inline ::PlayerInfoRequestMessage* LobbyMessage::release_playerinforequestmessage() { + clear_has_playerinforequestmessage(); + ::PlayerInfoRequestMessage* temp = playerinforequestmessage_; + playerinforequestmessage_ = NULL; + return temp; +} +inline void LobbyMessage::set_allocated_playerinforequestmessage(::PlayerInfoRequestMessage* playerinforequestmessage) { + delete playerinforequestmessage_; + playerinforequestmessage_ = playerinforequestmessage; + if (playerinforequestmessage) { + set_has_playerinforequestmessage(); + } else { + clear_has_playerinforequestmessage(); + } +} + +// optional .PlayerInfoReplyMessage playerInfoReplyMessage = 18; +inline bool LobbyMessage::has_playerinforeplymessage() const { + return (_has_bits_[0] & 0x00020000u) != 0; +} +inline void LobbyMessage::set_has_playerinforeplymessage() { + _has_bits_[0] |= 0x00020000u; +} +inline void LobbyMessage::clear_has_playerinforeplymessage() { + _has_bits_[0] &= ~0x00020000u; +} +inline void LobbyMessage::clear_playerinforeplymessage() { + if (playerinforeplymessage_ != NULL) playerinforeplymessage_->::PlayerInfoReplyMessage::Clear(); + clear_has_playerinforeplymessage(); +} +inline const ::PlayerInfoReplyMessage& LobbyMessage::playerinforeplymessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return playerinforeplymessage_ != NULL ? *playerinforeplymessage_ : *default_instance().playerinforeplymessage_; +#else + return playerinforeplymessage_ != NULL ? *playerinforeplymessage_ : *default_instance_->playerinforeplymessage_; +#endif +} +inline ::PlayerInfoReplyMessage* LobbyMessage::mutable_playerinforeplymessage() { + set_has_playerinforeplymessage(); + if (playerinforeplymessage_ == NULL) playerinforeplymessage_ = new ::PlayerInfoReplyMessage; + return playerinforeplymessage_; +} +inline ::PlayerInfoReplyMessage* LobbyMessage::release_playerinforeplymessage() { + clear_has_playerinforeplymessage(); + ::PlayerInfoReplyMessage* temp = playerinforeplymessage_; + playerinforeplymessage_ = NULL; + return temp; +} +inline void LobbyMessage::set_allocated_playerinforeplymessage(::PlayerInfoReplyMessage* playerinforeplymessage) { + delete playerinforeplymessage_; + playerinforeplymessage_ = playerinforeplymessage; + if (playerinforeplymessage) { + set_has_playerinforeplymessage(); + } else { + clear_has_playerinforeplymessage(); + } +} + +// optional .SubscriptionRequestMessage subscriptionRequestMessage = 19; +inline bool LobbyMessage::has_subscriptionrequestmessage() const { + return (_has_bits_[0] & 0x00040000u) != 0; +} +inline void LobbyMessage::set_has_subscriptionrequestmessage() { + _has_bits_[0] |= 0x00040000u; +} +inline void LobbyMessage::clear_has_subscriptionrequestmessage() { + _has_bits_[0] &= ~0x00040000u; +} +inline void LobbyMessage::clear_subscriptionrequestmessage() { + if (subscriptionrequestmessage_ != NULL) subscriptionrequestmessage_->::SubscriptionRequestMessage::Clear(); + clear_has_subscriptionrequestmessage(); +} +inline const ::SubscriptionRequestMessage& LobbyMessage::subscriptionrequestmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return subscriptionrequestmessage_ != NULL ? *subscriptionrequestmessage_ : *default_instance().subscriptionrequestmessage_; +#else + return subscriptionrequestmessage_ != NULL ? *subscriptionrequestmessage_ : *default_instance_->subscriptionrequestmessage_; +#endif +} +inline ::SubscriptionRequestMessage* LobbyMessage::mutable_subscriptionrequestmessage() { + set_has_subscriptionrequestmessage(); + if (subscriptionrequestmessage_ == NULL) subscriptionrequestmessage_ = new ::SubscriptionRequestMessage; + return subscriptionrequestmessage_; +} +inline ::SubscriptionRequestMessage* LobbyMessage::release_subscriptionrequestmessage() { + clear_has_subscriptionrequestmessage(); + ::SubscriptionRequestMessage* temp = subscriptionrequestmessage_; + subscriptionrequestmessage_ = NULL; + return temp; +} +inline void LobbyMessage::set_allocated_subscriptionrequestmessage(::SubscriptionRequestMessage* subscriptionrequestmessage) { + delete subscriptionrequestmessage_; + subscriptionrequestmessage_ = subscriptionrequestmessage; + if (subscriptionrequestmessage) { + set_has_subscriptionrequestmessage(); + } else { + clear_has_subscriptionrequestmessage(); + } +} + +// optional .SubscriptionReplyMessage subscriptionReplyMessage = 20; +inline bool LobbyMessage::has_subscriptionreplymessage() const { + return (_has_bits_[0] & 0x00080000u) != 0; +} +inline void LobbyMessage::set_has_subscriptionreplymessage() { + _has_bits_[0] |= 0x00080000u; +} +inline void LobbyMessage::clear_has_subscriptionreplymessage() { + _has_bits_[0] &= ~0x00080000u; +} +inline void LobbyMessage::clear_subscriptionreplymessage() { + if (subscriptionreplymessage_ != NULL) subscriptionreplymessage_->::SubscriptionReplyMessage::Clear(); + clear_has_subscriptionreplymessage(); +} +inline const ::SubscriptionReplyMessage& LobbyMessage::subscriptionreplymessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return subscriptionreplymessage_ != NULL ? *subscriptionreplymessage_ : *default_instance().subscriptionreplymessage_; +#else + return subscriptionreplymessage_ != NULL ? *subscriptionreplymessage_ : *default_instance_->subscriptionreplymessage_; +#endif +} +inline ::SubscriptionReplyMessage* LobbyMessage::mutable_subscriptionreplymessage() { + set_has_subscriptionreplymessage(); + if (subscriptionreplymessage_ == NULL) subscriptionreplymessage_ = new ::SubscriptionReplyMessage; + return subscriptionreplymessage_; +} +inline ::SubscriptionReplyMessage* LobbyMessage::release_subscriptionreplymessage() { + clear_has_subscriptionreplymessage(); + ::SubscriptionReplyMessage* temp = subscriptionreplymessage_; + subscriptionreplymessage_ = NULL; + return temp; +} +inline void LobbyMessage::set_allocated_subscriptionreplymessage(::SubscriptionReplyMessage* subscriptionreplymessage) { + delete subscriptionreplymessage_; + subscriptionreplymessage_ = subscriptionreplymessage; + if (subscriptionreplymessage) { + set_has_subscriptionreplymessage(); + } else { + clear_has_subscriptionreplymessage(); + } +} + +// optional .CreateGameMessage createGameMessage = 21; +inline bool LobbyMessage::has_creategamemessage() const { + return (_has_bits_[0] & 0x00100000u) != 0; +} +inline void LobbyMessage::set_has_creategamemessage() { + _has_bits_[0] |= 0x00100000u; +} +inline void LobbyMessage::clear_has_creategamemessage() { + _has_bits_[0] &= ~0x00100000u; +} +inline void LobbyMessage::clear_creategamemessage() { + if (creategamemessage_ != NULL) creategamemessage_->::CreateGameMessage::Clear(); + clear_has_creategamemessage(); +} +inline const ::CreateGameMessage& LobbyMessage::creategamemessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return creategamemessage_ != NULL ? *creategamemessage_ : *default_instance().creategamemessage_; +#else + return creategamemessage_ != NULL ? *creategamemessage_ : *default_instance_->creategamemessage_; +#endif +} +inline ::CreateGameMessage* LobbyMessage::mutable_creategamemessage() { + set_has_creategamemessage(); + if (creategamemessage_ == NULL) creategamemessage_ = new ::CreateGameMessage; + return creategamemessage_; +} +inline ::CreateGameMessage* LobbyMessage::release_creategamemessage() { + clear_has_creategamemessage(); + ::CreateGameMessage* temp = creategamemessage_; + creategamemessage_ = NULL; + return temp; +} +inline void LobbyMessage::set_allocated_creategamemessage(::CreateGameMessage* creategamemessage) { + delete creategamemessage_; + creategamemessage_ = creategamemessage; + if (creategamemessage) { + set_has_creategamemessage(); + } else { + clear_has_creategamemessage(); + } +} + +// optional .CreateGameFailedMessage createGameFailedMessage = 22; +inline bool LobbyMessage::has_creategamefailedmessage() const { + return (_has_bits_[0] & 0x00200000u) != 0; +} +inline void LobbyMessage::set_has_creategamefailedmessage() { + _has_bits_[0] |= 0x00200000u; +} +inline void LobbyMessage::clear_has_creategamefailedmessage() { + _has_bits_[0] &= ~0x00200000u; +} +inline void LobbyMessage::clear_creategamefailedmessage() { + if (creategamefailedmessage_ != NULL) creategamefailedmessage_->::CreateGameFailedMessage::Clear(); + clear_has_creategamefailedmessage(); +} +inline const ::CreateGameFailedMessage& LobbyMessage::creategamefailedmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return creategamefailedmessage_ != NULL ? *creategamefailedmessage_ : *default_instance().creategamefailedmessage_; +#else + return creategamefailedmessage_ != NULL ? *creategamefailedmessage_ : *default_instance_->creategamefailedmessage_; +#endif +} +inline ::CreateGameFailedMessage* LobbyMessage::mutable_creategamefailedmessage() { + set_has_creategamefailedmessage(); + if (creategamefailedmessage_ == NULL) creategamefailedmessage_ = new ::CreateGameFailedMessage; + return creategamefailedmessage_; +} +inline ::CreateGameFailedMessage* LobbyMessage::release_creategamefailedmessage() { + clear_has_creategamefailedmessage(); + ::CreateGameFailedMessage* temp = creategamefailedmessage_; + creategamefailedmessage_ = NULL; + return temp; +} +inline void LobbyMessage::set_allocated_creategamefailedmessage(::CreateGameFailedMessage* creategamefailedmessage) { + delete creategamefailedmessage_; + creategamefailedmessage_ = creategamefailedmessage; + if (creategamefailedmessage) { + set_has_creategamefailedmessage(); + } else { + clear_has_creategamefailedmessage(); + } +} + +// optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 23; +inline bool LobbyMessage::has_inviteplayertogamemessage() const { + return (_has_bits_[0] & 0x00400000u) != 0; +} +inline void LobbyMessage::set_has_inviteplayertogamemessage() { + _has_bits_[0] |= 0x00400000u; +} +inline void LobbyMessage::clear_has_inviteplayertogamemessage() { + _has_bits_[0] &= ~0x00400000u; +} +inline void LobbyMessage::clear_inviteplayertogamemessage() { + if (inviteplayertogamemessage_ != NULL) inviteplayertogamemessage_->::InvitePlayerToGameMessage::Clear(); + clear_has_inviteplayertogamemessage(); +} +inline const ::InvitePlayerToGameMessage& LobbyMessage::inviteplayertogamemessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return inviteplayertogamemessage_ != NULL ? *inviteplayertogamemessage_ : *default_instance().inviteplayertogamemessage_; +#else + return inviteplayertogamemessage_ != NULL ? *inviteplayertogamemessage_ : *default_instance_->inviteplayertogamemessage_; +#endif +} +inline ::InvitePlayerToGameMessage* LobbyMessage::mutable_inviteplayertogamemessage() { + set_has_inviteplayertogamemessage(); + if (inviteplayertogamemessage_ == NULL) inviteplayertogamemessage_ = new ::InvitePlayerToGameMessage; + return inviteplayertogamemessage_; +} +inline ::InvitePlayerToGameMessage* LobbyMessage::release_inviteplayertogamemessage() { + clear_has_inviteplayertogamemessage(); + ::InvitePlayerToGameMessage* temp = inviteplayertogamemessage_; + inviteplayertogamemessage_ = NULL; + return temp; +} +inline void LobbyMessage::set_allocated_inviteplayertogamemessage(::InvitePlayerToGameMessage* inviteplayertogamemessage) { + delete inviteplayertogamemessage_; + inviteplayertogamemessage_ = inviteplayertogamemessage; + if (inviteplayertogamemessage) { + set_has_inviteplayertogamemessage(); + } else { + clear_has_inviteplayertogamemessage(); + } +} + +// optional .InviteNotifyMessage inviteNotifyMessage = 24; +inline bool LobbyMessage::has_invitenotifymessage() const { + return (_has_bits_[0] & 0x00800000u) != 0; +} +inline void LobbyMessage::set_has_invitenotifymessage() { + _has_bits_[0] |= 0x00800000u; +} +inline void LobbyMessage::clear_has_invitenotifymessage() { + _has_bits_[0] &= ~0x00800000u; +} +inline void LobbyMessage::clear_invitenotifymessage() { + if (invitenotifymessage_ != NULL) invitenotifymessage_->::InviteNotifyMessage::Clear(); + clear_has_invitenotifymessage(); +} +inline const ::InviteNotifyMessage& LobbyMessage::invitenotifymessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return invitenotifymessage_ != NULL ? *invitenotifymessage_ : *default_instance().invitenotifymessage_; +#else + return invitenotifymessage_ != NULL ? *invitenotifymessage_ : *default_instance_->invitenotifymessage_; +#endif +} +inline ::InviteNotifyMessage* LobbyMessage::mutable_invitenotifymessage() { + set_has_invitenotifymessage(); + if (invitenotifymessage_ == NULL) invitenotifymessage_ = new ::InviteNotifyMessage; + return invitenotifymessage_; +} +inline ::InviteNotifyMessage* LobbyMessage::release_invitenotifymessage() { + clear_has_invitenotifymessage(); + ::InviteNotifyMessage* temp = invitenotifymessage_; + invitenotifymessage_ = NULL; + return temp; +} +inline void LobbyMessage::set_allocated_invitenotifymessage(::InviteNotifyMessage* invitenotifymessage) { + delete invitenotifymessage_; + invitenotifymessage_ = invitenotifymessage; + if (invitenotifymessage) { + set_has_invitenotifymessage(); + } else { + clear_has_invitenotifymessage(); + } +} + +// optional .RejectGameInvitationMessage rejectGameInvitationMessage = 25; +inline bool LobbyMessage::has_rejectgameinvitationmessage() const { + return (_has_bits_[0] & 0x01000000u) != 0; +} +inline void LobbyMessage::set_has_rejectgameinvitationmessage() { + _has_bits_[0] |= 0x01000000u; +} +inline void LobbyMessage::clear_has_rejectgameinvitationmessage() { + _has_bits_[0] &= ~0x01000000u; +} +inline void LobbyMessage::clear_rejectgameinvitationmessage() { + if (rejectgameinvitationmessage_ != NULL) rejectgameinvitationmessage_->::RejectGameInvitationMessage::Clear(); + clear_has_rejectgameinvitationmessage(); +} +inline const ::RejectGameInvitationMessage& LobbyMessage::rejectgameinvitationmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return rejectgameinvitationmessage_ != NULL ? *rejectgameinvitationmessage_ : *default_instance().rejectgameinvitationmessage_; +#else + return rejectgameinvitationmessage_ != NULL ? *rejectgameinvitationmessage_ : *default_instance_->rejectgameinvitationmessage_; +#endif +} +inline ::RejectGameInvitationMessage* LobbyMessage::mutable_rejectgameinvitationmessage() { + set_has_rejectgameinvitationmessage(); + if (rejectgameinvitationmessage_ == NULL) rejectgameinvitationmessage_ = new ::RejectGameInvitationMessage; + return rejectgameinvitationmessage_; +} +inline ::RejectGameInvitationMessage* LobbyMessage::release_rejectgameinvitationmessage() { + clear_has_rejectgameinvitationmessage(); + ::RejectGameInvitationMessage* temp = rejectgameinvitationmessage_; + rejectgameinvitationmessage_ = NULL; + return temp; +} +inline void LobbyMessage::set_allocated_rejectgameinvitationmessage(::RejectGameInvitationMessage* rejectgameinvitationmessage) { + delete rejectgameinvitationmessage_; + rejectgameinvitationmessage_ = rejectgameinvitationmessage; + if (rejectgameinvitationmessage) { + set_has_rejectgameinvitationmessage(); + } else { + clear_has_rejectgameinvitationmessage(); + } +} + +// optional .RejectInvNotifyMessage rejectInvNotifyMessage = 26; +inline bool LobbyMessage::has_rejectinvnotifymessage() const { + return (_has_bits_[0] & 0x02000000u) != 0; +} +inline void LobbyMessage::set_has_rejectinvnotifymessage() { + _has_bits_[0] |= 0x02000000u; +} +inline void LobbyMessage::clear_has_rejectinvnotifymessage() { + _has_bits_[0] &= ~0x02000000u; +} +inline void LobbyMessage::clear_rejectinvnotifymessage() { + if (rejectinvnotifymessage_ != NULL) rejectinvnotifymessage_->::RejectInvNotifyMessage::Clear(); + clear_has_rejectinvnotifymessage(); +} +inline const ::RejectInvNotifyMessage& LobbyMessage::rejectinvnotifymessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return rejectinvnotifymessage_ != NULL ? *rejectinvnotifymessage_ : *default_instance().rejectinvnotifymessage_; +#else + return rejectinvnotifymessage_ != NULL ? *rejectinvnotifymessage_ : *default_instance_->rejectinvnotifymessage_; +#endif +} +inline ::RejectInvNotifyMessage* LobbyMessage::mutable_rejectinvnotifymessage() { + set_has_rejectinvnotifymessage(); + if (rejectinvnotifymessage_ == NULL) rejectinvnotifymessage_ = new ::RejectInvNotifyMessage; + return rejectinvnotifymessage_; +} +inline ::RejectInvNotifyMessage* LobbyMessage::release_rejectinvnotifymessage() { + clear_has_rejectinvnotifymessage(); + ::RejectInvNotifyMessage* temp = rejectinvnotifymessage_; + rejectinvnotifymessage_ = NULL; + return temp; +} +inline void LobbyMessage::set_allocated_rejectinvnotifymessage(::RejectInvNotifyMessage* rejectinvnotifymessage) { + delete rejectinvnotifymessage_; + rejectinvnotifymessage_ = rejectinvnotifymessage; + if (rejectinvnotifymessage) { + set_has_rejectinvnotifymessage(); + } else { + clear_has_rejectinvnotifymessage(); + } +} + +// optional .StatisticsMessage statisticsMessage = 27; +inline bool LobbyMessage::has_statisticsmessage() const { + return (_has_bits_[0] & 0x04000000u) != 0; +} +inline void LobbyMessage::set_has_statisticsmessage() { + _has_bits_[0] |= 0x04000000u; +} +inline void LobbyMessage::clear_has_statisticsmessage() { + _has_bits_[0] &= ~0x04000000u; +} +inline void LobbyMessage::clear_statisticsmessage() { + if (statisticsmessage_ != NULL) statisticsmessage_->::StatisticsMessage::Clear(); + clear_has_statisticsmessage(); +} +inline const ::StatisticsMessage& LobbyMessage::statisticsmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return statisticsmessage_ != NULL ? *statisticsmessage_ : *default_instance().statisticsmessage_; +#else + return statisticsmessage_ != NULL ? *statisticsmessage_ : *default_instance_->statisticsmessage_; +#endif +} +inline ::StatisticsMessage* LobbyMessage::mutable_statisticsmessage() { + set_has_statisticsmessage(); + if (statisticsmessage_ == NULL) statisticsmessage_ = new ::StatisticsMessage; + return statisticsmessage_; +} +inline ::StatisticsMessage* LobbyMessage::release_statisticsmessage() { + clear_has_statisticsmessage(); + ::StatisticsMessage* temp = statisticsmessage_; + statisticsmessage_ = NULL; + return temp; +} +inline void LobbyMessage::set_allocated_statisticsmessage(::StatisticsMessage* statisticsmessage) { + delete statisticsmessage_; + statisticsmessage_ = statisticsmessage; + if (statisticsmessage) { + set_has_statisticsmessage(); + } else { + clear_has_statisticsmessage(); + } +} + +// optional .ChatRequestMessage chatRequestMessage = 28; +inline bool LobbyMessage::has_chatrequestmessage() const { + return (_has_bits_[0] & 0x08000000u) != 0; +} +inline void LobbyMessage::set_has_chatrequestmessage() { + _has_bits_[0] |= 0x08000000u; +} +inline void LobbyMessage::clear_has_chatrequestmessage() { + _has_bits_[0] &= ~0x08000000u; +} +inline void LobbyMessage::clear_chatrequestmessage() { + if (chatrequestmessage_ != NULL) chatrequestmessage_->::ChatRequestMessage::Clear(); + clear_has_chatrequestmessage(); +} +inline const ::ChatRequestMessage& LobbyMessage::chatrequestmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return chatrequestmessage_ != NULL ? *chatrequestmessage_ : *default_instance().chatrequestmessage_; +#else + return chatrequestmessage_ != NULL ? *chatrequestmessage_ : *default_instance_->chatrequestmessage_; +#endif +} +inline ::ChatRequestMessage* LobbyMessage::mutable_chatrequestmessage() { + set_has_chatrequestmessage(); + if (chatrequestmessage_ == NULL) chatrequestmessage_ = new ::ChatRequestMessage; + return chatrequestmessage_; +} +inline ::ChatRequestMessage* LobbyMessage::release_chatrequestmessage() { + clear_has_chatrequestmessage(); + ::ChatRequestMessage* temp = chatrequestmessage_; + chatrequestmessage_ = NULL; + return temp; +} +inline void LobbyMessage::set_allocated_chatrequestmessage(::ChatRequestMessage* chatrequestmessage) { + delete chatrequestmessage_; + chatrequestmessage_ = chatrequestmessage; + if (chatrequestmessage) { + set_has_chatrequestmessage(); + } else { + clear_has_chatrequestmessage(); + } +} + +// optional .ChatMessage chatMessage = 29; +inline bool LobbyMessage::has_chatmessage() const { + return (_has_bits_[0] & 0x10000000u) != 0; +} +inline void LobbyMessage::set_has_chatmessage() { + _has_bits_[0] |= 0x10000000u; +} +inline void LobbyMessage::clear_has_chatmessage() { + _has_bits_[0] &= ~0x10000000u; +} +inline void LobbyMessage::clear_chatmessage() { + if (chatmessage_ != NULL) chatmessage_->::ChatMessage::Clear(); + clear_has_chatmessage(); +} +inline const ::ChatMessage& LobbyMessage::chatmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return chatmessage_ != NULL ? *chatmessage_ : *default_instance().chatmessage_; +#else + return chatmessage_ != NULL ? *chatmessage_ : *default_instance_->chatmessage_; +#endif +} +inline ::ChatMessage* LobbyMessage::mutable_chatmessage() { + set_has_chatmessage(); + if (chatmessage_ == NULL) chatmessage_ = new ::ChatMessage; + return chatmessage_; +} +inline ::ChatMessage* LobbyMessage::release_chatmessage() { + clear_has_chatmessage(); + ::ChatMessage* temp = chatmessage_; + chatmessage_ = NULL; + return temp; +} +inline void LobbyMessage::set_allocated_chatmessage(::ChatMessage* chatmessage) { + delete chatmessage_; + chatmessage_ = chatmessage; + if (chatmessage) { + set_has_chatmessage(); + } else { + clear_has_chatmessage(); + } +} + +// optional .ChatRejectMessage chatRejectMessage = 30; +inline bool LobbyMessage::has_chatrejectmessage() const { + return (_has_bits_[0] & 0x20000000u) != 0; +} +inline void LobbyMessage::set_has_chatrejectmessage() { + _has_bits_[0] |= 0x20000000u; +} +inline void LobbyMessage::clear_has_chatrejectmessage() { + _has_bits_[0] &= ~0x20000000u; +} +inline void LobbyMessage::clear_chatrejectmessage() { + if (chatrejectmessage_ != NULL) chatrejectmessage_->::ChatRejectMessage::Clear(); + clear_has_chatrejectmessage(); +} +inline const ::ChatRejectMessage& LobbyMessage::chatrejectmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return chatrejectmessage_ != NULL ? *chatrejectmessage_ : *default_instance().chatrejectmessage_; +#else + return chatrejectmessage_ != NULL ? *chatrejectmessage_ : *default_instance_->chatrejectmessage_; +#endif +} +inline ::ChatRejectMessage* LobbyMessage::mutable_chatrejectmessage() { + set_has_chatrejectmessage(); + if (chatrejectmessage_ == NULL) chatrejectmessage_ = new ::ChatRejectMessage; + return chatrejectmessage_; +} +inline ::ChatRejectMessage* LobbyMessage::release_chatrejectmessage() { + clear_has_chatrejectmessage(); + ::ChatRejectMessage* temp = chatrejectmessage_; + chatrejectmessage_ = NULL; + return temp; +} +inline void LobbyMessage::set_allocated_chatrejectmessage(::ChatRejectMessage* chatrejectmessage) { + delete chatrejectmessage_; + chatrejectmessage_ = chatrejectmessage; + if (chatrejectmessage) { + set_has_chatrejectmessage(); + } else { + clear_has_chatrejectmessage(); + } +} + +// optional .DialogMessage dialogMessage = 31; +inline bool LobbyMessage::has_dialogmessage() const { + return (_has_bits_[0] & 0x40000000u) != 0; +} +inline void LobbyMessage::set_has_dialogmessage() { + _has_bits_[0] |= 0x40000000u; +} +inline void LobbyMessage::clear_has_dialogmessage() { + _has_bits_[0] &= ~0x40000000u; +} +inline void LobbyMessage::clear_dialogmessage() { + if (dialogmessage_ != NULL) dialogmessage_->::DialogMessage::Clear(); + clear_has_dialogmessage(); +} +inline const ::DialogMessage& LobbyMessage::dialogmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return dialogmessage_ != NULL ? *dialogmessage_ : *default_instance().dialogmessage_; +#else + return dialogmessage_ != NULL ? *dialogmessage_ : *default_instance_->dialogmessage_; +#endif +} +inline ::DialogMessage* LobbyMessage::mutable_dialogmessage() { + set_has_dialogmessage(); + if (dialogmessage_ == NULL) dialogmessage_ = new ::DialogMessage; + return dialogmessage_; +} +inline ::DialogMessage* LobbyMessage::release_dialogmessage() { + clear_has_dialogmessage(); + ::DialogMessage* temp = dialogmessage_; + dialogmessage_ = NULL; + return temp; +} +inline void LobbyMessage::set_allocated_dialogmessage(::DialogMessage* dialogmessage) { + delete dialogmessage_; + dialogmessage_ = dialogmessage; + if (dialogmessage) { + set_has_dialogmessage(); + } else { + clear_has_dialogmessage(); + } +} + +// optional .TimeoutWarningMessage timeoutWarningMessage = 32; +inline bool LobbyMessage::has_timeoutwarningmessage() const { + return (_has_bits_[0] & 0x80000000u) != 0; +} +inline void LobbyMessage::set_has_timeoutwarningmessage() { + _has_bits_[0] |= 0x80000000u; +} +inline void LobbyMessage::clear_has_timeoutwarningmessage() { + _has_bits_[0] &= ~0x80000000u; +} +inline void LobbyMessage::clear_timeoutwarningmessage() { + if (timeoutwarningmessage_ != NULL) timeoutwarningmessage_->::TimeoutWarningMessage::Clear(); + clear_has_timeoutwarningmessage(); +} +inline const ::TimeoutWarningMessage& LobbyMessage::timeoutwarningmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return timeoutwarningmessage_ != NULL ? *timeoutwarningmessage_ : *default_instance().timeoutwarningmessage_; +#else + return timeoutwarningmessage_ != NULL ? *timeoutwarningmessage_ : *default_instance_->timeoutwarningmessage_; +#endif +} +inline ::TimeoutWarningMessage* LobbyMessage::mutable_timeoutwarningmessage() { + set_has_timeoutwarningmessage(); + if (timeoutwarningmessage_ == NULL) timeoutwarningmessage_ = new ::TimeoutWarningMessage; + return timeoutwarningmessage_; +} +inline ::TimeoutWarningMessage* LobbyMessage::release_timeoutwarningmessage() { + clear_has_timeoutwarningmessage(); + ::TimeoutWarningMessage* temp = timeoutwarningmessage_; + timeoutwarningmessage_ = NULL; + return temp; +} +inline void LobbyMessage::set_allocated_timeoutwarningmessage(::TimeoutWarningMessage* timeoutwarningmessage) { + delete timeoutwarningmessage_; + timeoutwarningmessage_ = timeoutwarningmessage; + if (timeoutwarningmessage) { + set_has_timeoutwarningmessage(); + } else { + clear_has_timeoutwarningmessage(); + } +} + +// optional .ResetTimeoutMessage resetTimeoutMessage = 33; +inline bool LobbyMessage::has_resettimeoutmessage() const { + return (_has_bits_[1] & 0x00000001u) != 0; +} +inline void LobbyMessage::set_has_resettimeoutmessage() { + _has_bits_[1] |= 0x00000001u; +} +inline void LobbyMessage::clear_has_resettimeoutmessage() { + _has_bits_[1] &= ~0x00000001u; +} +inline void LobbyMessage::clear_resettimeoutmessage() { + if (resettimeoutmessage_ != NULL) resettimeoutmessage_->::ResetTimeoutMessage::Clear(); + clear_has_resettimeoutmessage(); +} +inline const ::ResetTimeoutMessage& LobbyMessage::resettimeoutmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return resettimeoutmessage_ != NULL ? *resettimeoutmessage_ : *default_instance().resettimeoutmessage_; +#else + return resettimeoutmessage_ != NULL ? *resettimeoutmessage_ : *default_instance_->resettimeoutmessage_; +#endif +} +inline ::ResetTimeoutMessage* LobbyMessage::mutable_resettimeoutmessage() { + set_has_resettimeoutmessage(); + if (resettimeoutmessage_ == NULL) resettimeoutmessage_ = new ::ResetTimeoutMessage; + return resettimeoutmessage_; +} +inline ::ResetTimeoutMessage* LobbyMessage::release_resettimeoutmessage() { + clear_has_resettimeoutmessage(); + ::ResetTimeoutMessage* temp = resettimeoutmessage_; + resettimeoutmessage_ = NULL; + return temp; +} +inline void LobbyMessage::set_allocated_resettimeoutmessage(::ResetTimeoutMessage* resettimeoutmessage) { + delete resettimeoutmessage_; + resettimeoutmessage_ = resettimeoutmessage; + if (resettimeoutmessage) { + set_has_resettimeoutmessage(); + } else { + clear_has_resettimeoutmessage(); + } +} + +// optional .ReportAvatarMessage reportAvatarMessage = 34; +inline bool LobbyMessage::has_reportavatarmessage() const { + return (_has_bits_[1] & 0x00000002u) != 0; +} +inline void LobbyMessage::set_has_reportavatarmessage() { + _has_bits_[1] |= 0x00000002u; +} +inline void LobbyMessage::clear_has_reportavatarmessage() { + _has_bits_[1] &= ~0x00000002u; +} +inline void LobbyMessage::clear_reportavatarmessage() { + if (reportavatarmessage_ != NULL) reportavatarmessage_->::ReportAvatarMessage::Clear(); + clear_has_reportavatarmessage(); +} +inline const ::ReportAvatarMessage& LobbyMessage::reportavatarmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return reportavatarmessage_ != NULL ? *reportavatarmessage_ : *default_instance().reportavatarmessage_; +#else + return reportavatarmessage_ != NULL ? *reportavatarmessage_ : *default_instance_->reportavatarmessage_; +#endif +} +inline ::ReportAvatarMessage* LobbyMessage::mutable_reportavatarmessage() { + set_has_reportavatarmessage(); + if (reportavatarmessage_ == NULL) reportavatarmessage_ = new ::ReportAvatarMessage; + return reportavatarmessage_; +} +inline ::ReportAvatarMessage* LobbyMessage::release_reportavatarmessage() { + clear_has_reportavatarmessage(); + ::ReportAvatarMessage* temp = reportavatarmessage_; + reportavatarmessage_ = NULL; + return temp; +} +inline void LobbyMessage::set_allocated_reportavatarmessage(::ReportAvatarMessage* reportavatarmessage) { + delete reportavatarmessage_; + reportavatarmessage_ = reportavatarmessage; + if (reportavatarmessage) { + set_has_reportavatarmessage(); + } else { + clear_has_reportavatarmessage(); + } +} + +// optional .ReportAvatarAckMessage reportAvatarAckMessage = 35; +inline bool LobbyMessage::has_reportavatarackmessage() const { + return (_has_bits_[1] & 0x00000004u) != 0; +} +inline void LobbyMessage::set_has_reportavatarackmessage() { + _has_bits_[1] |= 0x00000004u; +} +inline void LobbyMessage::clear_has_reportavatarackmessage() { + _has_bits_[1] &= ~0x00000004u; +} +inline void LobbyMessage::clear_reportavatarackmessage() { + if (reportavatarackmessage_ != NULL) reportavatarackmessage_->::ReportAvatarAckMessage::Clear(); + clear_has_reportavatarackmessage(); +} +inline const ::ReportAvatarAckMessage& LobbyMessage::reportavatarackmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return reportavatarackmessage_ != NULL ? *reportavatarackmessage_ : *default_instance().reportavatarackmessage_; +#else + return reportavatarackmessage_ != NULL ? *reportavatarackmessage_ : *default_instance_->reportavatarackmessage_; +#endif +} +inline ::ReportAvatarAckMessage* LobbyMessage::mutable_reportavatarackmessage() { + set_has_reportavatarackmessage(); + if (reportavatarackmessage_ == NULL) reportavatarackmessage_ = new ::ReportAvatarAckMessage; + return reportavatarackmessage_; +} +inline ::ReportAvatarAckMessage* LobbyMessage::release_reportavatarackmessage() { + clear_has_reportavatarackmessage(); + ::ReportAvatarAckMessage* temp = reportavatarackmessage_; + reportavatarackmessage_ = NULL; + return temp; +} +inline void LobbyMessage::set_allocated_reportavatarackmessage(::ReportAvatarAckMessage* reportavatarackmessage) { + delete reportavatarackmessage_; + reportavatarackmessage_ = reportavatarackmessage; + if (reportavatarackmessage) { + set_has_reportavatarackmessage(); + } else { + clear_has_reportavatarackmessage(); + } +} + +// optional .ReportGameMessage reportGameMessage = 36; +inline bool LobbyMessage::has_reportgamemessage() const { + return (_has_bits_[1] & 0x00000008u) != 0; +} +inline void LobbyMessage::set_has_reportgamemessage() { + _has_bits_[1] |= 0x00000008u; +} +inline void LobbyMessage::clear_has_reportgamemessage() { + _has_bits_[1] &= ~0x00000008u; +} +inline void LobbyMessage::clear_reportgamemessage() { + if (reportgamemessage_ != NULL) reportgamemessage_->::ReportGameMessage::Clear(); + clear_has_reportgamemessage(); +} +inline const ::ReportGameMessage& LobbyMessage::reportgamemessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return reportgamemessage_ != NULL ? *reportgamemessage_ : *default_instance().reportgamemessage_; +#else + return reportgamemessage_ != NULL ? *reportgamemessage_ : *default_instance_->reportgamemessage_; +#endif +} +inline ::ReportGameMessage* LobbyMessage::mutable_reportgamemessage() { + set_has_reportgamemessage(); + if (reportgamemessage_ == NULL) reportgamemessage_ = new ::ReportGameMessage; + return reportgamemessage_; +} +inline ::ReportGameMessage* LobbyMessage::release_reportgamemessage() { + clear_has_reportgamemessage(); + ::ReportGameMessage* temp = reportgamemessage_; + reportgamemessage_ = NULL; + return temp; +} +inline void LobbyMessage::set_allocated_reportgamemessage(::ReportGameMessage* reportgamemessage) { + delete reportgamemessage_; + reportgamemessage_ = reportgamemessage; + if (reportgamemessage) { + set_has_reportgamemessage(); + } else { + clear_has_reportgamemessage(); + } +} + +// optional .ReportGameAckMessage reportGameAckMessage = 37; +inline bool LobbyMessage::has_reportgameackmessage() const { + return (_has_bits_[1] & 0x00000010u) != 0; +} +inline void LobbyMessage::set_has_reportgameackmessage() { + _has_bits_[1] |= 0x00000010u; +} +inline void LobbyMessage::clear_has_reportgameackmessage() { + _has_bits_[1] &= ~0x00000010u; +} +inline void LobbyMessage::clear_reportgameackmessage() { + if (reportgameackmessage_ != NULL) reportgameackmessage_->::ReportGameAckMessage::Clear(); + clear_has_reportgameackmessage(); +} +inline const ::ReportGameAckMessage& LobbyMessage::reportgameackmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return reportgameackmessage_ != NULL ? *reportgameackmessage_ : *default_instance().reportgameackmessage_; +#else + return reportgameackmessage_ != NULL ? *reportgameackmessage_ : *default_instance_->reportgameackmessage_; +#endif +} +inline ::ReportGameAckMessage* LobbyMessage::mutable_reportgameackmessage() { + set_has_reportgameackmessage(); + if (reportgameackmessage_ == NULL) reportgameackmessage_ = new ::ReportGameAckMessage; + return reportgameackmessage_; +} +inline ::ReportGameAckMessage* LobbyMessage::release_reportgameackmessage() { + clear_has_reportgameackmessage(); + ::ReportGameAckMessage* temp = reportgameackmessage_; + reportgameackmessage_ = NULL; + return temp; +} +inline void LobbyMessage::set_allocated_reportgameackmessage(::ReportGameAckMessage* reportgameackmessage) { + delete reportgameackmessage_; + reportgameackmessage_ = reportgameackmessage; + if (reportgameackmessage) { + set_has_reportgameackmessage(); + } else { + clear_has_reportgameackmessage(); + } +} + +// optional .AdminRemoveGameMessage adminRemoveGameMessage = 38; +inline bool LobbyMessage::has_adminremovegamemessage() const { + return (_has_bits_[1] & 0x00000020u) != 0; +} +inline void LobbyMessage::set_has_adminremovegamemessage() { + _has_bits_[1] |= 0x00000020u; +} +inline void LobbyMessage::clear_has_adminremovegamemessage() { + _has_bits_[1] &= ~0x00000020u; +} +inline void LobbyMessage::clear_adminremovegamemessage() { + if (adminremovegamemessage_ != NULL) adminremovegamemessage_->::AdminRemoveGameMessage::Clear(); + clear_has_adminremovegamemessage(); +} +inline const ::AdminRemoveGameMessage& LobbyMessage::adminremovegamemessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return adminremovegamemessage_ != NULL ? *adminremovegamemessage_ : *default_instance().adminremovegamemessage_; +#else + return adminremovegamemessage_ != NULL ? *adminremovegamemessage_ : *default_instance_->adminremovegamemessage_; +#endif +} +inline ::AdminRemoveGameMessage* LobbyMessage::mutable_adminremovegamemessage() { + set_has_adminremovegamemessage(); + if (adminremovegamemessage_ == NULL) adminremovegamemessage_ = new ::AdminRemoveGameMessage; + return adminremovegamemessage_; +} +inline ::AdminRemoveGameMessage* LobbyMessage::release_adminremovegamemessage() { + clear_has_adminremovegamemessage(); + ::AdminRemoveGameMessage* temp = adminremovegamemessage_; + adminremovegamemessage_ = NULL; + return temp; +} +inline void LobbyMessage::set_allocated_adminremovegamemessage(::AdminRemoveGameMessage* adminremovegamemessage) { + delete adminremovegamemessage_; + adminremovegamemessage_ = adminremovegamemessage; + if (adminremovegamemessage) { + set_has_adminremovegamemessage(); + } else { + clear_has_adminremovegamemessage(); + } +} + +// optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 39; +inline bool LobbyMessage::has_adminremovegameackmessage() const { + return (_has_bits_[1] & 0x00000040u) != 0; +} +inline void LobbyMessage::set_has_adminremovegameackmessage() { + _has_bits_[1] |= 0x00000040u; +} +inline void LobbyMessage::clear_has_adminremovegameackmessage() { + _has_bits_[1] &= ~0x00000040u; +} +inline void LobbyMessage::clear_adminremovegameackmessage() { + if (adminremovegameackmessage_ != NULL) adminremovegameackmessage_->::AdminRemoveGameAckMessage::Clear(); + clear_has_adminremovegameackmessage(); +} +inline const ::AdminRemoveGameAckMessage& LobbyMessage::adminremovegameackmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return adminremovegameackmessage_ != NULL ? *adminremovegameackmessage_ : *default_instance().adminremovegameackmessage_; +#else + return adminremovegameackmessage_ != NULL ? *adminremovegameackmessage_ : *default_instance_->adminremovegameackmessage_; +#endif +} +inline ::AdminRemoveGameAckMessage* LobbyMessage::mutable_adminremovegameackmessage() { + set_has_adminremovegameackmessage(); + if (adminremovegameackmessage_ == NULL) adminremovegameackmessage_ = new ::AdminRemoveGameAckMessage; + return adminremovegameackmessage_; +} +inline ::AdminRemoveGameAckMessage* LobbyMessage::release_adminremovegameackmessage() { + clear_has_adminremovegameackmessage(); + ::AdminRemoveGameAckMessage* temp = adminremovegameackmessage_; + adminremovegameackmessage_ = NULL; + return temp; +} +inline void LobbyMessage::set_allocated_adminremovegameackmessage(::AdminRemoveGameAckMessage* adminremovegameackmessage) { + delete adminremovegameackmessage_; + adminremovegameackmessage_ = adminremovegameackmessage; + if (adminremovegameackmessage) { + set_has_adminremovegameackmessage(); + } else { + clear_has_adminremovegameackmessage(); + } +} + +// optional .AdminBanPlayerMessage adminBanPlayerMessage = 40; +inline bool LobbyMessage::has_adminbanplayermessage() const { + return (_has_bits_[1] & 0x00000080u) != 0; +} +inline void LobbyMessage::set_has_adminbanplayermessage() { + _has_bits_[1] |= 0x00000080u; +} +inline void LobbyMessage::clear_has_adminbanplayermessage() { + _has_bits_[1] &= ~0x00000080u; +} +inline void LobbyMessage::clear_adminbanplayermessage() { + if (adminbanplayermessage_ != NULL) adminbanplayermessage_->::AdminBanPlayerMessage::Clear(); + clear_has_adminbanplayermessage(); +} +inline const ::AdminBanPlayerMessage& LobbyMessage::adminbanplayermessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return adminbanplayermessage_ != NULL ? *adminbanplayermessage_ : *default_instance().adminbanplayermessage_; +#else + return adminbanplayermessage_ != NULL ? *adminbanplayermessage_ : *default_instance_->adminbanplayermessage_; +#endif +} +inline ::AdminBanPlayerMessage* LobbyMessage::mutable_adminbanplayermessage() { + set_has_adminbanplayermessage(); + if (adminbanplayermessage_ == NULL) adminbanplayermessage_ = new ::AdminBanPlayerMessage; + return adminbanplayermessage_; +} +inline ::AdminBanPlayerMessage* LobbyMessage::release_adminbanplayermessage() { + clear_has_adminbanplayermessage(); + ::AdminBanPlayerMessage* temp = adminbanplayermessage_; + adminbanplayermessage_ = NULL; + return temp; +} +inline void LobbyMessage::set_allocated_adminbanplayermessage(::AdminBanPlayerMessage* adminbanplayermessage) { + delete adminbanplayermessage_; + adminbanplayermessage_ = adminbanplayermessage; + if (adminbanplayermessage) { + set_has_adminbanplayermessage(); + } else { + clear_has_adminbanplayermessage(); + } +} + +// optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 41; +inline bool LobbyMessage::has_adminbanplayerackmessage() const { + return (_has_bits_[1] & 0x00000100u) != 0; +} +inline void LobbyMessage::set_has_adminbanplayerackmessage() { + _has_bits_[1] |= 0x00000100u; +} +inline void LobbyMessage::clear_has_adminbanplayerackmessage() { + _has_bits_[1] &= ~0x00000100u; +} +inline void LobbyMessage::clear_adminbanplayerackmessage() { + if (adminbanplayerackmessage_ != NULL) adminbanplayerackmessage_->::AdminBanPlayerAckMessage::Clear(); + clear_has_adminbanplayerackmessage(); +} +inline const ::AdminBanPlayerAckMessage& LobbyMessage::adminbanplayerackmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return adminbanplayerackmessage_ != NULL ? *adminbanplayerackmessage_ : *default_instance().adminbanplayerackmessage_; +#else + return adminbanplayerackmessage_ != NULL ? *adminbanplayerackmessage_ : *default_instance_->adminbanplayerackmessage_; +#endif +} +inline ::AdminBanPlayerAckMessage* LobbyMessage::mutable_adminbanplayerackmessage() { + set_has_adminbanplayerackmessage(); + if (adminbanplayerackmessage_ == NULL) adminbanplayerackmessage_ = new ::AdminBanPlayerAckMessage; + return adminbanplayerackmessage_; +} +inline ::AdminBanPlayerAckMessage* LobbyMessage::release_adminbanplayerackmessage() { + clear_has_adminbanplayerackmessage(); + ::AdminBanPlayerAckMessage* temp = adminbanplayerackmessage_; + adminbanplayerackmessage_ = NULL; + return temp; +} +inline void LobbyMessage::set_allocated_adminbanplayerackmessage(::AdminBanPlayerAckMessage* adminbanplayerackmessage) { + delete adminbanplayerackmessage_; + adminbanplayerackmessage_ = adminbanplayerackmessage; + if (adminbanplayerackmessage) { + set_has_adminbanplayerackmessage(); + } else { + clear_has_adminbanplayerackmessage(); + } +} + +// optional .ErrorMessage errorMessage = 1025; +inline bool LobbyMessage::has_errormessage() const { + return (_has_bits_[1] & 0x00000200u) != 0; +} +inline void LobbyMessage::set_has_errormessage() { + _has_bits_[1] |= 0x00000200u; +} +inline void LobbyMessage::clear_has_errormessage() { + _has_bits_[1] &= ~0x00000200u; +} +inline void LobbyMessage::clear_errormessage() { + if (errormessage_ != NULL) errormessage_->::ErrorMessage::Clear(); + clear_has_errormessage(); +} +inline const ::ErrorMessage& LobbyMessage::errormessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return errormessage_ != NULL ? *errormessage_ : *default_instance().errormessage_; +#else + return errormessage_ != NULL ? *errormessage_ : *default_instance_->errormessage_; +#endif +} +inline ::ErrorMessage* LobbyMessage::mutable_errormessage() { + set_has_errormessage(); + if (errormessage_ == NULL) errormessage_ = new ::ErrorMessage; + return errormessage_; +} +inline ::ErrorMessage* LobbyMessage::release_errormessage() { + clear_has_errormessage(); + ::ErrorMessage* temp = errormessage_; + errormessage_ = NULL; + return temp; +} +inline void LobbyMessage::set_allocated_errormessage(::ErrorMessage* errormessage) { + delete errormessage_; + errormessage_ = errormessage; + if (errormessage) { + set_has_errormessage(); + } else { + clear_has_errormessage(); + } +} + +// ------------------------------------------------------------------- + +// GameManagementMessage + +// required .GameManagementMessage.GameManagementMessageType messageType = 1; +inline bool GameManagementMessage::has_messagetype() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void GameManagementMessage::set_has_messagetype() { + _has_bits_[0] |= 0x00000001u; +} +inline void GameManagementMessage::clear_has_messagetype() { + _has_bits_[0] &= ~0x00000001u; +} +inline void GameManagementMessage::clear_messagetype() { + messagetype_ = 1; + clear_has_messagetype(); +} +inline ::GameManagementMessage_GameManagementMessageType GameManagementMessage::messagetype() const { + return static_cast< ::GameManagementMessage_GameManagementMessageType >(messagetype_); +} +inline void GameManagementMessage::set_messagetype(::GameManagementMessage_GameManagementMessageType value) { + assert(::GameManagementMessage_GameManagementMessageType_IsValid(value)); + set_has_messagetype(); + messagetype_ = value; +} + +// optional .JoinGameMessage joinGameMessage = 2; +inline bool GameManagementMessage::has_joingamemessage() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void GameManagementMessage::set_has_joingamemessage() { + _has_bits_[0] |= 0x00000002u; +} +inline void GameManagementMessage::clear_has_joingamemessage() { + _has_bits_[0] &= ~0x00000002u; +} +inline void GameManagementMessage::clear_joingamemessage() { + if (joingamemessage_ != NULL) joingamemessage_->::JoinGameMessage::Clear(); + clear_has_joingamemessage(); +} +inline const ::JoinGameMessage& GameManagementMessage::joingamemessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return joingamemessage_ != NULL ? *joingamemessage_ : *default_instance().joingamemessage_; +#else + return joingamemessage_ != NULL ? *joingamemessage_ : *default_instance_->joingamemessage_; +#endif +} +inline ::JoinGameMessage* GameManagementMessage::mutable_joingamemessage() { + set_has_joingamemessage(); + if (joingamemessage_ == NULL) joingamemessage_ = new ::JoinGameMessage; + return joingamemessage_; +} +inline ::JoinGameMessage* GameManagementMessage::release_joingamemessage() { + clear_has_joingamemessage(); + ::JoinGameMessage* temp = joingamemessage_; + joingamemessage_ = NULL; + return temp; +} +inline void GameManagementMessage::set_allocated_joingamemessage(::JoinGameMessage* joingamemessage) { + delete joingamemessage_; + joingamemessage_ = joingamemessage; + if (joingamemessage) { + set_has_joingamemessage(); + } else { + clear_has_joingamemessage(); + } +} + +// optional .RejoinGameMessage rejoinGameMessage = 3; +inline bool GameManagementMessage::has_rejoingamemessage() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void GameManagementMessage::set_has_rejoingamemessage() { + _has_bits_[0] |= 0x00000004u; +} +inline void GameManagementMessage::clear_has_rejoingamemessage() { + _has_bits_[0] &= ~0x00000004u; +} +inline void GameManagementMessage::clear_rejoingamemessage() { + if (rejoingamemessage_ != NULL) rejoingamemessage_->::RejoinGameMessage::Clear(); + clear_has_rejoingamemessage(); +} +inline const ::RejoinGameMessage& GameManagementMessage::rejoingamemessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return rejoingamemessage_ != NULL ? *rejoingamemessage_ : *default_instance().rejoingamemessage_; +#else + return rejoingamemessage_ != NULL ? *rejoingamemessage_ : *default_instance_->rejoingamemessage_; +#endif +} +inline ::RejoinGameMessage* GameManagementMessage::mutable_rejoingamemessage() { + set_has_rejoingamemessage(); + if (rejoingamemessage_ == NULL) rejoingamemessage_ = new ::RejoinGameMessage; + return rejoingamemessage_; +} +inline ::RejoinGameMessage* GameManagementMessage::release_rejoingamemessage() { + clear_has_rejoingamemessage(); + ::RejoinGameMessage* temp = rejoingamemessage_; + rejoingamemessage_ = NULL; + return temp; +} +inline void GameManagementMessage::set_allocated_rejoingamemessage(::RejoinGameMessage* rejoingamemessage) { + delete rejoingamemessage_; + rejoingamemessage_ = rejoingamemessage; + if (rejoingamemessage) { + set_has_rejoingamemessage(); + } else { + clear_has_rejoingamemessage(); + } +} + +// optional .JoinGameAckMessage joinGameAckMessage = 4; +inline bool GameManagementMessage::has_joingameackmessage() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void GameManagementMessage::set_has_joingameackmessage() { + _has_bits_[0] |= 0x00000008u; +} +inline void GameManagementMessage::clear_has_joingameackmessage() { + _has_bits_[0] &= ~0x00000008u; +} +inline void GameManagementMessage::clear_joingameackmessage() { + if (joingameackmessage_ != NULL) joingameackmessage_->::JoinGameAckMessage::Clear(); + clear_has_joingameackmessage(); +} +inline const ::JoinGameAckMessage& GameManagementMessage::joingameackmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return joingameackmessage_ != NULL ? *joingameackmessage_ : *default_instance().joingameackmessage_; +#else + return joingameackmessage_ != NULL ? *joingameackmessage_ : *default_instance_->joingameackmessage_; +#endif +} +inline ::JoinGameAckMessage* GameManagementMessage::mutable_joingameackmessage() { + set_has_joingameackmessage(); + if (joingameackmessage_ == NULL) joingameackmessage_ = new ::JoinGameAckMessage; + return joingameackmessage_; +} +inline ::JoinGameAckMessage* GameManagementMessage::release_joingameackmessage() { + clear_has_joingameackmessage(); + ::JoinGameAckMessage* temp = joingameackmessage_; + joingameackmessage_ = NULL; + return temp; +} +inline void GameManagementMessage::set_allocated_joingameackmessage(::JoinGameAckMessage* joingameackmessage) { + delete joingameackmessage_; + joingameackmessage_ = joingameackmessage; + if (joingameackmessage) { + set_has_joingameackmessage(); + } else { + clear_has_joingameackmessage(); + } +} + +// optional .JoinGameFailedMessage joinGameFailedMessage = 5; +inline bool GameManagementMessage::has_joingamefailedmessage() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void GameManagementMessage::set_has_joingamefailedmessage() { + _has_bits_[0] |= 0x00000010u; +} +inline void GameManagementMessage::clear_has_joingamefailedmessage() { + _has_bits_[0] &= ~0x00000010u; +} +inline void GameManagementMessage::clear_joingamefailedmessage() { + if (joingamefailedmessage_ != NULL) joingamefailedmessage_->::JoinGameFailedMessage::Clear(); + clear_has_joingamefailedmessage(); +} +inline const ::JoinGameFailedMessage& GameManagementMessage::joingamefailedmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return joingamefailedmessage_ != NULL ? *joingamefailedmessage_ : *default_instance().joingamefailedmessage_; +#else + return joingamefailedmessage_ != NULL ? *joingamefailedmessage_ : *default_instance_->joingamefailedmessage_; +#endif +} +inline ::JoinGameFailedMessage* GameManagementMessage::mutable_joingamefailedmessage() { + set_has_joingamefailedmessage(); + if (joingamefailedmessage_ == NULL) joingamefailedmessage_ = new ::JoinGameFailedMessage; + return joingamefailedmessage_; +} +inline ::JoinGameFailedMessage* GameManagementMessage::release_joingamefailedmessage() { + clear_has_joingamefailedmessage(); + ::JoinGameFailedMessage* temp = joingamefailedmessage_; + joingamefailedmessage_ = NULL; + return temp; +} +inline void GameManagementMessage::set_allocated_joingamefailedmessage(::JoinGameFailedMessage* joingamefailedmessage) { + delete joingamefailedmessage_; + joingamefailedmessage_ = joingamefailedmessage; + if (joingamefailedmessage) { + set_has_joingamefailedmessage(); + } else { + clear_has_joingamefailedmessage(); + } +} + +// optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 6; +inline bool GameManagementMessage::has_gameplayerjoinedmessage() const { + return (_has_bits_[0] & 0x00000020u) != 0; +} +inline void GameManagementMessage::set_has_gameplayerjoinedmessage() { + _has_bits_[0] |= 0x00000020u; +} +inline void GameManagementMessage::clear_has_gameplayerjoinedmessage() { + _has_bits_[0] &= ~0x00000020u; +} +inline void GameManagementMessage::clear_gameplayerjoinedmessage() { + if (gameplayerjoinedmessage_ != NULL) gameplayerjoinedmessage_->::GamePlayerJoinedMessage::Clear(); + clear_has_gameplayerjoinedmessage(); +} +inline const ::GamePlayerJoinedMessage& GameManagementMessage::gameplayerjoinedmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return gameplayerjoinedmessage_ != NULL ? *gameplayerjoinedmessage_ : *default_instance().gameplayerjoinedmessage_; +#else + return gameplayerjoinedmessage_ != NULL ? *gameplayerjoinedmessage_ : *default_instance_->gameplayerjoinedmessage_; +#endif +} +inline ::GamePlayerJoinedMessage* GameManagementMessage::mutable_gameplayerjoinedmessage() { + set_has_gameplayerjoinedmessage(); + if (gameplayerjoinedmessage_ == NULL) gameplayerjoinedmessage_ = new ::GamePlayerJoinedMessage; + return gameplayerjoinedmessage_; +} +inline ::GamePlayerJoinedMessage* GameManagementMessage::release_gameplayerjoinedmessage() { + clear_has_gameplayerjoinedmessage(); + ::GamePlayerJoinedMessage* temp = gameplayerjoinedmessage_; + gameplayerjoinedmessage_ = NULL; + return temp; +} +inline void GameManagementMessage::set_allocated_gameplayerjoinedmessage(::GamePlayerJoinedMessage* gameplayerjoinedmessage) { + delete gameplayerjoinedmessage_; + gameplayerjoinedmessage_ = gameplayerjoinedmessage; + if (gameplayerjoinedmessage) { + set_has_gameplayerjoinedmessage(); + } else { + clear_has_gameplayerjoinedmessage(); + } +} + +// optional .GamePlayerLeftMessage gamePlayerLeftMessage = 7; +inline bool GameManagementMessage::has_gameplayerleftmessage() const { + return (_has_bits_[0] & 0x00000040u) != 0; +} +inline void GameManagementMessage::set_has_gameplayerleftmessage() { + _has_bits_[0] |= 0x00000040u; +} +inline void GameManagementMessage::clear_has_gameplayerleftmessage() { + _has_bits_[0] &= ~0x00000040u; +} +inline void GameManagementMessage::clear_gameplayerleftmessage() { + if (gameplayerleftmessage_ != NULL) gameplayerleftmessage_->::GamePlayerLeftMessage::Clear(); + clear_has_gameplayerleftmessage(); +} +inline const ::GamePlayerLeftMessage& GameManagementMessage::gameplayerleftmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return gameplayerleftmessage_ != NULL ? *gameplayerleftmessage_ : *default_instance().gameplayerleftmessage_; +#else + return gameplayerleftmessage_ != NULL ? *gameplayerleftmessage_ : *default_instance_->gameplayerleftmessage_; +#endif +} +inline ::GamePlayerLeftMessage* GameManagementMessage::mutable_gameplayerleftmessage() { + set_has_gameplayerleftmessage(); + if (gameplayerleftmessage_ == NULL) gameplayerleftmessage_ = new ::GamePlayerLeftMessage; + return gameplayerleftmessage_; +} +inline ::GamePlayerLeftMessage* GameManagementMessage::release_gameplayerleftmessage() { + clear_has_gameplayerleftmessage(); + ::GamePlayerLeftMessage* temp = gameplayerleftmessage_; + gameplayerleftmessage_ = NULL; + return temp; +} +inline void GameManagementMessage::set_allocated_gameplayerleftmessage(::GamePlayerLeftMessage* gameplayerleftmessage) { + delete gameplayerleftmessage_; + gameplayerleftmessage_ = gameplayerleftmessage; + if (gameplayerleftmessage) { + set_has_gameplayerleftmessage(); + } else { + clear_has_gameplayerleftmessage(); + } +} + +// optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 8; +inline bool GameManagementMessage::has_gamespectatorjoinedmessage() const { + return (_has_bits_[0] & 0x00000080u) != 0; +} +inline void GameManagementMessage::set_has_gamespectatorjoinedmessage() { + _has_bits_[0] |= 0x00000080u; +} +inline void GameManagementMessage::clear_has_gamespectatorjoinedmessage() { + _has_bits_[0] &= ~0x00000080u; +} +inline void GameManagementMessage::clear_gamespectatorjoinedmessage() { + if (gamespectatorjoinedmessage_ != NULL) gamespectatorjoinedmessage_->::GameSpectatorJoinedMessage::Clear(); + clear_has_gamespectatorjoinedmessage(); +} +inline const ::GameSpectatorJoinedMessage& GameManagementMessage::gamespectatorjoinedmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return gamespectatorjoinedmessage_ != NULL ? *gamespectatorjoinedmessage_ : *default_instance().gamespectatorjoinedmessage_; +#else + return gamespectatorjoinedmessage_ != NULL ? *gamespectatorjoinedmessage_ : *default_instance_->gamespectatorjoinedmessage_; +#endif +} +inline ::GameSpectatorJoinedMessage* GameManagementMessage::mutable_gamespectatorjoinedmessage() { + set_has_gamespectatorjoinedmessage(); + if (gamespectatorjoinedmessage_ == NULL) gamespectatorjoinedmessage_ = new ::GameSpectatorJoinedMessage; + return gamespectatorjoinedmessage_; +} +inline ::GameSpectatorJoinedMessage* GameManagementMessage::release_gamespectatorjoinedmessage() { + clear_has_gamespectatorjoinedmessage(); + ::GameSpectatorJoinedMessage* temp = gamespectatorjoinedmessage_; + gamespectatorjoinedmessage_ = NULL; + return temp; +} +inline void GameManagementMessage::set_allocated_gamespectatorjoinedmessage(::GameSpectatorJoinedMessage* gamespectatorjoinedmessage) { + delete gamespectatorjoinedmessage_; + gamespectatorjoinedmessage_ = gamespectatorjoinedmessage; + if (gamespectatorjoinedmessage) { + set_has_gamespectatorjoinedmessage(); + } else { + clear_has_gamespectatorjoinedmessage(); + } +} + +// optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 9; +inline bool GameManagementMessage::has_gamespectatorleftmessage() const { + return (_has_bits_[0] & 0x00000100u) != 0; +} +inline void GameManagementMessage::set_has_gamespectatorleftmessage() { + _has_bits_[0] |= 0x00000100u; +} +inline void GameManagementMessage::clear_has_gamespectatorleftmessage() { + _has_bits_[0] &= ~0x00000100u; +} +inline void GameManagementMessage::clear_gamespectatorleftmessage() { + if (gamespectatorleftmessage_ != NULL) gamespectatorleftmessage_->::GameSpectatorLeftMessage::Clear(); + clear_has_gamespectatorleftmessage(); +} +inline const ::GameSpectatorLeftMessage& GameManagementMessage::gamespectatorleftmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return gamespectatorleftmessage_ != NULL ? *gamespectatorleftmessage_ : *default_instance().gamespectatorleftmessage_; +#else + return gamespectatorleftmessage_ != NULL ? *gamespectatorleftmessage_ : *default_instance_->gamespectatorleftmessage_; +#endif +} +inline ::GameSpectatorLeftMessage* GameManagementMessage::mutable_gamespectatorleftmessage() { + set_has_gamespectatorleftmessage(); + if (gamespectatorleftmessage_ == NULL) gamespectatorleftmessage_ = new ::GameSpectatorLeftMessage; + return gamespectatorleftmessage_; +} +inline ::GameSpectatorLeftMessage* GameManagementMessage::release_gamespectatorleftmessage() { + clear_has_gamespectatorleftmessage(); + ::GameSpectatorLeftMessage* temp = gamespectatorleftmessage_; + gamespectatorleftmessage_ = NULL; + return temp; +} +inline void GameManagementMessage::set_allocated_gamespectatorleftmessage(::GameSpectatorLeftMessage* gamespectatorleftmessage) { + delete gamespectatorleftmessage_; + gamespectatorleftmessage_ = gamespectatorleftmessage; + if (gamespectatorleftmessage) { + set_has_gamespectatorleftmessage(); + } else { + clear_has_gamespectatorleftmessage(); + } +} + +// optional .GameAdminChangedMessage gameAdminChangedMessage = 10; +inline bool GameManagementMessage::has_gameadminchangedmessage() const { + return (_has_bits_[0] & 0x00000200u) != 0; +} +inline void GameManagementMessage::set_has_gameadminchangedmessage() { + _has_bits_[0] |= 0x00000200u; +} +inline void GameManagementMessage::clear_has_gameadminchangedmessage() { + _has_bits_[0] &= ~0x00000200u; +} +inline void GameManagementMessage::clear_gameadminchangedmessage() { + if (gameadminchangedmessage_ != NULL) gameadminchangedmessage_->::GameAdminChangedMessage::Clear(); + clear_has_gameadminchangedmessage(); +} +inline const ::GameAdminChangedMessage& GameManagementMessage::gameadminchangedmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return gameadminchangedmessage_ != NULL ? *gameadminchangedmessage_ : *default_instance().gameadminchangedmessage_; +#else + return gameadminchangedmessage_ != NULL ? *gameadminchangedmessage_ : *default_instance_->gameadminchangedmessage_; +#endif +} +inline ::GameAdminChangedMessage* GameManagementMessage::mutable_gameadminchangedmessage() { + set_has_gameadminchangedmessage(); + if (gameadminchangedmessage_ == NULL) gameadminchangedmessage_ = new ::GameAdminChangedMessage; + return gameadminchangedmessage_; +} +inline ::GameAdminChangedMessage* GameManagementMessage::release_gameadminchangedmessage() { + clear_has_gameadminchangedmessage(); + ::GameAdminChangedMessage* temp = gameadminchangedmessage_; + gameadminchangedmessage_ = NULL; + return temp; +} +inline void GameManagementMessage::set_allocated_gameadminchangedmessage(::GameAdminChangedMessage* gameadminchangedmessage) { + delete gameadminchangedmessage_; + gameadminchangedmessage_ = gameadminchangedmessage; + if (gameadminchangedmessage) { + set_has_gameadminchangedmessage(); + } else { + clear_has_gameadminchangedmessage(); + } +} + +// optional .RemovedFromGameMessage removedFromGameMessage = 11; +inline bool GameManagementMessage::has_removedfromgamemessage() const { + return (_has_bits_[0] & 0x00000400u) != 0; +} +inline void GameManagementMessage::set_has_removedfromgamemessage() { + _has_bits_[0] |= 0x00000400u; +} +inline void GameManagementMessage::clear_has_removedfromgamemessage() { + _has_bits_[0] &= ~0x00000400u; +} +inline void GameManagementMessage::clear_removedfromgamemessage() { + if (removedfromgamemessage_ != NULL) removedfromgamemessage_->::RemovedFromGameMessage::Clear(); + clear_has_removedfromgamemessage(); +} +inline const ::RemovedFromGameMessage& GameManagementMessage::removedfromgamemessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return removedfromgamemessage_ != NULL ? *removedfromgamemessage_ : *default_instance().removedfromgamemessage_; +#else + return removedfromgamemessage_ != NULL ? *removedfromgamemessage_ : *default_instance_->removedfromgamemessage_; +#endif +} +inline ::RemovedFromGameMessage* GameManagementMessage::mutable_removedfromgamemessage() { + set_has_removedfromgamemessage(); + if (removedfromgamemessage_ == NULL) removedfromgamemessage_ = new ::RemovedFromGameMessage; + return removedfromgamemessage_; +} +inline ::RemovedFromGameMessage* GameManagementMessage::release_removedfromgamemessage() { + clear_has_removedfromgamemessage(); + ::RemovedFromGameMessage* temp = removedfromgamemessage_; + removedfromgamemessage_ = NULL; + return temp; +} +inline void GameManagementMessage::set_allocated_removedfromgamemessage(::RemovedFromGameMessage* removedfromgamemessage) { + delete removedfromgamemessage_; + removedfromgamemessage_ = removedfromgamemessage; + if (removedfromgamemessage) { + set_has_removedfromgamemessage(); + } else { + clear_has_removedfromgamemessage(); + } +} + +// optional .KickPlayerRequestMessage kickPlayerRequestMessage = 12; +inline bool GameManagementMessage::has_kickplayerrequestmessage() const { + return (_has_bits_[0] & 0x00000800u) != 0; +} +inline void GameManagementMessage::set_has_kickplayerrequestmessage() { + _has_bits_[0] |= 0x00000800u; +} +inline void GameManagementMessage::clear_has_kickplayerrequestmessage() { + _has_bits_[0] &= ~0x00000800u; +} +inline void GameManagementMessage::clear_kickplayerrequestmessage() { + if (kickplayerrequestmessage_ != NULL) kickplayerrequestmessage_->::KickPlayerRequestMessage::Clear(); + clear_has_kickplayerrequestmessage(); +} +inline const ::KickPlayerRequestMessage& GameManagementMessage::kickplayerrequestmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return kickplayerrequestmessage_ != NULL ? *kickplayerrequestmessage_ : *default_instance().kickplayerrequestmessage_; +#else + return kickplayerrequestmessage_ != NULL ? *kickplayerrequestmessage_ : *default_instance_->kickplayerrequestmessage_; +#endif +} +inline ::KickPlayerRequestMessage* GameManagementMessage::mutable_kickplayerrequestmessage() { + set_has_kickplayerrequestmessage(); + if (kickplayerrequestmessage_ == NULL) kickplayerrequestmessage_ = new ::KickPlayerRequestMessage; + return kickplayerrequestmessage_; +} +inline ::KickPlayerRequestMessage* GameManagementMessage::release_kickplayerrequestmessage() { + clear_has_kickplayerrequestmessage(); + ::KickPlayerRequestMessage* temp = kickplayerrequestmessage_; + kickplayerrequestmessage_ = NULL; + return temp; +} +inline void GameManagementMessage::set_allocated_kickplayerrequestmessage(::KickPlayerRequestMessage* kickplayerrequestmessage) { + delete kickplayerrequestmessage_; + kickplayerrequestmessage_ = kickplayerrequestmessage; + if (kickplayerrequestmessage) { + set_has_kickplayerrequestmessage(); + } else { + clear_has_kickplayerrequestmessage(); + } +} + +// optional .LeaveGameRequestMessage leaveGameRequestMessage = 13; +inline bool GameManagementMessage::has_leavegamerequestmessage() const { + return (_has_bits_[0] & 0x00001000u) != 0; +} +inline void GameManagementMessage::set_has_leavegamerequestmessage() { + _has_bits_[0] |= 0x00001000u; +} +inline void GameManagementMessage::clear_has_leavegamerequestmessage() { + _has_bits_[0] &= ~0x00001000u; +} +inline void GameManagementMessage::clear_leavegamerequestmessage() { + if (leavegamerequestmessage_ != NULL) leavegamerequestmessage_->::LeaveGameRequestMessage::Clear(); + clear_has_leavegamerequestmessage(); +} +inline const ::LeaveGameRequestMessage& GameManagementMessage::leavegamerequestmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return leavegamerequestmessage_ != NULL ? *leavegamerequestmessage_ : *default_instance().leavegamerequestmessage_; +#else + return leavegamerequestmessage_ != NULL ? *leavegamerequestmessage_ : *default_instance_->leavegamerequestmessage_; +#endif +} +inline ::LeaveGameRequestMessage* GameManagementMessage::mutable_leavegamerequestmessage() { + set_has_leavegamerequestmessage(); + if (leavegamerequestmessage_ == NULL) leavegamerequestmessage_ = new ::LeaveGameRequestMessage; + return leavegamerequestmessage_; +} +inline ::LeaveGameRequestMessage* GameManagementMessage::release_leavegamerequestmessage() { + clear_has_leavegamerequestmessage(); + ::LeaveGameRequestMessage* temp = leavegamerequestmessage_; + leavegamerequestmessage_ = NULL; + return temp; +} +inline void GameManagementMessage::set_allocated_leavegamerequestmessage(::LeaveGameRequestMessage* leavegamerequestmessage) { + delete leavegamerequestmessage_; + leavegamerequestmessage_ = leavegamerequestmessage; + if (leavegamerequestmessage) { + set_has_leavegamerequestmessage(); + } else { + clear_has_leavegamerequestmessage(); + } +} + +// optional .StartEventMessage startEventMessage = 14; +inline bool GameManagementMessage::has_starteventmessage() const { + return (_has_bits_[0] & 0x00002000u) != 0; +} +inline void GameManagementMessage::set_has_starteventmessage() { + _has_bits_[0] |= 0x00002000u; +} +inline void GameManagementMessage::clear_has_starteventmessage() { + _has_bits_[0] &= ~0x00002000u; +} +inline void GameManagementMessage::clear_starteventmessage() { + if (starteventmessage_ != NULL) starteventmessage_->::StartEventMessage::Clear(); + clear_has_starteventmessage(); +} +inline const ::StartEventMessage& GameManagementMessage::starteventmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return starteventmessage_ != NULL ? *starteventmessage_ : *default_instance().starteventmessage_; +#else + return starteventmessage_ != NULL ? *starteventmessage_ : *default_instance_->starteventmessage_; +#endif +} +inline ::StartEventMessage* GameManagementMessage::mutable_starteventmessage() { + set_has_starteventmessage(); + if (starteventmessage_ == NULL) starteventmessage_ = new ::StartEventMessage; + return starteventmessage_; +} +inline ::StartEventMessage* GameManagementMessage::release_starteventmessage() { + clear_has_starteventmessage(); + ::StartEventMessage* temp = starteventmessage_; + starteventmessage_ = NULL; + return temp; +} +inline void GameManagementMessage::set_allocated_starteventmessage(::StartEventMessage* starteventmessage) { + delete starteventmessage_; + starteventmessage_ = starteventmessage; + if (starteventmessage) { + set_has_starteventmessage(); + } else { + clear_has_starteventmessage(); + } +} + +// optional .StartEventAckMessage startEventAckMessage = 15; +inline bool GameManagementMessage::has_starteventackmessage() const { + return (_has_bits_[0] & 0x00004000u) != 0; +} +inline void GameManagementMessage::set_has_starteventackmessage() { + _has_bits_[0] |= 0x00004000u; +} +inline void GameManagementMessage::clear_has_starteventackmessage() { + _has_bits_[0] &= ~0x00004000u; +} +inline void GameManagementMessage::clear_starteventackmessage() { + if (starteventackmessage_ != NULL) starteventackmessage_->::StartEventAckMessage::Clear(); + clear_has_starteventackmessage(); +} +inline const ::StartEventAckMessage& GameManagementMessage::starteventackmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return starteventackmessage_ != NULL ? *starteventackmessage_ : *default_instance().starteventackmessage_; +#else + return starteventackmessage_ != NULL ? *starteventackmessage_ : *default_instance_->starteventackmessage_; +#endif +} +inline ::StartEventAckMessage* GameManagementMessage::mutable_starteventackmessage() { + set_has_starteventackmessage(); + if (starteventackmessage_ == NULL) starteventackmessage_ = new ::StartEventAckMessage; + return starteventackmessage_; +} +inline ::StartEventAckMessage* GameManagementMessage::release_starteventackmessage() { + clear_has_starteventackmessage(); + ::StartEventAckMessage* temp = starteventackmessage_; + starteventackmessage_ = NULL; + return temp; +} +inline void GameManagementMessage::set_allocated_starteventackmessage(::StartEventAckMessage* starteventackmessage) { + delete starteventackmessage_; + starteventackmessage_ = starteventackmessage; + if (starteventackmessage) { + set_has_starteventackmessage(); + } else { + clear_has_starteventackmessage(); + } +} + +// optional .GameStartInitialMessage gameStartInitialMessage = 16; +inline bool GameManagementMessage::has_gamestartinitialmessage() const { + return (_has_bits_[0] & 0x00008000u) != 0; +} +inline void GameManagementMessage::set_has_gamestartinitialmessage() { + _has_bits_[0] |= 0x00008000u; +} +inline void GameManagementMessage::clear_has_gamestartinitialmessage() { + _has_bits_[0] &= ~0x00008000u; +} +inline void GameManagementMessage::clear_gamestartinitialmessage() { + if (gamestartinitialmessage_ != NULL) gamestartinitialmessage_->::GameStartInitialMessage::Clear(); + clear_has_gamestartinitialmessage(); +} +inline const ::GameStartInitialMessage& GameManagementMessage::gamestartinitialmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return gamestartinitialmessage_ != NULL ? *gamestartinitialmessage_ : *default_instance().gamestartinitialmessage_; +#else + return gamestartinitialmessage_ != NULL ? *gamestartinitialmessage_ : *default_instance_->gamestartinitialmessage_; +#endif +} +inline ::GameStartInitialMessage* GameManagementMessage::mutable_gamestartinitialmessage() { + set_has_gamestartinitialmessage(); + if (gamestartinitialmessage_ == NULL) gamestartinitialmessage_ = new ::GameStartInitialMessage; + return gamestartinitialmessage_; +} +inline ::GameStartInitialMessage* GameManagementMessage::release_gamestartinitialmessage() { + clear_has_gamestartinitialmessage(); + ::GameStartInitialMessage* temp = gamestartinitialmessage_; + gamestartinitialmessage_ = NULL; + return temp; +} +inline void GameManagementMessage::set_allocated_gamestartinitialmessage(::GameStartInitialMessage* gamestartinitialmessage) { + delete gamestartinitialmessage_; + gamestartinitialmessage_ = gamestartinitialmessage; + if (gamestartinitialmessage) { + set_has_gamestartinitialmessage(); + } else { + clear_has_gamestartinitialmessage(); + } +} + +// optional .GameStartRejoinMessage gameStartRejoinMessage = 17; +inline bool GameManagementMessage::has_gamestartrejoinmessage() const { + return (_has_bits_[0] & 0x00010000u) != 0; +} +inline void GameManagementMessage::set_has_gamestartrejoinmessage() { + _has_bits_[0] |= 0x00010000u; +} +inline void GameManagementMessage::clear_has_gamestartrejoinmessage() { + _has_bits_[0] &= ~0x00010000u; +} +inline void GameManagementMessage::clear_gamestartrejoinmessage() { + if (gamestartrejoinmessage_ != NULL) gamestartrejoinmessage_->::GameStartRejoinMessage::Clear(); + clear_has_gamestartrejoinmessage(); +} +inline const ::GameStartRejoinMessage& GameManagementMessage::gamestartrejoinmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return gamestartrejoinmessage_ != NULL ? *gamestartrejoinmessage_ : *default_instance().gamestartrejoinmessage_; +#else + return gamestartrejoinmessage_ != NULL ? *gamestartrejoinmessage_ : *default_instance_->gamestartrejoinmessage_; +#endif +} +inline ::GameStartRejoinMessage* GameManagementMessage::mutable_gamestartrejoinmessage() { + set_has_gamestartrejoinmessage(); + if (gamestartrejoinmessage_ == NULL) gamestartrejoinmessage_ = new ::GameStartRejoinMessage; + return gamestartrejoinmessage_; +} +inline ::GameStartRejoinMessage* GameManagementMessage::release_gamestartrejoinmessage() { + clear_has_gamestartrejoinmessage(); + ::GameStartRejoinMessage* temp = gamestartrejoinmessage_; + gamestartrejoinmessage_ = NULL; + return temp; +} +inline void GameManagementMessage::set_allocated_gamestartrejoinmessage(::GameStartRejoinMessage* gamestartrejoinmessage) { + delete gamestartrejoinmessage_; + gamestartrejoinmessage_ = gamestartrejoinmessage; + if (gamestartrejoinmessage) { + set_has_gamestartrejoinmessage(); + } else { + clear_has_gamestartrejoinmessage(); + } +} + +// optional .EndOfGameMessage endOfGameMessage = 18; +inline bool GameManagementMessage::has_endofgamemessage() const { + return (_has_bits_[0] & 0x00020000u) != 0; +} +inline void GameManagementMessage::set_has_endofgamemessage() { + _has_bits_[0] |= 0x00020000u; +} +inline void GameManagementMessage::clear_has_endofgamemessage() { + _has_bits_[0] &= ~0x00020000u; +} +inline void GameManagementMessage::clear_endofgamemessage() { + if (endofgamemessage_ != NULL) endofgamemessage_->::EndOfGameMessage::Clear(); + clear_has_endofgamemessage(); +} +inline const ::EndOfGameMessage& GameManagementMessage::endofgamemessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return endofgamemessage_ != NULL ? *endofgamemessage_ : *default_instance().endofgamemessage_; +#else + return endofgamemessage_ != NULL ? *endofgamemessage_ : *default_instance_->endofgamemessage_; +#endif +} +inline ::EndOfGameMessage* GameManagementMessage::mutable_endofgamemessage() { + set_has_endofgamemessage(); + if (endofgamemessage_ == NULL) endofgamemessage_ = new ::EndOfGameMessage; + return endofgamemessage_; +} +inline ::EndOfGameMessage* GameManagementMessage::release_endofgamemessage() { + clear_has_endofgamemessage(); + ::EndOfGameMessage* temp = endofgamemessage_; + endofgamemessage_ = NULL; + return temp; +} +inline void GameManagementMessage::set_allocated_endofgamemessage(::EndOfGameMessage* endofgamemessage) { + delete endofgamemessage_; + endofgamemessage_ = endofgamemessage; + if (endofgamemessage) { + set_has_endofgamemessage(); + } else { + clear_has_endofgamemessage(); + } +} + +// optional .PlayerIdChangedMessage playerIdChangedMessage = 19; +inline bool GameManagementMessage::has_playeridchangedmessage() const { + return (_has_bits_[0] & 0x00040000u) != 0; +} +inline void GameManagementMessage::set_has_playeridchangedmessage() { + _has_bits_[0] |= 0x00040000u; +} +inline void GameManagementMessage::clear_has_playeridchangedmessage() { + _has_bits_[0] &= ~0x00040000u; +} +inline void GameManagementMessage::clear_playeridchangedmessage() { + if (playeridchangedmessage_ != NULL) playeridchangedmessage_->::PlayerIdChangedMessage::Clear(); + clear_has_playeridchangedmessage(); +} +inline const ::PlayerIdChangedMessage& GameManagementMessage::playeridchangedmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return playeridchangedmessage_ != NULL ? *playeridchangedmessage_ : *default_instance().playeridchangedmessage_; +#else + return playeridchangedmessage_ != NULL ? *playeridchangedmessage_ : *default_instance_->playeridchangedmessage_; +#endif +} +inline ::PlayerIdChangedMessage* GameManagementMessage::mutable_playeridchangedmessage() { + set_has_playeridchangedmessage(); + if (playeridchangedmessage_ == NULL) playeridchangedmessage_ = new ::PlayerIdChangedMessage; + return playeridchangedmessage_; +} +inline ::PlayerIdChangedMessage* GameManagementMessage::release_playeridchangedmessage() { + clear_has_playeridchangedmessage(); + ::PlayerIdChangedMessage* temp = playeridchangedmessage_; + playeridchangedmessage_ = NULL; + return temp; +} +inline void GameManagementMessage::set_allocated_playeridchangedmessage(::PlayerIdChangedMessage* playeridchangedmessage) { + delete playeridchangedmessage_; + playeridchangedmessage_ = playeridchangedmessage; + if (playeridchangedmessage) { + set_has_playeridchangedmessage(); + } else { + clear_has_playeridchangedmessage(); + } +} + +// optional .AskKickPlayerMessage askKickPlayerMessage = 20; +inline bool GameManagementMessage::has_askkickplayermessage() const { + return (_has_bits_[0] & 0x00080000u) != 0; +} +inline void GameManagementMessage::set_has_askkickplayermessage() { + _has_bits_[0] |= 0x00080000u; +} +inline void GameManagementMessage::clear_has_askkickplayermessage() { + _has_bits_[0] &= ~0x00080000u; +} +inline void GameManagementMessage::clear_askkickplayermessage() { + if (askkickplayermessage_ != NULL) askkickplayermessage_->::AskKickPlayerMessage::Clear(); + clear_has_askkickplayermessage(); +} +inline const ::AskKickPlayerMessage& GameManagementMessage::askkickplayermessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return askkickplayermessage_ != NULL ? *askkickplayermessage_ : *default_instance().askkickplayermessage_; +#else + return askkickplayermessage_ != NULL ? *askkickplayermessage_ : *default_instance_->askkickplayermessage_; +#endif +} +inline ::AskKickPlayerMessage* GameManagementMessage::mutable_askkickplayermessage() { + set_has_askkickplayermessage(); + if (askkickplayermessage_ == NULL) askkickplayermessage_ = new ::AskKickPlayerMessage; + return askkickplayermessage_; +} +inline ::AskKickPlayerMessage* GameManagementMessage::release_askkickplayermessage() { + clear_has_askkickplayermessage(); + ::AskKickPlayerMessage* temp = askkickplayermessage_; + askkickplayermessage_ = NULL; + return temp; +} +inline void GameManagementMessage::set_allocated_askkickplayermessage(::AskKickPlayerMessage* askkickplayermessage) { + delete askkickplayermessage_; + askkickplayermessage_ = askkickplayermessage; + if (askkickplayermessage) { + set_has_askkickplayermessage(); + } else { + clear_has_askkickplayermessage(); + } +} + +// optional .AskKickDeniedMessage askKickDeniedMessage = 21; +inline bool GameManagementMessage::has_askkickdeniedmessage() const { + return (_has_bits_[0] & 0x00100000u) != 0; +} +inline void GameManagementMessage::set_has_askkickdeniedmessage() { + _has_bits_[0] |= 0x00100000u; +} +inline void GameManagementMessage::clear_has_askkickdeniedmessage() { + _has_bits_[0] &= ~0x00100000u; +} +inline void GameManagementMessage::clear_askkickdeniedmessage() { + if (askkickdeniedmessage_ != NULL) askkickdeniedmessage_->::AskKickDeniedMessage::Clear(); + clear_has_askkickdeniedmessage(); +} +inline const ::AskKickDeniedMessage& GameManagementMessage::askkickdeniedmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return askkickdeniedmessage_ != NULL ? *askkickdeniedmessage_ : *default_instance().askkickdeniedmessage_; +#else + return askkickdeniedmessage_ != NULL ? *askkickdeniedmessage_ : *default_instance_->askkickdeniedmessage_; +#endif +} +inline ::AskKickDeniedMessage* GameManagementMessage::mutable_askkickdeniedmessage() { + set_has_askkickdeniedmessage(); + if (askkickdeniedmessage_ == NULL) askkickdeniedmessage_ = new ::AskKickDeniedMessage; + return askkickdeniedmessage_; +} +inline ::AskKickDeniedMessage* GameManagementMessage::release_askkickdeniedmessage() { + clear_has_askkickdeniedmessage(); + ::AskKickDeniedMessage* temp = askkickdeniedmessage_; + askkickdeniedmessage_ = NULL; + return temp; +} +inline void GameManagementMessage::set_allocated_askkickdeniedmessage(::AskKickDeniedMessage* askkickdeniedmessage) { + delete askkickdeniedmessage_; + askkickdeniedmessage_ = askkickdeniedmessage; + if (askkickdeniedmessage) { + set_has_askkickdeniedmessage(); + } else { + clear_has_askkickdeniedmessage(); + } +} + +// optional .StartKickPetitionMessage startKickPetitionMessage = 22; +inline bool GameManagementMessage::has_startkickpetitionmessage() const { + return (_has_bits_[0] & 0x00200000u) != 0; +} +inline void GameManagementMessage::set_has_startkickpetitionmessage() { + _has_bits_[0] |= 0x00200000u; +} +inline void GameManagementMessage::clear_has_startkickpetitionmessage() { + _has_bits_[0] &= ~0x00200000u; +} +inline void GameManagementMessage::clear_startkickpetitionmessage() { + if (startkickpetitionmessage_ != NULL) startkickpetitionmessage_->::StartKickPetitionMessage::Clear(); + clear_has_startkickpetitionmessage(); +} +inline const ::StartKickPetitionMessage& GameManagementMessage::startkickpetitionmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return startkickpetitionmessage_ != NULL ? *startkickpetitionmessage_ : *default_instance().startkickpetitionmessage_; +#else + return startkickpetitionmessage_ != NULL ? *startkickpetitionmessage_ : *default_instance_->startkickpetitionmessage_; +#endif +} +inline ::StartKickPetitionMessage* GameManagementMessage::mutable_startkickpetitionmessage() { + set_has_startkickpetitionmessage(); + if (startkickpetitionmessage_ == NULL) startkickpetitionmessage_ = new ::StartKickPetitionMessage; + return startkickpetitionmessage_; +} +inline ::StartKickPetitionMessage* GameManagementMessage::release_startkickpetitionmessage() { + clear_has_startkickpetitionmessage(); + ::StartKickPetitionMessage* temp = startkickpetitionmessage_; + startkickpetitionmessage_ = NULL; + return temp; +} +inline void GameManagementMessage::set_allocated_startkickpetitionmessage(::StartKickPetitionMessage* startkickpetitionmessage) { + delete startkickpetitionmessage_; + startkickpetitionmessage_ = startkickpetitionmessage; + if (startkickpetitionmessage) { + set_has_startkickpetitionmessage(); + } else { + clear_has_startkickpetitionmessage(); + } +} + +// optional .VoteKickRequestMessage voteKickRequestMessage = 23; +inline bool GameManagementMessage::has_votekickrequestmessage() const { + return (_has_bits_[0] & 0x00400000u) != 0; +} +inline void GameManagementMessage::set_has_votekickrequestmessage() { + _has_bits_[0] |= 0x00400000u; +} +inline void GameManagementMessage::clear_has_votekickrequestmessage() { + _has_bits_[0] &= ~0x00400000u; +} +inline void GameManagementMessage::clear_votekickrequestmessage() { + if (votekickrequestmessage_ != NULL) votekickrequestmessage_->::VoteKickRequestMessage::Clear(); + clear_has_votekickrequestmessage(); +} +inline const ::VoteKickRequestMessage& GameManagementMessage::votekickrequestmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return votekickrequestmessage_ != NULL ? *votekickrequestmessage_ : *default_instance().votekickrequestmessage_; +#else + return votekickrequestmessage_ != NULL ? *votekickrequestmessage_ : *default_instance_->votekickrequestmessage_; +#endif +} +inline ::VoteKickRequestMessage* GameManagementMessage::mutable_votekickrequestmessage() { + set_has_votekickrequestmessage(); + if (votekickrequestmessage_ == NULL) votekickrequestmessage_ = new ::VoteKickRequestMessage; + return votekickrequestmessage_; +} +inline ::VoteKickRequestMessage* GameManagementMessage::release_votekickrequestmessage() { + clear_has_votekickrequestmessage(); + ::VoteKickRequestMessage* temp = votekickrequestmessage_; + votekickrequestmessage_ = NULL; + return temp; +} +inline void GameManagementMessage::set_allocated_votekickrequestmessage(::VoteKickRequestMessage* votekickrequestmessage) { + delete votekickrequestmessage_; + votekickrequestmessage_ = votekickrequestmessage; + if (votekickrequestmessage) { + set_has_votekickrequestmessage(); + } else { + clear_has_votekickrequestmessage(); + } +} + +// optional .VoteKickReplyMessage voteKickReplyMessage = 24; +inline bool GameManagementMessage::has_votekickreplymessage() const { + return (_has_bits_[0] & 0x00800000u) != 0; +} +inline void GameManagementMessage::set_has_votekickreplymessage() { + _has_bits_[0] |= 0x00800000u; +} +inline void GameManagementMessage::clear_has_votekickreplymessage() { + _has_bits_[0] &= ~0x00800000u; +} +inline void GameManagementMessage::clear_votekickreplymessage() { + if (votekickreplymessage_ != NULL) votekickreplymessage_->::VoteKickReplyMessage::Clear(); + clear_has_votekickreplymessage(); +} +inline const ::VoteKickReplyMessage& GameManagementMessage::votekickreplymessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return votekickreplymessage_ != NULL ? *votekickreplymessage_ : *default_instance().votekickreplymessage_; +#else + return votekickreplymessage_ != NULL ? *votekickreplymessage_ : *default_instance_->votekickreplymessage_; +#endif +} +inline ::VoteKickReplyMessage* GameManagementMessage::mutable_votekickreplymessage() { + set_has_votekickreplymessage(); + if (votekickreplymessage_ == NULL) votekickreplymessage_ = new ::VoteKickReplyMessage; + return votekickreplymessage_; +} +inline ::VoteKickReplyMessage* GameManagementMessage::release_votekickreplymessage() { + clear_has_votekickreplymessage(); + ::VoteKickReplyMessage* temp = votekickreplymessage_; + votekickreplymessage_ = NULL; + return temp; +} +inline void GameManagementMessage::set_allocated_votekickreplymessage(::VoteKickReplyMessage* votekickreplymessage) { + delete votekickreplymessage_; + votekickreplymessage_ = votekickreplymessage; + if (votekickreplymessage) { + set_has_votekickreplymessage(); + } else { + clear_has_votekickreplymessage(); + } +} + +// optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 25; +inline bool GameManagementMessage::has_kickpetitionupdatemessage() const { + return (_has_bits_[0] & 0x01000000u) != 0; +} +inline void GameManagementMessage::set_has_kickpetitionupdatemessage() { + _has_bits_[0] |= 0x01000000u; +} +inline void GameManagementMessage::clear_has_kickpetitionupdatemessage() { + _has_bits_[0] &= ~0x01000000u; +} +inline void GameManagementMessage::clear_kickpetitionupdatemessage() { + if (kickpetitionupdatemessage_ != NULL) kickpetitionupdatemessage_->::KickPetitionUpdateMessage::Clear(); + clear_has_kickpetitionupdatemessage(); +} +inline const ::KickPetitionUpdateMessage& GameManagementMessage::kickpetitionupdatemessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return kickpetitionupdatemessage_ != NULL ? *kickpetitionupdatemessage_ : *default_instance().kickpetitionupdatemessage_; +#else + return kickpetitionupdatemessage_ != NULL ? *kickpetitionupdatemessage_ : *default_instance_->kickpetitionupdatemessage_; +#endif +} +inline ::KickPetitionUpdateMessage* GameManagementMessage::mutable_kickpetitionupdatemessage() { + set_has_kickpetitionupdatemessage(); + if (kickpetitionupdatemessage_ == NULL) kickpetitionupdatemessage_ = new ::KickPetitionUpdateMessage; + return kickpetitionupdatemessage_; +} +inline ::KickPetitionUpdateMessage* GameManagementMessage::release_kickpetitionupdatemessage() { + clear_has_kickpetitionupdatemessage(); + ::KickPetitionUpdateMessage* temp = kickpetitionupdatemessage_; + kickpetitionupdatemessage_ = NULL; + return temp; +} +inline void GameManagementMessage::set_allocated_kickpetitionupdatemessage(::KickPetitionUpdateMessage* kickpetitionupdatemessage) { + delete kickpetitionupdatemessage_; + kickpetitionupdatemessage_ = kickpetitionupdatemessage; + if (kickpetitionupdatemessage) { + set_has_kickpetitionupdatemessage(); + } else { + clear_has_kickpetitionupdatemessage(); + } +} + +// optional .EndKickPetitionMessage endKickPetitionMessage = 26; +inline bool GameManagementMessage::has_endkickpetitionmessage() const { + return (_has_bits_[0] & 0x02000000u) != 0; +} +inline void GameManagementMessage::set_has_endkickpetitionmessage() { + _has_bits_[0] |= 0x02000000u; +} +inline void GameManagementMessage::clear_has_endkickpetitionmessage() { + _has_bits_[0] &= ~0x02000000u; +} +inline void GameManagementMessage::clear_endkickpetitionmessage() { + if (endkickpetitionmessage_ != NULL) endkickpetitionmessage_->::EndKickPetitionMessage::Clear(); + clear_has_endkickpetitionmessage(); +} +inline const ::EndKickPetitionMessage& GameManagementMessage::endkickpetitionmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return endkickpetitionmessage_ != NULL ? *endkickpetitionmessage_ : *default_instance().endkickpetitionmessage_; +#else + return endkickpetitionmessage_ != NULL ? *endkickpetitionmessage_ : *default_instance_->endkickpetitionmessage_; +#endif +} +inline ::EndKickPetitionMessage* GameManagementMessage::mutable_endkickpetitionmessage() { + set_has_endkickpetitionmessage(); + if (endkickpetitionmessage_ == NULL) endkickpetitionmessage_ = new ::EndKickPetitionMessage; + return endkickpetitionmessage_; +} +inline ::EndKickPetitionMessage* GameManagementMessage::release_endkickpetitionmessage() { + clear_has_endkickpetitionmessage(); + ::EndKickPetitionMessage* temp = endkickpetitionmessage_; + endkickpetitionmessage_ = NULL; + return temp; +} +inline void GameManagementMessage::set_allocated_endkickpetitionmessage(::EndKickPetitionMessage* endkickpetitionmessage) { + delete endkickpetitionmessage_; + endkickpetitionmessage_ = endkickpetitionmessage; + if (endkickpetitionmessage) { + set_has_endkickpetitionmessage(); + } else { + clear_has_endkickpetitionmessage(); + } +} + +// optional .ChatRequestMessage chatRequestMessage = 27; +inline bool GameManagementMessage::has_chatrequestmessage() const { + return (_has_bits_[0] & 0x04000000u) != 0; +} +inline void GameManagementMessage::set_has_chatrequestmessage() { + _has_bits_[0] |= 0x04000000u; +} +inline void GameManagementMessage::clear_has_chatrequestmessage() { + _has_bits_[0] &= ~0x04000000u; +} +inline void GameManagementMessage::clear_chatrequestmessage() { + if (chatrequestmessage_ != NULL) chatrequestmessage_->::ChatRequestMessage::Clear(); + clear_has_chatrequestmessage(); +} +inline const ::ChatRequestMessage& GameManagementMessage::chatrequestmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return chatrequestmessage_ != NULL ? *chatrequestmessage_ : *default_instance().chatrequestmessage_; +#else + return chatrequestmessage_ != NULL ? *chatrequestmessage_ : *default_instance_->chatrequestmessage_; +#endif +} +inline ::ChatRequestMessage* GameManagementMessage::mutable_chatrequestmessage() { + set_has_chatrequestmessage(); + if (chatrequestmessage_ == NULL) chatrequestmessage_ = new ::ChatRequestMessage; + return chatrequestmessage_; +} +inline ::ChatRequestMessage* GameManagementMessage::release_chatrequestmessage() { + clear_has_chatrequestmessage(); + ::ChatRequestMessage* temp = chatrequestmessage_; + chatrequestmessage_ = NULL; + return temp; +} +inline void GameManagementMessage::set_allocated_chatrequestmessage(::ChatRequestMessage* chatrequestmessage) { + delete chatrequestmessage_; + chatrequestmessage_ = chatrequestmessage; + if (chatrequestmessage) { + set_has_chatrequestmessage(); + } else { + clear_has_chatrequestmessage(); + } +} + +// optional .ChatMessage chatMessage = 28; +inline bool GameManagementMessage::has_chatmessage() const { + return (_has_bits_[0] & 0x08000000u) != 0; +} +inline void GameManagementMessage::set_has_chatmessage() { + _has_bits_[0] |= 0x08000000u; +} +inline void GameManagementMessage::clear_has_chatmessage() { + _has_bits_[0] &= ~0x08000000u; +} +inline void GameManagementMessage::clear_chatmessage() { + if (chatmessage_ != NULL) chatmessage_->::ChatMessage::Clear(); + clear_has_chatmessage(); +} +inline const ::ChatMessage& GameManagementMessage::chatmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return chatmessage_ != NULL ? *chatmessage_ : *default_instance().chatmessage_; +#else + return chatmessage_ != NULL ? *chatmessage_ : *default_instance_->chatmessage_; +#endif +} +inline ::ChatMessage* GameManagementMessage::mutable_chatmessage() { + set_has_chatmessage(); + if (chatmessage_ == NULL) chatmessage_ = new ::ChatMessage; + return chatmessage_; +} +inline ::ChatMessage* GameManagementMessage::release_chatmessage() { + clear_has_chatmessage(); + ::ChatMessage* temp = chatmessage_; + chatmessage_ = NULL; + return temp; +} +inline void GameManagementMessage::set_allocated_chatmessage(::ChatMessage* chatmessage) { + delete chatmessage_; + chatmessage_ = chatmessage; + if (chatmessage) { + set_has_chatmessage(); + } else { + clear_has_chatmessage(); + } +} + +// optional .ChatRejectMessage chatRejectMessage = 29; +inline bool GameManagementMessage::has_chatrejectmessage() const { + return (_has_bits_[0] & 0x10000000u) != 0; +} +inline void GameManagementMessage::set_has_chatrejectmessage() { + _has_bits_[0] |= 0x10000000u; +} +inline void GameManagementMessage::clear_has_chatrejectmessage() { + _has_bits_[0] &= ~0x10000000u; +} +inline void GameManagementMessage::clear_chatrejectmessage() { + if (chatrejectmessage_ != NULL) chatrejectmessage_->::ChatRejectMessage::Clear(); + clear_has_chatrejectmessage(); +} +inline const ::ChatRejectMessage& GameManagementMessage::chatrejectmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return chatrejectmessage_ != NULL ? *chatrejectmessage_ : *default_instance().chatrejectmessage_; +#else + return chatrejectmessage_ != NULL ? *chatrejectmessage_ : *default_instance_->chatrejectmessage_; +#endif +} +inline ::ChatRejectMessage* GameManagementMessage::mutable_chatrejectmessage() { + set_has_chatrejectmessage(); + if (chatrejectmessage_ == NULL) chatrejectmessage_ = new ::ChatRejectMessage; + return chatrejectmessage_; +} +inline ::ChatRejectMessage* GameManagementMessage::release_chatrejectmessage() { + clear_has_chatrejectmessage(); + ::ChatRejectMessage* temp = chatrejectmessage_; + chatrejectmessage_ = NULL; + return temp; +} +inline void GameManagementMessage::set_allocated_chatrejectmessage(::ChatRejectMessage* chatrejectmessage) { + delete chatrejectmessage_; + chatrejectmessage_ = chatrejectmessage; + if (chatrejectmessage) { + set_has_chatrejectmessage(); + } else { + clear_has_chatrejectmessage(); + } +} + +// optional .ErrorMessage errorMessage = 1025; +inline bool GameManagementMessage::has_errormessage() const { + return (_has_bits_[0] & 0x20000000u) != 0; +} +inline void GameManagementMessage::set_has_errormessage() { + _has_bits_[0] |= 0x20000000u; +} +inline void GameManagementMessage::clear_has_errormessage() { + _has_bits_[0] &= ~0x20000000u; +} +inline void GameManagementMessage::clear_errormessage() { + if (errormessage_ != NULL) errormessage_->::ErrorMessage::Clear(); + clear_has_errormessage(); +} +inline const ::ErrorMessage& GameManagementMessage::errormessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return errormessage_ != NULL ? *errormessage_ : *default_instance().errormessage_; +#else + return errormessage_ != NULL ? *errormessage_ : *default_instance_->errormessage_; +#endif +} +inline ::ErrorMessage* GameManagementMessage::mutable_errormessage() { + set_has_errormessage(); + if (errormessage_ == NULL) errormessage_ = new ::ErrorMessage; + return errormessage_; +} +inline ::ErrorMessage* GameManagementMessage::release_errormessage() { + clear_has_errormessage(); + ::ErrorMessage* temp = errormessage_; + errormessage_ = NULL; + return temp; +} +inline void GameManagementMessage::set_allocated_errormessage(::ErrorMessage* errormessage) { + delete errormessage_; + errormessage_ = errormessage; + if (errormessage) { + set_has_errormessage(); + } else { + clear_has_errormessage(); + } +} + +// ------------------------------------------------------------------- + +// GameEngineMessage + +// required .GameEngineMessage.GameEngineMessageType messageType = 1; +inline bool GameEngineMessage::has_messagetype() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void GameEngineMessage::set_has_messagetype() { + _has_bits_[0] |= 0x00000001u; +} +inline void GameEngineMessage::clear_has_messagetype() { + _has_bits_[0] &= ~0x00000001u; +} +inline void GameEngineMessage::clear_messagetype() { + messagetype_ = 1; + clear_has_messagetype(); +} +inline ::GameEngineMessage_GameEngineMessageType GameEngineMessage::messagetype() const { + return static_cast< ::GameEngineMessage_GameEngineMessageType >(messagetype_); +} +inline void GameEngineMessage::set_messagetype(::GameEngineMessage_GameEngineMessageType value) { + assert(::GameEngineMessage_GameEngineMessageType_IsValid(value)); + set_has_messagetype(); + messagetype_ = value; +} + +// optional .HandStartMessage handStartMessage = 2; +inline bool GameEngineMessage::has_handstartmessage() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void GameEngineMessage::set_has_handstartmessage() { + _has_bits_[0] |= 0x00000002u; +} +inline void GameEngineMessage::clear_has_handstartmessage() { + _has_bits_[0] &= ~0x00000002u; +} +inline void GameEngineMessage::clear_handstartmessage() { + if (handstartmessage_ != NULL) handstartmessage_->::HandStartMessage::Clear(); + clear_has_handstartmessage(); +} +inline const ::HandStartMessage& GameEngineMessage::handstartmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return handstartmessage_ != NULL ? *handstartmessage_ : *default_instance().handstartmessage_; +#else + return handstartmessage_ != NULL ? *handstartmessage_ : *default_instance_->handstartmessage_; +#endif +} +inline ::HandStartMessage* GameEngineMessage::mutable_handstartmessage() { + set_has_handstartmessage(); + if (handstartmessage_ == NULL) handstartmessage_ = new ::HandStartMessage; + return handstartmessage_; +} +inline ::HandStartMessage* GameEngineMessage::release_handstartmessage() { + clear_has_handstartmessage(); + ::HandStartMessage* temp = handstartmessage_; + handstartmessage_ = NULL; + return temp; +} +inline void GameEngineMessage::set_allocated_handstartmessage(::HandStartMessage* handstartmessage) { + delete handstartmessage_; + handstartmessage_ = handstartmessage; + if (handstartmessage) { + set_has_handstartmessage(); + } else { + clear_has_handstartmessage(); + } +} + +// optional .PlayersTurnMessage playersTurnMessage = 3; +inline bool GameEngineMessage::has_playersturnmessage() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void GameEngineMessage::set_has_playersturnmessage() { + _has_bits_[0] |= 0x00000004u; +} +inline void GameEngineMessage::clear_has_playersturnmessage() { + _has_bits_[0] &= ~0x00000004u; +} +inline void GameEngineMessage::clear_playersturnmessage() { + if (playersturnmessage_ != NULL) playersturnmessage_->::PlayersTurnMessage::Clear(); + clear_has_playersturnmessage(); +} +inline const ::PlayersTurnMessage& GameEngineMessage::playersturnmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return playersturnmessage_ != NULL ? *playersturnmessage_ : *default_instance().playersturnmessage_; +#else + return playersturnmessage_ != NULL ? *playersturnmessage_ : *default_instance_->playersturnmessage_; +#endif +} +inline ::PlayersTurnMessage* GameEngineMessage::mutable_playersturnmessage() { + set_has_playersturnmessage(); + if (playersturnmessage_ == NULL) playersturnmessage_ = new ::PlayersTurnMessage; + return playersturnmessage_; +} +inline ::PlayersTurnMessage* GameEngineMessage::release_playersturnmessage() { + clear_has_playersturnmessage(); + ::PlayersTurnMessage* temp = playersturnmessage_; + playersturnmessage_ = NULL; + return temp; +} +inline void GameEngineMessage::set_allocated_playersturnmessage(::PlayersTurnMessage* playersturnmessage) { + delete playersturnmessage_; + playersturnmessage_ = playersturnmessage; + if (playersturnmessage) { + set_has_playersturnmessage(); + } else { + clear_has_playersturnmessage(); + } +} + +// optional .MyActionRequestMessage myActionRequestMessage = 4; +inline bool GameEngineMessage::has_myactionrequestmessage() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void GameEngineMessage::set_has_myactionrequestmessage() { + _has_bits_[0] |= 0x00000008u; +} +inline void GameEngineMessage::clear_has_myactionrequestmessage() { + _has_bits_[0] &= ~0x00000008u; +} +inline void GameEngineMessage::clear_myactionrequestmessage() { + if (myactionrequestmessage_ != NULL) myactionrequestmessage_->::MyActionRequestMessage::Clear(); + clear_has_myactionrequestmessage(); +} +inline const ::MyActionRequestMessage& GameEngineMessage::myactionrequestmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return myactionrequestmessage_ != NULL ? *myactionrequestmessage_ : *default_instance().myactionrequestmessage_; +#else + return myactionrequestmessage_ != NULL ? *myactionrequestmessage_ : *default_instance_->myactionrequestmessage_; +#endif +} +inline ::MyActionRequestMessage* GameEngineMessage::mutable_myactionrequestmessage() { + set_has_myactionrequestmessage(); + if (myactionrequestmessage_ == NULL) myactionrequestmessage_ = new ::MyActionRequestMessage; + return myactionrequestmessage_; +} +inline ::MyActionRequestMessage* GameEngineMessage::release_myactionrequestmessage() { + clear_has_myactionrequestmessage(); + ::MyActionRequestMessage* temp = myactionrequestmessage_; + myactionrequestmessage_ = NULL; + return temp; +} +inline void GameEngineMessage::set_allocated_myactionrequestmessage(::MyActionRequestMessage* myactionrequestmessage) { + delete myactionrequestmessage_; + myactionrequestmessage_ = myactionrequestmessage; + if (myactionrequestmessage) { + set_has_myactionrequestmessage(); + } else { + clear_has_myactionrequestmessage(); + } +} + +// optional .YourActionRejectedMessage yourActionRejectedMessage = 5; +inline bool GameEngineMessage::has_youractionrejectedmessage() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void GameEngineMessage::set_has_youractionrejectedmessage() { + _has_bits_[0] |= 0x00000010u; +} +inline void GameEngineMessage::clear_has_youractionrejectedmessage() { + _has_bits_[0] &= ~0x00000010u; +} +inline void GameEngineMessage::clear_youractionrejectedmessage() { + if (youractionrejectedmessage_ != NULL) youractionrejectedmessage_->::YourActionRejectedMessage::Clear(); + clear_has_youractionrejectedmessage(); +} +inline const ::YourActionRejectedMessage& GameEngineMessage::youractionrejectedmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return youractionrejectedmessage_ != NULL ? *youractionrejectedmessage_ : *default_instance().youractionrejectedmessage_; +#else + return youractionrejectedmessage_ != NULL ? *youractionrejectedmessage_ : *default_instance_->youractionrejectedmessage_; +#endif +} +inline ::YourActionRejectedMessage* GameEngineMessage::mutable_youractionrejectedmessage() { + set_has_youractionrejectedmessage(); + if (youractionrejectedmessage_ == NULL) youractionrejectedmessage_ = new ::YourActionRejectedMessage; + return youractionrejectedmessage_; +} +inline ::YourActionRejectedMessage* GameEngineMessage::release_youractionrejectedmessage() { + clear_has_youractionrejectedmessage(); + ::YourActionRejectedMessage* temp = youractionrejectedmessage_; + youractionrejectedmessage_ = NULL; + return temp; +} +inline void GameEngineMessage::set_allocated_youractionrejectedmessage(::YourActionRejectedMessage* youractionrejectedmessage) { + delete youractionrejectedmessage_; + youractionrejectedmessage_ = youractionrejectedmessage; + if (youractionrejectedmessage) { + set_has_youractionrejectedmessage(); + } else { + clear_has_youractionrejectedmessage(); + } +} + +// optional .PlayersActionDoneMessage playersActionDoneMessage = 6; +inline bool GameEngineMessage::has_playersactiondonemessage() const { + return (_has_bits_[0] & 0x00000020u) != 0; +} +inline void GameEngineMessage::set_has_playersactiondonemessage() { + _has_bits_[0] |= 0x00000020u; +} +inline void GameEngineMessage::clear_has_playersactiondonemessage() { + _has_bits_[0] &= ~0x00000020u; +} +inline void GameEngineMessage::clear_playersactiondonemessage() { + if (playersactiondonemessage_ != NULL) playersactiondonemessage_->::PlayersActionDoneMessage::Clear(); + clear_has_playersactiondonemessage(); +} +inline const ::PlayersActionDoneMessage& GameEngineMessage::playersactiondonemessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return playersactiondonemessage_ != NULL ? *playersactiondonemessage_ : *default_instance().playersactiondonemessage_; +#else + return playersactiondonemessage_ != NULL ? *playersactiondonemessage_ : *default_instance_->playersactiondonemessage_; +#endif +} +inline ::PlayersActionDoneMessage* GameEngineMessage::mutable_playersactiondonemessage() { + set_has_playersactiondonemessage(); + if (playersactiondonemessage_ == NULL) playersactiondonemessage_ = new ::PlayersActionDoneMessage; + return playersactiondonemessage_; +} +inline ::PlayersActionDoneMessage* GameEngineMessage::release_playersactiondonemessage() { + clear_has_playersactiondonemessage(); + ::PlayersActionDoneMessage* temp = playersactiondonemessage_; + playersactiondonemessage_ = NULL; + return temp; +} +inline void GameEngineMessage::set_allocated_playersactiondonemessage(::PlayersActionDoneMessage* playersactiondonemessage) { + delete playersactiondonemessage_; + playersactiondonemessage_ = playersactiondonemessage; + if (playersactiondonemessage) { + set_has_playersactiondonemessage(); + } else { + clear_has_playersactiondonemessage(); + } +} + +// optional .DealFlopCardsMessage dealFlopCardsMessage = 7; +inline bool GameEngineMessage::has_dealflopcardsmessage() const { + return (_has_bits_[0] & 0x00000040u) != 0; +} +inline void GameEngineMessage::set_has_dealflopcardsmessage() { + _has_bits_[0] |= 0x00000040u; +} +inline void GameEngineMessage::clear_has_dealflopcardsmessage() { + _has_bits_[0] &= ~0x00000040u; +} +inline void GameEngineMessage::clear_dealflopcardsmessage() { + if (dealflopcardsmessage_ != NULL) dealflopcardsmessage_->::DealFlopCardsMessage::Clear(); + clear_has_dealflopcardsmessage(); +} +inline const ::DealFlopCardsMessage& GameEngineMessage::dealflopcardsmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return dealflopcardsmessage_ != NULL ? *dealflopcardsmessage_ : *default_instance().dealflopcardsmessage_; +#else + return dealflopcardsmessage_ != NULL ? *dealflopcardsmessage_ : *default_instance_->dealflopcardsmessage_; +#endif +} +inline ::DealFlopCardsMessage* GameEngineMessage::mutable_dealflopcardsmessage() { + set_has_dealflopcardsmessage(); + if (dealflopcardsmessage_ == NULL) dealflopcardsmessage_ = new ::DealFlopCardsMessage; + return dealflopcardsmessage_; +} +inline ::DealFlopCardsMessage* GameEngineMessage::release_dealflopcardsmessage() { + clear_has_dealflopcardsmessage(); + ::DealFlopCardsMessage* temp = dealflopcardsmessage_; + dealflopcardsmessage_ = NULL; + return temp; +} +inline void GameEngineMessage::set_allocated_dealflopcardsmessage(::DealFlopCardsMessage* dealflopcardsmessage) { + delete dealflopcardsmessage_; + dealflopcardsmessage_ = dealflopcardsmessage; + if (dealflopcardsmessage) { + set_has_dealflopcardsmessage(); + } else { + clear_has_dealflopcardsmessage(); + } +} + +// optional .DealTurnCardMessage dealTurnCardMessage = 8; +inline bool GameEngineMessage::has_dealturncardmessage() const { + return (_has_bits_[0] & 0x00000080u) != 0; +} +inline void GameEngineMessage::set_has_dealturncardmessage() { + _has_bits_[0] |= 0x00000080u; +} +inline void GameEngineMessage::clear_has_dealturncardmessage() { + _has_bits_[0] &= ~0x00000080u; +} +inline void GameEngineMessage::clear_dealturncardmessage() { + if (dealturncardmessage_ != NULL) dealturncardmessage_->::DealTurnCardMessage::Clear(); + clear_has_dealturncardmessage(); +} +inline const ::DealTurnCardMessage& GameEngineMessage::dealturncardmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return dealturncardmessage_ != NULL ? *dealturncardmessage_ : *default_instance().dealturncardmessage_; +#else + return dealturncardmessage_ != NULL ? *dealturncardmessage_ : *default_instance_->dealturncardmessage_; +#endif +} +inline ::DealTurnCardMessage* GameEngineMessage::mutable_dealturncardmessage() { + set_has_dealturncardmessage(); + if (dealturncardmessage_ == NULL) dealturncardmessage_ = new ::DealTurnCardMessage; + return dealturncardmessage_; +} +inline ::DealTurnCardMessage* GameEngineMessage::release_dealturncardmessage() { + clear_has_dealturncardmessage(); + ::DealTurnCardMessage* temp = dealturncardmessage_; + dealturncardmessage_ = NULL; + return temp; +} +inline void GameEngineMessage::set_allocated_dealturncardmessage(::DealTurnCardMessage* dealturncardmessage) { + delete dealturncardmessage_; + dealturncardmessage_ = dealturncardmessage; + if (dealturncardmessage) { + set_has_dealturncardmessage(); + } else { + clear_has_dealturncardmessage(); + } +} + +// optional .DealRiverCardMessage dealRiverCardMessage = 9; +inline bool GameEngineMessage::has_dealrivercardmessage() const { + return (_has_bits_[0] & 0x00000100u) != 0; +} +inline void GameEngineMessage::set_has_dealrivercardmessage() { + _has_bits_[0] |= 0x00000100u; +} +inline void GameEngineMessage::clear_has_dealrivercardmessage() { + _has_bits_[0] &= ~0x00000100u; +} +inline void GameEngineMessage::clear_dealrivercardmessage() { + if (dealrivercardmessage_ != NULL) dealrivercardmessage_->::DealRiverCardMessage::Clear(); + clear_has_dealrivercardmessage(); +} +inline const ::DealRiverCardMessage& GameEngineMessage::dealrivercardmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return dealrivercardmessage_ != NULL ? *dealrivercardmessage_ : *default_instance().dealrivercardmessage_; +#else + return dealrivercardmessage_ != NULL ? *dealrivercardmessage_ : *default_instance_->dealrivercardmessage_; +#endif +} +inline ::DealRiverCardMessage* GameEngineMessage::mutable_dealrivercardmessage() { + set_has_dealrivercardmessage(); + if (dealrivercardmessage_ == NULL) dealrivercardmessage_ = new ::DealRiverCardMessage; + return dealrivercardmessage_; +} +inline ::DealRiverCardMessage* GameEngineMessage::release_dealrivercardmessage() { + clear_has_dealrivercardmessage(); + ::DealRiverCardMessage* temp = dealrivercardmessage_; + dealrivercardmessage_ = NULL; + return temp; +} +inline void GameEngineMessage::set_allocated_dealrivercardmessage(::DealRiverCardMessage* dealrivercardmessage) { + delete dealrivercardmessage_; + dealrivercardmessage_ = dealrivercardmessage; + if (dealrivercardmessage) { + set_has_dealrivercardmessage(); + } else { + clear_has_dealrivercardmessage(); + } +} + +// optional .AllInShowCardsMessage allInShowCardsMessage = 10; +inline bool GameEngineMessage::has_allinshowcardsmessage() const { + return (_has_bits_[0] & 0x00000200u) != 0; +} +inline void GameEngineMessage::set_has_allinshowcardsmessage() { + _has_bits_[0] |= 0x00000200u; +} +inline void GameEngineMessage::clear_has_allinshowcardsmessage() { + _has_bits_[0] &= ~0x00000200u; +} +inline void GameEngineMessage::clear_allinshowcardsmessage() { + if (allinshowcardsmessage_ != NULL) allinshowcardsmessage_->::AllInShowCardsMessage::Clear(); + clear_has_allinshowcardsmessage(); +} +inline const ::AllInShowCardsMessage& GameEngineMessage::allinshowcardsmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return allinshowcardsmessage_ != NULL ? *allinshowcardsmessage_ : *default_instance().allinshowcardsmessage_; +#else + return allinshowcardsmessage_ != NULL ? *allinshowcardsmessage_ : *default_instance_->allinshowcardsmessage_; +#endif +} +inline ::AllInShowCardsMessage* GameEngineMessage::mutable_allinshowcardsmessage() { + set_has_allinshowcardsmessage(); + if (allinshowcardsmessage_ == NULL) allinshowcardsmessage_ = new ::AllInShowCardsMessage; + return allinshowcardsmessage_; +} +inline ::AllInShowCardsMessage* GameEngineMessage::release_allinshowcardsmessage() { + clear_has_allinshowcardsmessage(); + ::AllInShowCardsMessage* temp = allinshowcardsmessage_; + allinshowcardsmessage_ = NULL; + return temp; +} +inline void GameEngineMessage::set_allocated_allinshowcardsmessage(::AllInShowCardsMessage* allinshowcardsmessage) { + delete allinshowcardsmessage_; + allinshowcardsmessage_ = allinshowcardsmessage; + if (allinshowcardsmessage) { + set_has_allinshowcardsmessage(); + } else { + clear_has_allinshowcardsmessage(); + } +} + +// optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 11; +inline bool GameEngineMessage::has_endofhandshowcardsmessage() const { + return (_has_bits_[0] & 0x00000400u) != 0; +} +inline void GameEngineMessage::set_has_endofhandshowcardsmessage() { + _has_bits_[0] |= 0x00000400u; +} +inline void GameEngineMessage::clear_has_endofhandshowcardsmessage() { + _has_bits_[0] &= ~0x00000400u; +} +inline void GameEngineMessage::clear_endofhandshowcardsmessage() { + if (endofhandshowcardsmessage_ != NULL) endofhandshowcardsmessage_->::EndOfHandShowCardsMessage::Clear(); + clear_has_endofhandshowcardsmessage(); +} +inline const ::EndOfHandShowCardsMessage& GameEngineMessage::endofhandshowcardsmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return endofhandshowcardsmessage_ != NULL ? *endofhandshowcardsmessage_ : *default_instance().endofhandshowcardsmessage_; +#else + return endofhandshowcardsmessage_ != NULL ? *endofhandshowcardsmessage_ : *default_instance_->endofhandshowcardsmessage_; +#endif +} +inline ::EndOfHandShowCardsMessage* GameEngineMessage::mutable_endofhandshowcardsmessage() { + set_has_endofhandshowcardsmessage(); + if (endofhandshowcardsmessage_ == NULL) endofhandshowcardsmessage_ = new ::EndOfHandShowCardsMessage; + return endofhandshowcardsmessage_; +} +inline ::EndOfHandShowCardsMessage* GameEngineMessage::release_endofhandshowcardsmessage() { + clear_has_endofhandshowcardsmessage(); + ::EndOfHandShowCardsMessage* temp = endofhandshowcardsmessage_; + endofhandshowcardsmessage_ = NULL; + return temp; +} +inline void GameEngineMessage::set_allocated_endofhandshowcardsmessage(::EndOfHandShowCardsMessage* endofhandshowcardsmessage) { + delete endofhandshowcardsmessage_; + endofhandshowcardsmessage_ = endofhandshowcardsmessage; + if (endofhandshowcardsmessage) { + set_has_endofhandshowcardsmessage(); + } else { + clear_has_endofhandshowcardsmessage(); + } +} + +// optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 12; +inline bool GameEngineMessage::has_endofhandhidecardsmessage() const { + return (_has_bits_[0] & 0x00000800u) != 0; +} +inline void GameEngineMessage::set_has_endofhandhidecardsmessage() { + _has_bits_[0] |= 0x00000800u; +} +inline void GameEngineMessage::clear_has_endofhandhidecardsmessage() { + _has_bits_[0] &= ~0x00000800u; +} +inline void GameEngineMessage::clear_endofhandhidecardsmessage() { + if (endofhandhidecardsmessage_ != NULL) endofhandhidecardsmessage_->::EndOfHandHideCardsMessage::Clear(); + clear_has_endofhandhidecardsmessage(); +} +inline const ::EndOfHandHideCardsMessage& GameEngineMessage::endofhandhidecardsmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return endofhandhidecardsmessage_ != NULL ? *endofhandhidecardsmessage_ : *default_instance().endofhandhidecardsmessage_; +#else + return endofhandhidecardsmessage_ != NULL ? *endofhandhidecardsmessage_ : *default_instance_->endofhandhidecardsmessage_; +#endif +} +inline ::EndOfHandHideCardsMessage* GameEngineMessage::mutable_endofhandhidecardsmessage() { + set_has_endofhandhidecardsmessage(); + if (endofhandhidecardsmessage_ == NULL) endofhandhidecardsmessage_ = new ::EndOfHandHideCardsMessage; + return endofhandhidecardsmessage_; +} +inline ::EndOfHandHideCardsMessage* GameEngineMessage::release_endofhandhidecardsmessage() { + clear_has_endofhandhidecardsmessage(); + ::EndOfHandHideCardsMessage* temp = endofhandhidecardsmessage_; + endofhandhidecardsmessage_ = NULL; + return temp; +} +inline void GameEngineMessage::set_allocated_endofhandhidecardsmessage(::EndOfHandHideCardsMessage* endofhandhidecardsmessage) { + delete endofhandhidecardsmessage_; + endofhandhidecardsmessage_ = endofhandhidecardsmessage; + if (endofhandhidecardsmessage) { + set_has_endofhandhidecardsmessage(); + } else { + clear_has_endofhandhidecardsmessage(); + } +} + +// optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 13; +inline bool GameEngineMessage::has_showmycardsrequestmessage() const { + return (_has_bits_[0] & 0x00001000u) != 0; +} +inline void GameEngineMessage::set_has_showmycardsrequestmessage() { + _has_bits_[0] |= 0x00001000u; +} +inline void GameEngineMessage::clear_has_showmycardsrequestmessage() { + _has_bits_[0] &= ~0x00001000u; +} +inline void GameEngineMessage::clear_showmycardsrequestmessage() { + if (showmycardsrequestmessage_ != NULL) showmycardsrequestmessage_->::ShowMyCardsRequestMessage::Clear(); + clear_has_showmycardsrequestmessage(); +} +inline const ::ShowMyCardsRequestMessage& GameEngineMessage::showmycardsrequestmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return showmycardsrequestmessage_ != NULL ? *showmycardsrequestmessage_ : *default_instance().showmycardsrequestmessage_; +#else + return showmycardsrequestmessage_ != NULL ? *showmycardsrequestmessage_ : *default_instance_->showmycardsrequestmessage_; +#endif +} +inline ::ShowMyCardsRequestMessage* GameEngineMessage::mutable_showmycardsrequestmessage() { + set_has_showmycardsrequestmessage(); + if (showmycardsrequestmessage_ == NULL) showmycardsrequestmessage_ = new ::ShowMyCardsRequestMessage; + return showmycardsrequestmessage_; +} +inline ::ShowMyCardsRequestMessage* GameEngineMessage::release_showmycardsrequestmessage() { + clear_has_showmycardsrequestmessage(); + ::ShowMyCardsRequestMessage* temp = showmycardsrequestmessage_; + showmycardsrequestmessage_ = NULL; + return temp; +} +inline void GameEngineMessage::set_allocated_showmycardsrequestmessage(::ShowMyCardsRequestMessage* showmycardsrequestmessage) { + delete showmycardsrequestmessage_; + showmycardsrequestmessage_ = showmycardsrequestmessage; + if (showmycardsrequestmessage) { + set_has_showmycardsrequestmessage(); + } else { + clear_has_showmycardsrequestmessage(); + } +} + +// optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 14; +inline bool GameEngineMessage::has_afterhandshowcardsmessage() const { + return (_has_bits_[0] & 0x00002000u) != 0; +} +inline void GameEngineMessage::set_has_afterhandshowcardsmessage() { + _has_bits_[0] |= 0x00002000u; +} +inline void GameEngineMessage::clear_has_afterhandshowcardsmessage() { + _has_bits_[0] &= ~0x00002000u; +} +inline void GameEngineMessage::clear_afterhandshowcardsmessage() { + if (afterhandshowcardsmessage_ != NULL) afterhandshowcardsmessage_->::AfterHandShowCardsMessage::Clear(); + clear_has_afterhandshowcardsmessage(); +} +inline const ::AfterHandShowCardsMessage& GameEngineMessage::afterhandshowcardsmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return afterhandshowcardsmessage_ != NULL ? *afterhandshowcardsmessage_ : *default_instance().afterhandshowcardsmessage_; +#else + return afterhandshowcardsmessage_ != NULL ? *afterhandshowcardsmessage_ : *default_instance_->afterhandshowcardsmessage_; +#endif +} +inline ::AfterHandShowCardsMessage* GameEngineMessage::mutable_afterhandshowcardsmessage() { + set_has_afterhandshowcardsmessage(); + if (afterhandshowcardsmessage_ == NULL) afterhandshowcardsmessage_ = new ::AfterHandShowCardsMessage; + return afterhandshowcardsmessage_; +} +inline ::AfterHandShowCardsMessage* GameEngineMessage::release_afterhandshowcardsmessage() { + clear_has_afterhandshowcardsmessage(); + ::AfterHandShowCardsMessage* temp = afterhandshowcardsmessage_; + afterhandshowcardsmessage_ = NULL; + return temp; +} +inline void GameEngineMessage::set_allocated_afterhandshowcardsmessage(::AfterHandShowCardsMessage* afterhandshowcardsmessage) { + delete afterhandshowcardsmessage_; + afterhandshowcardsmessage_ = afterhandshowcardsmessage; + if (afterhandshowcardsmessage) { + set_has_afterhandshowcardsmessage(); + } else { + clear_has_afterhandshowcardsmessage(); + } +} + +// ------------------------------------------------------------------- + +// GameMessage + +// required .GameMessage.GameMessageType messageType = 1; +inline bool GameMessage::has_messagetype() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void GameMessage::set_has_messagetype() { + _has_bits_[0] |= 0x00000001u; +} +inline void GameMessage::clear_has_messagetype() { + _has_bits_[0] &= ~0x00000001u; +} +inline void GameMessage::clear_messagetype() { + messagetype_ = 1; + clear_has_messagetype(); +} +inline ::GameMessage_GameMessageType GameMessage::messagetype() const { + return static_cast< ::GameMessage_GameMessageType >(messagetype_); +} +inline void GameMessage::set_messagetype(::GameMessage_GameMessageType value) { + assert(::GameMessage_GameMessageType_IsValid(value)); + set_has_messagetype(); + messagetype_ = value; +} + +// required uint32 gameId = 2; +inline bool GameMessage::has_gameid() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void GameMessage::set_has_gameid() { + _has_bits_[0] |= 0x00000002u; +} +inline void GameMessage::clear_has_gameid() { + _has_bits_[0] &= ~0x00000002u; +} +inline void GameMessage::clear_gameid() { + gameid_ = 0u; + clear_has_gameid(); +} +inline ::google::protobuf::uint32 GameMessage::gameid() const { + return gameid_; +} +inline void GameMessage::set_gameid(::google::protobuf::uint32 value) { + set_has_gameid(); + gameid_ = value; +} + +// optional .GameManagementMessage gameManagementMessage = 3; +inline bool GameMessage::has_gamemanagementmessage() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void GameMessage::set_has_gamemanagementmessage() { + _has_bits_[0] |= 0x00000004u; +} +inline void GameMessage::clear_has_gamemanagementmessage() { + _has_bits_[0] &= ~0x00000004u; +} +inline void GameMessage::clear_gamemanagementmessage() { + if (gamemanagementmessage_ != NULL) gamemanagementmessage_->::GameManagementMessage::Clear(); + clear_has_gamemanagementmessage(); +} +inline const ::GameManagementMessage& GameMessage::gamemanagementmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return gamemanagementmessage_ != NULL ? *gamemanagementmessage_ : *default_instance().gamemanagementmessage_; +#else + return gamemanagementmessage_ != NULL ? *gamemanagementmessage_ : *default_instance_->gamemanagementmessage_; +#endif +} +inline ::GameManagementMessage* GameMessage::mutable_gamemanagementmessage() { + set_has_gamemanagementmessage(); + if (gamemanagementmessage_ == NULL) gamemanagementmessage_ = new ::GameManagementMessage; + return gamemanagementmessage_; +} +inline ::GameManagementMessage* GameMessage::release_gamemanagementmessage() { + clear_has_gamemanagementmessage(); + ::GameManagementMessage* temp = gamemanagementmessage_; + gamemanagementmessage_ = NULL; + return temp; +} +inline void GameMessage::set_allocated_gamemanagementmessage(::GameManagementMessage* gamemanagementmessage) { + delete gamemanagementmessage_; + gamemanagementmessage_ = gamemanagementmessage; + if (gamemanagementmessage) { + set_has_gamemanagementmessage(); + } else { + clear_has_gamemanagementmessage(); + } +} + +// optional .GameEngineMessage gameEngineMessage = 4; +inline bool GameMessage::has_gameenginemessage() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void GameMessage::set_has_gameenginemessage() { + _has_bits_[0] |= 0x00000008u; +} +inline void GameMessage::clear_has_gameenginemessage() { + _has_bits_[0] &= ~0x00000008u; +} +inline void GameMessage::clear_gameenginemessage() { + if (gameenginemessage_ != NULL) gameenginemessage_->::GameEngineMessage::Clear(); + clear_has_gameenginemessage(); +} +inline const ::GameEngineMessage& GameMessage::gameenginemessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return gameenginemessage_ != NULL ? *gameenginemessage_ : *default_instance().gameenginemessage_; +#else + return gameenginemessage_ != NULL ? *gameenginemessage_ : *default_instance_->gameenginemessage_; +#endif +} +inline ::GameEngineMessage* GameMessage::mutable_gameenginemessage() { + set_has_gameenginemessage(); + if (gameenginemessage_ == NULL) gameenginemessage_ = new ::GameEngineMessage; + return gameenginemessage_; +} +inline ::GameEngineMessage* GameMessage::release_gameenginemessage() { + clear_has_gameenginemessage(); + ::GameEngineMessage* temp = gameenginemessage_; + gameenginemessage_ = NULL; + return temp; +} +inline void GameMessage::set_allocated_gameenginemessage(::GameEngineMessage* gameenginemessage) { + delete gameenginemessage_; + gameenginemessage_ = gameenginemessage; + if (gameenginemessage) { + set_has_gameenginemessage(); + } else { + clear_has_gameenginemessage(); + } +} + +// ------------------------------------------------------------------- + // PokerTHMessage // required .PokerTHMessage.PokerTHMessageType messageType = 1; @@ -18668,3363 +22566,129 @@ inline void PokerTHMessage::set_allocated_announcemessage(::AnnounceMessage* ann } } -// optional .InitMessage initMessage = 3; -inline bool PokerTHMessage::has_initmessage() const { +// optional .AuthMessage authMessage = 3; +inline bool PokerTHMessage::has_authmessage() const { return (_has_bits_[0] & 0x00000004u) != 0; } -inline void PokerTHMessage::set_has_initmessage() { +inline void PokerTHMessage::set_has_authmessage() { _has_bits_[0] |= 0x00000004u; } -inline void PokerTHMessage::clear_has_initmessage() { +inline void PokerTHMessage::clear_has_authmessage() { _has_bits_[0] &= ~0x00000004u; } -inline void PokerTHMessage::clear_initmessage() { - if (initmessage_ != NULL) initmessage_->::InitMessage::Clear(); - clear_has_initmessage(); +inline void PokerTHMessage::clear_authmessage() { + if (authmessage_ != NULL) authmessage_->::AuthMessage::Clear(); + clear_has_authmessage(); } -inline const ::InitMessage& PokerTHMessage::initmessage() const { +inline const ::AuthMessage& PokerTHMessage::authmessage() const { #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - return initmessage_ != NULL ? *initmessage_ : *default_instance().initmessage_; + return authmessage_ != NULL ? *authmessage_ : *default_instance().authmessage_; #else - return initmessage_ != NULL ? *initmessage_ : *default_instance_->initmessage_; + return authmessage_ != NULL ? *authmessage_ : *default_instance_->authmessage_; #endif } -inline ::InitMessage* PokerTHMessage::mutable_initmessage() { - set_has_initmessage(); - if (initmessage_ == NULL) initmessage_ = new ::InitMessage; - return initmessage_; +inline ::AuthMessage* PokerTHMessage::mutable_authmessage() { + set_has_authmessage(); + if (authmessage_ == NULL) authmessage_ = new ::AuthMessage; + return authmessage_; } -inline ::InitMessage* PokerTHMessage::release_initmessage() { - clear_has_initmessage(); - ::InitMessage* temp = initmessage_; - initmessage_ = NULL; +inline ::AuthMessage* PokerTHMessage::release_authmessage() { + clear_has_authmessage(); + ::AuthMessage* temp = authmessage_; + authmessage_ = NULL; return temp; } -inline void PokerTHMessage::set_allocated_initmessage(::InitMessage* initmessage) { - delete initmessage_; - initmessage_ = initmessage; - if (initmessage) { - set_has_initmessage(); +inline void PokerTHMessage::set_allocated_authmessage(::AuthMessage* authmessage) { + delete authmessage_; + authmessage_ = authmessage; + if (authmessage) { + set_has_authmessage(); } else { - clear_has_initmessage(); + clear_has_authmessage(); } } -// optional .AuthServerChallengeMessage authServerChallengeMessage = 4; -inline bool PokerTHMessage::has_authserverchallengemessage() const { +// optional .LobbyMessage lobbyMessage = 4; +inline bool PokerTHMessage::has_lobbymessage() const { return (_has_bits_[0] & 0x00000008u) != 0; } -inline void PokerTHMessage::set_has_authserverchallengemessage() { +inline void PokerTHMessage::set_has_lobbymessage() { _has_bits_[0] |= 0x00000008u; } -inline void PokerTHMessage::clear_has_authserverchallengemessage() { +inline void PokerTHMessage::clear_has_lobbymessage() { _has_bits_[0] &= ~0x00000008u; } -inline void PokerTHMessage::clear_authserverchallengemessage() { - if (authserverchallengemessage_ != NULL) authserverchallengemessage_->::AuthServerChallengeMessage::Clear(); - clear_has_authserverchallengemessage(); +inline void PokerTHMessage::clear_lobbymessage() { + if (lobbymessage_ != NULL) lobbymessage_->::LobbyMessage::Clear(); + clear_has_lobbymessage(); } -inline const ::AuthServerChallengeMessage& PokerTHMessage::authserverchallengemessage() const { +inline const ::LobbyMessage& PokerTHMessage::lobbymessage() const { #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - return authserverchallengemessage_ != NULL ? *authserverchallengemessage_ : *default_instance().authserverchallengemessage_; + return lobbymessage_ != NULL ? *lobbymessage_ : *default_instance().lobbymessage_; #else - return authserverchallengemessage_ != NULL ? *authserverchallengemessage_ : *default_instance_->authserverchallengemessage_; + return lobbymessage_ != NULL ? *lobbymessage_ : *default_instance_->lobbymessage_; #endif } -inline ::AuthServerChallengeMessage* PokerTHMessage::mutable_authserverchallengemessage() { - set_has_authserverchallengemessage(); - if (authserverchallengemessage_ == NULL) authserverchallengemessage_ = new ::AuthServerChallengeMessage; - return authserverchallengemessage_; +inline ::LobbyMessage* PokerTHMessage::mutable_lobbymessage() { + set_has_lobbymessage(); + if (lobbymessage_ == NULL) lobbymessage_ = new ::LobbyMessage; + return lobbymessage_; } -inline ::AuthServerChallengeMessage* PokerTHMessage::release_authserverchallengemessage() { - clear_has_authserverchallengemessage(); - ::AuthServerChallengeMessage* temp = authserverchallengemessage_; - authserverchallengemessage_ = NULL; +inline ::LobbyMessage* PokerTHMessage::release_lobbymessage() { + clear_has_lobbymessage(); + ::LobbyMessage* temp = lobbymessage_; + lobbymessage_ = NULL; return temp; } -inline void PokerTHMessage::set_allocated_authserverchallengemessage(::AuthServerChallengeMessage* authserverchallengemessage) { - delete authserverchallengemessage_; - authserverchallengemessage_ = authserverchallengemessage; - if (authserverchallengemessage) { - set_has_authserverchallengemessage(); +inline void PokerTHMessage::set_allocated_lobbymessage(::LobbyMessage* lobbymessage) { + delete lobbymessage_; + lobbymessage_ = lobbymessage; + if (lobbymessage) { + set_has_lobbymessage(); } else { - clear_has_authserverchallengemessage(); + clear_has_lobbymessage(); } } -// optional .AuthClientResponseMessage authClientResponseMessage = 5; -inline bool PokerTHMessage::has_authclientresponsemessage() const { +// optional .GameMessage gameMessage = 5; +inline bool PokerTHMessage::has_gamemessage() const { return (_has_bits_[0] & 0x00000010u) != 0; } -inline void PokerTHMessage::set_has_authclientresponsemessage() { +inline void PokerTHMessage::set_has_gamemessage() { _has_bits_[0] |= 0x00000010u; } -inline void PokerTHMessage::clear_has_authclientresponsemessage() { +inline void PokerTHMessage::clear_has_gamemessage() { _has_bits_[0] &= ~0x00000010u; } -inline void PokerTHMessage::clear_authclientresponsemessage() { - if (authclientresponsemessage_ != NULL) authclientresponsemessage_->::AuthClientResponseMessage::Clear(); - clear_has_authclientresponsemessage(); +inline void PokerTHMessage::clear_gamemessage() { + if (gamemessage_ != NULL) gamemessage_->::GameMessage::Clear(); + clear_has_gamemessage(); } -inline const ::AuthClientResponseMessage& PokerTHMessage::authclientresponsemessage() const { +inline const ::GameMessage& PokerTHMessage::gamemessage() const { #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - return authclientresponsemessage_ != NULL ? *authclientresponsemessage_ : *default_instance().authclientresponsemessage_; + return gamemessage_ != NULL ? *gamemessage_ : *default_instance().gamemessage_; #else - return authclientresponsemessage_ != NULL ? *authclientresponsemessage_ : *default_instance_->authclientresponsemessage_; + return gamemessage_ != NULL ? *gamemessage_ : *default_instance_->gamemessage_; #endif } -inline ::AuthClientResponseMessage* PokerTHMessage::mutable_authclientresponsemessage() { - set_has_authclientresponsemessage(); - if (authclientresponsemessage_ == NULL) authclientresponsemessage_ = new ::AuthClientResponseMessage; - return authclientresponsemessage_; +inline ::GameMessage* PokerTHMessage::mutable_gamemessage() { + set_has_gamemessage(); + if (gamemessage_ == NULL) gamemessage_ = new ::GameMessage; + return gamemessage_; } -inline ::AuthClientResponseMessage* PokerTHMessage::release_authclientresponsemessage() { - clear_has_authclientresponsemessage(); - ::AuthClientResponseMessage* temp = authclientresponsemessage_; - authclientresponsemessage_ = NULL; +inline ::GameMessage* PokerTHMessage::release_gamemessage() { + clear_has_gamemessage(); + ::GameMessage* temp = gamemessage_; + gamemessage_ = NULL; return temp; } -inline void PokerTHMessage::set_allocated_authclientresponsemessage(::AuthClientResponseMessage* authclientresponsemessage) { - delete authclientresponsemessage_; - authclientresponsemessage_ = authclientresponsemessage; - if (authclientresponsemessage) { - set_has_authclientresponsemessage(); +inline void PokerTHMessage::set_allocated_gamemessage(::GameMessage* gamemessage) { + delete gamemessage_; + gamemessage_ = gamemessage; + if (gamemessage) { + set_has_gamemessage(); } else { - clear_has_authclientresponsemessage(); - } -} - -// optional .AuthServerVerificationMessage authServerVerificationMessage = 6; -inline bool PokerTHMessage::has_authserververificationmessage() const { - return (_has_bits_[0] & 0x00000020u) != 0; -} -inline void PokerTHMessage::set_has_authserververificationmessage() { - _has_bits_[0] |= 0x00000020u; -} -inline void PokerTHMessage::clear_has_authserververificationmessage() { - _has_bits_[0] &= ~0x00000020u; -} -inline void PokerTHMessage::clear_authserververificationmessage() { - if (authserververificationmessage_ != NULL) authserververificationmessage_->::AuthServerVerificationMessage::Clear(); - clear_has_authserververificationmessage(); -} -inline const ::AuthServerVerificationMessage& PokerTHMessage::authserververificationmessage() const { -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - return authserververificationmessage_ != NULL ? *authserververificationmessage_ : *default_instance().authserververificationmessage_; -#else - return authserververificationmessage_ != NULL ? *authserververificationmessage_ : *default_instance_->authserververificationmessage_; -#endif -} -inline ::AuthServerVerificationMessage* PokerTHMessage::mutable_authserververificationmessage() { - set_has_authserververificationmessage(); - if (authserververificationmessage_ == NULL) authserververificationmessage_ = new ::AuthServerVerificationMessage; - return authserververificationmessage_; -} -inline ::AuthServerVerificationMessage* PokerTHMessage::release_authserververificationmessage() { - clear_has_authserververificationmessage(); - ::AuthServerVerificationMessage* temp = authserververificationmessage_; - authserververificationmessage_ = NULL; - return temp; -} -inline void PokerTHMessage::set_allocated_authserververificationmessage(::AuthServerVerificationMessage* authserververificationmessage) { - delete authserververificationmessage_; - authserververificationmessage_ = authserververificationmessage; - if (authserververificationmessage) { - set_has_authserververificationmessage(); - } else { - clear_has_authserververificationmessage(); - } -} - -// optional .InitAckMessage initAckMessage = 7; -inline bool PokerTHMessage::has_initackmessage() const { - return (_has_bits_[0] & 0x00000040u) != 0; -} -inline void PokerTHMessage::set_has_initackmessage() { - _has_bits_[0] |= 0x00000040u; -} -inline void PokerTHMessage::clear_has_initackmessage() { - _has_bits_[0] &= ~0x00000040u; -} -inline void PokerTHMessage::clear_initackmessage() { - if (initackmessage_ != NULL) initackmessage_->::InitAckMessage::Clear(); - clear_has_initackmessage(); -} -inline const ::InitAckMessage& PokerTHMessage::initackmessage() const { -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - return initackmessage_ != NULL ? *initackmessage_ : *default_instance().initackmessage_; -#else - return initackmessage_ != NULL ? *initackmessage_ : *default_instance_->initackmessage_; -#endif -} -inline ::InitAckMessage* PokerTHMessage::mutable_initackmessage() { - set_has_initackmessage(); - if (initackmessage_ == NULL) initackmessage_ = new ::InitAckMessage; - return initackmessage_; -} -inline ::InitAckMessage* PokerTHMessage::release_initackmessage() { - clear_has_initackmessage(); - ::InitAckMessage* temp = initackmessage_; - initackmessage_ = NULL; - return temp; -} -inline void PokerTHMessage::set_allocated_initackmessage(::InitAckMessage* initackmessage) { - delete initackmessage_; - initackmessage_ = initackmessage; - if (initackmessage) { - set_has_initackmessage(); - } else { - clear_has_initackmessage(); - } -} - -// optional .AvatarRequestMessage avatarRequestMessage = 8; -inline bool PokerTHMessage::has_avatarrequestmessage() const { - return (_has_bits_[0] & 0x00000080u) != 0; -} -inline void PokerTHMessage::set_has_avatarrequestmessage() { - _has_bits_[0] |= 0x00000080u; -} -inline void PokerTHMessage::clear_has_avatarrequestmessage() { - _has_bits_[0] &= ~0x00000080u; -} -inline void PokerTHMessage::clear_avatarrequestmessage() { - if (avatarrequestmessage_ != NULL) avatarrequestmessage_->::AvatarRequestMessage::Clear(); - clear_has_avatarrequestmessage(); -} -inline const ::AvatarRequestMessage& PokerTHMessage::avatarrequestmessage() const { -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - return avatarrequestmessage_ != NULL ? *avatarrequestmessage_ : *default_instance().avatarrequestmessage_; -#else - return avatarrequestmessage_ != NULL ? *avatarrequestmessage_ : *default_instance_->avatarrequestmessage_; -#endif -} -inline ::AvatarRequestMessage* PokerTHMessage::mutable_avatarrequestmessage() { - set_has_avatarrequestmessage(); - if (avatarrequestmessage_ == NULL) avatarrequestmessage_ = new ::AvatarRequestMessage; - return avatarrequestmessage_; -} -inline ::AvatarRequestMessage* PokerTHMessage::release_avatarrequestmessage() { - clear_has_avatarrequestmessage(); - ::AvatarRequestMessage* temp = avatarrequestmessage_; - avatarrequestmessage_ = NULL; - return temp; -} -inline void PokerTHMessage::set_allocated_avatarrequestmessage(::AvatarRequestMessage* avatarrequestmessage) { - delete avatarrequestmessage_; - avatarrequestmessage_ = avatarrequestmessage; - if (avatarrequestmessage) { - set_has_avatarrequestmessage(); - } else { - clear_has_avatarrequestmessage(); - } -} - -// optional .AvatarHeaderMessage avatarHeaderMessage = 9; -inline bool PokerTHMessage::has_avatarheadermessage() const { - return (_has_bits_[0] & 0x00000100u) != 0; -} -inline void PokerTHMessage::set_has_avatarheadermessage() { - _has_bits_[0] |= 0x00000100u; -} -inline void PokerTHMessage::clear_has_avatarheadermessage() { - _has_bits_[0] &= ~0x00000100u; -} -inline void PokerTHMessage::clear_avatarheadermessage() { - if (avatarheadermessage_ != NULL) avatarheadermessage_->::AvatarHeaderMessage::Clear(); - clear_has_avatarheadermessage(); -} -inline const ::AvatarHeaderMessage& PokerTHMessage::avatarheadermessage() const { -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - return avatarheadermessage_ != NULL ? *avatarheadermessage_ : *default_instance().avatarheadermessage_; -#else - return avatarheadermessage_ != NULL ? *avatarheadermessage_ : *default_instance_->avatarheadermessage_; -#endif -} -inline ::AvatarHeaderMessage* PokerTHMessage::mutable_avatarheadermessage() { - set_has_avatarheadermessage(); - if (avatarheadermessage_ == NULL) avatarheadermessage_ = new ::AvatarHeaderMessage; - return avatarheadermessage_; -} -inline ::AvatarHeaderMessage* PokerTHMessage::release_avatarheadermessage() { - clear_has_avatarheadermessage(); - ::AvatarHeaderMessage* temp = avatarheadermessage_; - avatarheadermessage_ = NULL; - return temp; -} -inline void PokerTHMessage::set_allocated_avatarheadermessage(::AvatarHeaderMessage* avatarheadermessage) { - delete avatarheadermessage_; - avatarheadermessage_ = avatarheadermessage; - if (avatarheadermessage) { - set_has_avatarheadermessage(); - } else { - clear_has_avatarheadermessage(); - } -} - -// optional .AvatarDataMessage avatarDataMessage = 10; -inline bool PokerTHMessage::has_avatardatamessage() const { - return (_has_bits_[0] & 0x00000200u) != 0; -} -inline void PokerTHMessage::set_has_avatardatamessage() { - _has_bits_[0] |= 0x00000200u; -} -inline void PokerTHMessage::clear_has_avatardatamessage() { - _has_bits_[0] &= ~0x00000200u; -} -inline void PokerTHMessage::clear_avatardatamessage() { - if (avatardatamessage_ != NULL) avatardatamessage_->::AvatarDataMessage::Clear(); - clear_has_avatardatamessage(); -} -inline const ::AvatarDataMessage& PokerTHMessage::avatardatamessage() const { -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - return avatardatamessage_ != NULL ? *avatardatamessage_ : *default_instance().avatardatamessage_; -#else - return avatardatamessage_ != NULL ? *avatardatamessage_ : *default_instance_->avatardatamessage_; -#endif -} -inline ::AvatarDataMessage* PokerTHMessage::mutable_avatardatamessage() { - set_has_avatardatamessage(); - if (avatardatamessage_ == NULL) avatardatamessage_ = new ::AvatarDataMessage; - return avatardatamessage_; -} -inline ::AvatarDataMessage* PokerTHMessage::release_avatardatamessage() { - clear_has_avatardatamessage(); - ::AvatarDataMessage* temp = avatardatamessage_; - avatardatamessage_ = NULL; - return temp; -} -inline void PokerTHMessage::set_allocated_avatardatamessage(::AvatarDataMessage* avatardatamessage) { - delete avatardatamessage_; - avatardatamessage_ = avatardatamessage; - if (avatardatamessage) { - set_has_avatardatamessage(); - } else { - clear_has_avatardatamessage(); - } -} - -// optional .AvatarEndMessage avatarEndMessage = 11; -inline bool PokerTHMessage::has_avatarendmessage() const { - return (_has_bits_[0] & 0x00000400u) != 0; -} -inline void PokerTHMessage::set_has_avatarendmessage() { - _has_bits_[0] |= 0x00000400u; -} -inline void PokerTHMessage::clear_has_avatarendmessage() { - _has_bits_[0] &= ~0x00000400u; -} -inline void PokerTHMessage::clear_avatarendmessage() { - if (avatarendmessage_ != NULL) avatarendmessage_->::AvatarEndMessage::Clear(); - clear_has_avatarendmessage(); -} -inline const ::AvatarEndMessage& PokerTHMessage::avatarendmessage() const { -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - return avatarendmessage_ != NULL ? *avatarendmessage_ : *default_instance().avatarendmessage_; -#else - return avatarendmessage_ != NULL ? *avatarendmessage_ : *default_instance_->avatarendmessage_; -#endif -} -inline ::AvatarEndMessage* PokerTHMessage::mutable_avatarendmessage() { - set_has_avatarendmessage(); - if (avatarendmessage_ == NULL) avatarendmessage_ = new ::AvatarEndMessage; - return avatarendmessage_; -} -inline ::AvatarEndMessage* PokerTHMessage::release_avatarendmessage() { - clear_has_avatarendmessage(); - ::AvatarEndMessage* temp = avatarendmessage_; - avatarendmessage_ = NULL; - return temp; -} -inline void PokerTHMessage::set_allocated_avatarendmessage(::AvatarEndMessage* avatarendmessage) { - delete avatarendmessage_; - avatarendmessage_ = avatarendmessage; - if (avatarendmessage) { - set_has_avatarendmessage(); - } else { - clear_has_avatarendmessage(); - } -} - -// optional .UnknownAvatarMessage unknownAvatarMessage = 12; -inline bool PokerTHMessage::has_unknownavatarmessage() const { - return (_has_bits_[0] & 0x00000800u) != 0; -} -inline void PokerTHMessage::set_has_unknownavatarmessage() { - _has_bits_[0] |= 0x00000800u; -} -inline void PokerTHMessage::clear_has_unknownavatarmessage() { - _has_bits_[0] &= ~0x00000800u; -} -inline void PokerTHMessage::clear_unknownavatarmessage() { - if (unknownavatarmessage_ != NULL) unknownavatarmessage_->::UnknownAvatarMessage::Clear(); - clear_has_unknownavatarmessage(); -} -inline const ::UnknownAvatarMessage& PokerTHMessage::unknownavatarmessage() const { -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - return unknownavatarmessage_ != NULL ? *unknownavatarmessage_ : *default_instance().unknownavatarmessage_; -#else - return unknownavatarmessage_ != NULL ? *unknownavatarmessage_ : *default_instance_->unknownavatarmessage_; -#endif -} -inline ::UnknownAvatarMessage* PokerTHMessage::mutable_unknownavatarmessage() { - set_has_unknownavatarmessage(); - if (unknownavatarmessage_ == NULL) unknownavatarmessage_ = new ::UnknownAvatarMessage; - return unknownavatarmessage_; -} -inline ::UnknownAvatarMessage* PokerTHMessage::release_unknownavatarmessage() { - clear_has_unknownavatarmessage(); - ::UnknownAvatarMessage* temp = unknownavatarmessage_; - unknownavatarmessage_ = NULL; - return temp; -} -inline void PokerTHMessage::set_allocated_unknownavatarmessage(::UnknownAvatarMessage* unknownavatarmessage) { - delete unknownavatarmessage_; - unknownavatarmessage_ = unknownavatarmessage; - if (unknownavatarmessage) { - set_has_unknownavatarmessage(); - } else { - clear_has_unknownavatarmessage(); - } -} - -// optional .PlayerListMessage playerListMessage = 13; -inline bool PokerTHMessage::has_playerlistmessage() const { - return (_has_bits_[0] & 0x00001000u) != 0; -} -inline void PokerTHMessage::set_has_playerlistmessage() { - _has_bits_[0] |= 0x00001000u; -} -inline void PokerTHMessage::clear_has_playerlistmessage() { - _has_bits_[0] &= ~0x00001000u; -} -inline void PokerTHMessage::clear_playerlistmessage() { - if (playerlistmessage_ != NULL) playerlistmessage_->::PlayerListMessage::Clear(); - clear_has_playerlistmessage(); -} -inline const ::PlayerListMessage& PokerTHMessage::playerlistmessage() const { -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - return playerlistmessage_ != NULL ? *playerlistmessage_ : *default_instance().playerlistmessage_; -#else - return playerlistmessage_ != NULL ? *playerlistmessage_ : *default_instance_->playerlistmessage_; -#endif -} -inline ::PlayerListMessage* PokerTHMessage::mutable_playerlistmessage() { - set_has_playerlistmessage(); - if (playerlistmessage_ == NULL) playerlistmessage_ = new ::PlayerListMessage; - return playerlistmessage_; -} -inline ::PlayerListMessage* PokerTHMessage::release_playerlistmessage() { - clear_has_playerlistmessage(); - ::PlayerListMessage* temp = playerlistmessage_; - playerlistmessage_ = NULL; - return temp; -} -inline void PokerTHMessage::set_allocated_playerlistmessage(::PlayerListMessage* playerlistmessage) { - delete playerlistmessage_; - playerlistmessage_ = playerlistmessage; - if (playerlistmessage) { - set_has_playerlistmessage(); - } else { - clear_has_playerlistmessage(); - } -} - -// optional .GameListNewMessage gameListNewMessage = 14; -inline bool PokerTHMessage::has_gamelistnewmessage() const { - return (_has_bits_[0] & 0x00002000u) != 0; -} -inline void PokerTHMessage::set_has_gamelistnewmessage() { - _has_bits_[0] |= 0x00002000u; -} -inline void PokerTHMessage::clear_has_gamelistnewmessage() { - _has_bits_[0] &= ~0x00002000u; -} -inline void PokerTHMessage::clear_gamelistnewmessage() { - if (gamelistnewmessage_ != NULL) gamelistnewmessage_->::GameListNewMessage::Clear(); - clear_has_gamelistnewmessage(); -} -inline const ::GameListNewMessage& PokerTHMessage::gamelistnewmessage() const { -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - return gamelistnewmessage_ != NULL ? *gamelistnewmessage_ : *default_instance().gamelistnewmessage_; -#else - return gamelistnewmessage_ != NULL ? *gamelistnewmessage_ : *default_instance_->gamelistnewmessage_; -#endif -} -inline ::GameListNewMessage* PokerTHMessage::mutable_gamelistnewmessage() { - set_has_gamelistnewmessage(); - if (gamelistnewmessage_ == NULL) gamelistnewmessage_ = new ::GameListNewMessage; - return gamelistnewmessage_; -} -inline ::GameListNewMessage* PokerTHMessage::release_gamelistnewmessage() { - clear_has_gamelistnewmessage(); - ::GameListNewMessage* temp = gamelistnewmessage_; - gamelistnewmessage_ = NULL; - return temp; -} -inline void PokerTHMessage::set_allocated_gamelistnewmessage(::GameListNewMessage* gamelistnewmessage) { - delete gamelistnewmessage_; - gamelistnewmessage_ = gamelistnewmessage; - if (gamelistnewmessage) { - set_has_gamelistnewmessage(); - } else { - clear_has_gamelistnewmessage(); - } -} - -// optional .GameListUpdateMessage gameListUpdateMessage = 15; -inline bool PokerTHMessage::has_gamelistupdatemessage() const { - return (_has_bits_[0] & 0x00004000u) != 0; -} -inline void PokerTHMessage::set_has_gamelistupdatemessage() { - _has_bits_[0] |= 0x00004000u; -} -inline void PokerTHMessage::clear_has_gamelistupdatemessage() { - _has_bits_[0] &= ~0x00004000u; -} -inline void PokerTHMessage::clear_gamelistupdatemessage() { - if (gamelistupdatemessage_ != NULL) gamelistupdatemessage_->::GameListUpdateMessage::Clear(); - clear_has_gamelistupdatemessage(); -} -inline const ::GameListUpdateMessage& PokerTHMessage::gamelistupdatemessage() const { -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - return gamelistupdatemessage_ != NULL ? *gamelistupdatemessage_ : *default_instance().gamelistupdatemessage_; -#else - return gamelistupdatemessage_ != NULL ? *gamelistupdatemessage_ : *default_instance_->gamelistupdatemessage_; -#endif -} -inline ::GameListUpdateMessage* PokerTHMessage::mutable_gamelistupdatemessage() { - set_has_gamelistupdatemessage(); - if (gamelistupdatemessage_ == NULL) gamelistupdatemessage_ = new ::GameListUpdateMessage; - return gamelistupdatemessage_; -} -inline ::GameListUpdateMessage* PokerTHMessage::release_gamelistupdatemessage() { - clear_has_gamelistupdatemessage(); - ::GameListUpdateMessage* temp = gamelistupdatemessage_; - gamelistupdatemessage_ = NULL; - return temp; -} -inline void PokerTHMessage::set_allocated_gamelistupdatemessage(::GameListUpdateMessage* gamelistupdatemessage) { - delete gamelistupdatemessage_; - gamelistupdatemessage_ = gamelistupdatemessage; - if (gamelistupdatemessage) { - set_has_gamelistupdatemessage(); - } else { - clear_has_gamelistupdatemessage(); - } -} - -// optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 16; -inline bool PokerTHMessage::has_gamelistplayerjoinedmessage() const { - return (_has_bits_[0] & 0x00008000u) != 0; -} -inline void PokerTHMessage::set_has_gamelistplayerjoinedmessage() { - _has_bits_[0] |= 0x00008000u; -} -inline void PokerTHMessage::clear_has_gamelistplayerjoinedmessage() { - _has_bits_[0] &= ~0x00008000u; -} -inline void PokerTHMessage::clear_gamelistplayerjoinedmessage() { - if (gamelistplayerjoinedmessage_ != NULL) gamelistplayerjoinedmessage_->::GameListPlayerJoinedMessage::Clear(); - clear_has_gamelistplayerjoinedmessage(); -} -inline const ::GameListPlayerJoinedMessage& PokerTHMessage::gamelistplayerjoinedmessage() const { -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - return gamelistplayerjoinedmessage_ != NULL ? *gamelistplayerjoinedmessage_ : *default_instance().gamelistplayerjoinedmessage_; -#else - return gamelistplayerjoinedmessage_ != NULL ? *gamelistplayerjoinedmessage_ : *default_instance_->gamelistplayerjoinedmessage_; -#endif -} -inline ::GameListPlayerJoinedMessage* PokerTHMessage::mutable_gamelistplayerjoinedmessage() { - set_has_gamelistplayerjoinedmessage(); - if (gamelistplayerjoinedmessage_ == NULL) gamelistplayerjoinedmessage_ = new ::GameListPlayerJoinedMessage; - return gamelistplayerjoinedmessage_; -} -inline ::GameListPlayerJoinedMessage* PokerTHMessage::release_gamelistplayerjoinedmessage() { - clear_has_gamelistplayerjoinedmessage(); - ::GameListPlayerJoinedMessage* temp = gamelistplayerjoinedmessage_; - gamelistplayerjoinedmessage_ = NULL; - return temp; -} -inline void PokerTHMessage::set_allocated_gamelistplayerjoinedmessage(::GameListPlayerJoinedMessage* gamelistplayerjoinedmessage) { - delete gamelistplayerjoinedmessage_; - gamelistplayerjoinedmessage_ = gamelistplayerjoinedmessage; - if (gamelistplayerjoinedmessage) { - set_has_gamelistplayerjoinedmessage(); - } else { - clear_has_gamelistplayerjoinedmessage(); - } -} - -// optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 17; -inline bool PokerTHMessage::has_gamelistplayerleftmessage() const { - return (_has_bits_[0] & 0x00010000u) != 0; -} -inline void PokerTHMessage::set_has_gamelistplayerleftmessage() { - _has_bits_[0] |= 0x00010000u; -} -inline void PokerTHMessage::clear_has_gamelistplayerleftmessage() { - _has_bits_[0] &= ~0x00010000u; -} -inline void PokerTHMessage::clear_gamelistplayerleftmessage() { - if (gamelistplayerleftmessage_ != NULL) gamelistplayerleftmessage_->::GameListPlayerLeftMessage::Clear(); - clear_has_gamelistplayerleftmessage(); -} -inline const ::GameListPlayerLeftMessage& PokerTHMessage::gamelistplayerleftmessage() const { -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - return gamelistplayerleftmessage_ != NULL ? *gamelistplayerleftmessage_ : *default_instance().gamelistplayerleftmessage_; -#else - return gamelistplayerleftmessage_ != NULL ? *gamelistplayerleftmessage_ : *default_instance_->gamelistplayerleftmessage_; -#endif -} -inline ::GameListPlayerLeftMessage* PokerTHMessage::mutable_gamelistplayerleftmessage() { - set_has_gamelistplayerleftmessage(); - if (gamelistplayerleftmessage_ == NULL) gamelistplayerleftmessage_ = new ::GameListPlayerLeftMessage; - return gamelistplayerleftmessage_; -} -inline ::GameListPlayerLeftMessage* PokerTHMessage::release_gamelistplayerleftmessage() { - clear_has_gamelistplayerleftmessage(); - ::GameListPlayerLeftMessage* temp = gamelistplayerleftmessage_; - gamelistplayerleftmessage_ = NULL; - return temp; -} -inline void PokerTHMessage::set_allocated_gamelistplayerleftmessage(::GameListPlayerLeftMessage* gamelistplayerleftmessage) { - delete gamelistplayerleftmessage_; - gamelistplayerleftmessage_ = gamelistplayerleftmessage; - if (gamelistplayerleftmessage) { - set_has_gamelistplayerleftmessage(); - } else { - clear_has_gamelistplayerleftmessage(); - } -} - -// optional .GameListAdminChangedMessage gameListAdminChangedMessage = 18; -inline bool PokerTHMessage::has_gamelistadminchangedmessage() const { - return (_has_bits_[0] & 0x00020000u) != 0; -} -inline void PokerTHMessage::set_has_gamelistadminchangedmessage() { - _has_bits_[0] |= 0x00020000u; -} -inline void PokerTHMessage::clear_has_gamelistadminchangedmessage() { - _has_bits_[0] &= ~0x00020000u; -} -inline void PokerTHMessage::clear_gamelistadminchangedmessage() { - if (gamelistadminchangedmessage_ != NULL) gamelistadminchangedmessage_->::GameListAdminChangedMessage::Clear(); - clear_has_gamelistadminchangedmessage(); -} -inline const ::GameListAdminChangedMessage& PokerTHMessage::gamelistadminchangedmessage() const { -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - return gamelistadminchangedmessage_ != NULL ? *gamelistadminchangedmessage_ : *default_instance().gamelistadminchangedmessage_; -#else - return gamelistadminchangedmessage_ != NULL ? *gamelistadminchangedmessage_ : *default_instance_->gamelistadminchangedmessage_; -#endif -} -inline ::GameListAdminChangedMessage* PokerTHMessage::mutable_gamelistadminchangedmessage() { - set_has_gamelistadminchangedmessage(); - if (gamelistadminchangedmessage_ == NULL) gamelistadminchangedmessage_ = new ::GameListAdminChangedMessage; - return gamelistadminchangedmessage_; -} -inline ::GameListAdminChangedMessage* PokerTHMessage::release_gamelistadminchangedmessage() { - clear_has_gamelistadminchangedmessage(); - ::GameListAdminChangedMessage* temp = gamelistadminchangedmessage_; - gamelistadminchangedmessage_ = NULL; - return temp; -} -inline void PokerTHMessage::set_allocated_gamelistadminchangedmessage(::GameListAdminChangedMessage* gamelistadminchangedmessage) { - delete gamelistadminchangedmessage_; - gamelistadminchangedmessage_ = gamelistadminchangedmessage; - if (gamelistadminchangedmessage) { - set_has_gamelistadminchangedmessage(); - } else { - clear_has_gamelistadminchangedmessage(); - } -} - -// optional .PlayerInfoRequestMessage playerInfoRequestMessage = 19; -inline bool PokerTHMessage::has_playerinforequestmessage() const { - return (_has_bits_[0] & 0x00040000u) != 0; -} -inline void PokerTHMessage::set_has_playerinforequestmessage() { - _has_bits_[0] |= 0x00040000u; -} -inline void PokerTHMessage::clear_has_playerinforequestmessage() { - _has_bits_[0] &= ~0x00040000u; -} -inline void PokerTHMessage::clear_playerinforequestmessage() { - if (playerinforequestmessage_ != NULL) playerinforequestmessage_->::PlayerInfoRequestMessage::Clear(); - clear_has_playerinforequestmessage(); -} -inline const ::PlayerInfoRequestMessage& PokerTHMessage::playerinforequestmessage() const { -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - return playerinforequestmessage_ != NULL ? *playerinforequestmessage_ : *default_instance().playerinforequestmessage_; -#else - return playerinforequestmessage_ != NULL ? *playerinforequestmessage_ : *default_instance_->playerinforequestmessage_; -#endif -} -inline ::PlayerInfoRequestMessage* PokerTHMessage::mutable_playerinforequestmessage() { - set_has_playerinforequestmessage(); - if (playerinforequestmessage_ == NULL) playerinforequestmessage_ = new ::PlayerInfoRequestMessage; - return playerinforequestmessage_; -} -inline ::PlayerInfoRequestMessage* PokerTHMessage::release_playerinforequestmessage() { - clear_has_playerinforequestmessage(); - ::PlayerInfoRequestMessage* temp = playerinforequestmessage_; - playerinforequestmessage_ = NULL; - return temp; -} -inline void PokerTHMessage::set_allocated_playerinforequestmessage(::PlayerInfoRequestMessage* playerinforequestmessage) { - delete playerinforequestmessage_; - playerinforequestmessage_ = playerinforequestmessage; - if (playerinforequestmessage) { - set_has_playerinforequestmessage(); - } else { - clear_has_playerinforequestmessage(); - } -} - -// optional .PlayerInfoReplyMessage playerInfoReplyMessage = 20; -inline bool PokerTHMessage::has_playerinforeplymessage() const { - return (_has_bits_[0] & 0x00080000u) != 0; -} -inline void PokerTHMessage::set_has_playerinforeplymessage() { - _has_bits_[0] |= 0x00080000u; -} -inline void PokerTHMessage::clear_has_playerinforeplymessage() { - _has_bits_[0] &= ~0x00080000u; -} -inline void PokerTHMessage::clear_playerinforeplymessage() { - if (playerinforeplymessage_ != NULL) playerinforeplymessage_->::PlayerInfoReplyMessage::Clear(); - clear_has_playerinforeplymessage(); -} -inline const ::PlayerInfoReplyMessage& PokerTHMessage::playerinforeplymessage() const { -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - return playerinforeplymessage_ != NULL ? *playerinforeplymessage_ : *default_instance().playerinforeplymessage_; -#else - return playerinforeplymessage_ != NULL ? *playerinforeplymessage_ : *default_instance_->playerinforeplymessage_; -#endif -} -inline ::PlayerInfoReplyMessage* PokerTHMessage::mutable_playerinforeplymessage() { - set_has_playerinforeplymessage(); - if (playerinforeplymessage_ == NULL) playerinforeplymessage_ = new ::PlayerInfoReplyMessage; - return playerinforeplymessage_; -} -inline ::PlayerInfoReplyMessage* PokerTHMessage::release_playerinforeplymessage() { - clear_has_playerinforeplymessage(); - ::PlayerInfoReplyMessage* temp = playerinforeplymessage_; - playerinforeplymessage_ = NULL; - return temp; -} -inline void PokerTHMessage::set_allocated_playerinforeplymessage(::PlayerInfoReplyMessage* playerinforeplymessage) { - delete playerinforeplymessage_; - playerinforeplymessage_ = playerinforeplymessage; - if (playerinforeplymessage) { - set_has_playerinforeplymessage(); - } else { - clear_has_playerinforeplymessage(); - } -} - -// optional .SubscriptionRequestMessage subscriptionRequestMessage = 21; -inline bool PokerTHMessage::has_subscriptionrequestmessage() const { - return (_has_bits_[0] & 0x00100000u) != 0; -} -inline void PokerTHMessage::set_has_subscriptionrequestmessage() { - _has_bits_[0] |= 0x00100000u; -} -inline void PokerTHMessage::clear_has_subscriptionrequestmessage() { - _has_bits_[0] &= ~0x00100000u; -} -inline void PokerTHMessage::clear_subscriptionrequestmessage() { - if (subscriptionrequestmessage_ != NULL) subscriptionrequestmessage_->::SubscriptionRequestMessage::Clear(); - clear_has_subscriptionrequestmessage(); -} -inline const ::SubscriptionRequestMessage& PokerTHMessage::subscriptionrequestmessage() const { -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - return subscriptionrequestmessage_ != NULL ? *subscriptionrequestmessage_ : *default_instance().subscriptionrequestmessage_; -#else - return subscriptionrequestmessage_ != NULL ? *subscriptionrequestmessage_ : *default_instance_->subscriptionrequestmessage_; -#endif -} -inline ::SubscriptionRequestMessage* PokerTHMessage::mutable_subscriptionrequestmessage() { - set_has_subscriptionrequestmessage(); - if (subscriptionrequestmessage_ == NULL) subscriptionrequestmessage_ = new ::SubscriptionRequestMessage; - return subscriptionrequestmessage_; -} -inline ::SubscriptionRequestMessage* PokerTHMessage::release_subscriptionrequestmessage() { - clear_has_subscriptionrequestmessage(); - ::SubscriptionRequestMessage* temp = subscriptionrequestmessage_; - subscriptionrequestmessage_ = NULL; - return temp; -} -inline void PokerTHMessage::set_allocated_subscriptionrequestmessage(::SubscriptionRequestMessage* subscriptionrequestmessage) { - delete subscriptionrequestmessage_; - subscriptionrequestmessage_ = subscriptionrequestmessage; - if (subscriptionrequestmessage) { - set_has_subscriptionrequestmessage(); - } else { - clear_has_subscriptionrequestmessage(); - } -} - -// optional .JoinExistingGameMessage joinExistingGameMessage = 22; -inline bool PokerTHMessage::has_joinexistinggamemessage() const { - return (_has_bits_[0] & 0x00200000u) != 0; -} -inline void PokerTHMessage::set_has_joinexistinggamemessage() { - _has_bits_[0] |= 0x00200000u; -} -inline void PokerTHMessage::clear_has_joinexistinggamemessage() { - _has_bits_[0] &= ~0x00200000u; -} -inline void PokerTHMessage::clear_joinexistinggamemessage() { - if (joinexistinggamemessage_ != NULL) joinexistinggamemessage_->::JoinExistingGameMessage::Clear(); - clear_has_joinexistinggamemessage(); -} -inline const ::JoinExistingGameMessage& PokerTHMessage::joinexistinggamemessage() const { -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - return joinexistinggamemessage_ != NULL ? *joinexistinggamemessage_ : *default_instance().joinexistinggamemessage_; -#else - return joinexistinggamemessage_ != NULL ? *joinexistinggamemessage_ : *default_instance_->joinexistinggamemessage_; -#endif -} -inline ::JoinExistingGameMessage* PokerTHMessage::mutable_joinexistinggamemessage() { - set_has_joinexistinggamemessage(); - if (joinexistinggamemessage_ == NULL) joinexistinggamemessage_ = new ::JoinExistingGameMessage; - return joinexistinggamemessage_; -} -inline ::JoinExistingGameMessage* PokerTHMessage::release_joinexistinggamemessage() { - clear_has_joinexistinggamemessage(); - ::JoinExistingGameMessage* temp = joinexistinggamemessage_; - joinexistinggamemessage_ = NULL; - return temp; -} -inline void PokerTHMessage::set_allocated_joinexistinggamemessage(::JoinExistingGameMessage* joinexistinggamemessage) { - delete joinexistinggamemessage_; - joinexistinggamemessage_ = joinexistinggamemessage; - if (joinexistinggamemessage) { - set_has_joinexistinggamemessage(); - } else { - clear_has_joinexistinggamemessage(); - } -} - -// optional .JoinNewGameMessage joinNewGameMessage = 23; -inline bool PokerTHMessage::has_joinnewgamemessage() const { - return (_has_bits_[0] & 0x00400000u) != 0; -} -inline void PokerTHMessage::set_has_joinnewgamemessage() { - _has_bits_[0] |= 0x00400000u; -} -inline void PokerTHMessage::clear_has_joinnewgamemessage() { - _has_bits_[0] &= ~0x00400000u; -} -inline void PokerTHMessage::clear_joinnewgamemessage() { - if (joinnewgamemessage_ != NULL) joinnewgamemessage_->::JoinNewGameMessage::Clear(); - clear_has_joinnewgamemessage(); -} -inline const ::JoinNewGameMessage& PokerTHMessage::joinnewgamemessage() const { -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - return joinnewgamemessage_ != NULL ? *joinnewgamemessage_ : *default_instance().joinnewgamemessage_; -#else - return joinnewgamemessage_ != NULL ? *joinnewgamemessage_ : *default_instance_->joinnewgamemessage_; -#endif -} -inline ::JoinNewGameMessage* PokerTHMessage::mutable_joinnewgamemessage() { - set_has_joinnewgamemessage(); - if (joinnewgamemessage_ == NULL) joinnewgamemessage_ = new ::JoinNewGameMessage; - return joinnewgamemessage_; -} -inline ::JoinNewGameMessage* PokerTHMessage::release_joinnewgamemessage() { - clear_has_joinnewgamemessage(); - ::JoinNewGameMessage* temp = joinnewgamemessage_; - joinnewgamemessage_ = NULL; - return temp; -} -inline void PokerTHMessage::set_allocated_joinnewgamemessage(::JoinNewGameMessage* joinnewgamemessage) { - delete joinnewgamemessage_; - joinnewgamemessage_ = joinnewgamemessage; - if (joinnewgamemessage) { - set_has_joinnewgamemessage(); - } else { - clear_has_joinnewgamemessage(); - } -} - -// optional .RejoinExistingGameMessage rejoinExistingGameMessage = 24; -inline bool PokerTHMessage::has_rejoinexistinggamemessage() const { - return (_has_bits_[0] & 0x00800000u) != 0; -} -inline void PokerTHMessage::set_has_rejoinexistinggamemessage() { - _has_bits_[0] |= 0x00800000u; -} -inline void PokerTHMessage::clear_has_rejoinexistinggamemessage() { - _has_bits_[0] &= ~0x00800000u; -} -inline void PokerTHMessage::clear_rejoinexistinggamemessage() { - if (rejoinexistinggamemessage_ != NULL) rejoinexistinggamemessage_->::RejoinExistingGameMessage::Clear(); - clear_has_rejoinexistinggamemessage(); -} -inline const ::RejoinExistingGameMessage& PokerTHMessage::rejoinexistinggamemessage() const { -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - return rejoinexistinggamemessage_ != NULL ? *rejoinexistinggamemessage_ : *default_instance().rejoinexistinggamemessage_; -#else - return rejoinexistinggamemessage_ != NULL ? *rejoinexistinggamemessage_ : *default_instance_->rejoinexistinggamemessage_; -#endif -} -inline ::RejoinExistingGameMessage* PokerTHMessage::mutable_rejoinexistinggamemessage() { - set_has_rejoinexistinggamemessage(); - if (rejoinexistinggamemessage_ == NULL) rejoinexistinggamemessage_ = new ::RejoinExistingGameMessage; - return rejoinexistinggamemessage_; -} -inline ::RejoinExistingGameMessage* PokerTHMessage::release_rejoinexistinggamemessage() { - clear_has_rejoinexistinggamemessage(); - ::RejoinExistingGameMessage* temp = rejoinexistinggamemessage_; - rejoinexistinggamemessage_ = NULL; - return temp; -} -inline void PokerTHMessage::set_allocated_rejoinexistinggamemessage(::RejoinExistingGameMessage* rejoinexistinggamemessage) { - delete rejoinexistinggamemessage_; - rejoinexistinggamemessage_ = rejoinexistinggamemessage; - if (rejoinexistinggamemessage) { - set_has_rejoinexistinggamemessage(); - } else { - clear_has_rejoinexistinggamemessage(); - } -} - -// optional .JoinGameAckMessage joinGameAckMessage = 25; -inline bool PokerTHMessage::has_joingameackmessage() const { - return (_has_bits_[0] & 0x01000000u) != 0; -} -inline void PokerTHMessage::set_has_joingameackmessage() { - _has_bits_[0] |= 0x01000000u; -} -inline void PokerTHMessage::clear_has_joingameackmessage() { - _has_bits_[0] &= ~0x01000000u; -} -inline void PokerTHMessage::clear_joingameackmessage() { - if (joingameackmessage_ != NULL) joingameackmessage_->::JoinGameAckMessage::Clear(); - clear_has_joingameackmessage(); -} -inline const ::JoinGameAckMessage& PokerTHMessage::joingameackmessage() const { -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - return joingameackmessage_ != NULL ? *joingameackmessage_ : *default_instance().joingameackmessage_; -#else - return joingameackmessage_ != NULL ? *joingameackmessage_ : *default_instance_->joingameackmessage_; -#endif -} -inline ::JoinGameAckMessage* PokerTHMessage::mutable_joingameackmessage() { - set_has_joingameackmessage(); - if (joingameackmessage_ == NULL) joingameackmessage_ = new ::JoinGameAckMessage; - return joingameackmessage_; -} -inline ::JoinGameAckMessage* PokerTHMessage::release_joingameackmessage() { - clear_has_joingameackmessage(); - ::JoinGameAckMessage* temp = joingameackmessage_; - joingameackmessage_ = NULL; - return temp; -} -inline void PokerTHMessage::set_allocated_joingameackmessage(::JoinGameAckMessage* joingameackmessage) { - delete joingameackmessage_; - joingameackmessage_ = joingameackmessage; - if (joingameackmessage) { - set_has_joingameackmessage(); - } else { - clear_has_joingameackmessage(); - } -} - -// optional .JoinGameFailedMessage joinGameFailedMessage = 26; -inline bool PokerTHMessage::has_joingamefailedmessage() const { - return (_has_bits_[0] & 0x02000000u) != 0; -} -inline void PokerTHMessage::set_has_joingamefailedmessage() { - _has_bits_[0] |= 0x02000000u; -} -inline void PokerTHMessage::clear_has_joingamefailedmessage() { - _has_bits_[0] &= ~0x02000000u; -} -inline void PokerTHMessage::clear_joingamefailedmessage() { - if (joingamefailedmessage_ != NULL) joingamefailedmessage_->::JoinGameFailedMessage::Clear(); - clear_has_joingamefailedmessage(); -} -inline const ::JoinGameFailedMessage& PokerTHMessage::joingamefailedmessage() const { -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - return joingamefailedmessage_ != NULL ? *joingamefailedmessage_ : *default_instance().joingamefailedmessage_; -#else - return joingamefailedmessage_ != NULL ? *joingamefailedmessage_ : *default_instance_->joingamefailedmessage_; -#endif -} -inline ::JoinGameFailedMessage* PokerTHMessage::mutable_joingamefailedmessage() { - set_has_joingamefailedmessage(); - if (joingamefailedmessage_ == NULL) joingamefailedmessage_ = new ::JoinGameFailedMessage; - return joingamefailedmessage_; -} -inline ::JoinGameFailedMessage* PokerTHMessage::release_joingamefailedmessage() { - clear_has_joingamefailedmessage(); - ::JoinGameFailedMessage* temp = joingamefailedmessage_; - joingamefailedmessage_ = NULL; - return temp; -} -inline void PokerTHMessage::set_allocated_joingamefailedmessage(::JoinGameFailedMessage* joingamefailedmessage) { - delete joingamefailedmessage_; - joingamefailedmessage_ = joingamefailedmessage; - if (joingamefailedmessage) { - set_has_joingamefailedmessage(); - } else { - clear_has_joingamefailedmessage(); - } -} - -// optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 27; -inline bool PokerTHMessage::has_gameplayerjoinedmessage() const { - return (_has_bits_[0] & 0x04000000u) != 0; -} -inline void PokerTHMessage::set_has_gameplayerjoinedmessage() { - _has_bits_[0] |= 0x04000000u; -} -inline void PokerTHMessage::clear_has_gameplayerjoinedmessage() { - _has_bits_[0] &= ~0x04000000u; -} -inline void PokerTHMessage::clear_gameplayerjoinedmessage() { - if (gameplayerjoinedmessage_ != NULL) gameplayerjoinedmessage_->::GamePlayerJoinedMessage::Clear(); - clear_has_gameplayerjoinedmessage(); -} -inline const ::GamePlayerJoinedMessage& PokerTHMessage::gameplayerjoinedmessage() const { -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - return gameplayerjoinedmessage_ != NULL ? *gameplayerjoinedmessage_ : *default_instance().gameplayerjoinedmessage_; -#else - return gameplayerjoinedmessage_ != NULL ? *gameplayerjoinedmessage_ : *default_instance_->gameplayerjoinedmessage_; -#endif -} -inline ::GamePlayerJoinedMessage* PokerTHMessage::mutable_gameplayerjoinedmessage() { - set_has_gameplayerjoinedmessage(); - if (gameplayerjoinedmessage_ == NULL) gameplayerjoinedmessage_ = new ::GamePlayerJoinedMessage; - return gameplayerjoinedmessage_; -} -inline ::GamePlayerJoinedMessage* PokerTHMessage::release_gameplayerjoinedmessage() { - clear_has_gameplayerjoinedmessage(); - ::GamePlayerJoinedMessage* temp = gameplayerjoinedmessage_; - gameplayerjoinedmessage_ = NULL; - return temp; -} -inline void PokerTHMessage::set_allocated_gameplayerjoinedmessage(::GamePlayerJoinedMessage* gameplayerjoinedmessage) { - delete gameplayerjoinedmessage_; - gameplayerjoinedmessage_ = gameplayerjoinedmessage; - if (gameplayerjoinedmessage) { - set_has_gameplayerjoinedmessage(); - } else { - clear_has_gameplayerjoinedmessage(); - } -} - -// optional .GamePlayerLeftMessage gamePlayerLeftMessage = 28; -inline bool PokerTHMessage::has_gameplayerleftmessage() const { - return (_has_bits_[0] & 0x08000000u) != 0; -} -inline void PokerTHMessage::set_has_gameplayerleftmessage() { - _has_bits_[0] |= 0x08000000u; -} -inline void PokerTHMessage::clear_has_gameplayerleftmessage() { - _has_bits_[0] &= ~0x08000000u; -} -inline void PokerTHMessage::clear_gameplayerleftmessage() { - if (gameplayerleftmessage_ != NULL) gameplayerleftmessage_->::GamePlayerLeftMessage::Clear(); - clear_has_gameplayerleftmessage(); -} -inline const ::GamePlayerLeftMessage& PokerTHMessage::gameplayerleftmessage() const { -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - return gameplayerleftmessage_ != NULL ? *gameplayerleftmessage_ : *default_instance().gameplayerleftmessage_; -#else - return gameplayerleftmessage_ != NULL ? *gameplayerleftmessage_ : *default_instance_->gameplayerleftmessage_; -#endif -} -inline ::GamePlayerLeftMessage* PokerTHMessage::mutable_gameplayerleftmessage() { - set_has_gameplayerleftmessage(); - if (gameplayerleftmessage_ == NULL) gameplayerleftmessage_ = new ::GamePlayerLeftMessage; - return gameplayerleftmessage_; -} -inline ::GamePlayerLeftMessage* PokerTHMessage::release_gameplayerleftmessage() { - clear_has_gameplayerleftmessage(); - ::GamePlayerLeftMessage* temp = gameplayerleftmessage_; - gameplayerleftmessage_ = NULL; - return temp; -} -inline void PokerTHMessage::set_allocated_gameplayerleftmessage(::GamePlayerLeftMessage* gameplayerleftmessage) { - delete gameplayerleftmessage_; - gameplayerleftmessage_ = gameplayerleftmessage; - if (gameplayerleftmessage) { - set_has_gameplayerleftmessage(); - } else { - clear_has_gameplayerleftmessage(); - } -} - -// optional .GameAdminChangedMessage gameAdminChangedMessage = 29; -inline bool PokerTHMessage::has_gameadminchangedmessage() const { - return (_has_bits_[0] & 0x10000000u) != 0; -} -inline void PokerTHMessage::set_has_gameadminchangedmessage() { - _has_bits_[0] |= 0x10000000u; -} -inline void PokerTHMessage::clear_has_gameadminchangedmessage() { - _has_bits_[0] &= ~0x10000000u; -} -inline void PokerTHMessage::clear_gameadminchangedmessage() { - if (gameadminchangedmessage_ != NULL) gameadminchangedmessage_->::GameAdminChangedMessage::Clear(); - clear_has_gameadminchangedmessage(); -} -inline const ::GameAdminChangedMessage& PokerTHMessage::gameadminchangedmessage() const { -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - return gameadminchangedmessage_ != NULL ? *gameadminchangedmessage_ : *default_instance().gameadminchangedmessage_; -#else - return gameadminchangedmessage_ != NULL ? *gameadminchangedmessage_ : *default_instance_->gameadminchangedmessage_; -#endif -} -inline ::GameAdminChangedMessage* PokerTHMessage::mutable_gameadminchangedmessage() { - set_has_gameadminchangedmessage(); - if (gameadminchangedmessage_ == NULL) gameadminchangedmessage_ = new ::GameAdminChangedMessage; - return gameadminchangedmessage_; -} -inline ::GameAdminChangedMessage* PokerTHMessage::release_gameadminchangedmessage() { - clear_has_gameadminchangedmessage(); - ::GameAdminChangedMessage* temp = gameadminchangedmessage_; - gameadminchangedmessage_ = NULL; - return temp; -} -inline void PokerTHMessage::set_allocated_gameadminchangedmessage(::GameAdminChangedMessage* gameadminchangedmessage) { - delete gameadminchangedmessage_; - gameadminchangedmessage_ = gameadminchangedmessage; - if (gameadminchangedmessage) { - set_has_gameadminchangedmessage(); - } else { - clear_has_gameadminchangedmessage(); - } -} - -// optional .RemovedFromGameMessage removedFromGameMessage = 30; -inline bool PokerTHMessage::has_removedfromgamemessage() const { - return (_has_bits_[0] & 0x20000000u) != 0; -} -inline void PokerTHMessage::set_has_removedfromgamemessage() { - _has_bits_[0] |= 0x20000000u; -} -inline void PokerTHMessage::clear_has_removedfromgamemessage() { - _has_bits_[0] &= ~0x20000000u; -} -inline void PokerTHMessage::clear_removedfromgamemessage() { - if (removedfromgamemessage_ != NULL) removedfromgamemessage_->::RemovedFromGameMessage::Clear(); - clear_has_removedfromgamemessage(); -} -inline const ::RemovedFromGameMessage& PokerTHMessage::removedfromgamemessage() const { -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - return removedfromgamemessage_ != NULL ? *removedfromgamemessage_ : *default_instance().removedfromgamemessage_; -#else - return removedfromgamemessage_ != NULL ? *removedfromgamemessage_ : *default_instance_->removedfromgamemessage_; -#endif -} -inline ::RemovedFromGameMessage* PokerTHMessage::mutable_removedfromgamemessage() { - set_has_removedfromgamemessage(); - if (removedfromgamemessage_ == NULL) removedfromgamemessage_ = new ::RemovedFromGameMessage; - return removedfromgamemessage_; -} -inline ::RemovedFromGameMessage* PokerTHMessage::release_removedfromgamemessage() { - clear_has_removedfromgamemessage(); - ::RemovedFromGameMessage* temp = removedfromgamemessage_; - removedfromgamemessage_ = NULL; - return temp; -} -inline void PokerTHMessage::set_allocated_removedfromgamemessage(::RemovedFromGameMessage* removedfromgamemessage) { - delete removedfromgamemessage_; - removedfromgamemessage_ = removedfromgamemessage; - if (removedfromgamemessage) { - set_has_removedfromgamemessage(); - } else { - clear_has_removedfromgamemessage(); - } -} - -// optional .KickPlayerRequestMessage kickPlayerRequestMessage = 31; -inline bool PokerTHMessage::has_kickplayerrequestmessage() const { - return (_has_bits_[0] & 0x40000000u) != 0; -} -inline void PokerTHMessage::set_has_kickplayerrequestmessage() { - _has_bits_[0] |= 0x40000000u; -} -inline void PokerTHMessage::clear_has_kickplayerrequestmessage() { - _has_bits_[0] &= ~0x40000000u; -} -inline void PokerTHMessage::clear_kickplayerrequestmessage() { - if (kickplayerrequestmessage_ != NULL) kickplayerrequestmessage_->::KickPlayerRequestMessage::Clear(); - clear_has_kickplayerrequestmessage(); -} -inline const ::KickPlayerRequestMessage& PokerTHMessage::kickplayerrequestmessage() const { -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - return kickplayerrequestmessage_ != NULL ? *kickplayerrequestmessage_ : *default_instance().kickplayerrequestmessage_; -#else - return kickplayerrequestmessage_ != NULL ? *kickplayerrequestmessage_ : *default_instance_->kickplayerrequestmessage_; -#endif -} -inline ::KickPlayerRequestMessage* PokerTHMessage::mutable_kickplayerrequestmessage() { - set_has_kickplayerrequestmessage(); - if (kickplayerrequestmessage_ == NULL) kickplayerrequestmessage_ = new ::KickPlayerRequestMessage; - return kickplayerrequestmessage_; -} -inline ::KickPlayerRequestMessage* PokerTHMessage::release_kickplayerrequestmessage() { - clear_has_kickplayerrequestmessage(); - ::KickPlayerRequestMessage* temp = kickplayerrequestmessage_; - kickplayerrequestmessage_ = NULL; - return temp; -} -inline void PokerTHMessage::set_allocated_kickplayerrequestmessage(::KickPlayerRequestMessage* kickplayerrequestmessage) { - delete kickplayerrequestmessage_; - kickplayerrequestmessage_ = kickplayerrequestmessage; - if (kickplayerrequestmessage) { - set_has_kickplayerrequestmessage(); - } else { - clear_has_kickplayerrequestmessage(); - } -} - -// optional .LeaveGameRequestMessage leaveGameRequestMessage = 32; -inline bool PokerTHMessage::has_leavegamerequestmessage() const { - return (_has_bits_[0] & 0x80000000u) != 0; -} -inline void PokerTHMessage::set_has_leavegamerequestmessage() { - _has_bits_[0] |= 0x80000000u; -} -inline void PokerTHMessage::clear_has_leavegamerequestmessage() { - _has_bits_[0] &= ~0x80000000u; -} -inline void PokerTHMessage::clear_leavegamerequestmessage() { - if (leavegamerequestmessage_ != NULL) leavegamerequestmessage_->::LeaveGameRequestMessage::Clear(); - clear_has_leavegamerequestmessage(); -} -inline const ::LeaveGameRequestMessage& PokerTHMessage::leavegamerequestmessage() const { -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - return leavegamerequestmessage_ != NULL ? *leavegamerequestmessage_ : *default_instance().leavegamerequestmessage_; -#else - return leavegamerequestmessage_ != NULL ? *leavegamerequestmessage_ : *default_instance_->leavegamerequestmessage_; -#endif -} -inline ::LeaveGameRequestMessage* PokerTHMessage::mutable_leavegamerequestmessage() { - set_has_leavegamerequestmessage(); - if (leavegamerequestmessage_ == NULL) leavegamerequestmessage_ = new ::LeaveGameRequestMessage; - return leavegamerequestmessage_; -} -inline ::LeaveGameRequestMessage* PokerTHMessage::release_leavegamerequestmessage() { - clear_has_leavegamerequestmessage(); - ::LeaveGameRequestMessage* temp = leavegamerequestmessage_; - leavegamerequestmessage_ = NULL; - return temp; -} -inline void PokerTHMessage::set_allocated_leavegamerequestmessage(::LeaveGameRequestMessage* leavegamerequestmessage) { - delete leavegamerequestmessage_; - leavegamerequestmessage_ = leavegamerequestmessage; - if (leavegamerequestmessage) { - set_has_leavegamerequestmessage(); - } else { - clear_has_leavegamerequestmessage(); - } -} - -// optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 33; -inline bool PokerTHMessage::has_inviteplayertogamemessage() const { - return (_has_bits_[1] & 0x00000001u) != 0; -} -inline void PokerTHMessage::set_has_inviteplayertogamemessage() { - _has_bits_[1] |= 0x00000001u; -} -inline void PokerTHMessage::clear_has_inviteplayertogamemessage() { - _has_bits_[1] &= ~0x00000001u; -} -inline void PokerTHMessage::clear_inviteplayertogamemessage() { - if (inviteplayertogamemessage_ != NULL) inviteplayertogamemessage_->::InvitePlayerToGameMessage::Clear(); - clear_has_inviteplayertogamemessage(); -} -inline const ::InvitePlayerToGameMessage& PokerTHMessage::inviteplayertogamemessage() const { -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - return inviteplayertogamemessage_ != NULL ? *inviteplayertogamemessage_ : *default_instance().inviteplayertogamemessage_; -#else - return inviteplayertogamemessage_ != NULL ? *inviteplayertogamemessage_ : *default_instance_->inviteplayertogamemessage_; -#endif -} -inline ::InvitePlayerToGameMessage* PokerTHMessage::mutable_inviteplayertogamemessage() { - set_has_inviteplayertogamemessage(); - if (inviteplayertogamemessage_ == NULL) inviteplayertogamemessage_ = new ::InvitePlayerToGameMessage; - return inviteplayertogamemessage_; -} -inline ::InvitePlayerToGameMessage* PokerTHMessage::release_inviteplayertogamemessage() { - clear_has_inviteplayertogamemessage(); - ::InvitePlayerToGameMessage* temp = inviteplayertogamemessage_; - inviteplayertogamemessage_ = NULL; - return temp; -} -inline void PokerTHMessage::set_allocated_inviteplayertogamemessage(::InvitePlayerToGameMessage* inviteplayertogamemessage) { - delete inviteplayertogamemessage_; - inviteplayertogamemessage_ = inviteplayertogamemessage; - if (inviteplayertogamemessage) { - set_has_inviteplayertogamemessage(); - } else { - clear_has_inviteplayertogamemessage(); - } -} - -// optional .InviteNotifyMessage inviteNotifyMessage = 34; -inline bool PokerTHMessage::has_invitenotifymessage() const { - return (_has_bits_[1] & 0x00000002u) != 0; -} -inline void PokerTHMessage::set_has_invitenotifymessage() { - _has_bits_[1] |= 0x00000002u; -} -inline void PokerTHMessage::clear_has_invitenotifymessage() { - _has_bits_[1] &= ~0x00000002u; -} -inline void PokerTHMessage::clear_invitenotifymessage() { - if (invitenotifymessage_ != NULL) invitenotifymessage_->::InviteNotifyMessage::Clear(); - clear_has_invitenotifymessage(); -} -inline const ::InviteNotifyMessage& PokerTHMessage::invitenotifymessage() const { -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - return invitenotifymessage_ != NULL ? *invitenotifymessage_ : *default_instance().invitenotifymessage_; -#else - return invitenotifymessage_ != NULL ? *invitenotifymessage_ : *default_instance_->invitenotifymessage_; -#endif -} -inline ::InviteNotifyMessage* PokerTHMessage::mutable_invitenotifymessage() { - set_has_invitenotifymessage(); - if (invitenotifymessage_ == NULL) invitenotifymessage_ = new ::InviteNotifyMessage; - return invitenotifymessage_; -} -inline ::InviteNotifyMessage* PokerTHMessage::release_invitenotifymessage() { - clear_has_invitenotifymessage(); - ::InviteNotifyMessage* temp = invitenotifymessage_; - invitenotifymessage_ = NULL; - return temp; -} -inline void PokerTHMessage::set_allocated_invitenotifymessage(::InviteNotifyMessage* invitenotifymessage) { - delete invitenotifymessage_; - invitenotifymessage_ = invitenotifymessage; - if (invitenotifymessage) { - set_has_invitenotifymessage(); - } else { - clear_has_invitenotifymessage(); - } -} - -// optional .RejectGameInvitationMessage rejectGameInvitationMessage = 35; -inline bool PokerTHMessage::has_rejectgameinvitationmessage() const { - return (_has_bits_[1] & 0x00000004u) != 0; -} -inline void PokerTHMessage::set_has_rejectgameinvitationmessage() { - _has_bits_[1] |= 0x00000004u; -} -inline void PokerTHMessage::clear_has_rejectgameinvitationmessage() { - _has_bits_[1] &= ~0x00000004u; -} -inline void PokerTHMessage::clear_rejectgameinvitationmessage() { - if (rejectgameinvitationmessage_ != NULL) rejectgameinvitationmessage_->::RejectGameInvitationMessage::Clear(); - clear_has_rejectgameinvitationmessage(); -} -inline const ::RejectGameInvitationMessage& PokerTHMessage::rejectgameinvitationmessage() const { -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - return rejectgameinvitationmessage_ != NULL ? *rejectgameinvitationmessage_ : *default_instance().rejectgameinvitationmessage_; -#else - return rejectgameinvitationmessage_ != NULL ? *rejectgameinvitationmessage_ : *default_instance_->rejectgameinvitationmessage_; -#endif -} -inline ::RejectGameInvitationMessage* PokerTHMessage::mutable_rejectgameinvitationmessage() { - set_has_rejectgameinvitationmessage(); - if (rejectgameinvitationmessage_ == NULL) rejectgameinvitationmessage_ = new ::RejectGameInvitationMessage; - return rejectgameinvitationmessage_; -} -inline ::RejectGameInvitationMessage* PokerTHMessage::release_rejectgameinvitationmessage() { - clear_has_rejectgameinvitationmessage(); - ::RejectGameInvitationMessage* temp = rejectgameinvitationmessage_; - rejectgameinvitationmessage_ = NULL; - return temp; -} -inline void PokerTHMessage::set_allocated_rejectgameinvitationmessage(::RejectGameInvitationMessage* rejectgameinvitationmessage) { - delete rejectgameinvitationmessage_; - rejectgameinvitationmessage_ = rejectgameinvitationmessage; - if (rejectgameinvitationmessage) { - set_has_rejectgameinvitationmessage(); - } else { - clear_has_rejectgameinvitationmessage(); - } -} - -// optional .RejectInvNotifyMessage rejectInvNotifyMessage = 36; -inline bool PokerTHMessage::has_rejectinvnotifymessage() const { - return (_has_bits_[1] & 0x00000008u) != 0; -} -inline void PokerTHMessage::set_has_rejectinvnotifymessage() { - _has_bits_[1] |= 0x00000008u; -} -inline void PokerTHMessage::clear_has_rejectinvnotifymessage() { - _has_bits_[1] &= ~0x00000008u; -} -inline void PokerTHMessage::clear_rejectinvnotifymessage() { - if (rejectinvnotifymessage_ != NULL) rejectinvnotifymessage_->::RejectInvNotifyMessage::Clear(); - clear_has_rejectinvnotifymessage(); -} -inline const ::RejectInvNotifyMessage& PokerTHMessage::rejectinvnotifymessage() const { -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - return rejectinvnotifymessage_ != NULL ? *rejectinvnotifymessage_ : *default_instance().rejectinvnotifymessage_; -#else - return rejectinvnotifymessage_ != NULL ? *rejectinvnotifymessage_ : *default_instance_->rejectinvnotifymessage_; -#endif -} -inline ::RejectInvNotifyMessage* PokerTHMessage::mutable_rejectinvnotifymessage() { - set_has_rejectinvnotifymessage(); - if (rejectinvnotifymessage_ == NULL) rejectinvnotifymessage_ = new ::RejectInvNotifyMessage; - return rejectinvnotifymessage_; -} -inline ::RejectInvNotifyMessage* PokerTHMessage::release_rejectinvnotifymessage() { - clear_has_rejectinvnotifymessage(); - ::RejectInvNotifyMessage* temp = rejectinvnotifymessage_; - rejectinvnotifymessage_ = NULL; - return temp; -} -inline void PokerTHMessage::set_allocated_rejectinvnotifymessage(::RejectInvNotifyMessage* rejectinvnotifymessage) { - delete rejectinvnotifymessage_; - rejectinvnotifymessage_ = rejectinvnotifymessage; - if (rejectinvnotifymessage) { - set_has_rejectinvnotifymessage(); - } else { - clear_has_rejectinvnotifymessage(); - } -} - -// optional .StartEventMessage startEventMessage = 37; -inline bool PokerTHMessage::has_starteventmessage() const { - return (_has_bits_[1] & 0x00000010u) != 0; -} -inline void PokerTHMessage::set_has_starteventmessage() { - _has_bits_[1] |= 0x00000010u; -} -inline void PokerTHMessage::clear_has_starteventmessage() { - _has_bits_[1] &= ~0x00000010u; -} -inline void PokerTHMessage::clear_starteventmessage() { - if (starteventmessage_ != NULL) starteventmessage_->::StartEventMessage::Clear(); - clear_has_starteventmessage(); -} -inline const ::StartEventMessage& PokerTHMessage::starteventmessage() const { -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - return starteventmessage_ != NULL ? *starteventmessage_ : *default_instance().starteventmessage_; -#else - return starteventmessage_ != NULL ? *starteventmessage_ : *default_instance_->starteventmessage_; -#endif -} -inline ::StartEventMessage* PokerTHMessage::mutable_starteventmessage() { - set_has_starteventmessage(); - if (starteventmessage_ == NULL) starteventmessage_ = new ::StartEventMessage; - return starteventmessage_; -} -inline ::StartEventMessage* PokerTHMessage::release_starteventmessage() { - clear_has_starteventmessage(); - ::StartEventMessage* temp = starteventmessage_; - starteventmessage_ = NULL; - return temp; -} -inline void PokerTHMessage::set_allocated_starteventmessage(::StartEventMessage* starteventmessage) { - delete starteventmessage_; - starteventmessage_ = starteventmessage; - if (starteventmessage) { - set_has_starteventmessage(); - } else { - clear_has_starteventmessage(); - } -} - -// optional .StartEventAckMessage startEventAckMessage = 38; -inline bool PokerTHMessage::has_starteventackmessage() const { - return (_has_bits_[1] & 0x00000020u) != 0; -} -inline void PokerTHMessage::set_has_starteventackmessage() { - _has_bits_[1] |= 0x00000020u; -} -inline void PokerTHMessage::clear_has_starteventackmessage() { - _has_bits_[1] &= ~0x00000020u; -} -inline void PokerTHMessage::clear_starteventackmessage() { - if (starteventackmessage_ != NULL) starteventackmessage_->::StartEventAckMessage::Clear(); - clear_has_starteventackmessage(); -} -inline const ::StartEventAckMessage& PokerTHMessage::starteventackmessage() const { -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - return starteventackmessage_ != NULL ? *starteventackmessage_ : *default_instance().starteventackmessage_; -#else - return starteventackmessage_ != NULL ? *starteventackmessage_ : *default_instance_->starteventackmessage_; -#endif -} -inline ::StartEventAckMessage* PokerTHMessage::mutable_starteventackmessage() { - set_has_starteventackmessage(); - if (starteventackmessage_ == NULL) starteventackmessage_ = new ::StartEventAckMessage; - return starteventackmessage_; -} -inline ::StartEventAckMessage* PokerTHMessage::release_starteventackmessage() { - clear_has_starteventackmessage(); - ::StartEventAckMessage* temp = starteventackmessage_; - starteventackmessage_ = NULL; - return temp; -} -inline void PokerTHMessage::set_allocated_starteventackmessage(::StartEventAckMessage* starteventackmessage) { - delete starteventackmessage_; - starteventackmessage_ = starteventackmessage; - if (starteventackmessage) { - set_has_starteventackmessage(); - } else { - clear_has_starteventackmessage(); - } -} - -// optional .GameStartInitialMessage gameStartInitialMessage = 39; -inline bool PokerTHMessage::has_gamestartinitialmessage() const { - return (_has_bits_[1] & 0x00000040u) != 0; -} -inline void PokerTHMessage::set_has_gamestartinitialmessage() { - _has_bits_[1] |= 0x00000040u; -} -inline void PokerTHMessage::clear_has_gamestartinitialmessage() { - _has_bits_[1] &= ~0x00000040u; -} -inline void PokerTHMessage::clear_gamestartinitialmessage() { - if (gamestartinitialmessage_ != NULL) gamestartinitialmessage_->::GameStartInitialMessage::Clear(); - clear_has_gamestartinitialmessage(); -} -inline const ::GameStartInitialMessage& PokerTHMessage::gamestartinitialmessage() const { -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - return gamestartinitialmessage_ != NULL ? *gamestartinitialmessage_ : *default_instance().gamestartinitialmessage_; -#else - return gamestartinitialmessage_ != NULL ? *gamestartinitialmessage_ : *default_instance_->gamestartinitialmessage_; -#endif -} -inline ::GameStartInitialMessage* PokerTHMessage::mutable_gamestartinitialmessage() { - set_has_gamestartinitialmessage(); - if (gamestartinitialmessage_ == NULL) gamestartinitialmessage_ = new ::GameStartInitialMessage; - return gamestartinitialmessage_; -} -inline ::GameStartInitialMessage* PokerTHMessage::release_gamestartinitialmessage() { - clear_has_gamestartinitialmessage(); - ::GameStartInitialMessage* temp = gamestartinitialmessage_; - gamestartinitialmessage_ = NULL; - return temp; -} -inline void PokerTHMessage::set_allocated_gamestartinitialmessage(::GameStartInitialMessage* gamestartinitialmessage) { - delete gamestartinitialmessage_; - gamestartinitialmessage_ = gamestartinitialmessage; - if (gamestartinitialmessage) { - set_has_gamestartinitialmessage(); - } else { - clear_has_gamestartinitialmessage(); - } -} - -// optional .GameStartRejoinMessage gameStartRejoinMessage = 40; -inline bool PokerTHMessage::has_gamestartrejoinmessage() const { - return (_has_bits_[1] & 0x00000080u) != 0; -} -inline void PokerTHMessage::set_has_gamestartrejoinmessage() { - _has_bits_[1] |= 0x00000080u; -} -inline void PokerTHMessage::clear_has_gamestartrejoinmessage() { - _has_bits_[1] &= ~0x00000080u; -} -inline void PokerTHMessage::clear_gamestartrejoinmessage() { - if (gamestartrejoinmessage_ != NULL) gamestartrejoinmessage_->::GameStartRejoinMessage::Clear(); - clear_has_gamestartrejoinmessage(); -} -inline const ::GameStartRejoinMessage& PokerTHMessage::gamestartrejoinmessage() const { -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - return gamestartrejoinmessage_ != NULL ? *gamestartrejoinmessage_ : *default_instance().gamestartrejoinmessage_; -#else - return gamestartrejoinmessage_ != NULL ? *gamestartrejoinmessage_ : *default_instance_->gamestartrejoinmessage_; -#endif -} -inline ::GameStartRejoinMessage* PokerTHMessage::mutable_gamestartrejoinmessage() { - set_has_gamestartrejoinmessage(); - if (gamestartrejoinmessage_ == NULL) gamestartrejoinmessage_ = new ::GameStartRejoinMessage; - return gamestartrejoinmessage_; -} -inline ::GameStartRejoinMessage* PokerTHMessage::release_gamestartrejoinmessage() { - clear_has_gamestartrejoinmessage(); - ::GameStartRejoinMessage* temp = gamestartrejoinmessage_; - gamestartrejoinmessage_ = NULL; - return temp; -} -inline void PokerTHMessage::set_allocated_gamestartrejoinmessage(::GameStartRejoinMessage* gamestartrejoinmessage) { - delete gamestartrejoinmessage_; - gamestartrejoinmessage_ = gamestartrejoinmessage; - if (gamestartrejoinmessage) { - set_has_gamestartrejoinmessage(); - } else { - clear_has_gamestartrejoinmessage(); - } -} - -// optional .HandStartMessage handStartMessage = 41; -inline bool PokerTHMessage::has_handstartmessage() const { - return (_has_bits_[1] & 0x00000100u) != 0; -} -inline void PokerTHMessage::set_has_handstartmessage() { - _has_bits_[1] |= 0x00000100u; -} -inline void PokerTHMessage::clear_has_handstartmessage() { - _has_bits_[1] &= ~0x00000100u; -} -inline void PokerTHMessage::clear_handstartmessage() { - if (handstartmessage_ != NULL) handstartmessage_->::HandStartMessage::Clear(); - clear_has_handstartmessage(); -} -inline const ::HandStartMessage& PokerTHMessage::handstartmessage() const { -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - return handstartmessage_ != NULL ? *handstartmessage_ : *default_instance().handstartmessage_; -#else - return handstartmessage_ != NULL ? *handstartmessage_ : *default_instance_->handstartmessage_; -#endif -} -inline ::HandStartMessage* PokerTHMessage::mutable_handstartmessage() { - set_has_handstartmessage(); - if (handstartmessage_ == NULL) handstartmessage_ = new ::HandStartMessage; - return handstartmessage_; -} -inline ::HandStartMessage* PokerTHMessage::release_handstartmessage() { - clear_has_handstartmessage(); - ::HandStartMessage* temp = handstartmessage_; - handstartmessage_ = NULL; - return temp; -} -inline void PokerTHMessage::set_allocated_handstartmessage(::HandStartMessage* handstartmessage) { - delete handstartmessage_; - handstartmessage_ = handstartmessage; - if (handstartmessage) { - set_has_handstartmessage(); - } else { - clear_has_handstartmessage(); - } -} - -// optional .PlayersTurnMessage playersTurnMessage = 42; -inline bool PokerTHMessage::has_playersturnmessage() const { - return (_has_bits_[1] & 0x00000200u) != 0; -} -inline void PokerTHMessage::set_has_playersturnmessage() { - _has_bits_[1] |= 0x00000200u; -} -inline void PokerTHMessage::clear_has_playersturnmessage() { - _has_bits_[1] &= ~0x00000200u; -} -inline void PokerTHMessage::clear_playersturnmessage() { - if (playersturnmessage_ != NULL) playersturnmessage_->::PlayersTurnMessage::Clear(); - clear_has_playersturnmessage(); -} -inline const ::PlayersTurnMessage& PokerTHMessage::playersturnmessage() const { -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - return playersturnmessage_ != NULL ? *playersturnmessage_ : *default_instance().playersturnmessage_; -#else - return playersturnmessage_ != NULL ? *playersturnmessage_ : *default_instance_->playersturnmessage_; -#endif -} -inline ::PlayersTurnMessage* PokerTHMessage::mutable_playersturnmessage() { - set_has_playersturnmessage(); - if (playersturnmessage_ == NULL) playersturnmessage_ = new ::PlayersTurnMessage; - return playersturnmessage_; -} -inline ::PlayersTurnMessage* PokerTHMessage::release_playersturnmessage() { - clear_has_playersturnmessage(); - ::PlayersTurnMessage* temp = playersturnmessage_; - playersturnmessage_ = NULL; - return temp; -} -inline void PokerTHMessage::set_allocated_playersturnmessage(::PlayersTurnMessage* playersturnmessage) { - delete playersturnmessage_; - playersturnmessage_ = playersturnmessage; - if (playersturnmessage) { - set_has_playersturnmessage(); - } else { - clear_has_playersturnmessage(); - } -} - -// optional .MyActionRequestMessage myActionRequestMessage = 43; -inline bool PokerTHMessage::has_myactionrequestmessage() const { - return (_has_bits_[1] & 0x00000400u) != 0; -} -inline void PokerTHMessage::set_has_myactionrequestmessage() { - _has_bits_[1] |= 0x00000400u; -} -inline void PokerTHMessage::clear_has_myactionrequestmessage() { - _has_bits_[1] &= ~0x00000400u; -} -inline void PokerTHMessage::clear_myactionrequestmessage() { - if (myactionrequestmessage_ != NULL) myactionrequestmessage_->::MyActionRequestMessage::Clear(); - clear_has_myactionrequestmessage(); -} -inline const ::MyActionRequestMessage& PokerTHMessage::myactionrequestmessage() const { -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - return myactionrequestmessage_ != NULL ? *myactionrequestmessage_ : *default_instance().myactionrequestmessage_; -#else - return myactionrequestmessage_ != NULL ? *myactionrequestmessage_ : *default_instance_->myactionrequestmessage_; -#endif -} -inline ::MyActionRequestMessage* PokerTHMessage::mutable_myactionrequestmessage() { - set_has_myactionrequestmessage(); - if (myactionrequestmessage_ == NULL) myactionrequestmessage_ = new ::MyActionRequestMessage; - return myactionrequestmessage_; -} -inline ::MyActionRequestMessage* PokerTHMessage::release_myactionrequestmessage() { - clear_has_myactionrequestmessage(); - ::MyActionRequestMessage* temp = myactionrequestmessage_; - myactionrequestmessage_ = NULL; - return temp; -} -inline void PokerTHMessage::set_allocated_myactionrequestmessage(::MyActionRequestMessage* myactionrequestmessage) { - delete myactionrequestmessage_; - myactionrequestmessage_ = myactionrequestmessage; - if (myactionrequestmessage) { - set_has_myactionrequestmessage(); - } else { - clear_has_myactionrequestmessage(); - } -} - -// optional .YourActionRejectedMessage yourActionRejectedMessage = 44; -inline bool PokerTHMessage::has_youractionrejectedmessage() const { - return (_has_bits_[1] & 0x00000800u) != 0; -} -inline void PokerTHMessage::set_has_youractionrejectedmessage() { - _has_bits_[1] |= 0x00000800u; -} -inline void PokerTHMessage::clear_has_youractionrejectedmessage() { - _has_bits_[1] &= ~0x00000800u; -} -inline void PokerTHMessage::clear_youractionrejectedmessage() { - if (youractionrejectedmessage_ != NULL) youractionrejectedmessage_->::YourActionRejectedMessage::Clear(); - clear_has_youractionrejectedmessage(); -} -inline const ::YourActionRejectedMessage& PokerTHMessage::youractionrejectedmessage() const { -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - return youractionrejectedmessage_ != NULL ? *youractionrejectedmessage_ : *default_instance().youractionrejectedmessage_; -#else - return youractionrejectedmessage_ != NULL ? *youractionrejectedmessage_ : *default_instance_->youractionrejectedmessage_; -#endif -} -inline ::YourActionRejectedMessage* PokerTHMessage::mutable_youractionrejectedmessage() { - set_has_youractionrejectedmessage(); - if (youractionrejectedmessage_ == NULL) youractionrejectedmessage_ = new ::YourActionRejectedMessage; - return youractionrejectedmessage_; -} -inline ::YourActionRejectedMessage* PokerTHMessage::release_youractionrejectedmessage() { - clear_has_youractionrejectedmessage(); - ::YourActionRejectedMessage* temp = youractionrejectedmessage_; - youractionrejectedmessage_ = NULL; - return temp; -} -inline void PokerTHMessage::set_allocated_youractionrejectedmessage(::YourActionRejectedMessage* youractionrejectedmessage) { - delete youractionrejectedmessage_; - youractionrejectedmessage_ = youractionrejectedmessage; - if (youractionrejectedmessage) { - set_has_youractionrejectedmessage(); - } else { - clear_has_youractionrejectedmessage(); - } -} - -// optional .PlayersActionDoneMessage playersActionDoneMessage = 45; -inline bool PokerTHMessage::has_playersactiondonemessage() const { - return (_has_bits_[1] & 0x00001000u) != 0; -} -inline void PokerTHMessage::set_has_playersactiondonemessage() { - _has_bits_[1] |= 0x00001000u; -} -inline void PokerTHMessage::clear_has_playersactiondonemessage() { - _has_bits_[1] &= ~0x00001000u; -} -inline void PokerTHMessage::clear_playersactiondonemessage() { - if (playersactiondonemessage_ != NULL) playersactiondonemessage_->::PlayersActionDoneMessage::Clear(); - clear_has_playersactiondonemessage(); -} -inline const ::PlayersActionDoneMessage& PokerTHMessage::playersactiondonemessage() const { -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - return playersactiondonemessage_ != NULL ? *playersactiondonemessage_ : *default_instance().playersactiondonemessage_; -#else - return playersactiondonemessage_ != NULL ? *playersactiondonemessage_ : *default_instance_->playersactiondonemessage_; -#endif -} -inline ::PlayersActionDoneMessage* PokerTHMessage::mutable_playersactiondonemessage() { - set_has_playersactiondonemessage(); - if (playersactiondonemessage_ == NULL) playersactiondonemessage_ = new ::PlayersActionDoneMessage; - return playersactiondonemessage_; -} -inline ::PlayersActionDoneMessage* PokerTHMessage::release_playersactiondonemessage() { - clear_has_playersactiondonemessage(); - ::PlayersActionDoneMessage* temp = playersactiondonemessage_; - playersactiondonemessage_ = NULL; - return temp; -} -inline void PokerTHMessage::set_allocated_playersactiondonemessage(::PlayersActionDoneMessage* playersactiondonemessage) { - delete playersactiondonemessage_; - playersactiondonemessage_ = playersactiondonemessage; - if (playersactiondonemessage) { - set_has_playersactiondonemessage(); - } else { - clear_has_playersactiondonemessage(); - } -} - -// optional .DealFlopCardsMessage dealFlopCardsMessage = 46; -inline bool PokerTHMessage::has_dealflopcardsmessage() const { - return (_has_bits_[1] & 0x00002000u) != 0; -} -inline void PokerTHMessage::set_has_dealflopcardsmessage() { - _has_bits_[1] |= 0x00002000u; -} -inline void PokerTHMessage::clear_has_dealflopcardsmessage() { - _has_bits_[1] &= ~0x00002000u; -} -inline void PokerTHMessage::clear_dealflopcardsmessage() { - if (dealflopcardsmessage_ != NULL) dealflopcardsmessage_->::DealFlopCardsMessage::Clear(); - clear_has_dealflopcardsmessage(); -} -inline const ::DealFlopCardsMessage& PokerTHMessage::dealflopcardsmessage() const { -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - return dealflopcardsmessage_ != NULL ? *dealflopcardsmessage_ : *default_instance().dealflopcardsmessage_; -#else - return dealflopcardsmessage_ != NULL ? *dealflopcardsmessage_ : *default_instance_->dealflopcardsmessage_; -#endif -} -inline ::DealFlopCardsMessage* PokerTHMessage::mutable_dealflopcardsmessage() { - set_has_dealflopcardsmessage(); - if (dealflopcardsmessage_ == NULL) dealflopcardsmessage_ = new ::DealFlopCardsMessage; - return dealflopcardsmessage_; -} -inline ::DealFlopCardsMessage* PokerTHMessage::release_dealflopcardsmessage() { - clear_has_dealflopcardsmessage(); - ::DealFlopCardsMessage* temp = dealflopcardsmessage_; - dealflopcardsmessage_ = NULL; - return temp; -} -inline void PokerTHMessage::set_allocated_dealflopcardsmessage(::DealFlopCardsMessage* dealflopcardsmessage) { - delete dealflopcardsmessage_; - dealflopcardsmessage_ = dealflopcardsmessage; - if (dealflopcardsmessage) { - set_has_dealflopcardsmessage(); - } else { - clear_has_dealflopcardsmessage(); - } -} - -// optional .DealTurnCardMessage dealTurnCardMessage = 47; -inline bool PokerTHMessage::has_dealturncardmessage() const { - return (_has_bits_[1] & 0x00004000u) != 0; -} -inline void PokerTHMessage::set_has_dealturncardmessage() { - _has_bits_[1] |= 0x00004000u; -} -inline void PokerTHMessage::clear_has_dealturncardmessage() { - _has_bits_[1] &= ~0x00004000u; -} -inline void PokerTHMessage::clear_dealturncardmessage() { - if (dealturncardmessage_ != NULL) dealturncardmessage_->::DealTurnCardMessage::Clear(); - clear_has_dealturncardmessage(); -} -inline const ::DealTurnCardMessage& PokerTHMessage::dealturncardmessage() const { -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - return dealturncardmessage_ != NULL ? *dealturncardmessage_ : *default_instance().dealturncardmessage_; -#else - return dealturncardmessage_ != NULL ? *dealturncardmessage_ : *default_instance_->dealturncardmessage_; -#endif -} -inline ::DealTurnCardMessage* PokerTHMessage::mutable_dealturncardmessage() { - set_has_dealturncardmessage(); - if (dealturncardmessage_ == NULL) dealturncardmessage_ = new ::DealTurnCardMessage; - return dealturncardmessage_; -} -inline ::DealTurnCardMessage* PokerTHMessage::release_dealturncardmessage() { - clear_has_dealturncardmessage(); - ::DealTurnCardMessage* temp = dealturncardmessage_; - dealturncardmessage_ = NULL; - return temp; -} -inline void PokerTHMessage::set_allocated_dealturncardmessage(::DealTurnCardMessage* dealturncardmessage) { - delete dealturncardmessage_; - dealturncardmessage_ = dealturncardmessage; - if (dealturncardmessage) { - set_has_dealturncardmessage(); - } else { - clear_has_dealturncardmessage(); - } -} - -// optional .DealRiverCardMessage dealRiverCardMessage = 48; -inline bool PokerTHMessage::has_dealrivercardmessage() const { - return (_has_bits_[1] & 0x00008000u) != 0; -} -inline void PokerTHMessage::set_has_dealrivercardmessage() { - _has_bits_[1] |= 0x00008000u; -} -inline void PokerTHMessage::clear_has_dealrivercardmessage() { - _has_bits_[1] &= ~0x00008000u; -} -inline void PokerTHMessage::clear_dealrivercardmessage() { - if (dealrivercardmessage_ != NULL) dealrivercardmessage_->::DealRiverCardMessage::Clear(); - clear_has_dealrivercardmessage(); -} -inline const ::DealRiverCardMessage& PokerTHMessage::dealrivercardmessage() const { -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - return dealrivercardmessage_ != NULL ? *dealrivercardmessage_ : *default_instance().dealrivercardmessage_; -#else - return dealrivercardmessage_ != NULL ? *dealrivercardmessage_ : *default_instance_->dealrivercardmessage_; -#endif -} -inline ::DealRiverCardMessage* PokerTHMessage::mutable_dealrivercardmessage() { - set_has_dealrivercardmessage(); - if (dealrivercardmessage_ == NULL) dealrivercardmessage_ = new ::DealRiverCardMessage; - return dealrivercardmessage_; -} -inline ::DealRiverCardMessage* PokerTHMessage::release_dealrivercardmessage() { - clear_has_dealrivercardmessage(); - ::DealRiverCardMessage* temp = dealrivercardmessage_; - dealrivercardmessage_ = NULL; - return temp; -} -inline void PokerTHMessage::set_allocated_dealrivercardmessage(::DealRiverCardMessage* dealrivercardmessage) { - delete dealrivercardmessage_; - dealrivercardmessage_ = dealrivercardmessage; - if (dealrivercardmessage) { - set_has_dealrivercardmessage(); - } else { - clear_has_dealrivercardmessage(); - } -} - -// optional .AllInShowCardsMessage allInShowCardsMessage = 49; -inline bool PokerTHMessage::has_allinshowcardsmessage() const { - return (_has_bits_[1] & 0x00010000u) != 0; -} -inline void PokerTHMessage::set_has_allinshowcardsmessage() { - _has_bits_[1] |= 0x00010000u; -} -inline void PokerTHMessage::clear_has_allinshowcardsmessage() { - _has_bits_[1] &= ~0x00010000u; -} -inline void PokerTHMessage::clear_allinshowcardsmessage() { - if (allinshowcardsmessage_ != NULL) allinshowcardsmessage_->::AllInShowCardsMessage::Clear(); - clear_has_allinshowcardsmessage(); -} -inline const ::AllInShowCardsMessage& PokerTHMessage::allinshowcardsmessage() const { -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - return allinshowcardsmessage_ != NULL ? *allinshowcardsmessage_ : *default_instance().allinshowcardsmessage_; -#else - return allinshowcardsmessage_ != NULL ? *allinshowcardsmessage_ : *default_instance_->allinshowcardsmessage_; -#endif -} -inline ::AllInShowCardsMessage* PokerTHMessage::mutable_allinshowcardsmessage() { - set_has_allinshowcardsmessage(); - if (allinshowcardsmessage_ == NULL) allinshowcardsmessage_ = new ::AllInShowCardsMessage; - return allinshowcardsmessage_; -} -inline ::AllInShowCardsMessage* PokerTHMessage::release_allinshowcardsmessage() { - clear_has_allinshowcardsmessage(); - ::AllInShowCardsMessage* temp = allinshowcardsmessage_; - allinshowcardsmessage_ = NULL; - return temp; -} -inline void PokerTHMessage::set_allocated_allinshowcardsmessage(::AllInShowCardsMessage* allinshowcardsmessage) { - delete allinshowcardsmessage_; - allinshowcardsmessage_ = allinshowcardsmessage; - if (allinshowcardsmessage) { - set_has_allinshowcardsmessage(); - } else { - clear_has_allinshowcardsmessage(); - } -} - -// optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 50; -inline bool PokerTHMessage::has_endofhandshowcardsmessage() const { - return (_has_bits_[1] & 0x00020000u) != 0; -} -inline void PokerTHMessage::set_has_endofhandshowcardsmessage() { - _has_bits_[1] |= 0x00020000u; -} -inline void PokerTHMessage::clear_has_endofhandshowcardsmessage() { - _has_bits_[1] &= ~0x00020000u; -} -inline void PokerTHMessage::clear_endofhandshowcardsmessage() { - if (endofhandshowcardsmessage_ != NULL) endofhandshowcardsmessage_->::EndOfHandShowCardsMessage::Clear(); - clear_has_endofhandshowcardsmessage(); -} -inline const ::EndOfHandShowCardsMessage& PokerTHMessage::endofhandshowcardsmessage() const { -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - return endofhandshowcardsmessage_ != NULL ? *endofhandshowcardsmessage_ : *default_instance().endofhandshowcardsmessage_; -#else - return endofhandshowcardsmessage_ != NULL ? *endofhandshowcardsmessage_ : *default_instance_->endofhandshowcardsmessage_; -#endif -} -inline ::EndOfHandShowCardsMessage* PokerTHMessage::mutable_endofhandshowcardsmessage() { - set_has_endofhandshowcardsmessage(); - if (endofhandshowcardsmessage_ == NULL) endofhandshowcardsmessage_ = new ::EndOfHandShowCardsMessage; - return endofhandshowcardsmessage_; -} -inline ::EndOfHandShowCardsMessage* PokerTHMessage::release_endofhandshowcardsmessage() { - clear_has_endofhandshowcardsmessage(); - ::EndOfHandShowCardsMessage* temp = endofhandshowcardsmessage_; - endofhandshowcardsmessage_ = NULL; - return temp; -} -inline void PokerTHMessage::set_allocated_endofhandshowcardsmessage(::EndOfHandShowCardsMessage* endofhandshowcardsmessage) { - delete endofhandshowcardsmessage_; - endofhandshowcardsmessage_ = endofhandshowcardsmessage; - if (endofhandshowcardsmessage) { - set_has_endofhandshowcardsmessage(); - } else { - clear_has_endofhandshowcardsmessage(); - } -} - -// optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 51; -inline bool PokerTHMessage::has_endofhandhidecardsmessage() const { - return (_has_bits_[1] & 0x00040000u) != 0; -} -inline void PokerTHMessage::set_has_endofhandhidecardsmessage() { - _has_bits_[1] |= 0x00040000u; -} -inline void PokerTHMessage::clear_has_endofhandhidecardsmessage() { - _has_bits_[1] &= ~0x00040000u; -} -inline void PokerTHMessage::clear_endofhandhidecardsmessage() { - if (endofhandhidecardsmessage_ != NULL) endofhandhidecardsmessage_->::EndOfHandHideCardsMessage::Clear(); - clear_has_endofhandhidecardsmessage(); -} -inline const ::EndOfHandHideCardsMessage& PokerTHMessage::endofhandhidecardsmessage() const { -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - return endofhandhidecardsmessage_ != NULL ? *endofhandhidecardsmessage_ : *default_instance().endofhandhidecardsmessage_; -#else - return endofhandhidecardsmessage_ != NULL ? *endofhandhidecardsmessage_ : *default_instance_->endofhandhidecardsmessage_; -#endif -} -inline ::EndOfHandHideCardsMessage* PokerTHMessage::mutable_endofhandhidecardsmessage() { - set_has_endofhandhidecardsmessage(); - if (endofhandhidecardsmessage_ == NULL) endofhandhidecardsmessage_ = new ::EndOfHandHideCardsMessage; - return endofhandhidecardsmessage_; -} -inline ::EndOfHandHideCardsMessage* PokerTHMessage::release_endofhandhidecardsmessage() { - clear_has_endofhandhidecardsmessage(); - ::EndOfHandHideCardsMessage* temp = endofhandhidecardsmessage_; - endofhandhidecardsmessage_ = NULL; - return temp; -} -inline void PokerTHMessage::set_allocated_endofhandhidecardsmessage(::EndOfHandHideCardsMessage* endofhandhidecardsmessage) { - delete endofhandhidecardsmessage_; - endofhandhidecardsmessage_ = endofhandhidecardsmessage; - if (endofhandhidecardsmessage) { - set_has_endofhandhidecardsmessage(); - } else { - clear_has_endofhandhidecardsmessage(); - } -} - -// optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 52; -inline bool PokerTHMessage::has_showmycardsrequestmessage() const { - return (_has_bits_[1] & 0x00080000u) != 0; -} -inline void PokerTHMessage::set_has_showmycardsrequestmessage() { - _has_bits_[1] |= 0x00080000u; -} -inline void PokerTHMessage::clear_has_showmycardsrequestmessage() { - _has_bits_[1] &= ~0x00080000u; -} -inline void PokerTHMessage::clear_showmycardsrequestmessage() { - if (showmycardsrequestmessage_ != NULL) showmycardsrequestmessage_->::ShowMyCardsRequestMessage::Clear(); - clear_has_showmycardsrequestmessage(); -} -inline const ::ShowMyCardsRequestMessage& PokerTHMessage::showmycardsrequestmessage() const { -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - return showmycardsrequestmessage_ != NULL ? *showmycardsrequestmessage_ : *default_instance().showmycardsrequestmessage_; -#else - return showmycardsrequestmessage_ != NULL ? *showmycardsrequestmessage_ : *default_instance_->showmycardsrequestmessage_; -#endif -} -inline ::ShowMyCardsRequestMessage* PokerTHMessage::mutable_showmycardsrequestmessage() { - set_has_showmycardsrequestmessage(); - if (showmycardsrequestmessage_ == NULL) showmycardsrequestmessage_ = new ::ShowMyCardsRequestMessage; - return showmycardsrequestmessage_; -} -inline ::ShowMyCardsRequestMessage* PokerTHMessage::release_showmycardsrequestmessage() { - clear_has_showmycardsrequestmessage(); - ::ShowMyCardsRequestMessage* temp = showmycardsrequestmessage_; - showmycardsrequestmessage_ = NULL; - return temp; -} -inline void PokerTHMessage::set_allocated_showmycardsrequestmessage(::ShowMyCardsRequestMessage* showmycardsrequestmessage) { - delete showmycardsrequestmessage_; - showmycardsrequestmessage_ = showmycardsrequestmessage; - if (showmycardsrequestmessage) { - set_has_showmycardsrequestmessage(); - } else { - clear_has_showmycardsrequestmessage(); - } -} - -// optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 53; -inline bool PokerTHMessage::has_afterhandshowcardsmessage() const { - return (_has_bits_[1] & 0x00100000u) != 0; -} -inline void PokerTHMessage::set_has_afterhandshowcardsmessage() { - _has_bits_[1] |= 0x00100000u; -} -inline void PokerTHMessage::clear_has_afterhandshowcardsmessage() { - _has_bits_[1] &= ~0x00100000u; -} -inline void PokerTHMessage::clear_afterhandshowcardsmessage() { - if (afterhandshowcardsmessage_ != NULL) afterhandshowcardsmessage_->::AfterHandShowCardsMessage::Clear(); - clear_has_afterhandshowcardsmessage(); -} -inline const ::AfterHandShowCardsMessage& PokerTHMessage::afterhandshowcardsmessage() const { -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - return afterhandshowcardsmessage_ != NULL ? *afterhandshowcardsmessage_ : *default_instance().afterhandshowcardsmessage_; -#else - return afterhandshowcardsmessage_ != NULL ? *afterhandshowcardsmessage_ : *default_instance_->afterhandshowcardsmessage_; -#endif -} -inline ::AfterHandShowCardsMessage* PokerTHMessage::mutable_afterhandshowcardsmessage() { - set_has_afterhandshowcardsmessage(); - if (afterhandshowcardsmessage_ == NULL) afterhandshowcardsmessage_ = new ::AfterHandShowCardsMessage; - return afterhandshowcardsmessage_; -} -inline ::AfterHandShowCardsMessage* PokerTHMessage::release_afterhandshowcardsmessage() { - clear_has_afterhandshowcardsmessage(); - ::AfterHandShowCardsMessage* temp = afterhandshowcardsmessage_; - afterhandshowcardsmessage_ = NULL; - return temp; -} -inline void PokerTHMessage::set_allocated_afterhandshowcardsmessage(::AfterHandShowCardsMessage* afterhandshowcardsmessage) { - delete afterhandshowcardsmessage_; - afterhandshowcardsmessage_ = afterhandshowcardsmessage; - if (afterhandshowcardsmessage) { - set_has_afterhandshowcardsmessage(); - } else { - clear_has_afterhandshowcardsmessage(); - } -} - -// optional .EndOfGameMessage endOfGameMessage = 54; -inline bool PokerTHMessage::has_endofgamemessage() const { - return (_has_bits_[1] & 0x00200000u) != 0; -} -inline void PokerTHMessage::set_has_endofgamemessage() { - _has_bits_[1] |= 0x00200000u; -} -inline void PokerTHMessage::clear_has_endofgamemessage() { - _has_bits_[1] &= ~0x00200000u; -} -inline void PokerTHMessage::clear_endofgamemessage() { - if (endofgamemessage_ != NULL) endofgamemessage_->::EndOfGameMessage::Clear(); - clear_has_endofgamemessage(); -} -inline const ::EndOfGameMessage& PokerTHMessage::endofgamemessage() const { -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - return endofgamemessage_ != NULL ? *endofgamemessage_ : *default_instance().endofgamemessage_; -#else - return endofgamemessage_ != NULL ? *endofgamemessage_ : *default_instance_->endofgamemessage_; -#endif -} -inline ::EndOfGameMessage* PokerTHMessage::mutable_endofgamemessage() { - set_has_endofgamemessage(); - if (endofgamemessage_ == NULL) endofgamemessage_ = new ::EndOfGameMessage; - return endofgamemessage_; -} -inline ::EndOfGameMessage* PokerTHMessage::release_endofgamemessage() { - clear_has_endofgamemessage(); - ::EndOfGameMessage* temp = endofgamemessage_; - endofgamemessage_ = NULL; - return temp; -} -inline void PokerTHMessage::set_allocated_endofgamemessage(::EndOfGameMessage* endofgamemessage) { - delete endofgamemessage_; - endofgamemessage_ = endofgamemessage; - if (endofgamemessage) { - set_has_endofgamemessage(); - } else { - clear_has_endofgamemessage(); - } -} - -// optional .PlayerIdChangedMessage playerIdChangedMessage = 55; -inline bool PokerTHMessage::has_playeridchangedmessage() const { - return (_has_bits_[1] & 0x00400000u) != 0; -} -inline void PokerTHMessage::set_has_playeridchangedmessage() { - _has_bits_[1] |= 0x00400000u; -} -inline void PokerTHMessage::clear_has_playeridchangedmessage() { - _has_bits_[1] &= ~0x00400000u; -} -inline void PokerTHMessage::clear_playeridchangedmessage() { - if (playeridchangedmessage_ != NULL) playeridchangedmessage_->::PlayerIdChangedMessage::Clear(); - clear_has_playeridchangedmessage(); -} -inline const ::PlayerIdChangedMessage& PokerTHMessage::playeridchangedmessage() const { -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - return playeridchangedmessage_ != NULL ? *playeridchangedmessage_ : *default_instance().playeridchangedmessage_; -#else - return playeridchangedmessage_ != NULL ? *playeridchangedmessage_ : *default_instance_->playeridchangedmessage_; -#endif -} -inline ::PlayerIdChangedMessage* PokerTHMessage::mutable_playeridchangedmessage() { - set_has_playeridchangedmessage(); - if (playeridchangedmessage_ == NULL) playeridchangedmessage_ = new ::PlayerIdChangedMessage; - return playeridchangedmessage_; -} -inline ::PlayerIdChangedMessage* PokerTHMessage::release_playeridchangedmessage() { - clear_has_playeridchangedmessage(); - ::PlayerIdChangedMessage* temp = playeridchangedmessage_; - playeridchangedmessage_ = NULL; - return temp; -} -inline void PokerTHMessage::set_allocated_playeridchangedmessage(::PlayerIdChangedMessage* playeridchangedmessage) { - delete playeridchangedmessage_; - playeridchangedmessage_ = playeridchangedmessage; - if (playeridchangedmessage) { - set_has_playeridchangedmessage(); - } else { - clear_has_playeridchangedmessage(); - } -} - -// optional .AskKickPlayerMessage askKickPlayerMessage = 56; -inline bool PokerTHMessage::has_askkickplayermessage() const { - return (_has_bits_[1] & 0x00800000u) != 0; -} -inline void PokerTHMessage::set_has_askkickplayermessage() { - _has_bits_[1] |= 0x00800000u; -} -inline void PokerTHMessage::clear_has_askkickplayermessage() { - _has_bits_[1] &= ~0x00800000u; -} -inline void PokerTHMessage::clear_askkickplayermessage() { - if (askkickplayermessage_ != NULL) askkickplayermessage_->::AskKickPlayerMessage::Clear(); - clear_has_askkickplayermessage(); -} -inline const ::AskKickPlayerMessage& PokerTHMessage::askkickplayermessage() const { -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - return askkickplayermessage_ != NULL ? *askkickplayermessage_ : *default_instance().askkickplayermessage_; -#else - return askkickplayermessage_ != NULL ? *askkickplayermessage_ : *default_instance_->askkickplayermessage_; -#endif -} -inline ::AskKickPlayerMessage* PokerTHMessage::mutable_askkickplayermessage() { - set_has_askkickplayermessage(); - if (askkickplayermessage_ == NULL) askkickplayermessage_ = new ::AskKickPlayerMessage; - return askkickplayermessage_; -} -inline ::AskKickPlayerMessage* PokerTHMessage::release_askkickplayermessage() { - clear_has_askkickplayermessage(); - ::AskKickPlayerMessage* temp = askkickplayermessage_; - askkickplayermessage_ = NULL; - return temp; -} -inline void PokerTHMessage::set_allocated_askkickplayermessage(::AskKickPlayerMessage* askkickplayermessage) { - delete askkickplayermessage_; - askkickplayermessage_ = askkickplayermessage; - if (askkickplayermessage) { - set_has_askkickplayermessage(); - } else { - clear_has_askkickplayermessage(); - } -} - -// optional .AskKickDeniedMessage askKickDeniedMessage = 57; -inline bool PokerTHMessage::has_askkickdeniedmessage() const { - return (_has_bits_[1] & 0x01000000u) != 0; -} -inline void PokerTHMessage::set_has_askkickdeniedmessage() { - _has_bits_[1] |= 0x01000000u; -} -inline void PokerTHMessage::clear_has_askkickdeniedmessage() { - _has_bits_[1] &= ~0x01000000u; -} -inline void PokerTHMessage::clear_askkickdeniedmessage() { - if (askkickdeniedmessage_ != NULL) askkickdeniedmessage_->::AskKickDeniedMessage::Clear(); - clear_has_askkickdeniedmessage(); -} -inline const ::AskKickDeniedMessage& PokerTHMessage::askkickdeniedmessage() const { -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - return askkickdeniedmessage_ != NULL ? *askkickdeniedmessage_ : *default_instance().askkickdeniedmessage_; -#else - return askkickdeniedmessage_ != NULL ? *askkickdeniedmessage_ : *default_instance_->askkickdeniedmessage_; -#endif -} -inline ::AskKickDeniedMessage* PokerTHMessage::mutable_askkickdeniedmessage() { - set_has_askkickdeniedmessage(); - if (askkickdeniedmessage_ == NULL) askkickdeniedmessage_ = new ::AskKickDeniedMessage; - return askkickdeniedmessage_; -} -inline ::AskKickDeniedMessage* PokerTHMessage::release_askkickdeniedmessage() { - clear_has_askkickdeniedmessage(); - ::AskKickDeniedMessage* temp = askkickdeniedmessage_; - askkickdeniedmessage_ = NULL; - return temp; -} -inline void PokerTHMessage::set_allocated_askkickdeniedmessage(::AskKickDeniedMessage* askkickdeniedmessage) { - delete askkickdeniedmessage_; - askkickdeniedmessage_ = askkickdeniedmessage; - if (askkickdeniedmessage) { - set_has_askkickdeniedmessage(); - } else { - clear_has_askkickdeniedmessage(); - } -} - -// optional .StartKickPetitionMessage startKickPetitionMessage = 58; -inline bool PokerTHMessage::has_startkickpetitionmessage() const { - return (_has_bits_[1] & 0x02000000u) != 0; -} -inline void PokerTHMessage::set_has_startkickpetitionmessage() { - _has_bits_[1] |= 0x02000000u; -} -inline void PokerTHMessage::clear_has_startkickpetitionmessage() { - _has_bits_[1] &= ~0x02000000u; -} -inline void PokerTHMessage::clear_startkickpetitionmessage() { - if (startkickpetitionmessage_ != NULL) startkickpetitionmessage_->::StartKickPetitionMessage::Clear(); - clear_has_startkickpetitionmessage(); -} -inline const ::StartKickPetitionMessage& PokerTHMessage::startkickpetitionmessage() const { -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - return startkickpetitionmessage_ != NULL ? *startkickpetitionmessage_ : *default_instance().startkickpetitionmessage_; -#else - return startkickpetitionmessage_ != NULL ? *startkickpetitionmessage_ : *default_instance_->startkickpetitionmessage_; -#endif -} -inline ::StartKickPetitionMessage* PokerTHMessage::mutable_startkickpetitionmessage() { - set_has_startkickpetitionmessage(); - if (startkickpetitionmessage_ == NULL) startkickpetitionmessage_ = new ::StartKickPetitionMessage; - return startkickpetitionmessage_; -} -inline ::StartKickPetitionMessage* PokerTHMessage::release_startkickpetitionmessage() { - clear_has_startkickpetitionmessage(); - ::StartKickPetitionMessage* temp = startkickpetitionmessage_; - startkickpetitionmessage_ = NULL; - return temp; -} -inline void PokerTHMessage::set_allocated_startkickpetitionmessage(::StartKickPetitionMessage* startkickpetitionmessage) { - delete startkickpetitionmessage_; - startkickpetitionmessage_ = startkickpetitionmessage; - if (startkickpetitionmessage) { - set_has_startkickpetitionmessage(); - } else { - clear_has_startkickpetitionmessage(); - } -} - -// optional .VoteKickRequestMessage voteKickRequestMessage = 59; -inline bool PokerTHMessage::has_votekickrequestmessage() const { - return (_has_bits_[1] & 0x04000000u) != 0; -} -inline void PokerTHMessage::set_has_votekickrequestmessage() { - _has_bits_[1] |= 0x04000000u; -} -inline void PokerTHMessage::clear_has_votekickrequestmessage() { - _has_bits_[1] &= ~0x04000000u; -} -inline void PokerTHMessage::clear_votekickrequestmessage() { - if (votekickrequestmessage_ != NULL) votekickrequestmessage_->::VoteKickRequestMessage::Clear(); - clear_has_votekickrequestmessage(); -} -inline const ::VoteKickRequestMessage& PokerTHMessage::votekickrequestmessage() const { -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - return votekickrequestmessage_ != NULL ? *votekickrequestmessage_ : *default_instance().votekickrequestmessage_; -#else - return votekickrequestmessage_ != NULL ? *votekickrequestmessage_ : *default_instance_->votekickrequestmessage_; -#endif -} -inline ::VoteKickRequestMessage* PokerTHMessage::mutable_votekickrequestmessage() { - set_has_votekickrequestmessage(); - if (votekickrequestmessage_ == NULL) votekickrequestmessage_ = new ::VoteKickRequestMessage; - return votekickrequestmessage_; -} -inline ::VoteKickRequestMessage* PokerTHMessage::release_votekickrequestmessage() { - clear_has_votekickrequestmessage(); - ::VoteKickRequestMessage* temp = votekickrequestmessage_; - votekickrequestmessage_ = NULL; - return temp; -} -inline void PokerTHMessage::set_allocated_votekickrequestmessage(::VoteKickRequestMessage* votekickrequestmessage) { - delete votekickrequestmessage_; - votekickrequestmessage_ = votekickrequestmessage; - if (votekickrequestmessage) { - set_has_votekickrequestmessage(); - } else { - clear_has_votekickrequestmessage(); - } -} - -// optional .VoteKickReplyMessage voteKickReplyMessage = 60; -inline bool PokerTHMessage::has_votekickreplymessage() const { - return (_has_bits_[1] & 0x08000000u) != 0; -} -inline void PokerTHMessage::set_has_votekickreplymessage() { - _has_bits_[1] |= 0x08000000u; -} -inline void PokerTHMessage::clear_has_votekickreplymessage() { - _has_bits_[1] &= ~0x08000000u; -} -inline void PokerTHMessage::clear_votekickreplymessage() { - if (votekickreplymessage_ != NULL) votekickreplymessage_->::VoteKickReplyMessage::Clear(); - clear_has_votekickreplymessage(); -} -inline const ::VoteKickReplyMessage& PokerTHMessage::votekickreplymessage() const { -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - return votekickreplymessage_ != NULL ? *votekickreplymessage_ : *default_instance().votekickreplymessage_; -#else - return votekickreplymessage_ != NULL ? *votekickreplymessage_ : *default_instance_->votekickreplymessage_; -#endif -} -inline ::VoteKickReplyMessage* PokerTHMessage::mutable_votekickreplymessage() { - set_has_votekickreplymessage(); - if (votekickreplymessage_ == NULL) votekickreplymessage_ = new ::VoteKickReplyMessage; - return votekickreplymessage_; -} -inline ::VoteKickReplyMessage* PokerTHMessage::release_votekickreplymessage() { - clear_has_votekickreplymessage(); - ::VoteKickReplyMessage* temp = votekickreplymessage_; - votekickreplymessage_ = NULL; - return temp; -} -inline void PokerTHMessage::set_allocated_votekickreplymessage(::VoteKickReplyMessage* votekickreplymessage) { - delete votekickreplymessage_; - votekickreplymessage_ = votekickreplymessage; - if (votekickreplymessage) { - set_has_votekickreplymessage(); - } else { - clear_has_votekickreplymessage(); - } -} - -// optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 61; -inline bool PokerTHMessage::has_kickpetitionupdatemessage() const { - return (_has_bits_[1] & 0x10000000u) != 0; -} -inline void PokerTHMessage::set_has_kickpetitionupdatemessage() { - _has_bits_[1] |= 0x10000000u; -} -inline void PokerTHMessage::clear_has_kickpetitionupdatemessage() { - _has_bits_[1] &= ~0x10000000u; -} -inline void PokerTHMessage::clear_kickpetitionupdatemessage() { - if (kickpetitionupdatemessage_ != NULL) kickpetitionupdatemessage_->::KickPetitionUpdateMessage::Clear(); - clear_has_kickpetitionupdatemessage(); -} -inline const ::KickPetitionUpdateMessage& PokerTHMessage::kickpetitionupdatemessage() const { -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - return kickpetitionupdatemessage_ != NULL ? *kickpetitionupdatemessage_ : *default_instance().kickpetitionupdatemessage_; -#else - return kickpetitionupdatemessage_ != NULL ? *kickpetitionupdatemessage_ : *default_instance_->kickpetitionupdatemessage_; -#endif -} -inline ::KickPetitionUpdateMessage* PokerTHMessage::mutable_kickpetitionupdatemessage() { - set_has_kickpetitionupdatemessage(); - if (kickpetitionupdatemessage_ == NULL) kickpetitionupdatemessage_ = new ::KickPetitionUpdateMessage; - return kickpetitionupdatemessage_; -} -inline ::KickPetitionUpdateMessage* PokerTHMessage::release_kickpetitionupdatemessage() { - clear_has_kickpetitionupdatemessage(); - ::KickPetitionUpdateMessage* temp = kickpetitionupdatemessage_; - kickpetitionupdatemessage_ = NULL; - return temp; -} -inline void PokerTHMessage::set_allocated_kickpetitionupdatemessage(::KickPetitionUpdateMessage* kickpetitionupdatemessage) { - delete kickpetitionupdatemessage_; - kickpetitionupdatemessage_ = kickpetitionupdatemessage; - if (kickpetitionupdatemessage) { - set_has_kickpetitionupdatemessage(); - } else { - clear_has_kickpetitionupdatemessage(); - } -} - -// optional .EndKickPetitionMessage endKickPetitionMessage = 62; -inline bool PokerTHMessage::has_endkickpetitionmessage() const { - return (_has_bits_[1] & 0x20000000u) != 0; -} -inline void PokerTHMessage::set_has_endkickpetitionmessage() { - _has_bits_[1] |= 0x20000000u; -} -inline void PokerTHMessage::clear_has_endkickpetitionmessage() { - _has_bits_[1] &= ~0x20000000u; -} -inline void PokerTHMessage::clear_endkickpetitionmessage() { - if (endkickpetitionmessage_ != NULL) endkickpetitionmessage_->::EndKickPetitionMessage::Clear(); - clear_has_endkickpetitionmessage(); -} -inline const ::EndKickPetitionMessage& PokerTHMessage::endkickpetitionmessage() const { -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - return endkickpetitionmessage_ != NULL ? *endkickpetitionmessage_ : *default_instance().endkickpetitionmessage_; -#else - return endkickpetitionmessage_ != NULL ? *endkickpetitionmessage_ : *default_instance_->endkickpetitionmessage_; -#endif -} -inline ::EndKickPetitionMessage* PokerTHMessage::mutable_endkickpetitionmessage() { - set_has_endkickpetitionmessage(); - if (endkickpetitionmessage_ == NULL) endkickpetitionmessage_ = new ::EndKickPetitionMessage; - return endkickpetitionmessage_; -} -inline ::EndKickPetitionMessage* PokerTHMessage::release_endkickpetitionmessage() { - clear_has_endkickpetitionmessage(); - ::EndKickPetitionMessage* temp = endkickpetitionmessage_; - endkickpetitionmessage_ = NULL; - return temp; -} -inline void PokerTHMessage::set_allocated_endkickpetitionmessage(::EndKickPetitionMessage* endkickpetitionmessage) { - delete endkickpetitionmessage_; - endkickpetitionmessage_ = endkickpetitionmessage; - if (endkickpetitionmessage) { - set_has_endkickpetitionmessage(); - } else { - clear_has_endkickpetitionmessage(); - } -} - -// optional .StatisticsMessage statisticsMessage = 63; -inline bool PokerTHMessage::has_statisticsmessage() const { - return (_has_bits_[1] & 0x40000000u) != 0; -} -inline void PokerTHMessage::set_has_statisticsmessage() { - _has_bits_[1] |= 0x40000000u; -} -inline void PokerTHMessage::clear_has_statisticsmessage() { - _has_bits_[1] &= ~0x40000000u; -} -inline void PokerTHMessage::clear_statisticsmessage() { - if (statisticsmessage_ != NULL) statisticsmessage_->::StatisticsMessage::Clear(); - clear_has_statisticsmessage(); -} -inline const ::StatisticsMessage& PokerTHMessage::statisticsmessage() const { -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - return statisticsmessage_ != NULL ? *statisticsmessage_ : *default_instance().statisticsmessage_; -#else - return statisticsmessage_ != NULL ? *statisticsmessage_ : *default_instance_->statisticsmessage_; -#endif -} -inline ::StatisticsMessage* PokerTHMessage::mutable_statisticsmessage() { - set_has_statisticsmessage(); - if (statisticsmessage_ == NULL) statisticsmessage_ = new ::StatisticsMessage; - return statisticsmessage_; -} -inline ::StatisticsMessage* PokerTHMessage::release_statisticsmessage() { - clear_has_statisticsmessage(); - ::StatisticsMessage* temp = statisticsmessage_; - statisticsmessage_ = NULL; - return temp; -} -inline void PokerTHMessage::set_allocated_statisticsmessage(::StatisticsMessage* statisticsmessage) { - delete statisticsmessage_; - statisticsmessage_ = statisticsmessage; - if (statisticsmessage) { - set_has_statisticsmessage(); - } else { - clear_has_statisticsmessage(); - } -} - -// optional .ChatRequestMessage chatRequestMessage = 64; -inline bool PokerTHMessage::has_chatrequestmessage() const { - return (_has_bits_[1] & 0x80000000u) != 0; -} -inline void PokerTHMessage::set_has_chatrequestmessage() { - _has_bits_[1] |= 0x80000000u; -} -inline void PokerTHMessage::clear_has_chatrequestmessage() { - _has_bits_[1] &= ~0x80000000u; -} -inline void PokerTHMessage::clear_chatrequestmessage() { - if (chatrequestmessage_ != NULL) chatrequestmessage_->::ChatRequestMessage::Clear(); - clear_has_chatrequestmessage(); -} -inline const ::ChatRequestMessage& PokerTHMessage::chatrequestmessage() const { -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - return chatrequestmessage_ != NULL ? *chatrequestmessage_ : *default_instance().chatrequestmessage_; -#else - return chatrequestmessage_ != NULL ? *chatrequestmessage_ : *default_instance_->chatrequestmessage_; -#endif -} -inline ::ChatRequestMessage* PokerTHMessage::mutable_chatrequestmessage() { - set_has_chatrequestmessage(); - if (chatrequestmessage_ == NULL) chatrequestmessage_ = new ::ChatRequestMessage; - return chatrequestmessage_; -} -inline ::ChatRequestMessage* PokerTHMessage::release_chatrequestmessage() { - clear_has_chatrequestmessage(); - ::ChatRequestMessage* temp = chatrequestmessage_; - chatrequestmessage_ = NULL; - return temp; -} -inline void PokerTHMessage::set_allocated_chatrequestmessage(::ChatRequestMessage* chatrequestmessage) { - delete chatrequestmessage_; - chatrequestmessage_ = chatrequestmessage; - if (chatrequestmessage) { - set_has_chatrequestmessage(); - } else { - clear_has_chatrequestmessage(); - } -} - -// optional .ChatMessage chatMessage = 65; -inline bool PokerTHMessage::has_chatmessage() const { - return (_has_bits_[2] & 0x00000001u) != 0; -} -inline void PokerTHMessage::set_has_chatmessage() { - _has_bits_[2] |= 0x00000001u; -} -inline void PokerTHMessage::clear_has_chatmessage() { - _has_bits_[2] &= ~0x00000001u; -} -inline void PokerTHMessage::clear_chatmessage() { - if (chatmessage_ != NULL) chatmessage_->::ChatMessage::Clear(); - clear_has_chatmessage(); -} -inline const ::ChatMessage& PokerTHMessage::chatmessage() const { -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - return chatmessage_ != NULL ? *chatmessage_ : *default_instance().chatmessage_; -#else - return chatmessage_ != NULL ? *chatmessage_ : *default_instance_->chatmessage_; -#endif -} -inline ::ChatMessage* PokerTHMessage::mutable_chatmessage() { - set_has_chatmessage(); - if (chatmessage_ == NULL) chatmessage_ = new ::ChatMessage; - return chatmessage_; -} -inline ::ChatMessage* PokerTHMessage::release_chatmessage() { - clear_has_chatmessage(); - ::ChatMessage* temp = chatmessage_; - chatmessage_ = NULL; - return temp; -} -inline void PokerTHMessage::set_allocated_chatmessage(::ChatMessage* chatmessage) { - delete chatmessage_; - chatmessage_ = chatmessage; - if (chatmessage) { - set_has_chatmessage(); - } else { - clear_has_chatmessage(); - } -} - -// optional .ChatRejectMessage chatRejectMessage = 66; -inline bool PokerTHMessage::has_chatrejectmessage() const { - return (_has_bits_[2] & 0x00000002u) != 0; -} -inline void PokerTHMessage::set_has_chatrejectmessage() { - _has_bits_[2] |= 0x00000002u; -} -inline void PokerTHMessage::clear_has_chatrejectmessage() { - _has_bits_[2] &= ~0x00000002u; -} -inline void PokerTHMessage::clear_chatrejectmessage() { - if (chatrejectmessage_ != NULL) chatrejectmessage_->::ChatRejectMessage::Clear(); - clear_has_chatrejectmessage(); -} -inline const ::ChatRejectMessage& PokerTHMessage::chatrejectmessage() const { -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - return chatrejectmessage_ != NULL ? *chatrejectmessage_ : *default_instance().chatrejectmessage_; -#else - return chatrejectmessage_ != NULL ? *chatrejectmessage_ : *default_instance_->chatrejectmessage_; -#endif -} -inline ::ChatRejectMessage* PokerTHMessage::mutable_chatrejectmessage() { - set_has_chatrejectmessage(); - if (chatrejectmessage_ == NULL) chatrejectmessage_ = new ::ChatRejectMessage; - return chatrejectmessage_; -} -inline ::ChatRejectMessage* PokerTHMessage::release_chatrejectmessage() { - clear_has_chatrejectmessage(); - ::ChatRejectMessage* temp = chatrejectmessage_; - chatrejectmessage_ = NULL; - return temp; -} -inline void PokerTHMessage::set_allocated_chatrejectmessage(::ChatRejectMessage* chatrejectmessage) { - delete chatrejectmessage_; - chatrejectmessage_ = chatrejectmessage; - if (chatrejectmessage) { - set_has_chatrejectmessage(); - } else { - clear_has_chatrejectmessage(); - } -} - -// optional .DialogMessage dialogMessage = 67; -inline bool PokerTHMessage::has_dialogmessage() const { - return (_has_bits_[2] & 0x00000004u) != 0; -} -inline void PokerTHMessage::set_has_dialogmessage() { - _has_bits_[2] |= 0x00000004u; -} -inline void PokerTHMessage::clear_has_dialogmessage() { - _has_bits_[2] &= ~0x00000004u; -} -inline void PokerTHMessage::clear_dialogmessage() { - if (dialogmessage_ != NULL) dialogmessage_->::DialogMessage::Clear(); - clear_has_dialogmessage(); -} -inline const ::DialogMessage& PokerTHMessage::dialogmessage() const { -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - return dialogmessage_ != NULL ? *dialogmessage_ : *default_instance().dialogmessage_; -#else - return dialogmessage_ != NULL ? *dialogmessage_ : *default_instance_->dialogmessage_; -#endif -} -inline ::DialogMessage* PokerTHMessage::mutable_dialogmessage() { - set_has_dialogmessage(); - if (dialogmessage_ == NULL) dialogmessage_ = new ::DialogMessage; - return dialogmessage_; -} -inline ::DialogMessage* PokerTHMessage::release_dialogmessage() { - clear_has_dialogmessage(); - ::DialogMessage* temp = dialogmessage_; - dialogmessage_ = NULL; - return temp; -} -inline void PokerTHMessage::set_allocated_dialogmessage(::DialogMessage* dialogmessage) { - delete dialogmessage_; - dialogmessage_ = dialogmessage; - if (dialogmessage) { - set_has_dialogmessage(); - } else { - clear_has_dialogmessage(); - } -} - -// optional .TimeoutWarningMessage timeoutWarningMessage = 68; -inline bool PokerTHMessage::has_timeoutwarningmessage() const { - return (_has_bits_[2] & 0x00000008u) != 0; -} -inline void PokerTHMessage::set_has_timeoutwarningmessage() { - _has_bits_[2] |= 0x00000008u; -} -inline void PokerTHMessage::clear_has_timeoutwarningmessage() { - _has_bits_[2] &= ~0x00000008u; -} -inline void PokerTHMessage::clear_timeoutwarningmessage() { - if (timeoutwarningmessage_ != NULL) timeoutwarningmessage_->::TimeoutWarningMessage::Clear(); - clear_has_timeoutwarningmessage(); -} -inline const ::TimeoutWarningMessage& PokerTHMessage::timeoutwarningmessage() const { -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - return timeoutwarningmessage_ != NULL ? *timeoutwarningmessage_ : *default_instance().timeoutwarningmessage_; -#else - return timeoutwarningmessage_ != NULL ? *timeoutwarningmessage_ : *default_instance_->timeoutwarningmessage_; -#endif -} -inline ::TimeoutWarningMessage* PokerTHMessage::mutable_timeoutwarningmessage() { - set_has_timeoutwarningmessage(); - if (timeoutwarningmessage_ == NULL) timeoutwarningmessage_ = new ::TimeoutWarningMessage; - return timeoutwarningmessage_; -} -inline ::TimeoutWarningMessage* PokerTHMessage::release_timeoutwarningmessage() { - clear_has_timeoutwarningmessage(); - ::TimeoutWarningMessage* temp = timeoutwarningmessage_; - timeoutwarningmessage_ = NULL; - return temp; -} -inline void PokerTHMessage::set_allocated_timeoutwarningmessage(::TimeoutWarningMessage* timeoutwarningmessage) { - delete timeoutwarningmessage_; - timeoutwarningmessage_ = timeoutwarningmessage; - if (timeoutwarningmessage) { - set_has_timeoutwarningmessage(); - } else { - clear_has_timeoutwarningmessage(); - } -} - -// optional .ResetTimeoutMessage resetTimeoutMessage = 69; -inline bool PokerTHMessage::has_resettimeoutmessage() const { - return (_has_bits_[2] & 0x00000010u) != 0; -} -inline void PokerTHMessage::set_has_resettimeoutmessage() { - _has_bits_[2] |= 0x00000010u; -} -inline void PokerTHMessage::clear_has_resettimeoutmessage() { - _has_bits_[2] &= ~0x00000010u; -} -inline void PokerTHMessage::clear_resettimeoutmessage() { - if (resettimeoutmessage_ != NULL) resettimeoutmessage_->::ResetTimeoutMessage::Clear(); - clear_has_resettimeoutmessage(); -} -inline const ::ResetTimeoutMessage& PokerTHMessage::resettimeoutmessage() const { -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - return resettimeoutmessage_ != NULL ? *resettimeoutmessage_ : *default_instance().resettimeoutmessage_; -#else - return resettimeoutmessage_ != NULL ? *resettimeoutmessage_ : *default_instance_->resettimeoutmessage_; -#endif -} -inline ::ResetTimeoutMessage* PokerTHMessage::mutable_resettimeoutmessage() { - set_has_resettimeoutmessage(); - if (resettimeoutmessage_ == NULL) resettimeoutmessage_ = new ::ResetTimeoutMessage; - return resettimeoutmessage_; -} -inline ::ResetTimeoutMessage* PokerTHMessage::release_resettimeoutmessage() { - clear_has_resettimeoutmessage(); - ::ResetTimeoutMessage* temp = resettimeoutmessage_; - resettimeoutmessage_ = NULL; - return temp; -} -inline void PokerTHMessage::set_allocated_resettimeoutmessage(::ResetTimeoutMessage* resettimeoutmessage) { - delete resettimeoutmessage_; - resettimeoutmessage_ = resettimeoutmessage; - if (resettimeoutmessage) { - set_has_resettimeoutmessage(); - } else { - clear_has_resettimeoutmessage(); - } -} - -// optional .ReportAvatarMessage reportAvatarMessage = 70; -inline bool PokerTHMessage::has_reportavatarmessage() const { - return (_has_bits_[2] & 0x00000020u) != 0; -} -inline void PokerTHMessage::set_has_reportavatarmessage() { - _has_bits_[2] |= 0x00000020u; -} -inline void PokerTHMessage::clear_has_reportavatarmessage() { - _has_bits_[2] &= ~0x00000020u; -} -inline void PokerTHMessage::clear_reportavatarmessage() { - if (reportavatarmessage_ != NULL) reportavatarmessage_->::ReportAvatarMessage::Clear(); - clear_has_reportavatarmessage(); -} -inline const ::ReportAvatarMessage& PokerTHMessage::reportavatarmessage() const { -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - return reportavatarmessage_ != NULL ? *reportavatarmessage_ : *default_instance().reportavatarmessage_; -#else - return reportavatarmessage_ != NULL ? *reportavatarmessage_ : *default_instance_->reportavatarmessage_; -#endif -} -inline ::ReportAvatarMessage* PokerTHMessage::mutable_reportavatarmessage() { - set_has_reportavatarmessage(); - if (reportavatarmessage_ == NULL) reportavatarmessage_ = new ::ReportAvatarMessage; - return reportavatarmessage_; -} -inline ::ReportAvatarMessage* PokerTHMessage::release_reportavatarmessage() { - clear_has_reportavatarmessage(); - ::ReportAvatarMessage* temp = reportavatarmessage_; - reportavatarmessage_ = NULL; - return temp; -} -inline void PokerTHMessage::set_allocated_reportavatarmessage(::ReportAvatarMessage* reportavatarmessage) { - delete reportavatarmessage_; - reportavatarmessage_ = reportavatarmessage; - if (reportavatarmessage) { - set_has_reportavatarmessage(); - } else { - clear_has_reportavatarmessage(); - } -} - -// optional .ReportAvatarAckMessage reportAvatarAckMessage = 71; -inline bool PokerTHMessage::has_reportavatarackmessage() const { - return (_has_bits_[2] & 0x00000040u) != 0; -} -inline void PokerTHMessage::set_has_reportavatarackmessage() { - _has_bits_[2] |= 0x00000040u; -} -inline void PokerTHMessage::clear_has_reportavatarackmessage() { - _has_bits_[2] &= ~0x00000040u; -} -inline void PokerTHMessage::clear_reportavatarackmessage() { - if (reportavatarackmessage_ != NULL) reportavatarackmessage_->::ReportAvatarAckMessage::Clear(); - clear_has_reportavatarackmessage(); -} -inline const ::ReportAvatarAckMessage& PokerTHMessage::reportavatarackmessage() const { -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - return reportavatarackmessage_ != NULL ? *reportavatarackmessage_ : *default_instance().reportavatarackmessage_; -#else - return reportavatarackmessage_ != NULL ? *reportavatarackmessage_ : *default_instance_->reportavatarackmessage_; -#endif -} -inline ::ReportAvatarAckMessage* PokerTHMessage::mutable_reportavatarackmessage() { - set_has_reportavatarackmessage(); - if (reportavatarackmessage_ == NULL) reportavatarackmessage_ = new ::ReportAvatarAckMessage; - return reportavatarackmessage_; -} -inline ::ReportAvatarAckMessage* PokerTHMessage::release_reportavatarackmessage() { - clear_has_reportavatarackmessage(); - ::ReportAvatarAckMessage* temp = reportavatarackmessage_; - reportavatarackmessage_ = NULL; - return temp; -} -inline void PokerTHMessage::set_allocated_reportavatarackmessage(::ReportAvatarAckMessage* reportavatarackmessage) { - delete reportavatarackmessage_; - reportavatarackmessage_ = reportavatarackmessage; - if (reportavatarackmessage) { - set_has_reportavatarackmessage(); - } else { - clear_has_reportavatarackmessage(); - } -} - -// optional .ReportGameMessage reportGameMessage = 72; -inline bool PokerTHMessage::has_reportgamemessage() const { - return (_has_bits_[2] & 0x00000080u) != 0; -} -inline void PokerTHMessage::set_has_reportgamemessage() { - _has_bits_[2] |= 0x00000080u; -} -inline void PokerTHMessage::clear_has_reportgamemessage() { - _has_bits_[2] &= ~0x00000080u; -} -inline void PokerTHMessage::clear_reportgamemessage() { - if (reportgamemessage_ != NULL) reportgamemessage_->::ReportGameMessage::Clear(); - clear_has_reportgamemessage(); -} -inline const ::ReportGameMessage& PokerTHMessage::reportgamemessage() const { -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - return reportgamemessage_ != NULL ? *reportgamemessage_ : *default_instance().reportgamemessage_; -#else - return reportgamemessage_ != NULL ? *reportgamemessage_ : *default_instance_->reportgamemessage_; -#endif -} -inline ::ReportGameMessage* PokerTHMessage::mutable_reportgamemessage() { - set_has_reportgamemessage(); - if (reportgamemessage_ == NULL) reportgamemessage_ = new ::ReportGameMessage; - return reportgamemessage_; -} -inline ::ReportGameMessage* PokerTHMessage::release_reportgamemessage() { - clear_has_reportgamemessage(); - ::ReportGameMessage* temp = reportgamemessage_; - reportgamemessage_ = NULL; - return temp; -} -inline void PokerTHMessage::set_allocated_reportgamemessage(::ReportGameMessage* reportgamemessage) { - delete reportgamemessage_; - reportgamemessage_ = reportgamemessage; - if (reportgamemessage) { - set_has_reportgamemessage(); - } else { - clear_has_reportgamemessage(); - } -} - -// optional .ReportGameAckMessage reportGameAckMessage = 73; -inline bool PokerTHMessage::has_reportgameackmessage() const { - return (_has_bits_[2] & 0x00000100u) != 0; -} -inline void PokerTHMessage::set_has_reportgameackmessage() { - _has_bits_[2] |= 0x00000100u; -} -inline void PokerTHMessage::clear_has_reportgameackmessage() { - _has_bits_[2] &= ~0x00000100u; -} -inline void PokerTHMessage::clear_reportgameackmessage() { - if (reportgameackmessage_ != NULL) reportgameackmessage_->::ReportGameAckMessage::Clear(); - clear_has_reportgameackmessage(); -} -inline const ::ReportGameAckMessage& PokerTHMessage::reportgameackmessage() const { -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - return reportgameackmessage_ != NULL ? *reportgameackmessage_ : *default_instance().reportgameackmessage_; -#else - return reportgameackmessage_ != NULL ? *reportgameackmessage_ : *default_instance_->reportgameackmessage_; -#endif -} -inline ::ReportGameAckMessage* PokerTHMessage::mutable_reportgameackmessage() { - set_has_reportgameackmessage(); - if (reportgameackmessage_ == NULL) reportgameackmessage_ = new ::ReportGameAckMessage; - return reportgameackmessage_; -} -inline ::ReportGameAckMessage* PokerTHMessage::release_reportgameackmessage() { - clear_has_reportgameackmessage(); - ::ReportGameAckMessage* temp = reportgameackmessage_; - reportgameackmessage_ = NULL; - return temp; -} -inline void PokerTHMessage::set_allocated_reportgameackmessage(::ReportGameAckMessage* reportgameackmessage) { - delete reportgameackmessage_; - reportgameackmessage_ = reportgameackmessage; - if (reportgameackmessage) { - set_has_reportgameackmessage(); - } else { - clear_has_reportgameackmessage(); - } -} - -// optional .ErrorMessage errorMessage = 74; -inline bool PokerTHMessage::has_errormessage() const { - return (_has_bits_[2] & 0x00000200u) != 0; -} -inline void PokerTHMessage::set_has_errormessage() { - _has_bits_[2] |= 0x00000200u; -} -inline void PokerTHMessage::clear_has_errormessage() { - _has_bits_[2] &= ~0x00000200u; -} -inline void PokerTHMessage::clear_errormessage() { - if (errormessage_ != NULL) errormessage_->::ErrorMessage::Clear(); - clear_has_errormessage(); -} -inline const ::ErrorMessage& PokerTHMessage::errormessage() const { -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - return errormessage_ != NULL ? *errormessage_ : *default_instance().errormessage_; -#else - return errormessage_ != NULL ? *errormessage_ : *default_instance_->errormessage_; -#endif -} -inline ::ErrorMessage* PokerTHMessage::mutable_errormessage() { - set_has_errormessage(); - if (errormessage_ == NULL) errormessage_ = new ::ErrorMessage; - return errormessage_; -} -inline ::ErrorMessage* PokerTHMessage::release_errormessage() { - clear_has_errormessage(); - ::ErrorMessage* temp = errormessage_; - errormessage_ = NULL; - return temp; -} -inline void PokerTHMessage::set_allocated_errormessage(::ErrorMessage* errormessage) { - delete errormessage_; - errormessage_ = errormessage; - if (errormessage) { - set_has_errormessage(); - } else { - clear_has_errormessage(); - } -} - -// optional .AdminRemoveGameMessage adminRemoveGameMessage = 75; -inline bool PokerTHMessage::has_adminremovegamemessage() const { - return (_has_bits_[2] & 0x00000400u) != 0; -} -inline void PokerTHMessage::set_has_adminremovegamemessage() { - _has_bits_[2] |= 0x00000400u; -} -inline void PokerTHMessage::clear_has_adminremovegamemessage() { - _has_bits_[2] &= ~0x00000400u; -} -inline void PokerTHMessage::clear_adminremovegamemessage() { - if (adminremovegamemessage_ != NULL) adminremovegamemessage_->::AdminRemoveGameMessage::Clear(); - clear_has_adminremovegamemessage(); -} -inline const ::AdminRemoveGameMessage& PokerTHMessage::adminremovegamemessage() const { -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - return adminremovegamemessage_ != NULL ? *adminremovegamemessage_ : *default_instance().adminremovegamemessage_; -#else - return adminremovegamemessage_ != NULL ? *adminremovegamemessage_ : *default_instance_->adminremovegamemessage_; -#endif -} -inline ::AdminRemoveGameMessage* PokerTHMessage::mutable_adminremovegamemessage() { - set_has_adminremovegamemessage(); - if (adminremovegamemessage_ == NULL) adminremovegamemessage_ = new ::AdminRemoveGameMessage; - return adminremovegamemessage_; -} -inline ::AdminRemoveGameMessage* PokerTHMessage::release_adminremovegamemessage() { - clear_has_adminremovegamemessage(); - ::AdminRemoveGameMessage* temp = adminremovegamemessage_; - adminremovegamemessage_ = NULL; - return temp; -} -inline void PokerTHMessage::set_allocated_adminremovegamemessage(::AdminRemoveGameMessage* adminremovegamemessage) { - delete adminremovegamemessage_; - adminremovegamemessage_ = adminremovegamemessage; - if (adminremovegamemessage) { - set_has_adminremovegamemessage(); - } else { - clear_has_adminremovegamemessage(); - } -} - -// optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 76; -inline bool PokerTHMessage::has_adminremovegameackmessage() const { - return (_has_bits_[2] & 0x00000800u) != 0; -} -inline void PokerTHMessage::set_has_adminremovegameackmessage() { - _has_bits_[2] |= 0x00000800u; -} -inline void PokerTHMessage::clear_has_adminremovegameackmessage() { - _has_bits_[2] &= ~0x00000800u; -} -inline void PokerTHMessage::clear_adminremovegameackmessage() { - if (adminremovegameackmessage_ != NULL) adminremovegameackmessage_->::AdminRemoveGameAckMessage::Clear(); - clear_has_adminremovegameackmessage(); -} -inline const ::AdminRemoveGameAckMessage& PokerTHMessage::adminremovegameackmessage() const { -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - return adminremovegameackmessage_ != NULL ? *adminremovegameackmessage_ : *default_instance().adminremovegameackmessage_; -#else - return adminremovegameackmessage_ != NULL ? *adminremovegameackmessage_ : *default_instance_->adminremovegameackmessage_; -#endif -} -inline ::AdminRemoveGameAckMessage* PokerTHMessage::mutable_adminremovegameackmessage() { - set_has_adminremovegameackmessage(); - if (adminremovegameackmessage_ == NULL) adminremovegameackmessage_ = new ::AdminRemoveGameAckMessage; - return adminremovegameackmessage_; -} -inline ::AdminRemoveGameAckMessage* PokerTHMessage::release_adminremovegameackmessage() { - clear_has_adminremovegameackmessage(); - ::AdminRemoveGameAckMessage* temp = adminremovegameackmessage_; - adminremovegameackmessage_ = NULL; - return temp; -} -inline void PokerTHMessage::set_allocated_adminremovegameackmessage(::AdminRemoveGameAckMessage* adminremovegameackmessage) { - delete adminremovegameackmessage_; - adminremovegameackmessage_ = adminremovegameackmessage; - if (adminremovegameackmessage) { - set_has_adminremovegameackmessage(); - } else { - clear_has_adminremovegameackmessage(); - } -} - -// optional .AdminBanPlayerMessage adminBanPlayerMessage = 77; -inline bool PokerTHMessage::has_adminbanplayermessage() const { - return (_has_bits_[2] & 0x00001000u) != 0; -} -inline void PokerTHMessage::set_has_adminbanplayermessage() { - _has_bits_[2] |= 0x00001000u; -} -inline void PokerTHMessage::clear_has_adminbanplayermessage() { - _has_bits_[2] &= ~0x00001000u; -} -inline void PokerTHMessage::clear_adminbanplayermessage() { - if (adminbanplayermessage_ != NULL) adminbanplayermessage_->::AdminBanPlayerMessage::Clear(); - clear_has_adminbanplayermessage(); -} -inline const ::AdminBanPlayerMessage& PokerTHMessage::adminbanplayermessage() const { -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - return adminbanplayermessage_ != NULL ? *adminbanplayermessage_ : *default_instance().adminbanplayermessage_; -#else - return adminbanplayermessage_ != NULL ? *adminbanplayermessage_ : *default_instance_->adminbanplayermessage_; -#endif -} -inline ::AdminBanPlayerMessage* PokerTHMessage::mutable_adminbanplayermessage() { - set_has_adminbanplayermessage(); - if (adminbanplayermessage_ == NULL) adminbanplayermessage_ = new ::AdminBanPlayerMessage; - return adminbanplayermessage_; -} -inline ::AdminBanPlayerMessage* PokerTHMessage::release_adminbanplayermessage() { - clear_has_adminbanplayermessage(); - ::AdminBanPlayerMessage* temp = adminbanplayermessage_; - adminbanplayermessage_ = NULL; - return temp; -} -inline void PokerTHMessage::set_allocated_adminbanplayermessage(::AdminBanPlayerMessage* adminbanplayermessage) { - delete adminbanplayermessage_; - adminbanplayermessage_ = adminbanplayermessage; - if (adminbanplayermessage) { - set_has_adminbanplayermessage(); - } else { - clear_has_adminbanplayermessage(); - } -} - -// optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 78; -inline bool PokerTHMessage::has_adminbanplayerackmessage() const { - return (_has_bits_[2] & 0x00002000u) != 0; -} -inline void PokerTHMessage::set_has_adminbanplayerackmessage() { - _has_bits_[2] |= 0x00002000u; -} -inline void PokerTHMessage::clear_has_adminbanplayerackmessage() { - _has_bits_[2] &= ~0x00002000u; -} -inline void PokerTHMessage::clear_adminbanplayerackmessage() { - if (adminbanplayerackmessage_ != NULL) adminbanplayerackmessage_->::AdminBanPlayerAckMessage::Clear(); - clear_has_adminbanplayerackmessage(); -} -inline const ::AdminBanPlayerAckMessage& PokerTHMessage::adminbanplayerackmessage() const { -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - return adminbanplayerackmessage_ != NULL ? *adminbanplayerackmessage_ : *default_instance().adminbanplayerackmessage_; -#else - return adminbanplayerackmessage_ != NULL ? *adminbanplayerackmessage_ : *default_instance_->adminbanplayerackmessage_; -#endif -} -inline ::AdminBanPlayerAckMessage* PokerTHMessage::mutable_adminbanplayerackmessage() { - set_has_adminbanplayerackmessage(); - if (adminbanplayerackmessage_ == NULL) adminbanplayerackmessage_ = new ::AdminBanPlayerAckMessage; - return adminbanplayerackmessage_; -} -inline ::AdminBanPlayerAckMessage* PokerTHMessage::release_adminbanplayerackmessage() { - clear_has_adminbanplayerackmessage(); - ::AdminBanPlayerAckMessage* temp = adminbanplayerackmessage_; - adminbanplayerackmessage_ = NULL; - return temp; -} -inline void PokerTHMessage::set_allocated_adminbanplayerackmessage(::AdminBanPlayerAckMessage* adminbanplayerackmessage) { - delete adminbanplayerackmessage_; - adminbanplayerackmessage_ = adminbanplayerackmessage; - if (adminbanplayerackmessage) { - set_has_adminbanplayerackmessage(); - } else { - clear_has_adminbanplayerackmessage(); - } -} - -// optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 79; -inline bool PokerTHMessage::has_gamelistspectatorjoinedmessage() const { - return (_has_bits_[2] & 0x00004000u) != 0; -} -inline void PokerTHMessage::set_has_gamelistspectatorjoinedmessage() { - _has_bits_[2] |= 0x00004000u; -} -inline void PokerTHMessage::clear_has_gamelistspectatorjoinedmessage() { - _has_bits_[2] &= ~0x00004000u; -} -inline void PokerTHMessage::clear_gamelistspectatorjoinedmessage() { - if (gamelistspectatorjoinedmessage_ != NULL) gamelistspectatorjoinedmessage_->::GameListSpectatorJoinedMessage::Clear(); - clear_has_gamelistspectatorjoinedmessage(); -} -inline const ::GameListSpectatorJoinedMessage& PokerTHMessage::gamelistspectatorjoinedmessage() const { -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - return gamelistspectatorjoinedmessage_ != NULL ? *gamelistspectatorjoinedmessage_ : *default_instance().gamelistspectatorjoinedmessage_; -#else - return gamelistspectatorjoinedmessage_ != NULL ? *gamelistspectatorjoinedmessage_ : *default_instance_->gamelistspectatorjoinedmessage_; -#endif -} -inline ::GameListSpectatorJoinedMessage* PokerTHMessage::mutable_gamelistspectatorjoinedmessage() { - set_has_gamelistspectatorjoinedmessage(); - if (gamelistspectatorjoinedmessage_ == NULL) gamelistspectatorjoinedmessage_ = new ::GameListSpectatorJoinedMessage; - return gamelistspectatorjoinedmessage_; -} -inline ::GameListSpectatorJoinedMessage* PokerTHMessage::release_gamelistspectatorjoinedmessage() { - clear_has_gamelistspectatorjoinedmessage(); - ::GameListSpectatorJoinedMessage* temp = gamelistspectatorjoinedmessage_; - gamelistspectatorjoinedmessage_ = NULL; - return temp; -} -inline void PokerTHMessage::set_allocated_gamelistspectatorjoinedmessage(::GameListSpectatorJoinedMessage* gamelistspectatorjoinedmessage) { - delete gamelistspectatorjoinedmessage_; - gamelistspectatorjoinedmessage_ = gamelistspectatorjoinedmessage; - if (gamelistspectatorjoinedmessage) { - set_has_gamelistspectatorjoinedmessage(); - } else { - clear_has_gamelistspectatorjoinedmessage(); - } -} - -// optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 80; -inline bool PokerTHMessage::has_gamelistspectatorleftmessage() const { - return (_has_bits_[2] & 0x00008000u) != 0; -} -inline void PokerTHMessage::set_has_gamelistspectatorleftmessage() { - _has_bits_[2] |= 0x00008000u; -} -inline void PokerTHMessage::clear_has_gamelistspectatorleftmessage() { - _has_bits_[2] &= ~0x00008000u; -} -inline void PokerTHMessage::clear_gamelistspectatorleftmessage() { - if (gamelistspectatorleftmessage_ != NULL) gamelistspectatorleftmessage_->::GameListSpectatorLeftMessage::Clear(); - clear_has_gamelistspectatorleftmessage(); -} -inline const ::GameListSpectatorLeftMessage& PokerTHMessage::gamelistspectatorleftmessage() const { -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - return gamelistspectatorleftmessage_ != NULL ? *gamelistspectatorleftmessage_ : *default_instance().gamelistspectatorleftmessage_; -#else - return gamelistspectatorleftmessage_ != NULL ? *gamelistspectatorleftmessage_ : *default_instance_->gamelistspectatorleftmessage_; -#endif -} -inline ::GameListSpectatorLeftMessage* PokerTHMessage::mutable_gamelistspectatorleftmessage() { - set_has_gamelistspectatorleftmessage(); - if (gamelistspectatorleftmessage_ == NULL) gamelistspectatorleftmessage_ = new ::GameListSpectatorLeftMessage; - return gamelistspectatorleftmessage_; -} -inline ::GameListSpectatorLeftMessage* PokerTHMessage::release_gamelistspectatorleftmessage() { - clear_has_gamelistspectatorleftmessage(); - ::GameListSpectatorLeftMessage* temp = gamelistspectatorleftmessage_; - gamelistspectatorleftmessage_ = NULL; - return temp; -} -inline void PokerTHMessage::set_allocated_gamelistspectatorleftmessage(::GameListSpectatorLeftMessage* gamelistspectatorleftmessage) { - delete gamelistspectatorleftmessage_; - gamelistspectatorleftmessage_ = gamelistspectatorleftmessage; - if (gamelistspectatorleftmessage) { - set_has_gamelistspectatorleftmessage(); - } else { - clear_has_gamelistspectatorleftmessage(); - } -} - -// optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 81; -inline bool PokerTHMessage::has_gamespectatorjoinedmessage() const { - return (_has_bits_[2] & 0x00010000u) != 0; -} -inline void PokerTHMessage::set_has_gamespectatorjoinedmessage() { - _has_bits_[2] |= 0x00010000u; -} -inline void PokerTHMessage::clear_has_gamespectatorjoinedmessage() { - _has_bits_[2] &= ~0x00010000u; -} -inline void PokerTHMessage::clear_gamespectatorjoinedmessage() { - if (gamespectatorjoinedmessage_ != NULL) gamespectatorjoinedmessage_->::GameSpectatorJoinedMessage::Clear(); - clear_has_gamespectatorjoinedmessage(); -} -inline const ::GameSpectatorJoinedMessage& PokerTHMessage::gamespectatorjoinedmessage() const { -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - return gamespectatorjoinedmessage_ != NULL ? *gamespectatorjoinedmessage_ : *default_instance().gamespectatorjoinedmessage_; -#else - return gamespectatorjoinedmessage_ != NULL ? *gamespectatorjoinedmessage_ : *default_instance_->gamespectatorjoinedmessage_; -#endif -} -inline ::GameSpectatorJoinedMessage* PokerTHMessage::mutable_gamespectatorjoinedmessage() { - set_has_gamespectatorjoinedmessage(); - if (gamespectatorjoinedmessage_ == NULL) gamespectatorjoinedmessage_ = new ::GameSpectatorJoinedMessage; - return gamespectatorjoinedmessage_; -} -inline ::GameSpectatorJoinedMessage* PokerTHMessage::release_gamespectatorjoinedmessage() { - clear_has_gamespectatorjoinedmessage(); - ::GameSpectatorJoinedMessage* temp = gamespectatorjoinedmessage_; - gamespectatorjoinedmessage_ = NULL; - return temp; -} -inline void PokerTHMessage::set_allocated_gamespectatorjoinedmessage(::GameSpectatorJoinedMessage* gamespectatorjoinedmessage) { - delete gamespectatorjoinedmessage_; - gamespectatorjoinedmessage_ = gamespectatorjoinedmessage; - if (gamespectatorjoinedmessage) { - set_has_gamespectatorjoinedmessage(); - } else { - clear_has_gamespectatorjoinedmessage(); - } -} - -// optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 82; -inline bool PokerTHMessage::has_gamespectatorleftmessage() const { - return (_has_bits_[2] & 0x00020000u) != 0; -} -inline void PokerTHMessage::set_has_gamespectatorleftmessage() { - _has_bits_[2] |= 0x00020000u; -} -inline void PokerTHMessage::clear_has_gamespectatorleftmessage() { - _has_bits_[2] &= ~0x00020000u; -} -inline void PokerTHMessage::clear_gamespectatorleftmessage() { - if (gamespectatorleftmessage_ != NULL) gamespectatorleftmessage_->::GameSpectatorLeftMessage::Clear(); - clear_has_gamespectatorleftmessage(); -} -inline const ::GameSpectatorLeftMessage& PokerTHMessage::gamespectatorleftmessage() const { -#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER - return gamespectatorleftmessage_ != NULL ? *gamespectatorleftmessage_ : *default_instance().gamespectatorleftmessage_; -#else - return gamespectatorleftmessage_ != NULL ? *gamespectatorleftmessage_ : *default_instance_->gamespectatorleftmessage_; -#endif -} -inline ::GameSpectatorLeftMessage* PokerTHMessage::mutable_gamespectatorleftmessage() { - set_has_gamespectatorleftmessage(); - if (gamespectatorleftmessage_ == NULL) gamespectatorleftmessage_ = new ::GameSpectatorLeftMessage; - return gamespectatorleftmessage_; -} -inline ::GameSpectatorLeftMessage* PokerTHMessage::release_gamespectatorleftmessage() { - clear_has_gamespectatorleftmessage(); - ::GameSpectatorLeftMessage* temp = gamespectatorleftmessage_; - gamespectatorleftmessage_ = NULL; - return temp; -} -inline void PokerTHMessage::set_allocated_gamespectatorleftmessage(::GameSpectatorLeftMessage* gamespectatorleftmessage) { - delete gamespectatorleftmessage_; - gamespectatorleftmessage_ = gamespectatorleftmessage; - if (gamespectatorleftmessage) { - set_has_gamespectatorleftmessage(); - } else { - clear_has_gamespectatorleftmessage(); + clear_has_gamemessage(); } } diff --git a/tests/src/de/pokerth/protocol/ProtoBuf.java b/tests/src/de/pokerth/protocol/ProtoBuf.java index 02a11a46..279bab61 100644 --- a/tests/src/de/pokerth/protocol/ProtoBuf.java +++ b/tests/src/de/pokerth/protocol/ProtoBuf.java @@ -4681,7 +4681,7 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:AnnounceMessage) } - public interface InitMessageOrBuilder + public interface AuthClientRequestMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { // required .AnnounceMessage.Version requestedVersion = 1; @@ -4697,22 +4697,30 @@ public final class ProtoBuf { // required uint32 buildId = 2; /** * required uint32 buildId = 2; + * + *
+     * buildId contains a constant build id (specific for Windows/Linux/Mac builds)
+     * 
*/ boolean hasBuildId(); /** * required uint32 buildId = 2; + * + *
+     * buildId contains a constant build id (specific for Windows/Linux/Mac builds)
+     * 
*/ int getBuildId(); - // optional bytes myLastSessionId = 3; + // required .AuthClientRequestMessage.LoginType login = 3; /** - * optional bytes myLastSessionId = 3; + * required .AuthClientRequestMessage.LoginType login = 3; */ - boolean hasMyLastSessionId(); + boolean hasLogin(); /** - * optional bytes myLastSessionId = 3; + * required .AuthClientRequestMessage.LoginType login = 3; */ - com.google.protobuf.ByteString getMyLastSessionId(); + de.pokerth.protocol.ProtoBuf.AuthClientRequestMessage.LoginType getLogin(); // optional string authServerPassword = 4; /** @@ -4729,19 +4737,9 @@ public final class ProtoBuf { com.google.protobuf.ByteString getAuthServerPasswordBytes(); - // required .InitMessage.LoginType login = 5; + // optional string nickName = 5; /** - * required .InitMessage.LoginType login = 5; - */ - boolean hasLogin(); - /** - * required .InitMessage.LoginType login = 5; - */ - de.pokerth.protocol.ProtoBuf.InitMessage.LoginType getLogin(); - - // optional string nickName = 6; - /** - * optional string nickName = 6; + * optional string nickName = 5; * *
      * Only used for guest login or unauthenticated login.
@@ -4749,7 +4747,7 @@ public final class ProtoBuf {
      */
     boolean hasNickName();
     /**
-     * optional string nickName = 6;
+     * optional string nickName = 5;
      *
      * 
      * Only used for guest login or unauthenticated login.
@@ -4757,7 +4755,7 @@ public final class ProtoBuf {
      */
     java.lang.String getNickName();
     /**
-     * optional string nickName = 6;
+     * optional string nickName = 5;
      *
      * 
      * Only used for guest login or unauthenticated login.
@@ -4766,9 +4764,9 @@ public final class ProtoBuf {
     com.google.protobuf.ByteString
         getNickNameBytes();
 
-    // optional bytes clientUserData = 7;
+    // optional bytes clientUserData = 6;
     /**
-     * optional bytes clientUserData = 7;
+     * optional bytes clientUserData = 6;
      *
      * 
      * Authenticated login data is according to SCRAM SHA-1
@@ -4776,7 +4774,7 @@ public final class ProtoBuf {
      */
     boolean hasClientUserData();
     /**
-     * optional bytes clientUserData = 7;
+     * optional bytes clientUserData = 6;
      *
      * 
      * Authenticated login data is according to SCRAM SHA-1
@@ -4784,51 +4782,39 @@ public final class ProtoBuf {
      */
     com.google.protobuf.ByteString getClientUserData();
 
-    // optional bytes avatarHash = 8;
+    // optional bytes myLastSessionId = 7;
     /**
-     * optional bytes avatarHash = 8;
-     *
-     * 
-     * Ignored for guest login.
-     * 
+ * optional bytes myLastSessionId = 7; */ - boolean hasAvatarHash(); + boolean hasMyLastSessionId(); /** - * optional bytes avatarHash = 8; - * - *
-     * Ignored for guest login.
-     * 
+ * optional bytes myLastSessionId = 7; */ - com.google.protobuf.ByteString getAvatarHash(); + com.google.protobuf.ByteString getMyLastSessionId(); } /** - * Protobuf type {@code InitMessage} - * - *
-   * buildId contains a constant build id (specific for Windows/Linux/Mac builds)
-   * 
+ * Protobuf type {@code AuthClientRequestMessage} */ - public static final class InitMessage extends + public static final class AuthClientRequestMessage extends com.google.protobuf.GeneratedMessageLite - implements InitMessageOrBuilder { - // Use InitMessage.newBuilder() to construct. - private InitMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + implements AuthClientRequestMessageOrBuilder { + // Use AuthClientRequestMessage.newBuilder() to construct. + private AuthClientRequestMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); } - private InitMessage(boolean noInit) {} + private AuthClientRequestMessage(boolean noInit) {} - private static final InitMessage defaultInstance; - public static InitMessage getDefaultInstance() { + private static final AuthClientRequestMessage defaultInstance; + public static AuthClientRequestMessage getDefaultInstance() { return defaultInstance; } - public InitMessage getDefaultInstanceForType() { + public AuthClientRequestMessage getDefaultInstanceForType() { return defaultInstance; } - private InitMessage( + private AuthClientRequestMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -4867,9 +4853,13 @@ public final class ProtoBuf { buildId_ = input.readUInt32(); break; } - case 26: { - bitField0_ |= 0x00000004; - myLastSessionId_ = input.readBytes(); + case 24: { + int rawValue = input.readEnum(); + de.pokerth.protocol.ProtoBuf.AuthClientRequestMessage.LoginType value = de.pokerth.protocol.ProtoBuf.AuthClientRequestMessage.LoginType.valueOf(rawValue); + if (value != null) { + bitField0_ |= 0x00000004; + login_ = value; + } break; } case 34: { @@ -4877,28 +4867,19 @@ public final class ProtoBuf { 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) { - bitField0_ |= 0x00000010; - login_ = value; - } + case 42: { + bitField0_ |= 0x00000010; + nickName_ = input.readBytes(); break; } case 50: { bitField0_ |= 0x00000020; - nickName_ = input.readBytes(); + clientUserData_ = input.readBytes(); break; } case 58: { bitField0_ |= 0x00000040; - clientUserData_ = input.readBytes(); - break; - } - case 66: { - bitField0_ |= 0x00000080; - avatarHash_ = input.readBytes(); + myLastSessionId_ = input.readBytes(); break; } } @@ -4912,23 +4893,23 @@ public final class ProtoBuf { makeExtensionsImmutable(); } } - public static com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - public InitMessage parsePartialFrom( + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public AuthClientRequestMessage parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new InitMessage(input, extensionRegistry); + return new AuthClientRequestMessage(input, extensionRegistry); } }; @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } /** - * Protobuf enum {@code InitMessage.LoginType} + * Protobuf enum {@code AuthClientRequestMessage.LoginType} */ public enum LoginType implements com.google.protobuf.Internal.EnumLite { @@ -4989,7 +4970,7 @@ public final class ProtoBuf { this.value = value; } - // @@protoc_insertion_point(enum_scope:InitMessage.LoginType) + // @@protoc_insertion_point(enum_scope:AuthClientRequestMessage.LoginType) } private int bitField0_; @@ -5014,31 +4995,39 @@ public final class ProtoBuf { private int buildId_; /** * required uint32 buildId = 2; + * + *
+     * buildId contains a constant build id (specific for Windows/Linux/Mac builds)
+     * 
*/ public boolean hasBuildId() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * required uint32 buildId = 2; + * + *
+     * buildId contains a constant build id (specific for Windows/Linux/Mac builds)
+     * 
*/ public int getBuildId() { return buildId_; } - // optional bytes myLastSessionId = 3; - public static final int MYLASTSESSIONID_FIELD_NUMBER = 3; - private com.google.protobuf.ByteString myLastSessionId_; + // required .AuthClientRequestMessage.LoginType login = 3; + public static final int LOGIN_FIELD_NUMBER = 3; + private de.pokerth.protocol.ProtoBuf.AuthClientRequestMessage.LoginType login_; /** - * optional bytes myLastSessionId = 3; + * required .AuthClientRequestMessage.LoginType login = 3; */ - public boolean hasMyLastSessionId() { + public boolean hasLogin() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** - * optional bytes myLastSessionId = 3; + * required .AuthClientRequestMessage.LoginType login = 3; */ - public com.google.protobuf.ByteString getMyLastSessionId() { - return myLastSessionId_; + public de.pokerth.protocol.ProtoBuf.AuthClientRequestMessage.LoginType getLogin() { + return login_; } // optional string authServerPassword = 4; @@ -5084,37 +5073,21 @@ 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_; - /** - * required .InitMessage.LoginType login = 5; - */ - public boolean hasLogin() { - return ((bitField0_ & 0x00000010) == 0x00000010); - } - /** - * required .InitMessage.LoginType login = 5; - */ - public de.pokerth.protocol.ProtoBuf.InitMessage.LoginType getLogin() { - return login_; - } - - // optional string nickName = 6; - public static final int NICKNAME_FIELD_NUMBER = 6; + // optional string nickName = 5; + public static final int NICKNAME_FIELD_NUMBER = 5; private java.lang.Object nickName_; /** - * optional string nickName = 6; + * optional string nickName = 5; * *
      * Only used for guest login or unauthenticated login.
      * 
*/ public boolean hasNickName() { - return ((bitField0_ & 0x00000020) == 0x00000020); + return ((bitField0_ & 0x00000010) == 0x00000010); } /** - * optional string nickName = 6; + * optional string nickName = 5; * *
      * Only used for guest login or unauthenticated login.
@@ -5135,7 +5108,7 @@ public final class ProtoBuf {
       }
     }
     /**
-     * optional string nickName = 6;
+     * optional string nickName = 5;
      *
      * 
      * Only used for guest login or unauthenticated login.
@@ -5155,21 +5128,21 @@ public final class ProtoBuf {
       }
     }
 
-    // optional bytes clientUserData = 7;
-    public static final int CLIENTUSERDATA_FIELD_NUMBER = 7;
+    // optional bytes clientUserData = 6;
+    public static final int CLIENTUSERDATA_FIELD_NUMBER = 6;
     private com.google.protobuf.ByteString clientUserData_;
     /**
-     * optional bytes clientUserData = 7;
+     * optional bytes clientUserData = 6;
      *
      * 
      * Authenticated login data is according to SCRAM SHA-1
      * 
*/ public boolean hasClientUserData() { - return ((bitField0_ & 0x00000040) == 0x00000040); + return ((bitField0_ & 0x00000020) == 0x00000020); } /** - * optional bytes clientUserData = 7; + * optional bytes clientUserData = 6; * *
      * Authenticated login data is according to SCRAM SHA-1
@@ -5179,39 +5152,30 @@ public final class ProtoBuf {
       return clientUserData_;
     }
 
-    // optional bytes avatarHash = 8;
-    public static final int AVATARHASH_FIELD_NUMBER = 8;
-    private com.google.protobuf.ByteString avatarHash_;
+    // optional bytes myLastSessionId = 7;
+    public static final int MYLASTSESSIONID_FIELD_NUMBER = 7;
+    private com.google.protobuf.ByteString myLastSessionId_;
     /**
-     * optional bytes avatarHash = 8;
-     *
-     * 
-     * Ignored for guest login.
-     * 
+ * optional bytes myLastSessionId = 7; */ - public boolean hasAvatarHash() { - return ((bitField0_ & 0x00000080) == 0x00000080); + public boolean hasMyLastSessionId() { + return ((bitField0_ & 0x00000040) == 0x00000040); } /** - * optional bytes avatarHash = 8; - * - *
-     * Ignored for guest login.
-     * 
+ * optional bytes myLastSessionId = 7; */ - public com.google.protobuf.ByteString getAvatarHash() { - return avatarHash_; + public com.google.protobuf.ByteString getMyLastSessionId() { + return myLastSessionId_; } private void initFields() { requestedVersion_ = de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.getDefaultInstance(); buildId_ = 0; - myLastSessionId_ = com.google.protobuf.ByteString.EMPTY; + login_ = de.pokerth.protocol.ProtoBuf.AuthClientRequestMessage.LoginType.guestLogin; authServerPassword_ = ""; - login_ = de.pokerth.protocol.ProtoBuf.InitMessage.LoginType.guestLogin; nickName_ = ""; clientUserData_ = com.google.protobuf.ByteString.EMPTY; - avatarHash_ = com.google.protobuf.ByteString.EMPTY; + myLastSessionId_ = com.google.protobuf.ByteString.EMPTY; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { @@ -5248,22 +5212,19 @@ public final class ProtoBuf { output.writeUInt32(2, buildId_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeBytes(3, myLastSessionId_); + output.writeEnum(3, login_.getNumber()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeBytes(4, getAuthServerPasswordBytes()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { - output.writeEnum(5, login_.getNumber()); + output.writeBytes(5, getNickNameBytes()); } if (((bitField0_ & 0x00000020) == 0x00000020)) { - output.writeBytes(6, getNickNameBytes()); + output.writeBytes(6, clientUserData_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { - output.writeBytes(7, clientUserData_); - } - if (((bitField0_ & 0x00000080) == 0x00000080)) { - output.writeBytes(8, avatarHash_); + output.writeBytes(7, myLastSessionId_); } } @@ -5283,7 +5244,7 @@ public final class ProtoBuf { } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream - .computeBytesSize(3, myLastSessionId_); + .computeEnumSize(3, login_.getNumber()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream @@ -5291,19 +5252,15 @@ public final class ProtoBuf { } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream - .computeEnumSize(5, login_.getNumber()); + .computeBytesSize(5, getNickNameBytes()); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += com.google.protobuf.CodedOutputStream - .computeBytesSize(6, getNickNameBytes()); + .computeBytesSize(6, clientUserData_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { size += com.google.protobuf.CodedOutputStream - .computeBytesSize(7, clientUserData_); - } - if (((bitField0_ & 0x00000080) == 0x00000080)) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(8, avatarHash_); + .computeBytesSize(7, myLastSessionId_); } memoizedSerializedSize = size; return size; @@ -5316,53 +5273,53 @@ public final class ProtoBuf { return super.writeReplace(); } - public static de.pokerth.protocol.ProtoBuf.InitMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.AuthClientRequestMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static de.pokerth.protocol.ProtoBuf.InitMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.AuthClientRequestMessage parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.InitMessage parseFrom(byte[] data) + public static de.pokerth.protocol.ProtoBuf.AuthClientRequestMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static de.pokerth.protocol.ProtoBuf.InitMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.AuthClientRequestMessage parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.InitMessage parseFrom(java.io.InputStream input) + public static de.pokerth.protocol.ProtoBuf.AuthClientRequestMessage parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } - public static de.pokerth.protocol.ProtoBuf.InitMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.AuthClientRequestMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.InitMessage parseDelimitedFrom(java.io.InputStream input) + public static de.pokerth.protocol.ProtoBuf.AuthClientRequestMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } - public static de.pokerth.protocol.ProtoBuf.InitMessage parseDelimitedFrom( + public static de.pokerth.protocol.ProtoBuf.AuthClientRequestMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.InitMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.AuthClientRequestMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } - public static de.pokerth.protocol.ProtoBuf.InitMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.AuthClientRequestMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -5371,23 +5328,19 @@ public final class ProtoBuf { public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.InitMessage prototype) { + public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.AuthClientRequestMessage prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } /** - * Protobuf type {@code InitMessage} - * - *
-     * buildId contains a constant build id (specific for Windows/Linux/Mac builds)
-     * 
+ * Protobuf type {@code AuthClientRequestMessage} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.InitMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.InitMessageOrBuilder { - // Construct using de.pokerth.protocol.ProtoBuf.InitMessage.newBuilder() + de.pokerth.protocol.ProtoBuf.AuthClientRequestMessage, Builder> + implements de.pokerth.protocol.ProtoBuf.AuthClientRequestMessageOrBuilder { + // Construct using de.pokerth.protocol.ProtoBuf.AuthClientRequestMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -5404,18 +5357,16 @@ public final class ProtoBuf { bitField0_ = (bitField0_ & ~0x00000001); buildId_ = 0; bitField0_ = (bitField0_ & ~0x00000002); - myLastSessionId_ = com.google.protobuf.ByteString.EMPTY; + login_ = de.pokerth.protocol.ProtoBuf.AuthClientRequestMessage.LoginType.guestLogin; bitField0_ = (bitField0_ & ~0x00000004); authServerPassword_ = ""; bitField0_ = (bitField0_ & ~0x00000008); - login_ = de.pokerth.protocol.ProtoBuf.InitMessage.LoginType.guestLogin; - bitField0_ = (bitField0_ & ~0x00000010); nickName_ = ""; - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000010); clientUserData_ = com.google.protobuf.ByteString.EMPTY; + bitField0_ = (bitField0_ & ~0x00000020); + myLastSessionId_ = com.google.protobuf.ByteString.EMPTY; bitField0_ = (bitField0_ & ~0x00000040); - avatarHash_ = com.google.protobuf.ByteString.EMPTY; - bitField0_ = (bitField0_ & ~0x00000080); return this; } @@ -5423,20 +5374,20 @@ public final class ProtoBuf { return create().mergeFrom(buildPartial()); } - public de.pokerth.protocol.ProtoBuf.InitMessage getDefaultInstanceForType() { - return de.pokerth.protocol.ProtoBuf.InitMessage.getDefaultInstance(); + public de.pokerth.protocol.ProtoBuf.AuthClientRequestMessage getDefaultInstanceForType() { + return de.pokerth.protocol.ProtoBuf.AuthClientRequestMessage.getDefaultInstance(); } - public de.pokerth.protocol.ProtoBuf.InitMessage build() { - de.pokerth.protocol.ProtoBuf.InitMessage result = buildPartial(); + public de.pokerth.protocol.ProtoBuf.AuthClientRequestMessage build() { + de.pokerth.protocol.ProtoBuf.AuthClientRequestMessage result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } - public de.pokerth.protocol.ProtoBuf.InitMessage buildPartial() { - de.pokerth.protocol.ProtoBuf.InitMessage result = new de.pokerth.protocol.ProtoBuf.InitMessage(this); + public de.pokerth.protocol.ProtoBuf.AuthClientRequestMessage buildPartial() { + de.pokerth.protocol.ProtoBuf.AuthClientRequestMessage result = new de.pokerth.protocol.ProtoBuf.AuthClientRequestMessage(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { @@ -5450,7 +5401,7 @@ public final class ProtoBuf { if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } - result.myLastSessionId_ = myLastSessionId_; + result.login_ = login_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } @@ -5458,52 +5409,45 @@ public final class ProtoBuf { if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } - result.login_ = login_; + result.nickName_ = nickName_; if (((from_bitField0_ & 0x00000020) == 0x00000020)) { to_bitField0_ |= 0x00000020; } - result.nickName_ = nickName_; + result.clientUserData_ = clientUserData_; if (((from_bitField0_ & 0x00000040) == 0x00000040)) { to_bitField0_ |= 0x00000040; } - result.clientUserData_ = clientUserData_; - if (((from_bitField0_ & 0x00000080) == 0x00000080)) { - to_bitField0_ |= 0x00000080; - } - result.avatarHash_ = avatarHash_; + result.myLastSessionId_ = myLastSessionId_; result.bitField0_ = to_bitField0_; return result; } - public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.InitMessage other) { - if (other == de.pokerth.protocol.ProtoBuf.InitMessage.getDefaultInstance()) return this; + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.AuthClientRequestMessage other) { + if (other == de.pokerth.protocol.ProtoBuf.AuthClientRequestMessage.getDefaultInstance()) return this; if (other.hasRequestedVersion()) { mergeRequestedVersion(other.getRequestedVersion()); } if (other.hasBuildId()) { setBuildId(other.getBuildId()); } - if (other.hasMyLastSessionId()) { - setMyLastSessionId(other.getMyLastSessionId()); + if (other.hasLogin()) { + setLogin(other.getLogin()); } if (other.hasAuthServerPassword()) { bitField0_ |= 0x00000008; authServerPassword_ = other.authServerPassword_; } - if (other.hasLogin()) { - setLogin(other.getLogin()); - } if (other.hasNickName()) { - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000010; nickName_ = other.nickName_; } if (other.hasClientUserData()) { setClientUserData(other.getClientUserData()); } - if (other.hasAvatarHash()) { - setAvatarHash(other.getAvatarHash()); + if (other.hasMyLastSessionId()) { + setMyLastSessionId(other.getMyLastSessionId()); } return this; } @@ -5532,11 +5476,11 @@ public final class ProtoBuf { com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - de.pokerth.protocol.ProtoBuf.InitMessage parsedMessage = null; + de.pokerth.protocol.ProtoBuf.AuthClientRequestMessage parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (de.pokerth.protocol.ProtoBuf.InitMessage) e.getUnfinishedMessage(); + parsedMessage = (de.pokerth.protocol.ProtoBuf.AuthClientRequestMessage) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { @@ -5612,18 +5556,30 @@ public final class ProtoBuf { private int buildId_ ; /** * required uint32 buildId = 2; + * + *
+       * buildId contains a constant build id (specific for Windows/Linux/Mac builds)
+       * 
*/ public boolean hasBuildId() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * required uint32 buildId = 2; + * + *
+       * buildId contains a constant build id (specific for Windows/Linux/Mac builds)
+       * 
*/ public int getBuildId() { return buildId_; } /** * required uint32 buildId = 2; + * + *
+       * buildId contains a constant build id (specific for Windows/Linux/Mac builds)
+       * 
*/ public Builder setBuildId(int value) { bitField0_ |= 0x00000002; @@ -5633,6 +5589,10 @@ public final class ProtoBuf { } /** * required uint32 buildId = 2; + * + *
+       * buildId contains a constant build id (specific for Windows/Linux/Mac builds)
+       * 
*/ public Builder clearBuildId() { bitField0_ = (bitField0_ & ~0x00000002); @@ -5641,38 +5601,38 @@ public final class ProtoBuf { return this; } - // optional bytes myLastSessionId = 3; - private com.google.protobuf.ByteString myLastSessionId_ = com.google.protobuf.ByteString.EMPTY; + // required .AuthClientRequestMessage.LoginType login = 3; + private de.pokerth.protocol.ProtoBuf.AuthClientRequestMessage.LoginType login_ = de.pokerth.protocol.ProtoBuf.AuthClientRequestMessage.LoginType.guestLogin; /** - * optional bytes myLastSessionId = 3; + * required .AuthClientRequestMessage.LoginType login = 3; */ - public boolean hasMyLastSessionId() { + public boolean hasLogin() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** - * optional bytes myLastSessionId = 3; + * required .AuthClientRequestMessage.LoginType login = 3; */ - public com.google.protobuf.ByteString getMyLastSessionId() { - return myLastSessionId_; + public de.pokerth.protocol.ProtoBuf.AuthClientRequestMessage.LoginType getLogin() { + return login_; } /** - * optional bytes myLastSessionId = 3; + * required .AuthClientRequestMessage.LoginType login = 3; */ - public Builder setMyLastSessionId(com.google.protobuf.ByteString value) { + public Builder setLogin(de.pokerth.protocol.ProtoBuf.AuthClientRequestMessage.LoginType value) { if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000004; - myLastSessionId_ = value; + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; + login_ = value; return this; } /** - * optional bytes myLastSessionId = 3; + * required .AuthClientRequestMessage.LoginType login = 3; */ - public Builder clearMyLastSessionId() { + public Builder clearLogin() { bitField0_ = (bitField0_ & ~0x00000004); - myLastSessionId_ = getDefaultInstance().getMyLastSessionId(); + login_ = de.pokerth.protocol.ProtoBuf.AuthClientRequestMessage.LoginType.guestLogin; return this; } @@ -5751,56 +5711,20 @@ 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; - */ - public boolean hasLogin() { - return ((bitField0_ & 0x00000010) == 0x00000010); - } - /** - * required .InitMessage.LoginType login = 5; - */ - public de.pokerth.protocol.ProtoBuf.InitMessage.LoginType getLogin() { - return login_; - } - /** - * required .InitMessage.LoginType login = 5; - */ - public Builder setLogin(de.pokerth.protocol.ProtoBuf.InitMessage.LoginType value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000010; - login_ = value; - - return this; - } - /** - * required .InitMessage.LoginType login = 5; - */ - public Builder clearLogin() { - bitField0_ = (bitField0_ & ~0x00000010); - login_ = de.pokerth.protocol.ProtoBuf.InitMessage.LoginType.guestLogin; - - return this; - } - - // optional string nickName = 6; + // optional string nickName = 5; private java.lang.Object nickName_ = ""; /** - * optional string nickName = 6; + * optional string nickName = 5; * *
        * Only used for guest login or unauthenticated login.
        * 
*/ public boolean hasNickName() { - return ((bitField0_ & 0x00000020) == 0x00000020); + return ((bitField0_ & 0x00000010) == 0x00000010); } /** - * optional string nickName = 6; + * optional string nickName = 5; * *
        * Only used for guest login or unauthenticated login.
@@ -5818,7 +5742,7 @@ public final class ProtoBuf {
         }
       }
       /**
-       * optional string nickName = 6;
+       * optional string nickName = 5;
        *
        * 
        * Only used for guest login or unauthenticated login.
@@ -5838,7 +5762,7 @@ public final class ProtoBuf {
         }
       }
       /**
-       * optional string nickName = 6;
+       * optional string nickName = 5;
        *
        * 
        * Only used for guest login or unauthenticated login.
@@ -5849,26 +5773,26 @@ public final class ProtoBuf {
         if (value == null) {
     throw new NullPointerException();
   }
-  bitField0_ |= 0x00000020;
+  bitField0_ |= 0x00000010;
         nickName_ = value;
         
         return this;
       }
       /**
-       * optional string nickName = 6;
+       * optional string nickName = 5;
        *
        * 
        * Only used for guest login or unauthenticated login.
        * 
*/ public Builder clearNickName() { - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000010); nickName_ = getDefaultInstance().getNickName(); return this; } /** - * optional string nickName = 6; + * optional string nickName = 5; * *
        * Only used for guest login or unauthenticated login.
@@ -5879,26 +5803,26 @@ public final class ProtoBuf {
         if (value == null) {
     throw new NullPointerException();
   }
-  bitField0_ |= 0x00000020;
+  bitField0_ |= 0x00000010;
         nickName_ = value;
         
         return this;
       }
 
-      // optional bytes clientUserData = 7;
+      // optional bytes clientUserData = 6;
       private com.google.protobuf.ByteString clientUserData_ = com.google.protobuf.ByteString.EMPTY;
       /**
-       * optional bytes clientUserData = 7;
+       * optional bytes clientUserData = 6;
        *
        * 
        * Authenticated login data is according to SCRAM SHA-1
        * 
*/ public boolean hasClientUserData() { - return ((bitField0_ & 0x00000040) == 0x00000040); + return ((bitField0_ & 0x00000020) == 0x00000020); } /** - * optional bytes clientUserData = 7; + * optional bytes clientUserData = 6; * *
        * Authenticated login data is according to SCRAM SHA-1
@@ -5908,7 +5832,7 @@ public final class ProtoBuf {
         return clientUserData_;
       }
       /**
-       * optional bytes clientUserData = 7;
+       * optional bytes clientUserData = 6;
        *
        * 
        * Authenticated login data is according to SCRAM SHA-1
@@ -5918,86 +5842,70 @@ public final class ProtoBuf {
         if (value == null) {
     throw new NullPointerException();
   }
-  bitField0_ |= 0x00000040;
+  bitField0_ |= 0x00000020;
         clientUserData_ = value;
         
         return this;
       }
       /**
-       * optional bytes clientUserData = 7;
+       * optional bytes clientUserData = 6;
        *
        * 
        * Authenticated login data is according to SCRAM SHA-1
        * 
*/ public Builder clearClientUserData() { - bitField0_ = (bitField0_ & ~0x00000040); + bitField0_ = (bitField0_ & ~0x00000020); clientUserData_ = getDefaultInstance().getClientUserData(); return this; } - // optional bytes avatarHash = 8; - private com.google.protobuf.ByteString avatarHash_ = com.google.protobuf.ByteString.EMPTY; + // optional bytes myLastSessionId = 7; + private com.google.protobuf.ByteString myLastSessionId_ = com.google.protobuf.ByteString.EMPTY; /** - * optional bytes avatarHash = 8; - * - *
-       * Ignored for guest login.
-       * 
+ * optional bytes myLastSessionId = 7; */ - public boolean hasAvatarHash() { - return ((bitField0_ & 0x00000080) == 0x00000080); + public boolean hasMyLastSessionId() { + return ((bitField0_ & 0x00000040) == 0x00000040); } /** - * optional bytes avatarHash = 8; - * - *
-       * Ignored for guest login.
-       * 
+ * optional bytes myLastSessionId = 7; */ - public com.google.protobuf.ByteString getAvatarHash() { - return avatarHash_; + public com.google.protobuf.ByteString getMyLastSessionId() { + return myLastSessionId_; } /** - * optional bytes avatarHash = 8; - * - *
-       * Ignored for guest login.
-       * 
+ * optional bytes myLastSessionId = 7; */ - public Builder setAvatarHash(com.google.protobuf.ByteString value) { + public Builder setMyLastSessionId(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00000080; - avatarHash_ = value; + bitField0_ |= 0x00000040; + myLastSessionId_ = value; return this; } /** - * optional bytes avatarHash = 8; - * - *
-       * Ignored for guest login.
-       * 
+ * optional bytes myLastSessionId = 7; */ - public Builder clearAvatarHash() { - bitField0_ = (bitField0_ & ~0x00000080); - avatarHash_ = getDefaultInstance().getAvatarHash(); + public Builder clearMyLastSessionId() { + bitField0_ = (bitField0_ & ~0x00000040); + myLastSessionId_ = getDefaultInstance().getMyLastSessionId(); return this; } - // @@protoc_insertion_point(builder_scope:InitMessage) + // @@protoc_insertion_point(builder_scope:AuthClientRequestMessage) } static { - defaultInstance = new InitMessage(true); + defaultInstance = new AuthClientRequestMessage(true); defaultInstance.initFields(); } - // @@protoc_insertion_point(class_scope:InitMessage) + // @@protoc_insertion_point(class_scope:AuthClientRequestMessage) } public interface AuthServerChallengeMessageOrBuilder @@ -6691,13 +6599,33 @@ public final class ProtoBuf { public interface AuthServerVerificationMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - // required bytes serverVerification = 1; + // required bytes yourSessionId = 1; /** - * required bytes serverVerification = 1; + * required bytes yourSessionId = 1; + */ + boolean hasYourSessionId(); + /** + * required bytes yourSessionId = 1; + */ + com.google.protobuf.ByteString getYourSessionId(); + + // required uint32 yourPlayerId = 2; + /** + * required uint32 yourPlayerId = 2; + */ + boolean hasYourPlayerId(); + /** + * required uint32 yourPlayerId = 2; + */ + int getYourPlayerId(); + + // optional bytes serverVerification = 3; + /** + * optional bytes serverVerification = 3; */ boolean hasServerVerification(); /** - * required bytes serverVerification = 1; + * optional bytes serverVerification = 3; */ com.google.protobuf.ByteString getServerVerification(); } @@ -6746,6 +6674,16 @@ public final class ProtoBuf { } case 10: { bitField0_ |= 0x00000001; + yourSessionId_ = input.readBytes(); + break; + } + case 16: { + bitField0_ |= 0x00000002; + yourPlayerId_ = input.readUInt32(); + break; + } + case 26: { + bitField0_ |= 0x00000004; serverVerification_ = input.readBytes(); break; } @@ -6776,23 +6714,57 @@ 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_; + // required bytes yourSessionId = 1; + public static final int YOURSESSIONID_FIELD_NUMBER = 1; + private com.google.protobuf.ByteString yourSessionId_; /** - * required bytes serverVerification = 1; + * required bytes yourSessionId = 1; */ - public boolean hasServerVerification() { + public boolean hasYourSessionId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * required bytes serverVerification = 1; + * required bytes yourSessionId = 1; + */ + public com.google.protobuf.ByteString getYourSessionId() { + return yourSessionId_; + } + + // required uint32 yourPlayerId = 2; + public static final int YOURPLAYERID_FIELD_NUMBER = 2; + private int yourPlayerId_; + /** + * required uint32 yourPlayerId = 2; + */ + public boolean hasYourPlayerId() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * required uint32 yourPlayerId = 2; + */ + public int getYourPlayerId() { + return yourPlayerId_; + } + + // optional bytes serverVerification = 3; + public static final int SERVERVERIFICATION_FIELD_NUMBER = 3; + private com.google.protobuf.ByteString serverVerification_; + /** + * optional bytes serverVerification = 3; + */ + public boolean hasServerVerification() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + /** + * optional bytes serverVerification = 3; */ public com.google.protobuf.ByteString getServerVerification() { return serverVerification_; } private void initFields() { + yourSessionId_ = com.google.protobuf.ByteString.EMPTY; + yourPlayerId_ = 0; serverVerification_ = com.google.protobuf.ByteString.EMPTY; } private byte memoizedIsInitialized = -1; @@ -6800,7 +6772,11 @@ public final class ProtoBuf { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - if (!hasServerVerification()) { + if (!hasYourSessionId()) { + memoizedIsInitialized = 0; + return false; + } + if (!hasYourPlayerId()) { memoizedIsInitialized = 0; return false; } @@ -6812,7 +6788,13 @@ public final class ProtoBuf { throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeBytes(1, serverVerification_); + output.writeBytes(1, yourSessionId_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + output.writeUInt32(2, yourPlayerId_); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + output.writeBytes(3, serverVerification_); } } @@ -6824,7 +6806,15 @@ public final class ProtoBuf { size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream - .computeBytesSize(1, serverVerification_); + .computeBytesSize(1, yourSessionId_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(2, yourPlayerId_); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(3, serverVerification_); } memoizedSerializedSize = size; return size; @@ -6917,8 +6907,12 @@ public final class ProtoBuf { public Builder clear() { super.clear(); - serverVerification_ = com.google.protobuf.ByteString.EMPTY; + yourSessionId_ = com.google.protobuf.ByteString.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); + yourPlayerId_ = 0; + bitField0_ = (bitField0_ & ~0x00000002); + serverVerification_ = com.google.protobuf.ByteString.EMPTY; + bitField0_ = (bitField0_ & ~0x00000004); return this; } @@ -6945,6 +6939,14 @@ public final class ProtoBuf { if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } + result.yourSessionId_ = yourSessionId_; + if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + to_bitField0_ |= 0x00000002; + } + result.yourPlayerId_ = yourPlayerId_; + if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + to_bitField0_ |= 0x00000004; + } result.serverVerification_ = serverVerification_; result.bitField0_ = to_bitField0_; return result; @@ -6952,6 +6954,12 @@ public final class ProtoBuf { public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage other) { if (other == de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage.getDefaultInstance()) return this; + if (other.hasYourSessionId()) { + setYourSessionId(other.getYourSessionId()); + } + if (other.hasYourPlayerId()) { + setYourPlayerId(other.getYourPlayerId()); + } if (other.hasServerVerification()) { setServerVerification(other.getServerVerification()); } @@ -6959,7 +6967,11 @@ public final class ProtoBuf { } public final boolean isInitialized() { - if (!hasServerVerification()) { + if (!hasYourSessionId()) { + + return false; + } + if (!hasYourPlayerId()) { return false; } @@ -6985,37 +6997,106 @@ public final class ProtoBuf { } private int bitField0_; - // required bytes serverVerification = 1; - private com.google.protobuf.ByteString serverVerification_ = com.google.protobuf.ByteString.EMPTY; + // required bytes yourSessionId = 1; + private com.google.protobuf.ByteString yourSessionId_ = com.google.protobuf.ByteString.EMPTY; /** - * required bytes serverVerification = 1; + * required bytes yourSessionId = 1; */ - public boolean hasServerVerification() { + public boolean hasYourSessionId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * required bytes serverVerification = 1; + * required bytes yourSessionId = 1; + */ + public com.google.protobuf.ByteString getYourSessionId() { + return yourSessionId_; + } + /** + * required bytes yourSessionId = 1; + */ + public Builder setYourSessionId(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + yourSessionId_ = value; + + return this; + } + /** + * required bytes yourSessionId = 1; + */ + public Builder clearYourSessionId() { + bitField0_ = (bitField0_ & ~0x00000001); + yourSessionId_ = getDefaultInstance().getYourSessionId(); + + return this; + } + + // required uint32 yourPlayerId = 2; + private int yourPlayerId_ ; + /** + * required uint32 yourPlayerId = 2; + */ + public boolean hasYourPlayerId() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * required uint32 yourPlayerId = 2; + */ + public int getYourPlayerId() { + return yourPlayerId_; + } + /** + * required uint32 yourPlayerId = 2; + */ + public Builder setYourPlayerId(int value) { + bitField0_ |= 0x00000002; + yourPlayerId_ = value; + + return this; + } + /** + * required uint32 yourPlayerId = 2; + */ + public Builder clearYourPlayerId() { + bitField0_ = (bitField0_ & ~0x00000002); + yourPlayerId_ = 0; + + return this; + } + + // optional bytes serverVerification = 3; + private com.google.protobuf.ByteString serverVerification_ = com.google.protobuf.ByteString.EMPTY; + /** + * optional bytes serverVerification = 3; + */ + public boolean hasServerVerification() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + /** + * optional bytes serverVerification = 3; */ public com.google.protobuf.ByteString getServerVerification() { return serverVerification_; } /** - * required bytes serverVerification = 1; + * optional bytes serverVerification = 3; */ public Builder setServerVerification(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00000001; + bitField0_ |= 0x00000004; serverVerification_ = value; return this; } /** - * required bytes serverVerification = 1; + * optional bytes serverVerification = 3; */ public Builder clearServerVerification() { - bitField0_ = (bitField0_ & ~0x00000001); + bitField0_ = (bitField0_ & ~0x00000004); serverVerification_ = getDefaultInstance().getServerVerification(); return this; @@ -7032,46 +7113,394 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:AuthServerVerificationMessage) } + public interface InitMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + + // optional bytes avatarHash = 1; + /** + * optional bytes avatarHash = 1; + * + *
+     * Ignored for guest login.
+     * 
+ */ + boolean hasAvatarHash(); + /** + * optional bytes avatarHash = 1; + * + *
+     * Ignored for guest login.
+     * 
+ */ + com.google.protobuf.ByteString getAvatarHash(); + } + /** + * Protobuf type {@code InitMessage} + */ + public static final class InitMessage extends + com.google.protobuf.GeneratedMessageLite + implements InitMessageOrBuilder { + // Use InitMessage.newBuilder() to construct. + private InitMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + super(builder); + + } + private InitMessage(boolean noInit) {} + + private static final InitMessage defaultInstance; + public static InitMessage getDefaultInstance() { + return defaultInstance; + } + + public InitMessage getDefaultInstanceForType() { + return defaultInstance; + } + + private InitMessage( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; + } + break; + } + case 10: { + bitField0_ |= 0x00000001; + avatarHash_ = input.readBytes(); + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); + } + } + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public InitMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InitMessage(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + private int bitField0_; + // optional bytes avatarHash = 1; + public static final int AVATARHASH_FIELD_NUMBER = 1; + private com.google.protobuf.ByteString avatarHash_; + /** + * optional bytes avatarHash = 1; + * + *
+     * Ignored for guest login.
+     * 
+ */ + public boolean hasAvatarHash() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * optional bytes avatarHash = 1; + * + *
+     * Ignored for guest login.
+     * 
+ */ + public com.google.protobuf.ByteString getAvatarHash() { + return avatarHash_; + } + + private void initFields() { + avatarHash_ = com.google.protobuf.ByteString.EMPTY; + } + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized != -1) return isInitialized == 1; + + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); + if (((bitField0_ & 0x00000001) == 0x00000001)) { + output.writeBytes(1, avatarHash_); + } + } + + private int memoizedSerializedSize = -1; + public int getSerializedSize() { + int size = memoizedSerializedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) == 0x00000001)) { + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(1, avatarHash_); + } + memoizedSerializedSize = size; + return size; + } + + private static final long serialVersionUID = 0L; + @java.lang.Override + protected java.lang.Object writeReplace() + throws java.io.ObjectStreamException { + return super.writeReplace(); + } + + public static de.pokerth.protocol.ProtoBuf.InitMessage parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.InitMessage parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.InitMessage parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.InitMessage parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.InitMessage parseFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.InitMessage parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.InitMessage parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.InitMessage parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.InitMessage parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.InitMessage parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + + public static Builder newBuilder() { return Builder.create(); } + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.InitMessage prototype) { + return newBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { return newBuilder(this); } + + /** + * Protobuf type {@code InitMessage} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageLite.Builder< + de.pokerth.protocol.ProtoBuf.InitMessage, Builder> + implements de.pokerth.protocol.ProtoBuf.InitMessageOrBuilder { + // Construct using de.pokerth.protocol.ProtoBuf.InitMessage.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + } + private static Builder create() { + return new Builder(); + } + + public Builder clear() { + super.clear(); + avatarHash_ = com.google.protobuf.ByteString.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + + public Builder clone() { + return create().mergeFrom(buildPartial()); + } + + public de.pokerth.protocol.ProtoBuf.InitMessage getDefaultInstanceForType() { + return de.pokerth.protocol.ProtoBuf.InitMessage.getDefaultInstance(); + } + + public de.pokerth.protocol.ProtoBuf.InitMessage build() { + de.pokerth.protocol.ProtoBuf.InitMessage result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public de.pokerth.protocol.ProtoBuf.InitMessage buildPartial() { + de.pokerth.protocol.ProtoBuf.InitMessage result = new de.pokerth.protocol.ProtoBuf.InitMessage(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + to_bitField0_ |= 0x00000001; + } + result.avatarHash_ = avatarHash_; + result.bitField0_ = to_bitField0_; + return result; + } + + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.InitMessage other) { + if (other == de.pokerth.protocol.ProtoBuf.InitMessage.getDefaultInstance()) return this; + if (other.hasAvatarHash()) { + setAvatarHash(other.getAvatarHash()); + } + return this; + } + + public final boolean isInitialized() { + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + de.pokerth.protocol.ProtoBuf.InitMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.InitMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + // optional bytes avatarHash = 1; + private com.google.protobuf.ByteString avatarHash_ = com.google.protobuf.ByteString.EMPTY; + /** + * optional bytes avatarHash = 1; + * + *
+       * Ignored for guest login.
+       * 
+ */ + public boolean hasAvatarHash() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * optional bytes avatarHash = 1; + * + *
+       * Ignored for guest login.
+       * 
+ */ + public com.google.protobuf.ByteString getAvatarHash() { + return avatarHash_; + } + /** + * optional bytes avatarHash = 1; + * + *
+       * Ignored for guest login.
+       * 
+ */ + public Builder setAvatarHash(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + avatarHash_ = value; + + return this; + } + /** + * optional bytes avatarHash = 1; + * + *
+       * Ignored for guest login.
+       * 
+ */ + public Builder clearAvatarHash() { + bitField0_ = (bitField0_ & ~0x00000001); + avatarHash_ = getDefaultInstance().getAvatarHash(); + + return this; + } + + // @@protoc_insertion_point(builder_scope:InitMessage) + } + + static { + defaultInstance = new InitMessage(true); + defaultInstance.initFields(); + } + + // @@protoc_insertion_point(class_scope:InitMessage) + } + public interface InitAckMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - // required bytes yourSessionId = 1; + // optional bytes yourAvatarHash = 1; /** - * required bytes yourSessionId = 1; - */ - boolean hasYourSessionId(); - /** - * required bytes yourSessionId = 1; - */ - com.google.protobuf.ByteString getYourSessionId(); - - // required uint32 yourPlayerId = 2; - /** - * required uint32 yourPlayerId = 2; - */ - boolean hasYourPlayerId(); - /** - * required uint32 yourPlayerId = 2; - */ - int getYourPlayerId(); - - // optional bytes yourAvatarHash = 3; - /** - * optional bytes yourAvatarHash = 3; + * optional bytes yourAvatarHash = 1; */ boolean hasYourAvatarHash(); /** - * optional bytes yourAvatarHash = 3; + * optional bytes yourAvatarHash = 1; */ com.google.protobuf.ByteString getYourAvatarHash(); - // optional uint32 rejoinGameId = 4; + // optional uint32 rejoinGameId = 2; /** - * optional uint32 rejoinGameId = 4; + * optional uint32 rejoinGameId = 2; */ boolean hasRejoinGameId(); /** - * optional uint32 rejoinGameId = 4; + * optional uint32 rejoinGameId = 2; */ int getRejoinGameId(); } @@ -7120,21 +7549,11 @@ public final class ProtoBuf { } case 10: { bitField0_ |= 0x00000001; - yourSessionId_ = input.readBytes(); + yourAvatarHash_ = input.readBytes(); break; } case 16: { bitField0_ |= 0x00000002; - yourPlayerId_ = input.readUInt32(); - break; - } - case 26: { - bitField0_ |= 0x00000004; - yourAvatarHash_ = input.readBytes(); - break; - } - case 32: { - bitField0_ |= 0x00000008; rejoinGameId_ = input.readUInt32(); break; } @@ -7165,73 +7584,39 @@ 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_; + // optional bytes yourAvatarHash = 1; + public static final int YOURAVATARHASH_FIELD_NUMBER = 1; + private com.google.protobuf.ByteString yourAvatarHash_; /** - * required bytes yourSessionId = 1; + * optional bytes yourAvatarHash = 1; */ - public boolean hasYourSessionId() { + public boolean hasYourAvatarHash() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * required bytes yourSessionId = 1; - */ - public com.google.protobuf.ByteString getYourSessionId() { - return yourSessionId_; - } - - // required uint32 yourPlayerId = 2; - public static final int YOURPLAYERID_FIELD_NUMBER = 2; - private int yourPlayerId_; - /** - * required uint32 yourPlayerId = 2; - */ - public boolean hasYourPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * required uint32 yourPlayerId = 2; - */ - public int getYourPlayerId() { - return yourPlayerId_; - } - - // optional bytes yourAvatarHash = 3; - public static final int YOURAVATARHASH_FIELD_NUMBER = 3; - private com.google.protobuf.ByteString yourAvatarHash_; - /** - * optional bytes yourAvatarHash = 3; - */ - public boolean hasYourAvatarHash() { - return ((bitField0_ & 0x00000004) == 0x00000004); - } - /** - * optional bytes yourAvatarHash = 3; + * optional bytes yourAvatarHash = 1; */ public com.google.protobuf.ByteString getYourAvatarHash() { return yourAvatarHash_; } - // optional uint32 rejoinGameId = 4; - public static final int REJOINGAMEID_FIELD_NUMBER = 4; + // optional uint32 rejoinGameId = 2; + public static final int REJOINGAMEID_FIELD_NUMBER = 2; private int rejoinGameId_; /** - * optional uint32 rejoinGameId = 4; + * optional uint32 rejoinGameId = 2; */ public boolean hasRejoinGameId() { - return ((bitField0_ & 0x00000008) == 0x00000008); + return ((bitField0_ & 0x00000002) == 0x00000002); } /** - * optional uint32 rejoinGameId = 4; + * optional uint32 rejoinGameId = 2; */ public int getRejoinGameId() { return rejoinGameId_; } private void initFields() { - yourSessionId_ = com.google.protobuf.ByteString.EMPTY; - yourPlayerId_ = 0; yourAvatarHash_ = com.google.protobuf.ByteString.EMPTY; rejoinGameId_ = 0; } @@ -7240,14 +7625,6 @@ public final class ProtoBuf { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - if (!hasYourSessionId()) { - memoizedIsInitialized = 0; - return false; - } - if (!hasYourPlayerId()) { - memoizedIsInitialized = 0; - return false; - } memoizedIsInitialized = 1; return true; } @@ -7256,16 +7633,10 @@ public final class ProtoBuf { throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeBytes(1, yourSessionId_); + output.writeBytes(1, yourAvatarHash_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeUInt32(2, yourPlayerId_); - } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeBytes(3, yourAvatarHash_); - } - if (((bitField0_ & 0x00000008) == 0x00000008)) { - output.writeUInt32(4, rejoinGameId_); + output.writeUInt32(2, rejoinGameId_); } } @@ -7277,19 +7648,11 @@ public final class ProtoBuf { size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream - .computeBytesSize(1, yourSessionId_); + .computeBytesSize(1, yourAvatarHash_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(2, yourPlayerId_); - } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(3, yourAvatarHash_); - } - if (((bitField0_ & 0x00000008) == 0x00000008)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(4, rejoinGameId_); + .computeUInt32Size(2, rejoinGameId_); } memoizedSerializedSize = size; return size; @@ -7382,14 +7745,10 @@ public final class ProtoBuf { public Builder clear() { super.clear(); - yourSessionId_ = com.google.protobuf.ByteString.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - yourPlayerId_ = 0; - bitField0_ = (bitField0_ & ~0x00000002); yourAvatarHash_ = com.google.protobuf.ByteString.EMPTY; - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000001); rejoinGameId_ = 0; - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000002); return this; } @@ -7416,18 +7775,10 @@ public final class ProtoBuf { if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } - result.yourSessionId_ = yourSessionId_; + result.yourAvatarHash_ = yourAvatarHash_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } - result.yourPlayerId_ = yourPlayerId_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { - to_bitField0_ |= 0x00000004; - } - result.yourAvatarHash_ = yourAvatarHash_; - if (((from_bitField0_ & 0x00000008) == 0x00000008)) { - to_bitField0_ |= 0x00000008; - } result.rejoinGameId_ = rejoinGameId_; result.bitField0_ = to_bitField0_; return result; @@ -7435,12 +7786,6 @@ public final class ProtoBuf { public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.InitAckMessage other) { if (other == de.pokerth.protocol.ProtoBuf.InitAckMessage.getDefaultInstance()) return this; - if (other.hasYourSessionId()) { - setYourSessionId(other.getYourSessionId()); - } - if (other.hasYourPlayerId()) { - setYourPlayerId(other.getYourPlayerId()); - } if (other.hasYourAvatarHash()) { setYourAvatarHash(other.getYourAvatarHash()); } @@ -7451,14 +7796,6 @@ public final class ProtoBuf { } public final boolean isInitialized() { - if (!hasYourSessionId()) { - - return false; - } - if (!hasYourPlayerId()) { - - return false; - } return true; } @@ -7481,139 +7818,70 @@ public final class ProtoBuf { } private int bitField0_; - // required bytes yourSessionId = 1; - private com.google.protobuf.ByteString yourSessionId_ = com.google.protobuf.ByteString.EMPTY; + // optional bytes yourAvatarHash = 1; + private com.google.protobuf.ByteString yourAvatarHash_ = com.google.protobuf.ByteString.EMPTY; /** - * required bytes yourSessionId = 1; + * optional bytes yourAvatarHash = 1; */ - public boolean hasYourSessionId() { + public boolean hasYourAvatarHash() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * required bytes yourSessionId = 1; - */ - public com.google.protobuf.ByteString getYourSessionId() { - return yourSessionId_; - } - /** - * required bytes yourSessionId = 1; - */ - public Builder setYourSessionId(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - yourSessionId_ = value; - - return this; - } - /** - * required bytes yourSessionId = 1; - */ - public Builder clearYourSessionId() { - bitField0_ = (bitField0_ & ~0x00000001); - yourSessionId_ = getDefaultInstance().getYourSessionId(); - - return this; - } - - // required uint32 yourPlayerId = 2; - private int yourPlayerId_ ; - /** - * required uint32 yourPlayerId = 2; - */ - public boolean hasYourPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * required uint32 yourPlayerId = 2; - */ - public int getYourPlayerId() { - return yourPlayerId_; - } - /** - * required uint32 yourPlayerId = 2; - */ - public Builder setYourPlayerId(int value) { - bitField0_ |= 0x00000002; - yourPlayerId_ = value; - - return this; - } - /** - * required uint32 yourPlayerId = 2; - */ - public Builder clearYourPlayerId() { - bitField0_ = (bitField0_ & ~0x00000002); - yourPlayerId_ = 0; - - return this; - } - - // optional bytes yourAvatarHash = 3; - private com.google.protobuf.ByteString yourAvatarHash_ = com.google.protobuf.ByteString.EMPTY; - /** - * optional bytes yourAvatarHash = 3; - */ - public boolean hasYourAvatarHash() { - return ((bitField0_ & 0x00000004) == 0x00000004); - } - /** - * optional bytes yourAvatarHash = 3; + * optional bytes yourAvatarHash = 1; */ public com.google.protobuf.ByteString getYourAvatarHash() { return yourAvatarHash_; } /** - * optional bytes yourAvatarHash = 3; + * optional bytes yourAvatarHash = 1; */ public Builder setYourAvatarHash(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000001; yourAvatarHash_ = value; return this; } /** - * optional bytes yourAvatarHash = 3; + * optional bytes yourAvatarHash = 1; */ public Builder clearYourAvatarHash() { - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000001); yourAvatarHash_ = getDefaultInstance().getYourAvatarHash(); return this; } - // optional uint32 rejoinGameId = 4; + // optional uint32 rejoinGameId = 2; private int rejoinGameId_ ; /** - * optional uint32 rejoinGameId = 4; + * optional uint32 rejoinGameId = 2; */ public boolean hasRejoinGameId() { - return ((bitField0_ & 0x00000008) == 0x00000008); + return ((bitField0_ & 0x00000002) == 0x00000002); } /** - * optional uint32 rejoinGameId = 4; + * optional uint32 rejoinGameId = 2; */ public int getRejoinGameId() { return rejoinGameId_; } /** - * optional uint32 rejoinGameId = 4; + * optional uint32 rejoinGameId = 2; */ public Builder setRejoinGameId(int value) { - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000002; rejoinGameId_ = value; return this; } /** - * optional uint32 rejoinGameId = 4; + * optional uint32 rejoinGameId = 2; */ public Builder clearRejoinGameId() { - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000002); rejoinGameId_ = 0; return this; @@ -16081,13 +16349,23 @@ public final class ProtoBuf { public interface SubscriptionRequestMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - // required .SubscriptionRequestMessage.SubscriptionAction subscriptionAction = 1; + // required uint32 requestId = 1; /** - * required .SubscriptionRequestMessage.SubscriptionAction subscriptionAction = 1; + * required uint32 requestId = 1; + */ + boolean hasRequestId(); + /** + * required uint32 requestId = 1; + */ + int getRequestId(); + + // required .SubscriptionRequestMessage.SubscriptionAction subscriptionAction = 2; + /** + * required .SubscriptionRequestMessage.SubscriptionAction subscriptionAction = 2; */ boolean hasSubscriptionAction(); /** - * required .SubscriptionRequestMessage.SubscriptionAction subscriptionAction = 1; + * required .SubscriptionRequestMessage.SubscriptionAction subscriptionAction = 2; */ de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.SubscriptionAction getSubscriptionAction(); } @@ -16095,8 +16373,7 @@ public final class ProtoBuf { * Protobuf type {@code SubscriptionRequestMessage} * *
-   * The following request will not be confirmed by the server. It is used,
-   * optionally, to reduce server traffic. The server might ignore it.
+   * The following request is used optionally to reduce server traffic.
    * 
*/ public static final class SubscriptionRequestMessage extends @@ -16140,10 +16417,15 @@ public final class ProtoBuf { break; } case 8: { + bitField0_ |= 0x00000001; + requestId_ = input.readUInt32(); + break; + } + case 16: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.SubscriptionAction value = de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.SubscriptionAction.valueOf(rawValue); if (value != null) { - bitField0_ |= 0x00000001; + bitField0_ |= 0x00000002; subscriptionAction_ = value; } break; @@ -16231,23 +16513,40 @@ 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_; + // required uint32 requestId = 1; + public static final int REQUESTID_FIELD_NUMBER = 1; + private int requestId_; /** - * required .SubscriptionRequestMessage.SubscriptionAction subscriptionAction = 1; + * required uint32 requestId = 1; */ - public boolean hasSubscriptionAction() { + public boolean hasRequestId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * required .SubscriptionRequestMessage.SubscriptionAction subscriptionAction = 1; + * required uint32 requestId = 1; + */ + public int getRequestId() { + return requestId_; + } + + // required .SubscriptionRequestMessage.SubscriptionAction subscriptionAction = 2; + public static final int SUBSCRIPTIONACTION_FIELD_NUMBER = 2; + private de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.SubscriptionAction subscriptionAction_; + /** + * required .SubscriptionRequestMessage.SubscriptionAction subscriptionAction = 2; + */ + public boolean hasSubscriptionAction() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * required .SubscriptionRequestMessage.SubscriptionAction subscriptionAction = 2; */ public de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.SubscriptionAction getSubscriptionAction() { return subscriptionAction_; } private void initFields() { + requestId_ = 0; subscriptionAction_ = de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.SubscriptionAction.unsubscribeGameList; } private byte memoizedIsInitialized = -1; @@ -16255,6 +16554,10 @@ public final class ProtoBuf { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; + if (!hasRequestId()) { + memoizedIsInitialized = 0; + return false; + } if (!hasSubscriptionAction()) { memoizedIsInitialized = 0; return false; @@ -16267,7 +16570,10 @@ public final class ProtoBuf { throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeEnum(1, subscriptionAction_.getNumber()); + output.writeUInt32(1, requestId_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + output.writeEnum(2, subscriptionAction_.getNumber()); } } @@ -16279,7 +16585,11 @@ public final class ProtoBuf { size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, subscriptionAction_.getNumber()); + .computeUInt32Size(1, requestId_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, subscriptionAction_.getNumber()); } memoizedSerializedSize = size; return size; @@ -16356,8 +16666,7 @@ public final class ProtoBuf { * Protobuf type {@code SubscriptionRequestMessage} * *
-     * The following request will not be confirmed by the server. It is used,
-     * optionally, to reduce server traffic. The server might ignore it.
+     * The following request is used optionally to reduce server traffic.
      * 
*/ public static final class Builder extends @@ -16377,8 +16686,10 @@ public final class ProtoBuf { public Builder clear() { super.clear(); - subscriptionAction_ = de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.SubscriptionAction.unsubscribeGameList; + requestId_ = 0; bitField0_ = (bitField0_ & ~0x00000001); + subscriptionAction_ = de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.SubscriptionAction.unsubscribeGameList; + bitField0_ = (bitField0_ & ~0x00000002); return this; } @@ -16405,6 +16716,10 @@ public final class ProtoBuf { if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } + result.requestId_ = requestId_; + if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + to_bitField0_ |= 0x00000002; + } result.subscriptionAction_ = subscriptionAction_; result.bitField0_ = to_bitField0_; return result; @@ -16412,6 +16727,9 @@ public final class ProtoBuf { public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage other) { if (other == de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.getDefaultInstance()) return this; + if (other.hasRequestId()) { + setRequestId(other.getRequestId()); + } if (other.hasSubscriptionAction()) { setSubscriptionAction(other.getSubscriptionAction()); } @@ -16419,6 +16737,10 @@ public final class ProtoBuf { } public final boolean isInitialized() { + if (!hasRequestId()) { + + return false; + } if (!hasSubscriptionAction()) { return false; @@ -16445,37 +16767,70 @@ 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 uint32 requestId = 1; + private int requestId_ ; /** - * required .SubscriptionRequestMessage.SubscriptionAction subscriptionAction = 1; + * required uint32 requestId = 1; */ - public boolean hasSubscriptionAction() { + public boolean hasRequestId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * required .SubscriptionRequestMessage.SubscriptionAction subscriptionAction = 1; + * required uint32 requestId = 1; + */ + public int getRequestId() { + return requestId_; + } + /** + * required uint32 requestId = 1; + */ + public Builder setRequestId(int value) { + bitField0_ |= 0x00000001; + requestId_ = value; + + return this; + } + /** + * required uint32 requestId = 1; + */ + public Builder clearRequestId() { + bitField0_ = (bitField0_ & ~0x00000001); + requestId_ = 0; + + return this; + } + + // required .SubscriptionRequestMessage.SubscriptionAction subscriptionAction = 2; + private de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.SubscriptionAction subscriptionAction_ = de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.SubscriptionAction.unsubscribeGameList; + /** + * required .SubscriptionRequestMessage.SubscriptionAction subscriptionAction = 2; + */ + public boolean hasSubscriptionAction() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * required .SubscriptionRequestMessage.SubscriptionAction subscriptionAction = 2; */ public de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.SubscriptionAction getSubscriptionAction() { return subscriptionAction_; } /** - * required .SubscriptionRequestMessage.SubscriptionAction subscriptionAction = 1; + * required .SubscriptionRequestMessage.SubscriptionAction subscriptionAction = 2; */ public Builder setSubscriptionAction(de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.SubscriptionAction value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00000001; + bitField0_ |= 0x00000002; subscriptionAction_ = value; return this; } /** - * required .SubscriptionRequestMessage.SubscriptionAction subscriptionAction = 1; + * required .SubscriptionRequestMessage.SubscriptionAction subscriptionAction = 2; */ public Builder clearSubscriptionAction() { - bitField0_ = (bitField0_ & ~0x00000001); + bitField0_ = (bitField0_ & ~0x00000002); subscriptionAction_ = de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.SubscriptionAction.unsubscribeGameList; return this; @@ -16492,77 +16847,52 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:SubscriptionRequestMessage) } - public interface JoinExistingGameMessageOrBuilder + public interface SubscriptionReplyMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - // required uint32 gameId = 1; + // required uint32 requestId = 1; /** - * required uint32 gameId = 1; + * required uint32 requestId = 1; */ - boolean hasGameId(); + boolean hasRequestId(); /** - * required uint32 gameId = 1; + * required uint32 requestId = 1; */ - int getGameId(); + int getRequestId(); - // optional string password = 2; + // required bool ack = 2; /** - * optional string password = 2; + * required bool ack = 2; */ - boolean hasPassword(); + boolean hasAck(); /** - * optional string password = 2; + * required bool ack = 2; */ - java.lang.String getPassword(); - /** - * optional string password = 2; - */ - com.google.protobuf.ByteString - getPasswordBytes(); - - // optional bool autoLeave = 3 [default = false]; - /** - * optional bool autoLeave = 3 [default = false]; - */ - boolean hasAutoLeave(); - /** - * optional bool autoLeave = 3 [default = false]; - */ - boolean getAutoLeave(); - - // optional bool spectateOnly = 4 [default = false]; - /** - * optional bool spectateOnly = 4 [default = false]; - */ - boolean hasSpectateOnly(); - /** - * optional bool spectateOnly = 4 [default = false]; - */ - boolean getSpectateOnly(); + boolean getAck(); } /** - * Protobuf type {@code JoinExistingGameMessage} + * Protobuf type {@code SubscriptionReplyMessage} */ - public static final class JoinExistingGameMessage extends + public static final class SubscriptionReplyMessage extends com.google.protobuf.GeneratedMessageLite - implements JoinExistingGameMessageOrBuilder { - // Use JoinExistingGameMessage.newBuilder() to construct. - private JoinExistingGameMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + implements SubscriptionReplyMessageOrBuilder { + // Use SubscriptionReplyMessage.newBuilder() to construct. + private SubscriptionReplyMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); } - private JoinExistingGameMessage(boolean noInit) {} + private SubscriptionReplyMessage(boolean noInit) {} - private static final JoinExistingGameMessage defaultInstance; - public static JoinExistingGameMessage getDefaultInstance() { + private static final SubscriptionReplyMessage defaultInstance; + public static SubscriptionReplyMessage getDefaultInstance() { return defaultInstance; } - public JoinExistingGameMessage getDefaultInstanceForType() { + public SubscriptionReplyMessage getDefaultInstanceForType() { return defaultInstance; } - private JoinExistingGameMessage( + private SubscriptionReplyMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -16585,22 +16915,12 @@ public final class ProtoBuf { } case 8: { bitField0_ |= 0x00000001; - gameId_ = input.readUInt32(); + requestId_ = input.readUInt32(); break; } - case 18: { + case 16: { bitField0_ |= 0x00000002; - password_ = input.readBytes(); - break; - } - case 24: { - bitField0_ |= 0x00000004; - autoLeave_ = input.readBool(); - break; - } - case 32: { - bitField0_ |= 0x00000008; - spectateOnly_ = input.readBool(); + ack_ = input.readBool(); break; } } @@ -16614,49 +16934,538 @@ public final class ProtoBuf { makeExtensionsImmutable(); } } - public static com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - public JoinExistingGameMessage parsePartialFrom( + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public SubscriptionReplyMessage parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new JoinExistingGameMessage(input, extensionRegistry); + return new SubscriptionReplyMessage(input, extensionRegistry); } }; @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; - // required uint32 gameId = 1; - public static final int GAMEID_FIELD_NUMBER = 1; - private int gameId_; + // required uint32 requestId = 1; + public static final int REQUESTID_FIELD_NUMBER = 1; + private int requestId_; /** - * required uint32 gameId = 1; + * required uint32 requestId = 1; */ - public boolean hasGameId() { + public boolean hasRequestId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * required uint32 gameId = 1; + * required uint32 requestId = 1; */ - public int getGameId() { - return gameId_; + public int getRequestId() { + return requestId_; } - // optional string password = 2; - public static final int PASSWORD_FIELD_NUMBER = 2; - private java.lang.Object password_; + // required bool ack = 2; + public static final int ACK_FIELD_NUMBER = 2; + private boolean ack_; /** - * optional string password = 2; + * required bool ack = 2; */ - public boolean hasPassword() { + public boolean hasAck() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** - * optional string password = 2; + * required bool ack = 2; + */ + public boolean getAck() { + return ack_; + } + + private void initFields() { + requestId_ = 0; + ack_ = false; + } + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized != -1) return isInitialized == 1; + + if (!hasRequestId()) { + memoizedIsInitialized = 0; + return false; + } + if (!hasAck()) { + memoizedIsInitialized = 0; + return false; + } + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); + if (((bitField0_ & 0x00000001) == 0x00000001)) { + output.writeUInt32(1, requestId_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + output.writeBool(2, ack_); + } + } + + private int memoizedSerializedSize = -1; + public int getSerializedSize() { + int size = memoizedSerializedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) == 0x00000001)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(1, requestId_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, ack_); + } + memoizedSerializedSize = size; + return size; + } + + private static final long serialVersionUID = 0L; + @java.lang.Override + protected java.lang.Object writeReplace() + throws java.io.ObjectStreamException { + return super.writeReplace(); + } + + public static de.pokerth.protocol.ProtoBuf.SubscriptionReplyMessage parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.SubscriptionReplyMessage parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.SubscriptionReplyMessage parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.SubscriptionReplyMessage parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.SubscriptionReplyMessage parseFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.SubscriptionReplyMessage parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.SubscriptionReplyMessage parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.SubscriptionReplyMessage parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.SubscriptionReplyMessage parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.SubscriptionReplyMessage parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + + public static Builder newBuilder() { return Builder.create(); } + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.SubscriptionReplyMessage prototype) { + return newBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { return newBuilder(this); } + + /** + * Protobuf type {@code SubscriptionReplyMessage} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageLite.Builder< + de.pokerth.protocol.ProtoBuf.SubscriptionReplyMessage, Builder> + implements de.pokerth.protocol.ProtoBuf.SubscriptionReplyMessageOrBuilder { + // Construct using de.pokerth.protocol.ProtoBuf.SubscriptionReplyMessage.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + } + private static Builder create() { + return new Builder(); + } + + public Builder clear() { + super.clear(); + requestId_ = 0; + bitField0_ = (bitField0_ & ~0x00000001); + ack_ = false; + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + + public Builder clone() { + return create().mergeFrom(buildPartial()); + } + + public de.pokerth.protocol.ProtoBuf.SubscriptionReplyMessage getDefaultInstanceForType() { + return de.pokerth.protocol.ProtoBuf.SubscriptionReplyMessage.getDefaultInstance(); + } + + public de.pokerth.protocol.ProtoBuf.SubscriptionReplyMessage build() { + de.pokerth.protocol.ProtoBuf.SubscriptionReplyMessage result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public de.pokerth.protocol.ProtoBuf.SubscriptionReplyMessage buildPartial() { + de.pokerth.protocol.ProtoBuf.SubscriptionReplyMessage result = new de.pokerth.protocol.ProtoBuf.SubscriptionReplyMessage(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + to_bitField0_ |= 0x00000001; + } + result.requestId_ = requestId_; + if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + to_bitField0_ |= 0x00000002; + } + result.ack_ = ack_; + result.bitField0_ = to_bitField0_; + return result; + } + + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.SubscriptionReplyMessage other) { + if (other == de.pokerth.protocol.ProtoBuf.SubscriptionReplyMessage.getDefaultInstance()) return this; + if (other.hasRequestId()) { + setRequestId(other.getRequestId()); + } + if (other.hasAck()) { + setAck(other.getAck()); + } + return this; + } + + public final boolean isInitialized() { + if (!hasRequestId()) { + + return false; + } + if (!hasAck()) { + + return false; + } + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + de.pokerth.protocol.ProtoBuf.SubscriptionReplyMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.SubscriptionReplyMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + // required uint32 requestId = 1; + private int requestId_ ; + /** + * required uint32 requestId = 1; + */ + public boolean hasRequestId() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * required uint32 requestId = 1; + */ + public int getRequestId() { + return requestId_; + } + /** + * required uint32 requestId = 1; + */ + public Builder setRequestId(int value) { + bitField0_ |= 0x00000001; + requestId_ = value; + + return this; + } + /** + * required uint32 requestId = 1; + */ + public Builder clearRequestId() { + bitField0_ = (bitField0_ & ~0x00000001); + requestId_ = 0; + + return this; + } + + // required bool ack = 2; + private boolean ack_ ; + /** + * required bool ack = 2; + */ + public boolean hasAck() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * required bool ack = 2; + */ + public boolean getAck() { + return ack_; + } + /** + * required bool ack = 2; + */ + public Builder setAck(boolean value) { + bitField0_ |= 0x00000002; + ack_ = value; + + return this; + } + /** + * required bool ack = 2; + */ + public Builder clearAck() { + bitField0_ = (bitField0_ & ~0x00000002); + ack_ = false; + + return this; + } + + // @@protoc_insertion_point(builder_scope:SubscriptionReplyMessage) + } + + static { + defaultInstance = new SubscriptionReplyMessage(true); + defaultInstance.initFields(); + } + + // @@protoc_insertion_point(class_scope:SubscriptionReplyMessage) + } + + public interface CreateGameMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + + // required uint32 requestId = 1; + /** + * required uint32 requestId = 1; + */ + boolean hasRequestId(); + /** + * required uint32 requestId = 1; + */ + int getRequestId(); + + // required .NetGameInfo gameInfo = 2; + /** + * required .NetGameInfo gameInfo = 2; + */ + boolean hasGameInfo(); + /** + * required .NetGameInfo gameInfo = 2; + */ + de.pokerth.protocol.ProtoBuf.NetGameInfo getGameInfo(); + + // optional string password = 3; + /** + * optional string password = 3; + */ + boolean hasPassword(); + /** + * optional string password = 3; + */ + java.lang.String getPassword(); + /** + * optional string password = 3; + */ + com.google.protobuf.ByteString + getPasswordBytes(); + + // optional bool autoLeave = 4; + /** + * optional bool autoLeave = 4; + */ + boolean hasAutoLeave(); + /** + * optional bool autoLeave = 4; + */ + boolean getAutoLeave(); + } + /** + * Protobuf type {@code CreateGameMessage} + */ + public static final class CreateGameMessage extends + com.google.protobuf.GeneratedMessageLite + implements CreateGameMessageOrBuilder { + // Use CreateGameMessage.newBuilder() to construct. + private CreateGameMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + super(builder); + + } + private CreateGameMessage(boolean noInit) {} + + private static final CreateGameMessage defaultInstance; + public static CreateGameMessage getDefaultInstance() { + return defaultInstance; + } + + public CreateGameMessage getDefaultInstanceForType() { + return defaultInstance; + } + + private CreateGameMessage( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; + } + break; + } + case 8: { + bitField0_ |= 0x00000001; + requestId_ = input.readUInt32(); + break; + } + case 18: { + de.pokerth.protocol.ProtoBuf.NetGameInfo.Builder subBuilder = null; + if (((bitField0_ & 0x00000002) == 0x00000002)) { + subBuilder = gameInfo_.toBuilder(); + } + gameInfo_ = input.readMessage(de.pokerth.protocol.ProtoBuf.NetGameInfo.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(gameInfo_); + gameInfo_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000002; + break; + } + case 26: { + bitField0_ |= 0x00000004; + password_ = input.readBytes(); + break; + } + case 32: { + bitField0_ |= 0x00000008; + autoLeave_ = input.readBool(); + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); + } + } + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public CreateGameMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateGameMessage(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + private int bitField0_; + // required uint32 requestId = 1; + public static final int REQUESTID_FIELD_NUMBER = 1; + private int requestId_; + /** + * required uint32 requestId = 1; + */ + public boolean hasRequestId() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * required uint32 requestId = 1; + */ + public int getRequestId() { + return requestId_; + } + + // required .NetGameInfo gameInfo = 2; + public static final int GAMEINFO_FIELD_NUMBER = 2; + private de.pokerth.protocol.ProtoBuf.NetGameInfo gameInfo_; + /** + * required .NetGameInfo gameInfo = 2; + */ + public boolean hasGameInfo() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * required .NetGameInfo gameInfo = 2; + */ + public de.pokerth.protocol.ProtoBuf.NetGameInfo getGameInfo() { + return gameInfo_; + } + + // optional string password = 3; + public static final int PASSWORD_FIELD_NUMBER = 3; + private java.lang.Object password_; + /** + * optional string password = 3; + */ + public boolean hasPassword() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + /** + * optional string password = 3; */ public java.lang.String getPassword() { java.lang.Object ref = password_; @@ -16673,7 +17482,7 @@ public final class ProtoBuf { } } /** - * optional string password = 2; + * optional string password = 3; */ public com.google.protobuf.ByteString getPasswordBytes() { @@ -16689,50 +17498,42 @@ public final class ProtoBuf { } } - // optional bool autoLeave = 3 [default = false]; - public static final int AUTOLEAVE_FIELD_NUMBER = 3; + // optional bool autoLeave = 4; + public static final int AUTOLEAVE_FIELD_NUMBER = 4; private boolean autoLeave_; /** - * optional bool autoLeave = 3 [default = false]; + * optional bool autoLeave = 4; */ public boolean hasAutoLeave() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000008) == 0x00000008); } /** - * optional bool autoLeave = 3 [default = false]; + * optional bool autoLeave = 4; */ public boolean getAutoLeave() { return autoLeave_; } - // optional bool spectateOnly = 4 [default = false]; - public static final int SPECTATEONLY_FIELD_NUMBER = 4; - private boolean spectateOnly_; - /** - * optional bool spectateOnly = 4 [default = false]; - */ - public boolean hasSpectateOnly() { - return ((bitField0_ & 0x00000008) == 0x00000008); - } - /** - * optional bool spectateOnly = 4 [default = false]; - */ - public boolean getSpectateOnly() { - return spectateOnly_; - } - private void initFields() { - gameId_ = 0; + requestId_ = 0; + gameInfo_ = de.pokerth.protocol.ProtoBuf.NetGameInfo.getDefaultInstance(); password_ = ""; autoLeave_ = false; - spectateOnly_ = false; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - if (!hasGameId()) { + if (!hasRequestId()) { + memoizedIsInitialized = 0; + return false; + } + if (!hasGameInfo()) { + memoizedIsInitialized = 0; + return false; + } + if (!getGameInfo().isInitialized()) { memoizedIsInitialized = 0; return false; } @@ -16744,16 +17545,16 @@ public final class ProtoBuf { throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeUInt32(1, gameId_); + output.writeUInt32(1, requestId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeBytes(2, getPasswordBytes()); + output.writeMessage(2, gameInfo_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeBool(3, autoLeave_); + output.writeBytes(3, getPasswordBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { - output.writeBool(4, spectateOnly_); + output.writeBool(4, autoLeave_); } } @@ -16765,19 +17566,19 @@ public final class ProtoBuf { size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(1, gameId_); + .computeUInt32Size(1, requestId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream - .computeBytesSize(2, getPasswordBytes()); + .computeMessageSize(2, gameInfo_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, autoLeave_); + .computeBytesSize(3, getPasswordBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, spectateOnly_); + .computeBoolSize(4, autoLeave_); } memoizedSerializedSize = size; return size; @@ -16790,53 +17591,53 @@ public final class ProtoBuf { return super.writeReplace(); } - public static de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.CreateGameMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.CreateGameMessage parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage parseFrom(byte[] data) + public static de.pokerth.protocol.ProtoBuf.CreateGameMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.CreateGameMessage parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage parseFrom(java.io.InputStream input) + public static de.pokerth.protocol.ProtoBuf.CreateGameMessage parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } - public static de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.CreateGameMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage parseDelimitedFrom(java.io.InputStream input) + public static de.pokerth.protocol.ProtoBuf.CreateGameMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } - public static de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage parseDelimitedFrom( + public static de.pokerth.protocol.ProtoBuf.CreateGameMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.CreateGameMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } - public static de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.CreateGameMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -16845,19 +17646,19 @@ public final class ProtoBuf { public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage prototype) { + public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.CreateGameMessage prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } /** - * Protobuf type {@code JoinExistingGameMessage} + * Protobuf type {@code CreateGameMessage} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.JoinExistingGameMessageOrBuilder { - // Construct using de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage.newBuilder() + de.pokerth.protocol.ProtoBuf.CreateGameMessage, Builder> + implements de.pokerth.protocol.ProtoBuf.CreateGameMessageOrBuilder { + // Construct using de.pokerth.protocol.ProtoBuf.CreateGameMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -16870,13 +17671,13 @@ public final class ProtoBuf { public Builder clear() { super.clear(); - gameId_ = 0; + requestId_ = 0; bitField0_ = (bitField0_ & ~0x00000001); - password_ = ""; + gameInfo_ = de.pokerth.protocol.ProtoBuf.NetGameInfo.getDefaultInstance(); bitField0_ = (bitField0_ & ~0x00000002); - autoLeave_ = false; + password_ = ""; bitField0_ = (bitField0_ & ~0x00000004); - spectateOnly_ = false; + autoLeave_ = false; bitField0_ = (bitField0_ & ~0x00000008); return this; } @@ -16885,63 +17686,71 @@ public final class ProtoBuf { return create().mergeFrom(buildPartial()); } - public de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage getDefaultInstanceForType() { - return de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage.getDefaultInstance(); + public de.pokerth.protocol.ProtoBuf.CreateGameMessage getDefaultInstanceForType() { + return de.pokerth.protocol.ProtoBuf.CreateGameMessage.getDefaultInstance(); } - public de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage build() { - de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage result = buildPartial(); + public de.pokerth.protocol.ProtoBuf.CreateGameMessage build() { + de.pokerth.protocol.ProtoBuf.CreateGameMessage result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } - public de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage buildPartial() { - de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage result = new de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage(this); + public de.pokerth.protocol.ProtoBuf.CreateGameMessage buildPartial() { + de.pokerth.protocol.ProtoBuf.CreateGameMessage result = new de.pokerth.protocol.ProtoBuf.CreateGameMessage(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } - result.gameId_ = gameId_; + result.requestId_ = requestId_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } - result.password_ = password_; + result.gameInfo_ = gameInfo_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } - result.autoLeave_ = autoLeave_; + result.password_ = password_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } - result.spectateOnly_ = spectateOnly_; + result.autoLeave_ = autoLeave_; result.bitField0_ = to_bitField0_; return result; } - public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage other) { - if (other == de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage.getDefaultInstance()) return this; - if (other.hasGameId()) { - setGameId(other.getGameId()); + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.CreateGameMessage other) { + if (other == de.pokerth.protocol.ProtoBuf.CreateGameMessage.getDefaultInstance()) return this; + if (other.hasRequestId()) { + setRequestId(other.getRequestId()); + } + if (other.hasGameInfo()) { + mergeGameInfo(other.getGameInfo()); } if (other.hasPassword()) { - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000004; password_ = other.password_; } if (other.hasAutoLeave()) { setAutoLeave(other.getAutoLeave()); } - if (other.hasSpectateOnly()) { - setSpectateOnly(other.getSpectateOnly()); - } return this; } public final boolean isInitialized() { - if (!hasGameId()) { + if (!hasRequestId()) { + + return false; + } + if (!hasGameInfo()) { + + return false; + } + if (!getGameInfo().isInitialized()) { return false; } @@ -16952,11 +17761,11 @@ public final class ProtoBuf { com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage parsedMessage = null; + de.pokerth.protocol.ProtoBuf.CreateGameMessage parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage) e.getUnfinishedMessage(); + parsedMessage = (de.pokerth.protocol.ProtoBuf.CreateGameMessage) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { @@ -16967,49 +17776,110 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; - private int gameId_ ; + // required uint32 requestId = 1; + private int requestId_ ; /** - * required uint32 gameId = 1; + * required uint32 requestId = 1; */ - public boolean hasGameId() { + public boolean hasRequestId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * required uint32 gameId = 1; + * required uint32 requestId = 1; */ - public int getGameId() { - return gameId_; + public int getRequestId() { + return requestId_; } /** - * required uint32 gameId = 1; + * required uint32 requestId = 1; */ - public Builder setGameId(int value) { + public Builder setRequestId(int value) { bitField0_ |= 0x00000001; - gameId_ = value; + requestId_ = value; return this; } /** - * required uint32 gameId = 1; + * required uint32 requestId = 1; */ - public Builder clearGameId() { + public Builder clearRequestId() { bitField0_ = (bitField0_ & ~0x00000001); - gameId_ = 0; + requestId_ = 0; return this; } - // optional string password = 2; - private java.lang.Object password_ = ""; + // required .NetGameInfo gameInfo = 2; + private de.pokerth.protocol.ProtoBuf.NetGameInfo gameInfo_ = de.pokerth.protocol.ProtoBuf.NetGameInfo.getDefaultInstance(); /** - * optional string password = 2; + * required .NetGameInfo gameInfo = 2; */ - public boolean hasPassword() { + public boolean hasGameInfo() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** - * optional string password = 2; + * required .NetGameInfo gameInfo = 2; + */ + public de.pokerth.protocol.ProtoBuf.NetGameInfo getGameInfo() { + return gameInfo_; + } + /** + * required .NetGameInfo gameInfo = 2; + */ + public Builder setGameInfo(de.pokerth.protocol.ProtoBuf.NetGameInfo value) { + if (value == null) { + throw new NullPointerException(); + } + gameInfo_ = value; + + bitField0_ |= 0x00000002; + return this; + } + /** + * required .NetGameInfo gameInfo = 2; + */ + public Builder setGameInfo( + de.pokerth.protocol.ProtoBuf.NetGameInfo.Builder builderForValue) { + gameInfo_ = builderForValue.build(); + + bitField0_ |= 0x00000002; + return this; + } + /** + * required .NetGameInfo gameInfo = 2; + */ + public Builder mergeGameInfo(de.pokerth.protocol.ProtoBuf.NetGameInfo value) { + if (((bitField0_ & 0x00000002) == 0x00000002) && + gameInfo_ != de.pokerth.protocol.ProtoBuf.NetGameInfo.getDefaultInstance()) { + gameInfo_ = + de.pokerth.protocol.ProtoBuf.NetGameInfo.newBuilder(gameInfo_).mergeFrom(value).buildPartial(); + } else { + gameInfo_ = value; + } + + bitField0_ |= 0x00000002; + return this; + } + /** + * required .NetGameInfo gameInfo = 2; + */ + public Builder clearGameInfo() { + gameInfo_ = de.pokerth.protocol.ProtoBuf.NetGameInfo.getDefaultInstance(); + + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + + // optional string password = 3; + private java.lang.Object password_ = ""; + /** + * optional string password = 3; + */ + public boolean hasPassword() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + /** + * optional string password = 3; */ public java.lang.String getPassword() { java.lang.Object ref = password_; @@ -17023,7 +17893,7 @@ public final class ProtoBuf { } } /** - * optional string password = 2; + * optional string password = 3; */ public com.google.protobuf.ByteString getPasswordBytes() { @@ -17039,179 +17909,657 @@ public final class ProtoBuf { } } /** - * optional string password = 2; + * optional string password = 3; */ public Builder setPassword( java.lang.String value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000004; password_ = value; return this; } /** - * optional string password = 2; + * optional string password = 3; */ public Builder clearPassword() { - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000004); password_ = getDefaultInstance().getPassword(); return this; } /** - * optional string password = 2; + * optional string password = 3; */ public Builder setPasswordBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000004; password_ = value; return this; } - // optional bool autoLeave = 3 [default = false]; + // optional bool autoLeave = 4; private boolean autoLeave_ ; /** - * optional bool autoLeave = 3 [default = false]; + * optional bool autoLeave = 4; */ public boolean hasAutoLeave() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000008) == 0x00000008); } /** - * optional bool autoLeave = 3 [default = false]; + * optional bool autoLeave = 4; */ public boolean getAutoLeave() { return autoLeave_; } /** - * optional bool autoLeave = 3 [default = false]; + * optional bool autoLeave = 4; */ public Builder setAutoLeave(boolean value) { - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000008; autoLeave_ = value; return this; } /** - * optional bool autoLeave = 3 [default = false]; + * optional bool autoLeave = 4; */ public Builder clearAutoLeave() { - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000008); autoLeave_ = false; return this; } - // optional bool spectateOnly = 4 [default = false]; - private boolean spectateOnly_ ; - /** - * optional bool spectateOnly = 4 [default = false]; - */ - public boolean hasSpectateOnly() { - return ((bitField0_ & 0x00000008) == 0x00000008); - } - /** - * optional bool spectateOnly = 4 [default = false]; - */ - public boolean getSpectateOnly() { - return spectateOnly_; - } - /** - * optional bool spectateOnly = 4 [default = false]; - */ - public Builder setSpectateOnly(boolean value) { - bitField0_ |= 0x00000008; - spectateOnly_ = value; - - return this; - } - /** - * optional bool spectateOnly = 4 [default = false]; - */ - public Builder clearSpectateOnly() { - bitField0_ = (bitField0_ & ~0x00000008); - spectateOnly_ = false; - - return this; - } - - // @@protoc_insertion_point(builder_scope:JoinExistingGameMessage) + // @@protoc_insertion_point(builder_scope:CreateGameMessage) } static { - defaultInstance = new JoinExistingGameMessage(true); + defaultInstance = new CreateGameMessage(true); defaultInstance.initFields(); } - // @@protoc_insertion_point(class_scope:JoinExistingGameMessage) + // @@protoc_insertion_point(class_scope:CreateGameMessage) } - public interface JoinNewGameMessageOrBuilder + public interface CreateGameFailedMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - // required .NetGameInfo gameInfo = 1; + // required uint32 requestId = 1; /** - * required .NetGameInfo gameInfo = 1; + * required uint32 requestId = 1; */ - boolean hasGameInfo(); + boolean hasRequestId(); /** - * required .NetGameInfo gameInfo = 1; + * required uint32 requestId = 1; */ - de.pokerth.protocol.ProtoBuf.NetGameInfo getGameInfo(); + int getRequestId(); - // optional string password = 2; + // required .CreateGameFailedMessage.CreateGameFailureReason createGameFailureReason = 2; /** - * optional string password = 2; + * required .CreateGameFailedMessage.CreateGameFailureReason createGameFailureReason = 2; + */ + boolean hasCreateGameFailureReason(); + /** + * required .CreateGameFailedMessage.CreateGameFailureReason createGameFailureReason = 2; + */ + de.pokerth.protocol.ProtoBuf.CreateGameFailedMessage.CreateGameFailureReason getCreateGameFailureReason(); + } + /** + * Protobuf type {@code CreateGameFailedMessage} + */ + public static final class CreateGameFailedMessage extends + com.google.protobuf.GeneratedMessageLite + implements CreateGameFailedMessageOrBuilder { + // Use CreateGameFailedMessage.newBuilder() to construct. + private CreateGameFailedMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + super(builder); + + } + private CreateGameFailedMessage(boolean noInit) {} + + private static final CreateGameFailedMessage defaultInstance; + public static CreateGameFailedMessage getDefaultInstance() { + return defaultInstance; + } + + public CreateGameFailedMessage getDefaultInstanceForType() { + return defaultInstance; + } + + private CreateGameFailedMessage( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; + } + break; + } + case 8: { + bitField0_ |= 0x00000001; + requestId_ = input.readUInt32(); + break; + } + case 16: { + int rawValue = input.readEnum(); + de.pokerth.protocol.ProtoBuf.CreateGameFailedMessage.CreateGameFailureReason value = de.pokerth.protocol.ProtoBuf.CreateGameFailedMessage.CreateGameFailureReason.valueOf(rawValue); + if (value != null) { + bitField0_ |= 0x00000002; + createGameFailureReason_ = value; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); + } + } + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public CreateGameFailedMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateGameFailedMessage(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + /** + * Protobuf enum {@code CreateGameFailedMessage.CreateGameFailureReason} + */ + public enum CreateGameFailureReason + implements com.google.protobuf.Internal.EnumLite { + /** + * notAllowedAsGuest = 1; + */ + notAllowedAsGuest(0, 1), + /** + * gameNameInUse = 2; + */ + gameNameInUse(1, 2), + /** + * badGameName = 3; + */ + badGameName(2, 3), + /** + * invalidSettings = 4; + */ + invalidSettings(3, 4), + ; + + /** + * notAllowedAsGuest = 1; + */ + public static final int notAllowedAsGuest_VALUE = 1; + /** + * gameNameInUse = 2; + */ + public static final int gameNameInUse_VALUE = 2; + /** + * badGameName = 3; + */ + public static final int badGameName_VALUE = 3; + /** + * invalidSettings = 4; + */ + public static final int invalidSettings_VALUE = 4; + + + public final int getNumber() { return value; } + + public static CreateGameFailureReason valueOf(int value) { + switch (value) { + case 1: return notAllowedAsGuest; + case 2: return gameNameInUse; + case 3: return badGameName; + case 4: return invalidSettings; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public CreateGameFailureReason findValueByNumber(int number) { + return CreateGameFailureReason.valueOf(number); + } + }; + + private final int value; + + private CreateGameFailureReason(int index, int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:CreateGameFailedMessage.CreateGameFailureReason) + } + + private int bitField0_; + // required uint32 requestId = 1; + public static final int REQUESTID_FIELD_NUMBER = 1; + private int requestId_; + /** + * required uint32 requestId = 1; + */ + public boolean hasRequestId() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * required uint32 requestId = 1; + */ + public int getRequestId() { + return requestId_; + } + + // required .CreateGameFailedMessage.CreateGameFailureReason createGameFailureReason = 2; + public static final int CREATEGAMEFAILUREREASON_FIELD_NUMBER = 2; + private de.pokerth.protocol.ProtoBuf.CreateGameFailedMessage.CreateGameFailureReason createGameFailureReason_; + /** + * required .CreateGameFailedMessage.CreateGameFailureReason createGameFailureReason = 2; + */ + public boolean hasCreateGameFailureReason() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * required .CreateGameFailedMessage.CreateGameFailureReason createGameFailureReason = 2; + */ + public de.pokerth.protocol.ProtoBuf.CreateGameFailedMessage.CreateGameFailureReason getCreateGameFailureReason() { + return createGameFailureReason_; + } + + private void initFields() { + requestId_ = 0; + createGameFailureReason_ = de.pokerth.protocol.ProtoBuf.CreateGameFailedMessage.CreateGameFailureReason.notAllowedAsGuest; + } + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized != -1) return isInitialized == 1; + + if (!hasRequestId()) { + memoizedIsInitialized = 0; + return false; + } + if (!hasCreateGameFailureReason()) { + memoizedIsInitialized = 0; + return false; + } + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); + if (((bitField0_ & 0x00000001) == 0x00000001)) { + output.writeUInt32(1, requestId_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + output.writeEnum(2, createGameFailureReason_.getNumber()); + } + } + + private int memoizedSerializedSize = -1; + public int getSerializedSize() { + int size = memoizedSerializedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) == 0x00000001)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(1, requestId_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, createGameFailureReason_.getNumber()); + } + memoizedSerializedSize = size; + return size; + } + + private static final long serialVersionUID = 0L; + @java.lang.Override + protected java.lang.Object writeReplace() + throws java.io.ObjectStreamException { + return super.writeReplace(); + } + + public static de.pokerth.protocol.ProtoBuf.CreateGameFailedMessage parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.CreateGameFailedMessage parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.CreateGameFailedMessage parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.CreateGameFailedMessage parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.CreateGameFailedMessage parseFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.CreateGameFailedMessage parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.CreateGameFailedMessage parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.CreateGameFailedMessage parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.CreateGameFailedMessage parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.CreateGameFailedMessage parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + + public static Builder newBuilder() { return Builder.create(); } + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.CreateGameFailedMessage prototype) { + return newBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { return newBuilder(this); } + + /** + * Protobuf type {@code CreateGameFailedMessage} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageLite.Builder< + de.pokerth.protocol.ProtoBuf.CreateGameFailedMessage, Builder> + implements de.pokerth.protocol.ProtoBuf.CreateGameFailedMessageOrBuilder { + // Construct using de.pokerth.protocol.ProtoBuf.CreateGameFailedMessage.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + } + private static Builder create() { + return new Builder(); + } + + public Builder clear() { + super.clear(); + requestId_ = 0; + bitField0_ = (bitField0_ & ~0x00000001); + createGameFailureReason_ = de.pokerth.protocol.ProtoBuf.CreateGameFailedMessage.CreateGameFailureReason.notAllowedAsGuest; + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + + public Builder clone() { + return create().mergeFrom(buildPartial()); + } + + public de.pokerth.protocol.ProtoBuf.CreateGameFailedMessage getDefaultInstanceForType() { + return de.pokerth.protocol.ProtoBuf.CreateGameFailedMessage.getDefaultInstance(); + } + + public de.pokerth.protocol.ProtoBuf.CreateGameFailedMessage build() { + de.pokerth.protocol.ProtoBuf.CreateGameFailedMessage result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public de.pokerth.protocol.ProtoBuf.CreateGameFailedMessage buildPartial() { + de.pokerth.protocol.ProtoBuf.CreateGameFailedMessage result = new de.pokerth.protocol.ProtoBuf.CreateGameFailedMessage(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + to_bitField0_ |= 0x00000001; + } + result.requestId_ = requestId_; + if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + to_bitField0_ |= 0x00000002; + } + result.createGameFailureReason_ = createGameFailureReason_; + result.bitField0_ = to_bitField0_; + return result; + } + + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.CreateGameFailedMessage other) { + if (other == de.pokerth.protocol.ProtoBuf.CreateGameFailedMessage.getDefaultInstance()) return this; + if (other.hasRequestId()) { + setRequestId(other.getRequestId()); + } + if (other.hasCreateGameFailureReason()) { + setCreateGameFailureReason(other.getCreateGameFailureReason()); + } + return this; + } + + public final boolean isInitialized() { + if (!hasRequestId()) { + + return false; + } + if (!hasCreateGameFailureReason()) { + + return false; + } + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + de.pokerth.protocol.ProtoBuf.CreateGameFailedMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.CreateGameFailedMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + // required uint32 requestId = 1; + private int requestId_ ; + /** + * required uint32 requestId = 1; + */ + public boolean hasRequestId() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * required uint32 requestId = 1; + */ + public int getRequestId() { + return requestId_; + } + /** + * required uint32 requestId = 1; + */ + public Builder setRequestId(int value) { + bitField0_ |= 0x00000001; + requestId_ = value; + + return this; + } + /** + * required uint32 requestId = 1; + */ + public Builder clearRequestId() { + bitField0_ = (bitField0_ & ~0x00000001); + requestId_ = 0; + + return this; + } + + // required .CreateGameFailedMessage.CreateGameFailureReason createGameFailureReason = 2; + private de.pokerth.protocol.ProtoBuf.CreateGameFailedMessage.CreateGameFailureReason createGameFailureReason_ = de.pokerth.protocol.ProtoBuf.CreateGameFailedMessage.CreateGameFailureReason.notAllowedAsGuest; + /** + * required .CreateGameFailedMessage.CreateGameFailureReason createGameFailureReason = 2; + */ + public boolean hasCreateGameFailureReason() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * required .CreateGameFailedMessage.CreateGameFailureReason createGameFailureReason = 2; + */ + public de.pokerth.protocol.ProtoBuf.CreateGameFailedMessage.CreateGameFailureReason getCreateGameFailureReason() { + return createGameFailureReason_; + } + /** + * required .CreateGameFailedMessage.CreateGameFailureReason createGameFailureReason = 2; + */ + public Builder setCreateGameFailureReason(de.pokerth.protocol.ProtoBuf.CreateGameFailedMessage.CreateGameFailureReason value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + createGameFailureReason_ = value; + + return this; + } + /** + * required .CreateGameFailedMessage.CreateGameFailureReason createGameFailureReason = 2; + */ + public Builder clearCreateGameFailureReason() { + bitField0_ = (bitField0_ & ~0x00000002); + createGameFailureReason_ = de.pokerth.protocol.ProtoBuf.CreateGameFailedMessage.CreateGameFailureReason.notAllowedAsGuest; + + return this; + } + + // @@protoc_insertion_point(builder_scope:CreateGameFailedMessage) + } + + static { + defaultInstance = new CreateGameFailedMessage(true); + defaultInstance.initFields(); + } + + // @@protoc_insertion_point(class_scope:CreateGameFailedMessage) + } + + public interface JoinGameMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + + // optional string password = 1; + /** + * optional string password = 1; */ boolean hasPassword(); /** - * optional string password = 2; + * optional string password = 1; */ java.lang.String getPassword(); /** - * optional string password = 2; + * optional string password = 1; */ com.google.protobuf.ByteString getPasswordBytes(); - // optional bool autoLeave = 3; + // optional bool autoLeave = 2 [default = false]; /** - * optional bool autoLeave = 3; + * optional bool autoLeave = 2 [default = false]; */ boolean hasAutoLeave(); /** - * optional bool autoLeave = 3; + * optional bool autoLeave = 2 [default = false]; */ boolean getAutoLeave(); + + // optional bool spectateOnly = 3 [default = false]; + /** + * optional bool spectateOnly = 3 [default = false]; + */ + boolean hasSpectateOnly(); + /** + * optional bool spectateOnly = 3 [default = false]; + */ + boolean getSpectateOnly(); } /** - * Protobuf type {@code JoinNewGameMessage} + * Protobuf type {@code JoinGameMessage} */ - public static final class JoinNewGameMessage extends + public static final class JoinGameMessage extends com.google.protobuf.GeneratedMessageLite - implements JoinNewGameMessageOrBuilder { - // Use JoinNewGameMessage.newBuilder() to construct. - private JoinNewGameMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + implements JoinGameMessageOrBuilder { + // Use JoinGameMessage.newBuilder() to construct. + private JoinGameMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); } - private JoinNewGameMessage(boolean noInit) {} + private JoinGameMessage(boolean noInit) {} - private static final JoinNewGameMessage defaultInstance; - public static JoinNewGameMessage getDefaultInstance() { + private static final JoinGameMessage defaultInstance; + public static JoinGameMessage getDefaultInstance() { return defaultInstance; } - public JoinNewGameMessage getDefaultInstanceForType() { + public JoinGameMessage getDefaultInstanceForType() { return defaultInstance; } - private JoinNewGameMessage( + private JoinGameMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -17233,26 +18581,18 @@ public final class ProtoBuf { break; } case 10: { - de.pokerth.protocol.ProtoBuf.NetGameInfo.Builder subBuilder = null; - if (((bitField0_ & 0x00000001) == 0x00000001)) { - subBuilder = gameInfo_.toBuilder(); - } - gameInfo_ = input.readMessage(de.pokerth.protocol.ProtoBuf.NetGameInfo.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(gameInfo_); - gameInfo_ = subBuilder.buildPartial(); - } bitField0_ |= 0x00000001; + password_ = input.readBytes(); break; } - case 18: { + case 16: { bitField0_ |= 0x00000002; - password_ = input.readBytes(); + autoLeave_ = input.readBool(); break; } case 24: { bitField0_ |= 0x00000004; - autoLeave_ = input.readBool(); + spectateOnly_ = input.readBool(); break; } } @@ -17266,49 +18606,33 @@ public final class ProtoBuf { makeExtensionsImmutable(); } } - public static com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - public JoinNewGameMessage parsePartialFrom( + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public JoinGameMessage parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new JoinNewGameMessage(input, extensionRegistry); + return new JoinGameMessage(input, extensionRegistry); } }; @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; - // required .NetGameInfo gameInfo = 1; - public static final int GAMEINFO_FIELD_NUMBER = 1; - private de.pokerth.protocol.ProtoBuf.NetGameInfo gameInfo_; + // optional string password = 1; + public static final int PASSWORD_FIELD_NUMBER = 1; + private java.lang.Object password_; /** - * required .NetGameInfo gameInfo = 1; + * optional string password = 1; */ - public boolean hasGameInfo() { + public boolean hasPassword() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * required .NetGameInfo gameInfo = 1; - */ - public de.pokerth.protocol.ProtoBuf.NetGameInfo getGameInfo() { - return gameInfo_; - } - - // optional string password = 2; - public static final int PASSWORD_FIELD_NUMBER = 2; - private java.lang.Object password_; - /** - * optional string password = 2; - */ - public boolean hasPassword() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * optional string password = 2; + * optional string password = 1; */ public java.lang.String getPassword() { java.lang.Object ref = password_; @@ -17325,7 +18649,7 @@ public final class ProtoBuf { } } /** - * optional string password = 2; + * optional string password = 1; */ public com.google.protobuf.ByteString getPasswordBytes() { @@ -17341,40 +18665,48 @@ public final class ProtoBuf { } } - // optional bool autoLeave = 3; - public static final int AUTOLEAVE_FIELD_NUMBER = 3; + // optional bool autoLeave = 2 [default = false]; + public static final int AUTOLEAVE_FIELD_NUMBER = 2; private boolean autoLeave_; /** - * optional bool autoLeave = 3; + * optional bool autoLeave = 2 [default = false]; */ public boolean hasAutoLeave() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000002) == 0x00000002); } /** - * optional bool autoLeave = 3; + * optional bool autoLeave = 2 [default = false]; */ public boolean getAutoLeave() { return autoLeave_; } + // optional bool spectateOnly = 3 [default = false]; + public static final int SPECTATEONLY_FIELD_NUMBER = 3; + private boolean spectateOnly_; + /** + * optional bool spectateOnly = 3 [default = false]; + */ + public boolean hasSpectateOnly() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + /** + * optional bool spectateOnly = 3 [default = false]; + */ + public boolean getSpectateOnly() { + return spectateOnly_; + } + private void initFields() { - gameInfo_ = de.pokerth.protocol.ProtoBuf.NetGameInfo.getDefaultInstance(); password_ = ""; autoLeave_ = false; + spectateOnly_ = false; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - if (!hasGameInfo()) { - memoizedIsInitialized = 0; - return false; - } - if (!getGameInfo().isInitialized()) { - memoizedIsInitialized = 0; - return false; - } memoizedIsInitialized = 1; return true; } @@ -17383,13 +18715,13 @@ public final class ProtoBuf { throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeMessage(1, gameInfo_); + output.writeBytes(1, getPasswordBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeBytes(2, getPasswordBytes()); + output.writeBool(2, autoLeave_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeBool(3, autoLeave_); + output.writeBool(3, spectateOnly_); } } @@ -17401,15 +18733,15 @@ public final class ProtoBuf { size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, gameInfo_); + .computeBytesSize(1, getPasswordBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream - .computeBytesSize(2, getPasswordBytes()); + .computeBoolSize(2, autoLeave_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, autoLeave_); + .computeBoolSize(3, spectateOnly_); } memoizedSerializedSize = size; return size; @@ -17422,53 +18754,53 @@ public final class ProtoBuf { return super.writeReplace(); } - public static de.pokerth.protocol.ProtoBuf.JoinNewGameMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.JoinGameMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static de.pokerth.protocol.ProtoBuf.JoinNewGameMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.JoinGameMessage parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.JoinNewGameMessage parseFrom(byte[] data) + public static de.pokerth.protocol.ProtoBuf.JoinGameMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static de.pokerth.protocol.ProtoBuf.JoinNewGameMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.JoinGameMessage parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.JoinNewGameMessage parseFrom(java.io.InputStream input) + public static de.pokerth.protocol.ProtoBuf.JoinGameMessage parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } - public static de.pokerth.protocol.ProtoBuf.JoinNewGameMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.JoinGameMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.JoinNewGameMessage parseDelimitedFrom(java.io.InputStream input) + public static de.pokerth.protocol.ProtoBuf.JoinGameMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } - public static de.pokerth.protocol.ProtoBuf.JoinNewGameMessage parseDelimitedFrom( + public static de.pokerth.protocol.ProtoBuf.JoinGameMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.JoinNewGameMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.JoinGameMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } - public static de.pokerth.protocol.ProtoBuf.JoinNewGameMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.JoinGameMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -17477,19 +18809,19 @@ public final class ProtoBuf { public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.JoinNewGameMessage prototype) { + public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.JoinGameMessage prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } /** - * Protobuf type {@code JoinNewGameMessage} + * Protobuf type {@code JoinGameMessage} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.JoinNewGameMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.JoinNewGameMessageOrBuilder { - // Construct using de.pokerth.protocol.ProtoBuf.JoinNewGameMessage.newBuilder() + de.pokerth.protocol.ProtoBuf.JoinGameMessage, Builder> + implements de.pokerth.protocol.ProtoBuf.JoinGameMessageOrBuilder { + // Construct using de.pokerth.protocol.ProtoBuf.JoinGameMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -17502,11 +18834,11 @@ public final class ProtoBuf { public Builder clear() { super.clear(); - gameInfo_ = de.pokerth.protocol.ProtoBuf.NetGameInfo.getDefaultInstance(); - bitField0_ = (bitField0_ & ~0x00000001); password_ = ""; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); autoLeave_ = false; + bitField0_ = (bitField0_ & ~0x00000002); + spectateOnly_ = false; bitField0_ = (bitField0_ & ~0x00000004); return this; } @@ -17515,63 +18847,55 @@ public final class ProtoBuf { return create().mergeFrom(buildPartial()); } - public de.pokerth.protocol.ProtoBuf.JoinNewGameMessage getDefaultInstanceForType() { - return de.pokerth.protocol.ProtoBuf.JoinNewGameMessage.getDefaultInstance(); + public de.pokerth.protocol.ProtoBuf.JoinGameMessage getDefaultInstanceForType() { + return de.pokerth.protocol.ProtoBuf.JoinGameMessage.getDefaultInstance(); } - public de.pokerth.protocol.ProtoBuf.JoinNewGameMessage build() { - de.pokerth.protocol.ProtoBuf.JoinNewGameMessage result = buildPartial(); + public de.pokerth.protocol.ProtoBuf.JoinGameMessage build() { + de.pokerth.protocol.ProtoBuf.JoinGameMessage result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } - public de.pokerth.protocol.ProtoBuf.JoinNewGameMessage buildPartial() { - de.pokerth.protocol.ProtoBuf.JoinNewGameMessage result = new de.pokerth.protocol.ProtoBuf.JoinNewGameMessage(this); + public de.pokerth.protocol.ProtoBuf.JoinGameMessage buildPartial() { + de.pokerth.protocol.ProtoBuf.JoinGameMessage result = new de.pokerth.protocol.ProtoBuf.JoinGameMessage(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } - result.gameInfo_ = gameInfo_; + result.password_ = password_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } - result.password_ = password_; + result.autoLeave_ = autoLeave_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } - result.autoLeave_ = autoLeave_; + result.spectateOnly_ = spectateOnly_; result.bitField0_ = to_bitField0_; return result; } - public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.JoinNewGameMessage other) { - if (other == de.pokerth.protocol.ProtoBuf.JoinNewGameMessage.getDefaultInstance()) return this; - if (other.hasGameInfo()) { - mergeGameInfo(other.getGameInfo()); - } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.JoinGameMessage other) { + if (other == de.pokerth.protocol.ProtoBuf.JoinGameMessage.getDefaultInstance()) return this; if (other.hasPassword()) { - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000001; password_ = other.password_; } if (other.hasAutoLeave()) { setAutoLeave(other.getAutoLeave()); } + if (other.hasSpectateOnly()) { + setSpectateOnly(other.getSpectateOnly()); + } return this; } public final boolean isInitialized() { - if (!hasGameInfo()) { - - return false; - } - if (!getGameInfo().isInitialized()) { - - return false; - } return true; } @@ -17579,11 +18903,11 @@ public final class ProtoBuf { com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - de.pokerth.protocol.ProtoBuf.JoinNewGameMessage parsedMessage = null; + de.pokerth.protocol.ProtoBuf.JoinGameMessage parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (de.pokerth.protocol.ProtoBuf.JoinNewGameMessage) e.getUnfinishedMessage(); + parsedMessage = (de.pokerth.protocol.ProtoBuf.JoinGameMessage) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { @@ -17594,77 +18918,16 @@ public final class ProtoBuf { } private int bitField0_; - // required .NetGameInfo gameInfo = 1; - private de.pokerth.protocol.ProtoBuf.NetGameInfo gameInfo_ = de.pokerth.protocol.ProtoBuf.NetGameInfo.getDefaultInstance(); + // optional string password = 1; + private java.lang.Object password_ = ""; /** - * required .NetGameInfo gameInfo = 1; + * optional string password = 1; */ - public boolean hasGameInfo() { + public boolean hasPassword() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * required .NetGameInfo gameInfo = 1; - */ - public de.pokerth.protocol.ProtoBuf.NetGameInfo getGameInfo() { - return gameInfo_; - } - /** - * required .NetGameInfo gameInfo = 1; - */ - public Builder setGameInfo(de.pokerth.protocol.ProtoBuf.NetGameInfo value) { - if (value == null) { - throw new NullPointerException(); - } - gameInfo_ = value; - - bitField0_ |= 0x00000001; - return this; - } - /** - * required .NetGameInfo gameInfo = 1; - */ - public Builder setGameInfo( - de.pokerth.protocol.ProtoBuf.NetGameInfo.Builder builderForValue) { - gameInfo_ = builderForValue.build(); - - bitField0_ |= 0x00000001; - return this; - } - /** - * required .NetGameInfo gameInfo = 1; - */ - public Builder mergeGameInfo(de.pokerth.protocol.ProtoBuf.NetGameInfo value) { - if (((bitField0_ & 0x00000001) == 0x00000001) && - gameInfo_ != de.pokerth.protocol.ProtoBuf.NetGameInfo.getDefaultInstance()) { - gameInfo_ = - de.pokerth.protocol.ProtoBuf.NetGameInfo.newBuilder(gameInfo_).mergeFrom(value).buildPartial(); - } else { - gameInfo_ = value; - } - - bitField0_ |= 0x00000001; - return this; - } - /** - * required .NetGameInfo gameInfo = 1; - */ - public Builder clearGameInfo() { - gameInfo_ = de.pokerth.protocol.ProtoBuf.NetGameInfo.getDefaultInstance(); - - bitField0_ = (bitField0_ & ~0x00000001); - return this; - } - - // optional string password = 2; - private java.lang.Object password_ = ""; - /** - * optional string password = 2; - */ - public boolean hasPassword() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * optional string password = 2; + * optional string password = 1; */ public java.lang.String getPassword() { java.lang.Object ref = password_; @@ -17678,7 +18941,7 @@ public final class ProtoBuf { } } /** - * optional string password = 2; + * optional string password = 1; */ public com.google.protobuf.ByteString getPasswordBytes() { @@ -17694,131 +18957,154 @@ public final class ProtoBuf { } } /** - * optional string password = 2; + * optional string password = 1; */ public Builder setPassword( java.lang.String value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000001; password_ = value; return this; } /** - * optional string password = 2; + * optional string password = 1; */ public Builder clearPassword() { - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); password_ = getDefaultInstance().getPassword(); return this; } /** - * optional string password = 2; + * optional string password = 1; */ public Builder setPasswordBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000001; password_ = value; return this; } - // optional bool autoLeave = 3; + // optional bool autoLeave = 2 [default = false]; private boolean autoLeave_ ; /** - * optional bool autoLeave = 3; + * optional bool autoLeave = 2 [default = false]; */ public boolean hasAutoLeave() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000002) == 0x00000002); } /** - * optional bool autoLeave = 3; + * optional bool autoLeave = 2 [default = false]; */ public boolean getAutoLeave() { return autoLeave_; } /** - * optional bool autoLeave = 3; + * optional bool autoLeave = 2 [default = false]; */ public Builder setAutoLeave(boolean value) { - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000002; autoLeave_ = value; return this; } /** - * optional bool autoLeave = 3; + * optional bool autoLeave = 2 [default = false]; */ public Builder clearAutoLeave() { - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000002); autoLeave_ = false; return this; } - // @@protoc_insertion_point(builder_scope:JoinNewGameMessage) + // optional bool spectateOnly = 3 [default = false]; + private boolean spectateOnly_ ; + /** + * optional bool spectateOnly = 3 [default = false]; + */ + public boolean hasSpectateOnly() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + /** + * optional bool spectateOnly = 3 [default = false]; + */ + public boolean getSpectateOnly() { + return spectateOnly_; + } + /** + * optional bool spectateOnly = 3 [default = false]; + */ + public Builder setSpectateOnly(boolean value) { + bitField0_ |= 0x00000004; + spectateOnly_ = value; + + return this; + } + /** + * optional bool spectateOnly = 3 [default = false]; + */ + public Builder clearSpectateOnly() { + bitField0_ = (bitField0_ & ~0x00000004); + spectateOnly_ = false; + + return this; + } + + // @@protoc_insertion_point(builder_scope:JoinGameMessage) } static { - defaultInstance = new JoinNewGameMessage(true); + defaultInstance = new JoinGameMessage(true); defaultInstance.initFields(); } - // @@protoc_insertion_point(class_scope:JoinNewGameMessage) + // @@protoc_insertion_point(class_scope:JoinGameMessage) } - public interface RejoinExistingGameMessageOrBuilder + public interface RejoinGameMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - // required uint32 gameId = 1; + // optional bool autoLeave = 1 [default = false]; /** - * required uint32 gameId = 1; - */ - boolean hasGameId(); - /** - * required uint32 gameId = 1; - */ - int getGameId(); - - // optional bool autoLeave = 2; - /** - * optional bool autoLeave = 2; + * optional bool autoLeave = 1 [default = false]; */ boolean hasAutoLeave(); /** - * optional bool autoLeave = 2; + * optional bool autoLeave = 1 [default = false]; */ boolean getAutoLeave(); } /** - * Protobuf type {@code RejoinExistingGameMessage} + * Protobuf type {@code RejoinGameMessage} */ - public static final class RejoinExistingGameMessage extends + public static final class RejoinGameMessage extends com.google.protobuf.GeneratedMessageLite - implements RejoinExistingGameMessageOrBuilder { - // Use RejoinExistingGameMessage.newBuilder() to construct. - private RejoinExistingGameMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + implements RejoinGameMessageOrBuilder { + // Use RejoinGameMessage.newBuilder() to construct. + private RejoinGameMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); } - private RejoinExistingGameMessage(boolean noInit) {} + private RejoinGameMessage(boolean noInit) {} - private static final RejoinExistingGameMessage defaultInstance; - public static RejoinExistingGameMessage getDefaultInstance() { + private static final RejoinGameMessage defaultInstance; + public static RejoinGameMessage getDefaultInstance() { return defaultInstance; } - public RejoinExistingGameMessage getDefaultInstanceForType() { + public RejoinGameMessage getDefaultInstanceForType() { return defaultInstance; } - private RejoinExistingGameMessage( + private RejoinGameMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -17841,11 +19127,6 @@ public final class ProtoBuf { } case 8: { bitField0_ |= 0x00000001; - gameId_ = input.readUInt32(); - break; - } - case 16: { - bitField0_ |= 0x00000002; autoLeave_ = input.readBool(); break; } @@ -17860,56 +19141,39 @@ public final class ProtoBuf { makeExtensionsImmutable(); } } - public static com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - public RejoinExistingGameMessage parsePartialFrom( + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public RejoinGameMessage parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new RejoinExistingGameMessage(input, extensionRegistry); + return new RejoinGameMessage(input, extensionRegistry); } }; @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; - // required uint32 gameId = 1; - public static final int GAMEID_FIELD_NUMBER = 1; - private int gameId_; + // optional bool autoLeave = 1 [default = false]; + public static final int AUTOLEAVE_FIELD_NUMBER = 1; + private boolean autoLeave_; /** - * required uint32 gameId = 1; + * optional bool autoLeave = 1 [default = false]; */ - public boolean hasGameId() { + public boolean hasAutoLeave() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * required uint32 gameId = 1; - */ - public int getGameId() { - return gameId_; - } - - // optional bool autoLeave = 2; - public static final int AUTOLEAVE_FIELD_NUMBER = 2; - private boolean autoLeave_; - /** - * optional bool autoLeave = 2; - */ - public boolean hasAutoLeave() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * optional bool autoLeave = 2; + * optional bool autoLeave = 1 [default = false]; */ public boolean getAutoLeave() { return autoLeave_; } private void initFields() { - gameId_ = 0; autoLeave_ = false; } private byte memoizedIsInitialized = -1; @@ -17917,10 +19181,6 @@ public final class ProtoBuf { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - if (!hasGameId()) { - memoizedIsInitialized = 0; - return false; - } memoizedIsInitialized = 1; return true; } @@ -17929,10 +19189,7 @@ public final class ProtoBuf { throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeUInt32(1, gameId_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeBool(2, autoLeave_); + output.writeBool(1, autoLeave_); } } @@ -17944,11 +19201,7 @@ public final class ProtoBuf { size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(1, gameId_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, autoLeave_); + .computeBoolSize(1, autoLeave_); } memoizedSerializedSize = size; return size; @@ -17961,53 +19214,53 @@ public final class ProtoBuf { return super.writeReplace(); } - public static de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.RejoinGameMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.RejoinGameMessage parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage parseFrom(byte[] data) + public static de.pokerth.protocol.ProtoBuf.RejoinGameMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.RejoinGameMessage parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage parseFrom(java.io.InputStream input) + public static de.pokerth.protocol.ProtoBuf.RejoinGameMessage parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } - public static de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.RejoinGameMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage parseDelimitedFrom(java.io.InputStream input) + public static de.pokerth.protocol.ProtoBuf.RejoinGameMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } - public static de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage parseDelimitedFrom( + public static de.pokerth.protocol.ProtoBuf.RejoinGameMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.RejoinGameMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } - public static de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.RejoinGameMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -18016,19 +19269,19 @@ public final class ProtoBuf { public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage prototype) { + public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.RejoinGameMessage prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } /** - * Protobuf type {@code RejoinExistingGameMessage} + * Protobuf type {@code RejoinGameMessage} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessageOrBuilder { - // Construct using de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage.newBuilder() + de.pokerth.protocol.ProtoBuf.RejoinGameMessage, Builder> + implements de.pokerth.protocol.ProtoBuf.RejoinGameMessageOrBuilder { + // Construct using de.pokerth.protocol.ProtoBuf.RejoinGameMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -18041,10 +19294,8 @@ public final class ProtoBuf { public Builder clear() { super.clear(); - gameId_ = 0; - bitField0_ = (bitField0_ & ~0x00000001); autoLeave_ = false; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); return this; } @@ -18052,39 +19303,32 @@ public final class ProtoBuf { return create().mergeFrom(buildPartial()); } - public de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage getDefaultInstanceForType() { - return de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage.getDefaultInstance(); + public de.pokerth.protocol.ProtoBuf.RejoinGameMessage getDefaultInstanceForType() { + return de.pokerth.protocol.ProtoBuf.RejoinGameMessage.getDefaultInstance(); } - public de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage build() { - de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage result = buildPartial(); + public de.pokerth.protocol.ProtoBuf.RejoinGameMessage build() { + de.pokerth.protocol.ProtoBuf.RejoinGameMessage result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } - public de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage buildPartial() { - de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage result = new de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage(this); + public de.pokerth.protocol.ProtoBuf.RejoinGameMessage buildPartial() { + de.pokerth.protocol.ProtoBuf.RejoinGameMessage result = new de.pokerth.protocol.ProtoBuf.RejoinGameMessage(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } - result.gameId_ = gameId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { - to_bitField0_ |= 0x00000002; - } result.autoLeave_ = autoLeave_; result.bitField0_ = to_bitField0_; return result; } - public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage other) { - if (other == de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage.getDefaultInstance()) return this; - if (other.hasGameId()) { - setGameId(other.getGameId()); - } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.RejoinGameMessage other) { + if (other == de.pokerth.protocol.ProtoBuf.RejoinGameMessage.getDefaultInstance()) return this; if (other.hasAutoLeave()) { setAutoLeave(other.getAutoLeave()); } @@ -18092,10 +19336,6 @@ public final class ProtoBuf { } public final boolean isInitialized() { - if (!hasGameId()) { - - return false; - } return true; } @@ -18103,11 +19343,11 @@ public final class ProtoBuf { com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage parsedMessage = null; + de.pokerth.protocol.ProtoBuf.RejoinGameMessage parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage) e.getUnfinishedMessage(); + parsedMessage = (de.pokerth.protocol.ProtoBuf.RejoinGameMessage) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { @@ -18118,123 +19358,80 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; - private int gameId_ ; + // optional bool autoLeave = 1 [default = false]; + private boolean autoLeave_ ; /** - * required uint32 gameId = 1; + * optional bool autoLeave = 1 [default = false]; */ - public boolean hasGameId() { + public boolean hasAutoLeave() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * required uint32 gameId = 1; - */ - public int getGameId() { - return gameId_; - } - /** - * required uint32 gameId = 1; - */ - public Builder setGameId(int value) { - bitField0_ |= 0x00000001; - gameId_ = value; - - return this; - } - /** - * required uint32 gameId = 1; - */ - public Builder clearGameId() { - bitField0_ = (bitField0_ & ~0x00000001); - gameId_ = 0; - - return this; - } - - // optional bool autoLeave = 2; - private boolean autoLeave_ ; - /** - * optional bool autoLeave = 2; - */ - public boolean hasAutoLeave() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * optional bool autoLeave = 2; + * optional bool autoLeave = 1 [default = false]; */ public boolean getAutoLeave() { return autoLeave_; } /** - * optional bool autoLeave = 2; + * optional bool autoLeave = 1 [default = false]; */ public Builder setAutoLeave(boolean value) { - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000001; autoLeave_ = value; return this; } /** - * optional bool autoLeave = 2; + * optional bool autoLeave = 1 [default = false]; */ public Builder clearAutoLeave() { - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); autoLeave_ = false; return this; } - // @@protoc_insertion_point(builder_scope:RejoinExistingGameMessage) + // @@protoc_insertion_point(builder_scope:RejoinGameMessage) } static { - defaultInstance = new RejoinExistingGameMessage(true); + defaultInstance = new RejoinGameMessage(true); defaultInstance.initFields(); } - // @@protoc_insertion_point(class_scope:RejoinExistingGameMessage) + // @@protoc_insertion_point(class_scope:RejoinGameMessage) } public interface JoinGameAckMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - // required uint32 gameId = 1; + // required bool areYouGameAdmin = 1; /** - * required uint32 gameId = 1; - */ - boolean hasGameId(); - /** - * required uint32 gameId = 1; - */ - int getGameId(); - - // required bool areYouGameAdmin = 2; - /** - * required bool areYouGameAdmin = 2; + * required bool areYouGameAdmin = 1; */ boolean hasAreYouGameAdmin(); /** - * required bool areYouGameAdmin = 2; + * required bool areYouGameAdmin = 1; */ boolean getAreYouGameAdmin(); - // required .NetGameInfo gameInfo = 3; + // required .NetGameInfo gameInfo = 2; /** - * required .NetGameInfo gameInfo = 3; + * required .NetGameInfo gameInfo = 2; */ boolean hasGameInfo(); /** - * required .NetGameInfo gameInfo = 3; + * required .NetGameInfo gameInfo = 2; */ de.pokerth.protocol.ProtoBuf.NetGameInfo getGameInfo(); - // optional bool spectateOnly = 4; + // optional bool spectateOnly = 3; /** - * optional bool spectateOnly = 4; + * optional bool spectateOnly = 3; */ boolean hasSpectateOnly(); /** - * optional bool spectateOnly = 4; + * optional bool spectateOnly = 3; */ boolean getSpectateOnly(); } @@ -18283,17 +19480,12 @@ public final class ProtoBuf { } case 8: { bitField0_ |= 0x00000001; - gameId_ = input.readUInt32(); - break; - } - case 16: { - bitField0_ |= 0x00000002; areYouGameAdmin_ = input.readBool(); break; } - case 26: { + case 18: { de.pokerth.protocol.ProtoBuf.NetGameInfo.Builder subBuilder = null; - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000002) == 0x00000002)) { subBuilder = gameInfo_.toBuilder(); } gameInfo_ = input.readMessage(de.pokerth.protocol.ProtoBuf.NetGameInfo.PARSER, extensionRegistry); @@ -18301,11 +19493,11 @@ public final class ProtoBuf { subBuilder.mergeFrom(gameInfo_); gameInfo_ = subBuilder.buildPartial(); } - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000002; break; } - case 32: { - bitField0_ |= 0x00000008; + case 24: { + bitField0_ |= 0x00000004; spectateOnly_ = input.readBool(); break; } @@ -18336,72 +19528,55 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; - public static final int GAMEID_FIELD_NUMBER = 1; - private int gameId_; + // required bool areYouGameAdmin = 1; + public static final int AREYOUGAMEADMIN_FIELD_NUMBER = 1; + private boolean areYouGameAdmin_; /** - * required uint32 gameId = 1; + * required bool areYouGameAdmin = 1; */ - public boolean hasGameId() { + public boolean hasAreYouGameAdmin() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * required uint32 gameId = 1; - */ - public int getGameId() { - return gameId_; - } - - // required bool areYouGameAdmin = 2; - public static final int AREYOUGAMEADMIN_FIELD_NUMBER = 2; - private boolean areYouGameAdmin_; - /** - * required bool areYouGameAdmin = 2; - */ - public boolean hasAreYouGameAdmin() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * required bool areYouGameAdmin = 2; + * required bool areYouGameAdmin = 1; */ public boolean getAreYouGameAdmin() { return areYouGameAdmin_; } - // required .NetGameInfo gameInfo = 3; - public static final int GAMEINFO_FIELD_NUMBER = 3; + // required .NetGameInfo gameInfo = 2; + public static final int GAMEINFO_FIELD_NUMBER = 2; private de.pokerth.protocol.ProtoBuf.NetGameInfo gameInfo_; /** - * required .NetGameInfo gameInfo = 3; + * required .NetGameInfo gameInfo = 2; */ public boolean hasGameInfo() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000002) == 0x00000002); } /** - * required .NetGameInfo gameInfo = 3; + * required .NetGameInfo gameInfo = 2; */ public de.pokerth.protocol.ProtoBuf.NetGameInfo getGameInfo() { return gameInfo_; } - // optional bool spectateOnly = 4; - public static final int SPECTATEONLY_FIELD_NUMBER = 4; + // optional bool spectateOnly = 3; + public static final int SPECTATEONLY_FIELD_NUMBER = 3; private boolean spectateOnly_; /** - * optional bool spectateOnly = 4; + * optional bool spectateOnly = 3; */ public boolean hasSpectateOnly() { - return ((bitField0_ & 0x00000008) == 0x00000008); + return ((bitField0_ & 0x00000004) == 0x00000004); } /** - * optional bool spectateOnly = 4; + * optional bool spectateOnly = 3; */ public boolean getSpectateOnly() { return spectateOnly_; } private void initFields() { - gameId_ = 0; areYouGameAdmin_ = false; gameInfo_ = de.pokerth.protocol.ProtoBuf.NetGameInfo.getDefaultInstance(); spectateOnly_ = false; @@ -18411,10 +19586,6 @@ public final class ProtoBuf { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - if (!hasGameId()) { - memoizedIsInitialized = 0; - return false; - } if (!hasAreYouGameAdmin()) { memoizedIsInitialized = 0; return false; @@ -18435,16 +19606,13 @@ public final class ProtoBuf { throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeUInt32(1, gameId_); + output.writeBool(1, areYouGameAdmin_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeBool(2, areYouGameAdmin_); + output.writeMessage(2, gameInfo_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeMessage(3, gameInfo_); - } - if (((bitField0_ & 0x00000008) == 0x00000008)) { - output.writeBool(4, spectateOnly_); + output.writeBool(3, spectateOnly_); } } @@ -18456,19 +19624,15 @@ public final class ProtoBuf { size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(1, gameId_); + .computeBoolSize(1, areYouGameAdmin_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, areYouGameAdmin_); + .computeMessageSize(2, gameInfo_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, gameInfo_); - } - if (((bitField0_ & 0x00000008) == 0x00000008)) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, spectateOnly_); + .computeBoolSize(3, spectateOnly_); } memoizedSerializedSize = size; return size; @@ -18561,14 +19725,12 @@ public final class ProtoBuf { public Builder clear() { super.clear(); - gameId_ = 0; - bitField0_ = (bitField0_ & ~0x00000001); areYouGameAdmin_ = false; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); gameInfo_ = de.pokerth.protocol.ProtoBuf.NetGameInfo.getDefaultInstance(); - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000002); spectateOnly_ = false; - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000004); return this; } @@ -18595,18 +19757,14 @@ public final class ProtoBuf { if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } - result.gameId_ = gameId_; + result.areYouGameAdmin_ = areYouGameAdmin_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } - result.areYouGameAdmin_ = areYouGameAdmin_; + result.gameInfo_ = gameInfo_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } - result.gameInfo_ = gameInfo_; - if (((from_bitField0_ & 0x00000008) == 0x00000008)) { - to_bitField0_ |= 0x00000008; - } result.spectateOnly_ = spectateOnly_; result.bitField0_ = to_bitField0_; return result; @@ -18614,9 +19772,6 @@ public final class ProtoBuf { public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.JoinGameAckMessage other) { if (other == de.pokerth.protocol.ProtoBuf.JoinGameAckMessage.getDefaultInstance()) return this; - if (other.hasGameId()) { - setGameId(other.getGameId()); - } if (other.hasAreYouGameAdmin()) { setAreYouGameAdmin(other.getAreYouGameAdmin()); } @@ -18630,10 +19785,6 @@ public final class ProtoBuf { } public final boolean isInitialized() { - if (!hasGameId()) { - - return false; - } if (!hasAreYouGameAdmin()) { return false; @@ -18668,88 +19819,55 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; - private int gameId_ ; + // required bool areYouGameAdmin = 1; + private boolean areYouGameAdmin_ ; /** - * required uint32 gameId = 1; + * required bool areYouGameAdmin = 1; */ - public boolean hasGameId() { + public boolean hasAreYouGameAdmin() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * required uint32 gameId = 1; - */ - public int getGameId() { - return gameId_; - } - /** - * required uint32 gameId = 1; - */ - public Builder setGameId(int value) { - bitField0_ |= 0x00000001; - gameId_ = value; - - return this; - } - /** - * required uint32 gameId = 1; - */ - public Builder clearGameId() { - bitField0_ = (bitField0_ & ~0x00000001); - gameId_ = 0; - - return this; - } - - // required bool areYouGameAdmin = 2; - private boolean areYouGameAdmin_ ; - /** - * required bool areYouGameAdmin = 2; - */ - public boolean hasAreYouGameAdmin() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * required bool areYouGameAdmin = 2; + * required bool areYouGameAdmin = 1; */ public boolean getAreYouGameAdmin() { return areYouGameAdmin_; } /** - * required bool areYouGameAdmin = 2; + * required bool areYouGameAdmin = 1; */ public Builder setAreYouGameAdmin(boolean value) { - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000001; areYouGameAdmin_ = value; return this; } /** - * required bool areYouGameAdmin = 2; + * required bool areYouGameAdmin = 1; */ public Builder clearAreYouGameAdmin() { - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); areYouGameAdmin_ = false; return this; } - // required .NetGameInfo gameInfo = 3; + // required .NetGameInfo gameInfo = 2; private de.pokerth.protocol.ProtoBuf.NetGameInfo gameInfo_ = de.pokerth.protocol.ProtoBuf.NetGameInfo.getDefaultInstance(); /** - * required .NetGameInfo gameInfo = 3; + * required .NetGameInfo gameInfo = 2; */ public boolean hasGameInfo() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000002) == 0x00000002); } /** - * required .NetGameInfo gameInfo = 3; + * required .NetGameInfo gameInfo = 2; */ public de.pokerth.protocol.ProtoBuf.NetGameInfo getGameInfo() { return gameInfo_; } /** - * required .NetGameInfo gameInfo = 3; + * required .NetGameInfo gameInfo = 2; */ public Builder setGameInfo(de.pokerth.protocol.ProtoBuf.NetGameInfo value) { if (value == null) { @@ -18757,24 +19875,24 @@ public final class ProtoBuf { } gameInfo_ = value; - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000002; return this; } /** - * required .NetGameInfo gameInfo = 3; + * required .NetGameInfo gameInfo = 2; */ public Builder setGameInfo( de.pokerth.protocol.ProtoBuf.NetGameInfo.Builder builderForValue) { gameInfo_ = builderForValue.build(); - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000002; return this; } /** - * required .NetGameInfo gameInfo = 3; + * required .NetGameInfo gameInfo = 2; */ public Builder mergeGameInfo(de.pokerth.protocol.ProtoBuf.NetGameInfo value) { - if (((bitField0_ & 0x00000004) == 0x00000004) && + if (((bitField0_ & 0x00000002) == 0x00000002) && gameInfo_ != de.pokerth.protocol.ProtoBuf.NetGameInfo.getDefaultInstance()) { gameInfo_ = de.pokerth.protocol.ProtoBuf.NetGameInfo.newBuilder(gameInfo_).mergeFrom(value).buildPartial(); @@ -18782,47 +19900,47 @@ public final class ProtoBuf { gameInfo_ = value; } - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000002; return this; } /** - * required .NetGameInfo gameInfo = 3; + * required .NetGameInfo gameInfo = 2; */ public Builder clearGameInfo() { gameInfo_ = de.pokerth.protocol.ProtoBuf.NetGameInfo.getDefaultInstance(); - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000002); return this; } - // optional bool spectateOnly = 4; + // optional bool spectateOnly = 3; private boolean spectateOnly_ ; /** - * optional bool spectateOnly = 4; + * optional bool spectateOnly = 3; */ public boolean hasSpectateOnly() { - return ((bitField0_ & 0x00000008) == 0x00000008); + return ((bitField0_ & 0x00000004) == 0x00000004); } /** - * optional bool spectateOnly = 4; + * optional bool spectateOnly = 3; */ public boolean getSpectateOnly() { return spectateOnly_; } /** - * optional bool spectateOnly = 4; + * optional bool spectateOnly = 3; */ public Builder setSpectateOnly(boolean value) { - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000004; spectateOnly_ = value; return this; } /** - * optional bool spectateOnly = 4; + * optional bool spectateOnly = 3; */ public Builder clearSpectateOnly() { - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000004); spectateOnly_ = false; return this; @@ -18842,23 +19960,13 @@ public final class ProtoBuf { public interface JoinGameFailedMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - // required uint32 gameId = 1; + // required .JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason = 1; /** - * required uint32 gameId = 1; - */ - boolean hasGameId(); - /** - * required uint32 gameId = 1; - */ - int getGameId(); - - // required .JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason = 2; - /** - * required .JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason = 2; + * required .JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason = 1; */ boolean hasJoinGameFailureReason(); /** - * required .JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason = 2; + * required .JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason = 1; */ de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.JoinGameFailureReason getJoinGameFailureReason(); } @@ -18906,15 +20014,10 @@ public final class ProtoBuf { break; } case 8: { - bitField0_ |= 0x00000001; - gameId_ = input.readUInt32(); - break; - } - case 16: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.JoinGameFailureReason value = de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.JoinGameFailureReason.valueOf(rawValue); if (value != null) { - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000001; joinGameFailureReason_ = value; } break; @@ -18967,37 +20070,21 @@ public final class ProtoBuf { */ invalidPassword(3, 4), /** - * notAllowedAsGuest = 5; + * notInvited = 5; */ - notAllowedAsGuest(4, 5), + notInvited(4, 5), /** - * notInvited = 6; + * ipAddressBlocked = 6; */ - notInvited(5, 6), + ipAddressBlocked(5, 6), /** - * gameNameInUse = 7; + * rejoinFailed = 7; */ - gameNameInUse(6, 7), + rejoinFailed(6, 7), /** - * badGameName = 8; + * noSpectatorsAllowed = 8; */ - badGameName(7, 8), - /** - * invalidSettings = 9; - */ - invalidSettings(8, 9), - /** - * ipAddressBlocked = 10; - */ - ipAddressBlocked(9, 10), - /** - * rejoinFailed = 11; - */ - rejoinFailed(10, 11), - /** - * noSpectatorsAllowed = 12; - */ - noSpectatorsAllowed(11, 12), + noSpectatorsAllowed(7, 8), ; /** @@ -19017,37 +20104,21 @@ public final class ProtoBuf { */ public static final int invalidPassword_VALUE = 4; /** - * notAllowedAsGuest = 5; + * notInvited = 5; */ - public static final int notAllowedAsGuest_VALUE = 5; + public static final int notInvited_VALUE = 5; /** - * notInvited = 6; + * ipAddressBlocked = 6; */ - public static final int notInvited_VALUE = 6; + public static final int ipAddressBlocked_VALUE = 6; /** - * gameNameInUse = 7; + * rejoinFailed = 7; */ - public static final int gameNameInUse_VALUE = 7; + public static final int rejoinFailed_VALUE = 7; /** - * badGameName = 8; + * noSpectatorsAllowed = 8; */ - public static final int badGameName_VALUE = 8; - /** - * invalidSettings = 9; - */ - public static final int invalidSettings_VALUE = 9; - /** - * ipAddressBlocked = 10; - */ - public static final int ipAddressBlocked_VALUE = 10; - /** - * rejoinFailed = 11; - */ - public static final int rejoinFailed_VALUE = 11; - /** - * noSpectatorsAllowed = 12; - */ - public static final int noSpectatorsAllowed_VALUE = 12; + public static final int noSpectatorsAllowed_VALUE = 8; public final int getNumber() { return value; } @@ -19058,14 +20129,10 @@ public final class ProtoBuf { case 2: return gameIsFull; case 3: return gameIsRunning; case 4: return invalidPassword; - case 5: return notAllowedAsGuest; - case 6: return notInvited; - case 7: return gameNameInUse; - case 8: return badGameName; - case 9: return invalidSettings; - case 10: return ipAddressBlocked; - case 11: return rejoinFailed; - case 12: return noSpectatorsAllowed; + case 5: return notInvited; + case 6: return ipAddressBlocked; + case 7: return rejoinFailed; + case 8: return noSpectatorsAllowed; default: return null; } } @@ -19092,40 +20159,23 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; - public static final int GAMEID_FIELD_NUMBER = 1; - private int gameId_; + // required .JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason = 1; + public static final int JOINGAMEFAILUREREASON_FIELD_NUMBER = 1; + private de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason_; /** - * required uint32 gameId = 1; + * required .JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason = 1; */ - public boolean hasGameId() { + public boolean hasJoinGameFailureReason() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * required uint32 gameId = 1; - */ - public int getGameId() { - return gameId_; - } - - // required .JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason = 2; - public static final int JOINGAMEFAILUREREASON_FIELD_NUMBER = 2; - private de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason_; - /** - * required .JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason = 2; - */ - public boolean hasJoinGameFailureReason() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * required .JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason = 2; + * required .JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason = 1; */ public de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.JoinGameFailureReason getJoinGameFailureReason() { return joinGameFailureReason_; } private void initFields() { - gameId_ = 0; joinGameFailureReason_ = de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.JoinGameFailureReason.invalidGame; } private byte memoizedIsInitialized = -1; @@ -19133,10 +20183,6 @@ public final class ProtoBuf { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - if (!hasGameId()) { - memoizedIsInitialized = 0; - return false; - } if (!hasJoinGameFailureReason()) { memoizedIsInitialized = 0; return false; @@ -19149,10 +20195,7 @@ public final class ProtoBuf { throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeUInt32(1, gameId_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeEnum(2, joinGameFailureReason_.getNumber()); + output.writeEnum(1, joinGameFailureReason_.getNumber()); } } @@ -19164,11 +20207,7 @@ public final class ProtoBuf { size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(1, gameId_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, joinGameFailureReason_.getNumber()); + .computeEnumSize(1, joinGameFailureReason_.getNumber()); } memoizedSerializedSize = size; return size; @@ -19261,10 +20300,8 @@ public final class ProtoBuf { public Builder clear() { super.clear(); - gameId_ = 0; - bitField0_ = (bitField0_ & ~0x00000001); joinGameFailureReason_ = de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.JoinGameFailureReason.invalidGame; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); return this; } @@ -19291,10 +20328,6 @@ public final class ProtoBuf { if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } - result.gameId_ = gameId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { - to_bitField0_ |= 0x00000002; - } result.joinGameFailureReason_ = joinGameFailureReason_; result.bitField0_ = to_bitField0_; return result; @@ -19302,9 +20335,6 @@ public final class ProtoBuf { public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage other) { if (other == de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.getDefaultInstance()) return this; - if (other.hasGameId()) { - setGameId(other.getGameId()); - } if (other.hasJoinGameFailureReason()) { setJoinGameFailureReason(other.getJoinGameFailureReason()); } @@ -19312,10 +20342,6 @@ public final class ProtoBuf { } public final boolean isInitialized() { - if (!hasGameId()) { - - return false; - } if (!hasJoinGameFailureReason()) { return false; @@ -19342,70 +20368,37 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; - private int gameId_ ; + // required .JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason = 1; + private de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason_ = de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.JoinGameFailureReason.invalidGame; /** - * required uint32 gameId = 1; + * required .JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason = 1; */ - public boolean hasGameId() { + public boolean hasJoinGameFailureReason() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * required uint32 gameId = 1; - */ - public int getGameId() { - return gameId_; - } - /** - * required uint32 gameId = 1; - */ - public Builder setGameId(int value) { - bitField0_ |= 0x00000001; - gameId_ = value; - - return this; - } - /** - * required uint32 gameId = 1; - */ - public Builder clearGameId() { - bitField0_ = (bitField0_ & ~0x00000001); - gameId_ = 0; - - return this; - } - - // required .JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason = 2; - private de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason_ = de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.JoinGameFailureReason.invalidGame; - /** - * required .JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason = 2; - */ - public boolean hasJoinGameFailureReason() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * required .JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason = 2; + * required .JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason = 1; */ public de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.JoinGameFailureReason getJoinGameFailureReason() { return joinGameFailureReason_; } /** - * required .JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason = 2; + * required .JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason = 1; */ public Builder setJoinGameFailureReason(de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.JoinGameFailureReason value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000001; joinGameFailureReason_ = value; return this; } /** - * required .JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason = 2; + * required .JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason = 1; */ public Builder clearJoinGameFailureReason() { - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); joinGameFailureReason_ = de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.JoinGameFailureReason.invalidGame; return this; @@ -19425,33 +20418,23 @@ public final class ProtoBuf { public interface GamePlayerJoinedMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - // required uint32 gameId = 1; + // required uint32 playerId = 1; /** - * required uint32 gameId = 1; - */ - boolean hasGameId(); - /** - * required uint32 gameId = 1; - */ - int getGameId(); - - // required uint32 playerId = 2; - /** - * required uint32 playerId = 2; + * required uint32 playerId = 1; */ boolean hasPlayerId(); /** - * required uint32 playerId = 2; + * required uint32 playerId = 1; */ int getPlayerId(); - // required bool isGameAdmin = 3; + // required bool isGameAdmin = 2; /** - * required bool isGameAdmin = 3; + * required bool isGameAdmin = 2; */ boolean hasIsGameAdmin(); /** - * required bool isGameAdmin = 3; + * required bool isGameAdmin = 2; */ boolean getIsGameAdmin(); } @@ -19500,16 +20483,11 @@ public final class ProtoBuf { } case 8: { bitField0_ |= 0x00000001; - gameId_ = input.readUInt32(); + playerId_ = input.readUInt32(); break; } case 16: { bitField0_ |= 0x00000002; - playerId_ = input.readUInt32(); - break; - } - case 24: { - bitField0_ |= 0x00000004; isGameAdmin_ = input.readBool(); break; } @@ -19540,56 +20518,39 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; - public static final int GAMEID_FIELD_NUMBER = 1; - private int gameId_; + // required uint32 playerId = 1; + public static final int PLAYERID_FIELD_NUMBER = 1; + private int playerId_; /** - * required uint32 gameId = 1; + * required uint32 playerId = 1; */ - public boolean hasGameId() { + public boolean hasPlayerId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * required uint32 gameId = 1; - */ - public int getGameId() { - return gameId_; - } - - // required uint32 playerId = 2; - public static final int PLAYERID_FIELD_NUMBER = 2; - private int playerId_; - /** - * required uint32 playerId = 2; - */ - public boolean hasPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * required uint32 playerId = 2; + * required uint32 playerId = 1; */ public int getPlayerId() { return playerId_; } - // required bool isGameAdmin = 3; - public static final int ISGAMEADMIN_FIELD_NUMBER = 3; + // required bool isGameAdmin = 2; + public static final int ISGAMEADMIN_FIELD_NUMBER = 2; private boolean isGameAdmin_; /** - * required bool isGameAdmin = 3; + * required bool isGameAdmin = 2; */ public boolean hasIsGameAdmin() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000002) == 0x00000002); } /** - * required bool isGameAdmin = 3; + * required bool isGameAdmin = 2; */ public boolean getIsGameAdmin() { return isGameAdmin_; } private void initFields() { - gameId_ = 0; playerId_ = 0; isGameAdmin_ = false; } @@ -19598,10 +20559,6 @@ public final class ProtoBuf { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - if (!hasGameId()) { - memoizedIsInitialized = 0; - return false; - } if (!hasPlayerId()) { memoizedIsInitialized = 0; return false; @@ -19618,13 +20575,10 @@ public final class ProtoBuf { throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeUInt32(1, gameId_); + output.writeUInt32(1, playerId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeUInt32(2, playerId_); - } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeBool(3, isGameAdmin_); + output.writeBool(2, isGameAdmin_); } } @@ -19636,15 +20590,11 @@ public final class ProtoBuf { size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(1, gameId_); + .computeUInt32Size(1, playerId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(2, playerId_); - } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, isGameAdmin_); + .computeBoolSize(2, isGameAdmin_); } memoizedSerializedSize = size; return size; @@ -19737,12 +20687,10 @@ public final class ProtoBuf { public Builder clear() { super.clear(); - gameId_ = 0; - bitField0_ = (bitField0_ & ~0x00000001); playerId_ = 0; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); isGameAdmin_ = false; - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000002); return this; } @@ -19769,14 +20717,10 @@ public final class ProtoBuf { if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } - result.gameId_ = gameId_; + result.playerId_ = playerId_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } - result.playerId_ = playerId_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { - to_bitField0_ |= 0x00000004; - } result.isGameAdmin_ = isGameAdmin_; result.bitField0_ = to_bitField0_; return result; @@ -19784,9 +20728,6 @@ public final class ProtoBuf { public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage other) { if (other == de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage.getDefaultInstance()) return this; - if (other.hasGameId()) { - setGameId(other.getGameId()); - } if (other.hasPlayerId()) { setPlayerId(other.getPlayerId()); } @@ -19797,10 +20738,6 @@ public final class ProtoBuf { } public final boolean isInitialized() { - if (!hasGameId()) { - - return false; - } if (!hasPlayerId()) { return false; @@ -19831,100 +20768,67 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; - private int gameId_ ; + // required uint32 playerId = 1; + private int playerId_ ; /** - * required uint32 gameId = 1; + * required uint32 playerId = 1; */ - public boolean hasGameId() { + public boolean hasPlayerId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * required uint32 gameId = 1; - */ - public int getGameId() { - return gameId_; - } - /** - * required uint32 gameId = 1; - */ - public Builder setGameId(int value) { - bitField0_ |= 0x00000001; - gameId_ = value; - - return this; - } - /** - * required uint32 gameId = 1; - */ - public Builder clearGameId() { - bitField0_ = (bitField0_ & ~0x00000001); - gameId_ = 0; - - return this; - } - - // required uint32 playerId = 2; - private int playerId_ ; - /** - * required uint32 playerId = 2; - */ - public boolean hasPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * required uint32 playerId = 2; + * required uint32 playerId = 1; */ public int getPlayerId() { return playerId_; } /** - * required uint32 playerId = 2; + * required uint32 playerId = 1; */ public Builder setPlayerId(int value) { - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000001; playerId_ = value; return this; } /** - * required uint32 playerId = 2; + * required uint32 playerId = 1; */ public Builder clearPlayerId() { - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); playerId_ = 0; return this; } - // required bool isGameAdmin = 3; + // required bool isGameAdmin = 2; private boolean isGameAdmin_ ; /** - * required bool isGameAdmin = 3; + * required bool isGameAdmin = 2; */ public boolean hasIsGameAdmin() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000002) == 0x00000002); } /** - * required bool isGameAdmin = 3; + * required bool isGameAdmin = 2; */ public boolean getIsGameAdmin() { return isGameAdmin_; } /** - * required bool isGameAdmin = 3; + * required bool isGameAdmin = 2; */ public Builder setIsGameAdmin(boolean value) { - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000002; isGameAdmin_ = value; return this; } /** - * required bool isGameAdmin = 3; + * required bool isGameAdmin = 2; */ public Builder clearIsGameAdmin() { - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000002); isGameAdmin_ = false; return this; @@ -19944,33 +20848,23 @@ public final class ProtoBuf { public interface GamePlayerLeftMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - // required uint32 gameId = 1; + // required uint32 playerId = 1; /** - * required uint32 gameId = 1; - */ - boolean hasGameId(); - /** - * required uint32 gameId = 1; - */ - int getGameId(); - - // required uint32 playerId = 2; - /** - * required uint32 playerId = 2; + * required uint32 playerId = 1; */ boolean hasPlayerId(); /** - * required uint32 playerId = 2; + * required uint32 playerId = 1; */ int getPlayerId(); - // required .GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason = 3; + // required .GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason = 2; /** - * required .GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason = 3; + * required .GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason = 2; */ boolean hasGamePlayerLeftReason(); /** - * required .GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason = 3; + * required .GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason = 2; */ de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason getGamePlayerLeftReason(); } @@ -20019,19 +20913,14 @@ public final class ProtoBuf { } case 8: { bitField0_ |= 0x00000001; - gameId_ = input.readUInt32(); - break; - } - case 16: { - bitField0_ |= 0x00000002; playerId_ = input.readUInt32(); break; } - case 24: { + case 16: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason value = de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason.valueOf(rawValue); if (value != null) { - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000002; gamePlayerLeftReason_ = value; } break; @@ -20128,56 +21017,39 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; - public static final int GAMEID_FIELD_NUMBER = 1; - private int gameId_; + // required uint32 playerId = 1; + public static final int PLAYERID_FIELD_NUMBER = 1; + private int playerId_; /** - * required uint32 gameId = 1; + * required uint32 playerId = 1; */ - public boolean hasGameId() { + public boolean hasPlayerId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * required uint32 gameId = 1; - */ - public int getGameId() { - return gameId_; - } - - // required uint32 playerId = 2; - public static final int PLAYERID_FIELD_NUMBER = 2; - private int playerId_; - /** - * required uint32 playerId = 2; - */ - public boolean hasPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * required uint32 playerId = 2; + * required uint32 playerId = 1; */ public int getPlayerId() { return playerId_; } - // required .GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason = 3; - public static final int GAMEPLAYERLEFTREASON_FIELD_NUMBER = 3; + // required .GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason = 2; + public static final int GAMEPLAYERLEFTREASON_FIELD_NUMBER = 2; private de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason_; /** - * required .GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason = 3; + * required .GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason = 2; */ public boolean hasGamePlayerLeftReason() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000002) == 0x00000002); } /** - * required .GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason = 3; + * required .GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason = 2; */ public de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason getGamePlayerLeftReason() { return gamePlayerLeftReason_; } private void initFields() { - gameId_ = 0; playerId_ = 0; gamePlayerLeftReason_ = de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason.leftOnRequest; } @@ -20186,10 +21058,6 @@ public final class ProtoBuf { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - if (!hasGameId()) { - memoizedIsInitialized = 0; - return false; - } if (!hasPlayerId()) { memoizedIsInitialized = 0; return false; @@ -20206,13 +21074,10 @@ public final class ProtoBuf { throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeUInt32(1, gameId_); + output.writeUInt32(1, playerId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeUInt32(2, playerId_); - } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeEnum(3, gamePlayerLeftReason_.getNumber()); + output.writeEnum(2, gamePlayerLeftReason_.getNumber()); } } @@ -20224,15 +21089,11 @@ public final class ProtoBuf { size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(1, gameId_); + .computeUInt32Size(1, playerId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(2, playerId_); - } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, gamePlayerLeftReason_.getNumber()); + .computeEnumSize(2, gamePlayerLeftReason_.getNumber()); } memoizedSerializedSize = size; return size; @@ -20325,12 +21186,10 @@ public final class ProtoBuf { public Builder clear() { super.clear(); - gameId_ = 0; - bitField0_ = (bitField0_ & ~0x00000001); playerId_ = 0; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); gamePlayerLeftReason_ = de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason.leftOnRequest; - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000002); return this; } @@ -20357,14 +21216,10 @@ public final class ProtoBuf { if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } - result.gameId_ = gameId_; + result.playerId_ = playerId_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } - result.playerId_ = playerId_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { - to_bitField0_ |= 0x00000004; - } result.gamePlayerLeftReason_ = gamePlayerLeftReason_; result.bitField0_ = to_bitField0_; return result; @@ -20372,9 +21227,6 @@ public final class ProtoBuf { public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage other) { if (other == de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.getDefaultInstance()) return this; - if (other.hasGameId()) { - setGameId(other.getGameId()); - } if (other.hasPlayerId()) { setPlayerId(other.getPlayerId()); } @@ -20385,10 +21237,6 @@ public final class ProtoBuf { } public final boolean isInitialized() { - if (!hasGameId()) { - - return false; - } if (!hasPlayerId()) { return false; @@ -20419,103 +21267,70 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; - private int gameId_ ; + // required uint32 playerId = 1; + private int playerId_ ; /** - * required uint32 gameId = 1; + * required uint32 playerId = 1; */ - public boolean hasGameId() { + public boolean hasPlayerId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * required uint32 gameId = 1; - */ - public int getGameId() { - return gameId_; - } - /** - * required uint32 gameId = 1; - */ - public Builder setGameId(int value) { - bitField0_ |= 0x00000001; - gameId_ = value; - - return this; - } - /** - * required uint32 gameId = 1; - */ - public Builder clearGameId() { - bitField0_ = (bitField0_ & ~0x00000001); - gameId_ = 0; - - return this; - } - - // required uint32 playerId = 2; - private int playerId_ ; - /** - * required uint32 playerId = 2; - */ - public boolean hasPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * required uint32 playerId = 2; + * required uint32 playerId = 1; */ public int getPlayerId() { return playerId_; } /** - * required uint32 playerId = 2; + * required uint32 playerId = 1; */ public Builder setPlayerId(int value) { - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000001; playerId_ = value; return this; } /** - * required uint32 playerId = 2; + * required uint32 playerId = 1; */ public Builder clearPlayerId() { - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); playerId_ = 0; return this; } - // required .GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason = 3; + // required .GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason = 2; private de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason_ = de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason.leftOnRequest; /** - * required .GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason = 3; + * required .GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason = 2; */ public boolean hasGamePlayerLeftReason() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000002) == 0x00000002); } /** - * required .GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason = 3; + * required .GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason = 2; */ public de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason getGamePlayerLeftReason() { return gamePlayerLeftReason_; } /** - * required .GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason = 3; + * required .GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason = 2; */ public Builder setGamePlayerLeftReason(de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000002; gamePlayerLeftReason_ = value; return this; } /** - * required .GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason = 3; + * required .GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason = 2; */ public Builder clearGamePlayerLeftReason() { - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000002); gamePlayerLeftReason_ = de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason.leftOnRequest; return this; @@ -20535,23 +21350,13 @@ public final class ProtoBuf { public interface GameSpectatorJoinedMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - // required uint32 gameId = 1; + // required uint32 playerId = 1; /** - * required uint32 gameId = 1; - */ - boolean hasGameId(); - /** - * required uint32 gameId = 1; - */ - int getGameId(); - - // required uint32 playerId = 2; - /** - * required uint32 playerId = 2; + * required uint32 playerId = 1; */ boolean hasPlayerId(); /** - * required uint32 playerId = 2; + * required uint32 playerId = 1; */ int getPlayerId(); } @@ -20600,11 +21405,6 @@ public final class ProtoBuf { } case 8: { bitField0_ |= 0x00000001; - gameId_ = input.readUInt32(); - break; - } - case 16: { - bitField0_ |= 0x00000002; playerId_ = input.readUInt32(); break; } @@ -20635,40 +21435,23 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; - public static final int GAMEID_FIELD_NUMBER = 1; - private int gameId_; + // required uint32 playerId = 1; + public static final int PLAYERID_FIELD_NUMBER = 1; + private int playerId_; /** - * required uint32 gameId = 1; + * required uint32 playerId = 1; */ - public boolean hasGameId() { + public boolean hasPlayerId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * required uint32 gameId = 1; - */ - public int getGameId() { - return gameId_; - } - - // required uint32 playerId = 2; - public static final int PLAYERID_FIELD_NUMBER = 2; - private int playerId_; - /** - * required uint32 playerId = 2; - */ - public boolean hasPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * required uint32 playerId = 2; + * required uint32 playerId = 1; */ public int getPlayerId() { return playerId_; } private void initFields() { - gameId_ = 0; playerId_ = 0; } private byte memoizedIsInitialized = -1; @@ -20676,10 +21459,6 @@ public final class ProtoBuf { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - if (!hasGameId()) { - memoizedIsInitialized = 0; - return false; - } if (!hasPlayerId()) { memoizedIsInitialized = 0; return false; @@ -20692,10 +21471,7 @@ public final class ProtoBuf { throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeUInt32(1, gameId_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeUInt32(2, playerId_); + output.writeUInt32(1, playerId_); } } @@ -20707,11 +21483,7 @@ public final class ProtoBuf { size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(1, gameId_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(2, playerId_); + .computeUInt32Size(1, playerId_); } memoizedSerializedSize = size; return size; @@ -20804,10 +21576,8 @@ public final class ProtoBuf { public Builder clear() { super.clear(); - gameId_ = 0; - bitField0_ = (bitField0_ & ~0x00000001); playerId_ = 0; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); return this; } @@ -20834,10 +21604,6 @@ public final class ProtoBuf { if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } - result.gameId_ = gameId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { - to_bitField0_ |= 0x00000002; - } result.playerId_ = playerId_; result.bitField0_ = to_bitField0_; return result; @@ -20845,9 +21611,6 @@ public final class ProtoBuf { public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage other) { if (other == de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage.getDefaultInstance()) return this; - if (other.hasGameId()) { - setGameId(other.getGameId()); - } if (other.hasPlayerId()) { setPlayerId(other.getPlayerId()); } @@ -20855,10 +21618,6 @@ public final class ProtoBuf { } public final boolean isInitialized() { - if (!hasGameId()) { - - return false; - } if (!hasPlayerId()) { return false; @@ -20885,67 +21644,34 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; - private int gameId_ ; + // required uint32 playerId = 1; + private int playerId_ ; /** - * required uint32 gameId = 1; + * required uint32 playerId = 1; */ - public boolean hasGameId() { + public boolean hasPlayerId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * required uint32 gameId = 1; - */ - public int getGameId() { - return gameId_; - } - /** - * required uint32 gameId = 1; - */ - public Builder setGameId(int value) { - bitField0_ |= 0x00000001; - gameId_ = value; - - return this; - } - /** - * required uint32 gameId = 1; - */ - public Builder clearGameId() { - bitField0_ = (bitField0_ & ~0x00000001); - gameId_ = 0; - - return this; - } - - // required uint32 playerId = 2; - private int playerId_ ; - /** - * required uint32 playerId = 2; - */ - public boolean hasPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * required uint32 playerId = 2; + * required uint32 playerId = 1; */ public int getPlayerId() { return playerId_; } /** - * required uint32 playerId = 2; + * required uint32 playerId = 1; */ public Builder setPlayerId(int value) { - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000001; playerId_ = value; return this; } /** - * required uint32 playerId = 2; + * required uint32 playerId = 1; */ public Builder clearPlayerId() { - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); playerId_ = 0; return this; @@ -20965,33 +21691,23 @@ public final class ProtoBuf { public interface GameSpectatorLeftMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - // required uint32 gameId = 1; + // required uint32 playerId = 1; /** - * required uint32 gameId = 1; - */ - boolean hasGameId(); - /** - * required uint32 gameId = 1; - */ - int getGameId(); - - // required uint32 playerId = 2; - /** - * required uint32 playerId = 2; + * required uint32 playerId = 1; */ boolean hasPlayerId(); /** - * required uint32 playerId = 2; + * required uint32 playerId = 1; */ int getPlayerId(); - // required .GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason = 3; + // required .GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason = 2; /** - * required .GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason = 3; + * required .GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason = 2; */ boolean hasGameSpectatorLeftReason(); /** - * required .GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason = 3; + * required .GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason = 2; */ de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason getGameSpectatorLeftReason(); } @@ -21040,19 +21756,14 @@ public final class ProtoBuf { } case 8: { bitField0_ |= 0x00000001; - gameId_ = input.readUInt32(); - break; - } - case 16: { - bitField0_ |= 0x00000002; playerId_ = input.readUInt32(); break; } - case 24: { + case 16: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason value = de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason.valueOf(rawValue); if (value != null) { - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000002; gameSpectatorLeftReason_ = value; } break; @@ -21084,56 +21795,39 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; - public static final int GAMEID_FIELD_NUMBER = 1; - private int gameId_; + // required uint32 playerId = 1; + public static final int PLAYERID_FIELD_NUMBER = 1; + private int playerId_; /** - * required uint32 gameId = 1; + * required uint32 playerId = 1; */ - public boolean hasGameId() { + public boolean hasPlayerId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * required uint32 gameId = 1; - */ - public int getGameId() { - return gameId_; - } - - // required uint32 playerId = 2; - public static final int PLAYERID_FIELD_NUMBER = 2; - private int playerId_; - /** - * required uint32 playerId = 2; - */ - public boolean hasPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * required uint32 playerId = 2; + * required uint32 playerId = 1; */ public int getPlayerId() { return playerId_; } - // required .GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason = 3; - public static final int GAMESPECTATORLEFTREASON_FIELD_NUMBER = 3; + // required .GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason = 2; + public static final int GAMESPECTATORLEFTREASON_FIELD_NUMBER = 2; private de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason_; /** - * required .GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason = 3; + * required .GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason = 2; */ public boolean hasGameSpectatorLeftReason() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000002) == 0x00000002); } /** - * required .GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason = 3; + * required .GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason = 2; */ public de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason getGameSpectatorLeftReason() { return gameSpectatorLeftReason_; } private void initFields() { - gameId_ = 0; playerId_ = 0; gameSpectatorLeftReason_ = de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason.leftOnRequest; } @@ -21142,10 +21836,6 @@ public final class ProtoBuf { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - if (!hasGameId()) { - memoizedIsInitialized = 0; - return false; - } if (!hasPlayerId()) { memoizedIsInitialized = 0; return false; @@ -21162,13 +21852,10 @@ public final class ProtoBuf { throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeUInt32(1, gameId_); + output.writeUInt32(1, playerId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeUInt32(2, playerId_); - } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeEnum(3, gameSpectatorLeftReason_.getNumber()); + output.writeEnum(2, gameSpectatorLeftReason_.getNumber()); } } @@ -21180,15 +21867,11 @@ public final class ProtoBuf { size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(1, gameId_); + .computeUInt32Size(1, playerId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(2, playerId_); - } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, gameSpectatorLeftReason_.getNumber()); + .computeEnumSize(2, gameSpectatorLeftReason_.getNumber()); } memoizedSerializedSize = size; return size; @@ -21281,12 +21964,10 @@ public final class ProtoBuf { public Builder clear() { super.clear(); - gameId_ = 0; - bitField0_ = (bitField0_ & ~0x00000001); playerId_ = 0; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); gameSpectatorLeftReason_ = de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason.leftOnRequest; - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000002); return this; } @@ -21313,14 +21994,10 @@ public final class ProtoBuf { if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } - result.gameId_ = gameId_; + result.playerId_ = playerId_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } - result.playerId_ = playerId_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { - to_bitField0_ |= 0x00000004; - } result.gameSpectatorLeftReason_ = gameSpectatorLeftReason_; result.bitField0_ = to_bitField0_; return result; @@ -21328,9 +22005,6 @@ public final class ProtoBuf { public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage other) { if (other == de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage.getDefaultInstance()) return this; - if (other.hasGameId()) { - setGameId(other.getGameId()); - } if (other.hasPlayerId()) { setPlayerId(other.getPlayerId()); } @@ -21341,10 +22015,6 @@ public final class ProtoBuf { } public final boolean isInitialized() { - if (!hasGameId()) { - - return false; - } if (!hasPlayerId()) { return false; @@ -21375,103 +22045,70 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; - private int gameId_ ; + // required uint32 playerId = 1; + private int playerId_ ; /** - * required uint32 gameId = 1; + * required uint32 playerId = 1; */ - public boolean hasGameId() { + public boolean hasPlayerId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * required uint32 gameId = 1; - */ - public int getGameId() { - return gameId_; - } - /** - * required uint32 gameId = 1; - */ - public Builder setGameId(int value) { - bitField0_ |= 0x00000001; - gameId_ = value; - - return this; - } - /** - * required uint32 gameId = 1; - */ - public Builder clearGameId() { - bitField0_ = (bitField0_ & ~0x00000001); - gameId_ = 0; - - return this; - } - - // required uint32 playerId = 2; - private int playerId_ ; - /** - * required uint32 playerId = 2; - */ - public boolean hasPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * required uint32 playerId = 2; + * required uint32 playerId = 1; */ public int getPlayerId() { return playerId_; } /** - * required uint32 playerId = 2; + * required uint32 playerId = 1; */ public Builder setPlayerId(int value) { - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000001; playerId_ = value; return this; } /** - * required uint32 playerId = 2; + * required uint32 playerId = 1; */ public Builder clearPlayerId() { - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); playerId_ = 0; return this; } - // required .GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason = 3; + // required .GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason = 2; private de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason_ = de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason.leftOnRequest; /** - * required .GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason = 3; + * required .GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason = 2; */ public boolean hasGameSpectatorLeftReason() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000002) == 0x00000002); } /** - * required .GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason = 3; + * required .GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason = 2; */ public de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason getGameSpectatorLeftReason() { return gameSpectatorLeftReason_; } /** - * required .GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason = 3; + * required .GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason = 2; */ public Builder setGameSpectatorLeftReason(de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000002; gameSpectatorLeftReason_ = value; return this; } /** - * required .GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason = 3; + * required .GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason = 2; */ public Builder clearGameSpectatorLeftReason() { - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000002); gameSpectatorLeftReason_ = de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason.leftOnRequest; return this; @@ -21491,23 +22128,13 @@ public final class ProtoBuf { public interface GameAdminChangedMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - // required uint32 gameId = 1; + // required uint32 newAdminPlayerId = 1; /** - * required uint32 gameId = 1; - */ - boolean hasGameId(); - /** - * required uint32 gameId = 1; - */ - int getGameId(); - - // required uint32 newAdminPlayerId = 2; - /** - * required uint32 newAdminPlayerId = 2; + * required uint32 newAdminPlayerId = 1; */ boolean hasNewAdminPlayerId(); /** - * required uint32 newAdminPlayerId = 2; + * required uint32 newAdminPlayerId = 1; */ int getNewAdminPlayerId(); } @@ -21556,11 +22183,6 @@ public final class ProtoBuf { } case 8: { bitField0_ |= 0x00000001; - gameId_ = input.readUInt32(); - break; - } - case 16: { - bitField0_ |= 0x00000002; newAdminPlayerId_ = input.readUInt32(); break; } @@ -21591,40 +22213,23 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; - public static final int GAMEID_FIELD_NUMBER = 1; - private int gameId_; + // required uint32 newAdminPlayerId = 1; + public static final int NEWADMINPLAYERID_FIELD_NUMBER = 1; + private int newAdminPlayerId_; /** - * required uint32 gameId = 1; + * required uint32 newAdminPlayerId = 1; */ - public boolean hasGameId() { + public boolean hasNewAdminPlayerId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * required uint32 gameId = 1; - */ - public int getGameId() { - return gameId_; - } - - // required uint32 newAdminPlayerId = 2; - public static final int NEWADMINPLAYERID_FIELD_NUMBER = 2; - private int newAdminPlayerId_; - /** - * required uint32 newAdminPlayerId = 2; - */ - public boolean hasNewAdminPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * required uint32 newAdminPlayerId = 2; + * required uint32 newAdminPlayerId = 1; */ public int getNewAdminPlayerId() { return newAdminPlayerId_; } private void initFields() { - gameId_ = 0; newAdminPlayerId_ = 0; } private byte memoizedIsInitialized = -1; @@ -21632,10 +22237,6 @@ public final class ProtoBuf { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - if (!hasGameId()) { - memoizedIsInitialized = 0; - return false; - } if (!hasNewAdminPlayerId()) { memoizedIsInitialized = 0; return false; @@ -21648,10 +22249,7 @@ public final class ProtoBuf { throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeUInt32(1, gameId_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeUInt32(2, newAdminPlayerId_); + output.writeUInt32(1, newAdminPlayerId_); } } @@ -21663,11 +22261,7 @@ public final class ProtoBuf { size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(1, gameId_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(2, newAdminPlayerId_); + .computeUInt32Size(1, newAdminPlayerId_); } memoizedSerializedSize = size; return size; @@ -21760,10 +22354,8 @@ public final class ProtoBuf { public Builder clear() { super.clear(); - gameId_ = 0; - bitField0_ = (bitField0_ & ~0x00000001); newAdminPlayerId_ = 0; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); return this; } @@ -21790,10 +22382,6 @@ public final class ProtoBuf { if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } - result.gameId_ = gameId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { - to_bitField0_ |= 0x00000002; - } result.newAdminPlayerId_ = newAdminPlayerId_; result.bitField0_ = to_bitField0_; return result; @@ -21801,9 +22389,6 @@ public final class ProtoBuf { public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage other) { if (other == de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage.getDefaultInstance()) return this; - if (other.hasGameId()) { - setGameId(other.getGameId()); - } if (other.hasNewAdminPlayerId()) { setNewAdminPlayerId(other.getNewAdminPlayerId()); } @@ -21811,10 +22396,6 @@ public final class ProtoBuf { } public final boolean isInitialized() { - if (!hasGameId()) { - - return false; - } if (!hasNewAdminPlayerId()) { return false; @@ -21841,67 +22422,34 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; - private int gameId_ ; + // required uint32 newAdminPlayerId = 1; + private int newAdminPlayerId_ ; /** - * required uint32 gameId = 1; + * required uint32 newAdminPlayerId = 1; */ - public boolean hasGameId() { + public boolean hasNewAdminPlayerId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * required uint32 gameId = 1; - */ - public int getGameId() { - return gameId_; - } - /** - * required uint32 gameId = 1; - */ - public Builder setGameId(int value) { - bitField0_ |= 0x00000001; - gameId_ = value; - - return this; - } - /** - * required uint32 gameId = 1; - */ - public Builder clearGameId() { - bitField0_ = (bitField0_ & ~0x00000001); - gameId_ = 0; - - return this; - } - - // required uint32 newAdminPlayerId = 2; - private int newAdminPlayerId_ ; - /** - * required uint32 newAdminPlayerId = 2; - */ - public boolean hasNewAdminPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * required uint32 newAdminPlayerId = 2; + * required uint32 newAdminPlayerId = 1; */ public int getNewAdminPlayerId() { return newAdminPlayerId_; } /** - * required uint32 newAdminPlayerId = 2; + * required uint32 newAdminPlayerId = 1; */ public Builder setNewAdminPlayerId(int value) { - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000001; newAdminPlayerId_ = value; return this; } /** - * required uint32 newAdminPlayerId = 2; + * required uint32 newAdminPlayerId = 1; */ public Builder clearNewAdminPlayerId() { - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); newAdminPlayerId_ = 0; return this; @@ -21921,23 +22469,13 @@ public final class ProtoBuf { public interface RemovedFromGameMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - // required uint32 gameId = 1; + // required .RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason = 1; /** - * required uint32 gameId = 1; - */ - boolean hasGameId(); - /** - * required uint32 gameId = 1; - */ - int getGameId(); - - // required .RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason = 2; - /** - * required .RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason = 2; + * required .RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason = 1; */ boolean hasRemovedFromGameReason(); /** - * required .RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason = 2; + * required .RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason = 1; */ de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.RemovedFromGameReason getRemovedFromGameReason(); } @@ -21985,15 +22523,10 @@ public final class ProtoBuf { break; } case 8: { - bitField0_ |= 0x00000001; - gameId_ = input.readUInt32(); - break; - } - case 16: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.RemovedFromGameReason value = de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.RemovedFromGameReason.valueOf(rawValue); if (value != null) { - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000001; removedFromGameReason_ = value; } break; @@ -22134,40 +22667,23 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; - public static final int GAMEID_FIELD_NUMBER = 1; - private int gameId_; + // required .RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason = 1; + public static final int REMOVEDFROMGAMEREASON_FIELD_NUMBER = 1; + private de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason_; /** - * required uint32 gameId = 1; + * required .RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason = 1; */ - public boolean hasGameId() { + public boolean hasRemovedFromGameReason() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * required uint32 gameId = 1; - */ - public int getGameId() { - return gameId_; - } - - // required .RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason = 2; - public static final int REMOVEDFROMGAMEREASON_FIELD_NUMBER = 2; - private de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason_; - /** - * required .RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason = 2; - */ - public boolean hasRemovedFromGameReason() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * required .RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason = 2; + * required .RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason = 1; */ public de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.RemovedFromGameReason getRemovedFromGameReason() { return removedFromGameReason_; } private void initFields() { - gameId_ = 0; removedFromGameReason_ = de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.RemovedFromGameReason.removedOnRequest; } private byte memoizedIsInitialized = -1; @@ -22175,10 +22691,6 @@ public final class ProtoBuf { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - if (!hasGameId()) { - memoizedIsInitialized = 0; - return false; - } if (!hasRemovedFromGameReason()) { memoizedIsInitialized = 0; return false; @@ -22191,10 +22703,7 @@ public final class ProtoBuf { throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeUInt32(1, gameId_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeEnum(2, removedFromGameReason_.getNumber()); + output.writeEnum(1, removedFromGameReason_.getNumber()); } } @@ -22206,11 +22715,7 @@ public final class ProtoBuf { size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(1, gameId_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, removedFromGameReason_.getNumber()); + .computeEnumSize(1, removedFromGameReason_.getNumber()); } memoizedSerializedSize = size; return size; @@ -22303,10 +22808,8 @@ public final class ProtoBuf { public Builder clear() { super.clear(); - gameId_ = 0; - bitField0_ = (bitField0_ & ~0x00000001); removedFromGameReason_ = de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.RemovedFromGameReason.removedOnRequest; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); return this; } @@ -22333,10 +22836,6 @@ public final class ProtoBuf { if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } - result.gameId_ = gameId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { - to_bitField0_ |= 0x00000002; - } result.removedFromGameReason_ = removedFromGameReason_; result.bitField0_ = to_bitField0_; return result; @@ -22344,9 +22843,6 @@ public final class ProtoBuf { public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage other) { if (other == de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.getDefaultInstance()) return this; - if (other.hasGameId()) { - setGameId(other.getGameId()); - } if (other.hasRemovedFromGameReason()) { setRemovedFromGameReason(other.getRemovedFromGameReason()); } @@ -22354,10 +22850,6 @@ public final class ProtoBuf { } public final boolean isInitialized() { - if (!hasGameId()) { - - return false; - } if (!hasRemovedFromGameReason()) { return false; @@ -22384,70 +22876,37 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; - private int gameId_ ; + // required .RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason = 1; + private de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason_ = de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.RemovedFromGameReason.removedOnRequest; /** - * required uint32 gameId = 1; + * required .RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason = 1; */ - public boolean hasGameId() { + public boolean hasRemovedFromGameReason() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * required uint32 gameId = 1; - */ - public int getGameId() { - return gameId_; - } - /** - * required uint32 gameId = 1; - */ - public Builder setGameId(int value) { - bitField0_ |= 0x00000001; - gameId_ = value; - - return this; - } - /** - * required uint32 gameId = 1; - */ - public Builder clearGameId() { - bitField0_ = (bitField0_ & ~0x00000001); - gameId_ = 0; - - return this; - } - - // required .RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason = 2; - private de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason_ = de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.RemovedFromGameReason.removedOnRequest; - /** - * required .RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason = 2; - */ - public boolean hasRemovedFromGameReason() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * required .RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason = 2; + * required .RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason = 1; */ public de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.RemovedFromGameReason getRemovedFromGameReason() { return removedFromGameReason_; } /** - * required .RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason = 2; + * required .RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason = 1; */ public Builder setRemovedFromGameReason(de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.RemovedFromGameReason value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000001; removedFromGameReason_ = value; return this; } /** - * required .RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason = 2; + * required .RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason = 1; */ public Builder clearRemovedFromGameReason() { - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); removedFromGameReason_ = de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.RemovedFromGameReason.removedOnRequest; return this; @@ -22467,23 +22926,13 @@ public final class ProtoBuf { public interface KickPlayerRequestMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - // required uint32 gameId = 1; + // required uint32 playerId = 1; /** - * required uint32 gameId = 1; - */ - boolean hasGameId(); - /** - * required uint32 gameId = 1; - */ - int getGameId(); - - // required uint32 playerId = 2; - /** - * required uint32 playerId = 2; + * required uint32 playerId = 1; */ boolean hasPlayerId(); /** - * required uint32 playerId = 2; + * required uint32 playerId = 1; */ int getPlayerId(); } @@ -22532,11 +22981,6 @@ public final class ProtoBuf { } case 8: { bitField0_ |= 0x00000001; - gameId_ = input.readUInt32(); - break; - } - case 16: { - bitField0_ |= 0x00000002; playerId_ = input.readUInt32(); break; } @@ -22567,40 +23011,23 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; - public static final int GAMEID_FIELD_NUMBER = 1; - private int gameId_; + // required uint32 playerId = 1; + public static final int PLAYERID_FIELD_NUMBER = 1; + private int playerId_; /** - * required uint32 gameId = 1; + * required uint32 playerId = 1; */ - public boolean hasGameId() { + public boolean hasPlayerId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * required uint32 gameId = 1; - */ - public int getGameId() { - return gameId_; - } - - // required uint32 playerId = 2; - public static final int PLAYERID_FIELD_NUMBER = 2; - private int playerId_; - /** - * required uint32 playerId = 2; - */ - public boolean hasPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * required uint32 playerId = 2; + * required uint32 playerId = 1; */ public int getPlayerId() { return playerId_; } private void initFields() { - gameId_ = 0; playerId_ = 0; } private byte memoizedIsInitialized = -1; @@ -22608,10 +23035,6 @@ public final class ProtoBuf { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - if (!hasGameId()) { - memoizedIsInitialized = 0; - return false; - } if (!hasPlayerId()) { memoizedIsInitialized = 0; return false; @@ -22624,10 +23047,7 @@ public final class ProtoBuf { throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeUInt32(1, gameId_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeUInt32(2, playerId_); + output.writeUInt32(1, playerId_); } } @@ -22639,11 +23059,7 @@ public final class ProtoBuf { size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(1, gameId_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(2, playerId_); + .computeUInt32Size(1, playerId_); } memoizedSerializedSize = size; return size; @@ -22736,10 +23152,8 @@ public final class ProtoBuf { public Builder clear() { super.clear(); - gameId_ = 0; - bitField0_ = (bitField0_ & ~0x00000001); playerId_ = 0; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); return this; } @@ -22766,10 +23180,6 @@ public final class ProtoBuf { if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } - result.gameId_ = gameId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { - to_bitField0_ |= 0x00000002; - } result.playerId_ = playerId_; result.bitField0_ = to_bitField0_; return result; @@ -22777,9 +23187,6 @@ public final class ProtoBuf { public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage other) { if (other == de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage.getDefaultInstance()) return this; - if (other.hasGameId()) { - setGameId(other.getGameId()); - } if (other.hasPlayerId()) { setPlayerId(other.getPlayerId()); } @@ -22787,10 +23194,6 @@ public final class ProtoBuf { } public final boolean isInitialized() { - if (!hasGameId()) { - - return false; - } if (!hasPlayerId()) { return false; @@ -22817,67 +23220,34 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; - private int gameId_ ; + // required uint32 playerId = 1; + private int playerId_ ; /** - * required uint32 gameId = 1; + * required uint32 playerId = 1; */ - public boolean hasGameId() { + public boolean hasPlayerId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * required uint32 gameId = 1; - */ - public int getGameId() { - return gameId_; - } - /** - * required uint32 gameId = 1; - */ - public Builder setGameId(int value) { - bitField0_ |= 0x00000001; - gameId_ = value; - - return this; - } - /** - * required uint32 gameId = 1; - */ - public Builder clearGameId() { - bitField0_ = (bitField0_ & ~0x00000001); - gameId_ = 0; - - return this; - } - - // required uint32 playerId = 2; - private int playerId_ ; - /** - * required uint32 playerId = 2; - */ - public boolean hasPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * required uint32 playerId = 2; + * required uint32 playerId = 1; */ public int getPlayerId() { return playerId_; } /** - * required uint32 playerId = 2; + * required uint32 playerId = 1; */ public Builder setPlayerId(int value) { - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000001; playerId_ = value; return this; } /** - * required uint32 playerId = 2; + * required uint32 playerId = 1; */ public Builder clearPlayerId() { - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); playerId_ = 0; return this; @@ -22896,16 +23266,6 @@ public final class ProtoBuf { public interface LeaveGameRequestMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - - // required uint32 gameId = 1; - /** - * required uint32 gameId = 1; - */ - boolean hasGameId(); - /** - * required uint32 gameId = 1; - */ - int getGameId(); } /** * Protobuf type {@code LeaveGameRequestMessage} @@ -22934,7 +23294,6 @@ public final class ProtoBuf { com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); - int mutable_bitField0_ = 0; try { boolean done = false; while (!done) { @@ -22950,11 +23309,6 @@ public final class ProtoBuf { } break; } - case 8: { - bitField0_ |= 0x00000001; - gameId_ = input.readUInt32(); - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -22981,35 +23335,13 @@ public final class ProtoBuf { return PARSER; } - private int bitField0_; - // required uint32 gameId = 1; - public static final int GAMEID_FIELD_NUMBER = 1; - private int gameId_; - /** - * required uint32 gameId = 1; - */ - public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - /** - * required uint32 gameId = 1; - */ - public int getGameId() { - return gameId_; - } - private void initFields() { - gameId_ = 0; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - if (!hasGameId()) { - memoizedIsInitialized = 0; - return false; - } memoizedIsInitialized = 1; return true; } @@ -23017,9 +23349,6 @@ public final class ProtoBuf { public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeUInt32(1, gameId_); - } } private int memoizedSerializedSize = -1; @@ -23028,10 +23357,6 @@ public final class ProtoBuf { if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(1, gameId_); - } memoizedSerializedSize = size; return size; } @@ -23123,8 +23448,6 @@ public final class ProtoBuf { public Builder clear() { super.clear(); - gameId_ = 0; - bitField0_ = (bitField0_ & ~0x00000001); return this; } @@ -23146,29 +23469,15 @@ public final class ProtoBuf { public de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage buildPartial() { de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage result = new de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { - to_bitField0_ |= 0x00000001; - } - result.gameId_ = gameId_; - result.bitField0_ = to_bitField0_; return result; } public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage other) { if (other == de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage.getDefaultInstance()) return this; - if (other.hasGameId()) { - setGameId(other.getGameId()); - } return this; } public final boolean isInitialized() { - if (!hasGameId()) { - - return false; - } return true; } @@ -23189,40 +23498,6 @@ public final class ProtoBuf { } return this; } - private int bitField0_; - - // required uint32 gameId = 1; - private int gameId_ ; - /** - * required uint32 gameId = 1; - */ - public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - /** - * required uint32 gameId = 1; - */ - public int getGameId() { - return gameId_; - } - /** - * required uint32 gameId = 1; - */ - public Builder setGameId(int value) { - bitField0_ |= 0x00000001; - gameId_ = value; - - return this; - } - /** - * required uint32 gameId = 1; - */ - public Builder clearGameId() { - bitField0_ = (bitField0_ & ~0x00000001); - gameId_ = 0; - - return this; - } // @@protoc_insertion_point(builder_scope:LeaveGameRequestMessage) } @@ -25206,33 +25481,23 @@ public final class ProtoBuf { public interface StartEventMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - // required uint32 gameId = 1; + // required .StartEventMessage.StartEventType startEventType = 1; /** - * required uint32 gameId = 1; - */ - boolean hasGameId(); - /** - * required uint32 gameId = 1; - */ - int getGameId(); - - // required .StartEventMessage.StartEventType startEventType = 2; - /** - * required .StartEventMessage.StartEventType startEventType = 2; + * required .StartEventMessage.StartEventType startEventType = 1; */ boolean hasStartEventType(); /** - * required .StartEventMessage.StartEventType startEventType = 2; + * required .StartEventMessage.StartEventType startEventType = 1; */ de.pokerth.protocol.ProtoBuf.StartEventMessage.StartEventType getStartEventType(); - // optional bool fillWithComputerPlayers = 3; + // optional bool fillWithComputerPlayers = 2; /** - * optional bool fillWithComputerPlayers = 3; + * optional bool fillWithComputerPlayers = 2; */ boolean hasFillWithComputerPlayers(); /** - * optional bool fillWithComputerPlayers = 3; + * optional bool fillWithComputerPlayers = 2; */ boolean getFillWithComputerPlayers(); } @@ -25280,21 +25545,16 @@ public final class ProtoBuf { break; } case 8: { - bitField0_ |= 0x00000001; - gameId_ = input.readUInt32(); - break; - } - case 16: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.StartEventMessage.StartEventType value = de.pokerth.protocol.ProtoBuf.StartEventMessage.StartEventType.valueOf(rawValue); if (value != null) { - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000001; startEventType_ = value; } break; } - case 24: { - bitField0_ |= 0x00000004; + case 16: { + bitField0_ |= 0x00000002; fillWithComputerPlayers_ = input.readBool(); break; } @@ -25381,56 +25641,39 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; - public static final int GAMEID_FIELD_NUMBER = 1; - private int gameId_; + // required .StartEventMessage.StartEventType startEventType = 1; + public static final int STARTEVENTTYPE_FIELD_NUMBER = 1; + private de.pokerth.protocol.ProtoBuf.StartEventMessage.StartEventType startEventType_; /** - * required uint32 gameId = 1; + * required .StartEventMessage.StartEventType startEventType = 1; */ - public boolean hasGameId() { + public boolean hasStartEventType() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * required uint32 gameId = 1; - */ - public int getGameId() { - return gameId_; - } - - // required .StartEventMessage.StartEventType startEventType = 2; - public static final int STARTEVENTTYPE_FIELD_NUMBER = 2; - private de.pokerth.protocol.ProtoBuf.StartEventMessage.StartEventType startEventType_; - /** - * required .StartEventMessage.StartEventType startEventType = 2; - */ - public boolean hasStartEventType() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * required .StartEventMessage.StartEventType startEventType = 2; + * required .StartEventMessage.StartEventType startEventType = 1; */ public de.pokerth.protocol.ProtoBuf.StartEventMessage.StartEventType getStartEventType() { return startEventType_; } - // optional bool fillWithComputerPlayers = 3; - public static final int FILLWITHCOMPUTERPLAYERS_FIELD_NUMBER = 3; + // optional bool fillWithComputerPlayers = 2; + public static final int FILLWITHCOMPUTERPLAYERS_FIELD_NUMBER = 2; private boolean fillWithComputerPlayers_; /** - * optional bool fillWithComputerPlayers = 3; + * optional bool fillWithComputerPlayers = 2; */ public boolean hasFillWithComputerPlayers() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000002) == 0x00000002); } /** - * optional bool fillWithComputerPlayers = 3; + * optional bool fillWithComputerPlayers = 2; */ public boolean getFillWithComputerPlayers() { return fillWithComputerPlayers_; } private void initFields() { - gameId_ = 0; startEventType_ = de.pokerth.protocol.ProtoBuf.StartEventMessage.StartEventType.startEvent; fillWithComputerPlayers_ = false; } @@ -25439,10 +25682,6 @@ public final class ProtoBuf { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - if (!hasGameId()) { - memoizedIsInitialized = 0; - return false; - } if (!hasStartEventType()) { memoizedIsInitialized = 0; return false; @@ -25455,13 +25694,10 @@ public final class ProtoBuf { throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeUInt32(1, gameId_); + output.writeEnum(1, startEventType_.getNumber()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeEnum(2, startEventType_.getNumber()); - } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeBool(3, fillWithComputerPlayers_); + output.writeBool(2, fillWithComputerPlayers_); } } @@ -25473,15 +25709,11 @@ public final class ProtoBuf { size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(1, gameId_); + .computeEnumSize(1, startEventType_.getNumber()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, startEventType_.getNumber()); - } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, fillWithComputerPlayers_); + .computeBoolSize(2, fillWithComputerPlayers_); } memoizedSerializedSize = size; return size; @@ -25574,12 +25806,10 @@ public final class ProtoBuf { public Builder clear() { super.clear(); - gameId_ = 0; - bitField0_ = (bitField0_ & ~0x00000001); startEventType_ = de.pokerth.protocol.ProtoBuf.StartEventMessage.StartEventType.startEvent; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); fillWithComputerPlayers_ = false; - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000002); return this; } @@ -25606,14 +25836,10 @@ public final class ProtoBuf { if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } - result.gameId_ = gameId_; + result.startEventType_ = startEventType_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } - result.startEventType_ = startEventType_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { - to_bitField0_ |= 0x00000004; - } result.fillWithComputerPlayers_ = fillWithComputerPlayers_; result.bitField0_ = to_bitField0_; return result; @@ -25621,9 +25847,6 @@ public final class ProtoBuf { public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.StartEventMessage other) { if (other == de.pokerth.protocol.ProtoBuf.StartEventMessage.getDefaultInstance()) return this; - if (other.hasGameId()) { - setGameId(other.getGameId()); - } if (other.hasStartEventType()) { setStartEventType(other.getStartEventType()); } @@ -25634,10 +25857,6 @@ public final class ProtoBuf { } public final boolean isInitialized() { - if (!hasGameId()) { - - return false; - } if (!hasStartEventType()) { return false; @@ -25664,103 +25883,70 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; - private int gameId_ ; + // required .StartEventMessage.StartEventType startEventType = 1; + private de.pokerth.protocol.ProtoBuf.StartEventMessage.StartEventType startEventType_ = de.pokerth.protocol.ProtoBuf.StartEventMessage.StartEventType.startEvent; /** - * required uint32 gameId = 1; + * required .StartEventMessage.StartEventType startEventType = 1; */ - public boolean hasGameId() { + public boolean hasStartEventType() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * required uint32 gameId = 1; - */ - public int getGameId() { - return gameId_; - } - /** - * required uint32 gameId = 1; - */ - public Builder setGameId(int value) { - bitField0_ |= 0x00000001; - gameId_ = value; - - return this; - } - /** - * required uint32 gameId = 1; - */ - public Builder clearGameId() { - bitField0_ = (bitField0_ & ~0x00000001); - gameId_ = 0; - - return this; - } - - // required .StartEventMessage.StartEventType startEventType = 2; - private de.pokerth.protocol.ProtoBuf.StartEventMessage.StartEventType startEventType_ = de.pokerth.protocol.ProtoBuf.StartEventMessage.StartEventType.startEvent; - /** - * required .StartEventMessage.StartEventType startEventType = 2; - */ - public boolean hasStartEventType() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * required .StartEventMessage.StartEventType startEventType = 2; + * required .StartEventMessage.StartEventType startEventType = 1; */ public de.pokerth.protocol.ProtoBuf.StartEventMessage.StartEventType getStartEventType() { return startEventType_; } /** - * required .StartEventMessage.StartEventType startEventType = 2; + * required .StartEventMessage.StartEventType startEventType = 1; */ public Builder setStartEventType(de.pokerth.protocol.ProtoBuf.StartEventMessage.StartEventType value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000001; startEventType_ = value; return this; } /** - * required .StartEventMessage.StartEventType startEventType = 2; + * required .StartEventMessage.StartEventType startEventType = 1; */ public Builder clearStartEventType() { - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); startEventType_ = de.pokerth.protocol.ProtoBuf.StartEventMessage.StartEventType.startEvent; return this; } - // optional bool fillWithComputerPlayers = 3; + // optional bool fillWithComputerPlayers = 2; private boolean fillWithComputerPlayers_ ; /** - * optional bool fillWithComputerPlayers = 3; + * optional bool fillWithComputerPlayers = 2; */ public boolean hasFillWithComputerPlayers() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000002) == 0x00000002); } /** - * optional bool fillWithComputerPlayers = 3; + * optional bool fillWithComputerPlayers = 2; */ public boolean getFillWithComputerPlayers() { return fillWithComputerPlayers_; } /** - * optional bool fillWithComputerPlayers = 3; + * optional bool fillWithComputerPlayers = 2; */ public Builder setFillWithComputerPlayers(boolean value) { - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000002; fillWithComputerPlayers_ = value; return this; } /** - * optional bool fillWithComputerPlayers = 3; + * optional bool fillWithComputerPlayers = 2; */ public Builder clearFillWithComputerPlayers() { - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000002); fillWithComputerPlayers_ = false; return this; @@ -25779,16 +25965,6 @@ public final class ProtoBuf { public interface StartEventAckMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - - // required uint32 gameId = 1; - /** - * required uint32 gameId = 1; - */ - boolean hasGameId(); - /** - * required uint32 gameId = 1; - */ - int getGameId(); } /** * Protobuf type {@code StartEventAckMessage} @@ -25817,7 +25993,6 @@ public final class ProtoBuf { com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); - int mutable_bitField0_ = 0; try { boolean done = false; while (!done) { @@ -25833,11 +26008,6 @@ public final class ProtoBuf { } break; } - case 8: { - bitField0_ |= 0x00000001; - gameId_ = input.readUInt32(); - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -25864,35 +26034,13 @@ public final class ProtoBuf { return PARSER; } - private int bitField0_; - // required uint32 gameId = 1; - public static final int GAMEID_FIELD_NUMBER = 1; - private int gameId_; - /** - * required uint32 gameId = 1; - */ - public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - /** - * required uint32 gameId = 1; - */ - public int getGameId() { - return gameId_; - } - private void initFields() { - gameId_ = 0; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - if (!hasGameId()) { - memoizedIsInitialized = 0; - return false; - } memoizedIsInitialized = 1; return true; } @@ -25900,9 +26048,6 @@ public final class ProtoBuf { public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeUInt32(1, gameId_); - } } private int memoizedSerializedSize = -1; @@ -25911,10 +26056,6 @@ public final class ProtoBuf { if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(1, gameId_); - } memoizedSerializedSize = size; return size; } @@ -26006,8 +26147,6 @@ public final class ProtoBuf { public Builder clear() { super.clear(); - gameId_ = 0; - bitField0_ = (bitField0_ & ~0x00000001); return this; } @@ -26029,29 +26168,15 @@ public final class ProtoBuf { public de.pokerth.protocol.ProtoBuf.StartEventAckMessage buildPartial() { de.pokerth.protocol.ProtoBuf.StartEventAckMessage result = new de.pokerth.protocol.ProtoBuf.StartEventAckMessage(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { - to_bitField0_ |= 0x00000001; - } - result.gameId_ = gameId_; - result.bitField0_ = to_bitField0_; return result; } public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.StartEventAckMessage other) { if (other == de.pokerth.protocol.ProtoBuf.StartEventAckMessage.getDefaultInstance()) return this; - if (other.hasGameId()) { - setGameId(other.getGameId()); - } return this; } public final boolean isInitialized() { - if (!hasGameId()) { - - return false; - } return true; } @@ -26072,40 +26197,6 @@ public final class ProtoBuf { } return this; } - private int bitField0_; - - // required uint32 gameId = 1; - private int gameId_ ; - /** - * required uint32 gameId = 1; - */ - public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - /** - * required uint32 gameId = 1; - */ - public int getGameId() { - return gameId_; - } - /** - * required uint32 gameId = 1; - */ - public Builder setGameId(int value) { - bitField0_ |= 0x00000001; - gameId_ = value; - - return this; - } - /** - * required uint32 gameId = 1; - */ - public Builder clearGameId() { - bitField0_ = (bitField0_ & ~0x00000001); - gameId_ = 0; - - return this; - } // @@protoc_insertion_point(builder_scope:StartEventAckMessage) } @@ -26121,37 +26212,27 @@ public final class ProtoBuf { public interface GameStartInitialMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - // required uint32 gameId = 1; + // required uint32 startDealerPlayerId = 1; /** - * required uint32 gameId = 1; - */ - boolean hasGameId(); - /** - * required uint32 gameId = 1; - */ - int getGameId(); - - // required uint32 startDealerPlayerId = 2; - /** - * required uint32 startDealerPlayerId = 2; + * required uint32 startDealerPlayerId = 1; */ boolean hasStartDealerPlayerId(); /** - * required uint32 startDealerPlayerId = 2; + * required uint32 startDealerPlayerId = 1; */ int getStartDealerPlayerId(); - // repeated uint32 playerSeats = 3 [packed = true]; + // repeated uint32 playerSeats = 2 [packed = true]; /** - * repeated uint32 playerSeats = 3 [packed = true]; + * repeated uint32 playerSeats = 2 [packed = true]; */ java.util.List getPlayerSeatsList(); /** - * repeated uint32 playerSeats = 3 [packed = true]; + * repeated uint32 playerSeats = 2 [packed = true]; */ int getPlayerSeatsCount(); /** - * repeated uint32 playerSeats = 3 [packed = true]; + * repeated uint32 playerSeats = 2 [packed = true]; */ int getPlayerSeats(int index); } @@ -26200,28 +26281,23 @@ public final class ProtoBuf { } case 8: { bitField0_ |= 0x00000001; - gameId_ = input.readUInt32(); - break; - } - case 16: { - bitField0_ |= 0x00000002; startDealerPlayerId_ = input.readUInt32(); break; } - case 24: { - if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { + case 16: { + if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { playerSeats_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000004; + mutable_bitField0_ |= 0x00000002; } playerSeats_.add(input.readUInt32()); break; } - case 26: { + case 18: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); - if (!((mutable_bitField0_ & 0x00000004) == 0x00000004) && input.getBytesUntilLimit() > 0) { + if (!((mutable_bitField0_ & 0x00000002) == 0x00000002) && input.getBytesUntilLimit() > 0) { playerSeats_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000004; + mutable_bitField0_ |= 0x00000002; } while (input.getBytesUntilLimit() > 0) { playerSeats_.add(input.readUInt32()); @@ -26237,7 +26313,7 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) { + if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { playerSeats_ = java.util.Collections.unmodifiableList(playerSeats_); } makeExtensionsImmutable(); @@ -26259,56 +26335,40 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; - public static final int GAMEID_FIELD_NUMBER = 1; - private int gameId_; + // required uint32 startDealerPlayerId = 1; + public static final int STARTDEALERPLAYERID_FIELD_NUMBER = 1; + private int startDealerPlayerId_; /** - * required uint32 gameId = 1; + * required uint32 startDealerPlayerId = 1; */ - public boolean hasGameId() { + public boolean hasStartDealerPlayerId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * required uint32 gameId = 1; - */ - public int getGameId() { - return gameId_; - } - - // required uint32 startDealerPlayerId = 2; - public static final int STARTDEALERPLAYERID_FIELD_NUMBER = 2; - private int startDealerPlayerId_; - /** - * required uint32 startDealerPlayerId = 2; - */ - public boolean hasStartDealerPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * required uint32 startDealerPlayerId = 2; + * required uint32 startDealerPlayerId = 1; */ public int getStartDealerPlayerId() { return startDealerPlayerId_; } - // repeated uint32 playerSeats = 3 [packed = true]; - public static final int PLAYERSEATS_FIELD_NUMBER = 3; + // repeated uint32 playerSeats = 2 [packed = true]; + public static final int PLAYERSEATS_FIELD_NUMBER = 2; private java.util.List playerSeats_; /** - * repeated uint32 playerSeats = 3 [packed = true]; + * repeated uint32 playerSeats = 2 [packed = true]; */ public java.util.List getPlayerSeatsList() { return playerSeats_; } /** - * repeated uint32 playerSeats = 3 [packed = true]; + * repeated uint32 playerSeats = 2 [packed = true]; */ public int getPlayerSeatsCount() { return playerSeats_.size(); } /** - * repeated uint32 playerSeats = 3 [packed = true]; + * repeated uint32 playerSeats = 2 [packed = true]; */ public int getPlayerSeats(int index) { return playerSeats_.get(index); @@ -26316,7 +26376,6 @@ public final class ProtoBuf { private int playerSeatsMemoizedSerializedSize = -1; private void initFields() { - gameId_ = 0; startDealerPlayerId_ = 0; playerSeats_ = java.util.Collections.emptyList(); } @@ -26325,10 +26384,6 @@ public final class ProtoBuf { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - if (!hasGameId()) { - memoizedIsInitialized = 0; - return false; - } if (!hasStartDealerPlayerId()) { memoizedIsInitialized = 0; return false; @@ -26341,13 +26396,10 @@ public final class ProtoBuf { throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeUInt32(1, gameId_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeUInt32(2, startDealerPlayerId_); + output.writeUInt32(1, startDealerPlayerId_); } if (getPlayerSeatsList().size() > 0) { - output.writeRawVarint32(26); + output.writeRawVarint32(18); output.writeRawVarint32(playerSeatsMemoizedSerializedSize); } for (int i = 0; i < playerSeats_.size(); i++) { @@ -26363,11 +26415,7 @@ public final class ProtoBuf { size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(1, gameId_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(2, startDealerPlayerId_); + .computeUInt32Size(1, startDealerPlayerId_); } { int dataSize = 0; @@ -26474,12 +26522,10 @@ public final class ProtoBuf { public Builder clear() { super.clear(); - gameId_ = 0; - bitField0_ = (bitField0_ & ~0x00000001); startDealerPlayerId_ = 0; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); playerSeats_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000002); return this; } @@ -26506,14 +26552,10 @@ public final class ProtoBuf { if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } - result.gameId_ = gameId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { - to_bitField0_ |= 0x00000002; - } result.startDealerPlayerId_ = startDealerPlayerId_; - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000002) == 0x00000002)) { playerSeats_ = java.util.Collections.unmodifiableList(playerSeats_); - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000002); } result.playerSeats_ = playerSeats_; result.bitField0_ = to_bitField0_; @@ -26522,16 +26564,13 @@ public final class ProtoBuf { public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.GameStartInitialMessage other) { if (other == de.pokerth.protocol.ProtoBuf.GameStartInitialMessage.getDefaultInstance()) return this; - if (other.hasGameId()) { - setGameId(other.getGameId()); - } if (other.hasStartDealerPlayerId()) { setStartDealerPlayerId(other.getStartDealerPlayerId()); } if (!other.playerSeats_.isEmpty()) { if (playerSeats_.isEmpty()) { playerSeats_ = other.playerSeats_; - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000002); } else { ensurePlayerSeatsIsMutable(); playerSeats_.addAll(other.playerSeats_); @@ -26542,10 +26581,6 @@ public final class ProtoBuf { } public final boolean isInitialized() { - if (!hasGameId()) { - - return false; - } if (!hasStartDealerPlayerId()) { return false; @@ -26572,101 +26607,68 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; - private int gameId_ ; + // required uint32 startDealerPlayerId = 1; + private int startDealerPlayerId_ ; /** - * required uint32 gameId = 1; + * required uint32 startDealerPlayerId = 1; */ - public boolean hasGameId() { + public boolean hasStartDealerPlayerId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * required uint32 gameId = 1; - */ - public int getGameId() { - return gameId_; - } - /** - * required uint32 gameId = 1; - */ - public Builder setGameId(int value) { - bitField0_ |= 0x00000001; - gameId_ = value; - - return this; - } - /** - * required uint32 gameId = 1; - */ - public Builder clearGameId() { - bitField0_ = (bitField0_ & ~0x00000001); - gameId_ = 0; - - return this; - } - - // required uint32 startDealerPlayerId = 2; - private int startDealerPlayerId_ ; - /** - * required uint32 startDealerPlayerId = 2; - */ - public boolean hasStartDealerPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * required uint32 startDealerPlayerId = 2; + * required uint32 startDealerPlayerId = 1; */ public int getStartDealerPlayerId() { return startDealerPlayerId_; } /** - * required uint32 startDealerPlayerId = 2; + * required uint32 startDealerPlayerId = 1; */ public Builder setStartDealerPlayerId(int value) { - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000001; startDealerPlayerId_ = value; return this; } /** - * required uint32 startDealerPlayerId = 2; + * required uint32 startDealerPlayerId = 1; */ public Builder clearStartDealerPlayerId() { - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); startDealerPlayerId_ = 0; return this; } - // repeated uint32 playerSeats = 3 [packed = true]; + // repeated uint32 playerSeats = 2 [packed = true]; private java.util.List playerSeats_ = java.util.Collections.emptyList(); private void ensurePlayerSeatsIsMutable() { - if (!((bitField0_ & 0x00000004) == 0x00000004)) { + if (!((bitField0_ & 0x00000002) == 0x00000002)) { playerSeats_ = new java.util.ArrayList(playerSeats_); - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000002; } } /** - * repeated uint32 playerSeats = 3 [packed = true]; + * repeated uint32 playerSeats = 2 [packed = true]; */ public java.util.List getPlayerSeatsList() { return java.util.Collections.unmodifiableList(playerSeats_); } /** - * repeated uint32 playerSeats = 3 [packed = true]; + * repeated uint32 playerSeats = 2 [packed = true]; */ public int getPlayerSeatsCount() { return playerSeats_.size(); } /** - * repeated uint32 playerSeats = 3 [packed = true]; + * repeated uint32 playerSeats = 2 [packed = true]; */ public int getPlayerSeats(int index) { return playerSeats_.get(index); } /** - * repeated uint32 playerSeats = 3 [packed = true]; + * repeated uint32 playerSeats = 2 [packed = true]; */ public Builder setPlayerSeats( int index, int value) { @@ -26676,7 +26678,7 @@ public final class ProtoBuf { return this; } /** - * repeated uint32 playerSeats = 3 [packed = true]; + * repeated uint32 playerSeats = 2 [packed = true]; */ public Builder addPlayerSeats(int value) { ensurePlayerSeatsIsMutable(); @@ -26685,7 +26687,7 @@ public final class ProtoBuf { return this; } /** - * repeated uint32 playerSeats = 3 [packed = true]; + * repeated uint32 playerSeats = 2 [packed = true]; */ public Builder addAllPlayerSeats( java.lang.Iterable values) { @@ -26695,11 +26697,11 @@ public final class ProtoBuf { return this; } /** - * repeated uint32 playerSeats = 3 [packed = true]; + * repeated uint32 playerSeats = 2 [packed = true]; */ public Builder clearPlayerSeats() { playerSeats_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000002); return this; } @@ -26718,48 +26720,38 @@ public final class ProtoBuf { public interface GameStartRejoinMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - // required uint32 gameId = 1; + // required uint32 startDealerPlayerId = 1; /** - * required uint32 gameId = 1; - */ - boolean hasGameId(); - /** - * required uint32 gameId = 1; - */ - int getGameId(); - - // required uint32 startDealerPlayerId = 2; - /** - * required uint32 startDealerPlayerId = 2; + * required uint32 startDealerPlayerId = 1; */ boolean hasStartDealerPlayerId(); /** - * required uint32 startDealerPlayerId = 2; + * required uint32 startDealerPlayerId = 1; */ int getStartDealerPlayerId(); - // required uint32 handNum = 3; + // required uint32 handNum = 2; /** - * required uint32 handNum = 3; + * required uint32 handNum = 2; */ boolean hasHandNum(); /** - * required uint32 handNum = 3; + * required uint32 handNum = 2; */ int getHandNum(); - // repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; + // repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 3; /** - * repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; + * repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 3; */ java.util.List getRejoinPlayerDataList(); /** - * repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; + * repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 3; */ de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData getRejoinPlayerData(int index); /** - * repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; + * repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 3; */ int getRejoinPlayerDataCount(); } @@ -26808,23 +26800,18 @@ public final class ProtoBuf { } case 8: { bitField0_ |= 0x00000001; - gameId_ = input.readUInt32(); + startDealerPlayerId_ = input.readUInt32(); break; } case 16: { bitField0_ |= 0x00000002; - startDealerPlayerId_ = input.readUInt32(); - break; - } - case 24: { - bitField0_ |= 0x00000004; handNum_ = input.readUInt32(); break; } - case 34: { - if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) { + case 26: { + if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { rejoinPlayerData_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000008; + mutable_bitField0_ |= 0x00000004; } rejoinPlayerData_.add(input.readMessage(de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData.PARSER, extensionRegistry)); break; @@ -26837,7 +26824,7 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) { + if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) { rejoinPlayerData_ = java.util.Collections.unmodifiableList(rejoinPlayerData_); } makeExtensionsImmutable(); @@ -27289,84 +27276,68 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; - public static final int GAMEID_FIELD_NUMBER = 1; - private int gameId_; + // required uint32 startDealerPlayerId = 1; + public static final int STARTDEALERPLAYERID_FIELD_NUMBER = 1; + private int startDealerPlayerId_; /** - * required uint32 gameId = 1; + * required uint32 startDealerPlayerId = 1; */ - public boolean hasGameId() { + public boolean hasStartDealerPlayerId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * required uint32 gameId = 1; - */ - public int getGameId() { - return gameId_; - } - - // required uint32 startDealerPlayerId = 2; - public static final int STARTDEALERPLAYERID_FIELD_NUMBER = 2; - private int startDealerPlayerId_; - /** - * required uint32 startDealerPlayerId = 2; - */ - public boolean hasStartDealerPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * required uint32 startDealerPlayerId = 2; + * required uint32 startDealerPlayerId = 1; */ public int getStartDealerPlayerId() { return startDealerPlayerId_; } - // required uint32 handNum = 3; - public static final int HANDNUM_FIELD_NUMBER = 3; + // required uint32 handNum = 2; + public static final int HANDNUM_FIELD_NUMBER = 2; private int handNum_; /** - * required uint32 handNum = 3; + * required uint32 handNum = 2; */ public boolean hasHandNum() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000002) == 0x00000002); } /** - * required uint32 handNum = 3; + * required uint32 handNum = 2; */ public int getHandNum() { return handNum_; } - // repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; - public static final int REJOINPLAYERDATA_FIELD_NUMBER = 4; + // repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 3; + public static final int REJOINPLAYERDATA_FIELD_NUMBER = 3; private java.util.List rejoinPlayerData_; /** - * repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; + * repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 3; */ public java.util.List getRejoinPlayerDataList() { return rejoinPlayerData_; } /** - * repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; + * repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 3; */ public java.util.List getRejoinPlayerDataOrBuilderList() { return rejoinPlayerData_; } /** - * repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; + * repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 3; */ public int getRejoinPlayerDataCount() { return rejoinPlayerData_.size(); } /** - * repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; + * repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 3; */ public de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData getRejoinPlayerData(int index) { return rejoinPlayerData_.get(index); } /** - * repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; + * repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 3; */ public de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerDataOrBuilder getRejoinPlayerDataOrBuilder( int index) { @@ -27374,7 +27345,6 @@ public final class ProtoBuf { } private void initFields() { - gameId_ = 0; startDealerPlayerId_ = 0; handNum_ = 0; rejoinPlayerData_ = java.util.Collections.emptyList(); @@ -27384,10 +27354,6 @@ public final class ProtoBuf { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - if (!hasGameId()) { - memoizedIsInitialized = 0; - return false; - } if (!hasStartDealerPlayerId()) { memoizedIsInitialized = 0; return false; @@ -27410,16 +27376,13 @@ public final class ProtoBuf { throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeUInt32(1, gameId_); + output.writeUInt32(1, startDealerPlayerId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeUInt32(2, startDealerPlayerId_); - } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeUInt32(3, handNum_); + output.writeUInt32(2, handNum_); } for (int i = 0; i < rejoinPlayerData_.size(); i++) { - output.writeMessage(4, rejoinPlayerData_.get(i)); + output.writeMessage(3, rejoinPlayerData_.get(i)); } } @@ -27431,19 +27394,15 @@ public final class ProtoBuf { size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(1, gameId_); + .computeUInt32Size(1, startDealerPlayerId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(2, startDealerPlayerId_); - } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(3, handNum_); + .computeUInt32Size(2, handNum_); } for (int i = 0; i < rejoinPlayerData_.size(); i++) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, rejoinPlayerData_.get(i)); + .computeMessageSize(3, rejoinPlayerData_.get(i)); } memoizedSerializedSize = size; return size; @@ -27536,14 +27495,12 @@ public final class ProtoBuf { public Builder clear() { super.clear(); - gameId_ = 0; - bitField0_ = (bitField0_ & ~0x00000001); startDealerPlayerId_ = 0; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); handNum_ = 0; - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000002); rejoinPlayerData_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000004); return this; } @@ -27570,18 +27527,14 @@ public final class ProtoBuf { if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } - result.gameId_ = gameId_; + result.startDealerPlayerId_ = startDealerPlayerId_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } - result.startDealerPlayerId_ = startDealerPlayerId_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { - to_bitField0_ |= 0x00000004; - } result.handNum_ = handNum_; - if (((bitField0_ & 0x00000008) == 0x00000008)) { + if (((bitField0_ & 0x00000004) == 0x00000004)) { rejoinPlayerData_ = java.util.Collections.unmodifiableList(rejoinPlayerData_); - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000004); } result.rejoinPlayerData_ = rejoinPlayerData_; result.bitField0_ = to_bitField0_; @@ -27590,9 +27543,6 @@ public final class ProtoBuf { public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage other) { if (other == de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.getDefaultInstance()) return this; - if (other.hasGameId()) { - setGameId(other.getGameId()); - } if (other.hasStartDealerPlayerId()) { setStartDealerPlayerId(other.getStartDealerPlayerId()); } @@ -27602,7 +27552,7 @@ public final class ProtoBuf { if (!other.rejoinPlayerData_.isEmpty()) { if (rejoinPlayerData_.isEmpty()) { rejoinPlayerData_ = other.rejoinPlayerData_; - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000004); } else { ensureRejoinPlayerDataIsMutable(); rejoinPlayerData_.addAll(other.rejoinPlayerData_); @@ -27613,10 +27563,6 @@ public final class ProtoBuf { } public final boolean isInitialized() { - if (!hasGameId()) { - - return false; - } if (!hasStartDealerPlayerId()) { return false; @@ -27653,135 +27599,102 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; - private int gameId_ ; + // required uint32 startDealerPlayerId = 1; + private int startDealerPlayerId_ ; /** - * required uint32 gameId = 1; + * required uint32 startDealerPlayerId = 1; */ - public boolean hasGameId() { + public boolean hasStartDealerPlayerId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * required uint32 gameId = 1; - */ - public int getGameId() { - return gameId_; - } - /** - * required uint32 gameId = 1; - */ - public Builder setGameId(int value) { - bitField0_ |= 0x00000001; - gameId_ = value; - - return this; - } - /** - * required uint32 gameId = 1; - */ - public Builder clearGameId() { - bitField0_ = (bitField0_ & ~0x00000001); - gameId_ = 0; - - return this; - } - - // required uint32 startDealerPlayerId = 2; - private int startDealerPlayerId_ ; - /** - * required uint32 startDealerPlayerId = 2; - */ - public boolean hasStartDealerPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * required uint32 startDealerPlayerId = 2; + * required uint32 startDealerPlayerId = 1; */ public int getStartDealerPlayerId() { return startDealerPlayerId_; } /** - * required uint32 startDealerPlayerId = 2; + * required uint32 startDealerPlayerId = 1; */ public Builder setStartDealerPlayerId(int value) { - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000001; startDealerPlayerId_ = value; return this; } /** - * required uint32 startDealerPlayerId = 2; + * required uint32 startDealerPlayerId = 1; */ public Builder clearStartDealerPlayerId() { - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); startDealerPlayerId_ = 0; return this; } - // required uint32 handNum = 3; + // required uint32 handNum = 2; private int handNum_ ; /** - * required uint32 handNum = 3; + * required uint32 handNum = 2; */ public boolean hasHandNum() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000002) == 0x00000002); } /** - * required uint32 handNum = 3; + * required uint32 handNum = 2; */ public int getHandNum() { return handNum_; } /** - * required uint32 handNum = 3; + * required uint32 handNum = 2; */ public Builder setHandNum(int value) { - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000002; handNum_ = value; return this; } /** - * required uint32 handNum = 3; + * required uint32 handNum = 2; */ public Builder clearHandNum() { - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000002); handNum_ = 0; return this; } - // repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; + // repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 3; private java.util.List rejoinPlayerData_ = java.util.Collections.emptyList(); private void ensureRejoinPlayerDataIsMutable() { - if (!((bitField0_ & 0x00000008) == 0x00000008)) { + if (!((bitField0_ & 0x00000004) == 0x00000004)) { rejoinPlayerData_ = new java.util.ArrayList(rejoinPlayerData_); - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000004; } } /** - * repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; + * repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 3; */ public java.util.List getRejoinPlayerDataList() { return java.util.Collections.unmodifiableList(rejoinPlayerData_); } /** - * repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; + * repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 3; */ public int getRejoinPlayerDataCount() { return rejoinPlayerData_.size(); } /** - * repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; + * repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 3; */ public de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData getRejoinPlayerData(int index) { return rejoinPlayerData_.get(index); } /** - * repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; + * repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 3; */ public Builder setRejoinPlayerData( int index, de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData value) { @@ -27794,7 +27707,7 @@ public final class ProtoBuf { return this; } /** - * repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; + * repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 3; */ public Builder setRejoinPlayerData( int index, de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData.Builder builderForValue) { @@ -27804,7 +27717,7 @@ public final class ProtoBuf { return this; } /** - * repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; + * repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 3; */ public Builder addRejoinPlayerData(de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData value) { if (value == null) { @@ -27816,7 +27729,7 @@ public final class ProtoBuf { return this; } /** - * repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; + * repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 3; */ public Builder addRejoinPlayerData( int index, de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData value) { @@ -27829,7 +27742,7 @@ public final class ProtoBuf { return this; } /** - * repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; + * repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 3; */ public Builder addRejoinPlayerData( de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData.Builder builderForValue) { @@ -27839,7 +27752,7 @@ public final class ProtoBuf { return this; } /** - * repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; + * repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 3; */ public Builder addRejoinPlayerData( int index, de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData.Builder builderForValue) { @@ -27849,7 +27762,7 @@ public final class ProtoBuf { return this; } /** - * repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; + * repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 3; */ public Builder addAllRejoinPlayerData( java.lang.Iterable values) { @@ -27859,16 +27772,16 @@ public final class ProtoBuf { return this; } /** - * repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; + * repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 3; */ public Builder clearRejoinPlayerData() { rejoinPlayerData_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000004); return this; } /** - * repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; + * repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 3; */ public Builder removeRejoinPlayerData(int index) { ensureRejoinPlayerDataIsMutable(); @@ -27891,67 +27804,57 @@ public final class ProtoBuf { public interface HandStartMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - // required uint32 gameId = 1; + // optional .HandStartMessage.PlainCards plainCards = 1; /** - * required uint32 gameId = 1; - */ - boolean hasGameId(); - /** - * required uint32 gameId = 1; - */ - int getGameId(); - - // optional .HandStartMessage.PlainCards plainCards = 2; - /** - * optional .HandStartMessage.PlainCards plainCards = 2; + * optional .HandStartMessage.PlainCards plainCards = 1; */ boolean hasPlainCards(); /** - * optional .HandStartMessage.PlainCards plainCards = 2; + * optional .HandStartMessage.PlainCards plainCards = 1; */ de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards getPlainCards(); - // optional bytes encryptedCards = 3; + // optional bytes encryptedCards = 2; /** - * optional bytes encryptedCards = 3; + * optional bytes encryptedCards = 2; */ boolean hasEncryptedCards(); /** - * optional bytes encryptedCards = 3; + * optional bytes encryptedCards = 2; */ com.google.protobuf.ByteString getEncryptedCards(); - // required uint32 smallBlind = 4; + // required uint32 smallBlind = 3; /** - * required uint32 smallBlind = 4; + * required uint32 smallBlind = 3; */ boolean hasSmallBlind(); /** - * required uint32 smallBlind = 4; + * required uint32 smallBlind = 3; */ int getSmallBlind(); - // repeated .NetPlayerState seatStates = 5; + // repeated .NetPlayerState seatStates = 4; /** - * repeated .NetPlayerState seatStates = 5; + * repeated .NetPlayerState seatStates = 4; */ java.util.List getSeatStatesList(); /** - * repeated .NetPlayerState seatStates = 5; + * repeated .NetPlayerState seatStates = 4; */ int getSeatStatesCount(); /** - * repeated .NetPlayerState seatStates = 5; + * repeated .NetPlayerState seatStates = 4; */ de.pokerth.protocol.ProtoBuf.NetPlayerState getSeatStates(int index); - // optional uint32 dealerPlayerId = 6; + // optional uint32 dealerPlayerId = 5; /** - * optional uint32 dealerPlayerId = 6; + * optional uint32 dealerPlayerId = 5; */ boolean hasDealerPlayerId(); /** - * optional uint32 dealerPlayerId = 6; + * optional uint32 dealerPlayerId = 5; */ int getDealerPlayerId(); } @@ -27998,14 +27901,9 @@ public final class ProtoBuf { } break; } - case 8: { - bitField0_ |= 0x00000001; - gameId_ = input.readUInt32(); - break; - } - case 18: { + case 10: { de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards.Builder subBuilder = null; - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000001) == 0x00000001)) { subBuilder = plainCards_.toBuilder(); } plainCards_ = input.readMessage(de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards.PARSER, extensionRegistry); @@ -28013,41 +27911,41 @@ public final class ProtoBuf { subBuilder.mergeFrom(plainCards_); plainCards_ = subBuilder.buildPartial(); } - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000001; break; } - case 26: { - bitField0_ |= 0x00000004; + case 18: { + bitField0_ |= 0x00000002; encryptedCards_ = input.readBytes(); break; } - case 32: { - bitField0_ |= 0x00000008; + case 24: { + bitField0_ |= 0x00000004; smallBlind_ = input.readUInt32(); break; } - case 40: { + case 32: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.NetPlayerState value = de.pokerth.protocol.ProtoBuf.NetPlayerState.valueOf(rawValue); if (value != null) { - if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) { + if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) { seatStates_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000010; + mutable_bitField0_ |= 0x00000008; } seatStates_.add(value); } break; } - case 42: { + case 34: { int length = input.readRawVarint32(); int oldLimit = input.pushLimit(length); while(input.getBytesUntilLimit() > 0) { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.NetPlayerState value = de.pokerth.protocol.ProtoBuf.NetPlayerState.valueOf(rawValue); if (value != null) { - if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) { + if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) { seatStates_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000010; + mutable_bitField0_ |= 0x00000008; } seatStates_.add(value); } @@ -28055,8 +27953,8 @@ public final class ProtoBuf { input.popLimit(oldLimit); break; } - case 48: { - bitField0_ |= 0x00000010; + case 40: { + bitField0_ |= 0x00000008; dealerPlayerId_ = input.readUInt32(); break; } @@ -28068,7 +27966,7 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) { + if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) { seatStates_ = java.util.Collections.unmodifiableList(seatStates_); } makeExtensionsImmutable(); @@ -28520,110 +28418,93 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; - public static final int GAMEID_FIELD_NUMBER = 1; - private int gameId_; + // optional .HandStartMessage.PlainCards plainCards = 1; + public static final int PLAINCARDS_FIELD_NUMBER = 1; + private de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards plainCards_; /** - * required uint32 gameId = 1; + * optional .HandStartMessage.PlainCards plainCards = 1; */ - public boolean hasGameId() { + public boolean hasPlainCards() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * required uint32 gameId = 1; - */ - public int getGameId() { - return gameId_; - } - - // optional .HandStartMessage.PlainCards plainCards = 2; - public static final int PLAINCARDS_FIELD_NUMBER = 2; - private de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards plainCards_; - /** - * optional .HandStartMessage.PlainCards plainCards = 2; - */ - public boolean hasPlainCards() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * optional .HandStartMessage.PlainCards plainCards = 2; + * optional .HandStartMessage.PlainCards plainCards = 1; */ public de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards getPlainCards() { return plainCards_; } - // optional bytes encryptedCards = 3; - public static final int ENCRYPTEDCARDS_FIELD_NUMBER = 3; + // optional bytes encryptedCards = 2; + public static final int ENCRYPTEDCARDS_FIELD_NUMBER = 2; private com.google.protobuf.ByteString encryptedCards_; /** - * optional bytes encryptedCards = 3; + * optional bytes encryptedCards = 2; */ public boolean hasEncryptedCards() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000002) == 0x00000002); } /** - * optional bytes encryptedCards = 3; + * optional bytes encryptedCards = 2; */ public com.google.protobuf.ByteString getEncryptedCards() { return encryptedCards_; } - // required uint32 smallBlind = 4; - public static final int SMALLBLIND_FIELD_NUMBER = 4; + // required uint32 smallBlind = 3; + public static final int SMALLBLIND_FIELD_NUMBER = 3; private int smallBlind_; /** - * required uint32 smallBlind = 4; + * required uint32 smallBlind = 3; */ public boolean hasSmallBlind() { - return ((bitField0_ & 0x00000008) == 0x00000008); + return ((bitField0_ & 0x00000004) == 0x00000004); } /** - * required uint32 smallBlind = 4; + * required uint32 smallBlind = 3; */ public int getSmallBlind() { return smallBlind_; } - // repeated .NetPlayerState seatStates = 5; - public static final int SEATSTATES_FIELD_NUMBER = 5; + // repeated .NetPlayerState seatStates = 4; + public static final int SEATSTATES_FIELD_NUMBER = 4; private java.util.List seatStates_; /** - * repeated .NetPlayerState seatStates = 5; + * repeated .NetPlayerState seatStates = 4; */ public java.util.List getSeatStatesList() { return seatStates_; } /** - * repeated .NetPlayerState seatStates = 5; + * repeated .NetPlayerState seatStates = 4; */ public int getSeatStatesCount() { return seatStates_.size(); } /** - * repeated .NetPlayerState seatStates = 5; + * repeated .NetPlayerState seatStates = 4; */ public de.pokerth.protocol.ProtoBuf.NetPlayerState getSeatStates(int index) { return seatStates_.get(index); } - // optional uint32 dealerPlayerId = 6; - public static final int DEALERPLAYERID_FIELD_NUMBER = 6; + // optional uint32 dealerPlayerId = 5; + public static final int DEALERPLAYERID_FIELD_NUMBER = 5; private int dealerPlayerId_; /** - * optional uint32 dealerPlayerId = 6; + * optional uint32 dealerPlayerId = 5; */ public boolean hasDealerPlayerId() { - return ((bitField0_ & 0x00000010) == 0x00000010); + return ((bitField0_ & 0x00000008) == 0x00000008); } /** - * optional uint32 dealerPlayerId = 6; + * optional uint32 dealerPlayerId = 5; */ public int getDealerPlayerId() { return dealerPlayerId_; } private void initFields() { - gameId_ = 0; plainCards_ = de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards.getDefaultInstance(); encryptedCards_ = com.google.protobuf.ByteString.EMPTY; smallBlind_ = 0; @@ -28635,10 +28516,6 @@ public final class ProtoBuf { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - if (!hasGameId()) { - memoizedIsInitialized = 0; - return false; - } if (!hasSmallBlind()) { memoizedIsInitialized = 0; return false; @@ -28657,22 +28534,19 @@ public final class ProtoBuf { throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeUInt32(1, gameId_); + output.writeMessage(1, plainCards_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeMessage(2, plainCards_); + output.writeBytes(2, encryptedCards_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeBytes(3, encryptedCards_); - } - if (((bitField0_ & 0x00000008) == 0x00000008)) { - output.writeUInt32(4, smallBlind_); + output.writeUInt32(3, smallBlind_); } for (int i = 0; i < seatStates_.size(); i++) { - output.writeEnum(5, seatStates_.get(i).getNumber()); + output.writeEnum(4, seatStates_.get(i).getNumber()); } - if (((bitField0_ & 0x00000010) == 0x00000010)) { - output.writeUInt32(6, dealerPlayerId_); + if (((bitField0_ & 0x00000008) == 0x00000008)) { + output.writeUInt32(5, dealerPlayerId_); } } @@ -28684,19 +28558,15 @@ public final class ProtoBuf { size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(1, gameId_); + .computeMessageSize(1, plainCards_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, plainCards_); + .computeBytesSize(2, encryptedCards_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream - .computeBytesSize(3, encryptedCards_); - } - if (((bitField0_ & 0x00000008) == 0x00000008)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(4, smallBlind_); + .computeUInt32Size(3, smallBlind_); } { int dataSize = 0; @@ -28707,9 +28577,9 @@ public final class ProtoBuf { size += dataSize; size += 1 * seatStates_.size(); } - if (((bitField0_ & 0x00000010) == 0x00000010)) { + if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(6, dealerPlayerId_); + .computeUInt32Size(5, dealerPlayerId_); } memoizedSerializedSize = size; return size; @@ -28802,18 +28672,16 @@ public final class ProtoBuf { public Builder clear() { super.clear(); - gameId_ = 0; - bitField0_ = (bitField0_ & ~0x00000001); plainCards_ = de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards.getDefaultInstance(); - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); encryptedCards_ = com.google.protobuf.ByteString.EMPTY; - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000002); smallBlind_ = 0; - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000004); seatStates_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000008); dealerPlayerId_ = 0; - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000010); return this; } @@ -28840,26 +28708,22 @@ public final class ProtoBuf { if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } - result.gameId_ = gameId_; + result.plainCards_ = plainCards_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } - result.plainCards_ = plainCards_; + result.encryptedCards_ = encryptedCards_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } - result.encryptedCards_ = encryptedCards_; - if (((from_bitField0_ & 0x00000008) == 0x00000008)) { - to_bitField0_ |= 0x00000008; - } result.smallBlind_ = smallBlind_; - if (((bitField0_ & 0x00000010) == 0x00000010)) { + if (((bitField0_ & 0x00000008) == 0x00000008)) { seatStates_ = java.util.Collections.unmodifiableList(seatStates_); - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000008); } result.seatStates_ = seatStates_; - if (((from_bitField0_ & 0x00000020) == 0x00000020)) { - to_bitField0_ |= 0x00000010; + if (((from_bitField0_ & 0x00000010) == 0x00000010)) { + to_bitField0_ |= 0x00000008; } result.dealerPlayerId_ = dealerPlayerId_; result.bitField0_ = to_bitField0_; @@ -28868,9 +28732,6 @@ public final class ProtoBuf { public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.HandStartMessage other) { if (other == de.pokerth.protocol.ProtoBuf.HandStartMessage.getDefaultInstance()) return this; - if (other.hasGameId()) { - setGameId(other.getGameId()); - } if (other.hasPlainCards()) { mergePlainCards(other.getPlainCards()); } @@ -28883,7 +28744,7 @@ public final class ProtoBuf { if (!other.seatStates_.isEmpty()) { if (seatStates_.isEmpty()) { seatStates_ = other.seatStates_; - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000008); } else { ensureSeatStatesIsMutable(); seatStates_.addAll(other.seatStates_); @@ -28897,10 +28758,6 @@ public final class ProtoBuf { } public final boolean isInitialized() { - if (!hasGameId()) { - - return false; - } if (!hasSmallBlind()) { return false; @@ -28933,55 +28790,22 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; - private int gameId_ ; + // optional .HandStartMessage.PlainCards plainCards = 1; + private de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards plainCards_ = de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards.getDefaultInstance(); /** - * required uint32 gameId = 1; + * optional .HandStartMessage.PlainCards plainCards = 1; */ - public boolean hasGameId() { + public boolean hasPlainCards() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * required uint32 gameId = 1; - */ - public int getGameId() { - return gameId_; - } - /** - * required uint32 gameId = 1; - */ - public Builder setGameId(int value) { - bitField0_ |= 0x00000001; - gameId_ = value; - - return this; - } - /** - * required uint32 gameId = 1; - */ - public Builder clearGameId() { - bitField0_ = (bitField0_ & ~0x00000001); - gameId_ = 0; - - return this; - } - - // optional .HandStartMessage.PlainCards plainCards = 2; - private de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards plainCards_ = de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards.getDefaultInstance(); - /** - * optional .HandStartMessage.PlainCards plainCards = 2; - */ - public boolean hasPlainCards() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * optional .HandStartMessage.PlainCards plainCards = 2; + * optional .HandStartMessage.PlainCards plainCards = 1; */ public de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards getPlainCards() { return plainCards_; } /** - * optional .HandStartMessage.PlainCards plainCards = 2; + * optional .HandStartMessage.PlainCards plainCards = 1; */ public Builder setPlainCards(de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards value) { if (value == null) { @@ -28989,24 +28813,24 @@ public final class ProtoBuf { } plainCards_ = value; - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000001; return this; } /** - * optional .HandStartMessage.PlainCards plainCards = 2; + * optional .HandStartMessage.PlainCards plainCards = 1; */ public Builder setPlainCards( de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards.Builder builderForValue) { plainCards_ = builderForValue.build(); - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000001; return this; } /** - * optional .HandStartMessage.PlainCards plainCards = 2; + * optional .HandStartMessage.PlainCards plainCards = 1; */ public Builder mergePlainCards(de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards value) { - if (((bitField0_ & 0x00000002) == 0x00000002) && + if (((bitField0_ & 0x00000001) == 0x00000001) && plainCards_ != de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards.getDefaultInstance()) { plainCards_ = de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards.newBuilder(plainCards_).mergeFrom(value).buildPartial(); @@ -29014,117 +28838,117 @@ public final class ProtoBuf { plainCards_ = value; } - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000001; return this; } /** - * optional .HandStartMessage.PlainCards plainCards = 2; + * optional .HandStartMessage.PlainCards plainCards = 1; */ public Builder clearPlainCards() { plainCards_ = de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards.getDefaultInstance(); - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); return this; } - // optional bytes encryptedCards = 3; + // optional bytes encryptedCards = 2; private com.google.protobuf.ByteString encryptedCards_ = com.google.protobuf.ByteString.EMPTY; /** - * optional bytes encryptedCards = 3; + * optional bytes encryptedCards = 2; */ public boolean hasEncryptedCards() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000002) == 0x00000002); } /** - * optional bytes encryptedCards = 3; + * optional bytes encryptedCards = 2; */ public com.google.protobuf.ByteString getEncryptedCards() { return encryptedCards_; } /** - * optional bytes encryptedCards = 3; + * optional bytes encryptedCards = 2; */ public Builder setEncryptedCards(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000002; encryptedCards_ = value; return this; } /** - * optional bytes encryptedCards = 3; + * optional bytes encryptedCards = 2; */ public Builder clearEncryptedCards() { - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000002); encryptedCards_ = getDefaultInstance().getEncryptedCards(); return this; } - // required uint32 smallBlind = 4; + // required uint32 smallBlind = 3; private int smallBlind_ ; /** - * required uint32 smallBlind = 4; + * required uint32 smallBlind = 3; */ public boolean hasSmallBlind() { - return ((bitField0_ & 0x00000008) == 0x00000008); + return ((bitField0_ & 0x00000004) == 0x00000004); } /** - * required uint32 smallBlind = 4; + * required uint32 smallBlind = 3; */ public int getSmallBlind() { return smallBlind_; } /** - * required uint32 smallBlind = 4; + * required uint32 smallBlind = 3; */ public Builder setSmallBlind(int value) { - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000004; smallBlind_ = value; return this; } /** - * required uint32 smallBlind = 4; + * required uint32 smallBlind = 3; */ public Builder clearSmallBlind() { - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000004); smallBlind_ = 0; return this; } - // repeated .NetPlayerState seatStates = 5; + // repeated .NetPlayerState seatStates = 4; private java.util.List seatStates_ = java.util.Collections.emptyList(); private void ensureSeatStatesIsMutable() { - if (!((bitField0_ & 0x00000010) == 0x00000010)) { + if (!((bitField0_ & 0x00000008) == 0x00000008)) { seatStates_ = new java.util.ArrayList(seatStates_); - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000008; } } /** - * repeated .NetPlayerState seatStates = 5; + * repeated .NetPlayerState seatStates = 4; */ public java.util.List getSeatStatesList() { return java.util.Collections.unmodifiableList(seatStates_); } /** - * repeated .NetPlayerState seatStates = 5; + * repeated .NetPlayerState seatStates = 4; */ public int getSeatStatesCount() { return seatStates_.size(); } /** - * repeated .NetPlayerState seatStates = 5; + * repeated .NetPlayerState seatStates = 4; */ public de.pokerth.protocol.ProtoBuf.NetPlayerState getSeatStates(int index) { return seatStates_.get(index); } /** - * repeated .NetPlayerState seatStates = 5; + * repeated .NetPlayerState seatStates = 4; */ public Builder setSeatStates( int index, de.pokerth.protocol.ProtoBuf.NetPlayerState value) { @@ -29137,7 +28961,7 @@ public final class ProtoBuf { return this; } /** - * repeated .NetPlayerState seatStates = 5; + * repeated .NetPlayerState seatStates = 4; */ public Builder addSeatStates(de.pokerth.protocol.ProtoBuf.NetPlayerState value) { if (value == null) { @@ -29149,7 +28973,7 @@ public final class ProtoBuf { return this; } /** - * repeated .NetPlayerState seatStates = 5; + * repeated .NetPlayerState seatStates = 4; */ public Builder addAllSeatStates( java.lang.Iterable values) { @@ -29159,43 +28983,43 @@ public final class ProtoBuf { return this; } /** - * repeated .NetPlayerState seatStates = 5; + * repeated .NetPlayerState seatStates = 4; */ public Builder clearSeatStates() { seatStates_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000008); return this; } - // optional uint32 dealerPlayerId = 6; + // optional uint32 dealerPlayerId = 5; private int dealerPlayerId_ ; /** - * optional uint32 dealerPlayerId = 6; + * optional uint32 dealerPlayerId = 5; */ public boolean hasDealerPlayerId() { - return ((bitField0_ & 0x00000020) == 0x00000020); + return ((bitField0_ & 0x00000010) == 0x00000010); } /** - * optional uint32 dealerPlayerId = 6; + * optional uint32 dealerPlayerId = 5; */ public int getDealerPlayerId() { return dealerPlayerId_; } /** - * optional uint32 dealerPlayerId = 6; + * optional uint32 dealerPlayerId = 5; */ public Builder setDealerPlayerId(int value) { - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000010; dealerPlayerId_ = value; return this; } /** - * optional uint32 dealerPlayerId = 6; + * optional uint32 dealerPlayerId = 5; */ public Builder clearDealerPlayerId() { - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000010); dealerPlayerId_ = 0; return this; @@ -29215,33 +29039,23 @@ public final class ProtoBuf { public interface PlayersTurnMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - // required uint32 gameId = 1; + // required uint32 playerId = 1; /** - * required uint32 gameId = 1; - */ - boolean hasGameId(); - /** - * required uint32 gameId = 1; - */ - int getGameId(); - - // required uint32 playerId = 2; - /** - * required uint32 playerId = 2; + * required uint32 playerId = 1; */ boolean hasPlayerId(); /** - * required uint32 playerId = 2; + * required uint32 playerId = 1; */ int getPlayerId(); - // required .NetGameState gameState = 3; + // required .NetGameState gameState = 2; /** - * required .NetGameState gameState = 3; + * required .NetGameState gameState = 2; */ boolean hasGameState(); /** - * required .NetGameState gameState = 3; + * required .NetGameState gameState = 2; */ de.pokerth.protocol.ProtoBuf.NetGameState getGameState(); } @@ -29290,19 +29104,14 @@ public final class ProtoBuf { } case 8: { bitField0_ |= 0x00000001; - gameId_ = input.readUInt32(); - break; - } - case 16: { - bitField0_ |= 0x00000002; playerId_ = input.readUInt32(); break; } - case 24: { + case 16: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.NetGameState value = de.pokerth.protocol.ProtoBuf.NetGameState.valueOf(rawValue); if (value != null) { - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000002; gameState_ = value; } break; @@ -29334,56 +29143,39 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; - public static final int GAMEID_FIELD_NUMBER = 1; - private int gameId_; + // required uint32 playerId = 1; + public static final int PLAYERID_FIELD_NUMBER = 1; + private int playerId_; /** - * required uint32 gameId = 1; + * required uint32 playerId = 1; */ - public boolean hasGameId() { + public boolean hasPlayerId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * required uint32 gameId = 1; - */ - public int getGameId() { - return gameId_; - } - - // required uint32 playerId = 2; - public static final int PLAYERID_FIELD_NUMBER = 2; - private int playerId_; - /** - * required uint32 playerId = 2; - */ - public boolean hasPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * required uint32 playerId = 2; + * required uint32 playerId = 1; */ public int getPlayerId() { return playerId_; } - // required .NetGameState gameState = 3; - public static final int GAMESTATE_FIELD_NUMBER = 3; + // required .NetGameState gameState = 2; + public static final int GAMESTATE_FIELD_NUMBER = 2; private de.pokerth.protocol.ProtoBuf.NetGameState gameState_; /** - * required .NetGameState gameState = 3; + * required .NetGameState gameState = 2; */ public boolean hasGameState() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000002) == 0x00000002); } /** - * required .NetGameState gameState = 3; + * required .NetGameState gameState = 2; */ public de.pokerth.protocol.ProtoBuf.NetGameState getGameState() { return gameState_; } private void initFields() { - gameId_ = 0; playerId_ = 0; gameState_ = de.pokerth.protocol.ProtoBuf.NetGameState.netStatePreflop; } @@ -29392,10 +29184,6 @@ public final class ProtoBuf { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - if (!hasGameId()) { - memoizedIsInitialized = 0; - return false; - } if (!hasPlayerId()) { memoizedIsInitialized = 0; return false; @@ -29412,13 +29200,10 @@ public final class ProtoBuf { throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeUInt32(1, gameId_); + output.writeUInt32(1, playerId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeUInt32(2, playerId_); - } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeEnum(3, gameState_.getNumber()); + output.writeEnum(2, gameState_.getNumber()); } } @@ -29430,15 +29215,11 @@ public final class ProtoBuf { size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(1, gameId_); + .computeUInt32Size(1, playerId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(2, playerId_); - } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, gameState_.getNumber()); + .computeEnumSize(2, gameState_.getNumber()); } memoizedSerializedSize = size; return size; @@ -29531,12 +29312,10 @@ public final class ProtoBuf { public Builder clear() { super.clear(); - gameId_ = 0; - bitField0_ = (bitField0_ & ~0x00000001); playerId_ = 0; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); gameState_ = de.pokerth.protocol.ProtoBuf.NetGameState.netStatePreflop; - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000002); return this; } @@ -29563,14 +29342,10 @@ public final class ProtoBuf { if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } - result.gameId_ = gameId_; + result.playerId_ = playerId_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } - result.playerId_ = playerId_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { - to_bitField0_ |= 0x00000004; - } result.gameState_ = gameState_; result.bitField0_ = to_bitField0_; return result; @@ -29578,9 +29353,6 @@ public final class ProtoBuf { public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.PlayersTurnMessage other) { if (other == de.pokerth.protocol.ProtoBuf.PlayersTurnMessage.getDefaultInstance()) return this; - if (other.hasGameId()) { - setGameId(other.getGameId()); - } if (other.hasPlayerId()) { setPlayerId(other.getPlayerId()); } @@ -29591,10 +29363,6 @@ public final class ProtoBuf { } public final boolean isInitialized() { - if (!hasGameId()) { - - return false; - } if (!hasPlayerId()) { return false; @@ -29625,103 +29393,70 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; - private int gameId_ ; + // required uint32 playerId = 1; + private int playerId_ ; /** - * required uint32 gameId = 1; + * required uint32 playerId = 1; */ - public boolean hasGameId() { + public boolean hasPlayerId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * required uint32 gameId = 1; - */ - public int getGameId() { - return gameId_; - } - /** - * required uint32 gameId = 1; - */ - public Builder setGameId(int value) { - bitField0_ |= 0x00000001; - gameId_ = value; - - return this; - } - /** - * required uint32 gameId = 1; - */ - public Builder clearGameId() { - bitField0_ = (bitField0_ & ~0x00000001); - gameId_ = 0; - - return this; - } - - // required uint32 playerId = 2; - private int playerId_ ; - /** - * required uint32 playerId = 2; - */ - public boolean hasPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * required uint32 playerId = 2; + * required uint32 playerId = 1; */ public int getPlayerId() { return playerId_; } /** - * required uint32 playerId = 2; + * required uint32 playerId = 1; */ public Builder setPlayerId(int value) { - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000001; playerId_ = value; return this; } /** - * required uint32 playerId = 2; + * required uint32 playerId = 1; */ public Builder clearPlayerId() { - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); playerId_ = 0; return this; } - // required .NetGameState gameState = 3; + // required .NetGameState gameState = 2; private de.pokerth.protocol.ProtoBuf.NetGameState gameState_ = de.pokerth.protocol.ProtoBuf.NetGameState.netStatePreflop; /** - * required .NetGameState gameState = 3; + * required .NetGameState gameState = 2; */ public boolean hasGameState() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000002) == 0x00000002); } /** - * required .NetGameState gameState = 3; + * required .NetGameState gameState = 2; */ public de.pokerth.protocol.ProtoBuf.NetGameState getGameState() { return gameState_; } /** - * required .NetGameState gameState = 3; + * required .NetGameState gameState = 2; */ public Builder setGameState(de.pokerth.protocol.ProtoBuf.NetGameState value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000002; gameState_ = value; return this; } /** - * required .NetGameState gameState = 3; + * required .NetGameState gameState = 2; */ public Builder clearGameState() { - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000002); gameState_ = de.pokerth.protocol.ProtoBuf.NetGameState.netStatePreflop; return this; @@ -29741,53 +29476,43 @@ public final class ProtoBuf { public interface MyActionRequestMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - // required uint32 gameId = 1; + // required uint32 handNum = 1; /** - * required uint32 gameId = 1; - */ - boolean hasGameId(); - /** - * required uint32 gameId = 1; - */ - int getGameId(); - - // required uint32 handNum = 2; - /** - * required uint32 handNum = 2; + * required uint32 handNum = 1; */ boolean hasHandNum(); /** - * required uint32 handNum = 2; + * required uint32 handNum = 1; */ int getHandNum(); - // required .NetGameState gameState = 3; + // required .NetGameState gameState = 2; /** - * required .NetGameState gameState = 3; + * required .NetGameState gameState = 2; */ boolean hasGameState(); /** - * required .NetGameState gameState = 3; + * required .NetGameState gameState = 2; */ de.pokerth.protocol.ProtoBuf.NetGameState getGameState(); - // required .NetPlayerAction myAction = 4; + // required .NetPlayerAction myAction = 3; /** - * required .NetPlayerAction myAction = 4; + * required .NetPlayerAction myAction = 3; */ boolean hasMyAction(); /** - * required .NetPlayerAction myAction = 4; + * required .NetPlayerAction myAction = 3; */ de.pokerth.protocol.ProtoBuf.NetPlayerAction getMyAction(); - // required uint32 myRelativeBet = 5; + // required uint32 myRelativeBet = 4; /** - * required uint32 myRelativeBet = 5; + * required uint32 myRelativeBet = 4; */ boolean hasMyRelativeBet(); /** - * required uint32 myRelativeBet = 5; + * required uint32 myRelativeBet = 4; */ int getMyRelativeBet(); } @@ -29836,34 +29561,29 @@ public final class ProtoBuf { } case 8: { bitField0_ |= 0x00000001; - gameId_ = input.readUInt32(); - break; - } - case 16: { - bitField0_ |= 0x00000002; handNum_ = input.readUInt32(); break; } - case 24: { + case 16: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.NetGameState value = de.pokerth.protocol.ProtoBuf.NetGameState.valueOf(rawValue); if (value != null) { - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000002; gameState_ = value; } break; } - case 32: { + case 24: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.NetPlayerAction value = de.pokerth.protocol.ProtoBuf.NetPlayerAction.valueOf(rawValue); if (value != null) { - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000004; myAction_ = value; } break; } - case 40: { - bitField0_ |= 0x00000010; + case 32: { + bitField0_ |= 0x00000008; myRelativeBet_ = input.readUInt32(); break; } @@ -29894,88 +29614,71 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; - public static final int GAMEID_FIELD_NUMBER = 1; - private int gameId_; + // required uint32 handNum = 1; + public static final int HANDNUM_FIELD_NUMBER = 1; + private int handNum_; /** - * required uint32 gameId = 1; + * required uint32 handNum = 1; */ - public boolean hasGameId() { + public boolean hasHandNum() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * required uint32 gameId = 1; - */ - public int getGameId() { - return gameId_; - } - - // required uint32 handNum = 2; - public static final int HANDNUM_FIELD_NUMBER = 2; - private int handNum_; - /** - * required uint32 handNum = 2; - */ - public boolean hasHandNum() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * required uint32 handNum = 2; + * required uint32 handNum = 1; */ public int getHandNum() { return handNum_; } - // required .NetGameState gameState = 3; - public static final int GAMESTATE_FIELD_NUMBER = 3; + // required .NetGameState gameState = 2; + public static final int GAMESTATE_FIELD_NUMBER = 2; private de.pokerth.protocol.ProtoBuf.NetGameState gameState_; /** - * required .NetGameState gameState = 3; + * required .NetGameState gameState = 2; */ public boolean hasGameState() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000002) == 0x00000002); } /** - * required .NetGameState gameState = 3; + * required .NetGameState gameState = 2; */ public de.pokerth.protocol.ProtoBuf.NetGameState getGameState() { return gameState_; } - // required .NetPlayerAction myAction = 4; - public static final int MYACTION_FIELD_NUMBER = 4; + // required .NetPlayerAction myAction = 3; + public static final int MYACTION_FIELD_NUMBER = 3; private de.pokerth.protocol.ProtoBuf.NetPlayerAction myAction_; /** - * required .NetPlayerAction myAction = 4; + * required .NetPlayerAction myAction = 3; */ public boolean hasMyAction() { - return ((bitField0_ & 0x00000008) == 0x00000008); + return ((bitField0_ & 0x00000004) == 0x00000004); } /** - * required .NetPlayerAction myAction = 4; + * required .NetPlayerAction myAction = 3; */ public de.pokerth.protocol.ProtoBuf.NetPlayerAction getMyAction() { return myAction_; } - // required uint32 myRelativeBet = 5; - public static final int MYRELATIVEBET_FIELD_NUMBER = 5; + // required uint32 myRelativeBet = 4; + public static final int MYRELATIVEBET_FIELD_NUMBER = 4; private int myRelativeBet_; /** - * required uint32 myRelativeBet = 5; + * required uint32 myRelativeBet = 4; */ public boolean hasMyRelativeBet() { - return ((bitField0_ & 0x00000010) == 0x00000010); + return ((bitField0_ & 0x00000008) == 0x00000008); } /** - * required uint32 myRelativeBet = 5; + * required uint32 myRelativeBet = 4; */ public int getMyRelativeBet() { return myRelativeBet_; } private void initFields() { - gameId_ = 0; handNum_ = 0; gameState_ = de.pokerth.protocol.ProtoBuf.NetGameState.netStatePreflop; myAction_ = de.pokerth.protocol.ProtoBuf.NetPlayerAction.netActionNone; @@ -29986,10 +29689,6 @@ public final class ProtoBuf { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - if (!hasGameId()) { - memoizedIsInitialized = 0; - return false; - } if (!hasHandNum()) { memoizedIsInitialized = 0; return false; @@ -30014,19 +29713,16 @@ public final class ProtoBuf { throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeUInt32(1, gameId_); + output.writeUInt32(1, handNum_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeUInt32(2, handNum_); + output.writeEnum(2, gameState_.getNumber()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeEnum(3, gameState_.getNumber()); + output.writeEnum(3, myAction_.getNumber()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { - output.writeEnum(4, myAction_.getNumber()); - } - if (((bitField0_ & 0x00000010) == 0x00000010)) { - output.writeUInt32(5, myRelativeBet_); + output.writeUInt32(4, myRelativeBet_); } } @@ -30038,23 +29734,19 @@ public final class ProtoBuf { size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(1, gameId_); + .computeUInt32Size(1, handNum_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(2, handNum_); + .computeEnumSize(2, gameState_.getNumber()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, gameState_.getNumber()); + .computeEnumSize(3, myAction_.getNumber()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, myAction_.getNumber()); - } - if (((bitField0_ & 0x00000010) == 0x00000010)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(5, myRelativeBet_); + .computeUInt32Size(4, myRelativeBet_); } memoizedSerializedSize = size; return size; @@ -30147,16 +29839,14 @@ public final class ProtoBuf { public Builder clear() { super.clear(); - gameId_ = 0; - bitField0_ = (bitField0_ & ~0x00000001); handNum_ = 0; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); gameState_ = de.pokerth.protocol.ProtoBuf.NetGameState.netStatePreflop; - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000002); myAction_ = de.pokerth.protocol.ProtoBuf.NetPlayerAction.netActionNone; - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000004); myRelativeBet_ = 0; - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000008); return this; } @@ -30183,22 +29873,18 @@ public final class ProtoBuf { if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } - result.gameId_ = gameId_; + result.handNum_ = handNum_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } - result.handNum_ = handNum_; + result.gameState_ = gameState_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } - result.gameState_ = gameState_; + result.myAction_ = myAction_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } - result.myAction_ = myAction_; - if (((from_bitField0_ & 0x00000010) == 0x00000010)) { - to_bitField0_ |= 0x00000010; - } result.myRelativeBet_ = myRelativeBet_; result.bitField0_ = to_bitField0_; return result; @@ -30206,9 +29892,6 @@ public final class ProtoBuf { public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.MyActionRequestMessage other) { if (other == de.pokerth.protocol.ProtoBuf.MyActionRequestMessage.getDefaultInstance()) return this; - if (other.hasGameId()) { - setGameId(other.getGameId()); - } if (other.hasHandNum()) { setHandNum(other.getHandNum()); } @@ -30225,10 +29908,6 @@ public final class ProtoBuf { } public final boolean isInitialized() { - if (!hasGameId()) { - - return false; - } if (!hasHandNum()) { return false; @@ -30267,172 +29946,139 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; - private int gameId_ ; + // required uint32 handNum = 1; + private int handNum_ ; /** - * required uint32 gameId = 1; + * required uint32 handNum = 1; */ - public boolean hasGameId() { + public boolean hasHandNum() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * required uint32 gameId = 1; - */ - public int getGameId() { - return gameId_; - } - /** - * required uint32 gameId = 1; - */ - public Builder setGameId(int value) { - bitField0_ |= 0x00000001; - gameId_ = value; - - return this; - } - /** - * required uint32 gameId = 1; - */ - public Builder clearGameId() { - bitField0_ = (bitField0_ & ~0x00000001); - gameId_ = 0; - - return this; - } - - // required uint32 handNum = 2; - private int handNum_ ; - /** - * required uint32 handNum = 2; - */ - public boolean hasHandNum() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * required uint32 handNum = 2; + * required uint32 handNum = 1; */ public int getHandNum() { return handNum_; } /** - * required uint32 handNum = 2; + * required uint32 handNum = 1; */ public Builder setHandNum(int value) { - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000001; handNum_ = value; return this; } /** - * required uint32 handNum = 2; + * required uint32 handNum = 1; */ public Builder clearHandNum() { - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); handNum_ = 0; return this; } - // required .NetGameState gameState = 3; + // required .NetGameState gameState = 2; private de.pokerth.protocol.ProtoBuf.NetGameState gameState_ = de.pokerth.protocol.ProtoBuf.NetGameState.netStatePreflop; /** - * required .NetGameState gameState = 3; + * required .NetGameState gameState = 2; */ public boolean hasGameState() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000002) == 0x00000002); } /** - * required .NetGameState gameState = 3; + * required .NetGameState gameState = 2; */ public de.pokerth.protocol.ProtoBuf.NetGameState getGameState() { return gameState_; } /** - * required .NetGameState gameState = 3; + * required .NetGameState gameState = 2; */ public Builder setGameState(de.pokerth.protocol.ProtoBuf.NetGameState value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000002; gameState_ = value; return this; } /** - * required .NetGameState gameState = 3; + * required .NetGameState gameState = 2; */ public Builder clearGameState() { - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000002); gameState_ = de.pokerth.protocol.ProtoBuf.NetGameState.netStatePreflop; return this; } - // required .NetPlayerAction myAction = 4; + // required .NetPlayerAction myAction = 3; private de.pokerth.protocol.ProtoBuf.NetPlayerAction myAction_ = de.pokerth.protocol.ProtoBuf.NetPlayerAction.netActionNone; /** - * required .NetPlayerAction myAction = 4; + * required .NetPlayerAction myAction = 3; */ public boolean hasMyAction() { - return ((bitField0_ & 0x00000008) == 0x00000008); + return ((bitField0_ & 0x00000004) == 0x00000004); } /** - * required .NetPlayerAction myAction = 4; + * required .NetPlayerAction myAction = 3; */ public de.pokerth.protocol.ProtoBuf.NetPlayerAction getMyAction() { return myAction_; } /** - * required .NetPlayerAction myAction = 4; + * required .NetPlayerAction myAction = 3; */ public Builder setMyAction(de.pokerth.protocol.ProtoBuf.NetPlayerAction value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000004; myAction_ = value; return this; } /** - * required .NetPlayerAction myAction = 4; + * required .NetPlayerAction myAction = 3; */ public Builder clearMyAction() { - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000004); myAction_ = de.pokerth.protocol.ProtoBuf.NetPlayerAction.netActionNone; return this; } - // required uint32 myRelativeBet = 5; + // required uint32 myRelativeBet = 4; private int myRelativeBet_ ; /** - * required uint32 myRelativeBet = 5; + * required uint32 myRelativeBet = 4; */ public boolean hasMyRelativeBet() { - return ((bitField0_ & 0x00000010) == 0x00000010); + return ((bitField0_ & 0x00000008) == 0x00000008); } /** - * required uint32 myRelativeBet = 5; + * required uint32 myRelativeBet = 4; */ public int getMyRelativeBet() { return myRelativeBet_; } /** - * required uint32 myRelativeBet = 5; + * required uint32 myRelativeBet = 4; */ public Builder setMyRelativeBet(int value) { - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000008; myRelativeBet_ = value; return this; } /** - * required uint32 myRelativeBet = 5; + * required uint32 myRelativeBet = 4; */ public Builder clearMyRelativeBet() { - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000008); myRelativeBet_ = 0; return this; @@ -30452,53 +30098,43 @@ public final class ProtoBuf { public interface YourActionRejectedMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - // required uint32 gameId = 1; + // required .NetGameState gameState = 1; /** - * required uint32 gameId = 1; - */ - boolean hasGameId(); - /** - * required uint32 gameId = 1; - */ - int getGameId(); - - // required .NetGameState gameState = 2; - /** - * required .NetGameState gameState = 2; + * required .NetGameState gameState = 1; */ boolean hasGameState(); /** - * required .NetGameState gameState = 2; + * required .NetGameState gameState = 1; */ de.pokerth.protocol.ProtoBuf.NetGameState getGameState(); - // required .NetPlayerAction yourAction = 3; + // required .NetPlayerAction yourAction = 2; /** - * required .NetPlayerAction yourAction = 3; + * required .NetPlayerAction yourAction = 2; */ boolean hasYourAction(); /** - * required .NetPlayerAction yourAction = 3; + * required .NetPlayerAction yourAction = 2; */ de.pokerth.protocol.ProtoBuf.NetPlayerAction getYourAction(); - // required uint32 yourRelativeBet = 4; + // required uint32 yourRelativeBet = 3; /** - * required uint32 yourRelativeBet = 4; + * required uint32 yourRelativeBet = 3; */ boolean hasYourRelativeBet(); /** - * required uint32 yourRelativeBet = 4; + * required uint32 yourRelativeBet = 3; */ int getYourRelativeBet(); - // required .YourActionRejectedMessage.RejectionReason rejectionReason = 5; + // required .YourActionRejectedMessage.RejectionReason rejectionReason = 4; /** - * required .YourActionRejectedMessage.RejectionReason rejectionReason = 5; + * required .YourActionRejectedMessage.RejectionReason rejectionReason = 4; */ boolean hasRejectionReason(); /** - * required .YourActionRejectedMessage.RejectionReason rejectionReason = 5; + * required .YourActionRejectedMessage.RejectionReason rejectionReason = 4; */ de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.RejectionReason getRejectionReason(); } @@ -30546,38 +30182,33 @@ public final class ProtoBuf { break; } case 8: { - bitField0_ |= 0x00000001; - gameId_ = input.readUInt32(); - break; - } - case 16: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.NetGameState value = de.pokerth.protocol.ProtoBuf.NetGameState.valueOf(rawValue); if (value != null) { - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000001; gameState_ = value; } break; } - case 24: { + case 16: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.NetPlayerAction value = de.pokerth.protocol.ProtoBuf.NetPlayerAction.valueOf(rawValue); if (value != null) { - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000002; yourAction_ = value; } break; } - case 32: { - bitField0_ |= 0x00000008; + case 24: { + bitField0_ |= 0x00000004; yourRelativeBet_ = input.readUInt32(); break; } - case 40: { + case 32: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.RejectionReason value = de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.RejectionReason.valueOf(rawValue); if (value != null) { - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000008; rejectionReason_ = value; } break; @@ -30674,88 +30305,71 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; - public static final int GAMEID_FIELD_NUMBER = 1; - private int gameId_; + // required .NetGameState gameState = 1; + public static final int GAMESTATE_FIELD_NUMBER = 1; + private de.pokerth.protocol.ProtoBuf.NetGameState gameState_; /** - * required uint32 gameId = 1; + * required .NetGameState gameState = 1; */ - public boolean hasGameId() { + public boolean hasGameState() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * required uint32 gameId = 1; - */ - public int getGameId() { - return gameId_; - } - - // required .NetGameState gameState = 2; - public static final int GAMESTATE_FIELD_NUMBER = 2; - private de.pokerth.protocol.ProtoBuf.NetGameState gameState_; - /** - * required .NetGameState gameState = 2; - */ - public boolean hasGameState() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * required .NetGameState gameState = 2; + * required .NetGameState gameState = 1; */ public de.pokerth.protocol.ProtoBuf.NetGameState getGameState() { return gameState_; } - // required .NetPlayerAction yourAction = 3; - public static final int YOURACTION_FIELD_NUMBER = 3; + // required .NetPlayerAction yourAction = 2; + public static final int YOURACTION_FIELD_NUMBER = 2; private de.pokerth.protocol.ProtoBuf.NetPlayerAction yourAction_; /** - * required .NetPlayerAction yourAction = 3; + * required .NetPlayerAction yourAction = 2; */ public boolean hasYourAction() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000002) == 0x00000002); } /** - * required .NetPlayerAction yourAction = 3; + * required .NetPlayerAction yourAction = 2; */ public de.pokerth.protocol.ProtoBuf.NetPlayerAction getYourAction() { return yourAction_; } - // required uint32 yourRelativeBet = 4; - public static final int YOURRELATIVEBET_FIELD_NUMBER = 4; + // required uint32 yourRelativeBet = 3; + public static final int YOURRELATIVEBET_FIELD_NUMBER = 3; private int yourRelativeBet_; /** - * required uint32 yourRelativeBet = 4; + * required uint32 yourRelativeBet = 3; */ public boolean hasYourRelativeBet() { - return ((bitField0_ & 0x00000008) == 0x00000008); + return ((bitField0_ & 0x00000004) == 0x00000004); } /** - * required uint32 yourRelativeBet = 4; + * required uint32 yourRelativeBet = 3; */ public int getYourRelativeBet() { return yourRelativeBet_; } - // required .YourActionRejectedMessage.RejectionReason rejectionReason = 5; - public static final int REJECTIONREASON_FIELD_NUMBER = 5; + // required .YourActionRejectedMessage.RejectionReason rejectionReason = 4; + public static final int REJECTIONREASON_FIELD_NUMBER = 4; private de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.RejectionReason rejectionReason_; /** - * required .YourActionRejectedMessage.RejectionReason rejectionReason = 5; + * required .YourActionRejectedMessage.RejectionReason rejectionReason = 4; */ public boolean hasRejectionReason() { - return ((bitField0_ & 0x00000010) == 0x00000010); + return ((bitField0_ & 0x00000008) == 0x00000008); } /** - * required .YourActionRejectedMessage.RejectionReason rejectionReason = 5; + * required .YourActionRejectedMessage.RejectionReason rejectionReason = 4; */ public de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.RejectionReason getRejectionReason() { return rejectionReason_; } private void initFields() { - gameId_ = 0; gameState_ = de.pokerth.protocol.ProtoBuf.NetGameState.netStatePreflop; yourAction_ = de.pokerth.protocol.ProtoBuf.NetPlayerAction.netActionNone; yourRelativeBet_ = 0; @@ -30766,10 +30380,6 @@ public final class ProtoBuf { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - if (!hasGameId()) { - memoizedIsInitialized = 0; - return false; - } if (!hasGameState()) { memoizedIsInitialized = 0; return false; @@ -30794,19 +30404,16 @@ public final class ProtoBuf { throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeUInt32(1, gameId_); + output.writeEnum(1, gameState_.getNumber()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeEnum(2, gameState_.getNumber()); + output.writeEnum(2, yourAction_.getNumber()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeEnum(3, yourAction_.getNumber()); + output.writeUInt32(3, yourRelativeBet_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { - output.writeUInt32(4, yourRelativeBet_); - } - if (((bitField0_ & 0x00000010) == 0x00000010)) { - output.writeEnum(5, rejectionReason_.getNumber()); + output.writeEnum(4, rejectionReason_.getNumber()); } } @@ -30818,23 +30425,19 @@ public final class ProtoBuf { size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(1, gameId_); + .computeEnumSize(1, gameState_.getNumber()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, gameState_.getNumber()); + .computeEnumSize(2, yourAction_.getNumber()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, yourAction_.getNumber()); + .computeUInt32Size(3, yourRelativeBet_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(4, yourRelativeBet_); - } - if (((bitField0_ & 0x00000010) == 0x00000010)) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(5, rejectionReason_.getNumber()); + .computeEnumSize(4, rejectionReason_.getNumber()); } memoizedSerializedSize = size; return size; @@ -30927,16 +30530,14 @@ public final class ProtoBuf { public Builder clear() { super.clear(); - gameId_ = 0; - bitField0_ = (bitField0_ & ~0x00000001); gameState_ = de.pokerth.protocol.ProtoBuf.NetGameState.netStatePreflop; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); yourAction_ = de.pokerth.protocol.ProtoBuf.NetPlayerAction.netActionNone; - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000002); yourRelativeBet_ = 0; - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000004); rejectionReason_ = de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.RejectionReason.rejectedInvalidGameState; - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000008); return this; } @@ -30963,22 +30564,18 @@ public final class ProtoBuf { if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } - result.gameId_ = gameId_; + result.gameState_ = gameState_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } - result.gameState_ = gameState_; + result.yourAction_ = yourAction_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } - result.yourAction_ = yourAction_; + result.yourRelativeBet_ = yourRelativeBet_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } - result.yourRelativeBet_ = yourRelativeBet_; - if (((from_bitField0_ & 0x00000010) == 0x00000010)) { - to_bitField0_ |= 0x00000010; - } result.rejectionReason_ = rejectionReason_; result.bitField0_ = to_bitField0_; return result; @@ -30986,9 +30583,6 @@ public final class ProtoBuf { public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage other) { if (other == de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.getDefaultInstance()) return this; - if (other.hasGameId()) { - setGameId(other.getGameId()); - } if (other.hasGameState()) { setGameState(other.getGameState()); } @@ -31005,10 +30599,6 @@ public final class ProtoBuf { } public final boolean isInitialized() { - if (!hasGameId()) { - - return false; - } if (!hasGameState()) { return false; @@ -31047,175 +30637,142 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; - private int gameId_ ; + // required .NetGameState gameState = 1; + private de.pokerth.protocol.ProtoBuf.NetGameState gameState_ = de.pokerth.protocol.ProtoBuf.NetGameState.netStatePreflop; /** - * required uint32 gameId = 1; + * required .NetGameState gameState = 1; */ - public boolean hasGameId() { + public boolean hasGameState() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * required uint32 gameId = 1; - */ - public int getGameId() { - return gameId_; - } - /** - * required uint32 gameId = 1; - */ - public Builder setGameId(int value) { - bitField0_ |= 0x00000001; - gameId_ = value; - - return this; - } - /** - * required uint32 gameId = 1; - */ - public Builder clearGameId() { - bitField0_ = (bitField0_ & ~0x00000001); - gameId_ = 0; - - return this; - } - - // required .NetGameState gameState = 2; - private de.pokerth.protocol.ProtoBuf.NetGameState gameState_ = de.pokerth.protocol.ProtoBuf.NetGameState.netStatePreflop; - /** - * required .NetGameState gameState = 2; - */ - public boolean hasGameState() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * required .NetGameState gameState = 2; + * required .NetGameState gameState = 1; */ public de.pokerth.protocol.ProtoBuf.NetGameState getGameState() { return gameState_; } /** - * required .NetGameState gameState = 2; + * required .NetGameState gameState = 1; */ public Builder setGameState(de.pokerth.protocol.ProtoBuf.NetGameState value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000001; gameState_ = value; return this; } /** - * required .NetGameState gameState = 2; + * required .NetGameState gameState = 1; */ public Builder clearGameState() { - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); gameState_ = de.pokerth.protocol.ProtoBuf.NetGameState.netStatePreflop; return this; } - // required .NetPlayerAction yourAction = 3; + // required .NetPlayerAction yourAction = 2; private de.pokerth.protocol.ProtoBuf.NetPlayerAction yourAction_ = de.pokerth.protocol.ProtoBuf.NetPlayerAction.netActionNone; /** - * required .NetPlayerAction yourAction = 3; + * required .NetPlayerAction yourAction = 2; */ public boolean hasYourAction() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000002) == 0x00000002); } /** - * required .NetPlayerAction yourAction = 3; + * required .NetPlayerAction yourAction = 2; */ public de.pokerth.protocol.ProtoBuf.NetPlayerAction getYourAction() { return yourAction_; } /** - * required .NetPlayerAction yourAction = 3; + * required .NetPlayerAction yourAction = 2; */ public Builder setYourAction(de.pokerth.protocol.ProtoBuf.NetPlayerAction value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000002; yourAction_ = value; return this; } /** - * required .NetPlayerAction yourAction = 3; + * required .NetPlayerAction yourAction = 2; */ public Builder clearYourAction() { - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000002); yourAction_ = de.pokerth.protocol.ProtoBuf.NetPlayerAction.netActionNone; return this; } - // required uint32 yourRelativeBet = 4; + // required uint32 yourRelativeBet = 3; private int yourRelativeBet_ ; /** - * required uint32 yourRelativeBet = 4; + * required uint32 yourRelativeBet = 3; */ public boolean hasYourRelativeBet() { - return ((bitField0_ & 0x00000008) == 0x00000008); + return ((bitField0_ & 0x00000004) == 0x00000004); } /** - * required uint32 yourRelativeBet = 4; + * required uint32 yourRelativeBet = 3; */ public int getYourRelativeBet() { return yourRelativeBet_; } /** - * required uint32 yourRelativeBet = 4; + * required uint32 yourRelativeBet = 3; */ public Builder setYourRelativeBet(int value) { - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000004; yourRelativeBet_ = value; return this; } /** - * required uint32 yourRelativeBet = 4; + * required uint32 yourRelativeBet = 3; */ public Builder clearYourRelativeBet() { - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000004); yourRelativeBet_ = 0; return this; } - // required .YourActionRejectedMessage.RejectionReason rejectionReason = 5; + // required .YourActionRejectedMessage.RejectionReason rejectionReason = 4; private de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.RejectionReason rejectionReason_ = de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.RejectionReason.rejectedInvalidGameState; /** - * required .YourActionRejectedMessage.RejectionReason rejectionReason = 5; + * required .YourActionRejectedMessage.RejectionReason rejectionReason = 4; */ public boolean hasRejectionReason() { - return ((bitField0_ & 0x00000010) == 0x00000010); + return ((bitField0_ & 0x00000008) == 0x00000008); } /** - * required .YourActionRejectedMessage.RejectionReason rejectionReason = 5; + * required .YourActionRejectedMessage.RejectionReason rejectionReason = 4; */ public de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.RejectionReason getRejectionReason() { return rejectionReason_; } /** - * required .YourActionRejectedMessage.RejectionReason rejectionReason = 5; + * required .YourActionRejectedMessage.RejectionReason rejectionReason = 4; */ public Builder setRejectionReason(de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.RejectionReason value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000008; rejectionReason_ = value; return this; } /** - * required .YourActionRejectedMessage.RejectionReason rejectionReason = 5; + * required .YourActionRejectedMessage.RejectionReason rejectionReason = 4; */ public Builder clearRejectionReason() { - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000008); rejectionReason_ = de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.RejectionReason.rejectedInvalidGameState; return this; @@ -31235,83 +30792,73 @@ public final class ProtoBuf { public interface PlayersActionDoneMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - // required uint32 gameId = 1; + // required uint32 playerId = 1; /** - * required uint32 gameId = 1; - */ - boolean hasGameId(); - /** - * required uint32 gameId = 1; - */ - int getGameId(); - - // required uint32 playerId = 2; - /** - * required uint32 playerId = 2; + * required uint32 playerId = 1; */ boolean hasPlayerId(); /** - * required uint32 playerId = 2; + * required uint32 playerId = 1; */ int getPlayerId(); - // required .NetGameState gameState = 3; + // required .NetGameState gameState = 2; /** - * required .NetGameState gameState = 3; + * required .NetGameState gameState = 2; */ boolean hasGameState(); /** - * required .NetGameState gameState = 3; + * required .NetGameState gameState = 2; */ de.pokerth.protocol.ProtoBuf.NetGameState getGameState(); - // required .NetPlayerAction playerAction = 4; + // required .NetPlayerAction playerAction = 3; /** - * required .NetPlayerAction playerAction = 4; + * required .NetPlayerAction playerAction = 3; */ boolean hasPlayerAction(); /** - * required .NetPlayerAction playerAction = 4; + * required .NetPlayerAction playerAction = 3; */ de.pokerth.protocol.ProtoBuf.NetPlayerAction getPlayerAction(); - // required uint32 totalPlayerBet = 5; + // required uint32 totalPlayerBet = 4; /** - * required uint32 totalPlayerBet = 5; + * required uint32 totalPlayerBet = 4; */ boolean hasTotalPlayerBet(); /** - * required uint32 totalPlayerBet = 5; + * required uint32 totalPlayerBet = 4; */ int getTotalPlayerBet(); - // required uint32 playerMoney = 6; + // required uint32 playerMoney = 5; /** - * required uint32 playerMoney = 6; + * required uint32 playerMoney = 5; */ boolean hasPlayerMoney(); /** - * required uint32 playerMoney = 6; + * required uint32 playerMoney = 5; */ int getPlayerMoney(); - // required uint32 highestSet = 7; + // required uint32 highestSet = 6; /** - * required uint32 highestSet = 7; + * required uint32 highestSet = 6; */ boolean hasHighestSet(); /** - * required uint32 highestSet = 7; + * required uint32 highestSet = 6; */ int getHighestSet(); - // required uint32 minimumRaise = 8; + // required uint32 minimumRaise = 7; /** - * required uint32 minimumRaise = 8; + * required uint32 minimumRaise = 7; */ boolean hasMinimumRaise(); /** - * required uint32 minimumRaise = 8; + * required uint32 minimumRaise = 7; */ int getMinimumRaise(); } @@ -31360,49 +30907,44 @@ public final class ProtoBuf { } case 8: { bitField0_ |= 0x00000001; - gameId_ = input.readUInt32(); - break; - } - case 16: { - bitField0_ |= 0x00000002; playerId_ = input.readUInt32(); break; } - case 24: { + case 16: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.NetGameState value = de.pokerth.protocol.ProtoBuf.NetGameState.valueOf(rawValue); if (value != null) { - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000002; gameState_ = value; } break; } - case 32: { + case 24: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.NetPlayerAction value = de.pokerth.protocol.ProtoBuf.NetPlayerAction.valueOf(rawValue); if (value != null) { - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000004; playerAction_ = value; } break; } + case 32: { + bitField0_ |= 0x00000008; + totalPlayerBet_ = input.readUInt32(); + break; + } case 40: { bitField0_ |= 0x00000010; - totalPlayerBet_ = input.readUInt32(); + playerMoney_ = input.readUInt32(); break; } case 48: { bitField0_ |= 0x00000020; - playerMoney_ = input.readUInt32(); + highestSet_ = input.readUInt32(); break; } case 56: { bitField0_ |= 0x00000040; - highestSet_ = input.readUInt32(); - break; - } - case 64: { - bitField0_ |= 0x00000080; minimumRaise_ = input.readUInt32(); break; } @@ -31433,136 +30975,119 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; - public static final int GAMEID_FIELD_NUMBER = 1; - private int gameId_; + // required uint32 playerId = 1; + public static final int PLAYERID_FIELD_NUMBER = 1; + private int playerId_; /** - * required uint32 gameId = 1; + * required uint32 playerId = 1; */ - public boolean hasGameId() { + public boolean hasPlayerId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * required uint32 gameId = 1; - */ - public int getGameId() { - return gameId_; - } - - // required uint32 playerId = 2; - public static final int PLAYERID_FIELD_NUMBER = 2; - private int playerId_; - /** - * required uint32 playerId = 2; - */ - public boolean hasPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * required uint32 playerId = 2; + * required uint32 playerId = 1; */ public int getPlayerId() { return playerId_; } - // required .NetGameState gameState = 3; - public static final int GAMESTATE_FIELD_NUMBER = 3; + // required .NetGameState gameState = 2; + public static final int GAMESTATE_FIELD_NUMBER = 2; private de.pokerth.protocol.ProtoBuf.NetGameState gameState_; /** - * required .NetGameState gameState = 3; + * required .NetGameState gameState = 2; */ public boolean hasGameState() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000002) == 0x00000002); } /** - * required .NetGameState gameState = 3; + * required .NetGameState gameState = 2; */ public de.pokerth.protocol.ProtoBuf.NetGameState getGameState() { return gameState_; } - // required .NetPlayerAction playerAction = 4; - public static final int PLAYERACTION_FIELD_NUMBER = 4; + // required .NetPlayerAction playerAction = 3; + public static final int PLAYERACTION_FIELD_NUMBER = 3; private de.pokerth.protocol.ProtoBuf.NetPlayerAction playerAction_; /** - * required .NetPlayerAction playerAction = 4; + * required .NetPlayerAction playerAction = 3; */ public boolean hasPlayerAction() { - return ((bitField0_ & 0x00000008) == 0x00000008); + return ((bitField0_ & 0x00000004) == 0x00000004); } /** - * required .NetPlayerAction playerAction = 4; + * required .NetPlayerAction playerAction = 3; */ public de.pokerth.protocol.ProtoBuf.NetPlayerAction getPlayerAction() { return playerAction_; } - // required uint32 totalPlayerBet = 5; - public static final int TOTALPLAYERBET_FIELD_NUMBER = 5; + // required uint32 totalPlayerBet = 4; + public static final int TOTALPLAYERBET_FIELD_NUMBER = 4; private int totalPlayerBet_; /** - * required uint32 totalPlayerBet = 5; + * required uint32 totalPlayerBet = 4; */ public boolean hasTotalPlayerBet() { - return ((bitField0_ & 0x00000010) == 0x00000010); + return ((bitField0_ & 0x00000008) == 0x00000008); } /** - * required uint32 totalPlayerBet = 5; + * required uint32 totalPlayerBet = 4; */ public int getTotalPlayerBet() { return totalPlayerBet_; } - // required uint32 playerMoney = 6; - public static final int PLAYERMONEY_FIELD_NUMBER = 6; + // required uint32 playerMoney = 5; + public static final int PLAYERMONEY_FIELD_NUMBER = 5; private int playerMoney_; /** - * required uint32 playerMoney = 6; + * required uint32 playerMoney = 5; */ public boolean hasPlayerMoney() { - return ((bitField0_ & 0x00000020) == 0x00000020); + return ((bitField0_ & 0x00000010) == 0x00000010); } /** - * required uint32 playerMoney = 6; + * required uint32 playerMoney = 5; */ public int getPlayerMoney() { return playerMoney_; } - // required uint32 highestSet = 7; - public static final int HIGHESTSET_FIELD_NUMBER = 7; + // required uint32 highestSet = 6; + public static final int HIGHESTSET_FIELD_NUMBER = 6; private int highestSet_; /** - * required uint32 highestSet = 7; + * required uint32 highestSet = 6; */ public boolean hasHighestSet() { - return ((bitField0_ & 0x00000040) == 0x00000040); + return ((bitField0_ & 0x00000020) == 0x00000020); } /** - * required uint32 highestSet = 7; + * required uint32 highestSet = 6; */ public int getHighestSet() { return highestSet_; } - // required uint32 minimumRaise = 8; - public static final int MINIMUMRAISE_FIELD_NUMBER = 8; + // required uint32 minimumRaise = 7; + public static final int MINIMUMRAISE_FIELD_NUMBER = 7; private int minimumRaise_; /** - * required uint32 minimumRaise = 8; + * required uint32 minimumRaise = 7; */ public boolean hasMinimumRaise() { - return ((bitField0_ & 0x00000080) == 0x00000080); + return ((bitField0_ & 0x00000040) == 0x00000040); } /** - * required uint32 minimumRaise = 8; + * required uint32 minimumRaise = 7; */ public int getMinimumRaise() { return minimumRaise_; } private void initFields() { - gameId_ = 0; playerId_ = 0; gameState_ = de.pokerth.protocol.ProtoBuf.NetGameState.netStatePreflop; playerAction_ = de.pokerth.protocol.ProtoBuf.NetPlayerAction.netActionNone; @@ -31576,10 +31101,6 @@ public final class ProtoBuf { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - if (!hasGameId()) { - memoizedIsInitialized = 0; - return false; - } if (!hasPlayerId()) { memoizedIsInitialized = 0; return false; @@ -31616,28 +31137,25 @@ public final class ProtoBuf { throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeUInt32(1, gameId_); + output.writeUInt32(1, playerId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeUInt32(2, playerId_); + output.writeEnum(2, gameState_.getNumber()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeEnum(3, gameState_.getNumber()); + output.writeEnum(3, playerAction_.getNumber()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { - output.writeEnum(4, playerAction_.getNumber()); + output.writeUInt32(4, totalPlayerBet_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { - output.writeUInt32(5, totalPlayerBet_); + output.writeUInt32(5, playerMoney_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { - output.writeUInt32(6, playerMoney_); + output.writeUInt32(6, highestSet_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { - output.writeUInt32(7, highestSet_); - } - if (((bitField0_ & 0x00000080) == 0x00000080)) { - output.writeUInt32(8, minimumRaise_); + output.writeUInt32(7, minimumRaise_); } } @@ -31649,35 +31167,31 @@ public final class ProtoBuf { size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(1, gameId_); + .computeUInt32Size(1, playerId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(2, playerId_); + .computeEnumSize(2, gameState_.getNumber()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, gameState_.getNumber()); + .computeEnumSize(3, playerAction_.getNumber()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, playerAction_.getNumber()); + .computeUInt32Size(4, totalPlayerBet_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(5, totalPlayerBet_); + .computeUInt32Size(5, playerMoney_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(6, playerMoney_); + .computeUInt32Size(6, highestSet_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(7, highestSet_); - } - if (((bitField0_ & 0x00000080) == 0x00000080)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(8, minimumRaise_); + .computeUInt32Size(7, minimumRaise_); } memoizedSerializedSize = size; return size; @@ -31770,22 +31284,20 @@ public final class ProtoBuf { public Builder clear() { super.clear(); - gameId_ = 0; - bitField0_ = (bitField0_ & ~0x00000001); playerId_ = 0; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); gameState_ = de.pokerth.protocol.ProtoBuf.NetGameState.netStatePreflop; - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000002); playerAction_ = de.pokerth.protocol.ProtoBuf.NetPlayerAction.netActionNone; - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000004); totalPlayerBet_ = 0; - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000008); playerMoney_ = 0; - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000010); highestSet_ = 0; - bitField0_ = (bitField0_ & ~0x00000040); + bitField0_ = (bitField0_ & ~0x00000020); minimumRaise_ = 0; - bitField0_ = (bitField0_ & ~0x00000080); + bitField0_ = (bitField0_ & ~0x00000040); return this; } @@ -31812,34 +31324,30 @@ public final class ProtoBuf { if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } - result.gameId_ = gameId_; + result.playerId_ = playerId_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } - result.playerId_ = playerId_; + result.gameState_ = gameState_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } - result.gameState_ = gameState_; + result.playerAction_ = playerAction_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } - result.playerAction_ = playerAction_; + result.totalPlayerBet_ = totalPlayerBet_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } - result.totalPlayerBet_ = totalPlayerBet_; + result.playerMoney_ = playerMoney_; if (((from_bitField0_ & 0x00000020) == 0x00000020)) { to_bitField0_ |= 0x00000020; } - result.playerMoney_ = playerMoney_; + result.highestSet_ = highestSet_; if (((from_bitField0_ & 0x00000040) == 0x00000040)) { to_bitField0_ |= 0x00000040; } - result.highestSet_ = highestSet_; - if (((from_bitField0_ & 0x00000080) == 0x00000080)) { - to_bitField0_ |= 0x00000080; - } result.minimumRaise_ = minimumRaise_; result.bitField0_ = to_bitField0_; return result; @@ -31847,9 +31355,6 @@ public final class ProtoBuf { public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage other) { if (other == de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage.getDefaultInstance()) return this; - if (other.hasGameId()) { - setGameId(other.getGameId()); - } if (other.hasPlayerId()) { setPlayerId(other.getPlayerId()); } @@ -31875,10 +31380,6 @@ public final class ProtoBuf { } public final boolean isInitialized() { - if (!hasGameId()) { - - return false; - } if (!hasPlayerId()) { return false; @@ -31929,271 +31430,238 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; - private int gameId_ ; + // required uint32 playerId = 1; + private int playerId_ ; /** - * required uint32 gameId = 1; + * required uint32 playerId = 1; */ - public boolean hasGameId() { + public boolean hasPlayerId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * required uint32 gameId = 1; - */ - public int getGameId() { - return gameId_; - } - /** - * required uint32 gameId = 1; - */ - public Builder setGameId(int value) { - bitField0_ |= 0x00000001; - gameId_ = value; - - return this; - } - /** - * required uint32 gameId = 1; - */ - public Builder clearGameId() { - bitField0_ = (bitField0_ & ~0x00000001); - gameId_ = 0; - - return this; - } - - // required uint32 playerId = 2; - private int playerId_ ; - /** - * required uint32 playerId = 2; - */ - public boolean hasPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * required uint32 playerId = 2; + * required uint32 playerId = 1; */ public int getPlayerId() { return playerId_; } /** - * required uint32 playerId = 2; + * required uint32 playerId = 1; */ public Builder setPlayerId(int value) { - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000001; playerId_ = value; return this; } /** - * required uint32 playerId = 2; + * required uint32 playerId = 1; */ public Builder clearPlayerId() { - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); playerId_ = 0; return this; } - // required .NetGameState gameState = 3; + // required .NetGameState gameState = 2; private de.pokerth.protocol.ProtoBuf.NetGameState gameState_ = de.pokerth.protocol.ProtoBuf.NetGameState.netStatePreflop; /** - * required .NetGameState gameState = 3; + * required .NetGameState gameState = 2; */ public boolean hasGameState() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000002) == 0x00000002); } /** - * required .NetGameState gameState = 3; + * required .NetGameState gameState = 2; */ public de.pokerth.protocol.ProtoBuf.NetGameState getGameState() { return gameState_; } /** - * required .NetGameState gameState = 3; + * required .NetGameState gameState = 2; */ public Builder setGameState(de.pokerth.protocol.ProtoBuf.NetGameState value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000002; gameState_ = value; return this; } /** - * required .NetGameState gameState = 3; + * required .NetGameState gameState = 2; */ public Builder clearGameState() { - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000002); gameState_ = de.pokerth.protocol.ProtoBuf.NetGameState.netStatePreflop; return this; } - // required .NetPlayerAction playerAction = 4; + // required .NetPlayerAction playerAction = 3; private de.pokerth.protocol.ProtoBuf.NetPlayerAction playerAction_ = de.pokerth.protocol.ProtoBuf.NetPlayerAction.netActionNone; /** - * required .NetPlayerAction playerAction = 4; + * required .NetPlayerAction playerAction = 3; */ public boolean hasPlayerAction() { - return ((bitField0_ & 0x00000008) == 0x00000008); + return ((bitField0_ & 0x00000004) == 0x00000004); } /** - * required .NetPlayerAction playerAction = 4; + * required .NetPlayerAction playerAction = 3; */ public de.pokerth.protocol.ProtoBuf.NetPlayerAction getPlayerAction() { return playerAction_; } /** - * required .NetPlayerAction playerAction = 4; + * required .NetPlayerAction playerAction = 3; */ public Builder setPlayerAction(de.pokerth.protocol.ProtoBuf.NetPlayerAction value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000004; playerAction_ = value; return this; } /** - * required .NetPlayerAction playerAction = 4; + * required .NetPlayerAction playerAction = 3; */ public Builder clearPlayerAction() { - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000004); playerAction_ = de.pokerth.protocol.ProtoBuf.NetPlayerAction.netActionNone; return this; } - // required uint32 totalPlayerBet = 5; + // required uint32 totalPlayerBet = 4; private int totalPlayerBet_ ; /** - * required uint32 totalPlayerBet = 5; + * required uint32 totalPlayerBet = 4; */ public boolean hasTotalPlayerBet() { - return ((bitField0_ & 0x00000010) == 0x00000010); + return ((bitField0_ & 0x00000008) == 0x00000008); } /** - * required uint32 totalPlayerBet = 5; + * required uint32 totalPlayerBet = 4; */ public int getTotalPlayerBet() { return totalPlayerBet_; } /** - * required uint32 totalPlayerBet = 5; + * required uint32 totalPlayerBet = 4; */ public Builder setTotalPlayerBet(int value) { - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000008; totalPlayerBet_ = value; return this; } /** - * required uint32 totalPlayerBet = 5; + * required uint32 totalPlayerBet = 4; */ public Builder clearTotalPlayerBet() { - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000008); totalPlayerBet_ = 0; return this; } - // required uint32 playerMoney = 6; + // required uint32 playerMoney = 5; private int playerMoney_ ; /** - * required uint32 playerMoney = 6; + * required uint32 playerMoney = 5; */ public boolean hasPlayerMoney() { - return ((bitField0_ & 0x00000020) == 0x00000020); + return ((bitField0_ & 0x00000010) == 0x00000010); } /** - * required uint32 playerMoney = 6; + * required uint32 playerMoney = 5; */ public int getPlayerMoney() { return playerMoney_; } /** - * required uint32 playerMoney = 6; + * required uint32 playerMoney = 5; */ public Builder setPlayerMoney(int value) { - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000010; playerMoney_ = value; return this; } /** - * required uint32 playerMoney = 6; + * required uint32 playerMoney = 5; */ public Builder clearPlayerMoney() { - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000010); playerMoney_ = 0; return this; } - // required uint32 highestSet = 7; + // required uint32 highestSet = 6; private int highestSet_ ; /** - * required uint32 highestSet = 7; + * required uint32 highestSet = 6; */ public boolean hasHighestSet() { - return ((bitField0_ & 0x00000040) == 0x00000040); + return ((bitField0_ & 0x00000020) == 0x00000020); } /** - * required uint32 highestSet = 7; + * required uint32 highestSet = 6; */ public int getHighestSet() { return highestSet_; } /** - * required uint32 highestSet = 7; + * required uint32 highestSet = 6; */ public Builder setHighestSet(int value) { - bitField0_ |= 0x00000040; + bitField0_ |= 0x00000020; highestSet_ = value; return this; } /** - * required uint32 highestSet = 7; + * required uint32 highestSet = 6; */ public Builder clearHighestSet() { - bitField0_ = (bitField0_ & ~0x00000040); + bitField0_ = (bitField0_ & ~0x00000020); highestSet_ = 0; return this; } - // required uint32 minimumRaise = 8; + // required uint32 minimumRaise = 7; private int minimumRaise_ ; /** - * required uint32 minimumRaise = 8; + * required uint32 minimumRaise = 7; */ public boolean hasMinimumRaise() { - return ((bitField0_ & 0x00000080) == 0x00000080); + return ((bitField0_ & 0x00000040) == 0x00000040); } /** - * required uint32 minimumRaise = 8; + * required uint32 minimumRaise = 7; */ public int getMinimumRaise() { return minimumRaise_; } /** - * required uint32 minimumRaise = 8; + * required uint32 minimumRaise = 7; */ public Builder setMinimumRaise(int value) { - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000040; minimumRaise_ = value; return this; } /** - * required uint32 minimumRaise = 8; + * required uint32 minimumRaise = 7; */ public Builder clearMinimumRaise() { - bitField0_ = (bitField0_ & ~0x00000080); + bitField0_ = (bitField0_ & ~0x00000040); minimumRaise_ = 0; return this; @@ -32213,43 +31681,33 @@ public final class ProtoBuf { public interface DealFlopCardsMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - // required uint32 gameId = 1; + // required uint32 flopCard1 = 1; /** - * required uint32 gameId = 1; - */ - boolean hasGameId(); - /** - * required uint32 gameId = 1; - */ - int getGameId(); - - // required uint32 flopCard1 = 2; - /** - * required uint32 flopCard1 = 2; + * required uint32 flopCard1 = 1; */ boolean hasFlopCard1(); /** - * required uint32 flopCard1 = 2; + * required uint32 flopCard1 = 1; */ int getFlopCard1(); - // required uint32 flopCard2 = 3; + // required uint32 flopCard2 = 2; /** - * required uint32 flopCard2 = 3; + * required uint32 flopCard2 = 2; */ boolean hasFlopCard2(); /** - * required uint32 flopCard2 = 3; + * required uint32 flopCard2 = 2; */ int getFlopCard2(); - // required uint32 flopCard3 = 4; + // required uint32 flopCard3 = 3; /** - * required uint32 flopCard3 = 4; + * required uint32 flopCard3 = 3; */ boolean hasFlopCard3(); /** - * required uint32 flopCard3 = 4; + * required uint32 flopCard3 = 3; */ int getFlopCard3(); } @@ -32298,21 +31756,16 @@ public final class ProtoBuf { } case 8: { bitField0_ |= 0x00000001; - gameId_ = input.readUInt32(); + flopCard1_ = input.readUInt32(); break; } case 16: { bitField0_ |= 0x00000002; - flopCard1_ = input.readUInt32(); + flopCard2_ = input.readUInt32(); break; } case 24: { bitField0_ |= 0x00000004; - flopCard2_ = input.readUInt32(); - break; - } - case 32: { - bitField0_ |= 0x00000008; flopCard3_ = input.readUInt32(); break; } @@ -32343,72 +31796,55 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; - public static final int GAMEID_FIELD_NUMBER = 1; - private int gameId_; + // required uint32 flopCard1 = 1; + public static final int FLOPCARD1_FIELD_NUMBER = 1; + private int flopCard1_; /** - * required uint32 gameId = 1; + * required uint32 flopCard1 = 1; */ - public boolean hasGameId() { + public boolean hasFlopCard1() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * required uint32 gameId = 1; - */ - public int getGameId() { - return gameId_; - } - - // required uint32 flopCard1 = 2; - public static final int FLOPCARD1_FIELD_NUMBER = 2; - private int flopCard1_; - /** - * required uint32 flopCard1 = 2; - */ - public boolean hasFlopCard1() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * required uint32 flopCard1 = 2; + * required uint32 flopCard1 = 1; */ public int getFlopCard1() { return flopCard1_; } - // required uint32 flopCard2 = 3; - public static final int FLOPCARD2_FIELD_NUMBER = 3; + // required uint32 flopCard2 = 2; + public static final int FLOPCARD2_FIELD_NUMBER = 2; private int flopCard2_; /** - * required uint32 flopCard2 = 3; + * required uint32 flopCard2 = 2; */ public boolean hasFlopCard2() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000002) == 0x00000002); } /** - * required uint32 flopCard2 = 3; + * required uint32 flopCard2 = 2; */ public int getFlopCard2() { return flopCard2_; } - // required uint32 flopCard3 = 4; - public static final int FLOPCARD3_FIELD_NUMBER = 4; + // required uint32 flopCard3 = 3; + public static final int FLOPCARD3_FIELD_NUMBER = 3; private int flopCard3_; /** - * required uint32 flopCard3 = 4; + * required uint32 flopCard3 = 3; */ public boolean hasFlopCard3() { - return ((bitField0_ & 0x00000008) == 0x00000008); + return ((bitField0_ & 0x00000004) == 0x00000004); } /** - * required uint32 flopCard3 = 4; + * required uint32 flopCard3 = 3; */ public int getFlopCard3() { return flopCard3_; } private void initFields() { - gameId_ = 0; flopCard1_ = 0; flopCard2_ = 0; flopCard3_ = 0; @@ -32418,10 +31854,6 @@ public final class ProtoBuf { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - if (!hasGameId()) { - memoizedIsInitialized = 0; - return false; - } if (!hasFlopCard1()) { memoizedIsInitialized = 0; return false; @@ -32442,16 +31874,13 @@ public final class ProtoBuf { throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeUInt32(1, gameId_); + output.writeUInt32(1, flopCard1_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeUInt32(2, flopCard1_); + output.writeUInt32(2, flopCard2_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeUInt32(3, flopCard2_); - } - if (((bitField0_ & 0x00000008) == 0x00000008)) { - output.writeUInt32(4, flopCard3_); + output.writeUInt32(3, flopCard3_); } } @@ -32463,19 +31892,15 @@ public final class ProtoBuf { size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(1, gameId_); + .computeUInt32Size(1, flopCard1_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(2, flopCard1_); + .computeUInt32Size(2, flopCard2_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(3, flopCard2_); - } - if (((bitField0_ & 0x00000008) == 0x00000008)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(4, flopCard3_); + .computeUInt32Size(3, flopCard3_); } memoizedSerializedSize = size; return size; @@ -32568,14 +31993,12 @@ public final class ProtoBuf { public Builder clear() { super.clear(); - gameId_ = 0; - bitField0_ = (bitField0_ & ~0x00000001); flopCard1_ = 0; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); flopCard2_ = 0; - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000002); flopCard3_ = 0; - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000004); return this; } @@ -32602,18 +32025,14 @@ public final class ProtoBuf { if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } - result.gameId_ = gameId_; + result.flopCard1_ = flopCard1_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } - result.flopCard1_ = flopCard1_; + result.flopCard2_ = flopCard2_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } - result.flopCard2_ = flopCard2_; - if (((from_bitField0_ & 0x00000008) == 0x00000008)) { - to_bitField0_ |= 0x00000008; - } result.flopCard3_ = flopCard3_; result.bitField0_ = to_bitField0_; return result; @@ -32621,9 +32040,6 @@ public final class ProtoBuf { public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage other) { if (other == de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage.getDefaultInstance()) return this; - if (other.hasGameId()) { - setGameId(other.getGameId()); - } if (other.hasFlopCard1()) { setFlopCard1(other.getFlopCard1()); } @@ -32637,10 +32053,6 @@ public final class ProtoBuf { } public final boolean isInitialized() { - if (!hasGameId()) { - - return false; - } if (!hasFlopCard1()) { return false; @@ -32675,133 +32087,100 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; - private int gameId_ ; + // required uint32 flopCard1 = 1; + private int flopCard1_ ; /** - * required uint32 gameId = 1; + * required uint32 flopCard1 = 1; */ - public boolean hasGameId() { + public boolean hasFlopCard1() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * required uint32 gameId = 1; - */ - public int getGameId() { - return gameId_; - } - /** - * required uint32 gameId = 1; - */ - public Builder setGameId(int value) { - bitField0_ |= 0x00000001; - gameId_ = value; - - return this; - } - /** - * required uint32 gameId = 1; - */ - public Builder clearGameId() { - bitField0_ = (bitField0_ & ~0x00000001); - gameId_ = 0; - - return this; - } - - // required uint32 flopCard1 = 2; - private int flopCard1_ ; - /** - * required uint32 flopCard1 = 2; - */ - public boolean hasFlopCard1() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * required uint32 flopCard1 = 2; + * required uint32 flopCard1 = 1; */ public int getFlopCard1() { return flopCard1_; } /** - * required uint32 flopCard1 = 2; + * required uint32 flopCard1 = 1; */ public Builder setFlopCard1(int value) { - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000001; flopCard1_ = value; return this; } /** - * required uint32 flopCard1 = 2; + * required uint32 flopCard1 = 1; */ public Builder clearFlopCard1() { - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); flopCard1_ = 0; return this; } - // required uint32 flopCard2 = 3; + // required uint32 flopCard2 = 2; private int flopCard2_ ; /** - * required uint32 flopCard2 = 3; + * required uint32 flopCard2 = 2; */ public boolean hasFlopCard2() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000002) == 0x00000002); } /** - * required uint32 flopCard2 = 3; + * required uint32 flopCard2 = 2; */ public int getFlopCard2() { return flopCard2_; } /** - * required uint32 flopCard2 = 3; + * required uint32 flopCard2 = 2; */ public Builder setFlopCard2(int value) { - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000002; flopCard2_ = value; return this; } /** - * required uint32 flopCard2 = 3; + * required uint32 flopCard2 = 2; */ public Builder clearFlopCard2() { - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000002); flopCard2_ = 0; return this; } - // required uint32 flopCard3 = 4; + // required uint32 flopCard3 = 3; private int flopCard3_ ; /** - * required uint32 flopCard3 = 4; + * required uint32 flopCard3 = 3; */ public boolean hasFlopCard3() { - return ((bitField0_ & 0x00000008) == 0x00000008); + return ((bitField0_ & 0x00000004) == 0x00000004); } /** - * required uint32 flopCard3 = 4; + * required uint32 flopCard3 = 3; */ public int getFlopCard3() { return flopCard3_; } /** - * required uint32 flopCard3 = 4; + * required uint32 flopCard3 = 3; */ public Builder setFlopCard3(int value) { - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000004; flopCard3_ = value; return this; } /** - * required uint32 flopCard3 = 4; + * required uint32 flopCard3 = 3; */ public Builder clearFlopCard3() { - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000004); flopCard3_ = 0; return this; @@ -32821,23 +32200,13 @@ public final class ProtoBuf { public interface DealTurnCardMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - // required uint32 gameId = 1; + // required uint32 turnCard = 1; /** - * required uint32 gameId = 1; - */ - boolean hasGameId(); - /** - * required uint32 gameId = 1; - */ - int getGameId(); - - // required uint32 turnCard = 2; - /** - * required uint32 turnCard = 2; + * required uint32 turnCard = 1; */ boolean hasTurnCard(); /** - * required uint32 turnCard = 2; + * required uint32 turnCard = 1; */ int getTurnCard(); } @@ -32886,11 +32255,6 @@ public final class ProtoBuf { } case 8: { bitField0_ |= 0x00000001; - gameId_ = input.readUInt32(); - break; - } - case 16: { - bitField0_ |= 0x00000002; turnCard_ = input.readUInt32(); break; } @@ -32921,40 +32285,23 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; - public static final int GAMEID_FIELD_NUMBER = 1; - private int gameId_; + // required uint32 turnCard = 1; + public static final int TURNCARD_FIELD_NUMBER = 1; + private int turnCard_; /** - * required uint32 gameId = 1; + * required uint32 turnCard = 1; */ - public boolean hasGameId() { + public boolean hasTurnCard() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * required uint32 gameId = 1; - */ - public int getGameId() { - return gameId_; - } - - // required uint32 turnCard = 2; - public static final int TURNCARD_FIELD_NUMBER = 2; - private int turnCard_; - /** - * required uint32 turnCard = 2; - */ - public boolean hasTurnCard() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * required uint32 turnCard = 2; + * required uint32 turnCard = 1; */ public int getTurnCard() { return turnCard_; } private void initFields() { - gameId_ = 0; turnCard_ = 0; } private byte memoizedIsInitialized = -1; @@ -32962,10 +32309,6 @@ public final class ProtoBuf { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - if (!hasGameId()) { - memoizedIsInitialized = 0; - return false; - } if (!hasTurnCard()) { memoizedIsInitialized = 0; return false; @@ -32978,10 +32321,7 @@ public final class ProtoBuf { throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeUInt32(1, gameId_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeUInt32(2, turnCard_); + output.writeUInt32(1, turnCard_); } } @@ -32993,11 +32333,7 @@ public final class ProtoBuf { size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(1, gameId_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(2, turnCard_); + .computeUInt32Size(1, turnCard_); } memoizedSerializedSize = size; return size; @@ -33090,10 +32426,8 @@ public final class ProtoBuf { public Builder clear() { super.clear(); - gameId_ = 0; - bitField0_ = (bitField0_ & ~0x00000001); turnCard_ = 0; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); return this; } @@ -33120,10 +32454,6 @@ public final class ProtoBuf { if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } - result.gameId_ = gameId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { - to_bitField0_ |= 0x00000002; - } result.turnCard_ = turnCard_; result.bitField0_ = to_bitField0_; return result; @@ -33131,9 +32461,6 @@ public final class ProtoBuf { public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.DealTurnCardMessage other) { if (other == de.pokerth.protocol.ProtoBuf.DealTurnCardMessage.getDefaultInstance()) return this; - if (other.hasGameId()) { - setGameId(other.getGameId()); - } if (other.hasTurnCard()) { setTurnCard(other.getTurnCard()); } @@ -33141,10 +32468,6 @@ public final class ProtoBuf { } public final boolean isInitialized() { - if (!hasGameId()) { - - return false; - } if (!hasTurnCard()) { return false; @@ -33171,67 +32494,34 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; - private int gameId_ ; + // required uint32 turnCard = 1; + private int turnCard_ ; /** - * required uint32 gameId = 1; + * required uint32 turnCard = 1; */ - public boolean hasGameId() { + public boolean hasTurnCard() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * required uint32 gameId = 1; - */ - public int getGameId() { - return gameId_; - } - /** - * required uint32 gameId = 1; - */ - public Builder setGameId(int value) { - bitField0_ |= 0x00000001; - gameId_ = value; - - return this; - } - /** - * required uint32 gameId = 1; - */ - public Builder clearGameId() { - bitField0_ = (bitField0_ & ~0x00000001); - gameId_ = 0; - - return this; - } - - // required uint32 turnCard = 2; - private int turnCard_ ; - /** - * required uint32 turnCard = 2; - */ - public boolean hasTurnCard() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * required uint32 turnCard = 2; + * required uint32 turnCard = 1; */ public int getTurnCard() { return turnCard_; } /** - * required uint32 turnCard = 2; + * required uint32 turnCard = 1; */ public Builder setTurnCard(int value) { - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000001; turnCard_ = value; return this; } /** - * required uint32 turnCard = 2; + * required uint32 turnCard = 1; */ public Builder clearTurnCard() { - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); turnCard_ = 0; return this; @@ -33251,23 +32541,13 @@ public final class ProtoBuf { public interface DealRiverCardMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - // required uint32 gameId = 1; + // required uint32 riverCard = 1; /** - * required uint32 gameId = 1; - */ - boolean hasGameId(); - /** - * required uint32 gameId = 1; - */ - int getGameId(); - - // required uint32 riverCard = 2; - /** - * required uint32 riverCard = 2; + * required uint32 riverCard = 1; */ boolean hasRiverCard(); /** - * required uint32 riverCard = 2; + * required uint32 riverCard = 1; */ int getRiverCard(); } @@ -33316,11 +32596,6 @@ public final class ProtoBuf { } case 8: { bitField0_ |= 0x00000001; - gameId_ = input.readUInt32(); - break; - } - case 16: { - bitField0_ |= 0x00000002; riverCard_ = input.readUInt32(); break; } @@ -33351,40 +32626,23 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; - public static final int GAMEID_FIELD_NUMBER = 1; - private int gameId_; + // required uint32 riverCard = 1; + public static final int RIVERCARD_FIELD_NUMBER = 1; + private int riverCard_; /** - * required uint32 gameId = 1; + * required uint32 riverCard = 1; */ - public boolean hasGameId() { + public boolean hasRiverCard() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * required uint32 gameId = 1; - */ - public int getGameId() { - return gameId_; - } - - // required uint32 riverCard = 2; - public static final int RIVERCARD_FIELD_NUMBER = 2; - private int riverCard_; - /** - * required uint32 riverCard = 2; - */ - public boolean hasRiverCard() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * required uint32 riverCard = 2; + * required uint32 riverCard = 1; */ public int getRiverCard() { return riverCard_; } private void initFields() { - gameId_ = 0; riverCard_ = 0; } private byte memoizedIsInitialized = -1; @@ -33392,10 +32650,6 @@ public final class ProtoBuf { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - if (!hasGameId()) { - memoizedIsInitialized = 0; - return false; - } if (!hasRiverCard()) { memoizedIsInitialized = 0; return false; @@ -33408,10 +32662,7 @@ public final class ProtoBuf { throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeUInt32(1, gameId_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeUInt32(2, riverCard_); + output.writeUInt32(1, riverCard_); } } @@ -33423,11 +32674,7 @@ public final class ProtoBuf { size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(1, gameId_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(2, riverCard_); + .computeUInt32Size(1, riverCard_); } memoizedSerializedSize = size; return size; @@ -33520,10 +32767,8 @@ public final class ProtoBuf { public Builder clear() { super.clear(); - gameId_ = 0; - bitField0_ = (bitField0_ & ~0x00000001); riverCard_ = 0; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); return this; } @@ -33550,10 +32795,6 @@ public final class ProtoBuf { if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } - result.gameId_ = gameId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { - to_bitField0_ |= 0x00000002; - } result.riverCard_ = riverCard_; result.bitField0_ = to_bitField0_; return result; @@ -33561,9 +32802,6 @@ public final class ProtoBuf { public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.DealRiverCardMessage other) { if (other == de.pokerth.protocol.ProtoBuf.DealRiverCardMessage.getDefaultInstance()) return this; - if (other.hasGameId()) { - setGameId(other.getGameId()); - } if (other.hasRiverCard()) { setRiverCard(other.getRiverCard()); } @@ -33571,10 +32809,6 @@ public final class ProtoBuf { } public final boolean isInitialized() { - if (!hasGameId()) { - - return false; - } if (!hasRiverCard()) { return false; @@ -33601,67 +32835,34 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; - private int gameId_ ; + // required uint32 riverCard = 1; + private int riverCard_ ; /** - * required uint32 gameId = 1; + * required uint32 riverCard = 1; */ - public boolean hasGameId() { + public boolean hasRiverCard() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * required uint32 gameId = 1; - */ - public int getGameId() { - return gameId_; - } - /** - * required uint32 gameId = 1; - */ - public Builder setGameId(int value) { - bitField0_ |= 0x00000001; - gameId_ = value; - - return this; - } - /** - * required uint32 gameId = 1; - */ - public Builder clearGameId() { - bitField0_ = (bitField0_ & ~0x00000001); - gameId_ = 0; - - return this; - } - - // required uint32 riverCard = 2; - private int riverCard_ ; - /** - * required uint32 riverCard = 2; - */ - public boolean hasRiverCard() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * required uint32 riverCard = 2; + * required uint32 riverCard = 1; */ public int getRiverCard() { return riverCard_; } /** - * required uint32 riverCard = 2; + * required uint32 riverCard = 1; */ public Builder setRiverCard(int value) { - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000001; riverCard_ = value; return this; } /** - * required uint32 riverCard = 2; + * required uint32 riverCard = 1; */ public Builder clearRiverCard() { - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); riverCard_ = 0; return this; @@ -33681,28 +32882,18 @@ public final class ProtoBuf { public interface AllInShowCardsMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - // required uint32 gameId = 1; + // repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 1; /** - * required uint32 gameId = 1; - */ - boolean hasGameId(); - /** - * required uint32 gameId = 1; - */ - int getGameId(); - - // repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; - /** - * repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; + * repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 1; */ java.util.List getPlayersAllInList(); /** - * repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; + * repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 1; */ de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn getPlayersAllIn(int index); /** - * repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; + * repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 1; */ int getPlayersAllInCount(); } @@ -33749,15 +32940,10 @@ public final class ProtoBuf { } break; } - case 8: { - bitField0_ |= 0x00000001; - gameId_ = input.readUInt32(); - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { + case 10: { + if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { playersAllIn_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; + mutable_bitField0_ |= 0x00000001; } playersAllIn_.add(input.readMessage(de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn.PARSER, extensionRegistry)); break; @@ -33770,7 +32956,7 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { + if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { playersAllIn_ = java.util.Collections.unmodifiableList(playersAllIn_); } makeExtensionsImmutable(); @@ -34310,53 +33496,36 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:AllInShowCardsMessage.PlayerAllIn) } - private int bitField0_; - // required uint32 gameId = 1; - public static final int GAMEID_FIELD_NUMBER = 1; - private int gameId_; - /** - * required uint32 gameId = 1; - */ - public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - /** - * required uint32 gameId = 1; - */ - public int getGameId() { - return gameId_; - } - - // repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; - public static final int PLAYERSALLIN_FIELD_NUMBER = 2; + // repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 1; + public static final int PLAYERSALLIN_FIELD_NUMBER = 1; private java.util.List playersAllIn_; /** - * repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; + * repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 1; */ public java.util.List getPlayersAllInList() { return playersAllIn_; } /** - * repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; + * repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 1; */ public java.util.List getPlayersAllInOrBuilderList() { return playersAllIn_; } /** - * repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; + * repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 1; */ public int getPlayersAllInCount() { return playersAllIn_.size(); } /** - * repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; + * repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 1; */ public de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn getPlayersAllIn(int index) { return playersAllIn_.get(index); } /** - * repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; + * repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 1; */ public de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllInOrBuilder getPlayersAllInOrBuilder( int index) { @@ -34364,7 +33533,6 @@ public final class ProtoBuf { } private void initFields() { - gameId_ = 0; playersAllIn_ = java.util.Collections.emptyList(); } private byte memoizedIsInitialized = -1; @@ -34372,10 +33540,6 @@ public final class ProtoBuf { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - if (!hasGameId()) { - memoizedIsInitialized = 0; - return false; - } for (int i = 0; i < getPlayersAllInCount(); i++) { if (!getPlayersAllIn(i).isInitialized()) { memoizedIsInitialized = 0; @@ -34389,11 +33553,8 @@ public final class ProtoBuf { public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeUInt32(1, gameId_); - } for (int i = 0; i < playersAllIn_.size(); i++) { - output.writeMessage(2, playersAllIn_.get(i)); + output.writeMessage(1, playersAllIn_.get(i)); } } @@ -34403,13 +33564,9 @@ public final class ProtoBuf { if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(1, gameId_); - } for (int i = 0; i < playersAllIn_.size(); i++) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, playersAllIn_.get(i)); + .computeMessageSize(1, playersAllIn_.get(i)); } memoizedSerializedSize = size; return size; @@ -34502,10 +33659,8 @@ public final class ProtoBuf { public Builder clear() { super.clear(); - gameId_ = 0; - bitField0_ = (bitField0_ & ~0x00000001); playersAllIn_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); return this; } @@ -34528,29 +33683,20 @@ public final class ProtoBuf { public de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage buildPartial() { de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage result = new de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { - to_bitField0_ |= 0x00000001; - } - result.gameId_ = gameId_; - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000001) == 0x00000001)) { playersAllIn_ = java.util.Collections.unmodifiableList(playersAllIn_); - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); } result.playersAllIn_ = playersAllIn_; - result.bitField0_ = to_bitField0_; return result; } public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage other) { if (other == de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.getDefaultInstance()) return this; - if (other.hasGameId()) { - setGameId(other.getGameId()); - } if (!other.playersAllIn_.isEmpty()) { if (playersAllIn_.isEmpty()) { playersAllIn_ = other.playersAllIn_; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); } else { ensurePlayersAllInIsMutable(); playersAllIn_.addAll(other.playersAllIn_); @@ -34561,10 +33707,6 @@ public final class ProtoBuf { } public final boolean isInitialized() { - if (!hasGameId()) { - - return false; - } for (int i = 0; i < getPlayersAllInCount(); i++) { if (!getPlayersAllIn(i).isInitialized()) { @@ -34593,69 +33735,36 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; - private int gameId_ ; - /** - * required uint32 gameId = 1; - */ - public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - /** - * required uint32 gameId = 1; - */ - public int getGameId() { - return gameId_; - } - /** - * required uint32 gameId = 1; - */ - public Builder setGameId(int value) { - bitField0_ |= 0x00000001; - gameId_ = value; - - return this; - } - /** - * required uint32 gameId = 1; - */ - public Builder clearGameId() { - bitField0_ = (bitField0_ & ~0x00000001); - gameId_ = 0; - - return this; - } - - // repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; + // repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 1; private java.util.List playersAllIn_ = java.util.Collections.emptyList(); private void ensurePlayersAllInIsMutable() { - if (!((bitField0_ & 0x00000002) == 0x00000002)) { + if (!((bitField0_ & 0x00000001) == 0x00000001)) { playersAllIn_ = new java.util.ArrayList(playersAllIn_); - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000001; } } /** - * repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; + * repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 1; */ public java.util.List getPlayersAllInList() { return java.util.Collections.unmodifiableList(playersAllIn_); } /** - * repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; + * repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 1; */ public int getPlayersAllInCount() { return playersAllIn_.size(); } /** - * repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; + * repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 1; */ public de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn getPlayersAllIn(int index) { return playersAllIn_.get(index); } /** - * repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; + * repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 1; */ public Builder setPlayersAllIn( int index, de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn value) { @@ -34668,7 +33777,7 @@ public final class ProtoBuf { return this; } /** - * repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; + * repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 1; */ public Builder setPlayersAllIn( int index, de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn.Builder builderForValue) { @@ -34678,7 +33787,7 @@ public final class ProtoBuf { return this; } /** - * repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; + * repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 1; */ public Builder addPlayersAllIn(de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn value) { if (value == null) { @@ -34690,7 +33799,7 @@ public final class ProtoBuf { return this; } /** - * repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; + * repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 1; */ public Builder addPlayersAllIn( int index, de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn value) { @@ -34703,7 +33812,7 @@ public final class ProtoBuf { return this; } /** - * repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; + * repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 1; */ public Builder addPlayersAllIn( de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn.Builder builderForValue) { @@ -34713,7 +33822,7 @@ public final class ProtoBuf { return this; } /** - * repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; + * repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 1; */ public Builder addPlayersAllIn( int index, de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn.Builder builderForValue) { @@ -34723,7 +33832,7 @@ public final class ProtoBuf { return this; } /** - * repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; + * repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 1; */ public Builder addAllPlayersAllIn( java.lang.Iterable values) { @@ -34733,16 +33842,16 @@ public final class ProtoBuf { return this; } /** - * repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; + * repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 1; */ public Builder clearPlayersAllIn() { playersAllIn_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); return this; } /** - * repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; + * repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 1; */ public Builder removePlayersAllIn(int index) { ensurePlayersAllInIsMutable(); @@ -34765,28 +33874,18 @@ public final class ProtoBuf { public interface EndOfHandShowCardsMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - // required uint32 gameId = 1; + // repeated .PlayerResult playerResults = 1; /** - * required uint32 gameId = 1; - */ - boolean hasGameId(); - /** - * required uint32 gameId = 1; - */ - int getGameId(); - - // repeated .PlayerResult playerResults = 2; - /** - * repeated .PlayerResult playerResults = 2; + * repeated .PlayerResult playerResults = 1; */ java.util.List getPlayerResultsList(); /** - * repeated .PlayerResult playerResults = 2; + * repeated .PlayerResult playerResults = 1; */ de.pokerth.protocol.ProtoBuf.PlayerResult getPlayerResults(int index); /** - * repeated .PlayerResult playerResults = 2; + * repeated .PlayerResult playerResults = 1; */ int getPlayerResultsCount(); } @@ -34833,15 +33932,10 @@ public final class ProtoBuf { } break; } - case 8: { - bitField0_ |= 0x00000001; - gameId_ = input.readUInt32(); - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { + case 10: { + if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { playerResults_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; + mutable_bitField0_ |= 0x00000001; } playerResults_.add(input.readMessage(de.pokerth.protocol.ProtoBuf.PlayerResult.PARSER, extensionRegistry)); break; @@ -34854,7 +33948,7 @@ public final class ProtoBuf { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { + if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { playerResults_ = java.util.Collections.unmodifiableList(playerResults_); } makeExtensionsImmutable(); @@ -34875,53 +33969,36 @@ public final class ProtoBuf { return PARSER; } - private int bitField0_; - // required uint32 gameId = 1; - public static final int GAMEID_FIELD_NUMBER = 1; - private int gameId_; - /** - * required uint32 gameId = 1; - */ - public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - /** - * required uint32 gameId = 1; - */ - public int getGameId() { - return gameId_; - } - - // repeated .PlayerResult playerResults = 2; - public static final int PLAYERRESULTS_FIELD_NUMBER = 2; + // repeated .PlayerResult playerResults = 1; + public static final int PLAYERRESULTS_FIELD_NUMBER = 1; private java.util.List playerResults_; /** - * repeated .PlayerResult playerResults = 2; + * repeated .PlayerResult playerResults = 1; */ public java.util.List getPlayerResultsList() { return playerResults_; } /** - * repeated .PlayerResult playerResults = 2; + * repeated .PlayerResult playerResults = 1; */ public java.util.List getPlayerResultsOrBuilderList() { return playerResults_; } /** - * repeated .PlayerResult playerResults = 2; + * repeated .PlayerResult playerResults = 1; */ public int getPlayerResultsCount() { return playerResults_.size(); } /** - * repeated .PlayerResult playerResults = 2; + * repeated .PlayerResult playerResults = 1; */ public de.pokerth.protocol.ProtoBuf.PlayerResult getPlayerResults(int index) { return playerResults_.get(index); } /** - * repeated .PlayerResult playerResults = 2; + * repeated .PlayerResult playerResults = 1; */ public de.pokerth.protocol.ProtoBuf.PlayerResultOrBuilder getPlayerResultsOrBuilder( int index) { @@ -34929,7 +34006,6 @@ public final class ProtoBuf { } private void initFields() { - gameId_ = 0; playerResults_ = java.util.Collections.emptyList(); } private byte memoizedIsInitialized = -1; @@ -34937,10 +34013,6 @@ public final class ProtoBuf { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - if (!hasGameId()) { - memoizedIsInitialized = 0; - return false; - } for (int i = 0; i < getPlayerResultsCount(); i++) { if (!getPlayerResults(i).isInitialized()) { memoizedIsInitialized = 0; @@ -34954,11 +34026,8 @@ public final class ProtoBuf { public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeUInt32(1, gameId_); - } for (int i = 0; i < playerResults_.size(); i++) { - output.writeMessage(2, playerResults_.get(i)); + output.writeMessage(1, playerResults_.get(i)); } } @@ -34968,13 +34037,9 @@ public final class ProtoBuf { if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(1, gameId_); - } for (int i = 0; i < playerResults_.size(); i++) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, playerResults_.get(i)); + .computeMessageSize(1, playerResults_.get(i)); } memoizedSerializedSize = size; return size; @@ -35067,10 +34132,8 @@ public final class ProtoBuf { public Builder clear() { super.clear(); - gameId_ = 0; - bitField0_ = (bitField0_ & ~0x00000001); playerResults_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); return this; } @@ -35093,29 +34156,20 @@ public final class ProtoBuf { public de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage buildPartial() { de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage result = new de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { - to_bitField0_ |= 0x00000001; - } - result.gameId_ = gameId_; - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000001) == 0x00000001)) { playerResults_ = java.util.Collections.unmodifiableList(playerResults_); - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); } result.playerResults_ = playerResults_; - result.bitField0_ = to_bitField0_; return result; } public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage other) { if (other == de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage.getDefaultInstance()) return this; - if (other.hasGameId()) { - setGameId(other.getGameId()); - } if (!other.playerResults_.isEmpty()) { if (playerResults_.isEmpty()) { playerResults_ = other.playerResults_; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); } else { ensurePlayerResultsIsMutable(); playerResults_.addAll(other.playerResults_); @@ -35126,10 +34180,6 @@ public final class ProtoBuf { } public final boolean isInitialized() { - if (!hasGameId()) { - - return false; - } for (int i = 0; i < getPlayerResultsCount(); i++) { if (!getPlayerResults(i).isInitialized()) { @@ -35158,69 +34208,36 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; - private int gameId_ ; - /** - * required uint32 gameId = 1; - */ - public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - /** - * required uint32 gameId = 1; - */ - public int getGameId() { - return gameId_; - } - /** - * required uint32 gameId = 1; - */ - public Builder setGameId(int value) { - bitField0_ |= 0x00000001; - gameId_ = value; - - return this; - } - /** - * required uint32 gameId = 1; - */ - public Builder clearGameId() { - bitField0_ = (bitField0_ & ~0x00000001); - gameId_ = 0; - - return this; - } - - // repeated .PlayerResult playerResults = 2; + // repeated .PlayerResult playerResults = 1; private java.util.List playerResults_ = java.util.Collections.emptyList(); private void ensurePlayerResultsIsMutable() { - if (!((bitField0_ & 0x00000002) == 0x00000002)) { + if (!((bitField0_ & 0x00000001) == 0x00000001)) { playerResults_ = new java.util.ArrayList(playerResults_); - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000001; } } /** - * repeated .PlayerResult playerResults = 2; + * repeated .PlayerResult playerResults = 1; */ public java.util.List getPlayerResultsList() { return java.util.Collections.unmodifiableList(playerResults_); } /** - * repeated .PlayerResult playerResults = 2; + * repeated .PlayerResult playerResults = 1; */ public int getPlayerResultsCount() { return playerResults_.size(); } /** - * repeated .PlayerResult playerResults = 2; + * repeated .PlayerResult playerResults = 1; */ public de.pokerth.protocol.ProtoBuf.PlayerResult getPlayerResults(int index) { return playerResults_.get(index); } /** - * repeated .PlayerResult playerResults = 2; + * repeated .PlayerResult playerResults = 1; */ public Builder setPlayerResults( int index, de.pokerth.protocol.ProtoBuf.PlayerResult value) { @@ -35233,7 +34250,7 @@ public final class ProtoBuf { return this; } /** - * repeated .PlayerResult playerResults = 2; + * repeated .PlayerResult playerResults = 1; */ public Builder setPlayerResults( int index, de.pokerth.protocol.ProtoBuf.PlayerResult.Builder builderForValue) { @@ -35243,7 +34260,7 @@ public final class ProtoBuf { return this; } /** - * repeated .PlayerResult playerResults = 2; + * repeated .PlayerResult playerResults = 1; */ public Builder addPlayerResults(de.pokerth.protocol.ProtoBuf.PlayerResult value) { if (value == null) { @@ -35255,7 +34272,7 @@ public final class ProtoBuf { return this; } /** - * repeated .PlayerResult playerResults = 2; + * repeated .PlayerResult playerResults = 1; */ public Builder addPlayerResults( int index, de.pokerth.protocol.ProtoBuf.PlayerResult value) { @@ -35268,7 +34285,7 @@ public final class ProtoBuf { return this; } /** - * repeated .PlayerResult playerResults = 2; + * repeated .PlayerResult playerResults = 1; */ public Builder addPlayerResults( de.pokerth.protocol.ProtoBuf.PlayerResult.Builder builderForValue) { @@ -35278,7 +34295,7 @@ public final class ProtoBuf { return this; } /** - * repeated .PlayerResult playerResults = 2; + * repeated .PlayerResult playerResults = 1; */ public Builder addPlayerResults( int index, de.pokerth.protocol.ProtoBuf.PlayerResult.Builder builderForValue) { @@ -35288,7 +34305,7 @@ public final class ProtoBuf { return this; } /** - * repeated .PlayerResult playerResults = 2; + * repeated .PlayerResult playerResults = 1; */ public Builder addAllPlayerResults( java.lang.Iterable values) { @@ -35298,16 +34315,16 @@ public final class ProtoBuf { return this; } /** - * repeated .PlayerResult playerResults = 2; + * repeated .PlayerResult playerResults = 1; */ public Builder clearPlayerResults() { playerResults_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); return this; } /** - * repeated .PlayerResult playerResults = 2; + * repeated .PlayerResult playerResults = 1; */ public Builder removePlayerResults(int index) { ensurePlayerResultsIsMutable(); @@ -35330,43 +34347,33 @@ public final class ProtoBuf { public interface EndOfHandHideCardsMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - // required uint32 gameId = 1; + // required uint32 playerId = 1; /** - * required uint32 gameId = 1; - */ - boolean hasGameId(); - /** - * required uint32 gameId = 1; - */ - int getGameId(); - - // required uint32 playerId = 2; - /** - * required uint32 playerId = 2; + * required uint32 playerId = 1; */ boolean hasPlayerId(); /** - * required uint32 playerId = 2; + * required uint32 playerId = 1; */ int getPlayerId(); - // required uint32 moneyWon = 3; + // required uint32 moneyWon = 2; /** - * required uint32 moneyWon = 3; + * required uint32 moneyWon = 2; */ boolean hasMoneyWon(); /** - * required uint32 moneyWon = 3; + * required uint32 moneyWon = 2; */ int getMoneyWon(); - // required uint32 playerMoney = 4; + // required uint32 playerMoney = 3; /** - * required uint32 playerMoney = 4; + * required uint32 playerMoney = 3; */ boolean hasPlayerMoney(); /** - * required uint32 playerMoney = 4; + * required uint32 playerMoney = 3; */ int getPlayerMoney(); } @@ -35415,21 +34422,16 @@ public final class ProtoBuf { } case 8: { bitField0_ |= 0x00000001; - gameId_ = input.readUInt32(); + playerId_ = input.readUInt32(); break; } case 16: { bitField0_ |= 0x00000002; - playerId_ = input.readUInt32(); + moneyWon_ = input.readUInt32(); break; } case 24: { bitField0_ |= 0x00000004; - moneyWon_ = input.readUInt32(); - break; - } - case 32: { - bitField0_ |= 0x00000008; playerMoney_ = input.readUInt32(); break; } @@ -35460,72 +34462,55 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; - public static final int GAMEID_FIELD_NUMBER = 1; - private int gameId_; + // required uint32 playerId = 1; + public static final int PLAYERID_FIELD_NUMBER = 1; + private int playerId_; /** - * required uint32 gameId = 1; + * required uint32 playerId = 1; */ - public boolean hasGameId() { + public boolean hasPlayerId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * required uint32 gameId = 1; - */ - public int getGameId() { - return gameId_; - } - - // required uint32 playerId = 2; - public static final int PLAYERID_FIELD_NUMBER = 2; - private int playerId_; - /** - * required uint32 playerId = 2; - */ - public boolean hasPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * required uint32 playerId = 2; + * required uint32 playerId = 1; */ public int getPlayerId() { return playerId_; } - // required uint32 moneyWon = 3; - public static final int MONEYWON_FIELD_NUMBER = 3; + // required uint32 moneyWon = 2; + public static final int MONEYWON_FIELD_NUMBER = 2; private int moneyWon_; /** - * required uint32 moneyWon = 3; + * required uint32 moneyWon = 2; */ public boolean hasMoneyWon() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000002) == 0x00000002); } /** - * required uint32 moneyWon = 3; + * required uint32 moneyWon = 2; */ public int getMoneyWon() { return moneyWon_; } - // required uint32 playerMoney = 4; - public static final int PLAYERMONEY_FIELD_NUMBER = 4; + // required uint32 playerMoney = 3; + public static final int PLAYERMONEY_FIELD_NUMBER = 3; private int playerMoney_; /** - * required uint32 playerMoney = 4; + * required uint32 playerMoney = 3; */ public boolean hasPlayerMoney() { - return ((bitField0_ & 0x00000008) == 0x00000008); + return ((bitField0_ & 0x00000004) == 0x00000004); } /** - * required uint32 playerMoney = 4; + * required uint32 playerMoney = 3; */ public int getPlayerMoney() { return playerMoney_; } private void initFields() { - gameId_ = 0; playerId_ = 0; moneyWon_ = 0; playerMoney_ = 0; @@ -35535,10 +34520,6 @@ public final class ProtoBuf { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - if (!hasGameId()) { - memoizedIsInitialized = 0; - return false; - } if (!hasPlayerId()) { memoizedIsInitialized = 0; return false; @@ -35559,16 +34540,13 @@ public final class ProtoBuf { throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeUInt32(1, gameId_); + output.writeUInt32(1, playerId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeUInt32(2, playerId_); + output.writeUInt32(2, moneyWon_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeUInt32(3, moneyWon_); - } - if (((bitField0_ & 0x00000008) == 0x00000008)) { - output.writeUInt32(4, playerMoney_); + output.writeUInt32(3, playerMoney_); } } @@ -35580,19 +34558,15 @@ public final class ProtoBuf { size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(1, gameId_); + .computeUInt32Size(1, playerId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(2, playerId_); + .computeUInt32Size(2, moneyWon_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(3, moneyWon_); - } - if (((bitField0_ & 0x00000008) == 0x00000008)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(4, playerMoney_); + .computeUInt32Size(3, playerMoney_); } memoizedSerializedSize = size; return size; @@ -35685,14 +34659,12 @@ public final class ProtoBuf { public Builder clear() { super.clear(); - gameId_ = 0; - bitField0_ = (bitField0_ & ~0x00000001); playerId_ = 0; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); moneyWon_ = 0; - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000002); playerMoney_ = 0; - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000004); return this; } @@ -35719,18 +34691,14 @@ public final class ProtoBuf { if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } - result.gameId_ = gameId_; + result.playerId_ = playerId_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } - result.playerId_ = playerId_; + result.moneyWon_ = moneyWon_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } - result.moneyWon_ = moneyWon_; - if (((from_bitField0_ & 0x00000008) == 0x00000008)) { - to_bitField0_ |= 0x00000008; - } result.playerMoney_ = playerMoney_; result.bitField0_ = to_bitField0_; return result; @@ -35738,9 +34706,6 @@ public final class ProtoBuf { public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage other) { if (other == de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage.getDefaultInstance()) return this; - if (other.hasGameId()) { - setGameId(other.getGameId()); - } if (other.hasPlayerId()) { setPlayerId(other.getPlayerId()); } @@ -35754,10 +34719,6 @@ public final class ProtoBuf { } public final boolean isInitialized() { - if (!hasGameId()) { - - return false; - } if (!hasPlayerId()) { return false; @@ -35792,133 +34753,100 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; - private int gameId_ ; + // required uint32 playerId = 1; + private int playerId_ ; /** - * required uint32 gameId = 1; + * required uint32 playerId = 1; */ - public boolean hasGameId() { + public boolean hasPlayerId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * required uint32 gameId = 1; - */ - public int getGameId() { - return gameId_; - } - /** - * required uint32 gameId = 1; - */ - public Builder setGameId(int value) { - bitField0_ |= 0x00000001; - gameId_ = value; - - return this; - } - /** - * required uint32 gameId = 1; - */ - public Builder clearGameId() { - bitField0_ = (bitField0_ & ~0x00000001); - gameId_ = 0; - - return this; - } - - // required uint32 playerId = 2; - private int playerId_ ; - /** - * required uint32 playerId = 2; - */ - public boolean hasPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * required uint32 playerId = 2; + * required uint32 playerId = 1; */ public int getPlayerId() { return playerId_; } /** - * required uint32 playerId = 2; + * required uint32 playerId = 1; */ public Builder setPlayerId(int value) { - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000001; playerId_ = value; return this; } /** - * required uint32 playerId = 2; + * required uint32 playerId = 1; */ public Builder clearPlayerId() { - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); playerId_ = 0; return this; } - // required uint32 moneyWon = 3; + // required uint32 moneyWon = 2; private int moneyWon_ ; /** - * required uint32 moneyWon = 3; + * required uint32 moneyWon = 2; */ public boolean hasMoneyWon() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000002) == 0x00000002); } /** - * required uint32 moneyWon = 3; + * required uint32 moneyWon = 2; */ public int getMoneyWon() { return moneyWon_; } /** - * required uint32 moneyWon = 3; + * required uint32 moneyWon = 2; */ public Builder setMoneyWon(int value) { - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000002; moneyWon_ = value; return this; } /** - * required uint32 moneyWon = 3; + * required uint32 moneyWon = 2; */ public Builder clearMoneyWon() { - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000002); moneyWon_ = 0; return this; } - // required uint32 playerMoney = 4; + // required uint32 playerMoney = 3; private int playerMoney_ ; /** - * required uint32 playerMoney = 4; + * required uint32 playerMoney = 3; */ public boolean hasPlayerMoney() { - return ((bitField0_ & 0x00000008) == 0x00000008); + return ((bitField0_ & 0x00000004) == 0x00000004); } /** - * required uint32 playerMoney = 4; + * required uint32 playerMoney = 3; */ public int getPlayerMoney() { return playerMoney_; } /** - * required uint32 playerMoney = 4; + * required uint32 playerMoney = 3; */ public Builder setPlayerMoney(int value) { - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000004; playerMoney_ = value; return this; } /** - * required uint32 playerMoney = 4; + * required uint32 playerMoney = 3; */ public Builder clearPlayerMoney() { - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000004); playerMoney_ = 0; return this; @@ -36569,23 +35497,13 @@ public final class ProtoBuf { public interface EndOfGameMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - // required uint32 gameId = 1; + // required uint32 winnerPlayerId = 1; /** - * required uint32 gameId = 1; - */ - boolean hasGameId(); - /** - * required uint32 gameId = 1; - */ - int getGameId(); - - // required uint32 winnerPlayerId = 2; - /** - * required uint32 winnerPlayerId = 2; + * required uint32 winnerPlayerId = 1; */ boolean hasWinnerPlayerId(); /** - * required uint32 winnerPlayerId = 2; + * required uint32 winnerPlayerId = 1; */ int getWinnerPlayerId(); } @@ -36634,11 +35552,6 @@ public final class ProtoBuf { } case 8: { bitField0_ |= 0x00000001; - gameId_ = input.readUInt32(); - break; - } - case 16: { - bitField0_ |= 0x00000002; winnerPlayerId_ = input.readUInt32(); break; } @@ -36669,40 +35582,23 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; - public static final int GAMEID_FIELD_NUMBER = 1; - private int gameId_; + // required uint32 winnerPlayerId = 1; + public static final int WINNERPLAYERID_FIELD_NUMBER = 1; + private int winnerPlayerId_; /** - * required uint32 gameId = 1; + * required uint32 winnerPlayerId = 1; */ - public boolean hasGameId() { + public boolean hasWinnerPlayerId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * required uint32 gameId = 1; - */ - public int getGameId() { - return gameId_; - } - - // required uint32 winnerPlayerId = 2; - public static final int WINNERPLAYERID_FIELD_NUMBER = 2; - private int winnerPlayerId_; - /** - * required uint32 winnerPlayerId = 2; - */ - public boolean hasWinnerPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * required uint32 winnerPlayerId = 2; + * required uint32 winnerPlayerId = 1; */ public int getWinnerPlayerId() { return winnerPlayerId_; } private void initFields() { - gameId_ = 0; winnerPlayerId_ = 0; } private byte memoizedIsInitialized = -1; @@ -36710,10 +35606,6 @@ public final class ProtoBuf { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - if (!hasGameId()) { - memoizedIsInitialized = 0; - return false; - } if (!hasWinnerPlayerId()) { memoizedIsInitialized = 0; return false; @@ -36726,10 +35618,7 @@ public final class ProtoBuf { throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeUInt32(1, gameId_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeUInt32(2, winnerPlayerId_); + output.writeUInt32(1, winnerPlayerId_); } } @@ -36741,11 +35630,7 @@ public final class ProtoBuf { size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(1, gameId_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(2, winnerPlayerId_); + .computeUInt32Size(1, winnerPlayerId_); } memoizedSerializedSize = size; return size; @@ -36838,10 +35723,8 @@ public final class ProtoBuf { public Builder clear() { super.clear(); - gameId_ = 0; - bitField0_ = (bitField0_ & ~0x00000001); winnerPlayerId_ = 0; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); return this; } @@ -36868,10 +35751,6 @@ public final class ProtoBuf { if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } - result.gameId_ = gameId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { - to_bitField0_ |= 0x00000002; - } result.winnerPlayerId_ = winnerPlayerId_; result.bitField0_ = to_bitField0_; return result; @@ -36879,9 +35758,6 @@ public final class ProtoBuf { public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.EndOfGameMessage other) { if (other == de.pokerth.protocol.ProtoBuf.EndOfGameMessage.getDefaultInstance()) return this; - if (other.hasGameId()) { - setGameId(other.getGameId()); - } if (other.hasWinnerPlayerId()) { setWinnerPlayerId(other.getWinnerPlayerId()); } @@ -36889,10 +35765,6 @@ public final class ProtoBuf { } public final boolean isInitialized() { - if (!hasGameId()) { - - return false; - } if (!hasWinnerPlayerId()) { return false; @@ -36919,67 +35791,34 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; - private int gameId_ ; + // required uint32 winnerPlayerId = 1; + private int winnerPlayerId_ ; /** - * required uint32 gameId = 1; + * required uint32 winnerPlayerId = 1; */ - public boolean hasGameId() { + public boolean hasWinnerPlayerId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * required uint32 gameId = 1; - */ - public int getGameId() { - return gameId_; - } - /** - * required uint32 gameId = 1; - */ - public Builder setGameId(int value) { - bitField0_ |= 0x00000001; - gameId_ = value; - - return this; - } - /** - * required uint32 gameId = 1; - */ - public Builder clearGameId() { - bitField0_ = (bitField0_ & ~0x00000001); - gameId_ = 0; - - return this; - } - - // required uint32 winnerPlayerId = 2; - private int winnerPlayerId_ ; - /** - * required uint32 winnerPlayerId = 2; - */ - public boolean hasWinnerPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * required uint32 winnerPlayerId = 2; + * required uint32 winnerPlayerId = 1; */ public int getWinnerPlayerId() { return winnerPlayerId_; } /** - * required uint32 winnerPlayerId = 2; + * required uint32 winnerPlayerId = 1; */ public Builder setWinnerPlayerId(int value) { - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000001; winnerPlayerId_ = value; return this; } /** - * required uint32 winnerPlayerId = 2; + * required uint32 winnerPlayerId = 1; */ public Builder clearWinnerPlayerId() { - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); winnerPlayerId_ = 0; return this; @@ -37429,23 +36268,13 @@ public final class ProtoBuf { public interface AskKickPlayerMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - // required uint32 gameId = 1; + // required uint32 playerId = 1; /** - * required uint32 gameId = 1; - */ - boolean hasGameId(); - /** - * required uint32 gameId = 1; - */ - int getGameId(); - - // required uint32 playerId = 2; - /** - * required uint32 playerId = 2; + * required uint32 playerId = 1; */ boolean hasPlayerId(); /** - * required uint32 playerId = 2; + * required uint32 playerId = 1; */ int getPlayerId(); } @@ -37494,11 +36323,6 @@ public final class ProtoBuf { } case 8: { bitField0_ |= 0x00000001; - gameId_ = input.readUInt32(); - break; - } - case 16: { - bitField0_ |= 0x00000002; playerId_ = input.readUInt32(); break; } @@ -37529,40 +36353,23 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; - public static final int GAMEID_FIELD_NUMBER = 1; - private int gameId_; + // required uint32 playerId = 1; + public static final int PLAYERID_FIELD_NUMBER = 1; + private int playerId_; /** - * required uint32 gameId = 1; + * required uint32 playerId = 1; */ - public boolean hasGameId() { + public boolean hasPlayerId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * required uint32 gameId = 1; - */ - public int getGameId() { - return gameId_; - } - - // required uint32 playerId = 2; - public static final int PLAYERID_FIELD_NUMBER = 2; - private int playerId_; - /** - * required uint32 playerId = 2; - */ - public boolean hasPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * required uint32 playerId = 2; + * required uint32 playerId = 1; */ public int getPlayerId() { return playerId_; } private void initFields() { - gameId_ = 0; playerId_ = 0; } private byte memoizedIsInitialized = -1; @@ -37570,10 +36377,6 @@ public final class ProtoBuf { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - if (!hasGameId()) { - memoizedIsInitialized = 0; - return false; - } if (!hasPlayerId()) { memoizedIsInitialized = 0; return false; @@ -37586,10 +36389,7 @@ public final class ProtoBuf { throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeUInt32(1, gameId_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeUInt32(2, playerId_); + output.writeUInt32(1, playerId_); } } @@ -37601,11 +36401,7 @@ public final class ProtoBuf { size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(1, gameId_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(2, playerId_); + .computeUInt32Size(1, playerId_); } memoizedSerializedSize = size; return size; @@ -37698,10 +36494,8 @@ public final class ProtoBuf { public Builder clear() { super.clear(); - gameId_ = 0; - bitField0_ = (bitField0_ & ~0x00000001); playerId_ = 0; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); return this; } @@ -37728,10 +36522,6 @@ public final class ProtoBuf { if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } - result.gameId_ = gameId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { - to_bitField0_ |= 0x00000002; - } result.playerId_ = playerId_; result.bitField0_ = to_bitField0_; return result; @@ -37739,9 +36529,6 @@ public final class ProtoBuf { public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage other) { if (other == de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage.getDefaultInstance()) return this; - if (other.hasGameId()) { - setGameId(other.getGameId()); - } if (other.hasPlayerId()) { setPlayerId(other.getPlayerId()); } @@ -37749,10 +36536,6 @@ public final class ProtoBuf { } public final boolean isInitialized() { - if (!hasGameId()) { - - return false; - } if (!hasPlayerId()) { return false; @@ -37779,67 +36562,34 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; - private int gameId_ ; + // required uint32 playerId = 1; + private int playerId_ ; /** - * required uint32 gameId = 1; + * required uint32 playerId = 1; */ - public boolean hasGameId() { + public boolean hasPlayerId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * required uint32 gameId = 1; - */ - public int getGameId() { - return gameId_; - } - /** - * required uint32 gameId = 1; - */ - public Builder setGameId(int value) { - bitField0_ |= 0x00000001; - gameId_ = value; - - return this; - } - /** - * required uint32 gameId = 1; - */ - public Builder clearGameId() { - bitField0_ = (bitField0_ & ~0x00000001); - gameId_ = 0; - - return this; - } - - // required uint32 playerId = 2; - private int playerId_ ; - /** - * required uint32 playerId = 2; - */ - public boolean hasPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * required uint32 playerId = 2; + * required uint32 playerId = 1; */ public int getPlayerId() { return playerId_; } /** - * required uint32 playerId = 2; + * required uint32 playerId = 1; */ public Builder setPlayerId(int value) { - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000001; playerId_ = value; return this; } /** - * required uint32 playerId = 2; + * required uint32 playerId = 1; */ public Builder clearPlayerId() { - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); playerId_ = 0; return this; @@ -37859,33 +36609,23 @@ public final class ProtoBuf { public interface AskKickDeniedMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - // required uint32 gameId = 1; + // required uint32 playerId = 1; /** - * required uint32 gameId = 1; - */ - boolean hasGameId(); - /** - * required uint32 gameId = 1; - */ - int getGameId(); - - // required uint32 playerId = 2; - /** - * required uint32 playerId = 2; + * required uint32 playerId = 1; */ boolean hasPlayerId(); /** - * required uint32 playerId = 2; + * required uint32 playerId = 1; */ int getPlayerId(); - // required .AskKickDeniedMessage.KickDeniedReason kickDeniedReason = 3; + // required .AskKickDeniedMessage.KickDeniedReason kickDeniedReason = 2; /** - * required .AskKickDeniedMessage.KickDeniedReason kickDeniedReason = 3; + * required .AskKickDeniedMessage.KickDeniedReason kickDeniedReason = 2; */ boolean hasKickDeniedReason(); /** - * required .AskKickDeniedMessage.KickDeniedReason kickDeniedReason = 3; + * required .AskKickDeniedMessage.KickDeniedReason kickDeniedReason = 2; */ de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.KickDeniedReason getKickDeniedReason(); } @@ -37934,19 +36674,14 @@ public final class ProtoBuf { } case 8: { bitField0_ |= 0x00000001; - gameId_ = input.readUInt32(); - break; - } - case 16: { - bitField0_ |= 0x00000002; playerId_ = input.readUInt32(); break; } - case 24: { + case 16: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.KickDeniedReason value = de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.KickDeniedReason.valueOf(rawValue); if (value != null) { - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000002; kickDeniedReason_ = value; } break; @@ -38061,56 +36796,39 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; - public static final int GAMEID_FIELD_NUMBER = 1; - private int gameId_; + // required uint32 playerId = 1; + public static final int PLAYERID_FIELD_NUMBER = 1; + private int playerId_; /** - * required uint32 gameId = 1; + * required uint32 playerId = 1; */ - public boolean hasGameId() { + public boolean hasPlayerId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * required uint32 gameId = 1; - */ - public int getGameId() { - return gameId_; - } - - // required uint32 playerId = 2; - public static final int PLAYERID_FIELD_NUMBER = 2; - private int playerId_; - /** - * required uint32 playerId = 2; - */ - public boolean hasPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * required uint32 playerId = 2; + * required uint32 playerId = 1; */ public int getPlayerId() { return playerId_; } - // required .AskKickDeniedMessage.KickDeniedReason kickDeniedReason = 3; - public static final int KICKDENIEDREASON_FIELD_NUMBER = 3; + // required .AskKickDeniedMessage.KickDeniedReason kickDeniedReason = 2; + public static final int KICKDENIEDREASON_FIELD_NUMBER = 2; private de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.KickDeniedReason kickDeniedReason_; /** - * required .AskKickDeniedMessage.KickDeniedReason kickDeniedReason = 3; + * required .AskKickDeniedMessage.KickDeniedReason kickDeniedReason = 2; */ public boolean hasKickDeniedReason() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000002) == 0x00000002); } /** - * required .AskKickDeniedMessage.KickDeniedReason kickDeniedReason = 3; + * required .AskKickDeniedMessage.KickDeniedReason kickDeniedReason = 2; */ public de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.KickDeniedReason getKickDeniedReason() { return kickDeniedReason_; } private void initFields() { - gameId_ = 0; playerId_ = 0; kickDeniedReason_ = de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.KickDeniedReason.kickDeniedInvalidGameState; } @@ -38119,10 +36837,6 @@ public final class ProtoBuf { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - if (!hasGameId()) { - memoizedIsInitialized = 0; - return false; - } if (!hasPlayerId()) { memoizedIsInitialized = 0; return false; @@ -38139,13 +36853,10 @@ public final class ProtoBuf { throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeUInt32(1, gameId_); + output.writeUInt32(1, playerId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeUInt32(2, playerId_); - } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeEnum(3, kickDeniedReason_.getNumber()); + output.writeEnum(2, kickDeniedReason_.getNumber()); } } @@ -38157,15 +36868,11 @@ public final class ProtoBuf { size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(1, gameId_); + .computeUInt32Size(1, playerId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(2, playerId_); - } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, kickDeniedReason_.getNumber()); + .computeEnumSize(2, kickDeniedReason_.getNumber()); } memoizedSerializedSize = size; return size; @@ -38258,12 +36965,10 @@ public final class ProtoBuf { public Builder clear() { super.clear(); - gameId_ = 0; - bitField0_ = (bitField0_ & ~0x00000001); playerId_ = 0; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); kickDeniedReason_ = de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.KickDeniedReason.kickDeniedInvalidGameState; - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000002); return this; } @@ -38290,14 +36995,10 @@ public final class ProtoBuf { if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } - result.gameId_ = gameId_; + result.playerId_ = playerId_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } - result.playerId_ = playerId_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { - to_bitField0_ |= 0x00000004; - } result.kickDeniedReason_ = kickDeniedReason_; result.bitField0_ = to_bitField0_; return result; @@ -38305,9 +37006,6 @@ public final class ProtoBuf { public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage other) { if (other == de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.getDefaultInstance()) return this; - if (other.hasGameId()) { - setGameId(other.getGameId()); - } if (other.hasPlayerId()) { setPlayerId(other.getPlayerId()); } @@ -38318,10 +37016,6 @@ public final class ProtoBuf { } public final boolean isInitialized() { - if (!hasGameId()) { - - return false; - } if (!hasPlayerId()) { return false; @@ -38352,103 +37046,70 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; - private int gameId_ ; + // required uint32 playerId = 1; + private int playerId_ ; /** - * required uint32 gameId = 1; + * required uint32 playerId = 1; */ - public boolean hasGameId() { + public boolean hasPlayerId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * required uint32 gameId = 1; - */ - public int getGameId() { - return gameId_; - } - /** - * required uint32 gameId = 1; - */ - public Builder setGameId(int value) { - bitField0_ |= 0x00000001; - gameId_ = value; - - return this; - } - /** - * required uint32 gameId = 1; - */ - public Builder clearGameId() { - bitField0_ = (bitField0_ & ~0x00000001); - gameId_ = 0; - - return this; - } - - // required uint32 playerId = 2; - private int playerId_ ; - /** - * required uint32 playerId = 2; - */ - public boolean hasPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * required uint32 playerId = 2; + * required uint32 playerId = 1; */ public int getPlayerId() { return playerId_; } /** - * required uint32 playerId = 2; + * required uint32 playerId = 1; */ public Builder setPlayerId(int value) { - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000001; playerId_ = value; return this; } /** - * required uint32 playerId = 2; + * required uint32 playerId = 1; */ public Builder clearPlayerId() { - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); playerId_ = 0; return this; } - // required .AskKickDeniedMessage.KickDeniedReason kickDeniedReason = 3; + // required .AskKickDeniedMessage.KickDeniedReason kickDeniedReason = 2; private de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.KickDeniedReason kickDeniedReason_ = de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.KickDeniedReason.kickDeniedInvalidGameState; /** - * required .AskKickDeniedMessage.KickDeniedReason kickDeniedReason = 3; + * required .AskKickDeniedMessage.KickDeniedReason kickDeniedReason = 2; */ public boolean hasKickDeniedReason() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000002) == 0x00000002); } /** - * required .AskKickDeniedMessage.KickDeniedReason kickDeniedReason = 3; + * required .AskKickDeniedMessage.KickDeniedReason kickDeniedReason = 2; */ public de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.KickDeniedReason getKickDeniedReason() { return kickDeniedReason_; } /** - * required .AskKickDeniedMessage.KickDeniedReason kickDeniedReason = 3; + * required .AskKickDeniedMessage.KickDeniedReason kickDeniedReason = 2; */ public Builder setKickDeniedReason(de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.KickDeniedReason value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000002; kickDeniedReason_ = value; return this; } /** - * required .AskKickDeniedMessage.KickDeniedReason kickDeniedReason = 3; + * required .AskKickDeniedMessage.KickDeniedReason kickDeniedReason = 2; */ public Builder clearKickDeniedReason() { - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000002); kickDeniedReason_ = de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.KickDeniedReason.kickDeniedInvalidGameState; return this; @@ -38468,63 +37129,53 @@ public final class ProtoBuf { public interface StartKickPetitionMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - // required uint32 gameId = 1; + // required uint32 petitionId = 1; /** - * required uint32 gameId = 1; - */ - boolean hasGameId(); - /** - * required uint32 gameId = 1; - */ - int getGameId(); - - // required uint32 petitionId = 2; - /** - * required uint32 petitionId = 2; + * required uint32 petitionId = 1; */ boolean hasPetitionId(); /** - * required uint32 petitionId = 2; + * required uint32 petitionId = 1; */ int getPetitionId(); - // required uint32 proposingPlayerId = 3; + // required uint32 proposingPlayerId = 2; /** - * required uint32 proposingPlayerId = 3; + * required uint32 proposingPlayerId = 2; */ boolean hasProposingPlayerId(); /** - * required uint32 proposingPlayerId = 3; + * required uint32 proposingPlayerId = 2; */ int getProposingPlayerId(); - // required uint32 kickPlayerId = 4; + // required uint32 kickPlayerId = 3; /** - * required uint32 kickPlayerId = 4; + * required uint32 kickPlayerId = 3; */ boolean hasKickPlayerId(); /** - * required uint32 kickPlayerId = 4; + * required uint32 kickPlayerId = 3; */ int getKickPlayerId(); - // required uint32 kickTimeoutSec = 5; + // required uint32 kickTimeoutSec = 4; /** - * required uint32 kickTimeoutSec = 5; + * required uint32 kickTimeoutSec = 4; */ boolean hasKickTimeoutSec(); /** - * required uint32 kickTimeoutSec = 5; + * required uint32 kickTimeoutSec = 4; */ int getKickTimeoutSec(); - // required uint32 numVotesNeededToKick = 6; + // required uint32 numVotesNeededToKick = 5; /** - * required uint32 numVotesNeededToKick = 6; + * required uint32 numVotesNeededToKick = 5; */ boolean hasNumVotesNeededToKick(); /** - * required uint32 numVotesNeededToKick = 6; + * required uint32 numVotesNeededToKick = 5; */ int getNumVotesNeededToKick(); } @@ -38573,31 +37224,26 @@ public final class ProtoBuf { } case 8: { bitField0_ |= 0x00000001; - gameId_ = input.readUInt32(); + petitionId_ = input.readUInt32(); break; } case 16: { bitField0_ |= 0x00000002; - petitionId_ = input.readUInt32(); + proposingPlayerId_ = input.readUInt32(); break; } case 24: { bitField0_ |= 0x00000004; - proposingPlayerId_ = input.readUInt32(); + kickPlayerId_ = input.readUInt32(); break; } case 32: { bitField0_ |= 0x00000008; - kickPlayerId_ = input.readUInt32(); + kickTimeoutSec_ = input.readUInt32(); break; } case 40: { bitField0_ |= 0x00000010; - kickTimeoutSec_ = input.readUInt32(); - break; - } - case 48: { - bitField0_ |= 0x00000020; numVotesNeededToKick_ = input.readUInt32(); break; } @@ -38628,104 +37274,87 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; - public static final int GAMEID_FIELD_NUMBER = 1; - private int gameId_; + // required uint32 petitionId = 1; + public static final int PETITIONID_FIELD_NUMBER = 1; + private int petitionId_; /** - * required uint32 gameId = 1; + * required uint32 petitionId = 1; */ - public boolean hasGameId() { + public boolean hasPetitionId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * required uint32 gameId = 1; - */ - public int getGameId() { - return gameId_; - } - - // required uint32 petitionId = 2; - public static final int PETITIONID_FIELD_NUMBER = 2; - private int petitionId_; - /** - * required uint32 petitionId = 2; - */ - public boolean hasPetitionId() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * required uint32 petitionId = 2; + * required uint32 petitionId = 1; */ public int getPetitionId() { return petitionId_; } - // required uint32 proposingPlayerId = 3; - public static final int PROPOSINGPLAYERID_FIELD_NUMBER = 3; + // required uint32 proposingPlayerId = 2; + public static final int PROPOSINGPLAYERID_FIELD_NUMBER = 2; private int proposingPlayerId_; /** - * required uint32 proposingPlayerId = 3; + * required uint32 proposingPlayerId = 2; */ public boolean hasProposingPlayerId() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000002) == 0x00000002); } /** - * required uint32 proposingPlayerId = 3; + * required uint32 proposingPlayerId = 2; */ public int getProposingPlayerId() { return proposingPlayerId_; } - // required uint32 kickPlayerId = 4; - public static final int KICKPLAYERID_FIELD_NUMBER = 4; + // required uint32 kickPlayerId = 3; + public static final int KICKPLAYERID_FIELD_NUMBER = 3; private int kickPlayerId_; /** - * required uint32 kickPlayerId = 4; + * required uint32 kickPlayerId = 3; */ public boolean hasKickPlayerId() { - return ((bitField0_ & 0x00000008) == 0x00000008); + return ((bitField0_ & 0x00000004) == 0x00000004); } /** - * required uint32 kickPlayerId = 4; + * required uint32 kickPlayerId = 3; */ public int getKickPlayerId() { return kickPlayerId_; } - // required uint32 kickTimeoutSec = 5; - public static final int KICKTIMEOUTSEC_FIELD_NUMBER = 5; + // required uint32 kickTimeoutSec = 4; + public static final int KICKTIMEOUTSEC_FIELD_NUMBER = 4; private int kickTimeoutSec_; /** - * required uint32 kickTimeoutSec = 5; + * required uint32 kickTimeoutSec = 4; */ public boolean hasKickTimeoutSec() { - return ((bitField0_ & 0x00000010) == 0x00000010); + return ((bitField0_ & 0x00000008) == 0x00000008); } /** - * required uint32 kickTimeoutSec = 5; + * required uint32 kickTimeoutSec = 4; */ public int getKickTimeoutSec() { return kickTimeoutSec_; } - // required uint32 numVotesNeededToKick = 6; - public static final int NUMVOTESNEEDEDTOKICK_FIELD_NUMBER = 6; + // required uint32 numVotesNeededToKick = 5; + public static final int NUMVOTESNEEDEDTOKICK_FIELD_NUMBER = 5; private int numVotesNeededToKick_; /** - * required uint32 numVotesNeededToKick = 6; + * required uint32 numVotesNeededToKick = 5; */ public boolean hasNumVotesNeededToKick() { - return ((bitField0_ & 0x00000020) == 0x00000020); + return ((bitField0_ & 0x00000010) == 0x00000010); } /** - * required uint32 numVotesNeededToKick = 6; + * required uint32 numVotesNeededToKick = 5; */ public int getNumVotesNeededToKick() { return numVotesNeededToKick_; } private void initFields() { - gameId_ = 0; petitionId_ = 0; proposingPlayerId_ = 0; kickPlayerId_ = 0; @@ -38737,10 +37366,6 @@ public final class ProtoBuf { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - if (!hasGameId()) { - memoizedIsInitialized = 0; - return false; - } if (!hasPetitionId()) { memoizedIsInitialized = 0; return false; @@ -38769,22 +37394,19 @@ public final class ProtoBuf { throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeUInt32(1, gameId_); + output.writeUInt32(1, petitionId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeUInt32(2, petitionId_); + output.writeUInt32(2, proposingPlayerId_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeUInt32(3, proposingPlayerId_); + output.writeUInt32(3, kickPlayerId_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { - output.writeUInt32(4, kickPlayerId_); + output.writeUInt32(4, kickTimeoutSec_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { - output.writeUInt32(5, kickTimeoutSec_); - } - if (((bitField0_ & 0x00000020) == 0x00000020)) { - output.writeUInt32(6, numVotesNeededToKick_); + output.writeUInt32(5, numVotesNeededToKick_); } } @@ -38796,27 +37418,23 @@ public final class ProtoBuf { size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(1, gameId_); + .computeUInt32Size(1, petitionId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(2, petitionId_); + .computeUInt32Size(2, proposingPlayerId_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(3, proposingPlayerId_); + .computeUInt32Size(3, kickPlayerId_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(4, kickPlayerId_); + .computeUInt32Size(4, kickTimeoutSec_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(5, kickTimeoutSec_); - } - if (((bitField0_ & 0x00000020) == 0x00000020)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(6, numVotesNeededToKick_); + .computeUInt32Size(5, numVotesNeededToKick_); } memoizedSerializedSize = size; return size; @@ -38909,18 +37527,16 @@ public final class ProtoBuf { public Builder clear() { super.clear(); - gameId_ = 0; - bitField0_ = (bitField0_ & ~0x00000001); petitionId_ = 0; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); proposingPlayerId_ = 0; - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000002); kickPlayerId_ = 0; - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000004); kickTimeoutSec_ = 0; - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000008); numVotesNeededToKick_ = 0; - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000010); return this; } @@ -38947,26 +37563,22 @@ public final class ProtoBuf { if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } - result.gameId_ = gameId_; + result.petitionId_ = petitionId_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } - result.petitionId_ = petitionId_; + result.proposingPlayerId_ = proposingPlayerId_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } - result.proposingPlayerId_ = proposingPlayerId_; + result.kickPlayerId_ = kickPlayerId_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } - result.kickPlayerId_ = kickPlayerId_; + result.kickTimeoutSec_ = kickTimeoutSec_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } - result.kickTimeoutSec_ = kickTimeoutSec_; - if (((from_bitField0_ & 0x00000020) == 0x00000020)) { - to_bitField0_ |= 0x00000020; - } result.numVotesNeededToKick_ = numVotesNeededToKick_; result.bitField0_ = to_bitField0_; return result; @@ -38974,9 +37586,6 @@ public final class ProtoBuf { public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage other) { if (other == de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage.getDefaultInstance()) return this; - if (other.hasGameId()) { - setGameId(other.getGameId()); - } if (other.hasPetitionId()) { setPetitionId(other.getPetitionId()); } @@ -38996,10 +37605,6 @@ public final class ProtoBuf { } public final boolean isInitialized() { - if (!hasGameId()) { - - return false; - } if (!hasPetitionId()) { return false; @@ -39042,199 +37647,166 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; - private int gameId_ ; + // required uint32 petitionId = 1; + private int petitionId_ ; /** - * required uint32 gameId = 1; + * required uint32 petitionId = 1; */ - public boolean hasGameId() { + public boolean hasPetitionId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * required uint32 gameId = 1; - */ - public int getGameId() { - return gameId_; - } - /** - * required uint32 gameId = 1; - */ - public Builder setGameId(int value) { - bitField0_ |= 0x00000001; - gameId_ = value; - - return this; - } - /** - * required uint32 gameId = 1; - */ - public Builder clearGameId() { - bitField0_ = (bitField0_ & ~0x00000001); - gameId_ = 0; - - return this; - } - - // required uint32 petitionId = 2; - private int petitionId_ ; - /** - * required uint32 petitionId = 2; - */ - public boolean hasPetitionId() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * required uint32 petitionId = 2; + * required uint32 petitionId = 1; */ public int getPetitionId() { return petitionId_; } /** - * required uint32 petitionId = 2; + * required uint32 petitionId = 1; */ public Builder setPetitionId(int value) { - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000001; petitionId_ = value; return this; } /** - * required uint32 petitionId = 2; + * required uint32 petitionId = 1; */ public Builder clearPetitionId() { - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); petitionId_ = 0; return this; } - // required uint32 proposingPlayerId = 3; + // required uint32 proposingPlayerId = 2; private int proposingPlayerId_ ; /** - * required uint32 proposingPlayerId = 3; + * required uint32 proposingPlayerId = 2; */ public boolean hasProposingPlayerId() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000002) == 0x00000002); } /** - * required uint32 proposingPlayerId = 3; + * required uint32 proposingPlayerId = 2; */ public int getProposingPlayerId() { return proposingPlayerId_; } /** - * required uint32 proposingPlayerId = 3; + * required uint32 proposingPlayerId = 2; */ public Builder setProposingPlayerId(int value) { - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000002; proposingPlayerId_ = value; return this; } /** - * required uint32 proposingPlayerId = 3; + * required uint32 proposingPlayerId = 2; */ public Builder clearProposingPlayerId() { - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000002); proposingPlayerId_ = 0; return this; } - // required uint32 kickPlayerId = 4; + // required uint32 kickPlayerId = 3; private int kickPlayerId_ ; /** - * required uint32 kickPlayerId = 4; + * required uint32 kickPlayerId = 3; */ public boolean hasKickPlayerId() { - return ((bitField0_ & 0x00000008) == 0x00000008); + return ((bitField0_ & 0x00000004) == 0x00000004); } /** - * required uint32 kickPlayerId = 4; + * required uint32 kickPlayerId = 3; */ public int getKickPlayerId() { return kickPlayerId_; } /** - * required uint32 kickPlayerId = 4; + * required uint32 kickPlayerId = 3; */ public Builder setKickPlayerId(int value) { - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000004; kickPlayerId_ = value; return this; } /** - * required uint32 kickPlayerId = 4; + * required uint32 kickPlayerId = 3; */ public Builder clearKickPlayerId() { - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000004); kickPlayerId_ = 0; return this; } - // required uint32 kickTimeoutSec = 5; + // required uint32 kickTimeoutSec = 4; private int kickTimeoutSec_ ; /** - * required uint32 kickTimeoutSec = 5; + * required uint32 kickTimeoutSec = 4; */ public boolean hasKickTimeoutSec() { - return ((bitField0_ & 0x00000010) == 0x00000010); + return ((bitField0_ & 0x00000008) == 0x00000008); } /** - * required uint32 kickTimeoutSec = 5; + * required uint32 kickTimeoutSec = 4; */ public int getKickTimeoutSec() { return kickTimeoutSec_; } /** - * required uint32 kickTimeoutSec = 5; + * required uint32 kickTimeoutSec = 4; */ public Builder setKickTimeoutSec(int value) { - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000008; kickTimeoutSec_ = value; return this; } /** - * required uint32 kickTimeoutSec = 5; + * required uint32 kickTimeoutSec = 4; */ public Builder clearKickTimeoutSec() { - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000008); kickTimeoutSec_ = 0; return this; } - // required uint32 numVotesNeededToKick = 6; + // required uint32 numVotesNeededToKick = 5; private int numVotesNeededToKick_ ; /** - * required uint32 numVotesNeededToKick = 6; + * required uint32 numVotesNeededToKick = 5; */ public boolean hasNumVotesNeededToKick() { - return ((bitField0_ & 0x00000020) == 0x00000020); + return ((bitField0_ & 0x00000010) == 0x00000010); } /** - * required uint32 numVotesNeededToKick = 6; + * required uint32 numVotesNeededToKick = 5; */ public int getNumVotesNeededToKick() { return numVotesNeededToKick_; } /** - * required uint32 numVotesNeededToKick = 6; + * required uint32 numVotesNeededToKick = 5; */ public Builder setNumVotesNeededToKick(int value) { - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000010; numVotesNeededToKick_ = value; return this; } /** - * required uint32 numVotesNeededToKick = 6; + * required uint32 numVotesNeededToKick = 5; */ public Builder clearNumVotesNeededToKick() { - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000010); numVotesNeededToKick_ = 0; return this; @@ -39254,33 +37826,23 @@ public final class ProtoBuf { public interface VoteKickRequestMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - // required uint32 gameId = 1; + // required uint32 petitionId = 1; /** - * required uint32 gameId = 1; - */ - boolean hasGameId(); - /** - * required uint32 gameId = 1; - */ - int getGameId(); - - // required uint32 petitionId = 2; - /** - * required uint32 petitionId = 2; + * required uint32 petitionId = 1; */ boolean hasPetitionId(); /** - * required uint32 petitionId = 2; + * required uint32 petitionId = 1; */ int getPetitionId(); - // required bool voteKick = 3; + // required bool voteKick = 2; /** - * required bool voteKick = 3; + * required bool voteKick = 2; */ boolean hasVoteKick(); /** - * required bool voteKick = 3; + * required bool voteKick = 2; */ boolean getVoteKick(); } @@ -39329,16 +37891,11 @@ public final class ProtoBuf { } case 8: { bitField0_ |= 0x00000001; - gameId_ = input.readUInt32(); + petitionId_ = input.readUInt32(); break; } case 16: { bitField0_ |= 0x00000002; - petitionId_ = input.readUInt32(); - break; - } - case 24: { - bitField0_ |= 0x00000004; voteKick_ = input.readBool(); break; } @@ -39369,56 +37926,39 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; - public static final int GAMEID_FIELD_NUMBER = 1; - private int gameId_; + // required uint32 petitionId = 1; + public static final int PETITIONID_FIELD_NUMBER = 1; + private int petitionId_; /** - * required uint32 gameId = 1; + * required uint32 petitionId = 1; */ - public boolean hasGameId() { + public boolean hasPetitionId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * required uint32 gameId = 1; - */ - public int getGameId() { - return gameId_; - } - - // required uint32 petitionId = 2; - public static final int PETITIONID_FIELD_NUMBER = 2; - private int petitionId_; - /** - * required uint32 petitionId = 2; - */ - public boolean hasPetitionId() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * required uint32 petitionId = 2; + * required uint32 petitionId = 1; */ public int getPetitionId() { return petitionId_; } - // required bool voteKick = 3; - public static final int VOTEKICK_FIELD_NUMBER = 3; + // required bool voteKick = 2; + public static final int VOTEKICK_FIELD_NUMBER = 2; private boolean voteKick_; /** - * required bool voteKick = 3; + * required bool voteKick = 2; */ public boolean hasVoteKick() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000002) == 0x00000002); } /** - * required bool voteKick = 3; + * required bool voteKick = 2; */ public boolean getVoteKick() { return voteKick_; } private void initFields() { - gameId_ = 0; petitionId_ = 0; voteKick_ = false; } @@ -39427,10 +37967,6 @@ public final class ProtoBuf { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - if (!hasGameId()) { - memoizedIsInitialized = 0; - return false; - } if (!hasPetitionId()) { memoizedIsInitialized = 0; return false; @@ -39447,13 +37983,10 @@ public final class ProtoBuf { throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeUInt32(1, gameId_); + output.writeUInt32(1, petitionId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeUInt32(2, petitionId_); - } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeBool(3, voteKick_); + output.writeBool(2, voteKick_); } } @@ -39465,15 +37998,11 @@ public final class ProtoBuf { size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(1, gameId_); + .computeUInt32Size(1, petitionId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(2, petitionId_); - } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, voteKick_); + .computeBoolSize(2, voteKick_); } memoizedSerializedSize = size; return size; @@ -39566,12 +38095,10 @@ public final class ProtoBuf { public Builder clear() { super.clear(); - gameId_ = 0; - bitField0_ = (bitField0_ & ~0x00000001); petitionId_ = 0; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); voteKick_ = false; - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000002); return this; } @@ -39598,14 +38125,10 @@ public final class ProtoBuf { if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } - result.gameId_ = gameId_; + result.petitionId_ = petitionId_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } - result.petitionId_ = petitionId_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { - to_bitField0_ |= 0x00000004; - } result.voteKick_ = voteKick_; result.bitField0_ = to_bitField0_; return result; @@ -39613,9 +38136,6 @@ public final class ProtoBuf { public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage other) { if (other == de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage.getDefaultInstance()) return this; - if (other.hasGameId()) { - setGameId(other.getGameId()); - } if (other.hasPetitionId()) { setPetitionId(other.getPetitionId()); } @@ -39626,10 +38146,6 @@ public final class ProtoBuf { } public final boolean isInitialized() { - if (!hasGameId()) { - - return false; - } if (!hasPetitionId()) { return false; @@ -39660,100 +38176,67 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; - private int gameId_ ; + // required uint32 petitionId = 1; + private int petitionId_ ; /** - * required uint32 gameId = 1; + * required uint32 petitionId = 1; */ - public boolean hasGameId() { + public boolean hasPetitionId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * required uint32 gameId = 1; - */ - public int getGameId() { - return gameId_; - } - /** - * required uint32 gameId = 1; - */ - public Builder setGameId(int value) { - bitField0_ |= 0x00000001; - gameId_ = value; - - return this; - } - /** - * required uint32 gameId = 1; - */ - public Builder clearGameId() { - bitField0_ = (bitField0_ & ~0x00000001); - gameId_ = 0; - - return this; - } - - // required uint32 petitionId = 2; - private int petitionId_ ; - /** - * required uint32 petitionId = 2; - */ - public boolean hasPetitionId() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * required uint32 petitionId = 2; + * required uint32 petitionId = 1; */ public int getPetitionId() { return petitionId_; } /** - * required uint32 petitionId = 2; + * required uint32 petitionId = 1; */ public Builder setPetitionId(int value) { - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000001; petitionId_ = value; return this; } /** - * required uint32 petitionId = 2; + * required uint32 petitionId = 1; */ public Builder clearPetitionId() { - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); petitionId_ = 0; return this; } - // required bool voteKick = 3; + // required bool voteKick = 2; private boolean voteKick_ ; /** - * required bool voteKick = 3; + * required bool voteKick = 2; */ public boolean hasVoteKick() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000002) == 0x00000002); } /** - * required bool voteKick = 3; + * required bool voteKick = 2; */ public boolean getVoteKick() { return voteKick_; } /** - * required bool voteKick = 3; + * required bool voteKick = 2; */ public Builder setVoteKick(boolean value) { - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000002; voteKick_ = value; return this; } /** - * required bool voteKick = 3; + * required bool voteKick = 2; */ public Builder clearVoteKick() { - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000002); voteKick_ = false; return this; @@ -39773,33 +38256,23 @@ public final class ProtoBuf { public interface VoteKickReplyMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - // required uint32 gameId = 1; + // required uint32 petitionId = 1; /** - * required uint32 gameId = 1; - */ - boolean hasGameId(); - /** - * required uint32 gameId = 1; - */ - int getGameId(); - - // required uint32 petitionId = 2; - /** - * required uint32 petitionId = 2; + * required uint32 petitionId = 1; */ boolean hasPetitionId(); /** - * required uint32 petitionId = 2; + * required uint32 petitionId = 1; */ int getPetitionId(); - // required .VoteKickReplyMessage.VoteKickReplyType voteKickReplyType = 3; + // required .VoteKickReplyMessage.VoteKickReplyType voteKickReplyType = 2; /** - * required .VoteKickReplyMessage.VoteKickReplyType voteKickReplyType = 3; + * required .VoteKickReplyMessage.VoteKickReplyType voteKickReplyType = 2; */ boolean hasVoteKickReplyType(); /** - * required .VoteKickReplyMessage.VoteKickReplyType voteKickReplyType = 3; + * required .VoteKickReplyMessage.VoteKickReplyType voteKickReplyType = 2; */ de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.VoteKickReplyType getVoteKickReplyType(); } @@ -39848,19 +38321,14 @@ public final class ProtoBuf { } case 8: { bitField0_ |= 0x00000001; - gameId_ = input.readUInt32(); - break; - } - case 16: { - bitField0_ |= 0x00000002; petitionId_ = input.readUInt32(); break; } - case 24: { + case 16: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.VoteKickReplyType value = de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.VoteKickReplyType.valueOf(rawValue); if (value != null) { - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000002; voteKickReplyType_ = value; } break; @@ -39957,56 +38425,39 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; - public static final int GAMEID_FIELD_NUMBER = 1; - private int gameId_; + // required uint32 petitionId = 1; + public static final int PETITIONID_FIELD_NUMBER = 1; + private int petitionId_; /** - * required uint32 gameId = 1; + * required uint32 petitionId = 1; */ - public boolean hasGameId() { + public boolean hasPetitionId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * required uint32 gameId = 1; - */ - public int getGameId() { - return gameId_; - } - - // required uint32 petitionId = 2; - public static final int PETITIONID_FIELD_NUMBER = 2; - private int petitionId_; - /** - * required uint32 petitionId = 2; - */ - public boolean hasPetitionId() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * required uint32 petitionId = 2; + * required uint32 petitionId = 1; */ public int getPetitionId() { return petitionId_; } - // required .VoteKickReplyMessage.VoteKickReplyType voteKickReplyType = 3; - public static final int VOTEKICKREPLYTYPE_FIELD_NUMBER = 3; + // required .VoteKickReplyMessage.VoteKickReplyType voteKickReplyType = 2; + public static final int VOTEKICKREPLYTYPE_FIELD_NUMBER = 2; private de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.VoteKickReplyType voteKickReplyType_; /** - * required .VoteKickReplyMessage.VoteKickReplyType voteKickReplyType = 3; + * required .VoteKickReplyMessage.VoteKickReplyType voteKickReplyType = 2; */ public boolean hasVoteKickReplyType() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000002) == 0x00000002); } /** - * required .VoteKickReplyMessage.VoteKickReplyType voteKickReplyType = 3; + * required .VoteKickReplyMessage.VoteKickReplyType voteKickReplyType = 2; */ public de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.VoteKickReplyType getVoteKickReplyType() { return voteKickReplyType_; } private void initFields() { - gameId_ = 0; petitionId_ = 0; voteKickReplyType_ = de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.VoteKickReplyType.voteKickAck; } @@ -40015,10 +38466,6 @@ public final class ProtoBuf { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - if (!hasGameId()) { - memoizedIsInitialized = 0; - return false; - } if (!hasPetitionId()) { memoizedIsInitialized = 0; return false; @@ -40035,13 +38482,10 @@ public final class ProtoBuf { throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeUInt32(1, gameId_); + output.writeUInt32(1, petitionId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeUInt32(2, petitionId_); - } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeEnum(3, voteKickReplyType_.getNumber()); + output.writeEnum(2, voteKickReplyType_.getNumber()); } } @@ -40053,15 +38497,11 @@ public final class ProtoBuf { size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(1, gameId_); + .computeUInt32Size(1, petitionId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(2, petitionId_); - } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, voteKickReplyType_.getNumber()); + .computeEnumSize(2, voteKickReplyType_.getNumber()); } memoizedSerializedSize = size; return size; @@ -40154,12 +38594,10 @@ public final class ProtoBuf { public Builder clear() { super.clear(); - gameId_ = 0; - bitField0_ = (bitField0_ & ~0x00000001); petitionId_ = 0; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); voteKickReplyType_ = de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.VoteKickReplyType.voteKickAck; - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000002); return this; } @@ -40186,14 +38624,10 @@ public final class ProtoBuf { if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } - result.gameId_ = gameId_; + result.petitionId_ = petitionId_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } - result.petitionId_ = petitionId_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { - to_bitField0_ |= 0x00000004; - } result.voteKickReplyType_ = voteKickReplyType_; result.bitField0_ = to_bitField0_; return result; @@ -40201,9 +38635,6 @@ public final class ProtoBuf { public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage other) { if (other == de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.getDefaultInstance()) return this; - if (other.hasGameId()) { - setGameId(other.getGameId()); - } if (other.hasPetitionId()) { setPetitionId(other.getPetitionId()); } @@ -40214,10 +38645,6 @@ public final class ProtoBuf { } public final boolean isInitialized() { - if (!hasGameId()) { - - return false; - } if (!hasPetitionId()) { return false; @@ -40248,103 +38675,70 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; - private int gameId_ ; + // required uint32 petitionId = 1; + private int petitionId_ ; /** - * required uint32 gameId = 1; + * required uint32 petitionId = 1; */ - public boolean hasGameId() { + public boolean hasPetitionId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * required uint32 gameId = 1; - */ - public int getGameId() { - return gameId_; - } - /** - * required uint32 gameId = 1; - */ - public Builder setGameId(int value) { - bitField0_ |= 0x00000001; - gameId_ = value; - - return this; - } - /** - * required uint32 gameId = 1; - */ - public Builder clearGameId() { - bitField0_ = (bitField0_ & ~0x00000001); - gameId_ = 0; - - return this; - } - - // required uint32 petitionId = 2; - private int petitionId_ ; - /** - * required uint32 petitionId = 2; - */ - public boolean hasPetitionId() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * required uint32 petitionId = 2; + * required uint32 petitionId = 1; */ public int getPetitionId() { return petitionId_; } /** - * required uint32 petitionId = 2; + * required uint32 petitionId = 1; */ public Builder setPetitionId(int value) { - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000001; petitionId_ = value; return this; } /** - * required uint32 petitionId = 2; + * required uint32 petitionId = 1; */ public Builder clearPetitionId() { - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); petitionId_ = 0; return this; } - // required .VoteKickReplyMessage.VoteKickReplyType voteKickReplyType = 3; + // required .VoteKickReplyMessage.VoteKickReplyType voteKickReplyType = 2; private de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.VoteKickReplyType voteKickReplyType_ = de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.VoteKickReplyType.voteKickAck; /** - * required .VoteKickReplyMessage.VoteKickReplyType voteKickReplyType = 3; + * required .VoteKickReplyMessage.VoteKickReplyType voteKickReplyType = 2; */ public boolean hasVoteKickReplyType() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000002) == 0x00000002); } /** - * required .VoteKickReplyMessage.VoteKickReplyType voteKickReplyType = 3; + * required .VoteKickReplyMessage.VoteKickReplyType voteKickReplyType = 2; */ public de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.VoteKickReplyType getVoteKickReplyType() { return voteKickReplyType_; } /** - * required .VoteKickReplyMessage.VoteKickReplyType voteKickReplyType = 3; + * required .VoteKickReplyMessage.VoteKickReplyType voteKickReplyType = 2; */ public Builder setVoteKickReplyType(de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.VoteKickReplyType value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000002; voteKickReplyType_ = value; return this; } /** - * required .VoteKickReplyMessage.VoteKickReplyType voteKickReplyType = 3; + * required .VoteKickReplyMessage.VoteKickReplyType voteKickReplyType = 2; */ public Builder clearVoteKickReplyType() { - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000002); voteKickReplyType_ = de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.VoteKickReplyType.voteKickAck; return this; @@ -40364,53 +38758,43 @@ public final class ProtoBuf { public interface KickPetitionUpdateMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - // required uint32 gameId = 1; + // required uint32 petitionId = 1; /** - * required uint32 gameId = 1; - */ - boolean hasGameId(); - /** - * required uint32 gameId = 1; - */ - int getGameId(); - - // required uint32 petitionId = 2; - /** - * required uint32 petitionId = 2; + * required uint32 petitionId = 1; */ boolean hasPetitionId(); /** - * required uint32 petitionId = 2; + * required uint32 petitionId = 1; */ int getPetitionId(); - // required uint32 numVotesAgainstKicking = 3; + // required uint32 numVotesAgainstKicking = 2; /** - * required uint32 numVotesAgainstKicking = 3; + * required uint32 numVotesAgainstKicking = 2; */ boolean hasNumVotesAgainstKicking(); /** - * required uint32 numVotesAgainstKicking = 3; + * required uint32 numVotesAgainstKicking = 2; */ int getNumVotesAgainstKicking(); - // required uint32 numVotesInFavourOfKicking = 4; + // required uint32 numVotesInFavourOfKicking = 3; /** - * required uint32 numVotesInFavourOfKicking = 4; + * required uint32 numVotesInFavourOfKicking = 3; */ boolean hasNumVotesInFavourOfKicking(); /** - * required uint32 numVotesInFavourOfKicking = 4; + * required uint32 numVotesInFavourOfKicking = 3; */ int getNumVotesInFavourOfKicking(); - // required uint32 numVotesNeededToKick = 5; + // required uint32 numVotesNeededToKick = 4; /** - * required uint32 numVotesNeededToKick = 5; + * required uint32 numVotesNeededToKick = 4; */ boolean hasNumVotesNeededToKick(); /** - * required uint32 numVotesNeededToKick = 5; + * required uint32 numVotesNeededToKick = 4; */ int getNumVotesNeededToKick(); } @@ -40459,26 +38843,21 @@ public final class ProtoBuf { } case 8: { bitField0_ |= 0x00000001; - gameId_ = input.readUInt32(); + petitionId_ = input.readUInt32(); break; } case 16: { bitField0_ |= 0x00000002; - petitionId_ = input.readUInt32(); + numVotesAgainstKicking_ = input.readUInt32(); break; } case 24: { bitField0_ |= 0x00000004; - numVotesAgainstKicking_ = input.readUInt32(); + numVotesInFavourOfKicking_ = input.readUInt32(); break; } case 32: { bitField0_ |= 0x00000008; - numVotesInFavourOfKicking_ = input.readUInt32(); - break; - } - case 40: { - bitField0_ |= 0x00000010; numVotesNeededToKick_ = input.readUInt32(); break; } @@ -40509,88 +38888,71 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; - public static final int GAMEID_FIELD_NUMBER = 1; - private int gameId_; + // required uint32 petitionId = 1; + public static final int PETITIONID_FIELD_NUMBER = 1; + private int petitionId_; /** - * required uint32 gameId = 1; + * required uint32 petitionId = 1; */ - public boolean hasGameId() { + public boolean hasPetitionId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * required uint32 gameId = 1; - */ - public int getGameId() { - return gameId_; - } - - // required uint32 petitionId = 2; - public static final int PETITIONID_FIELD_NUMBER = 2; - private int petitionId_; - /** - * required uint32 petitionId = 2; - */ - public boolean hasPetitionId() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * required uint32 petitionId = 2; + * required uint32 petitionId = 1; */ public int getPetitionId() { return petitionId_; } - // required uint32 numVotesAgainstKicking = 3; - public static final int NUMVOTESAGAINSTKICKING_FIELD_NUMBER = 3; + // required uint32 numVotesAgainstKicking = 2; + public static final int NUMVOTESAGAINSTKICKING_FIELD_NUMBER = 2; private int numVotesAgainstKicking_; /** - * required uint32 numVotesAgainstKicking = 3; + * required uint32 numVotesAgainstKicking = 2; */ public boolean hasNumVotesAgainstKicking() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000002) == 0x00000002); } /** - * required uint32 numVotesAgainstKicking = 3; + * required uint32 numVotesAgainstKicking = 2; */ public int getNumVotesAgainstKicking() { return numVotesAgainstKicking_; } - // required uint32 numVotesInFavourOfKicking = 4; - public static final int NUMVOTESINFAVOUROFKICKING_FIELD_NUMBER = 4; + // required uint32 numVotesInFavourOfKicking = 3; + public static final int NUMVOTESINFAVOUROFKICKING_FIELD_NUMBER = 3; private int numVotesInFavourOfKicking_; /** - * required uint32 numVotesInFavourOfKicking = 4; + * required uint32 numVotesInFavourOfKicking = 3; */ public boolean hasNumVotesInFavourOfKicking() { - return ((bitField0_ & 0x00000008) == 0x00000008); + return ((bitField0_ & 0x00000004) == 0x00000004); } /** - * required uint32 numVotesInFavourOfKicking = 4; + * required uint32 numVotesInFavourOfKicking = 3; */ public int getNumVotesInFavourOfKicking() { return numVotesInFavourOfKicking_; } - // required uint32 numVotesNeededToKick = 5; - public static final int NUMVOTESNEEDEDTOKICK_FIELD_NUMBER = 5; + // required uint32 numVotesNeededToKick = 4; + public static final int NUMVOTESNEEDEDTOKICK_FIELD_NUMBER = 4; private int numVotesNeededToKick_; /** - * required uint32 numVotesNeededToKick = 5; + * required uint32 numVotesNeededToKick = 4; */ public boolean hasNumVotesNeededToKick() { - return ((bitField0_ & 0x00000010) == 0x00000010); + return ((bitField0_ & 0x00000008) == 0x00000008); } /** - * required uint32 numVotesNeededToKick = 5; + * required uint32 numVotesNeededToKick = 4; */ public int getNumVotesNeededToKick() { return numVotesNeededToKick_; } private void initFields() { - gameId_ = 0; petitionId_ = 0; numVotesAgainstKicking_ = 0; numVotesInFavourOfKicking_ = 0; @@ -40601,10 +38963,6 @@ public final class ProtoBuf { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - if (!hasGameId()) { - memoizedIsInitialized = 0; - return false; - } if (!hasPetitionId()) { memoizedIsInitialized = 0; return false; @@ -40629,19 +38987,16 @@ public final class ProtoBuf { throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeUInt32(1, gameId_); + output.writeUInt32(1, petitionId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeUInt32(2, petitionId_); + output.writeUInt32(2, numVotesAgainstKicking_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeUInt32(3, numVotesAgainstKicking_); + output.writeUInt32(3, numVotesInFavourOfKicking_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { - output.writeUInt32(4, numVotesInFavourOfKicking_); - } - if (((bitField0_ & 0x00000010) == 0x00000010)) { - output.writeUInt32(5, numVotesNeededToKick_); + output.writeUInt32(4, numVotesNeededToKick_); } } @@ -40653,23 +39008,19 @@ public final class ProtoBuf { size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(1, gameId_); + .computeUInt32Size(1, petitionId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(2, petitionId_); + .computeUInt32Size(2, numVotesAgainstKicking_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(3, numVotesAgainstKicking_); + .computeUInt32Size(3, numVotesInFavourOfKicking_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(4, numVotesInFavourOfKicking_); - } - if (((bitField0_ & 0x00000010) == 0x00000010)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(5, numVotesNeededToKick_); + .computeUInt32Size(4, numVotesNeededToKick_); } memoizedSerializedSize = size; return size; @@ -40762,16 +39113,14 @@ public final class ProtoBuf { public Builder clear() { super.clear(); - gameId_ = 0; - bitField0_ = (bitField0_ & ~0x00000001); petitionId_ = 0; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); numVotesAgainstKicking_ = 0; - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000002); numVotesInFavourOfKicking_ = 0; - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000004); numVotesNeededToKick_ = 0; - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000008); return this; } @@ -40798,22 +39147,18 @@ public final class ProtoBuf { if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } - result.gameId_ = gameId_; + result.petitionId_ = petitionId_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } - result.petitionId_ = petitionId_; + result.numVotesAgainstKicking_ = numVotesAgainstKicking_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } - result.numVotesAgainstKicking_ = numVotesAgainstKicking_; + result.numVotesInFavourOfKicking_ = numVotesInFavourOfKicking_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } - result.numVotesInFavourOfKicking_ = numVotesInFavourOfKicking_; - if (((from_bitField0_ & 0x00000010) == 0x00000010)) { - to_bitField0_ |= 0x00000010; - } result.numVotesNeededToKick_ = numVotesNeededToKick_; result.bitField0_ = to_bitField0_; return result; @@ -40821,9 +39166,6 @@ public final class ProtoBuf { public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage other) { if (other == de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage.getDefaultInstance()) return this; - if (other.hasGameId()) { - setGameId(other.getGameId()); - } if (other.hasPetitionId()) { setPetitionId(other.getPetitionId()); } @@ -40840,10 +39182,6 @@ public final class ProtoBuf { } public final boolean isInitialized() { - if (!hasGameId()) { - - return false; - } if (!hasPetitionId()) { return false; @@ -40882,166 +39220,133 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; - private int gameId_ ; + // required uint32 petitionId = 1; + private int petitionId_ ; /** - * required uint32 gameId = 1; + * required uint32 petitionId = 1; */ - public boolean hasGameId() { + public boolean hasPetitionId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * required uint32 gameId = 1; - */ - public int getGameId() { - return gameId_; - } - /** - * required uint32 gameId = 1; - */ - public Builder setGameId(int value) { - bitField0_ |= 0x00000001; - gameId_ = value; - - return this; - } - /** - * required uint32 gameId = 1; - */ - public Builder clearGameId() { - bitField0_ = (bitField0_ & ~0x00000001); - gameId_ = 0; - - return this; - } - - // required uint32 petitionId = 2; - private int petitionId_ ; - /** - * required uint32 petitionId = 2; - */ - public boolean hasPetitionId() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * required uint32 petitionId = 2; + * required uint32 petitionId = 1; */ public int getPetitionId() { return petitionId_; } /** - * required uint32 petitionId = 2; + * required uint32 petitionId = 1; */ public Builder setPetitionId(int value) { - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000001; petitionId_ = value; return this; } /** - * required uint32 petitionId = 2; + * required uint32 petitionId = 1; */ public Builder clearPetitionId() { - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); petitionId_ = 0; return this; } - // required uint32 numVotesAgainstKicking = 3; + // required uint32 numVotesAgainstKicking = 2; private int numVotesAgainstKicking_ ; /** - * required uint32 numVotesAgainstKicking = 3; + * required uint32 numVotesAgainstKicking = 2; */ public boolean hasNumVotesAgainstKicking() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000002) == 0x00000002); } /** - * required uint32 numVotesAgainstKicking = 3; + * required uint32 numVotesAgainstKicking = 2; */ public int getNumVotesAgainstKicking() { return numVotesAgainstKicking_; } /** - * required uint32 numVotesAgainstKicking = 3; + * required uint32 numVotesAgainstKicking = 2; */ public Builder setNumVotesAgainstKicking(int value) { - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000002; numVotesAgainstKicking_ = value; return this; } /** - * required uint32 numVotesAgainstKicking = 3; + * required uint32 numVotesAgainstKicking = 2; */ public Builder clearNumVotesAgainstKicking() { - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000002); numVotesAgainstKicking_ = 0; return this; } - // required uint32 numVotesInFavourOfKicking = 4; + // required uint32 numVotesInFavourOfKicking = 3; private int numVotesInFavourOfKicking_ ; /** - * required uint32 numVotesInFavourOfKicking = 4; + * required uint32 numVotesInFavourOfKicking = 3; */ public boolean hasNumVotesInFavourOfKicking() { - return ((bitField0_ & 0x00000008) == 0x00000008); + return ((bitField0_ & 0x00000004) == 0x00000004); } /** - * required uint32 numVotesInFavourOfKicking = 4; + * required uint32 numVotesInFavourOfKicking = 3; */ public int getNumVotesInFavourOfKicking() { return numVotesInFavourOfKicking_; } /** - * required uint32 numVotesInFavourOfKicking = 4; + * required uint32 numVotesInFavourOfKicking = 3; */ public Builder setNumVotesInFavourOfKicking(int value) { - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000004; numVotesInFavourOfKicking_ = value; return this; } /** - * required uint32 numVotesInFavourOfKicking = 4; + * required uint32 numVotesInFavourOfKicking = 3; */ public Builder clearNumVotesInFavourOfKicking() { - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000004); numVotesInFavourOfKicking_ = 0; return this; } - // required uint32 numVotesNeededToKick = 5; + // required uint32 numVotesNeededToKick = 4; private int numVotesNeededToKick_ ; /** - * required uint32 numVotesNeededToKick = 5; + * required uint32 numVotesNeededToKick = 4; */ public boolean hasNumVotesNeededToKick() { - return ((bitField0_ & 0x00000010) == 0x00000010); + return ((bitField0_ & 0x00000008) == 0x00000008); } /** - * required uint32 numVotesNeededToKick = 5; + * required uint32 numVotesNeededToKick = 4; */ public int getNumVotesNeededToKick() { return numVotesNeededToKick_; } /** - * required uint32 numVotesNeededToKick = 5; + * required uint32 numVotesNeededToKick = 4; */ public Builder setNumVotesNeededToKick(int value) { - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000008; numVotesNeededToKick_ = value; return this; } /** - * required uint32 numVotesNeededToKick = 5; + * required uint32 numVotesNeededToKick = 4; */ public Builder clearNumVotesNeededToKick() { - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000008); numVotesNeededToKick_ = 0; return this; @@ -41061,63 +39366,53 @@ public final class ProtoBuf { public interface EndKickPetitionMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - // required uint32 gameId = 1; + // required uint32 petitionId = 1; /** - * required uint32 gameId = 1; - */ - boolean hasGameId(); - /** - * required uint32 gameId = 1; - */ - int getGameId(); - - // required uint32 petitionId = 2; - /** - * required uint32 petitionId = 2; + * required uint32 petitionId = 1; */ boolean hasPetitionId(); /** - * required uint32 petitionId = 2; + * required uint32 petitionId = 1; */ int getPetitionId(); - // required uint32 numVotesAgainstKicking = 3; + // required uint32 numVotesAgainstKicking = 2; /** - * required uint32 numVotesAgainstKicking = 3; + * required uint32 numVotesAgainstKicking = 2; */ boolean hasNumVotesAgainstKicking(); /** - * required uint32 numVotesAgainstKicking = 3; + * required uint32 numVotesAgainstKicking = 2; */ int getNumVotesAgainstKicking(); - // required uint32 numVotesInFavourOfKicking = 4; + // required uint32 numVotesInFavourOfKicking = 3; /** - * required uint32 numVotesInFavourOfKicking = 4; + * required uint32 numVotesInFavourOfKicking = 3; */ boolean hasNumVotesInFavourOfKicking(); /** - * required uint32 numVotesInFavourOfKicking = 4; + * required uint32 numVotesInFavourOfKicking = 3; */ int getNumVotesInFavourOfKicking(); - // required uint32 resultPlayerKicked = 5; + // required uint32 resultPlayerKicked = 4; /** - * required uint32 resultPlayerKicked = 5; + * required uint32 resultPlayerKicked = 4; */ boolean hasResultPlayerKicked(); /** - * required uint32 resultPlayerKicked = 5; + * required uint32 resultPlayerKicked = 4; */ int getResultPlayerKicked(); - // required .EndKickPetitionMessage.PetitionEndReason petitionEndReason = 6; + // required .EndKickPetitionMessage.PetitionEndReason petitionEndReason = 5; /** - * required .EndKickPetitionMessage.PetitionEndReason petitionEndReason = 6; + * required .EndKickPetitionMessage.PetitionEndReason petitionEndReason = 5; */ boolean hasPetitionEndReason(); /** - * required .EndKickPetitionMessage.PetitionEndReason petitionEndReason = 6; + * required .EndKickPetitionMessage.PetitionEndReason petitionEndReason = 5; */ de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.PetitionEndReason getPetitionEndReason(); } @@ -41166,34 +39461,29 @@ public final class ProtoBuf { } case 8: { bitField0_ |= 0x00000001; - gameId_ = input.readUInt32(); + petitionId_ = input.readUInt32(); break; } case 16: { bitField0_ |= 0x00000002; - petitionId_ = input.readUInt32(); + numVotesAgainstKicking_ = input.readUInt32(); break; } case 24: { bitField0_ |= 0x00000004; - numVotesAgainstKicking_ = input.readUInt32(); + numVotesInFavourOfKicking_ = input.readUInt32(); break; } case 32: { bitField0_ |= 0x00000008; - numVotesInFavourOfKicking_ = input.readUInt32(); - break; - } - case 40: { - bitField0_ |= 0x00000010; resultPlayerKicked_ = input.readUInt32(); break; } - case 48: { + case 40: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.PetitionEndReason value = de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.PetitionEndReason.valueOf(rawValue); if (value != null) { - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000010; petitionEndReason_ = value; } break; @@ -41299,104 +39589,87 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; - public static final int GAMEID_FIELD_NUMBER = 1; - private int gameId_; + // required uint32 petitionId = 1; + public static final int PETITIONID_FIELD_NUMBER = 1; + private int petitionId_; /** - * required uint32 gameId = 1; + * required uint32 petitionId = 1; */ - public boolean hasGameId() { + public boolean hasPetitionId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * required uint32 gameId = 1; - */ - public int getGameId() { - return gameId_; - } - - // required uint32 petitionId = 2; - public static final int PETITIONID_FIELD_NUMBER = 2; - private int petitionId_; - /** - * required uint32 petitionId = 2; - */ - public boolean hasPetitionId() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * required uint32 petitionId = 2; + * required uint32 petitionId = 1; */ public int getPetitionId() { return petitionId_; } - // required uint32 numVotesAgainstKicking = 3; - public static final int NUMVOTESAGAINSTKICKING_FIELD_NUMBER = 3; + // required uint32 numVotesAgainstKicking = 2; + public static final int NUMVOTESAGAINSTKICKING_FIELD_NUMBER = 2; private int numVotesAgainstKicking_; /** - * required uint32 numVotesAgainstKicking = 3; + * required uint32 numVotesAgainstKicking = 2; */ public boolean hasNumVotesAgainstKicking() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000002) == 0x00000002); } /** - * required uint32 numVotesAgainstKicking = 3; + * required uint32 numVotesAgainstKicking = 2; */ public int getNumVotesAgainstKicking() { return numVotesAgainstKicking_; } - // required uint32 numVotesInFavourOfKicking = 4; - public static final int NUMVOTESINFAVOUROFKICKING_FIELD_NUMBER = 4; + // required uint32 numVotesInFavourOfKicking = 3; + public static final int NUMVOTESINFAVOUROFKICKING_FIELD_NUMBER = 3; private int numVotesInFavourOfKicking_; /** - * required uint32 numVotesInFavourOfKicking = 4; + * required uint32 numVotesInFavourOfKicking = 3; */ public boolean hasNumVotesInFavourOfKicking() { - return ((bitField0_ & 0x00000008) == 0x00000008); + return ((bitField0_ & 0x00000004) == 0x00000004); } /** - * required uint32 numVotesInFavourOfKicking = 4; + * required uint32 numVotesInFavourOfKicking = 3; */ public int getNumVotesInFavourOfKicking() { return numVotesInFavourOfKicking_; } - // required uint32 resultPlayerKicked = 5; - public static final int RESULTPLAYERKICKED_FIELD_NUMBER = 5; + // required uint32 resultPlayerKicked = 4; + public static final int RESULTPLAYERKICKED_FIELD_NUMBER = 4; private int resultPlayerKicked_; /** - * required uint32 resultPlayerKicked = 5; + * required uint32 resultPlayerKicked = 4; */ public boolean hasResultPlayerKicked() { - return ((bitField0_ & 0x00000010) == 0x00000010); + return ((bitField0_ & 0x00000008) == 0x00000008); } /** - * required uint32 resultPlayerKicked = 5; + * required uint32 resultPlayerKicked = 4; */ public int getResultPlayerKicked() { return resultPlayerKicked_; } - // required .EndKickPetitionMessage.PetitionEndReason petitionEndReason = 6; - public static final int PETITIONENDREASON_FIELD_NUMBER = 6; + // required .EndKickPetitionMessage.PetitionEndReason petitionEndReason = 5; + public static final int PETITIONENDREASON_FIELD_NUMBER = 5; private de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.PetitionEndReason petitionEndReason_; /** - * required .EndKickPetitionMessage.PetitionEndReason petitionEndReason = 6; + * required .EndKickPetitionMessage.PetitionEndReason petitionEndReason = 5; */ public boolean hasPetitionEndReason() { - return ((bitField0_ & 0x00000020) == 0x00000020); + return ((bitField0_ & 0x00000010) == 0x00000010); } /** - * required .EndKickPetitionMessage.PetitionEndReason petitionEndReason = 6; + * required .EndKickPetitionMessage.PetitionEndReason petitionEndReason = 5; */ public de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.PetitionEndReason getPetitionEndReason() { return petitionEndReason_; } private void initFields() { - gameId_ = 0; petitionId_ = 0; numVotesAgainstKicking_ = 0; numVotesInFavourOfKicking_ = 0; @@ -41408,10 +39681,6 @@ public final class ProtoBuf { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - if (!hasGameId()) { - memoizedIsInitialized = 0; - return false; - } if (!hasPetitionId()) { memoizedIsInitialized = 0; return false; @@ -41440,22 +39709,19 @@ public final class ProtoBuf { throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeUInt32(1, gameId_); + output.writeUInt32(1, petitionId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeUInt32(2, petitionId_); + output.writeUInt32(2, numVotesAgainstKicking_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeUInt32(3, numVotesAgainstKicking_); + output.writeUInt32(3, numVotesInFavourOfKicking_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { - output.writeUInt32(4, numVotesInFavourOfKicking_); + output.writeUInt32(4, resultPlayerKicked_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { - output.writeUInt32(5, resultPlayerKicked_); - } - if (((bitField0_ & 0x00000020) == 0x00000020)) { - output.writeEnum(6, petitionEndReason_.getNumber()); + output.writeEnum(5, petitionEndReason_.getNumber()); } } @@ -41467,27 +39733,23 @@ public final class ProtoBuf { size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(1, gameId_); + .computeUInt32Size(1, petitionId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(2, petitionId_); + .computeUInt32Size(2, numVotesAgainstKicking_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(3, numVotesAgainstKicking_); + .computeUInt32Size(3, numVotesInFavourOfKicking_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(4, numVotesInFavourOfKicking_); + .computeUInt32Size(4, resultPlayerKicked_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(5, resultPlayerKicked_); - } - if (((bitField0_ & 0x00000020) == 0x00000020)) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(6, petitionEndReason_.getNumber()); + .computeEnumSize(5, petitionEndReason_.getNumber()); } memoizedSerializedSize = size; return size; @@ -41580,18 +39842,16 @@ public final class ProtoBuf { public Builder clear() { super.clear(); - gameId_ = 0; - bitField0_ = (bitField0_ & ~0x00000001); petitionId_ = 0; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); numVotesAgainstKicking_ = 0; - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000002); numVotesInFavourOfKicking_ = 0; - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000004); resultPlayerKicked_ = 0; - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000008); petitionEndReason_ = de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.PetitionEndReason.petitionEndEnoughVotes; - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000010); return this; } @@ -41618,26 +39878,22 @@ public final class ProtoBuf { if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } - result.gameId_ = gameId_; + result.petitionId_ = petitionId_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } - result.petitionId_ = petitionId_; + result.numVotesAgainstKicking_ = numVotesAgainstKicking_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } - result.numVotesAgainstKicking_ = numVotesAgainstKicking_; + result.numVotesInFavourOfKicking_ = numVotesInFavourOfKicking_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } - result.numVotesInFavourOfKicking_ = numVotesInFavourOfKicking_; + result.resultPlayerKicked_ = resultPlayerKicked_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } - result.resultPlayerKicked_ = resultPlayerKicked_; - if (((from_bitField0_ & 0x00000020) == 0x00000020)) { - to_bitField0_ |= 0x00000020; - } result.petitionEndReason_ = petitionEndReason_; result.bitField0_ = to_bitField0_; return result; @@ -41645,9 +39901,6 @@ public final class ProtoBuf { public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage other) { if (other == de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.getDefaultInstance()) return this; - if (other.hasGameId()) { - setGameId(other.getGameId()); - } if (other.hasPetitionId()) { setPetitionId(other.getPetitionId()); } @@ -41667,10 +39920,6 @@ public final class ProtoBuf { } public final boolean isInitialized() { - if (!hasGameId()) { - - return false; - } if (!hasPetitionId()) { return false; @@ -41713,202 +39962,169 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; - private int gameId_ ; + // required uint32 petitionId = 1; + private int petitionId_ ; /** - * required uint32 gameId = 1; + * required uint32 petitionId = 1; */ - public boolean hasGameId() { + public boolean hasPetitionId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * required uint32 gameId = 1; - */ - public int getGameId() { - return gameId_; - } - /** - * required uint32 gameId = 1; - */ - public Builder setGameId(int value) { - bitField0_ |= 0x00000001; - gameId_ = value; - - return this; - } - /** - * required uint32 gameId = 1; - */ - public Builder clearGameId() { - bitField0_ = (bitField0_ & ~0x00000001); - gameId_ = 0; - - return this; - } - - // required uint32 petitionId = 2; - private int petitionId_ ; - /** - * required uint32 petitionId = 2; - */ - public boolean hasPetitionId() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * required uint32 petitionId = 2; + * required uint32 petitionId = 1; */ public int getPetitionId() { return petitionId_; } /** - * required uint32 petitionId = 2; + * required uint32 petitionId = 1; */ public Builder setPetitionId(int value) { - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000001; petitionId_ = value; return this; } /** - * required uint32 petitionId = 2; + * required uint32 petitionId = 1; */ public Builder clearPetitionId() { - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); petitionId_ = 0; return this; } - // required uint32 numVotesAgainstKicking = 3; + // required uint32 numVotesAgainstKicking = 2; private int numVotesAgainstKicking_ ; /** - * required uint32 numVotesAgainstKicking = 3; + * required uint32 numVotesAgainstKicking = 2; */ public boolean hasNumVotesAgainstKicking() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000002) == 0x00000002); } /** - * required uint32 numVotesAgainstKicking = 3; + * required uint32 numVotesAgainstKicking = 2; */ public int getNumVotesAgainstKicking() { return numVotesAgainstKicking_; } /** - * required uint32 numVotesAgainstKicking = 3; + * required uint32 numVotesAgainstKicking = 2; */ public Builder setNumVotesAgainstKicking(int value) { - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000002; numVotesAgainstKicking_ = value; return this; } /** - * required uint32 numVotesAgainstKicking = 3; + * required uint32 numVotesAgainstKicking = 2; */ public Builder clearNumVotesAgainstKicking() { - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000002); numVotesAgainstKicking_ = 0; return this; } - // required uint32 numVotesInFavourOfKicking = 4; + // required uint32 numVotesInFavourOfKicking = 3; private int numVotesInFavourOfKicking_ ; /** - * required uint32 numVotesInFavourOfKicking = 4; + * required uint32 numVotesInFavourOfKicking = 3; */ public boolean hasNumVotesInFavourOfKicking() { - return ((bitField0_ & 0x00000008) == 0x00000008); + return ((bitField0_ & 0x00000004) == 0x00000004); } /** - * required uint32 numVotesInFavourOfKicking = 4; + * required uint32 numVotesInFavourOfKicking = 3; */ public int getNumVotesInFavourOfKicking() { return numVotesInFavourOfKicking_; } /** - * required uint32 numVotesInFavourOfKicking = 4; + * required uint32 numVotesInFavourOfKicking = 3; */ public Builder setNumVotesInFavourOfKicking(int value) { - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000004; numVotesInFavourOfKicking_ = value; return this; } /** - * required uint32 numVotesInFavourOfKicking = 4; + * required uint32 numVotesInFavourOfKicking = 3; */ public Builder clearNumVotesInFavourOfKicking() { - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000004); numVotesInFavourOfKicking_ = 0; return this; } - // required uint32 resultPlayerKicked = 5; + // required uint32 resultPlayerKicked = 4; private int resultPlayerKicked_ ; /** - * required uint32 resultPlayerKicked = 5; + * required uint32 resultPlayerKicked = 4; */ public boolean hasResultPlayerKicked() { - return ((bitField0_ & 0x00000010) == 0x00000010); + return ((bitField0_ & 0x00000008) == 0x00000008); } /** - * required uint32 resultPlayerKicked = 5; + * required uint32 resultPlayerKicked = 4; */ public int getResultPlayerKicked() { return resultPlayerKicked_; } /** - * required uint32 resultPlayerKicked = 5; + * required uint32 resultPlayerKicked = 4; */ public Builder setResultPlayerKicked(int value) { - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000008; resultPlayerKicked_ = value; return this; } /** - * required uint32 resultPlayerKicked = 5; + * required uint32 resultPlayerKicked = 4; */ public Builder clearResultPlayerKicked() { - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000008); resultPlayerKicked_ = 0; return this; } - // required .EndKickPetitionMessage.PetitionEndReason petitionEndReason = 6; + // required .EndKickPetitionMessage.PetitionEndReason petitionEndReason = 5; private de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.PetitionEndReason petitionEndReason_ = de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.PetitionEndReason.petitionEndEnoughVotes; /** - * required .EndKickPetitionMessage.PetitionEndReason petitionEndReason = 6; + * required .EndKickPetitionMessage.PetitionEndReason petitionEndReason = 5; */ public boolean hasPetitionEndReason() { - return ((bitField0_ & 0x00000020) == 0x00000020); + return ((bitField0_ & 0x00000010) == 0x00000010); } /** - * required .EndKickPetitionMessage.PetitionEndReason petitionEndReason = 6; + * required .EndKickPetitionMessage.PetitionEndReason petitionEndReason = 5; */ public de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.PetitionEndReason getPetitionEndReason() { return petitionEndReason_; } /** - * required .EndKickPetitionMessage.PetitionEndReason petitionEndReason = 6; + * required .EndKickPetitionMessage.PetitionEndReason petitionEndReason = 5; */ public Builder setPetitionEndReason(de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.PetitionEndReason value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000010; petitionEndReason_ = value; return this; } /** - * required .EndKickPetitionMessage.PetitionEndReason petitionEndReason = 6; + * required .EndKickPetitionMessage.PetitionEndReason petitionEndReason = 5; */ public Builder clearPetitionEndReason() { - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000010); petitionEndReason_ = de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.PetitionEndReason.petitionEndEnoughVotes; return this; @@ -42885,16 +41101,6 @@ public final class ProtoBuf { public interface ChatRequestMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - // optional uint32 targetGameId = 1; - /** - * optional uint32 targetGameId = 1; - */ - boolean hasTargetGameId(); - /** - * optional uint32 targetGameId = 1; - */ - int getTargetGameId(); - // optional uint32 targetPlayerId = 2; /** * optional uint32 targetPlayerId = 2; @@ -42963,18 +41169,13 @@ public final class ProtoBuf { } break; } - case 8: { - bitField0_ |= 0x00000001; - targetGameId_ = input.readUInt32(); - break; - } case 16: { - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000001; targetPlayerId_ = input.readUInt32(); break; } case 26: { - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000002; chatText_ = input.readBytes(); break; } @@ -43005,22 +41206,6 @@ public final class ProtoBuf { } private int bitField0_; - // optional uint32 targetGameId = 1; - public static final int TARGETGAMEID_FIELD_NUMBER = 1; - private int targetGameId_; - /** - * optional uint32 targetGameId = 1; - */ - public boolean hasTargetGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - /** - * optional uint32 targetGameId = 1; - */ - public int getTargetGameId() { - return targetGameId_; - } - // optional uint32 targetPlayerId = 2; public static final int TARGETPLAYERID_FIELD_NUMBER = 2; private int targetPlayerId_; @@ -43028,7 +41213,7 @@ public final class ProtoBuf { * optional uint32 targetPlayerId = 2; */ public boolean hasTargetPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional uint32 targetPlayerId = 2; @@ -43044,7 +41229,7 @@ public final class ProtoBuf { * required string chatText = 3; */ public boolean hasChatText() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000002) == 0x00000002); } /** * required string chatText = 3; @@ -43081,7 +41266,6 @@ public final class ProtoBuf { } private void initFields() { - targetGameId_ = 0; targetPlayerId_ = 0; chatText_ = ""; } @@ -43102,12 +41286,9 @@ public final class ProtoBuf { throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeUInt32(1, targetGameId_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt32(2, targetPlayerId_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(3, getChatTextBytes()); } } @@ -43119,14 +41300,10 @@ public final class ProtoBuf { size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(1, targetGameId_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, targetPlayerId_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, getChatTextBytes()); } @@ -43221,12 +41398,10 @@ public final class ProtoBuf { public Builder clear() { super.clear(); - targetGameId_ = 0; - bitField0_ = (bitField0_ & ~0x00000001); targetPlayerId_ = 0; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); chatText_ = ""; - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000002); return this; } @@ -43253,14 +41428,10 @@ public final class ProtoBuf { if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } - result.targetGameId_ = targetGameId_; + result.targetPlayerId_ = targetPlayerId_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } - result.targetPlayerId_ = targetPlayerId_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { - to_bitField0_ |= 0x00000004; - } result.chatText_ = chatText_; result.bitField0_ = to_bitField0_; return result; @@ -43268,14 +41439,11 @@ public final class ProtoBuf { public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.ChatRequestMessage other) { if (other == de.pokerth.protocol.ProtoBuf.ChatRequestMessage.getDefaultInstance()) return this; - if (other.hasTargetGameId()) { - setTargetGameId(other.getTargetGameId()); - } if (other.hasTargetPlayerId()) { setTargetPlayerId(other.getTargetPlayerId()); } if (other.hasChatText()) { - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000002; chatText_ = other.chatText_; } @@ -43309,46 +41477,13 @@ public final class ProtoBuf { } private int bitField0_; - // optional uint32 targetGameId = 1; - private int targetGameId_ ; - /** - * optional uint32 targetGameId = 1; - */ - public boolean hasTargetGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - /** - * optional uint32 targetGameId = 1; - */ - public int getTargetGameId() { - return targetGameId_; - } - /** - * optional uint32 targetGameId = 1; - */ - public Builder setTargetGameId(int value) { - bitField0_ |= 0x00000001; - targetGameId_ = value; - - return this; - } - /** - * optional uint32 targetGameId = 1; - */ - public Builder clearTargetGameId() { - bitField0_ = (bitField0_ & ~0x00000001); - targetGameId_ = 0; - - return this; - } - // optional uint32 targetPlayerId = 2; private int targetPlayerId_ ; /** * optional uint32 targetPlayerId = 2; */ public boolean hasTargetPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional uint32 targetPlayerId = 2; @@ -43360,7 +41495,7 @@ public final class ProtoBuf { * optional uint32 targetPlayerId = 2; */ public Builder setTargetPlayerId(int value) { - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000001; targetPlayerId_ = value; return this; @@ -43369,7 +41504,7 @@ public final class ProtoBuf { * optional uint32 targetPlayerId = 2; */ public Builder clearTargetPlayerId() { - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); targetPlayerId_ = 0; return this; @@ -43381,7 +41516,7 @@ public final class ProtoBuf { * required string chatText = 3; */ public boolean hasChatText() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000002) == 0x00000002); } /** * required string chatText = 3; @@ -43421,7 +41556,7 @@ public final class ProtoBuf { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000002; chatText_ = value; return this; @@ -43430,7 +41565,7 @@ public final class ProtoBuf { * required string chatText = 3; */ public Builder clearChatText() { - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000002); chatText_ = getDefaultInstance().getChatText(); return this; @@ -43443,7 +41578,7 @@ public final class ProtoBuf { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000002; chatText_ = value; return this; @@ -43463,47 +41598,37 @@ public final class ProtoBuf { public interface ChatMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - // optional uint32 gameId = 1; + // optional uint32 playerId = 1; /** - * optional uint32 gameId = 1; - */ - boolean hasGameId(); - /** - * optional uint32 gameId = 1; - */ - int getGameId(); - - // optional uint32 playerId = 2; - /** - * optional uint32 playerId = 2; + * optional uint32 playerId = 1; */ boolean hasPlayerId(); /** - * optional uint32 playerId = 2; + * optional uint32 playerId = 1; */ int getPlayerId(); - // required .ChatMessage.ChatType chatType = 3; + // required .ChatMessage.ChatType chatType = 2; /** - * required .ChatMessage.ChatType chatType = 3; + * required .ChatMessage.ChatType chatType = 2; */ boolean hasChatType(); /** - * required .ChatMessage.ChatType chatType = 3; + * required .ChatMessage.ChatType chatType = 2; */ de.pokerth.protocol.ProtoBuf.ChatMessage.ChatType getChatType(); - // required string chatText = 4; + // required string chatText = 3; /** - * required string chatText = 4; + * required string chatText = 3; */ boolean hasChatText(); /** - * required string chatText = 4; + * required string chatText = 3; */ java.lang.String getChatText(); /** - * required string chatText = 4; + * required string chatText = 3; */ com.google.protobuf.ByteString getChatTextBytes(); @@ -43553,25 +41678,20 @@ public final class ProtoBuf { } case 8: { bitField0_ |= 0x00000001; - gameId_ = input.readUInt32(); - break; - } - case 16: { - bitField0_ |= 0x00000002; playerId_ = input.readUInt32(); break; } - case 24: { + case 16: { int rawValue = input.readEnum(); de.pokerth.protocol.ProtoBuf.ChatMessage.ChatType value = de.pokerth.protocol.ProtoBuf.ChatMessage.ChatType.valueOf(rawValue); if (value != null) { - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000002; chatType_ = value; } break; } - case 34: { - bitField0_ |= 0x00000008; + case 26: { + bitField0_ |= 0x00000004; chatText_ = input.readBytes(); break; } @@ -43607,58 +41727,49 @@ public final class ProtoBuf { public enum ChatType implements com.google.protobuf.Internal.EnumLite { /** - * chatTypeLobby = 0; + * chatTypeStandard = 0; */ - chatTypeLobby(0, 0), + chatTypeStandard(0, 0), /** - * chatTypeGame = 1; + * chatTypeBot = 1; */ - chatTypeGame(1, 1), + chatTypeBot(1, 1), /** - * chatTypeBot = 2; + * chatTypeBroadcast = 2; */ - chatTypeBot(2, 2), + chatTypeBroadcast(2, 2), /** - * chatTypeBroadcast = 3; + * chatTypePrivate = 3; */ - chatTypeBroadcast(3, 3), - /** - * chatTypePrivate = 4; - */ - chatTypePrivate(4, 4), + chatTypePrivate(3, 3), ; /** - * chatTypeLobby = 0; + * chatTypeStandard = 0; */ - public static final int chatTypeLobby_VALUE = 0; + public static final int chatTypeStandard_VALUE = 0; /** - * chatTypeGame = 1; + * chatTypeBot = 1; */ - public static final int chatTypeGame_VALUE = 1; + public static final int chatTypeBot_VALUE = 1; /** - * chatTypeBot = 2; + * chatTypeBroadcast = 2; */ - public static final int chatTypeBot_VALUE = 2; + public static final int chatTypeBroadcast_VALUE = 2; /** - * chatTypeBroadcast = 3; + * chatTypePrivate = 3; */ - public static final int chatTypeBroadcast_VALUE = 3; - /** - * chatTypePrivate = 4; - */ - public static final int chatTypePrivate_VALUE = 4; + public static final int chatTypePrivate_VALUE = 3; public final int getNumber() { return value; } public static ChatType valueOf(int value) { switch (value) { - case 0: return chatTypeLobby; - case 1: return chatTypeGame; - case 2: return chatTypeBot; - case 3: return chatTypeBroadcast; - case 4: return chatTypePrivate; + case 0: return chatTypeStandard; + case 1: return chatTypeBot; + case 2: return chatTypeBroadcast; + case 3: return chatTypePrivate; default: return null; } } @@ -43685,65 +41796,49 @@ public final class ProtoBuf { } private int bitField0_; - // optional uint32 gameId = 1; - public static final int GAMEID_FIELD_NUMBER = 1; - private int gameId_; + // optional uint32 playerId = 1; + public static final int PLAYERID_FIELD_NUMBER = 1; + private int playerId_; /** - * optional uint32 gameId = 1; + * optional uint32 playerId = 1; */ - public boolean hasGameId() { + public boolean hasPlayerId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * optional uint32 gameId = 1; - */ - public int getGameId() { - return gameId_; - } - - // optional uint32 playerId = 2; - public static final int PLAYERID_FIELD_NUMBER = 2; - private int playerId_; - /** - * optional uint32 playerId = 2; - */ - public boolean hasPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * optional uint32 playerId = 2; + * optional uint32 playerId = 1; */ public int getPlayerId() { return playerId_; } - // required .ChatMessage.ChatType chatType = 3; - public static final int CHATTYPE_FIELD_NUMBER = 3; + // required .ChatMessage.ChatType chatType = 2; + public static final int CHATTYPE_FIELD_NUMBER = 2; private de.pokerth.protocol.ProtoBuf.ChatMessage.ChatType chatType_; /** - * required .ChatMessage.ChatType chatType = 3; + * required .ChatMessage.ChatType chatType = 2; */ public boolean hasChatType() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000002) == 0x00000002); } /** - * required .ChatMessage.ChatType chatType = 3; + * required .ChatMessage.ChatType chatType = 2; */ public de.pokerth.protocol.ProtoBuf.ChatMessage.ChatType getChatType() { return chatType_; } - // required string chatText = 4; - public static final int CHATTEXT_FIELD_NUMBER = 4; + // required string chatText = 3; + public static final int CHATTEXT_FIELD_NUMBER = 3; private java.lang.Object chatText_; /** - * required string chatText = 4; + * required string chatText = 3; */ public boolean hasChatText() { - return ((bitField0_ & 0x00000008) == 0x00000008); + return ((bitField0_ & 0x00000004) == 0x00000004); } /** - * required string chatText = 4; + * required string chatText = 3; */ public java.lang.String getChatText() { java.lang.Object ref = chatText_; @@ -43760,7 +41855,7 @@ public final class ProtoBuf { } } /** - * required string chatText = 4; + * required string chatText = 3; */ public com.google.protobuf.ByteString getChatTextBytes() { @@ -43777,9 +41872,8 @@ public final class ProtoBuf { } private void initFields() { - gameId_ = 0; playerId_ = 0; - chatType_ = de.pokerth.protocol.ProtoBuf.ChatMessage.ChatType.chatTypeLobby; + chatType_ = de.pokerth.protocol.ProtoBuf.ChatMessage.ChatType.chatTypeStandard; chatText_ = ""; } private byte memoizedIsInitialized = -1; @@ -43803,16 +41897,13 @@ public final class ProtoBuf { throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeUInt32(1, gameId_); + output.writeUInt32(1, playerId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeUInt32(2, playerId_); + output.writeEnum(2, chatType_.getNumber()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeEnum(3, chatType_.getNumber()); - } - if (((bitField0_ & 0x00000008) == 0x00000008)) { - output.writeBytes(4, getChatTextBytes()); + output.writeBytes(3, getChatTextBytes()); } } @@ -43824,19 +41915,15 @@ public final class ProtoBuf { size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(1, gameId_); + .computeUInt32Size(1, playerId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(2, playerId_); + .computeEnumSize(2, chatType_.getNumber()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, chatType_.getNumber()); - } - if (((bitField0_ & 0x00000008) == 0x00000008)) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(4, getChatTextBytes()); + .computeBytesSize(3, getChatTextBytes()); } memoizedSerializedSize = size; return size; @@ -43929,14 +42016,12 @@ public final class ProtoBuf { public Builder clear() { super.clear(); - gameId_ = 0; - bitField0_ = (bitField0_ & ~0x00000001); playerId_ = 0; + bitField0_ = (bitField0_ & ~0x00000001); + chatType_ = de.pokerth.protocol.ProtoBuf.ChatMessage.ChatType.chatTypeStandard; bitField0_ = (bitField0_ & ~0x00000002); - chatType_ = de.pokerth.protocol.ProtoBuf.ChatMessage.ChatType.chatTypeLobby; - bitField0_ = (bitField0_ & ~0x00000004); chatText_ = ""; - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000004); return this; } @@ -43963,18 +42048,14 @@ public final class ProtoBuf { if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } - result.gameId_ = gameId_; + result.playerId_ = playerId_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } - result.playerId_ = playerId_; + result.chatType_ = chatType_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } - result.chatType_ = chatType_; - if (((from_bitField0_ & 0x00000008) == 0x00000008)) { - to_bitField0_ |= 0x00000008; - } result.chatText_ = chatText_; result.bitField0_ = to_bitField0_; return result; @@ -43982,9 +42063,6 @@ public final class ProtoBuf { public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.ChatMessage other) { if (other == de.pokerth.protocol.ProtoBuf.ChatMessage.getDefaultInstance()) return this; - if (other.hasGameId()) { - setGameId(other.getGameId()); - } if (other.hasPlayerId()) { setPlayerId(other.getPlayerId()); } @@ -43992,7 +42070,7 @@ public final class ProtoBuf { setChatType(other.getChatType()); } if (other.hasChatText()) { - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000004; chatText_ = other.chatText_; } @@ -44030,118 +42108,85 @@ public final class ProtoBuf { } private int bitField0_; - // optional uint32 gameId = 1; - private int gameId_ ; + // optional uint32 playerId = 1; + private int playerId_ ; /** - * optional uint32 gameId = 1; + * optional uint32 playerId = 1; */ - public boolean hasGameId() { + public boolean hasPlayerId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * optional uint32 gameId = 1; - */ - public int getGameId() { - return gameId_; - } - /** - * optional uint32 gameId = 1; - */ - public Builder setGameId(int value) { - bitField0_ |= 0x00000001; - gameId_ = value; - - return this; - } - /** - * optional uint32 gameId = 1; - */ - public Builder clearGameId() { - bitField0_ = (bitField0_ & ~0x00000001); - gameId_ = 0; - - return this; - } - - // optional uint32 playerId = 2; - private int playerId_ ; - /** - * optional uint32 playerId = 2; - */ - public boolean hasPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * optional uint32 playerId = 2; + * optional uint32 playerId = 1; */ public int getPlayerId() { return playerId_; } /** - * optional uint32 playerId = 2; + * optional uint32 playerId = 1; */ public Builder setPlayerId(int value) { - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000001; playerId_ = value; return this; } /** - * optional uint32 playerId = 2; + * optional uint32 playerId = 1; */ public Builder clearPlayerId() { - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); playerId_ = 0; return this; } - // required .ChatMessage.ChatType chatType = 3; - private de.pokerth.protocol.ProtoBuf.ChatMessage.ChatType chatType_ = de.pokerth.protocol.ProtoBuf.ChatMessage.ChatType.chatTypeLobby; + // required .ChatMessage.ChatType chatType = 2; + private de.pokerth.protocol.ProtoBuf.ChatMessage.ChatType chatType_ = de.pokerth.protocol.ProtoBuf.ChatMessage.ChatType.chatTypeStandard; /** - * required .ChatMessage.ChatType chatType = 3; + * required .ChatMessage.ChatType chatType = 2; */ public boolean hasChatType() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000002) == 0x00000002); } /** - * required .ChatMessage.ChatType chatType = 3; + * required .ChatMessage.ChatType chatType = 2; */ public de.pokerth.protocol.ProtoBuf.ChatMessage.ChatType getChatType() { return chatType_; } /** - * required .ChatMessage.ChatType chatType = 3; + * required .ChatMessage.ChatType chatType = 2; */ public Builder setChatType(de.pokerth.protocol.ProtoBuf.ChatMessage.ChatType value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000002; chatType_ = value; return this; } /** - * required .ChatMessage.ChatType chatType = 3; + * required .ChatMessage.ChatType chatType = 2; */ public Builder clearChatType() { - bitField0_ = (bitField0_ & ~0x00000004); - chatType_ = de.pokerth.protocol.ProtoBuf.ChatMessage.ChatType.chatTypeLobby; + bitField0_ = (bitField0_ & ~0x00000002); + chatType_ = de.pokerth.protocol.ProtoBuf.ChatMessage.ChatType.chatTypeStandard; return this; } - // required string chatText = 4; + // required string chatText = 3; private java.lang.Object chatText_ = ""; /** - * required string chatText = 4; + * required string chatText = 3; */ public boolean hasChatText() { - return ((bitField0_ & 0x00000008) == 0x00000008); + return ((bitField0_ & 0x00000004) == 0x00000004); } /** - * required string chatText = 4; + * required string chatText = 3; */ public java.lang.String getChatText() { java.lang.Object ref = chatText_; @@ -44155,7 +42200,7 @@ public final class ProtoBuf { } } /** - * required string chatText = 4; + * required string chatText = 3; */ public com.google.protobuf.ByteString getChatTextBytes() { @@ -44171,36 +42216,36 @@ public final class ProtoBuf { } } /** - * required string chatText = 4; + * required string chatText = 3; */ public Builder setChatText( java.lang.String value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000004; chatText_ = value; return this; } /** - * required string chatText = 4; + * required string chatText = 3; */ public Builder clearChatText() { - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000004); chatText_ = getDefaultInstance().getChatText(); return this; } /** - * required string chatText = 4; + * required string chatText = 3; */ public Builder setChatTextBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000004; chatText_ = value; return this; @@ -49791,859 +47836,97 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:AdminBanPlayerAckMessage) } - public interface PokerTHMessageOrBuilder + public interface AuthMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - // required .PokerTHMessage.PokerTHMessageType messageType = 1; + // required .AuthMessage.AuthMessageType messageType = 1; /** - * required .PokerTHMessage.PokerTHMessageType messageType = 1; + * required .AuthMessage.AuthMessageType messageType = 1; */ boolean hasMessageType(); /** - * required .PokerTHMessage.PokerTHMessageType messageType = 1; + * required .AuthMessage.AuthMessageType messageType = 1; */ - de.pokerth.protocol.ProtoBuf.PokerTHMessage.PokerTHMessageType getMessageType(); + de.pokerth.protocol.ProtoBuf.AuthMessage.AuthMessageType getMessageType(); - // optional .AnnounceMessage announceMessage = 2; + // optional .AuthClientRequestMessage authClientRequestMessage = 2; /** - * optional .AnnounceMessage announceMessage = 2; + * optional .AuthClientRequestMessage authClientRequestMessage = 2; */ - boolean hasAnnounceMessage(); + boolean hasAuthClientRequestMessage(); /** - * optional .AnnounceMessage announceMessage = 2; + * optional .AuthClientRequestMessage authClientRequestMessage = 2; */ - de.pokerth.protocol.ProtoBuf.AnnounceMessage getAnnounceMessage(); + de.pokerth.protocol.ProtoBuf.AuthClientRequestMessage getAuthClientRequestMessage(); - // optional .InitMessage initMessage = 3; + // optional .AuthServerChallengeMessage authServerChallengeMessage = 3; /** - * optional .InitMessage initMessage = 3; - */ - boolean hasInitMessage(); - /** - * optional .InitMessage initMessage = 3; - */ - de.pokerth.protocol.ProtoBuf.InitMessage getInitMessage(); - - // optional .AuthServerChallengeMessage authServerChallengeMessage = 4; - /** - * optional .AuthServerChallengeMessage authServerChallengeMessage = 4; + * optional .AuthServerChallengeMessage authServerChallengeMessage = 3; */ boolean hasAuthServerChallengeMessage(); /** - * optional .AuthServerChallengeMessage authServerChallengeMessage = 4; + * optional .AuthServerChallengeMessage authServerChallengeMessage = 3; */ de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage getAuthServerChallengeMessage(); - // optional .AuthClientResponseMessage authClientResponseMessage = 5; + // optional .AuthClientResponseMessage authClientResponseMessage = 4; /** - * optional .AuthClientResponseMessage authClientResponseMessage = 5; + * optional .AuthClientResponseMessage authClientResponseMessage = 4; */ boolean hasAuthClientResponseMessage(); /** - * optional .AuthClientResponseMessage authClientResponseMessage = 5; + * optional .AuthClientResponseMessage authClientResponseMessage = 4; */ de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage getAuthClientResponseMessage(); - // optional .AuthServerVerificationMessage authServerVerificationMessage = 6; + // optional .AuthServerVerificationMessage authServerVerificationMessage = 5; /** - * optional .AuthServerVerificationMessage authServerVerificationMessage = 6; + * optional .AuthServerVerificationMessage authServerVerificationMessage = 5; */ boolean hasAuthServerVerificationMessage(); /** - * optional .AuthServerVerificationMessage authServerVerificationMessage = 6; + * optional .AuthServerVerificationMessage authServerVerificationMessage = 5; */ de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage getAuthServerVerificationMessage(); - // optional .InitAckMessage initAckMessage = 7; + // optional .ErrorMessage errorMessage = 1025; /** - * optional .InitAckMessage initAckMessage = 7; - */ - boolean hasInitAckMessage(); - /** - * optional .InitAckMessage initAckMessage = 7; - */ - de.pokerth.protocol.ProtoBuf.InitAckMessage getInitAckMessage(); - - // optional .AvatarRequestMessage avatarRequestMessage = 8; - /** - * optional .AvatarRequestMessage avatarRequestMessage = 8; - */ - boolean hasAvatarRequestMessage(); - /** - * optional .AvatarRequestMessage avatarRequestMessage = 8; - */ - de.pokerth.protocol.ProtoBuf.AvatarRequestMessage getAvatarRequestMessage(); - - // optional .AvatarHeaderMessage avatarHeaderMessage = 9; - /** - * optional .AvatarHeaderMessage avatarHeaderMessage = 9; - */ - boolean hasAvatarHeaderMessage(); - /** - * optional .AvatarHeaderMessage avatarHeaderMessage = 9; - */ - de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage getAvatarHeaderMessage(); - - // optional .AvatarDataMessage avatarDataMessage = 10; - /** - * optional .AvatarDataMessage avatarDataMessage = 10; - */ - boolean hasAvatarDataMessage(); - /** - * optional .AvatarDataMessage avatarDataMessage = 10; - */ - de.pokerth.protocol.ProtoBuf.AvatarDataMessage getAvatarDataMessage(); - - // optional .AvatarEndMessage avatarEndMessage = 11; - /** - * optional .AvatarEndMessage avatarEndMessage = 11; - */ - boolean hasAvatarEndMessage(); - /** - * optional .AvatarEndMessage avatarEndMessage = 11; - */ - de.pokerth.protocol.ProtoBuf.AvatarEndMessage getAvatarEndMessage(); - - // optional .UnknownAvatarMessage unknownAvatarMessage = 12; - /** - * optional .UnknownAvatarMessage unknownAvatarMessage = 12; - */ - boolean hasUnknownAvatarMessage(); - /** - * optional .UnknownAvatarMessage unknownAvatarMessage = 12; - */ - de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage getUnknownAvatarMessage(); - - // optional .PlayerListMessage playerListMessage = 13; - /** - * optional .PlayerListMessage playerListMessage = 13; - */ - boolean hasPlayerListMessage(); - /** - * optional .PlayerListMessage playerListMessage = 13; - */ - de.pokerth.protocol.ProtoBuf.PlayerListMessage getPlayerListMessage(); - - // optional .GameListNewMessage gameListNewMessage = 14; - /** - * optional .GameListNewMessage gameListNewMessage = 14; - */ - boolean hasGameListNewMessage(); - /** - * optional .GameListNewMessage gameListNewMessage = 14; - */ - de.pokerth.protocol.ProtoBuf.GameListNewMessage getGameListNewMessage(); - - // optional .GameListUpdateMessage gameListUpdateMessage = 15; - /** - * optional .GameListUpdateMessage gameListUpdateMessage = 15; - */ - boolean hasGameListUpdateMessage(); - /** - * optional .GameListUpdateMessage gameListUpdateMessage = 15; - */ - de.pokerth.protocol.ProtoBuf.GameListUpdateMessage getGameListUpdateMessage(); - - // optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 16; - /** - * optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 16; - */ - boolean hasGameListPlayerJoinedMessage(); - /** - * optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 16; - */ - de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage getGameListPlayerJoinedMessage(); - - // optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 17; - /** - * optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 17; - */ - boolean hasGameListPlayerLeftMessage(); - /** - * optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 17; - */ - de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage getGameListPlayerLeftMessage(); - - // optional .GameListAdminChangedMessage gameListAdminChangedMessage = 18; - /** - * optional .GameListAdminChangedMessage gameListAdminChangedMessage = 18; - */ - boolean hasGameListAdminChangedMessage(); - /** - * optional .GameListAdminChangedMessage gameListAdminChangedMessage = 18; - */ - de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage getGameListAdminChangedMessage(); - - // optional .PlayerInfoRequestMessage playerInfoRequestMessage = 19; - /** - * optional .PlayerInfoRequestMessage playerInfoRequestMessage = 19; - */ - boolean hasPlayerInfoRequestMessage(); - /** - * optional .PlayerInfoRequestMessage playerInfoRequestMessage = 19; - */ - de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage getPlayerInfoRequestMessage(); - - // optional .PlayerInfoReplyMessage playerInfoReplyMessage = 20; - /** - * optional .PlayerInfoReplyMessage playerInfoReplyMessage = 20; - */ - boolean hasPlayerInfoReplyMessage(); - /** - * optional .PlayerInfoReplyMessage playerInfoReplyMessage = 20; - */ - de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage getPlayerInfoReplyMessage(); - - // optional .SubscriptionRequestMessage subscriptionRequestMessage = 21; - /** - * optional .SubscriptionRequestMessage subscriptionRequestMessage = 21; - */ - boolean hasSubscriptionRequestMessage(); - /** - * optional .SubscriptionRequestMessage subscriptionRequestMessage = 21; - */ - de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage getSubscriptionRequestMessage(); - - // optional .JoinExistingGameMessage joinExistingGameMessage = 22; - /** - * optional .JoinExistingGameMessage joinExistingGameMessage = 22; - */ - boolean hasJoinExistingGameMessage(); - /** - * optional .JoinExistingGameMessage joinExistingGameMessage = 22; - */ - de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage getJoinExistingGameMessage(); - - // optional .JoinNewGameMessage joinNewGameMessage = 23; - /** - * optional .JoinNewGameMessage joinNewGameMessage = 23; - */ - boolean hasJoinNewGameMessage(); - /** - * optional .JoinNewGameMessage joinNewGameMessage = 23; - */ - de.pokerth.protocol.ProtoBuf.JoinNewGameMessage getJoinNewGameMessage(); - - // optional .RejoinExistingGameMessage rejoinExistingGameMessage = 24; - /** - * optional .RejoinExistingGameMessage rejoinExistingGameMessage = 24; - */ - boolean hasRejoinExistingGameMessage(); - /** - * optional .RejoinExistingGameMessage rejoinExistingGameMessage = 24; - */ - de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage getRejoinExistingGameMessage(); - - // optional .JoinGameAckMessage joinGameAckMessage = 25; - /** - * optional .JoinGameAckMessage joinGameAckMessage = 25; - */ - boolean hasJoinGameAckMessage(); - /** - * optional .JoinGameAckMessage joinGameAckMessage = 25; - */ - de.pokerth.protocol.ProtoBuf.JoinGameAckMessage getJoinGameAckMessage(); - - // optional .JoinGameFailedMessage joinGameFailedMessage = 26; - /** - * optional .JoinGameFailedMessage joinGameFailedMessage = 26; - */ - boolean hasJoinGameFailedMessage(); - /** - * optional .JoinGameFailedMessage joinGameFailedMessage = 26; - */ - de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage getJoinGameFailedMessage(); - - // optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 27; - /** - * optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 27; - */ - boolean hasGamePlayerJoinedMessage(); - /** - * optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 27; - */ - de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage getGamePlayerJoinedMessage(); - - // optional .GamePlayerLeftMessage gamePlayerLeftMessage = 28; - /** - * optional .GamePlayerLeftMessage gamePlayerLeftMessage = 28; - */ - boolean hasGamePlayerLeftMessage(); - /** - * optional .GamePlayerLeftMessage gamePlayerLeftMessage = 28; - */ - de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage getGamePlayerLeftMessage(); - - // optional .GameAdminChangedMessage gameAdminChangedMessage = 29; - /** - * optional .GameAdminChangedMessage gameAdminChangedMessage = 29; - */ - boolean hasGameAdminChangedMessage(); - /** - * optional .GameAdminChangedMessage gameAdminChangedMessage = 29; - */ - de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage getGameAdminChangedMessage(); - - // optional .RemovedFromGameMessage removedFromGameMessage = 30; - /** - * optional .RemovedFromGameMessage removedFromGameMessage = 30; - */ - boolean hasRemovedFromGameMessage(); - /** - * optional .RemovedFromGameMessage removedFromGameMessage = 30; - */ - de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage getRemovedFromGameMessage(); - - // optional .KickPlayerRequestMessage kickPlayerRequestMessage = 31; - /** - * optional .KickPlayerRequestMessage kickPlayerRequestMessage = 31; - */ - boolean hasKickPlayerRequestMessage(); - /** - * optional .KickPlayerRequestMessage kickPlayerRequestMessage = 31; - */ - de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage getKickPlayerRequestMessage(); - - // optional .LeaveGameRequestMessage leaveGameRequestMessage = 32; - /** - * optional .LeaveGameRequestMessage leaveGameRequestMessage = 32; - */ - boolean hasLeaveGameRequestMessage(); - /** - * optional .LeaveGameRequestMessage leaveGameRequestMessage = 32; - */ - de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage getLeaveGameRequestMessage(); - - // optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 33; - /** - * optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 33; - */ - boolean hasInvitePlayerToGameMessage(); - /** - * optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 33; - */ - de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage getInvitePlayerToGameMessage(); - - // optional .InviteNotifyMessage inviteNotifyMessage = 34; - /** - * optional .InviteNotifyMessage inviteNotifyMessage = 34; - */ - boolean hasInviteNotifyMessage(); - /** - * optional .InviteNotifyMessage inviteNotifyMessage = 34; - */ - de.pokerth.protocol.ProtoBuf.InviteNotifyMessage getInviteNotifyMessage(); - - // optional .RejectGameInvitationMessage rejectGameInvitationMessage = 35; - /** - * optional .RejectGameInvitationMessage rejectGameInvitationMessage = 35; - */ - boolean hasRejectGameInvitationMessage(); - /** - * optional .RejectGameInvitationMessage rejectGameInvitationMessage = 35; - */ - de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage getRejectGameInvitationMessage(); - - // optional .RejectInvNotifyMessage rejectInvNotifyMessage = 36; - /** - * optional .RejectInvNotifyMessage rejectInvNotifyMessage = 36; - */ - boolean hasRejectInvNotifyMessage(); - /** - * optional .RejectInvNotifyMessage rejectInvNotifyMessage = 36; - */ - de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage getRejectInvNotifyMessage(); - - // optional .StartEventMessage startEventMessage = 37; - /** - * optional .StartEventMessage startEventMessage = 37; - */ - boolean hasStartEventMessage(); - /** - * optional .StartEventMessage startEventMessage = 37; - */ - de.pokerth.protocol.ProtoBuf.StartEventMessage getStartEventMessage(); - - // optional .StartEventAckMessage startEventAckMessage = 38; - /** - * optional .StartEventAckMessage startEventAckMessage = 38; - */ - boolean hasStartEventAckMessage(); - /** - * optional .StartEventAckMessage startEventAckMessage = 38; - */ - de.pokerth.protocol.ProtoBuf.StartEventAckMessage getStartEventAckMessage(); - - // optional .GameStartInitialMessage gameStartInitialMessage = 39; - /** - * optional .GameStartInitialMessage gameStartInitialMessage = 39; - */ - boolean hasGameStartInitialMessage(); - /** - * optional .GameStartInitialMessage gameStartInitialMessage = 39; - */ - de.pokerth.protocol.ProtoBuf.GameStartInitialMessage getGameStartInitialMessage(); - - // optional .GameStartRejoinMessage gameStartRejoinMessage = 40; - /** - * optional .GameStartRejoinMessage gameStartRejoinMessage = 40; - */ - boolean hasGameStartRejoinMessage(); - /** - * optional .GameStartRejoinMessage gameStartRejoinMessage = 40; - */ - de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage getGameStartRejoinMessage(); - - // optional .HandStartMessage handStartMessage = 41; - /** - * optional .HandStartMessage handStartMessage = 41; - */ - boolean hasHandStartMessage(); - /** - * optional .HandStartMessage handStartMessage = 41; - */ - de.pokerth.protocol.ProtoBuf.HandStartMessage getHandStartMessage(); - - // optional .PlayersTurnMessage playersTurnMessage = 42; - /** - * optional .PlayersTurnMessage playersTurnMessage = 42; - */ - boolean hasPlayersTurnMessage(); - /** - * optional .PlayersTurnMessage playersTurnMessage = 42; - */ - de.pokerth.protocol.ProtoBuf.PlayersTurnMessage getPlayersTurnMessage(); - - // optional .MyActionRequestMessage myActionRequestMessage = 43; - /** - * optional .MyActionRequestMessage myActionRequestMessage = 43; - */ - boolean hasMyActionRequestMessage(); - /** - * optional .MyActionRequestMessage myActionRequestMessage = 43; - */ - de.pokerth.protocol.ProtoBuf.MyActionRequestMessage getMyActionRequestMessage(); - - // optional .YourActionRejectedMessage yourActionRejectedMessage = 44; - /** - * optional .YourActionRejectedMessage yourActionRejectedMessage = 44; - */ - boolean hasYourActionRejectedMessage(); - /** - * optional .YourActionRejectedMessage yourActionRejectedMessage = 44; - */ - de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage getYourActionRejectedMessage(); - - // optional .PlayersActionDoneMessage playersActionDoneMessage = 45; - /** - * optional .PlayersActionDoneMessage playersActionDoneMessage = 45; - */ - boolean hasPlayersActionDoneMessage(); - /** - * optional .PlayersActionDoneMessage playersActionDoneMessage = 45; - */ - de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage getPlayersActionDoneMessage(); - - // optional .DealFlopCardsMessage dealFlopCardsMessage = 46; - /** - * optional .DealFlopCardsMessage dealFlopCardsMessage = 46; - */ - boolean hasDealFlopCardsMessage(); - /** - * optional .DealFlopCardsMessage dealFlopCardsMessage = 46; - */ - de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage getDealFlopCardsMessage(); - - // optional .DealTurnCardMessage dealTurnCardMessage = 47; - /** - * optional .DealTurnCardMessage dealTurnCardMessage = 47; - */ - boolean hasDealTurnCardMessage(); - /** - * optional .DealTurnCardMessage dealTurnCardMessage = 47; - */ - de.pokerth.protocol.ProtoBuf.DealTurnCardMessage getDealTurnCardMessage(); - - // optional .DealRiverCardMessage dealRiverCardMessage = 48; - /** - * optional .DealRiverCardMessage dealRiverCardMessage = 48; - */ - boolean hasDealRiverCardMessage(); - /** - * optional .DealRiverCardMessage dealRiverCardMessage = 48; - */ - de.pokerth.protocol.ProtoBuf.DealRiverCardMessage getDealRiverCardMessage(); - - // optional .AllInShowCardsMessage allInShowCardsMessage = 49; - /** - * optional .AllInShowCardsMessage allInShowCardsMessage = 49; - */ - boolean hasAllInShowCardsMessage(); - /** - * optional .AllInShowCardsMessage allInShowCardsMessage = 49; - */ - de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage getAllInShowCardsMessage(); - - // optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 50; - /** - * optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 50; - */ - boolean hasEndOfHandShowCardsMessage(); - /** - * optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 50; - */ - de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage getEndOfHandShowCardsMessage(); - - // optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 51; - /** - * optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 51; - */ - boolean hasEndOfHandHideCardsMessage(); - /** - * optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 51; - */ - de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage getEndOfHandHideCardsMessage(); - - // optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 52; - /** - * optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 52; - */ - boolean hasShowMyCardsRequestMessage(); - /** - * optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 52; - */ - de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage getShowMyCardsRequestMessage(); - - // optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 53; - /** - * optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 53; - */ - boolean hasAfterHandShowCardsMessage(); - /** - * optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 53; - */ - de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage getAfterHandShowCardsMessage(); - - // optional .EndOfGameMessage endOfGameMessage = 54; - /** - * optional .EndOfGameMessage endOfGameMessage = 54; - */ - boolean hasEndOfGameMessage(); - /** - * optional .EndOfGameMessage endOfGameMessage = 54; - */ - de.pokerth.protocol.ProtoBuf.EndOfGameMessage getEndOfGameMessage(); - - // optional .PlayerIdChangedMessage playerIdChangedMessage = 55; - /** - * optional .PlayerIdChangedMessage playerIdChangedMessage = 55; - */ - boolean hasPlayerIdChangedMessage(); - /** - * optional .PlayerIdChangedMessage playerIdChangedMessage = 55; - */ - de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage getPlayerIdChangedMessage(); - - // optional .AskKickPlayerMessage askKickPlayerMessage = 56; - /** - * optional .AskKickPlayerMessage askKickPlayerMessage = 56; - */ - boolean hasAskKickPlayerMessage(); - /** - * optional .AskKickPlayerMessage askKickPlayerMessage = 56; - */ - de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage getAskKickPlayerMessage(); - - // optional .AskKickDeniedMessage askKickDeniedMessage = 57; - /** - * optional .AskKickDeniedMessage askKickDeniedMessage = 57; - */ - boolean hasAskKickDeniedMessage(); - /** - * optional .AskKickDeniedMessage askKickDeniedMessage = 57; - */ - de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage getAskKickDeniedMessage(); - - // optional .StartKickPetitionMessage startKickPetitionMessage = 58; - /** - * optional .StartKickPetitionMessage startKickPetitionMessage = 58; - */ - boolean hasStartKickPetitionMessage(); - /** - * optional .StartKickPetitionMessage startKickPetitionMessage = 58; - */ - de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage getStartKickPetitionMessage(); - - // optional .VoteKickRequestMessage voteKickRequestMessage = 59; - /** - * optional .VoteKickRequestMessage voteKickRequestMessage = 59; - */ - boolean hasVoteKickRequestMessage(); - /** - * optional .VoteKickRequestMessage voteKickRequestMessage = 59; - */ - de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage getVoteKickRequestMessage(); - - // optional .VoteKickReplyMessage voteKickReplyMessage = 60; - /** - * optional .VoteKickReplyMessage voteKickReplyMessage = 60; - */ - boolean hasVoteKickReplyMessage(); - /** - * optional .VoteKickReplyMessage voteKickReplyMessage = 60; - */ - de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage getVoteKickReplyMessage(); - - // optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 61; - /** - * optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 61; - */ - boolean hasKickPetitionUpdateMessage(); - /** - * optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 61; - */ - de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage getKickPetitionUpdateMessage(); - - // optional .EndKickPetitionMessage endKickPetitionMessage = 62; - /** - * optional .EndKickPetitionMessage endKickPetitionMessage = 62; - */ - boolean hasEndKickPetitionMessage(); - /** - * optional .EndKickPetitionMessage endKickPetitionMessage = 62; - */ - de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage getEndKickPetitionMessage(); - - // optional .StatisticsMessage statisticsMessage = 63; - /** - * optional .StatisticsMessage statisticsMessage = 63; - */ - boolean hasStatisticsMessage(); - /** - * optional .StatisticsMessage statisticsMessage = 63; - */ - de.pokerth.protocol.ProtoBuf.StatisticsMessage getStatisticsMessage(); - - // optional .ChatRequestMessage chatRequestMessage = 64; - /** - * optional .ChatRequestMessage chatRequestMessage = 64; - */ - boolean hasChatRequestMessage(); - /** - * optional .ChatRequestMessage chatRequestMessage = 64; - */ - de.pokerth.protocol.ProtoBuf.ChatRequestMessage getChatRequestMessage(); - - // optional .ChatMessage chatMessage = 65; - /** - * optional .ChatMessage chatMessage = 65; - */ - boolean hasChatMessage(); - /** - * optional .ChatMessage chatMessage = 65; - */ - de.pokerth.protocol.ProtoBuf.ChatMessage getChatMessage(); - - // optional .ChatRejectMessage chatRejectMessage = 66; - /** - * optional .ChatRejectMessage chatRejectMessage = 66; - */ - boolean hasChatRejectMessage(); - /** - * optional .ChatRejectMessage chatRejectMessage = 66; - */ - de.pokerth.protocol.ProtoBuf.ChatRejectMessage getChatRejectMessage(); - - // optional .DialogMessage dialogMessage = 67; - /** - * optional .DialogMessage dialogMessage = 67; - */ - boolean hasDialogMessage(); - /** - * optional .DialogMessage dialogMessage = 67; - */ - de.pokerth.protocol.ProtoBuf.DialogMessage getDialogMessage(); - - // optional .TimeoutWarningMessage timeoutWarningMessage = 68; - /** - * optional .TimeoutWarningMessage timeoutWarningMessage = 68; - */ - boolean hasTimeoutWarningMessage(); - /** - * optional .TimeoutWarningMessage timeoutWarningMessage = 68; - */ - de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage getTimeoutWarningMessage(); - - // optional .ResetTimeoutMessage resetTimeoutMessage = 69; - /** - * optional .ResetTimeoutMessage resetTimeoutMessage = 69; - */ - boolean hasResetTimeoutMessage(); - /** - * optional .ResetTimeoutMessage resetTimeoutMessage = 69; - */ - de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage getResetTimeoutMessage(); - - // optional .ReportAvatarMessage reportAvatarMessage = 70; - /** - * optional .ReportAvatarMessage reportAvatarMessage = 70; - */ - boolean hasReportAvatarMessage(); - /** - * optional .ReportAvatarMessage reportAvatarMessage = 70; - */ - de.pokerth.protocol.ProtoBuf.ReportAvatarMessage getReportAvatarMessage(); - - // optional .ReportAvatarAckMessage reportAvatarAckMessage = 71; - /** - * optional .ReportAvatarAckMessage reportAvatarAckMessage = 71; - */ - boolean hasReportAvatarAckMessage(); - /** - * optional .ReportAvatarAckMessage reportAvatarAckMessage = 71; - */ - de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage getReportAvatarAckMessage(); - - // optional .ReportGameMessage reportGameMessage = 72; - /** - * optional .ReportGameMessage reportGameMessage = 72; - */ - boolean hasReportGameMessage(); - /** - * optional .ReportGameMessage reportGameMessage = 72; - */ - de.pokerth.protocol.ProtoBuf.ReportGameMessage getReportGameMessage(); - - // optional .ReportGameAckMessage reportGameAckMessage = 73; - /** - * optional .ReportGameAckMessage reportGameAckMessage = 73; - */ - boolean hasReportGameAckMessage(); - /** - * optional .ReportGameAckMessage reportGameAckMessage = 73; - */ - de.pokerth.protocol.ProtoBuf.ReportGameAckMessage getReportGameAckMessage(); - - // optional .ErrorMessage errorMessage = 74; - /** - * optional .ErrorMessage errorMessage = 74; + * optional .ErrorMessage errorMessage = 1025; */ boolean hasErrorMessage(); /** - * optional .ErrorMessage errorMessage = 74; + * optional .ErrorMessage errorMessage = 1025; */ de.pokerth.protocol.ProtoBuf.ErrorMessage getErrorMessage(); - - // optional .AdminRemoveGameMessage adminRemoveGameMessage = 75; - /** - * optional .AdminRemoveGameMessage adminRemoveGameMessage = 75; - */ - boolean hasAdminRemoveGameMessage(); - /** - * optional .AdminRemoveGameMessage adminRemoveGameMessage = 75; - */ - de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage getAdminRemoveGameMessage(); - - // optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 76; - /** - * optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 76; - */ - boolean hasAdminRemoveGameAckMessage(); - /** - * optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 76; - */ - de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage getAdminRemoveGameAckMessage(); - - // optional .AdminBanPlayerMessage adminBanPlayerMessage = 77; - /** - * optional .AdminBanPlayerMessage adminBanPlayerMessage = 77; - */ - boolean hasAdminBanPlayerMessage(); - /** - * optional .AdminBanPlayerMessage adminBanPlayerMessage = 77; - */ - de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage getAdminBanPlayerMessage(); - - // optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 78; - /** - * optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 78; - */ - boolean hasAdminBanPlayerAckMessage(); - /** - * optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 78; - */ - de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage getAdminBanPlayerAckMessage(); - - // optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 79; - /** - * optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 79; - */ - boolean hasGameListSpectatorJoinedMessage(); - /** - * optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 79; - */ - de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage getGameListSpectatorJoinedMessage(); - - // optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 80; - /** - * optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 80; - */ - boolean hasGameListSpectatorLeftMessage(); - /** - * optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 80; - */ - de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage getGameListSpectatorLeftMessage(); - - // optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 81; - /** - * optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 81; - */ - boolean hasGameSpectatorJoinedMessage(); - /** - * optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 81; - */ - de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage getGameSpectatorJoinedMessage(); - - // optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 82; - /** - * optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 82; - */ - boolean hasGameSpectatorLeftMessage(); - /** - * optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 82; - */ - de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage getGameSpectatorLeftMessage(); } /** - * Protobuf type {@code PokerTHMessage} + * Protobuf type {@code AuthMessage} */ - public static final class PokerTHMessage extends + public static final class AuthMessage extends com.google.protobuf.GeneratedMessageLite - implements PokerTHMessageOrBuilder { - // Use PokerTHMessage.newBuilder() to construct. - private PokerTHMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + implements AuthMessageOrBuilder { + // Use AuthMessage.newBuilder() to construct. + private AuthMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); } - private PokerTHMessage(boolean noInit) {} + private AuthMessage(boolean noInit) {} - private static final PokerTHMessage defaultInstance; - public static PokerTHMessage getDefaultInstance() { + private static final AuthMessage defaultInstance; + public static AuthMessage getDefaultInstance() { return defaultInstance; } - public PokerTHMessage getDefaultInstanceForType() { + public AuthMessage getDefaultInstanceForType() { return defaultInstance; } - private PokerTHMessage( + private AuthMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; - int mutable_bitField1_ = 0; - int mutable_bitField2_ = 0; try { boolean done = false; while (!done) { @@ -50661,7 +47944,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); + de.pokerth.protocol.ProtoBuf.AuthMessage.AuthMessageType value = de.pokerth.protocol.ProtoBuf.AuthMessage.AuthMessageType.valueOf(rawValue); if (value != null) { bitField0_ |= 0x00000001; messageType_ = value; @@ -50669,34 +47952,21 @@ public final class ProtoBuf { break; } case 18: { - de.pokerth.protocol.ProtoBuf.AnnounceMessage.Builder subBuilder = null; + de.pokerth.protocol.ProtoBuf.AuthClientRequestMessage.Builder subBuilder = null; if (((bitField0_ & 0x00000002) == 0x00000002)) { - subBuilder = announceMessage_.toBuilder(); + subBuilder = authClientRequestMessage_.toBuilder(); } - announceMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.AnnounceMessage.PARSER, extensionRegistry); + authClientRequestMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.AuthClientRequestMessage.PARSER, extensionRegistry); if (subBuilder != null) { - subBuilder.mergeFrom(announceMessage_); - announceMessage_ = subBuilder.buildPartial(); + subBuilder.mergeFrom(authClientRequestMessage_); + authClientRequestMessage_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000002; break; } case 26: { - de.pokerth.protocol.ProtoBuf.InitMessage.Builder subBuilder = null; - if (((bitField0_ & 0x00000004) == 0x00000004)) { - subBuilder = initMessage_.toBuilder(); - } - initMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.InitMessage.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(initMessage_); - initMessage_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00000004; - break; - } - case 34: { de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage.Builder subBuilder = null; - if (((bitField0_ & 0x00000008) == 0x00000008)) { + if (((bitField0_ & 0x00000004) == 0x00000004)) { subBuilder = authServerChallengeMessage_.toBuilder(); } authServerChallengeMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage.PARSER, extensionRegistry); @@ -50704,12 +47974,12 @@ public final class ProtoBuf { subBuilder.mergeFrom(authServerChallengeMessage_); authServerChallengeMessage_ = subBuilder.buildPartial(); } - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000004; break; } - case 42: { + case 34: { de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage.Builder subBuilder = null; - if (((bitField0_ & 0x00000010) == 0x00000010)) { + if (((bitField0_ & 0x00000008) == 0x00000008)) { subBuilder = authClientResponseMessage_.toBuilder(); } authClientResponseMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage.PARSER, extensionRegistry); @@ -50717,12 +47987,12 @@ public final class ProtoBuf { subBuilder.mergeFrom(authClientResponseMessage_); authClientResponseMessage_ = subBuilder.buildPartial(); } - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000008; break; } - case 50: { + case 42: { de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage.Builder subBuilder = null; - if (((bitField0_ & 0x00000020) == 0x00000020)) { + if (((bitField0_ & 0x00000010) == 0x00000010)) { subBuilder = authServerVerificationMessage_.toBuilder(); } authServerVerificationMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage.PARSER, extensionRegistry); @@ -50730,883 +48000,12 @@ public final class ProtoBuf { subBuilder.mergeFrom(authServerVerificationMessage_); authServerVerificationMessage_ = subBuilder.buildPartial(); } - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000010; break; } - case 58: { - de.pokerth.protocol.ProtoBuf.InitAckMessage.Builder subBuilder = null; - if (((bitField0_ & 0x00000040) == 0x00000040)) { - subBuilder = initAckMessage_.toBuilder(); - } - initAckMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.InitAckMessage.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(initAckMessage_); - initAckMessage_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00000040; - break; - } - case 66: { - de.pokerth.protocol.ProtoBuf.AvatarRequestMessage.Builder subBuilder = null; - if (((bitField0_ & 0x00000080) == 0x00000080)) { - subBuilder = avatarRequestMessage_.toBuilder(); - } - avatarRequestMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.AvatarRequestMessage.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(avatarRequestMessage_); - avatarRequestMessage_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00000080; - break; - } - case 74: { - de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage.Builder subBuilder = null; - if (((bitField0_ & 0x00000100) == 0x00000100)) { - subBuilder = avatarHeaderMessage_.toBuilder(); - } - avatarHeaderMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(avatarHeaderMessage_); - avatarHeaderMessage_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00000100; - break; - } - case 82: { - de.pokerth.protocol.ProtoBuf.AvatarDataMessage.Builder subBuilder = null; - if (((bitField0_ & 0x00000200) == 0x00000200)) { - subBuilder = avatarDataMessage_.toBuilder(); - } - avatarDataMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.AvatarDataMessage.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(avatarDataMessage_); - avatarDataMessage_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00000200; - break; - } - case 90: { - de.pokerth.protocol.ProtoBuf.AvatarEndMessage.Builder subBuilder = null; - if (((bitField0_ & 0x00000400) == 0x00000400)) { - subBuilder = avatarEndMessage_.toBuilder(); - } - avatarEndMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.AvatarEndMessage.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(avatarEndMessage_); - avatarEndMessage_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00000400; - break; - } - case 98: { - de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage.Builder subBuilder = null; - if (((bitField0_ & 0x00000800) == 0x00000800)) { - subBuilder = unknownAvatarMessage_.toBuilder(); - } - unknownAvatarMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(unknownAvatarMessage_); - unknownAvatarMessage_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00000800; - break; - } - case 106: { - de.pokerth.protocol.ProtoBuf.PlayerListMessage.Builder subBuilder = null; - if (((bitField0_ & 0x00001000) == 0x00001000)) { - subBuilder = playerListMessage_.toBuilder(); - } - playerListMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.PlayerListMessage.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(playerListMessage_); - playerListMessage_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00001000; - break; - } - case 114: { - de.pokerth.protocol.ProtoBuf.GameListNewMessage.Builder subBuilder = null; - if (((bitField0_ & 0x00002000) == 0x00002000)) { - subBuilder = gameListNewMessage_.toBuilder(); - } - gameListNewMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.GameListNewMessage.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(gameListNewMessage_); - gameListNewMessage_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00002000; - break; - } - case 122: { - de.pokerth.protocol.ProtoBuf.GameListUpdateMessage.Builder subBuilder = null; - if (((bitField0_ & 0x00004000) == 0x00004000)) { - subBuilder = gameListUpdateMessage_.toBuilder(); - } - gameListUpdateMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.GameListUpdateMessage.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(gameListUpdateMessage_); - gameListUpdateMessage_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00004000; - break; - } - case 130: { - de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage.Builder subBuilder = null; - if (((bitField0_ & 0x00008000) == 0x00008000)) { - subBuilder = gameListPlayerJoinedMessage_.toBuilder(); - } - gameListPlayerJoinedMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(gameListPlayerJoinedMessage_); - gameListPlayerJoinedMessage_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00008000; - break; - } - case 138: { - de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage.Builder subBuilder = null; - if (((bitField0_ & 0x00010000) == 0x00010000)) { - subBuilder = gameListPlayerLeftMessage_.toBuilder(); - } - gameListPlayerLeftMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(gameListPlayerLeftMessage_); - gameListPlayerLeftMessage_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00010000; - break; - } - case 146: { - de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage.Builder subBuilder = null; - if (((bitField0_ & 0x00020000) == 0x00020000)) { - subBuilder = gameListAdminChangedMessage_.toBuilder(); - } - gameListAdminChangedMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(gameListAdminChangedMessage_); - gameListAdminChangedMessage_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00020000; - break; - } - case 154: { - de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage.Builder subBuilder = null; - if (((bitField0_ & 0x00040000) == 0x00040000)) { - subBuilder = playerInfoRequestMessage_.toBuilder(); - } - playerInfoRequestMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(playerInfoRequestMessage_); - playerInfoRequestMessage_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00040000; - break; - } - case 162: { - de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.Builder subBuilder = null; - if (((bitField0_ & 0x00080000) == 0x00080000)) { - subBuilder = playerInfoReplyMessage_.toBuilder(); - } - playerInfoReplyMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(playerInfoReplyMessage_); - playerInfoReplyMessage_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00080000; - break; - } - case 170: { - de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.Builder subBuilder = null; - if (((bitField0_ & 0x00100000) == 0x00100000)) { - subBuilder = subscriptionRequestMessage_.toBuilder(); - } - subscriptionRequestMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(subscriptionRequestMessage_); - subscriptionRequestMessage_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00100000; - break; - } - case 178: { - de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage.Builder subBuilder = null; - if (((bitField0_ & 0x00200000) == 0x00200000)) { - subBuilder = joinExistingGameMessage_.toBuilder(); - } - joinExistingGameMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(joinExistingGameMessage_); - joinExistingGameMessage_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00200000; - break; - } - case 186: { - de.pokerth.protocol.ProtoBuf.JoinNewGameMessage.Builder subBuilder = null; - if (((bitField0_ & 0x00400000) == 0x00400000)) { - subBuilder = joinNewGameMessage_.toBuilder(); - } - joinNewGameMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.JoinNewGameMessage.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(joinNewGameMessage_); - joinNewGameMessage_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00400000; - break; - } - case 194: { - de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage.Builder subBuilder = null; - if (((bitField0_ & 0x00800000) == 0x00800000)) { - subBuilder = rejoinExistingGameMessage_.toBuilder(); - } - rejoinExistingGameMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(rejoinExistingGameMessage_); - rejoinExistingGameMessage_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00800000; - break; - } - case 202: { - de.pokerth.protocol.ProtoBuf.JoinGameAckMessage.Builder subBuilder = null; - if (((bitField0_ & 0x01000000) == 0x01000000)) { - subBuilder = joinGameAckMessage_.toBuilder(); - } - joinGameAckMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.JoinGameAckMessage.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(joinGameAckMessage_); - joinGameAckMessage_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x01000000; - break; - } - case 210: { - de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.Builder subBuilder = null; - if (((bitField0_ & 0x02000000) == 0x02000000)) { - subBuilder = joinGameFailedMessage_.toBuilder(); - } - joinGameFailedMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(joinGameFailedMessage_); - joinGameFailedMessage_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x02000000; - break; - } - case 218: { - de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage.Builder subBuilder = null; - if (((bitField0_ & 0x04000000) == 0x04000000)) { - subBuilder = gamePlayerJoinedMessage_.toBuilder(); - } - gamePlayerJoinedMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(gamePlayerJoinedMessage_); - gamePlayerJoinedMessage_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x04000000; - break; - } - case 226: { - de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.Builder subBuilder = null; - if (((bitField0_ & 0x08000000) == 0x08000000)) { - subBuilder = gamePlayerLeftMessage_.toBuilder(); - } - gamePlayerLeftMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(gamePlayerLeftMessage_); - gamePlayerLeftMessage_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x08000000; - break; - } - case 234: { - de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage.Builder subBuilder = null; - if (((bitField0_ & 0x10000000) == 0x10000000)) { - subBuilder = gameAdminChangedMessage_.toBuilder(); - } - gameAdminChangedMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(gameAdminChangedMessage_); - gameAdminChangedMessage_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x10000000; - break; - } - case 242: { - de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.Builder subBuilder = null; - if (((bitField0_ & 0x20000000) == 0x20000000)) { - subBuilder = removedFromGameMessage_.toBuilder(); - } - removedFromGameMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(removedFromGameMessage_); - removedFromGameMessage_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x20000000; - break; - } - case 250: { - de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage.Builder subBuilder = null; - if (((bitField0_ & 0x40000000) == 0x40000000)) { - subBuilder = kickPlayerRequestMessage_.toBuilder(); - } - kickPlayerRequestMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(kickPlayerRequestMessage_); - kickPlayerRequestMessage_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x40000000; - break; - } - case 258: { - de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage.Builder subBuilder = null; - if (((bitField0_ & 0x80000000) == 0x80000000)) { - subBuilder = leaveGameRequestMessage_.toBuilder(); - } - leaveGameRequestMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(leaveGameRequestMessage_); - leaveGameRequestMessage_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x80000000; - break; - } - case 266: { - de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage.Builder subBuilder = null; - if (((bitField1_ & 0x00000001) == 0x00000001)) { - subBuilder = invitePlayerToGameMessage_.toBuilder(); - } - invitePlayerToGameMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(invitePlayerToGameMessage_); - invitePlayerToGameMessage_ = subBuilder.buildPartial(); - } - bitField1_ |= 0x00000001; - break; - } - case 274: { - de.pokerth.protocol.ProtoBuf.InviteNotifyMessage.Builder subBuilder = null; - if (((bitField1_ & 0x00000002) == 0x00000002)) { - subBuilder = inviteNotifyMessage_.toBuilder(); - } - inviteNotifyMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.InviteNotifyMessage.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(inviteNotifyMessage_); - inviteNotifyMessage_ = subBuilder.buildPartial(); - } - bitField1_ |= 0x00000002; - break; - } - case 282: { - de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.Builder subBuilder = null; - if (((bitField1_ & 0x00000004) == 0x00000004)) { - subBuilder = rejectGameInvitationMessage_.toBuilder(); - } - rejectGameInvitationMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(rejectGameInvitationMessage_); - rejectGameInvitationMessage_ = subBuilder.buildPartial(); - } - bitField1_ |= 0x00000004; - break; - } - case 290: { - de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage.Builder subBuilder = null; - if (((bitField1_ & 0x00000008) == 0x00000008)) { - subBuilder = rejectInvNotifyMessage_.toBuilder(); - } - rejectInvNotifyMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(rejectInvNotifyMessage_); - rejectInvNotifyMessage_ = subBuilder.buildPartial(); - } - bitField1_ |= 0x00000008; - break; - } - case 298: { - de.pokerth.protocol.ProtoBuf.StartEventMessage.Builder subBuilder = null; - if (((bitField1_ & 0x00000010) == 0x00000010)) { - subBuilder = startEventMessage_.toBuilder(); - } - startEventMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.StartEventMessage.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(startEventMessage_); - startEventMessage_ = subBuilder.buildPartial(); - } - bitField1_ |= 0x00000010; - break; - } - case 306: { - de.pokerth.protocol.ProtoBuf.StartEventAckMessage.Builder subBuilder = null; - if (((bitField1_ & 0x00000020) == 0x00000020)) { - subBuilder = startEventAckMessage_.toBuilder(); - } - startEventAckMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.StartEventAckMessage.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(startEventAckMessage_); - startEventAckMessage_ = subBuilder.buildPartial(); - } - bitField1_ |= 0x00000020; - break; - } - case 314: { - de.pokerth.protocol.ProtoBuf.GameStartInitialMessage.Builder subBuilder = null; - if (((bitField1_ & 0x00000040) == 0x00000040)) { - subBuilder = gameStartInitialMessage_.toBuilder(); - } - gameStartInitialMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.GameStartInitialMessage.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(gameStartInitialMessage_); - gameStartInitialMessage_ = subBuilder.buildPartial(); - } - bitField1_ |= 0x00000040; - break; - } - case 322: { - de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.Builder subBuilder = null; - if (((bitField1_ & 0x00000080) == 0x00000080)) { - subBuilder = gameStartRejoinMessage_.toBuilder(); - } - gameStartRejoinMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(gameStartRejoinMessage_); - gameStartRejoinMessage_ = subBuilder.buildPartial(); - } - bitField1_ |= 0x00000080; - break; - } - case 330: { - de.pokerth.protocol.ProtoBuf.HandStartMessage.Builder subBuilder = null; - if (((bitField1_ & 0x00000100) == 0x00000100)) { - subBuilder = handStartMessage_.toBuilder(); - } - handStartMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.HandStartMessage.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(handStartMessage_); - handStartMessage_ = subBuilder.buildPartial(); - } - bitField1_ |= 0x00000100; - break; - } - case 338: { - de.pokerth.protocol.ProtoBuf.PlayersTurnMessage.Builder subBuilder = null; - if (((bitField1_ & 0x00000200) == 0x00000200)) { - subBuilder = playersTurnMessage_.toBuilder(); - } - playersTurnMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.PlayersTurnMessage.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(playersTurnMessage_); - playersTurnMessage_ = subBuilder.buildPartial(); - } - bitField1_ |= 0x00000200; - break; - } - case 346: { - de.pokerth.protocol.ProtoBuf.MyActionRequestMessage.Builder subBuilder = null; - if (((bitField1_ & 0x00000400) == 0x00000400)) { - subBuilder = myActionRequestMessage_.toBuilder(); - } - myActionRequestMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.MyActionRequestMessage.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(myActionRequestMessage_); - myActionRequestMessage_ = subBuilder.buildPartial(); - } - bitField1_ |= 0x00000400; - break; - } - case 354: { - de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.Builder subBuilder = null; - if (((bitField1_ & 0x00000800) == 0x00000800)) { - subBuilder = yourActionRejectedMessage_.toBuilder(); - } - yourActionRejectedMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(yourActionRejectedMessage_); - yourActionRejectedMessage_ = subBuilder.buildPartial(); - } - bitField1_ |= 0x00000800; - break; - } - case 362: { - de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage.Builder subBuilder = null; - if (((bitField1_ & 0x00001000) == 0x00001000)) { - subBuilder = playersActionDoneMessage_.toBuilder(); - } - playersActionDoneMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(playersActionDoneMessage_); - playersActionDoneMessage_ = subBuilder.buildPartial(); - } - bitField1_ |= 0x00001000; - break; - } - case 370: { - de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage.Builder subBuilder = null; - if (((bitField1_ & 0x00002000) == 0x00002000)) { - subBuilder = dealFlopCardsMessage_.toBuilder(); - } - dealFlopCardsMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(dealFlopCardsMessage_); - dealFlopCardsMessage_ = subBuilder.buildPartial(); - } - bitField1_ |= 0x00002000; - break; - } - case 378: { - de.pokerth.protocol.ProtoBuf.DealTurnCardMessage.Builder subBuilder = null; - if (((bitField1_ & 0x00004000) == 0x00004000)) { - subBuilder = dealTurnCardMessage_.toBuilder(); - } - dealTurnCardMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.DealTurnCardMessage.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(dealTurnCardMessage_); - dealTurnCardMessage_ = subBuilder.buildPartial(); - } - bitField1_ |= 0x00004000; - break; - } - case 386: { - de.pokerth.protocol.ProtoBuf.DealRiverCardMessage.Builder subBuilder = null; - if (((bitField1_ & 0x00008000) == 0x00008000)) { - subBuilder = dealRiverCardMessage_.toBuilder(); - } - dealRiverCardMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.DealRiverCardMessage.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(dealRiverCardMessage_); - dealRiverCardMessage_ = subBuilder.buildPartial(); - } - bitField1_ |= 0x00008000; - break; - } - case 394: { - de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.Builder subBuilder = null; - if (((bitField1_ & 0x00010000) == 0x00010000)) { - subBuilder = allInShowCardsMessage_.toBuilder(); - } - allInShowCardsMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(allInShowCardsMessage_); - allInShowCardsMessage_ = subBuilder.buildPartial(); - } - bitField1_ |= 0x00010000; - break; - } - case 402: { - de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage.Builder subBuilder = null; - if (((bitField1_ & 0x00020000) == 0x00020000)) { - subBuilder = endOfHandShowCardsMessage_.toBuilder(); - } - endOfHandShowCardsMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endOfHandShowCardsMessage_); - endOfHandShowCardsMessage_ = subBuilder.buildPartial(); - } - bitField1_ |= 0x00020000; - break; - } - case 410: { - de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage.Builder subBuilder = null; - if (((bitField1_ & 0x00040000) == 0x00040000)) { - subBuilder = endOfHandHideCardsMessage_.toBuilder(); - } - endOfHandHideCardsMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endOfHandHideCardsMessage_); - endOfHandHideCardsMessage_ = subBuilder.buildPartial(); - } - bitField1_ |= 0x00040000; - break; - } - case 418: { - de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage.Builder subBuilder = null; - if (((bitField1_ & 0x00080000) == 0x00080000)) { - subBuilder = showMyCardsRequestMessage_.toBuilder(); - } - showMyCardsRequestMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(showMyCardsRequestMessage_); - showMyCardsRequestMessage_ = subBuilder.buildPartial(); - } - bitField1_ |= 0x00080000; - break; - } - case 426: { - de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage.Builder subBuilder = null; - if (((bitField1_ & 0x00100000) == 0x00100000)) { - subBuilder = afterHandShowCardsMessage_.toBuilder(); - } - afterHandShowCardsMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(afterHandShowCardsMessage_); - afterHandShowCardsMessage_ = subBuilder.buildPartial(); - } - bitField1_ |= 0x00100000; - break; - } - case 434: { - de.pokerth.protocol.ProtoBuf.EndOfGameMessage.Builder subBuilder = null; - if (((bitField1_ & 0x00200000) == 0x00200000)) { - subBuilder = endOfGameMessage_.toBuilder(); - } - endOfGameMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.EndOfGameMessage.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endOfGameMessage_); - endOfGameMessage_ = subBuilder.buildPartial(); - } - bitField1_ |= 0x00200000; - break; - } - case 442: { - de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage.Builder subBuilder = null; - if (((bitField1_ & 0x00400000) == 0x00400000)) { - subBuilder = playerIdChangedMessage_.toBuilder(); - } - playerIdChangedMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(playerIdChangedMessage_); - playerIdChangedMessage_ = subBuilder.buildPartial(); - } - bitField1_ |= 0x00400000; - break; - } - case 450: { - de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage.Builder subBuilder = null; - if (((bitField1_ & 0x00800000) == 0x00800000)) { - subBuilder = askKickPlayerMessage_.toBuilder(); - } - askKickPlayerMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(askKickPlayerMessage_); - askKickPlayerMessage_ = subBuilder.buildPartial(); - } - bitField1_ |= 0x00800000; - break; - } - case 458: { - de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.Builder subBuilder = null; - if (((bitField1_ & 0x01000000) == 0x01000000)) { - subBuilder = askKickDeniedMessage_.toBuilder(); - } - askKickDeniedMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(askKickDeniedMessage_); - askKickDeniedMessage_ = subBuilder.buildPartial(); - } - bitField1_ |= 0x01000000; - break; - } - case 466: { - de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage.Builder subBuilder = null; - if (((bitField1_ & 0x02000000) == 0x02000000)) { - subBuilder = startKickPetitionMessage_.toBuilder(); - } - startKickPetitionMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(startKickPetitionMessage_); - startKickPetitionMessage_ = subBuilder.buildPartial(); - } - bitField1_ |= 0x02000000; - break; - } - case 474: { - de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage.Builder subBuilder = null; - if (((bitField1_ & 0x04000000) == 0x04000000)) { - subBuilder = voteKickRequestMessage_.toBuilder(); - } - voteKickRequestMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(voteKickRequestMessage_); - voteKickRequestMessage_ = subBuilder.buildPartial(); - } - bitField1_ |= 0x04000000; - break; - } - case 482: { - de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.Builder subBuilder = null; - if (((bitField1_ & 0x08000000) == 0x08000000)) { - subBuilder = voteKickReplyMessage_.toBuilder(); - } - voteKickReplyMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(voteKickReplyMessage_); - voteKickReplyMessage_ = subBuilder.buildPartial(); - } - bitField1_ |= 0x08000000; - break; - } - case 490: { - de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage.Builder subBuilder = null; - if (((bitField1_ & 0x10000000) == 0x10000000)) { - subBuilder = kickPetitionUpdateMessage_.toBuilder(); - } - kickPetitionUpdateMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(kickPetitionUpdateMessage_); - kickPetitionUpdateMessage_ = subBuilder.buildPartial(); - } - bitField1_ |= 0x10000000; - break; - } - case 498: { - de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.Builder subBuilder = null; - if (((bitField1_ & 0x20000000) == 0x20000000)) { - subBuilder = endKickPetitionMessage_.toBuilder(); - } - endKickPetitionMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endKickPetitionMessage_); - endKickPetitionMessage_ = subBuilder.buildPartial(); - } - bitField1_ |= 0x20000000; - break; - } - case 506: { - de.pokerth.protocol.ProtoBuf.StatisticsMessage.Builder subBuilder = null; - if (((bitField1_ & 0x40000000) == 0x40000000)) { - subBuilder = statisticsMessage_.toBuilder(); - } - statisticsMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.StatisticsMessage.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(statisticsMessage_); - statisticsMessage_ = subBuilder.buildPartial(); - } - bitField1_ |= 0x40000000; - break; - } - case 514: { - de.pokerth.protocol.ProtoBuf.ChatRequestMessage.Builder subBuilder = null; - if (((bitField1_ & 0x80000000) == 0x80000000)) { - subBuilder = chatRequestMessage_.toBuilder(); - } - chatRequestMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.ChatRequestMessage.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(chatRequestMessage_); - chatRequestMessage_ = subBuilder.buildPartial(); - } - bitField1_ |= 0x80000000; - break; - } - case 522: { - de.pokerth.protocol.ProtoBuf.ChatMessage.Builder subBuilder = null; - if (((bitField2_ & 0x00000001) == 0x00000001)) { - subBuilder = chatMessage_.toBuilder(); - } - chatMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.ChatMessage.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(chatMessage_); - chatMessage_ = subBuilder.buildPartial(); - } - bitField2_ |= 0x00000001; - break; - } - case 530: { - de.pokerth.protocol.ProtoBuf.ChatRejectMessage.Builder subBuilder = null; - if (((bitField2_ & 0x00000002) == 0x00000002)) { - subBuilder = chatRejectMessage_.toBuilder(); - } - chatRejectMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.ChatRejectMessage.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(chatRejectMessage_); - chatRejectMessage_ = subBuilder.buildPartial(); - } - bitField2_ |= 0x00000002; - break; - } - case 538: { - de.pokerth.protocol.ProtoBuf.DialogMessage.Builder subBuilder = null; - if (((bitField2_ & 0x00000004) == 0x00000004)) { - subBuilder = dialogMessage_.toBuilder(); - } - dialogMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.DialogMessage.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(dialogMessage_); - dialogMessage_ = subBuilder.buildPartial(); - } - bitField2_ |= 0x00000004; - break; - } - case 546: { - de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.Builder subBuilder = null; - if (((bitField2_ & 0x00000008) == 0x00000008)) { - subBuilder = timeoutWarningMessage_.toBuilder(); - } - timeoutWarningMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(timeoutWarningMessage_); - timeoutWarningMessage_ = subBuilder.buildPartial(); - } - bitField2_ |= 0x00000008; - break; - } - case 554: { - de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage.Builder subBuilder = null; - if (((bitField2_ & 0x00000010) == 0x00000010)) { - subBuilder = resetTimeoutMessage_.toBuilder(); - } - resetTimeoutMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(resetTimeoutMessage_); - resetTimeoutMessage_ = subBuilder.buildPartial(); - } - bitField2_ |= 0x00000010; - break; - } - case 562: { - de.pokerth.protocol.ProtoBuf.ReportAvatarMessage.Builder subBuilder = null; - if (((bitField2_ & 0x00000020) == 0x00000020)) { - subBuilder = reportAvatarMessage_.toBuilder(); - } - reportAvatarMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.ReportAvatarMessage.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(reportAvatarMessage_); - reportAvatarMessage_ = subBuilder.buildPartial(); - } - bitField2_ |= 0x00000020; - break; - } - case 570: { - de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.Builder subBuilder = null; - if (((bitField2_ & 0x00000040) == 0x00000040)) { - subBuilder = reportAvatarAckMessage_.toBuilder(); - } - reportAvatarAckMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(reportAvatarAckMessage_); - reportAvatarAckMessage_ = subBuilder.buildPartial(); - } - bitField2_ |= 0x00000040; - break; - } - case 578: { - de.pokerth.protocol.ProtoBuf.ReportGameMessage.Builder subBuilder = null; - if (((bitField2_ & 0x00000080) == 0x00000080)) { - subBuilder = reportGameMessage_.toBuilder(); - } - reportGameMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.ReportGameMessage.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(reportGameMessage_); - reportGameMessage_ = subBuilder.buildPartial(); - } - bitField2_ |= 0x00000080; - break; - } - case 586: { - de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.Builder subBuilder = null; - if (((bitField2_ & 0x00000100) == 0x00000100)) { - subBuilder = reportGameAckMessage_.toBuilder(); - } - reportGameAckMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(reportGameAckMessage_); - reportGameAckMessage_ = subBuilder.buildPartial(); - } - bitField2_ |= 0x00000100; - break; - } - case 594: { + case 8202: { de.pokerth.protocol.ProtoBuf.ErrorMessage.Builder subBuilder = null; - if (((bitField2_ & 0x00000200) == 0x00000200)) { + if (((bitField0_ & 0x00000020) == 0x00000020)) { subBuilder = errorMessage_.toBuilder(); } errorMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.ErrorMessage.PARSER, extensionRegistry); @@ -51614,111 +48013,7 @@ public final class ProtoBuf { subBuilder.mergeFrom(errorMessage_); errorMessage_ = subBuilder.buildPartial(); } - bitField2_ |= 0x00000200; - break; - } - case 602: { - de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage.Builder subBuilder = null; - if (((bitField2_ & 0x00000400) == 0x00000400)) { - subBuilder = adminRemoveGameMessage_.toBuilder(); - } - adminRemoveGameMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(adminRemoveGameMessage_); - adminRemoveGameMessage_ = subBuilder.buildPartial(); - } - bitField2_ |= 0x00000400; - break; - } - case 610: { - de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.Builder subBuilder = null; - if (((bitField2_ & 0x00000800) == 0x00000800)) { - subBuilder = adminRemoveGameAckMessage_.toBuilder(); - } - adminRemoveGameAckMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(adminRemoveGameAckMessage_); - adminRemoveGameAckMessage_ = subBuilder.buildPartial(); - } - bitField2_ |= 0x00000800; - break; - } - case 618: { - de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage.Builder subBuilder = null; - if (((bitField2_ & 0x00001000) == 0x00001000)) { - subBuilder = adminBanPlayerMessage_.toBuilder(); - } - adminBanPlayerMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(adminBanPlayerMessage_); - adminBanPlayerMessage_ = subBuilder.buildPartial(); - } - bitField2_ |= 0x00001000; - break; - } - case 626: { - de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.Builder subBuilder = null; - if (((bitField2_ & 0x00002000) == 0x00002000)) { - subBuilder = adminBanPlayerAckMessage_.toBuilder(); - } - adminBanPlayerAckMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(adminBanPlayerAckMessage_); - adminBanPlayerAckMessage_ = subBuilder.buildPartial(); - } - bitField2_ |= 0x00002000; - break; - } - case 634: { - de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage.Builder subBuilder = null; - if (((bitField2_ & 0x00004000) == 0x00004000)) { - subBuilder = gameListSpectatorJoinedMessage_.toBuilder(); - } - gameListSpectatorJoinedMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(gameListSpectatorJoinedMessage_); - gameListSpectatorJoinedMessage_ = subBuilder.buildPartial(); - } - bitField2_ |= 0x00004000; - break; - } - case 642: { - de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage.Builder subBuilder = null; - if (((bitField2_ & 0x00008000) == 0x00008000)) { - subBuilder = gameListSpectatorLeftMessage_.toBuilder(); - } - gameListSpectatorLeftMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(gameListSpectatorLeftMessage_); - gameListSpectatorLeftMessage_ = subBuilder.buildPartial(); - } - bitField2_ |= 0x00008000; - break; - } - case 650: { - de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage.Builder subBuilder = null; - if (((bitField2_ & 0x00010000) == 0x00010000)) { - subBuilder = gameSpectatorJoinedMessage_.toBuilder(); - } - gameSpectatorJoinedMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(gameSpectatorJoinedMessage_); - gameSpectatorJoinedMessage_ = subBuilder.buildPartial(); - } - bitField2_ |= 0x00010000; - break; - } - case 658: { - de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage.Builder subBuilder = null; - if (((bitField2_ & 0x00020000) == 0x00020000)) { - subBuilder = gameSpectatorLeftMessage_.toBuilder(); - } - gameSpectatorLeftMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(gameSpectatorLeftMessage_); - gameSpectatorLeftMessage_ = subBuilder.buildPartial(); - } - bitField2_ |= 0x00020000; + bitField0_ |= 0x00000020; break; } } @@ -51732,2186 +48027,208 @@ public final class ProtoBuf { makeExtensionsImmutable(); } } - public static com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - public PokerTHMessage parsePartialFrom( + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public AuthMessage parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new PokerTHMessage(input, extensionRegistry); + return new AuthMessage(input, extensionRegistry); } }; @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } /** - * Protobuf enum {@code PokerTHMessage.PokerTHMessageType} + * Protobuf enum {@code AuthMessage.AuthMessageType} */ - public enum PokerTHMessageType + public enum AuthMessageType implements com.google.protobuf.Internal.EnumLite { /** - * Type_AnnounceMessage = 1; + * Type_AuthClientRequestMessage = 1; */ - Type_AnnounceMessage(0, 1), + Type_AuthClientRequestMessage(0, 1), /** - * Type_InitMessage = 2; + * Type_AuthServerChallengeMessage = 2; */ - Type_InitMessage(1, 2), + Type_AuthServerChallengeMessage(1, 2), /** - * Type_AuthServerChallengeMessage = 3; + * Type_AuthClientResponseMessage = 3; */ - Type_AuthServerChallengeMessage(2, 3), + Type_AuthClientResponseMessage(2, 3), /** - * Type_AuthClientResponseMessage = 4; + * Type_AuthServerVerificationMessage = 4; */ - Type_AuthClientResponseMessage(3, 4), + Type_AuthServerVerificationMessage(3, 4), /** - * Type_AuthServerVerificationMessage = 5; + * Type_ErrorMessage = 1024; */ - Type_AuthServerVerificationMessage(4, 5), - /** - * Type_InitAckMessage = 6; - */ - Type_InitAckMessage(5, 6), - /** - * Type_AvatarRequestMessage = 7; - */ - Type_AvatarRequestMessage(6, 7), - /** - * Type_AvatarHeaderMessage = 8; - */ - Type_AvatarHeaderMessage(7, 8), - /** - * Type_AvatarDataMessage = 9; - */ - Type_AvatarDataMessage(8, 9), - /** - * Type_AvatarEndMessage = 10; - */ - Type_AvatarEndMessage(9, 10), - /** - * Type_UnknownAvatarMessage = 11; - */ - Type_UnknownAvatarMessage(10, 11), - /** - * Type_PlayerListMessage = 12; - */ - Type_PlayerListMessage(11, 12), - /** - * Type_GameListNewMessage = 13; - */ - Type_GameListNewMessage(12, 13), - /** - * Type_GameListUpdateMessage = 14; - */ - Type_GameListUpdateMessage(13, 14), - /** - * Type_GameListPlayerJoinedMessage = 15; - */ - Type_GameListPlayerJoinedMessage(14, 15), - /** - * Type_GameListPlayerLeftMessage = 16; - */ - Type_GameListPlayerLeftMessage(15, 16), - /** - * Type_GameListAdminChangedMessage = 17; - */ - Type_GameListAdminChangedMessage(16, 17), - /** - * Type_PlayerInfoRequestMessage = 18; - */ - Type_PlayerInfoRequestMessage(17, 18), - /** - * Type_PlayerInfoReplyMessage = 19; - */ - Type_PlayerInfoReplyMessage(18, 19), - /** - * Type_SubscriptionRequestMessage = 20; - */ - Type_SubscriptionRequestMessage(19, 20), - /** - * Type_JoinExistingGameMessage = 21; - */ - Type_JoinExistingGameMessage(20, 21), - /** - * Type_JoinNewGameMessage = 22; - */ - Type_JoinNewGameMessage(21, 22), - /** - * Type_RejoinExistingGameMessage = 23; - */ - Type_RejoinExistingGameMessage(22, 23), - /** - * Type_JoinGameAckMessage = 24; - */ - Type_JoinGameAckMessage(23, 24), - /** - * Type_JoinGameFailedMessage = 25; - */ - Type_JoinGameFailedMessage(24, 25), - /** - * Type_GamePlayerJoinedMessage = 26; - */ - Type_GamePlayerJoinedMessage(25, 26), - /** - * Type_GamePlayerLeftMessage = 27; - */ - Type_GamePlayerLeftMessage(26, 27), - /** - * Type_GameAdminChangedMessage = 28; - */ - Type_GameAdminChangedMessage(27, 28), - /** - * Type_RemovedFromGameMessage = 29; - */ - Type_RemovedFromGameMessage(28, 29), - /** - * Type_KickPlayerRequestMessage = 30; - */ - Type_KickPlayerRequestMessage(29, 30), - /** - * Type_LeaveGameRequestMessage = 31; - */ - Type_LeaveGameRequestMessage(30, 31), - /** - * Type_InvitePlayerToGameMessage = 32; - */ - Type_InvitePlayerToGameMessage(31, 32), - /** - * Type_InviteNotifyMessage = 33; - */ - Type_InviteNotifyMessage(32, 33), - /** - * Type_RejectGameInvitationMessage = 34; - */ - Type_RejectGameInvitationMessage(33, 34), - /** - * Type_RejectInvNotifyMessage = 35; - */ - Type_RejectInvNotifyMessage(34, 35), - /** - * Type_StartEventMessage = 36; - */ - Type_StartEventMessage(35, 36), - /** - * Type_StartEventAckMessage = 37; - */ - Type_StartEventAckMessage(36, 37), - /** - * Type_GameStartInitialMessage = 38; - */ - Type_GameStartInitialMessage(37, 38), - /** - * Type_GameStartRejoinMessage = 39; - */ - Type_GameStartRejoinMessage(38, 39), - /** - * Type_HandStartMessage = 40; - */ - Type_HandStartMessage(39, 40), - /** - * Type_PlayersTurnMessage = 41; - */ - Type_PlayersTurnMessage(40, 41), - /** - * Type_MyActionRequestMessage = 42; - */ - Type_MyActionRequestMessage(41, 42), - /** - * Type_YourActionRejectedMessage = 43; - */ - Type_YourActionRejectedMessage(42, 43), - /** - * Type_PlayersActionDoneMessage = 44; - */ - Type_PlayersActionDoneMessage(43, 44), - /** - * Type_DealFlopCardsMessage = 45; - */ - Type_DealFlopCardsMessage(44, 45), - /** - * Type_DealTurnCardMessage = 46; - */ - Type_DealTurnCardMessage(45, 46), - /** - * Type_DealRiverCardMessage = 47; - */ - Type_DealRiverCardMessage(46, 47), - /** - * Type_AllInShowCardsMessage = 48; - */ - Type_AllInShowCardsMessage(47, 48), - /** - * Type_EndOfHandShowCardsMessage = 49; - */ - Type_EndOfHandShowCardsMessage(48, 49), - /** - * Type_EndOfHandHideCardsMessage = 50; - */ - Type_EndOfHandHideCardsMessage(49, 50), - /** - * Type_ShowMyCardsRequestMessage = 51; - */ - Type_ShowMyCardsRequestMessage(50, 51), - /** - * Type_AfterHandShowCardsMessage = 52; - */ - Type_AfterHandShowCardsMessage(51, 52), - /** - * Type_EndOfGameMessage = 53; - */ - Type_EndOfGameMessage(52, 53), - /** - * Type_PlayerIdChangedMessage = 54; - */ - Type_PlayerIdChangedMessage(53, 54), - /** - * Type_AskKickPlayerMessage = 55; - */ - Type_AskKickPlayerMessage(54, 55), - /** - * Type_AskKickDeniedMessage = 56; - */ - Type_AskKickDeniedMessage(55, 56), - /** - * Type_StartKickPetitionMessage = 57; - */ - Type_StartKickPetitionMessage(56, 57), - /** - * Type_VoteKickRequestMessage = 58; - */ - Type_VoteKickRequestMessage(57, 58), - /** - * Type_VoteKickReplyMessage = 59; - */ - Type_VoteKickReplyMessage(58, 59), - /** - * Type_KickPetitionUpdateMessage = 60; - */ - Type_KickPetitionUpdateMessage(59, 60), - /** - * Type_EndKickPetitionMessage = 61; - */ - Type_EndKickPetitionMessage(60, 61), - /** - * Type_StatisticsMessage = 62; - */ - Type_StatisticsMessage(61, 62), - /** - * Type_ChatRequestMessage = 63; - */ - Type_ChatRequestMessage(62, 63), - /** - * Type_ChatMessage = 64; - */ - Type_ChatMessage(63, 64), - /** - * Type_ChatRejectMessage = 65; - */ - Type_ChatRejectMessage(64, 65), - /** - * Type_DialogMessage = 66; - */ - Type_DialogMessage(65, 66), - /** - * Type_TimeoutWarningMessage = 67; - */ - Type_TimeoutWarningMessage(66, 67), - /** - * Type_ResetTimeoutMessage = 68; - */ - Type_ResetTimeoutMessage(67, 68), - /** - * Type_ReportAvatarMessage = 69; - */ - Type_ReportAvatarMessage(68, 69), - /** - * Type_ReportAvatarAckMessage = 70; - */ - Type_ReportAvatarAckMessage(69, 70), - /** - * Type_ReportGameMessage = 71; - */ - Type_ReportGameMessage(70, 71), - /** - * Type_ReportGameAckMessage = 72; - */ - Type_ReportGameAckMessage(71, 72), - /** - * Type_ErrorMessage = 73; - */ - Type_ErrorMessage(72, 73), - /** - * Type_AdminRemoveGameMessage = 74; - */ - Type_AdminRemoveGameMessage(73, 74), - /** - * Type_AdminRemoveGameAckMessage = 75; - */ - Type_AdminRemoveGameAckMessage(74, 75), - /** - * Type_AdminBanPlayerMessage = 76; - */ - Type_AdminBanPlayerMessage(75, 76), - /** - * Type_AdminBanPlayerAckMessage = 77; - */ - Type_AdminBanPlayerAckMessage(76, 77), - /** - * Type_GameListSpectatorJoinedMessage = 78; - */ - Type_GameListSpectatorJoinedMessage(77, 78), - /** - * Type_GameListSpectatorLeftMessage = 79; - */ - Type_GameListSpectatorLeftMessage(78, 79), - /** - * Type_GameSpectatorJoinedMessage = 80; - */ - Type_GameSpectatorJoinedMessage(79, 80), - /** - * Type_GameSpectatorLeftMessage = 81; - */ - Type_GameSpectatorLeftMessage(80, 81), + Type_ErrorMessage(4, 1024), ; /** - * Type_AnnounceMessage = 1; + * Type_AuthClientRequestMessage = 1; */ - public static final int Type_AnnounceMessage_VALUE = 1; + public static final int Type_AuthClientRequestMessage_VALUE = 1; /** - * Type_InitMessage = 2; + * Type_AuthServerChallengeMessage = 2; */ - public static final int Type_InitMessage_VALUE = 2; + public static final int Type_AuthServerChallengeMessage_VALUE = 2; /** - * Type_AuthServerChallengeMessage = 3; + * Type_AuthClientResponseMessage = 3; */ - public static final int Type_AuthServerChallengeMessage_VALUE = 3; + public static final int Type_AuthClientResponseMessage_VALUE = 3; /** - * Type_AuthClientResponseMessage = 4; + * Type_AuthServerVerificationMessage = 4; */ - public static final int Type_AuthClientResponseMessage_VALUE = 4; + public static final int Type_AuthServerVerificationMessage_VALUE = 4; /** - * Type_AuthServerVerificationMessage = 5; + * Type_ErrorMessage = 1024; */ - public static final int Type_AuthServerVerificationMessage_VALUE = 5; - /** - * Type_InitAckMessage = 6; - */ - public static final int Type_InitAckMessage_VALUE = 6; - /** - * Type_AvatarRequestMessage = 7; - */ - public static final int Type_AvatarRequestMessage_VALUE = 7; - /** - * Type_AvatarHeaderMessage = 8; - */ - public static final int Type_AvatarHeaderMessage_VALUE = 8; - /** - * Type_AvatarDataMessage = 9; - */ - public static final int Type_AvatarDataMessage_VALUE = 9; - /** - * Type_AvatarEndMessage = 10; - */ - public static final int Type_AvatarEndMessage_VALUE = 10; - /** - * Type_UnknownAvatarMessage = 11; - */ - public static final int Type_UnknownAvatarMessage_VALUE = 11; - /** - * Type_PlayerListMessage = 12; - */ - public static final int Type_PlayerListMessage_VALUE = 12; - /** - * Type_GameListNewMessage = 13; - */ - public static final int Type_GameListNewMessage_VALUE = 13; - /** - * Type_GameListUpdateMessage = 14; - */ - public static final int Type_GameListUpdateMessage_VALUE = 14; - /** - * Type_GameListPlayerJoinedMessage = 15; - */ - public static final int Type_GameListPlayerJoinedMessage_VALUE = 15; - /** - * Type_GameListPlayerLeftMessage = 16; - */ - public static final int Type_GameListPlayerLeftMessage_VALUE = 16; - /** - * Type_GameListAdminChangedMessage = 17; - */ - public static final int Type_GameListAdminChangedMessage_VALUE = 17; - /** - * Type_PlayerInfoRequestMessage = 18; - */ - public static final int Type_PlayerInfoRequestMessage_VALUE = 18; - /** - * Type_PlayerInfoReplyMessage = 19; - */ - public static final int Type_PlayerInfoReplyMessage_VALUE = 19; - /** - * Type_SubscriptionRequestMessage = 20; - */ - public static final int Type_SubscriptionRequestMessage_VALUE = 20; - /** - * Type_JoinExistingGameMessage = 21; - */ - public static final int Type_JoinExistingGameMessage_VALUE = 21; - /** - * Type_JoinNewGameMessage = 22; - */ - public static final int Type_JoinNewGameMessage_VALUE = 22; - /** - * Type_RejoinExistingGameMessage = 23; - */ - public static final int Type_RejoinExistingGameMessage_VALUE = 23; - /** - * Type_JoinGameAckMessage = 24; - */ - public static final int Type_JoinGameAckMessage_VALUE = 24; - /** - * Type_JoinGameFailedMessage = 25; - */ - public static final int Type_JoinGameFailedMessage_VALUE = 25; - /** - * Type_GamePlayerJoinedMessage = 26; - */ - public static final int Type_GamePlayerJoinedMessage_VALUE = 26; - /** - * Type_GamePlayerLeftMessage = 27; - */ - public static final int Type_GamePlayerLeftMessage_VALUE = 27; - /** - * Type_GameAdminChangedMessage = 28; - */ - public static final int Type_GameAdminChangedMessage_VALUE = 28; - /** - * Type_RemovedFromGameMessage = 29; - */ - public static final int Type_RemovedFromGameMessage_VALUE = 29; - /** - * Type_KickPlayerRequestMessage = 30; - */ - public static final int Type_KickPlayerRequestMessage_VALUE = 30; - /** - * Type_LeaveGameRequestMessage = 31; - */ - public static final int Type_LeaveGameRequestMessage_VALUE = 31; - /** - * Type_InvitePlayerToGameMessage = 32; - */ - public static final int Type_InvitePlayerToGameMessage_VALUE = 32; - /** - * Type_InviteNotifyMessage = 33; - */ - public static final int Type_InviteNotifyMessage_VALUE = 33; - /** - * Type_RejectGameInvitationMessage = 34; - */ - public static final int Type_RejectGameInvitationMessage_VALUE = 34; - /** - * Type_RejectInvNotifyMessage = 35; - */ - public static final int Type_RejectInvNotifyMessage_VALUE = 35; - /** - * Type_StartEventMessage = 36; - */ - public static final int Type_StartEventMessage_VALUE = 36; - /** - * Type_StartEventAckMessage = 37; - */ - public static final int Type_StartEventAckMessage_VALUE = 37; - /** - * Type_GameStartInitialMessage = 38; - */ - public static final int Type_GameStartInitialMessage_VALUE = 38; - /** - * Type_GameStartRejoinMessage = 39; - */ - public static final int Type_GameStartRejoinMessage_VALUE = 39; - /** - * Type_HandStartMessage = 40; - */ - public static final int Type_HandStartMessage_VALUE = 40; - /** - * Type_PlayersTurnMessage = 41; - */ - public static final int Type_PlayersTurnMessage_VALUE = 41; - /** - * Type_MyActionRequestMessage = 42; - */ - public static final int Type_MyActionRequestMessage_VALUE = 42; - /** - * Type_YourActionRejectedMessage = 43; - */ - public static final int Type_YourActionRejectedMessage_VALUE = 43; - /** - * Type_PlayersActionDoneMessage = 44; - */ - public static final int Type_PlayersActionDoneMessage_VALUE = 44; - /** - * Type_DealFlopCardsMessage = 45; - */ - public static final int Type_DealFlopCardsMessage_VALUE = 45; - /** - * Type_DealTurnCardMessage = 46; - */ - public static final int Type_DealTurnCardMessage_VALUE = 46; - /** - * Type_DealRiverCardMessage = 47; - */ - public static final int Type_DealRiverCardMessage_VALUE = 47; - /** - * Type_AllInShowCardsMessage = 48; - */ - public static final int Type_AllInShowCardsMessage_VALUE = 48; - /** - * Type_EndOfHandShowCardsMessage = 49; - */ - public static final int Type_EndOfHandShowCardsMessage_VALUE = 49; - /** - * Type_EndOfHandHideCardsMessage = 50; - */ - public static final int Type_EndOfHandHideCardsMessage_VALUE = 50; - /** - * Type_ShowMyCardsRequestMessage = 51; - */ - public static final int Type_ShowMyCardsRequestMessage_VALUE = 51; - /** - * Type_AfterHandShowCardsMessage = 52; - */ - public static final int Type_AfterHandShowCardsMessage_VALUE = 52; - /** - * Type_EndOfGameMessage = 53; - */ - public static final int Type_EndOfGameMessage_VALUE = 53; - /** - * Type_PlayerIdChangedMessage = 54; - */ - public static final int Type_PlayerIdChangedMessage_VALUE = 54; - /** - * Type_AskKickPlayerMessage = 55; - */ - public static final int Type_AskKickPlayerMessage_VALUE = 55; - /** - * Type_AskKickDeniedMessage = 56; - */ - public static final int Type_AskKickDeniedMessage_VALUE = 56; - /** - * Type_StartKickPetitionMessage = 57; - */ - public static final int Type_StartKickPetitionMessage_VALUE = 57; - /** - * Type_VoteKickRequestMessage = 58; - */ - public static final int Type_VoteKickRequestMessage_VALUE = 58; - /** - * Type_VoteKickReplyMessage = 59; - */ - public static final int Type_VoteKickReplyMessage_VALUE = 59; - /** - * Type_KickPetitionUpdateMessage = 60; - */ - public static final int Type_KickPetitionUpdateMessage_VALUE = 60; - /** - * Type_EndKickPetitionMessage = 61; - */ - public static final int Type_EndKickPetitionMessage_VALUE = 61; - /** - * Type_StatisticsMessage = 62; - */ - public static final int Type_StatisticsMessage_VALUE = 62; - /** - * Type_ChatRequestMessage = 63; - */ - public static final int Type_ChatRequestMessage_VALUE = 63; - /** - * Type_ChatMessage = 64; - */ - public static final int Type_ChatMessage_VALUE = 64; - /** - * Type_ChatRejectMessage = 65; - */ - public static final int Type_ChatRejectMessage_VALUE = 65; - /** - * Type_DialogMessage = 66; - */ - public static final int Type_DialogMessage_VALUE = 66; - /** - * Type_TimeoutWarningMessage = 67; - */ - public static final int Type_TimeoutWarningMessage_VALUE = 67; - /** - * Type_ResetTimeoutMessage = 68; - */ - public static final int Type_ResetTimeoutMessage_VALUE = 68; - /** - * Type_ReportAvatarMessage = 69; - */ - public static final int Type_ReportAvatarMessage_VALUE = 69; - /** - * Type_ReportAvatarAckMessage = 70; - */ - public static final int Type_ReportAvatarAckMessage_VALUE = 70; - /** - * Type_ReportGameMessage = 71; - */ - public static final int Type_ReportGameMessage_VALUE = 71; - /** - * Type_ReportGameAckMessage = 72; - */ - public static final int Type_ReportGameAckMessage_VALUE = 72; - /** - * Type_ErrorMessage = 73; - */ - public static final int Type_ErrorMessage_VALUE = 73; - /** - * Type_AdminRemoveGameMessage = 74; - */ - public static final int Type_AdminRemoveGameMessage_VALUE = 74; - /** - * Type_AdminRemoveGameAckMessage = 75; - */ - public static final int Type_AdminRemoveGameAckMessage_VALUE = 75; - /** - * Type_AdminBanPlayerMessage = 76; - */ - public static final int Type_AdminBanPlayerMessage_VALUE = 76; - /** - * Type_AdminBanPlayerAckMessage = 77; - */ - public static final int Type_AdminBanPlayerAckMessage_VALUE = 77; - /** - * Type_GameListSpectatorJoinedMessage = 78; - */ - public static final int Type_GameListSpectatorJoinedMessage_VALUE = 78; - /** - * Type_GameListSpectatorLeftMessage = 79; - */ - public static final int Type_GameListSpectatorLeftMessage_VALUE = 79; - /** - * Type_GameSpectatorJoinedMessage = 80; - */ - public static final int Type_GameSpectatorJoinedMessage_VALUE = 80; - /** - * Type_GameSpectatorLeftMessage = 81; - */ - public static final int Type_GameSpectatorLeftMessage_VALUE = 81; + public static final int Type_ErrorMessage_VALUE = 1024; public final int getNumber() { return value; } - public static PokerTHMessageType valueOf(int value) { + public static AuthMessageType valueOf(int value) { switch (value) { - case 1: return Type_AnnounceMessage; - case 2: return Type_InitMessage; - case 3: return Type_AuthServerChallengeMessage; - case 4: return Type_AuthClientResponseMessage; - case 5: return Type_AuthServerVerificationMessage; - case 6: return Type_InitAckMessage; - case 7: return Type_AvatarRequestMessage; - case 8: return Type_AvatarHeaderMessage; - case 9: return Type_AvatarDataMessage; - case 10: return Type_AvatarEndMessage; - case 11: return Type_UnknownAvatarMessage; - case 12: return Type_PlayerListMessage; - case 13: return Type_GameListNewMessage; - case 14: return Type_GameListUpdateMessage; - case 15: return Type_GameListPlayerJoinedMessage; - case 16: return Type_GameListPlayerLeftMessage; - case 17: return Type_GameListAdminChangedMessage; - case 18: return Type_PlayerInfoRequestMessage; - case 19: return Type_PlayerInfoReplyMessage; - case 20: return Type_SubscriptionRequestMessage; - case 21: return Type_JoinExistingGameMessage; - case 22: return Type_JoinNewGameMessage; - case 23: return Type_RejoinExistingGameMessage; - case 24: return Type_JoinGameAckMessage; - case 25: return Type_JoinGameFailedMessage; - case 26: return Type_GamePlayerJoinedMessage; - case 27: return Type_GamePlayerLeftMessage; - case 28: return Type_GameAdminChangedMessage; - case 29: return Type_RemovedFromGameMessage; - case 30: return Type_KickPlayerRequestMessage; - case 31: return Type_LeaveGameRequestMessage; - case 32: return Type_InvitePlayerToGameMessage; - case 33: return Type_InviteNotifyMessage; - case 34: return Type_RejectGameInvitationMessage; - case 35: return Type_RejectInvNotifyMessage; - case 36: return Type_StartEventMessage; - case 37: return Type_StartEventAckMessage; - case 38: return Type_GameStartInitialMessage; - case 39: return Type_GameStartRejoinMessage; - case 40: return Type_HandStartMessage; - case 41: return Type_PlayersTurnMessage; - case 42: return Type_MyActionRequestMessage; - case 43: return Type_YourActionRejectedMessage; - case 44: return Type_PlayersActionDoneMessage; - case 45: return Type_DealFlopCardsMessage; - case 46: return Type_DealTurnCardMessage; - case 47: return Type_DealRiverCardMessage; - case 48: return Type_AllInShowCardsMessage; - case 49: return Type_EndOfHandShowCardsMessage; - case 50: return Type_EndOfHandHideCardsMessage; - case 51: return Type_ShowMyCardsRequestMessage; - case 52: return Type_AfterHandShowCardsMessage; - case 53: return Type_EndOfGameMessage; - case 54: return Type_PlayerIdChangedMessage; - case 55: return Type_AskKickPlayerMessage; - case 56: return Type_AskKickDeniedMessage; - case 57: return Type_StartKickPetitionMessage; - case 58: return Type_VoteKickRequestMessage; - case 59: return Type_VoteKickReplyMessage; - case 60: return Type_KickPetitionUpdateMessage; - case 61: return Type_EndKickPetitionMessage; - case 62: return Type_StatisticsMessage; - case 63: return Type_ChatRequestMessage; - case 64: return Type_ChatMessage; - case 65: return Type_ChatRejectMessage; - case 66: return Type_DialogMessage; - case 67: return Type_TimeoutWarningMessage; - case 68: return Type_ResetTimeoutMessage; - case 69: return Type_ReportAvatarMessage; - case 70: return Type_ReportAvatarAckMessage; - case 71: return Type_ReportGameMessage; - case 72: return Type_ReportGameAckMessage; - case 73: return Type_ErrorMessage; - case 74: return Type_AdminRemoveGameMessage; - case 75: return Type_AdminRemoveGameAckMessage; - case 76: return Type_AdminBanPlayerMessage; - case 77: return Type_AdminBanPlayerAckMessage; - case 78: return Type_GameListSpectatorJoinedMessage; - case 79: return Type_GameListSpectatorLeftMessage; - case 80: return Type_GameSpectatorJoinedMessage; - case 81: return Type_GameSpectatorLeftMessage; + case 1: return Type_AuthClientRequestMessage; + case 2: return Type_AuthServerChallengeMessage; + case 3: return Type_AuthClientResponseMessage; + case 4: return Type_AuthServerVerificationMessage; + case 1024: return Type_ErrorMessage; default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static com.google.protobuf.Internal.EnumLiteMap + private static com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public PokerTHMessageType findValueByNumber(int number) { - return PokerTHMessageType.valueOf(number); + new com.google.protobuf.Internal.EnumLiteMap() { + public AuthMessageType findValueByNumber(int number) { + return AuthMessageType.valueOf(number); } }; private final int value; - private PokerTHMessageType(int index, int value) { + private AuthMessageType(int index, int value) { this.value = value; } - // @@protoc_insertion_point(enum_scope:PokerTHMessage.PokerTHMessageType) + // @@protoc_insertion_point(enum_scope:AuthMessage.AuthMessageType) } private int bitField0_; - private int bitField1_; - private int bitField2_; - // required .PokerTHMessage.PokerTHMessageType messageType = 1; + // required .AuthMessage.AuthMessageType messageType = 1; public static final int MESSAGETYPE_FIELD_NUMBER = 1; - private de.pokerth.protocol.ProtoBuf.PokerTHMessage.PokerTHMessageType messageType_; + private de.pokerth.protocol.ProtoBuf.AuthMessage.AuthMessageType messageType_; /** - * required .PokerTHMessage.PokerTHMessageType messageType = 1; + * required .AuthMessage.AuthMessageType messageType = 1; */ public boolean hasMessageType() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * required .PokerTHMessage.PokerTHMessageType messageType = 1; + * required .AuthMessage.AuthMessageType messageType = 1; */ - public de.pokerth.protocol.ProtoBuf.PokerTHMessage.PokerTHMessageType getMessageType() { + public de.pokerth.protocol.ProtoBuf.AuthMessage.AuthMessageType getMessageType() { return messageType_; } - // optional .AnnounceMessage announceMessage = 2; - public static final int ANNOUNCEMESSAGE_FIELD_NUMBER = 2; - private de.pokerth.protocol.ProtoBuf.AnnounceMessage announceMessage_; + // optional .AuthClientRequestMessage authClientRequestMessage = 2; + public static final int AUTHCLIENTREQUESTMESSAGE_FIELD_NUMBER = 2; + private de.pokerth.protocol.ProtoBuf.AuthClientRequestMessage authClientRequestMessage_; /** - * optional .AnnounceMessage announceMessage = 2; + * optional .AuthClientRequestMessage authClientRequestMessage = 2; */ - public boolean hasAnnounceMessage() { + public boolean hasAuthClientRequestMessage() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** - * optional .AnnounceMessage announceMessage = 2; + * optional .AuthClientRequestMessage authClientRequestMessage = 2; */ - public de.pokerth.protocol.ProtoBuf.AnnounceMessage getAnnounceMessage() { - return announceMessage_; + public de.pokerth.protocol.ProtoBuf.AuthClientRequestMessage getAuthClientRequestMessage() { + return authClientRequestMessage_; } - // optional .InitMessage initMessage = 3; - public static final int INITMESSAGE_FIELD_NUMBER = 3; - private de.pokerth.protocol.ProtoBuf.InitMessage initMessage_; + // optional .AuthServerChallengeMessage authServerChallengeMessage = 3; + public static final int AUTHSERVERCHALLENGEMESSAGE_FIELD_NUMBER = 3; + private de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage authServerChallengeMessage_; /** - * optional .InitMessage initMessage = 3; + * optional .AuthServerChallengeMessage authServerChallengeMessage = 3; */ - public boolean hasInitMessage() { + public boolean hasAuthServerChallengeMessage() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** - * optional .InitMessage initMessage = 3; - */ - public de.pokerth.protocol.ProtoBuf.InitMessage getInitMessage() { - return initMessage_; - } - - // optional .AuthServerChallengeMessage authServerChallengeMessage = 4; - public static final int AUTHSERVERCHALLENGEMESSAGE_FIELD_NUMBER = 4; - private de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage authServerChallengeMessage_; - /** - * optional .AuthServerChallengeMessage authServerChallengeMessage = 4; - */ - public boolean hasAuthServerChallengeMessage() { - return ((bitField0_ & 0x00000008) == 0x00000008); - } - /** - * optional .AuthServerChallengeMessage authServerChallengeMessage = 4; + * optional .AuthServerChallengeMessage authServerChallengeMessage = 3; */ public de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage getAuthServerChallengeMessage() { return authServerChallengeMessage_; } - // optional .AuthClientResponseMessage authClientResponseMessage = 5; - public static final int AUTHCLIENTRESPONSEMESSAGE_FIELD_NUMBER = 5; + // optional .AuthClientResponseMessage authClientResponseMessage = 4; + public static final int AUTHCLIENTRESPONSEMESSAGE_FIELD_NUMBER = 4; private de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage authClientResponseMessage_; /** - * optional .AuthClientResponseMessage authClientResponseMessage = 5; + * optional .AuthClientResponseMessage authClientResponseMessage = 4; */ public boolean hasAuthClientResponseMessage() { - return ((bitField0_ & 0x00000010) == 0x00000010); + return ((bitField0_ & 0x00000008) == 0x00000008); } /** - * optional .AuthClientResponseMessage authClientResponseMessage = 5; + * optional .AuthClientResponseMessage authClientResponseMessage = 4; */ public de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage getAuthClientResponseMessage() { return authClientResponseMessage_; } - // optional .AuthServerVerificationMessage authServerVerificationMessage = 6; - public static final int AUTHSERVERVERIFICATIONMESSAGE_FIELD_NUMBER = 6; + // optional .AuthServerVerificationMessage authServerVerificationMessage = 5; + public static final int AUTHSERVERVERIFICATIONMESSAGE_FIELD_NUMBER = 5; private de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage authServerVerificationMessage_; /** - * optional .AuthServerVerificationMessage authServerVerificationMessage = 6; + * optional .AuthServerVerificationMessage authServerVerificationMessage = 5; */ public boolean hasAuthServerVerificationMessage() { - return ((bitField0_ & 0x00000020) == 0x00000020); + return ((bitField0_ & 0x00000010) == 0x00000010); } /** - * optional .AuthServerVerificationMessage authServerVerificationMessage = 6; + * optional .AuthServerVerificationMessage authServerVerificationMessage = 5; */ public de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage getAuthServerVerificationMessage() { return authServerVerificationMessage_; } - // optional .InitAckMessage initAckMessage = 7; - public static final int INITACKMESSAGE_FIELD_NUMBER = 7; - private de.pokerth.protocol.ProtoBuf.InitAckMessage initAckMessage_; - /** - * optional .InitAckMessage initAckMessage = 7; - */ - public boolean hasInitAckMessage() { - return ((bitField0_ & 0x00000040) == 0x00000040); - } - /** - * optional .InitAckMessage initAckMessage = 7; - */ - public de.pokerth.protocol.ProtoBuf.InitAckMessage getInitAckMessage() { - return initAckMessage_; - } - - // optional .AvatarRequestMessage avatarRequestMessage = 8; - public static final int AVATARREQUESTMESSAGE_FIELD_NUMBER = 8; - private de.pokerth.protocol.ProtoBuf.AvatarRequestMessage avatarRequestMessage_; - /** - * optional .AvatarRequestMessage avatarRequestMessage = 8; - */ - public boolean hasAvatarRequestMessage() { - return ((bitField0_ & 0x00000080) == 0x00000080); - } - /** - * optional .AvatarRequestMessage avatarRequestMessage = 8; - */ - public de.pokerth.protocol.ProtoBuf.AvatarRequestMessage getAvatarRequestMessage() { - return avatarRequestMessage_; - } - - // optional .AvatarHeaderMessage avatarHeaderMessage = 9; - public static final int AVATARHEADERMESSAGE_FIELD_NUMBER = 9; - private de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage avatarHeaderMessage_; - /** - * optional .AvatarHeaderMessage avatarHeaderMessage = 9; - */ - public boolean hasAvatarHeaderMessage() { - return ((bitField0_ & 0x00000100) == 0x00000100); - } - /** - * optional .AvatarHeaderMessage avatarHeaderMessage = 9; - */ - public de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage getAvatarHeaderMessage() { - return avatarHeaderMessage_; - } - - // optional .AvatarDataMessage avatarDataMessage = 10; - public static final int AVATARDATAMESSAGE_FIELD_NUMBER = 10; - private de.pokerth.protocol.ProtoBuf.AvatarDataMessage avatarDataMessage_; - /** - * optional .AvatarDataMessage avatarDataMessage = 10; - */ - public boolean hasAvatarDataMessage() { - return ((bitField0_ & 0x00000200) == 0x00000200); - } - /** - * optional .AvatarDataMessage avatarDataMessage = 10; - */ - public de.pokerth.protocol.ProtoBuf.AvatarDataMessage getAvatarDataMessage() { - return avatarDataMessage_; - } - - // optional .AvatarEndMessage avatarEndMessage = 11; - public static final int AVATARENDMESSAGE_FIELD_NUMBER = 11; - private de.pokerth.protocol.ProtoBuf.AvatarEndMessage avatarEndMessage_; - /** - * optional .AvatarEndMessage avatarEndMessage = 11; - */ - public boolean hasAvatarEndMessage() { - return ((bitField0_ & 0x00000400) == 0x00000400); - } - /** - * optional .AvatarEndMessage avatarEndMessage = 11; - */ - public de.pokerth.protocol.ProtoBuf.AvatarEndMessage getAvatarEndMessage() { - return avatarEndMessage_; - } - - // optional .UnknownAvatarMessage unknownAvatarMessage = 12; - public static final int UNKNOWNAVATARMESSAGE_FIELD_NUMBER = 12; - private de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage unknownAvatarMessage_; - /** - * optional .UnknownAvatarMessage unknownAvatarMessage = 12; - */ - public boolean hasUnknownAvatarMessage() { - return ((bitField0_ & 0x00000800) == 0x00000800); - } - /** - * optional .UnknownAvatarMessage unknownAvatarMessage = 12; - */ - public de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage getUnknownAvatarMessage() { - return unknownAvatarMessage_; - } - - // optional .PlayerListMessage playerListMessage = 13; - public static final int PLAYERLISTMESSAGE_FIELD_NUMBER = 13; - private de.pokerth.protocol.ProtoBuf.PlayerListMessage playerListMessage_; - /** - * optional .PlayerListMessage playerListMessage = 13; - */ - public boolean hasPlayerListMessage() { - return ((bitField0_ & 0x00001000) == 0x00001000); - } - /** - * optional .PlayerListMessage playerListMessage = 13; - */ - public de.pokerth.protocol.ProtoBuf.PlayerListMessage getPlayerListMessage() { - return playerListMessage_; - } - - // optional .GameListNewMessage gameListNewMessage = 14; - public static final int GAMELISTNEWMESSAGE_FIELD_NUMBER = 14; - private de.pokerth.protocol.ProtoBuf.GameListNewMessage gameListNewMessage_; - /** - * optional .GameListNewMessage gameListNewMessage = 14; - */ - public boolean hasGameListNewMessage() { - return ((bitField0_ & 0x00002000) == 0x00002000); - } - /** - * optional .GameListNewMessage gameListNewMessage = 14; - */ - public de.pokerth.protocol.ProtoBuf.GameListNewMessage getGameListNewMessage() { - return gameListNewMessage_; - } - - // optional .GameListUpdateMessage gameListUpdateMessage = 15; - public static final int GAMELISTUPDATEMESSAGE_FIELD_NUMBER = 15; - private de.pokerth.protocol.ProtoBuf.GameListUpdateMessage gameListUpdateMessage_; - /** - * optional .GameListUpdateMessage gameListUpdateMessage = 15; - */ - public boolean hasGameListUpdateMessage() { - return ((bitField0_ & 0x00004000) == 0x00004000); - } - /** - * optional .GameListUpdateMessage gameListUpdateMessage = 15; - */ - public de.pokerth.protocol.ProtoBuf.GameListUpdateMessage getGameListUpdateMessage() { - return gameListUpdateMessage_; - } - - // optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 16; - public static final int GAMELISTPLAYERJOINEDMESSAGE_FIELD_NUMBER = 16; - private de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage gameListPlayerJoinedMessage_; - /** - * optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 16; - */ - public boolean hasGameListPlayerJoinedMessage() { - return ((bitField0_ & 0x00008000) == 0x00008000); - } - /** - * optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 16; - */ - public de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage getGameListPlayerJoinedMessage() { - return gameListPlayerJoinedMessage_; - } - - // optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 17; - public static final int GAMELISTPLAYERLEFTMESSAGE_FIELD_NUMBER = 17; - private de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage gameListPlayerLeftMessage_; - /** - * optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 17; - */ - public boolean hasGameListPlayerLeftMessage() { - return ((bitField0_ & 0x00010000) == 0x00010000); - } - /** - * optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 17; - */ - public de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage getGameListPlayerLeftMessage() { - return gameListPlayerLeftMessage_; - } - - // optional .GameListAdminChangedMessage gameListAdminChangedMessage = 18; - public static final int GAMELISTADMINCHANGEDMESSAGE_FIELD_NUMBER = 18; - private de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage gameListAdminChangedMessage_; - /** - * optional .GameListAdminChangedMessage gameListAdminChangedMessage = 18; - */ - public boolean hasGameListAdminChangedMessage() { - return ((bitField0_ & 0x00020000) == 0x00020000); - } - /** - * optional .GameListAdminChangedMessage gameListAdminChangedMessage = 18; - */ - public de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage getGameListAdminChangedMessage() { - return gameListAdminChangedMessage_; - } - - // optional .PlayerInfoRequestMessage playerInfoRequestMessage = 19; - public static final int PLAYERINFOREQUESTMESSAGE_FIELD_NUMBER = 19; - private de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage playerInfoRequestMessage_; - /** - * optional .PlayerInfoRequestMessage playerInfoRequestMessage = 19; - */ - public boolean hasPlayerInfoRequestMessage() { - return ((bitField0_ & 0x00040000) == 0x00040000); - } - /** - * optional .PlayerInfoRequestMessage playerInfoRequestMessage = 19; - */ - public de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage getPlayerInfoRequestMessage() { - return playerInfoRequestMessage_; - } - - // optional .PlayerInfoReplyMessage playerInfoReplyMessage = 20; - public static final int PLAYERINFOREPLYMESSAGE_FIELD_NUMBER = 20; - private de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage playerInfoReplyMessage_; - /** - * optional .PlayerInfoReplyMessage playerInfoReplyMessage = 20; - */ - public boolean hasPlayerInfoReplyMessage() { - return ((bitField0_ & 0x00080000) == 0x00080000); - } - /** - * optional .PlayerInfoReplyMessage playerInfoReplyMessage = 20; - */ - public de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage getPlayerInfoReplyMessage() { - return playerInfoReplyMessage_; - } - - // optional .SubscriptionRequestMessage subscriptionRequestMessage = 21; - public static final int SUBSCRIPTIONREQUESTMESSAGE_FIELD_NUMBER = 21; - private de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage subscriptionRequestMessage_; - /** - * optional .SubscriptionRequestMessage subscriptionRequestMessage = 21; - */ - public boolean hasSubscriptionRequestMessage() { - return ((bitField0_ & 0x00100000) == 0x00100000); - } - /** - * optional .SubscriptionRequestMessage subscriptionRequestMessage = 21; - */ - public de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage getSubscriptionRequestMessage() { - return subscriptionRequestMessage_; - } - - // optional .JoinExistingGameMessage joinExistingGameMessage = 22; - public static final int JOINEXISTINGGAMEMESSAGE_FIELD_NUMBER = 22; - private de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage joinExistingGameMessage_; - /** - * optional .JoinExistingGameMessage joinExistingGameMessage = 22; - */ - public boolean hasJoinExistingGameMessage() { - return ((bitField0_ & 0x00200000) == 0x00200000); - } - /** - * optional .JoinExistingGameMessage joinExistingGameMessage = 22; - */ - public de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage getJoinExistingGameMessage() { - return joinExistingGameMessage_; - } - - // optional .JoinNewGameMessage joinNewGameMessage = 23; - public static final int JOINNEWGAMEMESSAGE_FIELD_NUMBER = 23; - private de.pokerth.protocol.ProtoBuf.JoinNewGameMessage joinNewGameMessage_; - /** - * optional .JoinNewGameMessage joinNewGameMessage = 23; - */ - public boolean hasJoinNewGameMessage() { - return ((bitField0_ & 0x00400000) == 0x00400000); - } - /** - * optional .JoinNewGameMessage joinNewGameMessage = 23; - */ - public de.pokerth.protocol.ProtoBuf.JoinNewGameMessage getJoinNewGameMessage() { - return joinNewGameMessage_; - } - - // optional .RejoinExistingGameMessage rejoinExistingGameMessage = 24; - public static final int REJOINEXISTINGGAMEMESSAGE_FIELD_NUMBER = 24; - private de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage rejoinExistingGameMessage_; - /** - * optional .RejoinExistingGameMessage rejoinExistingGameMessage = 24; - */ - public boolean hasRejoinExistingGameMessage() { - return ((bitField0_ & 0x00800000) == 0x00800000); - } - /** - * optional .RejoinExistingGameMessage rejoinExistingGameMessage = 24; - */ - public de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage getRejoinExistingGameMessage() { - return rejoinExistingGameMessage_; - } - - // optional .JoinGameAckMessage joinGameAckMessage = 25; - public static final int JOINGAMEACKMESSAGE_FIELD_NUMBER = 25; - private de.pokerth.protocol.ProtoBuf.JoinGameAckMessage joinGameAckMessage_; - /** - * optional .JoinGameAckMessage joinGameAckMessage = 25; - */ - public boolean hasJoinGameAckMessage() { - return ((bitField0_ & 0x01000000) == 0x01000000); - } - /** - * optional .JoinGameAckMessage joinGameAckMessage = 25; - */ - public de.pokerth.protocol.ProtoBuf.JoinGameAckMessage getJoinGameAckMessage() { - return joinGameAckMessage_; - } - - // optional .JoinGameFailedMessage joinGameFailedMessage = 26; - public static final int JOINGAMEFAILEDMESSAGE_FIELD_NUMBER = 26; - private de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage joinGameFailedMessage_; - /** - * optional .JoinGameFailedMessage joinGameFailedMessage = 26; - */ - public boolean hasJoinGameFailedMessage() { - return ((bitField0_ & 0x02000000) == 0x02000000); - } - /** - * optional .JoinGameFailedMessage joinGameFailedMessage = 26; - */ - public de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage getJoinGameFailedMessage() { - return joinGameFailedMessage_; - } - - // optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 27; - public static final int GAMEPLAYERJOINEDMESSAGE_FIELD_NUMBER = 27; - private de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage gamePlayerJoinedMessage_; - /** - * optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 27; - */ - public boolean hasGamePlayerJoinedMessage() { - return ((bitField0_ & 0x04000000) == 0x04000000); - } - /** - * optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 27; - */ - public de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage getGamePlayerJoinedMessage() { - return gamePlayerJoinedMessage_; - } - - // optional .GamePlayerLeftMessage gamePlayerLeftMessage = 28; - public static final int GAMEPLAYERLEFTMESSAGE_FIELD_NUMBER = 28; - private de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage gamePlayerLeftMessage_; - /** - * optional .GamePlayerLeftMessage gamePlayerLeftMessage = 28; - */ - public boolean hasGamePlayerLeftMessage() { - return ((bitField0_ & 0x08000000) == 0x08000000); - } - /** - * optional .GamePlayerLeftMessage gamePlayerLeftMessage = 28; - */ - public de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage getGamePlayerLeftMessage() { - return gamePlayerLeftMessage_; - } - - // optional .GameAdminChangedMessage gameAdminChangedMessage = 29; - public static final int GAMEADMINCHANGEDMESSAGE_FIELD_NUMBER = 29; - private de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage gameAdminChangedMessage_; - /** - * optional .GameAdminChangedMessage gameAdminChangedMessage = 29; - */ - public boolean hasGameAdminChangedMessage() { - return ((bitField0_ & 0x10000000) == 0x10000000); - } - /** - * optional .GameAdminChangedMessage gameAdminChangedMessage = 29; - */ - public de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage getGameAdminChangedMessage() { - return gameAdminChangedMessage_; - } - - // optional .RemovedFromGameMessage removedFromGameMessage = 30; - public static final int REMOVEDFROMGAMEMESSAGE_FIELD_NUMBER = 30; - private de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage removedFromGameMessage_; - /** - * optional .RemovedFromGameMessage removedFromGameMessage = 30; - */ - public boolean hasRemovedFromGameMessage() { - return ((bitField0_ & 0x20000000) == 0x20000000); - } - /** - * optional .RemovedFromGameMessage removedFromGameMessage = 30; - */ - public de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage getRemovedFromGameMessage() { - return removedFromGameMessage_; - } - - // optional .KickPlayerRequestMessage kickPlayerRequestMessage = 31; - public static final int KICKPLAYERREQUESTMESSAGE_FIELD_NUMBER = 31; - private de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage kickPlayerRequestMessage_; - /** - * optional .KickPlayerRequestMessage kickPlayerRequestMessage = 31; - */ - public boolean hasKickPlayerRequestMessage() { - return ((bitField0_ & 0x40000000) == 0x40000000); - } - /** - * optional .KickPlayerRequestMessage kickPlayerRequestMessage = 31; - */ - public de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage getKickPlayerRequestMessage() { - return kickPlayerRequestMessage_; - } - - // optional .LeaveGameRequestMessage leaveGameRequestMessage = 32; - public static final int LEAVEGAMEREQUESTMESSAGE_FIELD_NUMBER = 32; - private de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage leaveGameRequestMessage_; - /** - * optional .LeaveGameRequestMessage leaveGameRequestMessage = 32; - */ - public boolean hasLeaveGameRequestMessage() { - return ((bitField0_ & 0x80000000) == 0x80000000); - } - /** - * optional .LeaveGameRequestMessage leaveGameRequestMessage = 32; - */ - public de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage getLeaveGameRequestMessage() { - return leaveGameRequestMessage_; - } - - // optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 33; - public static final int INVITEPLAYERTOGAMEMESSAGE_FIELD_NUMBER = 33; - private de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage invitePlayerToGameMessage_; - /** - * optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 33; - */ - public boolean hasInvitePlayerToGameMessage() { - return ((bitField1_ & 0x00000001) == 0x00000001); - } - /** - * optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 33; - */ - public de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage getInvitePlayerToGameMessage() { - return invitePlayerToGameMessage_; - } - - // optional .InviteNotifyMessage inviteNotifyMessage = 34; - public static final int INVITENOTIFYMESSAGE_FIELD_NUMBER = 34; - private de.pokerth.protocol.ProtoBuf.InviteNotifyMessage inviteNotifyMessage_; - /** - * optional .InviteNotifyMessage inviteNotifyMessage = 34; - */ - public boolean hasInviteNotifyMessage() { - return ((bitField1_ & 0x00000002) == 0x00000002); - } - /** - * optional .InviteNotifyMessage inviteNotifyMessage = 34; - */ - public de.pokerth.protocol.ProtoBuf.InviteNotifyMessage getInviteNotifyMessage() { - return inviteNotifyMessage_; - } - - // optional .RejectGameInvitationMessage rejectGameInvitationMessage = 35; - public static final int REJECTGAMEINVITATIONMESSAGE_FIELD_NUMBER = 35; - private de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage rejectGameInvitationMessage_; - /** - * optional .RejectGameInvitationMessage rejectGameInvitationMessage = 35; - */ - public boolean hasRejectGameInvitationMessage() { - return ((bitField1_ & 0x00000004) == 0x00000004); - } - /** - * optional .RejectGameInvitationMessage rejectGameInvitationMessage = 35; - */ - public de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage getRejectGameInvitationMessage() { - return rejectGameInvitationMessage_; - } - - // optional .RejectInvNotifyMessage rejectInvNotifyMessage = 36; - public static final int REJECTINVNOTIFYMESSAGE_FIELD_NUMBER = 36; - private de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage rejectInvNotifyMessage_; - /** - * optional .RejectInvNotifyMessage rejectInvNotifyMessage = 36; - */ - public boolean hasRejectInvNotifyMessage() { - return ((bitField1_ & 0x00000008) == 0x00000008); - } - /** - * optional .RejectInvNotifyMessage rejectInvNotifyMessage = 36; - */ - public de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage getRejectInvNotifyMessage() { - return rejectInvNotifyMessage_; - } - - // optional .StartEventMessage startEventMessage = 37; - public static final int STARTEVENTMESSAGE_FIELD_NUMBER = 37; - private de.pokerth.protocol.ProtoBuf.StartEventMessage startEventMessage_; - /** - * optional .StartEventMessage startEventMessage = 37; - */ - public boolean hasStartEventMessage() { - return ((bitField1_ & 0x00000010) == 0x00000010); - } - /** - * optional .StartEventMessage startEventMessage = 37; - */ - public de.pokerth.protocol.ProtoBuf.StartEventMessage getStartEventMessage() { - return startEventMessage_; - } - - // optional .StartEventAckMessage startEventAckMessage = 38; - public static final int STARTEVENTACKMESSAGE_FIELD_NUMBER = 38; - private de.pokerth.protocol.ProtoBuf.StartEventAckMessage startEventAckMessage_; - /** - * optional .StartEventAckMessage startEventAckMessage = 38; - */ - public boolean hasStartEventAckMessage() { - return ((bitField1_ & 0x00000020) == 0x00000020); - } - /** - * optional .StartEventAckMessage startEventAckMessage = 38; - */ - public de.pokerth.protocol.ProtoBuf.StartEventAckMessage getStartEventAckMessage() { - return startEventAckMessage_; - } - - // optional .GameStartInitialMessage gameStartInitialMessage = 39; - public static final int GAMESTARTINITIALMESSAGE_FIELD_NUMBER = 39; - private de.pokerth.protocol.ProtoBuf.GameStartInitialMessage gameStartInitialMessage_; - /** - * optional .GameStartInitialMessage gameStartInitialMessage = 39; - */ - public boolean hasGameStartInitialMessage() { - return ((bitField1_ & 0x00000040) == 0x00000040); - } - /** - * optional .GameStartInitialMessage gameStartInitialMessage = 39; - */ - public de.pokerth.protocol.ProtoBuf.GameStartInitialMessage getGameStartInitialMessage() { - return gameStartInitialMessage_; - } - - // optional .GameStartRejoinMessage gameStartRejoinMessage = 40; - public static final int GAMESTARTREJOINMESSAGE_FIELD_NUMBER = 40; - private de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage gameStartRejoinMessage_; - /** - * optional .GameStartRejoinMessage gameStartRejoinMessage = 40; - */ - public boolean hasGameStartRejoinMessage() { - return ((bitField1_ & 0x00000080) == 0x00000080); - } - /** - * optional .GameStartRejoinMessage gameStartRejoinMessage = 40; - */ - public de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage getGameStartRejoinMessage() { - return gameStartRejoinMessage_; - } - - // optional .HandStartMessage handStartMessage = 41; - public static final int HANDSTARTMESSAGE_FIELD_NUMBER = 41; - private de.pokerth.protocol.ProtoBuf.HandStartMessage handStartMessage_; - /** - * optional .HandStartMessage handStartMessage = 41; - */ - public boolean hasHandStartMessage() { - return ((bitField1_ & 0x00000100) == 0x00000100); - } - /** - * optional .HandStartMessage handStartMessage = 41; - */ - public de.pokerth.protocol.ProtoBuf.HandStartMessage getHandStartMessage() { - return handStartMessage_; - } - - // optional .PlayersTurnMessage playersTurnMessage = 42; - public static final int PLAYERSTURNMESSAGE_FIELD_NUMBER = 42; - private de.pokerth.protocol.ProtoBuf.PlayersTurnMessage playersTurnMessage_; - /** - * optional .PlayersTurnMessage playersTurnMessage = 42; - */ - public boolean hasPlayersTurnMessage() { - return ((bitField1_ & 0x00000200) == 0x00000200); - } - /** - * optional .PlayersTurnMessage playersTurnMessage = 42; - */ - public de.pokerth.protocol.ProtoBuf.PlayersTurnMessage getPlayersTurnMessage() { - return playersTurnMessage_; - } - - // optional .MyActionRequestMessage myActionRequestMessage = 43; - public static final int MYACTIONREQUESTMESSAGE_FIELD_NUMBER = 43; - private de.pokerth.protocol.ProtoBuf.MyActionRequestMessage myActionRequestMessage_; - /** - * optional .MyActionRequestMessage myActionRequestMessage = 43; - */ - public boolean hasMyActionRequestMessage() { - return ((bitField1_ & 0x00000400) == 0x00000400); - } - /** - * optional .MyActionRequestMessage myActionRequestMessage = 43; - */ - public de.pokerth.protocol.ProtoBuf.MyActionRequestMessage getMyActionRequestMessage() { - return myActionRequestMessage_; - } - - // optional .YourActionRejectedMessage yourActionRejectedMessage = 44; - public static final int YOURACTIONREJECTEDMESSAGE_FIELD_NUMBER = 44; - private de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage yourActionRejectedMessage_; - /** - * optional .YourActionRejectedMessage yourActionRejectedMessage = 44; - */ - public boolean hasYourActionRejectedMessage() { - return ((bitField1_ & 0x00000800) == 0x00000800); - } - /** - * optional .YourActionRejectedMessage yourActionRejectedMessage = 44; - */ - public de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage getYourActionRejectedMessage() { - return yourActionRejectedMessage_; - } - - // optional .PlayersActionDoneMessage playersActionDoneMessage = 45; - public static final int PLAYERSACTIONDONEMESSAGE_FIELD_NUMBER = 45; - private de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage playersActionDoneMessage_; - /** - * optional .PlayersActionDoneMessage playersActionDoneMessage = 45; - */ - public boolean hasPlayersActionDoneMessage() { - return ((bitField1_ & 0x00001000) == 0x00001000); - } - /** - * optional .PlayersActionDoneMessage playersActionDoneMessage = 45; - */ - public de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage getPlayersActionDoneMessage() { - return playersActionDoneMessage_; - } - - // optional .DealFlopCardsMessage dealFlopCardsMessage = 46; - public static final int DEALFLOPCARDSMESSAGE_FIELD_NUMBER = 46; - private de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage dealFlopCardsMessage_; - /** - * optional .DealFlopCardsMessage dealFlopCardsMessage = 46; - */ - public boolean hasDealFlopCardsMessage() { - return ((bitField1_ & 0x00002000) == 0x00002000); - } - /** - * optional .DealFlopCardsMessage dealFlopCardsMessage = 46; - */ - public de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage getDealFlopCardsMessage() { - return dealFlopCardsMessage_; - } - - // optional .DealTurnCardMessage dealTurnCardMessage = 47; - public static final int DEALTURNCARDMESSAGE_FIELD_NUMBER = 47; - private de.pokerth.protocol.ProtoBuf.DealTurnCardMessage dealTurnCardMessage_; - /** - * optional .DealTurnCardMessage dealTurnCardMessage = 47; - */ - public boolean hasDealTurnCardMessage() { - return ((bitField1_ & 0x00004000) == 0x00004000); - } - /** - * optional .DealTurnCardMessage dealTurnCardMessage = 47; - */ - public de.pokerth.protocol.ProtoBuf.DealTurnCardMessage getDealTurnCardMessage() { - return dealTurnCardMessage_; - } - - // optional .DealRiverCardMessage dealRiverCardMessage = 48; - public static final int DEALRIVERCARDMESSAGE_FIELD_NUMBER = 48; - private de.pokerth.protocol.ProtoBuf.DealRiverCardMessage dealRiverCardMessage_; - /** - * optional .DealRiverCardMessage dealRiverCardMessage = 48; - */ - public boolean hasDealRiverCardMessage() { - return ((bitField1_ & 0x00008000) == 0x00008000); - } - /** - * optional .DealRiverCardMessage dealRiverCardMessage = 48; - */ - public de.pokerth.protocol.ProtoBuf.DealRiverCardMessage getDealRiverCardMessage() { - return dealRiverCardMessage_; - } - - // optional .AllInShowCardsMessage allInShowCardsMessage = 49; - public static final int ALLINSHOWCARDSMESSAGE_FIELD_NUMBER = 49; - private de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage allInShowCardsMessage_; - /** - * optional .AllInShowCardsMessage allInShowCardsMessage = 49; - */ - public boolean hasAllInShowCardsMessage() { - return ((bitField1_ & 0x00010000) == 0x00010000); - } - /** - * optional .AllInShowCardsMessage allInShowCardsMessage = 49; - */ - public de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage getAllInShowCardsMessage() { - return allInShowCardsMessage_; - } - - // optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 50; - public static final int ENDOFHANDSHOWCARDSMESSAGE_FIELD_NUMBER = 50; - private de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage endOfHandShowCardsMessage_; - /** - * optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 50; - */ - public boolean hasEndOfHandShowCardsMessage() { - return ((bitField1_ & 0x00020000) == 0x00020000); - } - /** - * optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 50; - */ - public de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage getEndOfHandShowCardsMessage() { - return endOfHandShowCardsMessage_; - } - - // optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 51; - public static final int ENDOFHANDHIDECARDSMESSAGE_FIELD_NUMBER = 51; - private de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage endOfHandHideCardsMessage_; - /** - * optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 51; - */ - public boolean hasEndOfHandHideCardsMessage() { - return ((bitField1_ & 0x00040000) == 0x00040000); - } - /** - * optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 51; - */ - public de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage getEndOfHandHideCardsMessage() { - return endOfHandHideCardsMessage_; - } - - // optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 52; - public static final int SHOWMYCARDSREQUESTMESSAGE_FIELD_NUMBER = 52; - private de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage showMyCardsRequestMessage_; - /** - * optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 52; - */ - public boolean hasShowMyCardsRequestMessage() { - return ((bitField1_ & 0x00080000) == 0x00080000); - } - /** - * optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 52; - */ - public de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage getShowMyCardsRequestMessage() { - return showMyCardsRequestMessage_; - } - - // optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 53; - public static final int AFTERHANDSHOWCARDSMESSAGE_FIELD_NUMBER = 53; - private de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage afterHandShowCardsMessage_; - /** - * optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 53; - */ - public boolean hasAfterHandShowCardsMessage() { - return ((bitField1_ & 0x00100000) == 0x00100000); - } - /** - * optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 53; - */ - public de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage getAfterHandShowCardsMessage() { - return afterHandShowCardsMessage_; - } - - // optional .EndOfGameMessage endOfGameMessage = 54; - public static final int ENDOFGAMEMESSAGE_FIELD_NUMBER = 54; - private de.pokerth.protocol.ProtoBuf.EndOfGameMessage endOfGameMessage_; - /** - * optional .EndOfGameMessage endOfGameMessage = 54; - */ - public boolean hasEndOfGameMessage() { - return ((bitField1_ & 0x00200000) == 0x00200000); - } - /** - * optional .EndOfGameMessage endOfGameMessage = 54; - */ - public de.pokerth.protocol.ProtoBuf.EndOfGameMessage getEndOfGameMessage() { - return endOfGameMessage_; - } - - // optional .PlayerIdChangedMessage playerIdChangedMessage = 55; - public static final int PLAYERIDCHANGEDMESSAGE_FIELD_NUMBER = 55; - private de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage playerIdChangedMessage_; - /** - * optional .PlayerIdChangedMessage playerIdChangedMessage = 55; - */ - public boolean hasPlayerIdChangedMessage() { - return ((bitField1_ & 0x00400000) == 0x00400000); - } - /** - * optional .PlayerIdChangedMessage playerIdChangedMessage = 55; - */ - public de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage getPlayerIdChangedMessage() { - return playerIdChangedMessage_; - } - - // optional .AskKickPlayerMessage askKickPlayerMessage = 56; - public static final int ASKKICKPLAYERMESSAGE_FIELD_NUMBER = 56; - private de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage askKickPlayerMessage_; - /** - * optional .AskKickPlayerMessage askKickPlayerMessage = 56; - */ - public boolean hasAskKickPlayerMessage() { - return ((bitField1_ & 0x00800000) == 0x00800000); - } - /** - * optional .AskKickPlayerMessage askKickPlayerMessage = 56; - */ - public de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage getAskKickPlayerMessage() { - return askKickPlayerMessage_; - } - - // optional .AskKickDeniedMessage askKickDeniedMessage = 57; - public static final int ASKKICKDENIEDMESSAGE_FIELD_NUMBER = 57; - private de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage askKickDeniedMessage_; - /** - * optional .AskKickDeniedMessage askKickDeniedMessage = 57; - */ - public boolean hasAskKickDeniedMessage() { - return ((bitField1_ & 0x01000000) == 0x01000000); - } - /** - * optional .AskKickDeniedMessage askKickDeniedMessage = 57; - */ - public de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage getAskKickDeniedMessage() { - return askKickDeniedMessage_; - } - - // optional .StartKickPetitionMessage startKickPetitionMessage = 58; - public static final int STARTKICKPETITIONMESSAGE_FIELD_NUMBER = 58; - private de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage startKickPetitionMessage_; - /** - * optional .StartKickPetitionMessage startKickPetitionMessage = 58; - */ - public boolean hasStartKickPetitionMessage() { - return ((bitField1_ & 0x02000000) == 0x02000000); - } - /** - * optional .StartKickPetitionMessage startKickPetitionMessage = 58; - */ - public de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage getStartKickPetitionMessage() { - return startKickPetitionMessage_; - } - - // optional .VoteKickRequestMessage voteKickRequestMessage = 59; - public static final int VOTEKICKREQUESTMESSAGE_FIELD_NUMBER = 59; - private de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage voteKickRequestMessage_; - /** - * optional .VoteKickRequestMessage voteKickRequestMessage = 59; - */ - public boolean hasVoteKickRequestMessage() { - return ((bitField1_ & 0x04000000) == 0x04000000); - } - /** - * optional .VoteKickRequestMessage voteKickRequestMessage = 59; - */ - public de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage getVoteKickRequestMessage() { - return voteKickRequestMessage_; - } - - // optional .VoteKickReplyMessage voteKickReplyMessage = 60; - public static final int VOTEKICKREPLYMESSAGE_FIELD_NUMBER = 60; - private de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage voteKickReplyMessage_; - /** - * optional .VoteKickReplyMessage voteKickReplyMessage = 60; - */ - public boolean hasVoteKickReplyMessage() { - return ((bitField1_ & 0x08000000) == 0x08000000); - } - /** - * optional .VoteKickReplyMessage voteKickReplyMessage = 60; - */ - public de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage getVoteKickReplyMessage() { - return voteKickReplyMessage_; - } - - // optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 61; - public static final int KICKPETITIONUPDATEMESSAGE_FIELD_NUMBER = 61; - private de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage kickPetitionUpdateMessage_; - /** - * optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 61; - */ - public boolean hasKickPetitionUpdateMessage() { - return ((bitField1_ & 0x10000000) == 0x10000000); - } - /** - * optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 61; - */ - public de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage getKickPetitionUpdateMessage() { - return kickPetitionUpdateMessage_; - } - - // optional .EndKickPetitionMessage endKickPetitionMessage = 62; - public static final int ENDKICKPETITIONMESSAGE_FIELD_NUMBER = 62; - private de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage endKickPetitionMessage_; - /** - * optional .EndKickPetitionMessage endKickPetitionMessage = 62; - */ - public boolean hasEndKickPetitionMessage() { - return ((bitField1_ & 0x20000000) == 0x20000000); - } - /** - * optional .EndKickPetitionMessage endKickPetitionMessage = 62; - */ - public de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage getEndKickPetitionMessage() { - return endKickPetitionMessage_; - } - - // optional .StatisticsMessage statisticsMessage = 63; - public static final int STATISTICSMESSAGE_FIELD_NUMBER = 63; - private de.pokerth.protocol.ProtoBuf.StatisticsMessage statisticsMessage_; - /** - * optional .StatisticsMessage statisticsMessage = 63; - */ - public boolean hasStatisticsMessage() { - return ((bitField1_ & 0x40000000) == 0x40000000); - } - /** - * optional .StatisticsMessage statisticsMessage = 63; - */ - public de.pokerth.protocol.ProtoBuf.StatisticsMessage getStatisticsMessage() { - return statisticsMessage_; - } - - // optional .ChatRequestMessage chatRequestMessage = 64; - public static final int CHATREQUESTMESSAGE_FIELD_NUMBER = 64; - private de.pokerth.protocol.ProtoBuf.ChatRequestMessage chatRequestMessage_; - /** - * optional .ChatRequestMessage chatRequestMessage = 64; - */ - public boolean hasChatRequestMessage() { - return ((bitField1_ & 0x80000000) == 0x80000000); - } - /** - * optional .ChatRequestMessage chatRequestMessage = 64; - */ - public de.pokerth.protocol.ProtoBuf.ChatRequestMessage getChatRequestMessage() { - return chatRequestMessage_; - } - - // optional .ChatMessage chatMessage = 65; - public static final int CHATMESSAGE_FIELD_NUMBER = 65; - private de.pokerth.protocol.ProtoBuf.ChatMessage chatMessage_; - /** - * optional .ChatMessage chatMessage = 65; - */ - public boolean hasChatMessage() { - return ((bitField2_ & 0x00000001) == 0x00000001); - } - /** - * optional .ChatMessage chatMessage = 65; - */ - public de.pokerth.protocol.ProtoBuf.ChatMessage getChatMessage() { - return chatMessage_; - } - - // optional .ChatRejectMessage chatRejectMessage = 66; - public static final int CHATREJECTMESSAGE_FIELD_NUMBER = 66; - private de.pokerth.protocol.ProtoBuf.ChatRejectMessage chatRejectMessage_; - /** - * optional .ChatRejectMessage chatRejectMessage = 66; - */ - public boolean hasChatRejectMessage() { - return ((bitField2_ & 0x00000002) == 0x00000002); - } - /** - * optional .ChatRejectMessage chatRejectMessage = 66; - */ - public de.pokerth.protocol.ProtoBuf.ChatRejectMessage getChatRejectMessage() { - return chatRejectMessage_; - } - - // optional .DialogMessage dialogMessage = 67; - public static final int DIALOGMESSAGE_FIELD_NUMBER = 67; - private de.pokerth.protocol.ProtoBuf.DialogMessage dialogMessage_; - /** - * optional .DialogMessage dialogMessage = 67; - */ - public boolean hasDialogMessage() { - return ((bitField2_ & 0x00000004) == 0x00000004); - } - /** - * optional .DialogMessage dialogMessage = 67; - */ - public de.pokerth.protocol.ProtoBuf.DialogMessage getDialogMessage() { - return dialogMessage_; - } - - // optional .TimeoutWarningMessage timeoutWarningMessage = 68; - public static final int TIMEOUTWARNINGMESSAGE_FIELD_NUMBER = 68; - private de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage timeoutWarningMessage_; - /** - * optional .TimeoutWarningMessage timeoutWarningMessage = 68; - */ - public boolean hasTimeoutWarningMessage() { - return ((bitField2_ & 0x00000008) == 0x00000008); - } - /** - * optional .TimeoutWarningMessage timeoutWarningMessage = 68; - */ - public de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage getTimeoutWarningMessage() { - return timeoutWarningMessage_; - } - - // optional .ResetTimeoutMessage resetTimeoutMessage = 69; - public static final int RESETTIMEOUTMESSAGE_FIELD_NUMBER = 69; - private de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage resetTimeoutMessage_; - /** - * optional .ResetTimeoutMessage resetTimeoutMessage = 69; - */ - public boolean hasResetTimeoutMessage() { - return ((bitField2_ & 0x00000010) == 0x00000010); - } - /** - * optional .ResetTimeoutMessage resetTimeoutMessage = 69; - */ - public de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage getResetTimeoutMessage() { - return resetTimeoutMessage_; - } - - // optional .ReportAvatarMessage reportAvatarMessage = 70; - public static final int REPORTAVATARMESSAGE_FIELD_NUMBER = 70; - private de.pokerth.protocol.ProtoBuf.ReportAvatarMessage reportAvatarMessage_; - /** - * optional .ReportAvatarMessage reportAvatarMessage = 70; - */ - public boolean hasReportAvatarMessage() { - return ((bitField2_ & 0x00000020) == 0x00000020); - } - /** - * optional .ReportAvatarMessage reportAvatarMessage = 70; - */ - public de.pokerth.protocol.ProtoBuf.ReportAvatarMessage getReportAvatarMessage() { - return reportAvatarMessage_; - } - - // optional .ReportAvatarAckMessage reportAvatarAckMessage = 71; - public static final int REPORTAVATARACKMESSAGE_FIELD_NUMBER = 71; - private de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage reportAvatarAckMessage_; - /** - * optional .ReportAvatarAckMessage reportAvatarAckMessage = 71; - */ - public boolean hasReportAvatarAckMessage() { - return ((bitField2_ & 0x00000040) == 0x00000040); - } - /** - * optional .ReportAvatarAckMessage reportAvatarAckMessage = 71; - */ - public de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage getReportAvatarAckMessage() { - return reportAvatarAckMessage_; - } - - // optional .ReportGameMessage reportGameMessage = 72; - public static final int REPORTGAMEMESSAGE_FIELD_NUMBER = 72; - private de.pokerth.protocol.ProtoBuf.ReportGameMessage reportGameMessage_; - /** - * optional .ReportGameMessage reportGameMessage = 72; - */ - public boolean hasReportGameMessage() { - return ((bitField2_ & 0x00000080) == 0x00000080); - } - /** - * optional .ReportGameMessage reportGameMessage = 72; - */ - public de.pokerth.protocol.ProtoBuf.ReportGameMessage getReportGameMessage() { - return reportGameMessage_; - } - - // optional .ReportGameAckMessage reportGameAckMessage = 73; - public static final int REPORTGAMEACKMESSAGE_FIELD_NUMBER = 73; - private de.pokerth.protocol.ProtoBuf.ReportGameAckMessage reportGameAckMessage_; - /** - * optional .ReportGameAckMessage reportGameAckMessage = 73; - */ - public boolean hasReportGameAckMessage() { - return ((bitField2_ & 0x00000100) == 0x00000100); - } - /** - * optional .ReportGameAckMessage reportGameAckMessage = 73; - */ - public de.pokerth.protocol.ProtoBuf.ReportGameAckMessage getReportGameAckMessage() { - return reportGameAckMessage_; - } - - // optional .ErrorMessage errorMessage = 74; - public static final int ERRORMESSAGE_FIELD_NUMBER = 74; + // optional .ErrorMessage errorMessage = 1025; + public static final int ERRORMESSAGE_FIELD_NUMBER = 1025; private de.pokerth.protocol.ProtoBuf.ErrorMessage errorMessage_; /** - * optional .ErrorMessage errorMessage = 74; + * optional .ErrorMessage errorMessage = 1025; */ public boolean hasErrorMessage() { - return ((bitField2_ & 0x00000200) == 0x00000200); + return ((bitField0_ & 0x00000020) == 0x00000020); } /** - * optional .ErrorMessage errorMessage = 74; + * optional .ErrorMessage errorMessage = 1025; */ public de.pokerth.protocol.ProtoBuf.ErrorMessage getErrorMessage() { return errorMessage_; } - // optional .AdminRemoveGameMessage adminRemoveGameMessage = 75; - public static final int ADMINREMOVEGAMEMESSAGE_FIELD_NUMBER = 75; - private de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage adminRemoveGameMessage_; - /** - * optional .AdminRemoveGameMessage adminRemoveGameMessage = 75; - */ - public boolean hasAdminRemoveGameMessage() { - return ((bitField2_ & 0x00000400) == 0x00000400); - } - /** - * optional .AdminRemoveGameMessage adminRemoveGameMessage = 75; - */ - public de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage getAdminRemoveGameMessage() { - return adminRemoveGameMessage_; - } - - // optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 76; - public static final int ADMINREMOVEGAMEACKMESSAGE_FIELD_NUMBER = 76; - private de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage adminRemoveGameAckMessage_; - /** - * optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 76; - */ - public boolean hasAdminRemoveGameAckMessage() { - return ((bitField2_ & 0x00000800) == 0x00000800); - } - /** - * optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 76; - */ - public de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage getAdminRemoveGameAckMessage() { - return adminRemoveGameAckMessage_; - } - - // optional .AdminBanPlayerMessage adminBanPlayerMessage = 77; - public static final int ADMINBANPLAYERMESSAGE_FIELD_NUMBER = 77; - private de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage adminBanPlayerMessage_; - /** - * optional .AdminBanPlayerMessage adminBanPlayerMessage = 77; - */ - public boolean hasAdminBanPlayerMessage() { - return ((bitField2_ & 0x00001000) == 0x00001000); - } - /** - * optional .AdminBanPlayerMessage adminBanPlayerMessage = 77; - */ - public de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage getAdminBanPlayerMessage() { - return adminBanPlayerMessage_; - } - - // optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 78; - public static final int ADMINBANPLAYERACKMESSAGE_FIELD_NUMBER = 78; - private de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage adminBanPlayerAckMessage_; - /** - * optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 78; - */ - public boolean hasAdminBanPlayerAckMessage() { - return ((bitField2_ & 0x00002000) == 0x00002000); - } - /** - * optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 78; - */ - public de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage getAdminBanPlayerAckMessage() { - return adminBanPlayerAckMessage_; - } - - // optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 79; - public static final int GAMELISTSPECTATORJOINEDMESSAGE_FIELD_NUMBER = 79; - private de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage_; - /** - * optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 79; - */ - public boolean hasGameListSpectatorJoinedMessage() { - return ((bitField2_ & 0x00004000) == 0x00004000); - } - /** - * optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 79; - */ - public de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage getGameListSpectatorJoinedMessage() { - return gameListSpectatorJoinedMessage_; - } - - // optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 80; - public static final int GAMELISTSPECTATORLEFTMESSAGE_FIELD_NUMBER = 80; - private de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage gameListSpectatorLeftMessage_; - /** - * optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 80; - */ - public boolean hasGameListSpectatorLeftMessage() { - return ((bitField2_ & 0x00008000) == 0x00008000); - } - /** - * optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 80; - */ - public de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage getGameListSpectatorLeftMessage() { - return gameListSpectatorLeftMessage_; - } - - // optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 81; - public static final int GAMESPECTATORJOINEDMESSAGE_FIELD_NUMBER = 81; - private de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage gameSpectatorJoinedMessage_; - /** - * optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 81; - */ - public boolean hasGameSpectatorJoinedMessage() { - return ((bitField2_ & 0x00010000) == 0x00010000); - } - /** - * optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 81; - */ - public de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage getGameSpectatorJoinedMessage() { - return gameSpectatorJoinedMessage_; - } - - // optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 82; - public static final int GAMESPECTATORLEFTMESSAGE_FIELD_NUMBER = 82; - private de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage gameSpectatorLeftMessage_; - /** - * optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 82; - */ - public boolean hasGameSpectatorLeftMessage() { - return ((bitField2_ & 0x00020000) == 0x00020000); - } - /** - * optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 82; - */ - public de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage getGameSpectatorLeftMessage() { - return gameSpectatorLeftMessage_; - } - private void initFields() { - messageType_ = de.pokerth.protocol.ProtoBuf.PokerTHMessage.PokerTHMessageType.Type_AnnounceMessage; - announceMessage_ = de.pokerth.protocol.ProtoBuf.AnnounceMessage.getDefaultInstance(); - initMessage_ = de.pokerth.protocol.ProtoBuf.InitMessage.getDefaultInstance(); + messageType_ = de.pokerth.protocol.ProtoBuf.AuthMessage.AuthMessageType.Type_AuthClientRequestMessage; + authClientRequestMessage_ = de.pokerth.protocol.ProtoBuf.AuthClientRequestMessage.getDefaultInstance(); authServerChallengeMessage_ = de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage.getDefaultInstance(); authClientResponseMessage_ = de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage.getDefaultInstance(); authServerVerificationMessage_ = de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage.getDefaultInstance(); - initAckMessage_ = de.pokerth.protocol.ProtoBuf.InitAckMessage.getDefaultInstance(); - avatarRequestMessage_ = de.pokerth.protocol.ProtoBuf.AvatarRequestMessage.getDefaultInstance(); - avatarHeaderMessage_ = de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage.getDefaultInstance(); - avatarDataMessage_ = de.pokerth.protocol.ProtoBuf.AvatarDataMessage.getDefaultInstance(); - avatarEndMessage_ = de.pokerth.protocol.ProtoBuf.AvatarEndMessage.getDefaultInstance(); - unknownAvatarMessage_ = de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage.getDefaultInstance(); - playerListMessage_ = de.pokerth.protocol.ProtoBuf.PlayerListMessage.getDefaultInstance(); - gameListNewMessage_ = de.pokerth.protocol.ProtoBuf.GameListNewMessage.getDefaultInstance(); - gameListUpdateMessage_ = de.pokerth.protocol.ProtoBuf.GameListUpdateMessage.getDefaultInstance(); - gameListPlayerJoinedMessage_ = de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage.getDefaultInstance(); - gameListPlayerLeftMessage_ = de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage.getDefaultInstance(); - gameListAdminChangedMessage_ = de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage.getDefaultInstance(); - playerInfoRequestMessage_ = de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage.getDefaultInstance(); - playerInfoReplyMessage_ = de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.getDefaultInstance(); - subscriptionRequestMessage_ = de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.getDefaultInstance(); - joinExistingGameMessage_ = de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage.getDefaultInstance(); - joinNewGameMessage_ = de.pokerth.protocol.ProtoBuf.JoinNewGameMessage.getDefaultInstance(); - rejoinExistingGameMessage_ = de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage.getDefaultInstance(); - joinGameAckMessage_ = de.pokerth.protocol.ProtoBuf.JoinGameAckMessage.getDefaultInstance(); - joinGameFailedMessage_ = de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.getDefaultInstance(); - gamePlayerJoinedMessage_ = de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage.getDefaultInstance(); - gamePlayerLeftMessage_ = de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.getDefaultInstance(); - gameAdminChangedMessage_ = de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage.getDefaultInstance(); - removedFromGameMessage_ = de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.getDefaultInstance(); - kickPlayerRequestMessage_ = de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage.getDefaultInstance(); - leaveGameRequestMessage_ = de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage.getDefaultInstance(); - invitePlayerToGameMessage_ = de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage.getDefaultInstance(); - inviteNotifyMessage_ = de.pokerth.protocol.ProtoBuf.InviteNotifyMessage.getDefaultInstance(); - rejectGameInvitationMessage_ = de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.getDefaultInstance(); - rejectInvNotifyMessage_ = de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage.getDefaultInstance(); - startEventMessage_ = de.pokerth.protocol.ProtoBuf.StartEventMessage.getDefaultInstance(); - startEventAckMessage_ = de.pokerth.protocol.ProtoBuf.StartEventAckMessage.getDefaultInstance(); - gameStartInitialMessage_ = de.pokerth.protocol.ProtoBuf.GameStartInitialMessage.getDefaultInstance(); - gameStartRejoinMessage_ = de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.getDefaultInstance(); - handStartMessage_ = de.pokerth.protocol.ProtoBuf.HandStartMessage.getDefaultInstance(); - playersTurnMessage_ = de.pokerth.protocol.ProtoBuf.PlayersTurnMessage.getDefaultInstance(); - myActionRequestMessage_ = de.pokerth.protocol.ProtoBuf.MyActionRequestMessage.getDefaultInstance(); - yourActionRejectedMessage_ = de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.getDefaultInstance(); - playersActionDoneMessage_ = de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage.getDefaultInstance(); - dealFlopCardsMessage_ = de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage.getDefaultInstance(); - dealTurnCardMessage_ = de.pokerth.protocol.ProtoBuf.DealTurnCardMessage.getDefaultInstance(); - dealRiverCardMessage_ = de.pokerth.protocol.ProtoBuf.DealRiverCardMessage.getDefaultInstance(); - allInShowCardsMessage_ = de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.getDefaultInstance(); - endOfHandShowCardsMessage_ = de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage.getDefaultInstance(); - endOfHandHideCardsMessage_ = de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage.getDefaultInstance(); - showMyCardsRequestMessage_ = de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage.getDefaultInstance(); - afterHandShowCardsMessage_ = de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage.getDefaultInstance(); - endOfGameMessage_ = de.pokerth.protocol.ProtoBuf.EndOfGameMessage.getDefaultInstance(); - playerIdChangedMessage_ = de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage.getDefaultInstance(); - askKickPlayerMessage_ = de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage.getDefaultInstance(); - askKickDeniedMessage_ = de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.getDefaultInstance(); - startKickPetitionMessage_ = de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage.getDefaultInstance(); - voteKickRequestMessage_ = de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage.getDefaultInstance(); - voteKickReplyMessage_ = de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.getDefaultInstance(); - kickPetitionUpdateMessage_ = de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage.getDefaultInstance(); - endKickPetitionMessage_ = de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.getDefaultInstance(); - statisticsMessage_ = de.pokerth.protocol.ProtoBuf.StatisticsMessage.getDefaultInstance(); - chatRequestMessage_ = de.pokerth.protocol.ProtoBuf.ChatRequestMessage.getDefaultInstance(); - chatMessage_ = de.pokerth.protocol.ProtoBuf.ChatMessage.getDefaultInstance(); - chatRejectMessage_ = de.pokerth.protocol.ProtoBuf.ChatRejectMessage.getDefaultInstance(); - dialogMessage_ = de.pokerth.protocol.ProtoBuf.DialogMessage.getDefaultInstance(); - timeoutWarningMessage_ = de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.getDefaultInstance(); - resetTimeoutMessage_ = de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage.getDefaultInstance(); - reportAvatarMessage_ = de.pokerth.protocol.ProtoBuf.ReportAvatarMessage.getDefaultInstance(); - reportAvatarAckMessage_ = de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.getDefaultInstance(); - reportGameMessage_ = de.pokerth.protocol.ProtoBuf.ReportGameMessage.getDefaultInstance(); - reportGameAckMessage_ = de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.getDefaultInstance(); errorMessage_ = de.pokerth.protocol.ProtoBuf.ErrorMessage.getDefaultInstance(); - adminRemoveGameMessage_ = de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage.getDefaultInstance(); - adminRemoveGameAckMessage_ = de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.getDefaultInstance(); - adminBanPlayerMessage_ = de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage.getDefaultInstance(); - adminBanPlayerAckMessage_ = de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.getDefaultInstance(); - gameListSpectatorJoinedMessage_ = de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage.getDefaultInstance(); - gameListSpectatorLeftMessage_ = de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage.getDefaultInstance(); - gameSpectatorJoinedMessage_ = de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage.getDefaultInstance(); - gameSpectatorLeftMessage_ = de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage.getDefaultInstance(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { @@ -53922,14 +48239,8 @@ public final class ProtoBuf { memoizedIsInitialized = 0; return false; } - if (hasAnnounceMessage()) { - if (!getAnnounceMessage().isInitialized()) { - memoizedIsInitialized = 0; - return false; - } - } - if (hasInitMessage()) { - if (!getInitMessage().isInitialized()) { + if (hasAuthClientRequestMessage()) { + if (!getAuthClientRequestMessage().isInitialized()) { memoizedIsInitialized = 0; return false; } @@ -53952,12 +48263,2824 @@ public final class ProtoBuf { return false; } } - if (hasInitAckMessage()) { - if (!getInitAckMessage().isInitialized()) { + if (hasErrorMessage()) { + if (!getErrorMessage().isInitialized()) { memoizedIsInitialized = 0; return false; } } + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); + if (((bitField0_ & 0x00000001) == 0x00000001)) { + output.writeEnum(1, messageType_.getNumber()); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + output.writeMessage(2, authClientRequestMessage_); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + output.writeMessage(3, authServerChallengeMessage_); + } + if (((bitField0_ & 0x00000008) == 0x00000008)) { + output.writeMessage(4, authClientResponseMessage_); + } + if (((bitField0_ & 0x00000010) == 0x00000010)) { + output.writeMessage(5, authServerVerificationMessage_); + } + if (((bitField0_ & 0x00000020) == 0x00000020)) { + output.writeMessage(1025, errorMessage_); + } + } + + private int memoizedSerializedSize = -1; + public int getSerializedSize() { + int size = memoizedSerializedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) == 0x00000001)) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, messageType_.getNumber()); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, authClientRequestMessage_); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, authServerChallengeMessage_); + } + if (((bitField0_ & 0x00000008) == 0x00000008)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, authClientResponseMessage_); + } + if (((bitField0_ & 0x00000010) == 0x00000010)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, authServerVerificationMessage_); + } + if (((bitField0_ & 0x00000020) == 0x00000020)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1025, errorMessage_); + } + memoizedSerializedSize = size; + return size; + } + + private static final long serialVersionUID = 0L; + @java.lang.Override + protected java.lang.Object writeReplace() + throws java.io.ObjectStreamException { + return super.writeReplace(); + } + + public static de.pokerth.protocol.ProtoBuf.AuthMessage parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.AuthMessage parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.AuthMessage parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.AuthMessage parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.AuthMessage parseFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.AuthMessage parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.AuthMessage parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.AuthMessage parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.AuthMessage parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.AuthMessage parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + + public static Builder newBuilder() { return Builder.create(); } + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.AuthMessage prototype) { + return newBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { return newBuilder(this); } + + /** + * Protobuf type {@code AuthMessage} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageLite.Builder< + de.pokerth.protocol.ProtoBuf.AuthMessage, Builder> + implements de.pokerth.protocol.ProtoBuf.AuthMessageOrBuilder { + // Construct using de.pokerth.protocol.ProtoBuf.AuthMessage.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + } + private static Builder create() { + return new Builder(); + } + + public Builder clear() { + super.clear(); + messageType_ = de.pokerth.protocol.ProtoBuf.AuthMessage.AuthMessageType.Type_AuthClientRequestMessage; + bitField0_ = (bitField0_ & ~0x00000001); + authClientRequestMessage_ = de.pokerth.protocol.ProtoBuf.AuthClientRequestMessage.getDefaultInstance(); + bitField0_ = (bitField0_ & ~0x00000002); + authServerChallengeMessage_ = de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage.getDefaultInstance(); + bitField0_ = (bitField0_ & ~0x00000004); + authClientResponseMessage_ = de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage.getDefaultInstance(); + bitField0_ = (bitField0_ & ~0x00000008); + authServerVerificationMessage_ = de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage.getDefaultInstance(); + bitField0_ = (bitField0_ & ~0x00000010); + errorMessage_ = de.pokerth.protocol.ProtoBuf.ErrorMessage.getDefaultInstance(); + bitField0_ = (bitField0_ & ~0x00000020); + return this; + } + + public Builder clone() { + return create().mergeFrom(buildPartial()); + } + + public de.pokerth.protocol.ProtoBuf.AuthMessage getDefaultInstanceForType() { + return de.pokerth.protocol.ProtoBuf.AuthMessage.getDefaultInstance(); + } + + public de.pokerth.protocol.ProtoBuf.AuthMessage build() { + de.pokerth.protocol.ProtoBuf.AuthMessage result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public de.pokerth.protocol.ProtoBuf.AuthMessage buildPartial() { + de.pokerth.protocol.ProtoBuf.AuthMessage result = new de.pokerth.protocol.ProtoBuf.AuthMessage(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + to_bitField0_ |= 0x00000001; + } + result.messageType_ = messageType_; + if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + to_bitField0_ |= 0x00000002; + } + result.authClientRequestMessage_ = authClientRequestMessage_; + if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + to_bitField0_ |= 0x00000004; + } + result.authServerChallengeMessage_ = authServerChallengeMessage_; + if (((from_bitField0_ & 0x00000008) == 0x00000008)) { + to_bitField0_ |= 0x00000008; + } + result.authClientResponseMessage_ = authClientResponseMessage_; + if (((from_bitField0_ & 0x00000010) == 0x00000010)) { + to_bitField0_ |= 0x00000010; + } + result.authServerVerificationMessage_ = authServerVerificationMessage_; + if (((from_bitField0_ & 0x00000020) == 0x00000020)) { + to_bitField0_ |= 0x00000020; + } + result.errorMessage_ = errorMessage_; + result.bitField0_ = to_bitField0_; + return result; + } + + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.AuthMessage other) { + if (other == de.pokerth.protocol.ProtoBuf.AuthMessage.getDefaultInstance()) return this; + if (other.hasMessageType()) { + setMessageType(other.getMessageType()); + } + if (other.hasAuthClientRequestMessage()) { + mergeAuthClientRequestMessage(other.getAuthClientRequestMessage()); + } + if (other.hasAuthServerChallengeMessage()) { + mergeAuthServerChallengeMessage(other.getAuthServerChallengeMessage()); + } + if (other.hasAuthClientResponseMessage()) { + mergeAuthClientResponseMessage(other.getAuthClientResponseMessage()); + } + if (other.hasAuthServerVerificationMessage()) { + mergeAuthServerVerificationMessage(other.getAuthServerVerificationMessage()); + } + if (other.hasErrorMessage()) { + mergeErrorMessage(other.getErrorMessage()); + } + return this; + } + + public final boolean isInitialized() { + if (!hasMessageType()) { + + return false; + } + if (hasAuthClientRequestMessage()) { + if (!getAuthClientRequestMessage().isInitialized()) { + + return false; + } + } + if (hasAuthServerChallengeMessage()) { + if (!getAuthServerChallengeMessage().isInitialized()) { + + return false; + } + } + if (hasAuthClientResponseMessage()) { + if (!getAuthClientResponseMessage().isInitialized()) { + + return false; + } + } + if (hasAuthServerVerificationMessage()) { + if (!getAuthServerVerificationMessage().isInitialized()) { + + return false; + } + } + if (hasErrorMessage()) { + if (!getErrorMessage().isInitialized()) { + + return false; + } + } + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + de.pokerth.protocol.ProtoBuf.AuthMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.AuthMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + // required .AuthMessage.AuthMessageType messageType = 1; + private de.pokerth.protocol.ProtoBuf.AuthMessage.AuthMessageType messageType_ = de.pokerth.protocol.ProtoBuf.AuthMessage.AuthMessageType.Type_AuthClientRequestMessage; + /** + * required .AuthMessage.AuthMessageType messageType = 1; + */ + public boolean hasMessageType() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * required .AuthMessage.AuthMessageType messageType = 1; + */ + public de.pokerth.protocol.ProtoBuf.AuthMessage.AuthMessageType getMessageType() { + return messageType_; + } + /** + * required .AuthMessage.AuthMessageType messageType = 1; + */ + public Builder setMessageType(de.pokerth.protocol.ProtoBuf.AuthMessage.AuthMessageType value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + messageType_ = value; + + return this; + } + /** + * required .AuthMessage.AuthMessageType messageType = 1; + */ + public Builder clearMessageType() { + bitField0_ = (bitField0_ & ~0x00000001); + messageType_ = de.pokerth.protocol.ProtoBuf.AuthMessage.AuthMessageType.Type_AuthClientRequestMessage; + + return this; + } + + // optional .AuthClientRequestMessage authClientRequestMessage = 2; + private de.pokerth.protocol.ProtoBuf.AuthClientRequestMessage authClientRequestMessage_ = de.pokerth.protocol.ProtoBuf.AuthClientRequestMessage.getDefaultInstance(); + /** + * optional .AuthClientRequestMessage authClientRequestMessage = 2; + */ + public boolean hasAuthClientRequestMessage() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * optional .AuthClientRequestMessage authClientRequestMessage = 2; + */ + public de.pokerth.protocol.ProtoBuf.AuthClientRequestMessage getAuthClientRequestMessage() { + return authClientRequestMessage_; + } + /** + * optional .AuthClientRequestMessage authClientRequestMessage = 2; + */ + public Builder setAuthClientRequestMessage(de.pokerth.protocol.ProtoBuf.AuthClientRequestMessage value) { + if (value == null) { + throw new NullPointerException(); + } + authClientRequestMessage_ = value; + + bitField0_ |= 0x00000002; + return this; + } + /** + * optional .AuthClientRequestMessage authClientRequestMessage = 2; + */ + public Builder setAuthClientRequestMessage( + de.pokerth.protocol.ProtoBuf.AuthClientRequestMessage.Builder builderForValue) { + authClientRequestMessage_ = builderForValue.build(); + + bitField0_ |= 0x00000002; + return this; + } + /** + * optional .AuthClientRequestMessage authClientRequestMessage = 2; + */ + public Builder mergeAuthClientRequestMessage(de.pokerth.protocol.ProtoBuf.AuthClientRequestMessage value) { + if (((bitField0_ & 0x00000002) == 0x00000002) && + authClientRequestMessage_ != de.pokerth.protocol.ProtoBuf.AuthClientRequestMessage.getDefaultInstance()) { + authClientRequestMessage_ = + de.pokerth.protocol.ProtoBuf.AuthClientRequestMessage.newBuilder(authClientRequestMessage_).mergeFrom(value).buildPartial(); + } else { + authClientRequestMessage_ = value; + } + + bitField0_ |= 0x00000002; + return this; + } + /** + * optional .AuthClientRequestMessage authClientRequestMessage = 2; + */ + public Builder clearAuthClientRequestMessage() { + authClientRequestMessage_ = de.pokerth.protocol.ProtoBuf.AuthClientRequestMessage.getDefaultInstance(); + + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + + // optional .AuthServerChallengeMessage authServerChallengeMessage = 3; + private de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage authServerChallengeMessage_ = de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage.getDefaultInstance(); + /** + * optional .AuthServerChallengeMessage authServerChallengeMessage = 3; + */ + public boolean hasAuthServerChallengeMessage() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + /** + * optional .AuthServerChallengeMessage authServerChallengeMessage = 3; + */ + public de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage getAuthServerChallengeMessage() { + return authServerChallengeMessage_; + } + /** + * optional .AuthServerChallengeMessage authServerChallengeMessage = 3; + */ + public Builder setAuthServerChallengeMessage(de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage value) { + if (value == null) { + throw new NullPointerException(); + } + authServerChallengeMessage_ = value; + + bitField0_ |= 0x00000004; + return this; + } + /** + * optional .AuthServerChallengeMessage authServerChallengeMessage = 3; + */ + public Builder setAuthServerChallengeMessage( + de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage.Builder builderForValue) { + authServerChallengeMessage_ = builderForValue.build(); + + bitField0_ |= 0x00000004; + return this; + } + /** + * optional .AuthServerChallengeMessage authServerChallengeMessage = 3; + */ + public Builder mergeAuthServerChallengeMessage(de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage value) { + if (((bitField0_ & 0x00000004) == 0x00000004) && + authServerChallengeMessage_ != de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage.getDefaultInstance()) { + authServerChallengeMessage_ = + de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage.newBuilder(authServerChallengeMessage_).mergeFrom(value).buildPartial(); + } else { + authServerChallengeMessage_ = value; + } + + bitField0_ |= 0x00000004; + return this; + } + /** + * optional .AuthServerChallengeMessage authServerChallengeMessage = 3; + */ + public Builder clearAuthServerChallengeMessage() { + authServerChallengeMessage_ = de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage.getDefaultInstance(); + + bitField0_ = (bitField0_ & ~0x00000004); + return this; + } + + // optional .AuthClientResponseMessage authClientResponseMessage = 4; + private de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage authClientResponseMessage_ = de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage.getDefaultInstance(); + /** + * optional .AuthClientResponseMessage authClientResponseMessage = 4; + */ + public boolean hasAuthClientResponseMessage() { + return ((bitField0_ & 0x00000008) == 0x00000008); + } + /** + * optional .AuthClientResponseMessage authClientResponseMessage = 4; + */ + public de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage getAuthClientResponseMessage() { + return authClientResponseMessage_; + } + /** + * optional .AuthClientResponseMessage authClientResponseMessage = 4; + */ + public Builder setAuthClientResponseMessage(de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage value) { + if (value == null) { + throw new NullPointerException(); + } + authClientResponseMessage_ = value; + + bitField0_ |= 0x00000008; + return this; + } + /** + * optional .AuthClientResponseMessage authClientResponseMessage = 4; + */ + public Builder setAuthClientResponseMessage( + de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage.Builder builderForValue) { + authClientResponseMessage_ = builderForValue.build(); + + bitField0_ |= 0x00000008; + return this; + } + /** + * optional .AuthClientResponseMessage authClientResponseMessage = 4; + */ + public Builder mergeAuthClientResponseMessage(de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage value) { + if (((bitField0_ & 0x00000008) == 0x00000008) && + authClientResponseMessage_ != de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage.getDefaultInstance()) { + authClientResponseMessage_ = + de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage.newBuilder(authClientResponseMessage_).mergeFrom(value).buildPartial(); + } else { + authClientResponseMessage_ = value; + } + + bitField0_ |= 0x00000008; + return this; + } + /** + * optional .AuthClientResponseMessage authClientResponseMessage = 4; + */ + public Builder clearAuthClientResponseMessage() { + authClientResponseMessage_ = de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage.getDefaultInstance(); + + bitField0_ = (bitField0_ & ~0x00000008); + return this; + } + + // optional .AuthServerVerificationMessage authServerVerificationMessage = 5; + private de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage authServerVerificationMessage_ = de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage.getDefaultInstance(); + /** + * optional .AuthServerVerificationMessage authServerVerificationMessage = 5; + */ + public boolean hasAuthServerVerificationMessage() { + return ((bitField0_ & 0x00000010) == 0x00000010); + } + /** + * optional .AuthServerVerificationMessage authServerVerificationMessage = 5; + */ + public de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage getAuthServerVerificationMessage() { + return authServerVerificationMessage_; + } + /** + * optional .AuthServerVerificationMessage authServerVerificationMessage = 5; + */ + public Builder setAuthServerVerificationMessage(de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage value) { + if (value == null) { + throw new NullPointerException(); + } + authServerVerificationMessage_ = value; + + bitField0_ |= 0x00000010; + return this; + } + /** + * optional .AuthServerVerificationMessage authServerVerificationMessage = 5; + */ + public Builder setAuthServerVerificationMessage( + de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage.Builder builderForValue) { + authServerVerificationMessage_ = builderForValue.build(); + + bitField0_ |= 0x00000010; + return this; + } + /** + * optional .AuthServerVerificationMessage authServerVerificationMessage = 5; + */ + public Builder mergeAuthServerVerificationMessage(de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage value) { + if (((bitField0_ & 0x00000010) == 0x00000010) && + authServerVerificationMessage_ != de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage.getDefaultInstance()) { + authServerVerificationMessage_ = + de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage.newBuilder(authServerVerificationMessage_).mergeFrom(value).buildPartial(); + } else { + authServerVerificationMessage_ = value; + } + + bitField0_ |= 0x00000010; + return this; + } + /** + * optional .AuthServerVerificationMessage authServerVerificationMessage = 5; + */ + public Builder clearAuthServerVerificationMessage() { + authServerVerificationMessage_ = de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage.getDefaultInstance(); + + bitField0_ = (bitField0_ & ~0x00000010); + return this; + } + + // optional .ErrorMessage errorMessage = 1025; + private de.pokerth.protocol.ProtoBuf.ErrorMessage errorMessage_ = de.pokerth.protocol.ProtoBuf.ErrorMessage.getDefaultInstance(); + /** + * optional .ErrorMessage errorMessage = 1025; + */ + public boolean hasErrorMessage() { + return ((bitField0_ & 0x00000020) == 0x00000020); + } + /** + * optional .ErrorMessage errorMessage = 1025; + */ + public de.pokerth.protocol.ProtoBuf.ErrorMessage getErrorMessage() { + return errorMessage_; + } + /** + * optional .ErrorMessage errorMessage = 1025; + */ + public Builder setErrorMessage(de.pokerth.protocol.ProtoBuf.ErrorMessage value) { + if (value == null) { + throw new NullPointerException(); + } + errorMessage_ = value; + + bitField0_ |= 0x00000020; + return this; + } + /** + * optional .ErrorMessage errorMessage = 1025; + */ + public Builder setErrorMessage( + de.pokerth.protocol.ProtoBuf.ErrorMessage.Builder builderForValue) { + errorMessage_ = builderForValue.build(); + + bitField0_ |= 0x00000020; + return this; + } + /** + * optional .ErrorMessage errorMessage = 1025; + */ + public Builder mergeErrorMessage(de.pokerth.protocol.ProtoBuf.ErrorMessage value) { + if (((bitField0_ & 0x00000020) == 0x00000020) && + errorMessage_ != de.pokerth.protocol.ProtoBuf.ErrorMessage.getDefaultInstance()) { + errorMessage_ = + de.pokerth.protocol.ProtoBuf.ErrorMessage.newBuilder(errorMessage_).mergeFrom(value).buildPartial(); + } else { + errorMessage_ = value; + } + + bitField0_ |= 0x00000020; + return this; + } + /** + * optional .ErrorMessage errorMessage = 1025; + */ + public Builder clearErrorMessage() { + errorMessage_ = de.pokerth.protocol.ProtoBuf.ErrorMessage.getDefaultInstance(); + + bitField0_ = (bitField0_ & ~0x00000020); + return this; + } + + // @@protoc_insertion_point(builder_scope:AuthMessage) + } + + static { + defaultInstance = new AuthMessage(true); + defaultInstance.initFields(); + } + + // @@protoc_insertion_point(class_scope:AuthMessage) + } + + public interface LobbyMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + + // required .LobbyMessage.LobbyMessageType messageType = 1; + /** + * required .LobbyMessage.LobbyMessageType messageType = 1; + */ + boolean hasMessageType(); + /** + * required .LobbyMessage.LobbyMessageType messageType = 1; + */ + de.pokerth.protocol.ProtoBuf.LobbyMessage.LobbyMessageType getMessageType(); + + // optional .InitMessage initMessage = 2; + /** + * optional .InitMessage initMessage = 2; + */ + boolean hasInitMessage(); + /** + * optional .InitMessage initMessage = 2; + */ + de.pokerth.protocol.ProtoBuf.InitMessage getInitMessage(); + + // optional .InitAckMessage initAckMessage = 3; + /** + * optional .InitAckMessage initAckMessage = 3; + */ + boolean hasInitAckMessage(); + /** + * optional .InitAckMessage initAckMessage = 3; + */ + de.pokerth.protocol.ProtoBuf.InitAckMessage getInitAckMessage(); + + // optional .AvatarRequestMessage avatarRequestMessage = 4; + /** + * optional .AvatarRequestMessage avatarRequestMessage = 4; + */ + boolean hasAvatarRequestMessage(); + /** + * optional .AvatarRequestMessage avatarRequestMessage = 4; + */ + de.pokerth.protocol.ProtoBuf.AvatarRequestMessage getAvatarRequestMessage(); + + // optional .AvatarHeaderMessage avatarHeaderMessage = 5; + /** + * optional .AvatarHeaderMessage avatarHeaderMessage = 5; + */ + boolean hasAvatarHeaderMessage(); + /** + * optional .AvatarHeaderMessage avatarHeaderMessage = 5; + */ + de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage getAvatarHeaderMessage(); + + // optional .AvatarDataMessage avatarDataMessage = 6; + /** + * optional .AvatarDataMessage avatarDataMessage = 6; + */ + boolean hasAvatarDataMessage(); + /** + * optional .AvatarDataMessage avatarDataMessage = 6; + */ + de.pokerth.protocol.ProtoBuf.AvatarDataMessage getAvatarDataMessage(); + + // optional .AvatarEndMessage avatarEndMessage = 7; + /** + * optional .AvatarEndMessage avatarEndMessage = 7; + */ + boolean hasAvatarEndMessage(); + /** + * optional .AvatarEndMessage avatarEndMessage = 7; + */ + de.pokerth.protocol.ProtoBuf.AvatarEndMessage getAvatarEndMessage(); + + // optional .UnknownAvatarMessage unknownAvatarMessage = 8; + /** + * optional .UnknownAvatarMessage unknownAvatarMessage = 8; + */ + boolean hasUnknownAvatarMessage(); + /** + * optional .UnknownAvatarMessage unknownAvatarMessage = 8; + */ + de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage getUnknownAvatarMessage(); + + // optional .PlayerListMessage playerListMessage = 9; + /** + * optional .PlayerListMessage playerListMessage = 9; + */ + boolean hasPlayerListMessage(); + /** + * optional .PlayerListMessage playerListMessage = 9; + */ + de.pokerth.protocol.ProtoBuf.PlayerListMessage getPlayerListMessage(); + + // optional .GameListNewMessage gameListNewMessage = 10; + /** + * optional .GameListNewMessage gameListNewMessage = 10; + */ + boolean hasGameListNewMessage(); + /** + * optional .GameListNewMessage gameListNewMessage = 10; + */ + de.pokerth.protocol.ProtoBuf.GameListNewMessage getGameListNewMessage(); + + // optional .GameListUpdateMessage gameListUpdateMessage = 11; + /** + * optional .GameListUpdateMessage gameListUpdateMessage = 11; + */ + boolean hasGameListUpdateMessage(); + /** + * optional .GameListUpdateMessage gameListUpdateMessage = 11; + */ + de.pokerth.protocol.ProtoBuf.GameListUpdateMessage getGameListUpdateMessage(); + + // optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 12; + /** + * optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 12; + */ + boolean hasGameListPlayerJoinedMessage(); + /** + * optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 12; + */ + de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage getGameListPlayerJoinedMessage(); + + // optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 13; + /** + * optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 13; + */ + boolean hasGameListPlayerLeftMessage(); + /** + * optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 13; + */ + de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage getGameListPlayerLeftMessage(); + + // optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 14; + /** + * optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 14; + */ + boolean hasGameListSpectatorJoinedMessage(); + /** + * optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 14; + */ + de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage getGameListSpectatorJoinedMessage(); + + // optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 15; + /** + * optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 15; + */ + boolean hasGameListSpectatorLeftMessage(); + /** + * optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 15; + */ + de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage getGameListSpectatorLeftMessage(); + + // optional .GameListAdminChangedMessage gameListAdminChangedMessage = 16; + /** + * optional .GameListAdminChangedMessage gameListAdminChangedMessage = 16; + */ + boolean hasGameListAdminChangedMessage(); + /** + * optional .GameListAdminChangedMessage gameListAdminChangedMessage = 16; + */ + de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage getGameListAdminChangedMessage(); + + // optional .PlayerInfoRequestMessage playerInfoRequestMessage = 17; + /** + * optional .PlayerInfoRequestMessage playerInfoRequestMessage = 17; + */ + boolean hasPlayerInfoRequestMessage(); + /** + * optional .PlayerInfoRequestMessage playerInfoRequestMessage = 17; + */ + de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage getPlayerInfoRequestMessage(); + + // optional .PlayerInfoReplyMessage playerInfoReplyMessage = 18; + /** + * optional .PlayerInfoReplyMessage playerInfoReplyMessage = 18; + */ + boolean hasPlayerInfoReplyMessage(); + /** + * optional .PlayerInfoReplyMessage playerInfoReplyMessage = 18; + */ + de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage getPlayerInfoReplyMessage(); + + // optional .SubscriptionRequestMessage subscriptionRequestMessage = 19; + /** + * optional .SubscriptionRequestMessage subscriptionRequestMessage = 19; + */ + boolean hasSubscriptionRequestMessage(); + /** + * optional .SubscriptionRequestMessage subscriptionRequestMessage = 19; + */ + de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage getSubscriptionRequestMessage(); + + // optional .SubscriptionReplyMessage subscriptionReplyMessage = 20; + /** + * optional .SubscriptionReplyMessage subscriptionReplyMessage = 20; + */ + boolean hasSubscriptionReplyMessage(); + /** + * optional .SubscriptionReplyMessage subscriptionReplyMessage = 20; + */ + de.pokerth.protocol.ProtoBuf.SubscriptionReplyMessage getSubscriptionReplyMessage(); + + // optional .CreateGameMessage createGameMessage = 21; + /** + * optional .CreateGameMessage createGameMessage = 21; + */ + boolean hasCreateGameMessage(); + /** + * optional .CreateGameMessage createGameMessage = 21; + */ + de.pokerth.protocol.ProtoBuf.CreateGameMessage getCreateGameMessage(); + + // optional .CreateGameFailedMessage createGameFailedMessage = 22; + /** + * optional .CreateGameFailedMessage createGameFailedMessage = 22; + */ + boolean hasCreateGameFailedMessage(); + /** + * optional .CreateGameFailedMessage createGameFailedMessage = 22; + */ + de.pokerth.protocol.ProtoBuf.CreateGameFailedMessage getCreateGameFailedMessage(); + + // optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 23; + /** + * optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 23; + */ + boolean hasInvitePlayerToGameMessage(); + /** + * optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 23; + */ + de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage getInvitePlayerToGameMessage(); + + // optional .InviteNotifyMessage inviteNotifyMessage = 24; + /** + * optional .InviteNotifyMessage inviteNotifyMessage = 24; + */ + boolean hasInviteNotifyMessage(); + /** + * optional .InviteNotifyMessage inviteNotifyMessage = 24; + */ + de.pokerth.protocol.ProtoBuf.InviteNotifyMessage getInviteNotifyMessage(); + + // optional .RejectGameInvitationMessage rejectGameInvitationMessage = 25; + /** + * optional .RejectGameInvitationMessage rejectGameInvitationMessage = 25; + */ + boolean hasRejectGameInvitationMessage(); + /** + * optional .RejectGameInvitationMessage rejectGameInvitationMessage = 25; + */ + de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage getRejectGameInvitationMessage(); + + // optional .RejectInvNotifyMessage rejectInvNotifyMessage = 26; + /** + * optional .RejectInvNotifyMessage rejectInvNotifyMessage = 26; + */ + boolean hasRejectInvNotifyMessage(); + /** + * optional .RejectInvNotifyMessage rejectInvNotifyMessage = 26; + */ + de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage getRejectInvNotifyMessage(); + + // optional .StatisticsMessage statisticsMessage = 27; + /** + * optional .StatisticsMessage statisticsMessage = 27; + */ + boolean hasStatisticsMessage(); + /** + * optional .StatisticsMessage statisticsMessage = 27; + */ + de.pokerth.protocol.ProtoBuf.StatisticsMessage getStatisticsMessage(); + + // optional .ChatRequestMessage chatRequestMessage = 28; + /** + * optional .ChatRequestMessage chatRequestMessage = 28; + */ + boolean hasChatRequestMessage(); + /** + * optional .ChatRequestMessage chatRequestMessage = 28; + */ + de.pokerth.protocol.ProtoBuf.ChatRequestMessage getChatRequestMessage(); + + // optional .ChatMessage chatMessage = 29; + /** + * optional .ChatMessage chatMessage = 29; + */ + boolean hasChatMessage(); + /** + * optional .ChatMessage chatMessage = 29; + */ + de.pokerth.protocol.ProtoBuf.ChatMessage getChatMessage(); + + // optional .ChatRejectMessage chatRejectMessage = 30; + /** + * optional .ChatRejectMessage chatRejectMessage = 30; + */ + boolean hasChatRejectMessage(); + /** + * optional .ChatRejectMessage chatRejectMessage = 30; + */ + de.pokerth.protocol.ProtoBuf.ChatRejectMessage getChatRejectMessage(); + + // optional .DialogMessage dialogMessage = 31; + /** + * optional .DialogMessage dialogMessage = 31; + */ + boolean hasDialogMessage(); + /** + * optional .DialogMessage dialogMessage = 31; + */ + de.pokerth.protocol.ProtoBuf.DialogMessage getDialogMessage(); + + // optional .TimeoutWarningMessage timeoutWarningMessage = 32; + /** + * optional .TimeoutWarningMessage timeoutWarningMessage = 32; + */ + boolean hasTimeoutWarningMessage(); + /** + * optional .TimeoutWarningMessage timeoutWarningMessage = 32; + */ + de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage getTimeoutWarningMessage(); + + // optional .ResetTimeoutMessage resetTimeoutMessage = 33; + /** + * optional .ResetTimeoutMessage resetTimeoutMessage = 33; + */ + boolean hasResetTimeoutMessage(); + /** + * optional .ResetTimeoutMessage resetTimeoutMessage = 33; + */ + de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage getResetTimeoutMessage(); + + // optional .ReportAvatarMessage reportAvatarMessage = 34; + /** + * optional .ReportAvatarMessage reportAvatarMessage = 34; + */ + boolean hasReportAvatarMessage(); + /** + * optional .ReportAvatarMessage reportAvatarMessage = 34; + */ + de.pokerth.protocol.ProtoBuf.ReportAvatarMessage getReportAvatarMessage(); + + // optional .ReportAvatarAckMessage reportAvatarAckMessage = 35; + /** + * optional .ReportAvatarAckMessage reportAvatarAckMessage = 35; + */ + boolean hasReportAvatarAckMessage(); + /** + * optional .ReportAvatarAckMessage reportAvatarAckMessage = 35; + */ + de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage getReportAvatarAckMessage(); + + // optional .ReportGameMessage reportGameMessage = 36; + /** + * optional .ReportGameMessage reportGameMessage = 36; + */ + boolean hasReportGameMessage(); + /** + * optional .ReportGameMessage reportGameMessage = 36; + */ + de.pokerth.protocol.ProtoBuf.ReportGameMessage getReportGameMessage(); + + // optional .ReportGameAckMessage reportGameAckMessage = 37; + /** + * optional .ReportGameAckMessage reportGameAckMessage = 37; + */ + boolean hasReportGameAckMessage(); + /** + * optional .ReportGameAckMessage reportGameAckMessage = 37; + */ + de.pokerth.protocol.ProtoBuf.ReportGameAckMessage getReportGameAckMessage(); + + // optional .AdminRemoveGameMessage adminRemoveGameMessage = 38; + /** + * optional .AdminRemoveGameMessage adminRemoveGameMessage = 38; + */ + boolean hasAdminRemoveGameMessage(); + /** + * optional .AdminRemoveGameMessage adminRemoveGameMessage = 38; + */ + de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage getAdminRemoveGameMessage(); + + // optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 39; + /** + * optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 39; + */ + boolean hasAdminRemoveGameAckMessage(); + /** + * optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 39; + */ + de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage getAdminRemoveGameAckMessage(); + + // optional .AdminBanPlayerMessage adminBanPlayerMessage = 40; + /** + * optional .AdminBanPlayerMessage adminBanPlayerMessage = 40; + */ + boolean hasAdminBanPlayerMessage(); + /** + * optional .AdminBanPlayerMessage adminBanPlayerMessage = 40; + */ + de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage getAdminBanPlayerMessage(); + + // optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 41; + /** + * optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 41; + */ + boolean hasAdminBanPlayerAckMessage(); + /** + * optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 41; + */ + de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage getAdminBanPlayerAckMessage(); + + // optional .ErrorMessage errorMessage = 1025; + /** + * optional .ErrorMessage errorMessage = 1025; + */ + boolean hasErrorMessage(); + /** + * optional .ErrorMessage errorMessage = 1025; + */ + de.pokerth.protocol.ProtoBuf.ErrorMessage getErrorMessage(); + } + /** + * Protobuf type {@code LobbyMessage} + */ + public static final class LobbyMessage extends + com.google.protobuf.GeneratedMessageLite + implements LobbyMessageOrBuilder { + // Use LobbyMessage.newBuilder() to construct. + private LobbyMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + super(builder); + + } + private LobbyMessage(boolean noInit) {} + + private static final LobbyMessage defaultInstance; + public static LobbyMessage getDefaultInstance() { + return defaultInstance; + } + + public LobbyMessage getDefaultInstanceForType() { + return defaultInstance; + } + + private LobbyMessage( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + int mutable_bitField1_ = 0; + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; + } + break; + } + case 8: { + int rawValue = input.readEnum(); + de.pokerth.protocol.ProtoBuf.LobbyMessage.LobbyMessageType value = de.pokerth.protocol.ProtoBuf.LobbyMessage.LobbyMessageType.valueOf(rawValue); + if (value != null) { + bitField0_ |= 0x00000001; + messageType_ = value; + } + break; + } + case 18: { + de.pokerth.protocol.ProtoBuf.InitMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00000002) == 0x00000002)) { + subBuilder = initMessage_.toBuilder(); + } + initMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.InitMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(initMessage_); + initMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000002; + break; + } + case 26: { + de.pokerth.protocol.ProtoBuf.InitAckMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00000004) == 0x00000004)) { + subBuilder = initAckMessage_.toBuilder(); + } + initAckMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.InitAckMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(initAckMessage_); + initAckMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000004; + break; + } + case 34: { + de.pokerth.protocol.ProtoBuf.AvatarRequestMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00000008) == 0x00000008)) { + subBuilder = avatarRequestMessage_.toBuilder(); + } + avatarRequestMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.AvatarRequestMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(avatarRequestMessage_); + avatarRequestMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000008; + break; + } + case 42: { + de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00000010) == 0x00000010)) { + subBuilder = avatarHeaderMessage_.toBuilder(); + } + avatarHeaderMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(avatarHeaderMessage_); + avatarHeaderMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000010; + break; + } + case 50: { + de.pokerth.protocol.ProtoBuf.AvatarDataMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00000020) == 0x00000020)) { + subBuilder = avatarDataMessage_.toBuilder(); + } + avatarDataMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.AvatarDataMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(avatarDataMessage_); + avatarDataMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000020; + break; + } + case 58: { + de.pokerth.protocol.ProtoBuf.AvatarEndMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00000040) == 0x00000040)) { + subBuilder = avatarEndMessage_.toBuilder(); + } + avatarEndMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.AvatarEndMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(avatarEndMessage_); + avatarEndMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000040; + break; + } + case 66: { + de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00000080) == 0x00000080)) { + subBuilder = unknownAvatarMessage_.toBuilder(); + } + unknownAvatarMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(unknownAvatarMessage_); + unknownAvatarMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000080; + break; + } + case 74: { + de.pokerth.protocol.ProtoBuf.PlayerListMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00000100) == 0x00000100)) { + subBuilder = playerListMessage_.toBuilder(); + } + playerListMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.PlayerListMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(playerListMessage_); + playerListMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000100; + break; + } + case 82: { + de.pokerth.protocol.ProtoBuf.GameListNewMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00000200) == 0x00000200)) { + subBuilder = gameListNewMessage_.toBuilder(); + } + gameListNewMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.GameListNewMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(gameListNewMessage_); + gameListNewMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000200; + break; + } + case 90: { + de.pokerth.protocol.ProtoBuf.GameListUpdateMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00000400) == 0x00000400)) { + subBuilder = gameListUpdateMessage_.toBuilder(); + } + gameListUpdateMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.GameListUpdateMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(gameListUpdateMessage_); + gameListUpdateMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000400; + break; + } + case 98: { + de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00000800) == 0x00000800)) { + subBuilder = gameListPlayerJoinedMessage_.toBuilder(); + } + gameListPlayerJoinedMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(gameListPlayerJoinedMessage_); + gameListPlayerJoinedMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000800; + break; + } + case 106: { + de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00001000) == 0x00001000)) { + subBuilder = gameListPlayerLeftMessage_.toBuilder(); + } + gameListPlayerLeftMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(gameListPlayerLeftMessage_); + gameListPlayerLeftMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00001000; + break; + } + case 114: { + de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00002000) == 0x00002000)) { + subBuilder = gameListSpectatorJoinedMessage_.toBuilder(); + } + gameListSpectatorJoinedMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(gameListSpectatorJoinedMessage_); + gameListSpectatorJoinedMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00002000; + break; + } + case 122: { + de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00004000) == 0x00004000)) { + subBuilder = gameListSpectatorLeftMessage_.toBuilder(); + } + gameListSpectatorLeftMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(gameListSpectatorLeftMessage_); + gameListSpectatorLeftMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00004000; + break; + } + case 130: { + de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00008000) == 0x00008000)) { + subBuilder = gameListAdminChangedMessage_.toBuilder(); + } + gameListAdminChangedMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(gameListAdminChangedMessage_); + gameListAdminChangedMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00008000; + break; + } + case 138: { + de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00010000) == 0x00010000)) { + subBuilder = playerInfoRequestMessage_.toBuilder(); + } + playerInfoRequestMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(playerInfoRequestMessage_); + playerInfoRequestMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00010000; + break; + } + case 146: { + de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00020000) == 0x00020000)) { + subBuilder = playerInfoReplyMessage_.toBuilder(); + } + playerInfoReplyMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(playerInfoReplyMessage_); + playerInfoReplyMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00020000; + break; + } + case 154: { + de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00040000) == 0x00040000)) { + subBuilder = subscriptionRequestMessage_.toBuilder(); + } + subscriptionRequestMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(subscriptionRequestMessage_); + subscriptionRequestMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00040000; + break; + } + case 162: { + de.pokerth.protocol.ProtoBuf.SubscriptionReplyMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00080000) == 0x00080000)) { + subBuilder = subscriptionReplyMessage_.toBuilder(); + } + subscriptionReplyMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.SubscriptionReplyMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(subscriptionReplyMessage_); + subscriptionReplyMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00080000; + break; + } + case 170: { + de.pokerth.protocol.ProtoBuf.CreateGameMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00100000) == 0x00100000)) { + subBuilder = createGameMessage_.toBuilder(); + } + createGameMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.CreateGameMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createGameMessage_); + createGameMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00100000; + break; + } + case 178: { + de.pokerth.protocol.ProtoBuf.CreateGameFailedMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00200000) == 0x00200000)) { + subBuilder = createGameFailedMessage_.toBuilder(); + } + createGameFailedMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.CreateGameFailedMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createGameFailedMessage_); + createGameFailedMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00200000; + break; + } + case 186: { + de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00400000) == 0x00400000)) { + subBuilder = invitePlayerToGameMessage_.toBuilder(); + } + invitePlayerToGameMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(invitePlayerToGameMessage_); + invitePlayerToGameMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00400000; + break; + } + case 194: { + de.pokerth.protocol.ProtoBuf.InviteNotifyMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00800000) == 0x00800000)) { + subBuilder = inviteNotifyMessage_.toBuilder(); + } + inviteNotifyMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.InviteNotifyMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(inviteNotifyMessage_); + inviteNotifyMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00800000; + break; + } + case 202: { + de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.Builder subBuilder = null; + if (((bitField0_ & 0x01000000) == 0x01000000)) { + subBuilder = rejectGameInvitationMessage_.toBuilder(); + } + rejectGameInvitationMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(rejectGameInvitationMessage_); + rejectGameInvitationMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x01000000; + break; + } + case 210: { + de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage.Builder subBuilder = null; + if (((bitField0_ & 0x02000000) == 0x02000000)) { + subBuilder = rejectInvNotifyMessage_.toBuilder(); + } + rejectInvNotifyMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(rejectInvNotifyMessage_); + rejectInvNotifyMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x02000000; + break; + } + case 218: { + de.pokerth.protocol.ProtoBuf.StatisticsMessage.Builder subBuilder = null; + if (((bitField0_ & 0x04000000) == 0x04000000)) { + subBuilder = statisticsMessage_.toBuilder(); + } + statisticsMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.StatisticsMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(statisticsMessage_); + statisticsMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x04000000; + break; + } + case 226: { + de.pokerth.protocol.ProtoBuf.ChatRequestMessage.Builder subBuilder = null; + if (((bitField0_ & 0x08000000) == 0x08000000)) { + subBuilder = chatRequestMessage_.toBuilder(); + } + chatRequestMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.ChatRequestMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(chatRequestMessage_); + chatRequestMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x08000000; + break; + } + case 234: { + de.pokerth.protocol.ProtoBuf.ChatMessage.Builder subBuilder = null; + if (((bitField0_ & 0x10000000) == 0x10000000)) { + subBuilder = chatMessage_.toBuilder(); + } + chatMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.ChatMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(chatMessage_); + chatMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x10000000; + break; + } + case 242: { + de.pokerth.protocol.ProtoBuf.ChatRejectMessage.Builder subBuilder = null; + if (((bitField0_ & 0x20000000) == 0x20000000)) { + subBuilder = chatRejectMessage_.toBuilder(); + } + chatRejectMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.ChatRejectMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(chatRejectMessage_); + chatRejectMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x20000000; + break; + } + case 250: { + de.pokerth.protocol.ProtoBuf.DialogMessage.Builder subBuilder = null; + if (((bitField0_ & 0x40000000) == 0x40000000)) { + subBuilder = dialogMessage_.toBuilder(); + } + dialogMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.DialogMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(dialogMessage_); + dialogMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x40000000; + break; + } + case 258: { + de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.Builder subBuilder = null; + if (((bitField0_ & 0x80000000) == 0x80000000)) { + subBuilder = timeoutWarningMessage_.toBuilder(); + } + timeoutWarningMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(timeoutWarningMessage_); + timeoutWarningMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x80000000; + break; + } + case 266: { + de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage.Builder subBuilder = null; + if (((bitField1_ & 0x00000001) == 0x00000001)) { + subBuilder = resetTimeoutMessage_.toBuilder(); + } + resetTimeoutMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(resetTimeoutMessage_); + resetTimeoutMessage_ = subBuilder.buildPartial(); + } + bitField1_ |= 0x00000001; + break; + } + case 274: { + de.pokerth.protocol.ProtoBuf.ReportAvatarMessage.Builder subBuilder = null; + if (((bitField1_ & 0x00000002) == 0x00000002)) { + subBuilder = reportAvatarMessage_.toBuilder(); + } + reportAvatarMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.ReportAvatarMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(reportAvatarMessage_); + reportAvatarMessage_ = subBuilder.buildPartial(); + } + bitField1_ |= 0x00000002; + break; + } + case 282: { + de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.Builder subBuilder = null; + if (((bitField1_ & 0x00000004) == 0x00000004)) { + subBuilder = reportAvatarAckMessage_.toBuilder(); + } + reportAvatarAckMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(reportAvatarAckMessage_); + reportAvatarAckMessage_ = subBuilder.buildPartial(); + } + bitField1_ |= 0x00000004; + break; + } + case 290: { + de.pokerth.protocol.ProtoBuf.ReportGameMessage.Builder subBuilder = null; + if (((bitField1_ & 0x00000008) == 0x00000008)) { + subBuilder = reportGameMessage_.toBuilder(); + } + reportGameMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.ReportGameMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(reportGameMessage_); + reportGameMessage_ = subBuilder.buildPartial(); + } + bitField1_ |= 0x00000008; + break; + } + case 298: { + de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.Builder subBuilder = null; + if (((bitField1_ & 0x00000010) == 0x00000010)) { + subBuilder = reportGameAckMessage_.toBuilder(); + } + reportGameAckMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(reportGameAckMessage_); + reportGameAckMessage_ = subBuilder.buildPartial(); + } + bitField1_ |= 0x00000010; + break; + } + case 306: { + de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage.Builder subBuilder = null; + if (((bitField1_ & 0x00000020) == 0x00000020)) { + subBuilder = adminRemoveGameMessage_.toBuilder(); + } + adminRemoveGameMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(adminRemoveGameMessage_); + adminRemoveGameMessage_ = subBuilder.buildPartial(); + } + bitField1_ |= 0x00000020; + break; + } + case 314: { + de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.Builder subBuilder = null; + if (((bitField1_ & 0x00000040) == 0x00000040)) { + subBuilder = adminRemoveGameAckMessage_.toBuilder(); + } + adminRemoveGameAckMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(adminRemoveGameAckMessage_); + adminRemoveGameAckMessage_ = subBuilder.buildPartial(); + } + bitField1_ |= 0x00000040; + break; + } + case 322: { + de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage.Builder subBuilder = null; + if (((bitField1_ & 0x00000080) == 0x00000080)) { + subBuilder = adminBanPlayerMessage_.toBuilder(); + } + adminBanPlayerMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(adminBanPlayerMessage_); + adminBanPlayerMessage_ = subBuilder.buildPartial(); + } + bitField1_ |= 0x00000080; + break; + } + case 330: { + de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.Builder subBuilder = null; + if (((bitField1_ & 0x00000100) == 0x00000100)) { + subBuilder = adminBanPlayerAckMessage_.toBuilder(); + } + adminBanPlayerAckMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(adminBanPlayerAckMessage_); + adminBanPlayerAckMessage_ = subBuilder.buildPartial(); + } + bitField1_ |= 0x00000100; + break; + } + case 8202: { + de.pokerth.protocol.ProtoBuf.ErrorMessage.Builder subBuilder = null; + if (((bitField1_ & 0x00000200) == 0x00000200)) { + subBuilder = errorMessage_.toBuilder(); + } + errorMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.ErrorMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(errorMessage_); + errorMessage_ = subBuilder.buildPartial(); + } + bitField1_ |= 0x00000200; + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); + } + } + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public LobbyMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new LobbyMessage(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + /** + * Protobuf enum {@code LobbyMessage.LobbyMessageType} + */ + public enum LobbyMessageType + implements com.google.protobuf.Internal.EnumLite { + /** + * Type_InitMessage = 1; + */ + Type_InitMessage(0, 1), + /** + * Type_InitAckMessage = 2; + */ + Type_InitAckMessage(1, 2), + /** + * Type_AvatarRequestMessage = 3; + */ + Type_AvatarRequestMessage(2, 3), + /** + * Type_AvatarHeaderMessage = 4; + */ + Type_AvatarHeaderMessage(3, 4), + /** + * Type_AvatarDataMessage = 5; + */ + Type_AvatarDataMessage(4, 5), + /** + * Type_AvatarEndMessage = 6; + */ + Type_AvatarEndMessage(5, 6), + /** + * Type_UnknownAvatarMessage = 7; + */ + Type_UnknownAvatarMessage(6, 7), + /** + * Type_PlayerListMessage = 8; + */ + Type_PlayerListMessage(7, 8), + /** + * Type_GameListNewMessage = 9; + */ + Type_GameListNewMessage(8, 9), + /** + * Type_GameListUpdateMessage = 10; + */ + Type_GameListUpdateMessage(9, 10), + /** + * Type_GameListPlayerJoinedMessage = 11; + */ + Type_GameListPlayerJoinedMessage(10, 11), + /** + * Type_GameListPlayerLeftMessage = 12; + */ + Type_GameListPlayerLeftMessage(11, 12), + /** + * Type_GameListSpectatorJoinedMessage = 13; + */ + Type_GameListSpectatorJoinedMessage(12, 13), + /** + * Type_GameListSpectatorLeftMessage = 14; + */ + Type_GameListSpectatorLeftMessage(13, 14), + /** + * Type_GameListAdminChangedMessage = 15; + */ + Type_GameListAdminChangedMessage(14, 15), + /** + * Type_PlayerInfoRequestMessage = 16; + */ + Type_PlayerInfoRequestMessage(15, 16), + /** + * Type_PlayerInfoReplyMessage = 17; + */ + Type_PlayerInfoReplyMessage(16, 17), + /** + * Type_SubscriptionRequestMessage = 18; + */ + Type_SubscriptionRequestMessage(17, 18), + /** + * Type_SubscriptionReplyMessage = 19; + */ + Type_SubscriptionReplyMessage(18, 19), + /** + * Type_CreateGameMessage = 20; + */ + Type_CreateGameMessage(19, 20), + /** + * Type_CreateGameFailedMessage = 21; + */ + Type_CreateGameFailedMessage(20, 21), + /** + * Type_InvitePlayerToGameMessage = 22; + */ + Type_InvitePlayerToGameMessage(21, 22), + /** + * Type_InviteNotifyMessage = 23; + */ + Type_InviteNotifyMessage(22, 23), + /** + * Type_RejectGameInvitationMessage = 24; + */ + Type_RejectGameInvitationMessage(23, 24), + /** + * Type_RejectInvNotifyMessage = 25; + */ + Type_RejectInvNotifyMessage(24, 25), + /** + * Type_StatisticsMessage = 26; + */ + Type_StatisticsMessage(25, 26), + /** + * Type_ChatRequestMessage = 27; + */ + Type_ChatRequestMessage(26, 27), + /** + * Type_ChatMessage = 28; + */ + Type_ChatMessage(27, 28), + /** + * Type_ChatRejectMessage = 29; + */ + Type_ChatRejectMessage(28, 29), + /** + * Type_DialogMessage = 30; + */ + Type_DialogMessage(29, 30), + /** + * Type_TimeoutWarningMessage = 31; + */ + Type_TimeoutWarningMessage(30, 31), + /** + * Type_ResetTimeoutMessage = 32; + */ + Type_ResetTimeoutMessage(31, 32), + /** + * Type_ReportAvatarMessage = 33; + */ + Type_ReportAvatarMessage(32, 33), + /** + * Type_ReportAvatarAckMessage = 34; + */ + Type_ReportAvatarAckMessage(33, 34), + /** + * Type_ReportGameMessage = 35; + */ + Type_ReportGameMessage(34, 35), + /** + * Type_ReportGameAckMessage = 36; + */ + Type_ReportGameAckMessage(35, 36), + /** + * Type_AdminRemoveGameMessage = 37; + */ + Type_AdminRemoveGameMessage(36, 37), + /** + * Type_AdminRemoveGameAckMessage = 38; + */ + Type_AdminRemoveGameAckMessage(37, 38), + /** + * Type_AdminBanPlayerMessage = 39; + */ + Type_AdminBanPlayerMessage(38, 39), + /** + * Type_AdminBanPlayerAckMessage = 40; + */ + Type_AdminBanPlayerAckMessage(39, 40), + /** + * Type_ErrorMessage = 1024; + */ + Type_ErrorMessage(40, 1024), + ; + + /** + * Type_InitMessage = 1; + */ + public static final int Type_InitMessage_VALUE = 1; + /** + * Type_InitAckMessage = 2; + */ + public static final int Type_InitAckMessage_VALUE = 2; + /** + * Type_AvatarRequestMessage = 3; + */ + public static final int Type_AvatarRequestMessage_VALUE = 3; + /** + * Type_AvatarHeaderMessage = 4; + */ + public static final int Type_AvatarHeaderMessage_VALUE = 4; + /** + * Type_AvatarDataMessage = 5; + */ + public static final int Type_AvatarDataMessage_VALUE = 5; + /** + * Type_AvatarEndMessage = 6; + */ + public static final int Type_AvatarEndMessage_VALUE = 6; + /** + * Type_UnknownAvatarMessage = 7; + */ + public static final int Type_UnknownAvatarMessage_VALUE = 7; + /** + * Type_PlayerListMessage = 8; + */ + public static final int Type_PlayerListMessage_VALUE = 8; + /** + * Type_GameListNewMessage = 9; + */ + public static final int Type_GameListNewMessage_VALUE = 9; + /** + * Type_GameListUpdateMessage = 10; + */ + public static final int Type_GameListUpdateMessage_VALUE = 10; + /** + * Type_GameListPlayerJoinedMessage = 11; + */ + public static final int Type_GameListPlayerJoinedMessage_VALUE = 11; + /** + * Type_GameListPlayerLeftMessage = 12; + */ + public static final int Type_GameListPlayerLeftMessage_VALUE = 12; + /** + * Type_GameListSpectatorJoinedMessage = 13; + */ + public static final int Type_GameListSpectatorJoinedMessage_VALUE = 13; + /** + * Type_GameListSpectatorLeftMessage = 14; + */ + public static final int Type_GameListSpectatorLeftMessage_VALUE = 14; + /** + * Type_GameListAdminChangedMessage = 15; + */ + public static final int Type_GameListAdminChangedMessage_VALUE = 15; + /** + * Type_PlayerInfoRequestMessage = 16; + */ + public static final int Type_PlayerInfoRequestMessage_VALUE = 16; + /** + * Type_PlayerInfoReplyMessage = 17; + */ + public static final int Type_PlayerInfoReplyMessage_VALUE = 17; + /** + * Type_SubscriptionRequestMessage = 18; + */ + public static final int Type_SubscriptionRequestMessage_VALUE = 18; + /** + * Type_SubscriptionReplyMessage = 19; + */ + public static final int Type_SubscriptionReplyMessage_VALUE = 19; + /** + * Type_CreateGameMessage = 20; + */ + public static final int Type_CreateGameMessage_VALUE = 20; + /** + * Type_CreateGameFailedMessage = 21; + */ + public static final int Type_CreateGameFailedMessage_VALUE = 21; + /** + * Type_InvitePlayerToGameMessage = 22; + */ + public static final int Type_InvitePlayerToGameMessage_VALUE = 22; + /** + * Type_InviteNotifyMessage = 23; + */ + public static final int Type_InviteNotifyMessage_VALUE = 23; + /** + * Type_RejectGameInvitationMessage = 24; + */ + public static final int Type_RejectGameInvitationMessage_VALUE = 24; + /** + * Type_RejectInvNotifyMessage = 25; + */ + public static final int Type_RejectInvNotifyMessage_VALUE = 25; + /** + * Type_StatisticsMessage = 26; + */ + public static final int Type_StatisticsMessage_VALUE = 26; + /** + * Type_ChatRequestMessage = 27; + */ + public static final int Type_ChatRequestMessage_VALUE = 27; + /** + * Type_ChatMessage = 28; + */ + public static final int Type_ChatMessage_VALUE = 28; + /** + * Type_ChatRejectMessage = 29; + */ + public static final int Type_ChatRejectMessage_VALUE = 29; + /** + * Type_DialogMessage = 30; + */ + public static final int Type_DialogMessage_VALUE = 30; + /** + * Type_TimeoutWarningMessage = 31; + */ + public static final int Type_TimeoutWarningMessage_VALUE = 31; + /** + * Type_ResetTimeoutMessage = 32; + */ + public static final int Type_ResetTimeoutMessage_VALUE = 32; + /** + * Type_ReportAvatarMessage = 33; + */ + public static final int Type_ReportAvatarMessage_VALUE = 33; + /** + * Type_ReportAvatarAckMessage = 34; + */ + public static final int Type_ReportAvatarAckMessage_VALUE = 34; + /** + * Type_ReportGameMessage = 35; + */ + public static final int Type_ReportGameMessage_VALUE = 35; + /** + * Type_ReportGameAckMessage = 36; + */ + public static final int Type_ReportGameAckMessage_VALUE = 36; + /** + * Type_AdminRemoveGameMessage = 37; + */ + public static final int Type_AdminRemoveGameMessage_VALUE = 37; + /** + * Type_AdminRemoveGameAckMessage = 38; + */ + public static final int Type_AdminRemoveGameAckMessage_VALUE = 38; + /** + * Type_AdminBanPlayerMessage = 39; + */ + public static final int Type_AdminBanPlayerMessage_VALUE = 39; + /** + * Type_AdminBanPlayerAckMessage = 40; + */ + public static final int Type_AdminBanPlayerAckMessage_VALUE = 40; + /** + * Type_ErrorMessage = 1024; + */ + public static final int Type_ErrorMessage_VALUE = 1024; + + + public final int getNumber() { return value; } + + public static LobbyMessageType valueOf(int value) { + switch (value) { + case 1: return Type_InitMessage; + case 2: return Type_InitAckMessage; + case 3: return Type_AvatarRequestMessage; + case 4: return Type_AvatarHeaderMessage; + case 5: return Type_AvatarDataMessage; + case 6: return Type_AvatarEndMessage; + case 7: return Type_UnknownAvatarMessage; + case 8: return Type_PlayerListMessage; + case 9: return Type_GameListNewMessage; + case 10: return Type_GameListUpdateMessage; + case 11: return Type_GameListPlayerJoinedMessage; + case 12: return Type_GameListPlayerLeftMessage; + case 13: return Type_GameListSpectatorJoinedMessage; + case 14: return Type_GameListSpectatorLeftMessage; + case 15: return Type_GameListAdminChangedMessage; + case 16: return Type_PlayerInfoRequestMessage; + case 17: return Type_PlayerInfoReplyMessage; + case 18: return Type_SubscriptionRequestMessage; + case 19: return Type_SubscriptionReplyMessage; + case 20: return Type_CreateGameMessage; + case 21: return Type_CreateGameFailedMessage; + case 22: return Type_InvitePlayerToGameMessage; + case 23: return Type_InviteNotifyMessage; + case 24: return Type_RejectGameInvitationMessage; + case 25: return Type_RejectInvNotifyMessage; + case 26: return Type_StatisticsMessage; + case 27: return Type_ChatRequestMessage; + case 28: return Type_ChatMessage; + case 29: return Type_ChatRejectMessage; + case 30: return Type_DialogMessage; + case 31: return Type_TimeoutWarningMessage; + case 32: return Type_ResetTimeoutMessage; + case 33: return Type_ReportAvatarMessage; + case 34: return Type_ReportAvatarAckMessage; + case 35: return Type_ReportGameMessage; + case 36: return Type_ReportGameAckMessage; + case 37: return Type_AdminRemoveGameMessage; + case 38: return Type_AdminRemoveGameAckMessage; + case 39: return Type_AdminBanPlayerMessage; + case 40: return Type_AdminBanPlayerAckMessage; + case 1024: return Type_ErrorMessage; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public LobbyMessageType findValueByNumber(int number) { + return LobbyMessageType.valueOf(number); + } + }; + + private final int value; + + private LobbyMessageType(int index, int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:LobbyMessage.LobbyMessageType) + } + + private int bitField0_; + private int bitField1_; + // required .LobbyMessage.LobbyMessageType messageType = 1; + public static final int MESSAGETYPE_FIELD_NUMBER = 1; + private de.pokerth.protocol.ProtoBuf.LobbyMessage.LobbyMessageType messageType_; + /** + * required .LobbyMessage.LobbyMessageType messageType = 1; + */ + public boolean hasMessageType() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * required .LobbyMessage.LobbyMessageType messageType = 1; + */ + public de.pokerth.protocol.ProtoBuf.LobbyMessage.LobbyMessageType getMessageType() { + return messageType_; + } + + // optional .InitMessage initMessage = 2; + public static final int INITMESSAGE_FIELD_NUMBER = 2; + private de.pokerth.protocol.ProtoBuf.InitMessage initMessage_; + /** + * optional .InitMessage initMessage = 2; + */ + public boolean hasInitMessage() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * optional .InitMessage initMessage = 2; + */ + public de.pokerth.protocol.ProtoBuf.InitMessage getInitMessage() { + return initMessage_; + } + + // optional .InitAckMessage initAckMessage = 3; + public static final int INITACKMESSAGE_FIELD_NUMBER = 3; + private de.pokerth.protocol.ProtoBuf.InitAckMessage initAckMessage_; + /** + * optional .InitAckMessage initAckMessage = 3; + */ + public boolean hasInitAckMessage() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + /** + * optional .InitAckMessage initAckMessage = 3; + */ + public de.pokerth.protocol.ProtoBuf.InitAckMessage getInitAckMessage() { + return initAckMessage_; + } + + // optional .AvatarRequestMessage avatarRequestMessage = 4; + public static final int AVATARREQUESTMESSAGE_FIELD_NUMBER = 4; + private de.pokerth.protocol.ProtoBuf.AvatarRequestMessage avatarRequestMessage_; + /** + * optional .AvatarRequestMessage avatarRequestMessage = 4; + */ + public boolean hasAvatarRequestMessage() { + return ((bitField0_ & 0x00000008) == 0x00000008); + } + /** + * optional .AvatarRequestMessage avatarRequestMessage = 4; + */ + public de.pokerth.protocol.ProtoBuf.AvatarRequestMessage getAvatarRequestMessage() { + return avatarRequestMessage_; + } + + // optional .AvatarHeaderMessage avatarHeaderMessage = 5; + public static final int AVATARHEADERMESSAGE_FIELD_NUMBER = 5; + private de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage avatarHeaderMessage_; + /** + * optional .AvatarHeaderMessage avatarHeaderMessage = 5; + */ + public boolean hasAvatarHeaderMessage() { + return ((bitField0_ & 0x00000010) == 0x00000010); + } + /** + * optional .AvatarHeaderMessage avatarHeaderMessage = 5; + */ + public de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage getAvatarHeaderMessage() { + return avatarHeaderMessage_; + } + + // optional .AvatarDataMessage avatarDataMessage = 6; + public static final int AVATARDATAMESSAGE_FIELD_NUMBER = 6; + private de.pokerth.protocol.ProtoBuf.AvatarDataMessage avatarDataMessage_; + /** + * optional .AvatarDataMessage avatarDataMessage = 6; + */ + public boolean hasAvatarDataMessage() { + return ((bitField0_ & 0x00000020) == 0x00000020); + } + /** + * optional .AvatarDataMessage avatarDataMessage = 6; + */ + public de.pokerth.protocol.ProtoBuf.AvatarDataMessage getAvatarDataMessage() { + return avatarDataMessage_; + } + + // optional .AvatarEndMessage avatarEndMessage = 7; + public static final int AVATARENDMESSAGE_FIELD_NUMBER = 7; + private de.pokerth.protocol.ProtoBuf.AvatarEndMessage avatarEndMessage_; + /** + * optional .AvatarEndMessage avatarEndMessage = 7; + */ + public boolean hasAvatarEndMessage() { + return ((bitField0_ & 0x00000040) == 0x00000040); + } + /** + * optional .AvatarEndMessage avatarEndMessage = 7; + */ + public de.pokerth.protocol.ProtoBuf.AvatarEndMessage getAvatarEndMessage() { + return avatarEndMessage_; + } + + // optional .UnknownAvatarMessage unknownAvatarMessage = 8; + public static final int UNKNOWNAVATARMESSAGE_FIELD_NUMBER = 8; + private de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage unknownAvatarMessage_; + /** + * optional .UnknownAvatarMessage unknownAvatarMessage = 8; + */ + public boolean hasUnknownAvatarMessage() { + return ((bitField0_ & 0x00000080) == 0x00000080); + } + /** + * optional .UnknownAvatarMessage unknownAvatarMessage = 8; + */ + public de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage getUnknownAvatarMessage() { + return unknownAvatarMessage_; + } + + // optional .PlayerListMessage playerListMessage = 9; + public static final int PLAYERLISTMESSAGE_FIELD_NUMBER = 9; + private de.pokerth.protocol.ProtoBuf.PlayerListMessage playerListMessage_; + /** + * optional .PlayerListMessage playerListMessage = 9; + */ + public boolean hasPlayerListMessage() { + return ((bitField0_ & 0x00000100) == 0x00000100); + } + /** + * optional .PlayerListMessage playerListMessage = 9; + */ + public de.pokerth.protocol.ProtoBuf.PlayerListMessage getPlayerListMessage() { + return playerListMessage_; + } + + // optional .GameListNewMessage gameListNewMessage = 10; + public static final int GAMELISTNEWMESSAGE_FIELD_NUMBER = 10; + private de.pokerth.protocol.ProtoBuf.GameListNewMessage gameListNewMessage_; + /** + * optional .GameListNewMessage gameListNewMessage = 10; + */ + public boolean hasGameListNewMessage() { + return ((bitField0_ & 0x00000200) == 0x00000200); + } + /** + * optional .GameListNewMessage gameListNewMessage = 10; + */ + public de.pokerth.protocol.ProtoBuf.GameListNewMessage getGameListNewMessage() { + return gameListNewMessage_; + } + + // optional .GameListUpdateMessage gameListUpdateMessage = 11; + public static final int GAMELISTUPDATEMESSAGE_FIELD_NUMBER = 11; + private de.pokerth.protocol.ProtoBuf.GameListUpdateMessage gameListUpdateMessage_; + /** + * optional .GameListUpdateMessage gameListUpdateMessage = 11; + */ + public boolean hasGameListUpdateMessage() { + return ((bitField0_ & 0x00000400) == 0x00000400); + } + /** + * optional .GameListUpdateMessage gameListUpdateMessage = 11; + */ + public de.pokerth.protocol.ProtoBuf.GameListUpdateMessage getGameListUpdateMessage() { + return gameListUpdateMessage_; + } + + // optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 12; + public static final int GAMELISTPLAYERJOINEDMESSAGE_FIELD_NUMBER = 12; + private de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage gameListPlayerJoinedMessage_; + /** + * optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 12; + */ + public boolean hasGameListPlayerJoinedMessage() { + return ((bitField0_ & 0x00000800) == 0x00000800); + } + /** + * optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 12; + */ + public de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage getGameListPlayerJoinedMessage() { + return gameListPlayerJoinedMessage_; + } + + // optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 13; + public static final int GAMELISTPLAYERLEFTMESSAGE_FIELD_NUMBER = 13; + private de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage gameListPlayerLeftMessage_; + /** + * optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 13; + */ + public boolean hasGameListPlayerLeftMessage() { + return ((bitField0_ & 0x00001000) == 0x00001000); + } + /** + * optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 13; + */ + public de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage getGameListPlayerLeftMessage() { + return gameListPlayerLeftMessage_; + } + + // optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 14; + public static final int GAMELISTSPECTATORJOINEDMESSAGE_FIELD_NUMBER = 14; + private de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage_; + /** + * optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 14; + */ + public boolean hasGameListSpectatorJoinedMessage() { + return ((bitField0_ & 0x00002000) == 0x00002000); + } + /** + * optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 14; + */ + public de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage getGameListSpectatorJoinedMessage() { + return gameListSpectatorJoinedMessage_; + } + + // optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 15; + public static final int GAMELISTSPECTATORLEFTMESSAGE_FIELD_NUMBER = 15; + private de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage gameListSpectatorLeftMessage_; + /** + * optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 15; + */ + public boolean hasGameListSpectatorLeftMessage() { + return ((bitField0_ & 0x00004000) == 0x00004000); + } + /** + * optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 15; + */ + public de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage getGameListSpectatorLeftMessage() { + return gameListSpectatorLeftMessage_; + } + + // optional .GameListAdminChangedMessage gameListAdminChangedMessage = 16; + public static final int GAMELISTADMINCHANGEDMESSAGE_FIELD_NUMBER = 16; + private de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage gameListAdminChangedMessage_; + /** + * optional .GameListAdminChangedMessage gameListAdminChangedMessage = 16; + */ + public boolean hasGameListAdminChangedMessage() { + return ((bitField0_ & 0x00008000) == 0x00008000); + } + /** + * optional .GameListAdminChangedMessage gameListAdminChangedMessage = 16; + */ + public de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage getGameListAdminChangedMessage() { + return gameListAdminChangedMessage_; + } + + // optional .PlayerInfoRequestMessage playerInfoRequestMessage = 17; + public static final int PLAYERINFOREQUESTMESSAGE_FIELD_NUMBER = 17; + private de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage playerInfoRequestMessage_; + /** + * optional .PlayerInfoRequestMessage playerInfoRequestMessage = 17; + */ + public boolean hasPlayerInfoRequestMessage() { + return ((bitField0_ & 0x00010000) == 0x00010000); + } + /** + * optional .PlayerInfoRequestMessage playerInfoRequestMessage = 17; + */ + public de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage getPlayerInfoRequestMessage() { + return playerInfoRequestMessage_; + } + + // optional .PlayerInfoReplyMessage playerInfoReplyMessage = 18; + public static final int PLAYERINFOREPLYMESSAGE_FIELD_NUMBER = 18; + private de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage playerInfoReplyMessage_; + /** + * optional .PlayerInfoReplyMessage playerInfoReplyMessage = 18; + */ + public boolean hasPlayerInfoReplyMessage() { + return ((bitField0_ & 0x00020000) == 0x00020000); + } + /** + * optional .PlayerInfoReplyMessage playerInfoReplyMessage = 18; + */ + public de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage getPlayerInfoReplyMessage() { + return playerInfoReplyMessage_; + } + + // optional .SubscriptionRequestMessage subscriptionRequestMessage = 19; + public static final int SUBSCRIPTIONREQUESTMESSAGE_FIELD_NUMBER = 19; + private de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage subscriptionRequestMessage_; + /** + * optional .SubscriptionRequestMessage subscriptionRequestMessage = 19; + */ + public boolean hasSubscriptionRequestMessage() { + return ((bitField0_ & 0x00040000) == 0x00040000); + } + /** + * optional .SubscriptionRequestMessage subscriptionRequestMessage = 19; + */ + public de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage getSubscriptionRequestMessage() { + return subscriptionRequestMessage_; + } + + // optional .SubscriptionReplyMessage subscriptionReplyMessage = 20; + public static final int SUBSCRIPTIONREPLYMESSAGE_FIELD_NUMBER = 20; + private de.pokerth.protocol.ProtoBuf.SubscriptionReplyMessage subscriptionReplyMessage_; + /** + * optional .SubscriptionReplyMessage subscriptionReplyMessage = 20; + */ + public boolean hasSubscriptionReplyMessage() { + return ((bitField0_ & 0x00080000) == 0x00080000); + } + /** + * optional .SubscriptionReplyMessage subscriptionReplyMessage = 20; + */ + public de.pokerth.protocol.ProtoBuf.SubscriptionReplyMessage getSubscriptionReplyMessage() { + return subscriptionReplyMessage_; + } + + // optional .CreateGameMessage createGameMessage = 21; + public static final int CREATEGAMEMESSAGE_FIELD_NUMBER = 21; + private de.pokerth.protocol.ProtoBuf.CreateGameMessage createGameMessage_; + /** + * optional .CreateGameMessage createGameMessage = 21; + */ + public boolean hasCreateGameMessage() { + return ((bitField0_ & 0x00100000) == 0x00100000); + } + /** + * optional .CreateGameMessage createGameMessage = 21; + */ + public de.pokerth.protocol.ProtoBuf.CreateGameMessage getCreateGameMessage() { + return createGameMessage_; + } + + // optional .CreateGameFailedMessage createGameFailedMessage = 22; + public static final int CREATEGAMEFAILEDMESSAGE_FIELD_NUMBER = 22; + private de.pokerth.protocol.ProtoBuf.CreateGameFailedMessage createGameFailedMessage_; + /** + * optional .CreateGameFailedMessage createGameFailedMessage = 22; + */ + public boolean hasCreateGameFailedMessage() { + return ((bitField0_ & 0x00200000) == 0x00200000); + } + /** + * optional .CreateGameFailedMessage createGameFailedMessage = 22; + */ + public de.pokerth.protocol.ProtoBuf.CreateGameFailedMessage getCreateGameFailedMessage() { + return createGameFailedMessage_; + } + + // optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 23; + public static final int INVITEPLAYERTOGAMEMESSAGE_FIELD_NUMBER = 23; + private de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage invitePlayerToGameMessage_; + /** + * optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 23; + */ + public boolean hasInvitePlayerToGameMessage() { + return ((bitField0_ & 0x00400000) == 0x00400000); + } + /** + * optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 23; + */ + public de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage getInvitePlayerToGameMessage() { + return invitePlayerToGameMessage_; + } + + // optional .InviteNotifyMessage inviteNotifyMessage = 24; + public static final int INVITENOTIFYMESSAGE_FIELD_NUMBER = 24; + private de.pokerth.protocol.ProtoBuf.InviteNotifyMessage inviteNotifyMessage_; + /** + * optional .InviteNotifyMessage inviteNotifyMessage = 24; + */ + public boolean hasInviteNotifyMessage() { + return ((bitField0_ & 0x00800000) == 0x00800000); + } + /** + * optional .InviteNotifyMessage inviteNotifyMessage = 24; + */ + public de.pokerth.protocol.ProtoBuf.InviteNotifyMessage getInviteNotifyMessage() { + return inviteNotifyMessage_; + } + + // optional .RejectGameInvitationMessage rejectGameInvitationMessage = 25; + public static final int REJECTGAMEINVITATIONMESSAGE_FIELD_NUMBER = 25; + private de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage rejectGameInvitationMessage_; + /** + * optional .RejectGameInvitationMessage rejectGameInvitationMessage = 25; + */ + public boolean hasRejectGameInvitationMessage() { + return ((bitField0_ & 0x01000000) == 0x01000000); + } + /** + * optional .RejectGameInvitationMessage rejectGameInvitationMessage = 25; + */ + public de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage getRejectGameInvitationMessage() { + return rejectGameInvitationMessage_; + } + + // optional .RejectInvNotifyMessage rejectInvNotifyMessage = 26; + public static final int REJECTINVNOTIFYMESSAGE_FIELD_NUMBER = 26; + private de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage rejectInvNotifyMessage_; + /** + * optional .RejectInvNotifyMessage rejectInvNotifyMessage = 26; + */ + public boolean hasRejectInvNotifyMessage() { + return ((bitField0_ & 0x02000000) == 0x02000000); + } + /** + * optional .RejectInvNotifyMessage rejectInvNotifyMessage = 26; + */ + public de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage getRejectInvNotifyMessage() { + return rejectInvNotifyMessage_; + } + + // optional .StatisticsMessage statisticsMessage = 27; + public static final int STATISTICSMESSAGE_FIELD_NUMBER = 27; + private de.pokerth.protocol.ProtoBuf.StatisticsMessage statisticsMessage_; + /** + * optional .StatisticsMessage statisticsMessage = 27; + */ + public boolean hasStatisticsMessage() { + return ((bitField0_ & 0x04000000) == 0x04000000); + } + /** + * optional .StatisticsMessage statisticsMessage = 27; + */ + public de.pokerth.protocol.ProtoBuf.StatisticsMessage getStatisticsMessage() { + return statisticsMessage_; + } + + // optional .ChatRequestMessage chatRequestMessage = 28; + public static final int CHATREQUESTMESSAGE_FIELD_NUMBER = 28; + private de.pokerth.protocol.ProtoBuf.ChatRequestMessage chatRequestMessage_; + /** + * optional .ChatRequestMessage chatRequestMessage = 28; + */ + public boolean hasChatRequestMessage() { + return ((bitField0_ & 0x08000000) == 0x08000000); + } + /** + * optional .ChatRequestMessage chatRequestMessage = 28; + */ + public de.pokerth.protocol.ProtoBuf.ChatRequestMessage getChatRequestMessage() { + return chatRequestMessage_; + } + + // optional .ChatMessage chatMessage = 29; + public static final int CHATMESSAGE_FIELD_NUMBER = 29; + private de.pokerth.protocol.ProtoBuf.ChatMessage chatMessage_; + /** + * optional .ChatMessage chatMessage = 29; + */ + public boolean hasChatMessage() { + return ((bitField0_ & 0x10000000) == 0x10000000); + } + /** + * optional .ChatMessage chatMessage = 29; + */ + public de.pokerth.protocol.ProtoBuf.ChatMessage getChatMessage() { + return chatMessage_; + } + + // optional .ChatRejectMessage chatRejectMessage = 30; + public static final int CHATREJECTMESSAGE_FIELD_NUMBER = 30; + private de.pokerth.protocol.ProtoBuf.ChatRejectMessage chatRejectMessage_; + /** + * optional .ChatRejectMessage chatRejectMessage = 30; + */ + public boolean hasChatRejectMessage() { + return ((bitField0_ & 0x20000000) == 0x20000000); + } + /** + * optional .ChatRejectMessage chatRejectMessage = 30; + */ + public de.pokerth.protocol.ProtoBuf.ChatRejectMessage getChatRejectMessage() { + return chatRejectMessage_; + } + + // optional .DialogMessage dialogMessage = 31; + public static final int DIALOGMESSAGE_FIELD_NUMBER = 31; + private de.pokerth.protocol.ProtoBuf.DialogMessage dialogMessage_; + /** + * optional .DialogMessage dialogMessage = 31; + */ + public boolean hasDialogMessage() { + return ((bitField0_ & 0x40000000) == 0x40000000); + } + /** + * optional .DialogMessage dialogMessage = 31; + */ + public de.pokerth.protocol.ProtoBuf.DialogMessage getDialogMessage() { + return dialogMessage_; + } + + // optional .TimeoutWarningMessage timeoutWarningMessage = 32; + public static final int TIMEOUTWARNINGMESSAGE_FIELD_NUMBER = 32; + private de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage timeoutWarningMessage_; + /** + * optional .TimeoutWarningMessage timeoutWarningMessage = 32; + */ + public boolean hasTimeoutWarningMessage() { + return ((bitField0_ & 0x80000000) == 0x80000000); + } + /** + * optional .TimeoutWarningMessage timeoutWarningMessage = 32; + */ + public de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage getTimeoutWarningMessage() { + return timeoutWarningMessage_; + } + + // optional .ResetTimeoutMessage resetTimeoutMessage = 33; + public static final int RESETTIMEOUTMESSAGE_FIELD_NUMBER = 33; + private de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage resetTimeoutMessage_; + /** + * optional .ResetTimeoutMessage resetTimeoutMessage = 33; + */ + public boolean hasResetTimeoutMessage() { + return ((bitField1_ & 0x00000001) == 0x00000001); + } + /** + * optional .ResetTimeoutMessage resetTimeoutMessage = 33; + */ + public de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage getResetTimeoutMessage() { + return resetTimeoutMessage_; + } + + // optional .ReportAvatarMessage reportAvatarMessage = 34; + public static final int REPORTAVATARMESSAGE_FIELD_NUMBER = 34; + private de.pokerth.protocol.ProtoBuf.ReportAvatarMessage reportAvatarMessage_; + /** + * optional .ReportAvatarMessage reportAvatarMessage = 34; + */ + public boolean hasReportAvatarMessage() { + return ((bitField1_ & 0x00000002) == 0x00000002); + } + /** + * optional .ReportAvatarMessage reportAvatarMessage = 34; + */ + public de.pokerth.protocol.ProtoBuf.ReportAvatarMessage getReportAvatarMessage() { + return reportAvatarMessage_; + } + + // optional .ReportAvatarAckMessage reportAvatarAckMessage = 35; + public static final int REPORTAVATARACKMESSAGE_FIELD_NUMBER = 35; + private de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage reportAvatarAckMessage_; + /** + * optional .ReportAvatarAckMessage reportAvatarAckMessage = 35; + */ + public boolean hasReportAvatarAckMessage() { + return ((bitField1_ & 0x00000004) == 0x00000004); + } + /** + * optional .ReportAvatarAckMessage reportAvatarAckMessage = 35; + */ + public de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage getReportAvatarAckMessage() { + return reportAvatarAckMessage_; + } + + // optional .ReportGameMessage reportGameMessage = 36; + public static final int REPORTGAMEMESSAGE_FIELD_NUMBER = 36; + private de.pokerth.protocol.ProtoBuf.ReportGameMessage reportGameMessage_; + /** + * optional .ReportGameMessage reportGameMessage = 36; + */ + public boolean hasReportGameMessage() { + return ((bitField1_ & 0x00000008) == 0x00000008); + } + /** + * optional .ReportGameMessage reportGameMessage = 36; + */ + public de.pokerth.protocol.ProtoBuf.ReportGameMessage getReportGameMessage() { + return reportGameMessage_; + } + + // optional .ReportGameAckMessage reportGameAckMessage = 37; + public static final int REPORTGAMEACKMESSAGE_FIELD_NUMBER = 37; + private de.pokerth.protocol.ProtoBuf.ReportGameAckMessage reportGameAckMessage_; + /** + * optional .ReportGameAckMessage reportGameAckMessage = 37; + */ + public boolean hasReportGameAckMessage() { + return ((bitField1_ & 0x00000010) == 0x00000010); + } + /** + * optional .ReportGameAckMessage reportGameAckMessage = 37; + */ + public de.pokerth.protocol.ProtoBuf.ReportGameAckMessage getReportGameAckMessage() { + return reportGameAckMessage_; + } + + // optional .AdminRemoveGameMessage adminRemoveGameMessage = 38; + public static final int ADMINREMOVEGAMEMESSAGE_FIELD_NUMBER = 38; + private de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage adminRemoveGameMessage_; + /** + * optional .AdminRemoveGameMessage adminRemoveGameMessage = 38; + */ + public boolean hasAdminRemoveGameMessage() { + return ((bitField1_ & 0x00000020) == 0x00000020); + } + /** + * optional .AdminRemoveGameMessage adminRemoveGameMessage = 38; + */ + public de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage getAdminRemoveGameMessage() { + return adminRemoveGameMessage_; + } + + // optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 39; + public static final int ADMINREMOVEGAMEACKMESSAGE_FIELD_NUMBER = 39; + private de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage adminRemoveGameAckMessage_; + /** + * optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 39; + */ + public boolean hasAdminRemoveGameAckMessage() { + return ((bitField1_ & 0x00000040) == 0x00000040); + } + /** + * optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 39; + */ + public de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage getAdminRemoveGameAckMessage() { + return adminRemoveGameAckMessage_; + } + + // optional .AdminBanPlayerMessage adminBanPlayerMessage = 40; + public static final int ADMINBANPLAYERMESSAGE_FIELD_NUMBER = 40; + private de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage adminBanPlayerMessage_; + /** + * optional .AdminBanPlayerMessage adminBanPlayerMessage = 40; + */ + public boolean hasAdminBanPlayerMessage() { + return ((bitField1_ & 0x00000080) == 0x00000080); + } + /** + * optional .AdminBanPlayerMessage adminBanPlayerMessage = 40; + */ + public de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage getAdminBanPlayerMessage() { + return adminBanPlayerMessage_; + } + + // optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 41; + public static final int ADMINBANPLAYERACKMESSAGE_FIELD_NUMBER = 41; + private de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage adminBanPlayerAckMessage_; + /** + * optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 41; + */ + public boolean hasAdminBanPlayerAckMessage() { + return ((bitField1_ & 0x00000100) == 0x00000100); + } + /** + * optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 41; + */ + public de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage getAdminBanPlayerAckMessage() { + return adminBanPlayerAckMessage_; + } + + // optional .ErrorMessage errorMessage = 1025; + public static final int ERRORMESSAGE_FIELD_NUMBER = 1025; + private de.pokerth.protocol.ProtoBuf.ErrorMessage errorMessage_; + /** + * optional .ErrorMessage errorMessage = 1025; + */ + public boolean hasErrorMessage() { + return ((bitField1_ & 0x00000200) == 0x00000200); + } + /** + * optional .ErrorMessage errorMessage = 1025; + */ + public de.pokerth.protocol.ProtoBuf.ErrorMessage getErrorMessage() { + return errorMessage_; + } + + private void initFields() { + messageType_ = de.pokerth.protocol.ProtoBuf.LobbyMessage.LobbyMessageType.Type_InitMessage; + initMessage_ = de.pokerth.protocol.ProtoBuf.InitMessage.getDefaultInstance(); + initAckMessage_ = de.pokerth.protocol.ProtoBuf.InitAckMessage.getDefaultInstance(); + avatarRequestMessage_ = de.pokerth.protocol.ProtoBuf.AvatarRequestMessage.getDefaultInstance(); + avatarHeaderMessage_ = de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage.getDefaultInstance(); + avatarDataMessage_ = de.pokerth.protocol.ProtoBuf.AvatarDataMessage.getDefaultInstance(); + avatarEndMessage_ = de.pokerth.protocol.ProtoBuf.AvatarEndMessage.getDefaultInstance(); + unknownAvatarMessage_ = de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage.getDefaultInstance(); + playerListMessage_ = de.pokerth.protocol.ProtoBuf.PlayerListMessage.getDefaultInstance(); + gameListNewMessage_ = de.pokerth.protocol.ProtoBuf.GameListNewMessage.getDefaultInstance(); + gameListUpdateMessage_ = de.pokerth.protocol.ProtoBuf.GameListUpdateMessage.getDefaultInstance(); + gameListPlayerJoinedMessage_ = de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage.getDefaultInstance(); + gameListPlayerLeftMessage_ = de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage.getDefaultInstance(); + gameListSpectatorJoinedMessage_ = de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage.getDefaultInstance(); + gameListSpectatorLeftMessage_ = de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage.getDefaultInstance(); + gameListAdminChangedMessage_ = de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage.getDefaultInstance(); + playerInfoRequestMessage_ = de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage.getDefaultInstance(); + playerInfoReplyMessage_ = de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.getDefaultInstance(); + subscriptionRequestMessage_ = de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.getDefaultInstance(); + subscriptionReplyMessage_ = de.pokerth.protocol.ProtoBuf.SubscriptionReplyMessage.getDefaultInstance(); + createGameMessage_ = de.pokerth.protocol.ProtoBuf.CreateGameMessage.getDefaultInstance(); + createGameFailedMessage_ = de.pokerth.protocol.ProtoBuf.CreateGameFailedMessage.getDefaultInstance(); + invitePlayerToGameMessage_ = de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage.getDefaultInstance(); + inviteNotifyMessage_ = de.pokerth.protocol.ProtoBuf.InviteNotifyMessage.getDefaultInstance(); + rejectGameInvitationMessage_ = de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.getDefaultInstance(); + rejectInvNotifyMessage_ = de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage.getDefaultInstance(); + statisticsMessage_ = de.pokerth.protocol.ProtoBuf.StatisticsMessage.getDefaultInstance(); + chatRequestMessage_ = de.pokerth.protocol.ProtoBuf.ChatRequestMessage.getDefaultInstance(); + chatMessage_ = de.pokerth.protocol.ProtoBuf.ChatMessage.getDefaultInstance(); + chatRejectMessage_ = de.pokerth.protocol.ProtoBuf.ChatRejectMessage.getDefaultInstance(); + dialogMessage_ = de.pokerth.protocol.ProtoBuf.DialogMessage.getDefaultInstance(); + timeoutWarningMessage_ = de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.getDefaultInstance(); + resetTimeoutMessage_ = de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage.getDefaultInstance(); + reportAvatarMessage_ = de.pokerth.protocol.ProtoBuf.ReportAvatarMessage.getDefaultInstance(); + reportAvatarAckMessage_ = de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.getDefaultInstance(); + reportGameMessage_ = de.pokerth.protocol.ProtoBuf.ReportGameMessage.getDefaultInstance(); + reportGameAckMessage_ = de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.getDefaultInstance(); + adminRemoveGameMessage_ = de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage.getDefaultInstance(); + adminRemoveGameAckMessage_ = de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.getDefaultInstance(); + adminBanPlayerMessage_ = de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage.getDefaultInstance(); + adminBanPlayerAckMessage_ = de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.getDefaultInstance(); + errorMessage_ = de.pokerth.protocol.ProtoBuf.ErrorMessage.getDefaultInstance(); + } + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized != -1) return isInitialized == 1; + + if (!hasMessageType()) { + memoizedIsInitialized = 0; + return false; + } if (hasAvatarRequestMessage()) { if (!getAvatarRequestMessage().isInitialized()) { memoizedIsInitialized = 0; @@ -54018,6 +51141,18 @@ public final class ProtoBuf { return false; } } + if (hasGameListSpectatorJoinedMessage()) { + if (!getGameListSpectatorJoinedMessage().isInitialized()) { + memoizedIsInitialized = 0; + return false; + } + } + if (hasGameListSpectatorLeftMessage()) { + if (!getGameListSpectatorLeftMessage().isInitialized()) { + memoizedIsInitialized = 0; + return false; + } + } if (hasGameListAdminChangedMessage()) { if (!getGameListAdminChangedMessage().isInitialized()) { memoizedIsInitialized = 0; @@ -54036,68 +51171,20 @@ public final class ProtoBuf { return false; } } - if (hasJoinExistingGameMessage()) { - if (!getJoinExistingGameMessage().isInitialized()) { + if (hasSubscriptionReplyMessage()) { + if (!getSubscriptionReplyMessage().isInitialized()) { memoizedIsInitialized = 0; return false; } } - if (hasJoinNewGameMessage()) { - if (!getJoinNewGameMessage().isInitialized()) { + if (hasCreateGameMessage()) { + if (!getCreateGameMessage().isInitialized()) { memoizedIsInitialized = 0; return false; } } - if (hasRejoinExistingGameMessage()) { - if (!getRejoinExistingGameMessage().isInitialized()) { - memoizedIsInitialized = 0; - return false; - } - } - if (hasJoinGameAckMessage()) { - if (!getJoinGameAckMessage().isInitialized()) { - memoizedIsInitialized = 0; - return false; - } - } - if (hasJoinGameFailedMessage()) { - if (!getJoinGameFailedMessage().isInitialized()) { - memoizedIsInitialized = 0; - return false; - } - } - if (hasGamePlayerJoinedMessage()) { - if (!getGamePlayerJoinedMessage().isInitialized()) { - memoizedIsInitialized = 0; - return false; - } - } - if (hasGamePlayerLeftMessage()) { - if (!getGamePlayerLeftMessage().isInitialized()) { - memoizedIsInitialized = 0; - return false; - } - } - if (hasGameAdminChangedMessage()) { - if (!getGameAdminChangedMessage().isInitialized()) { - memoizedIsInitialized = 0; - return false; - } - } - if (hasRemovedFromGameMessage()) { - if (!getRemovedFromGameMessage().isInitialized()) { - memoizedIsInitialized = 0; - return false; - } - } - if (hasKickPlayerRequestMessage()) { - if (!getKickPlayerRequestMessage().isInitialized()) { - memoizedIsInitialized = 0; - return false; - } - } - if (hasLeaveGameRequestMessage()) { - if (!getLeaveGameRequestMessage().isInitialized()) { + if (hasCreateGameFailedMessage()) { + if (!getCreateGameFailedMessage().isInitialized()) { memoizedIsInitialized = 0; return false; } @@ -54126,14 +51213,5342 @@ public final class ProtoBuf { return false; } } - if (hasStartEventMessage()) { - if (!getStartEventMessage().isInitialized()) { + if (hasStatisticsMessage()) { + if (!getStatisticsMessage().isInitialized()) { memoizedIsInitialized = 0; return false; } } - if (hasStartEventAckMessage()) { - if (!getStartEventAckMessage().isInitialized()) { + if (hasChatRequestMessage()) { + if (!getChatRequestMessage().isInitialized()) { + memoizedIsInitialized = 0; + return false; + } + } + if (hasChatMessage()) { + if (!getChatMessage().isInitialized()) { + memoizedIsInitialized = 0; + return false; + } + } + if (hasChatRejectMessage()) { + if (!getChatRejectMessage().isInitialized()) { + memoizedIsInitialized = 0; + return false; + } + } + if (hasDialogMessage()) { + if (!getDialogMessage().isInitialized()) { + memoizedIsInitialized = 0; + return false; + } + } + if (hasTimeoutWarningMessage()) { + if (!getTimeoutWarningMessage().isInitialized()) { + memoizedIsInitialized = 0; + return false; + } + } + if (hasReportAvatarMessage()) { + if (!getReportAvatarMessage().isInitialized()) { + memoizedIsInitialized = 0; + return false; + } + } + if (hasReportAvatarAckMessage()) { + if (!getReportAvatarAckMessage().isInitialized()) { + memoizedIsInitialized = 0; + return false; + } + } + if (hasReportGameMessage()) { + if (!getReportGameMessage().isInitialized()) { + memoizedIsInitialized = 0; + return false; + } + } + if (hasReportGameAckMessage()) { + if (!getReportGameAckMessage().isInitialized()) { + memoizedIsInitialized = 0; + return false; + } + } + if (hasAdminRemoveGameMessage()) { + if (!getAdminRemoveGameMessage().isInitialized()) { + memoizedIsInitialized = 0; + return false; + } + } + if (hasAdminRemoveGameAckMessage()) { + if (!getAdminRemoveGameAckMessage().isInitialized()) { + memoizedIsInitialized = 0; + return false; + } + } + if (hasAdminBanPlayerMessage()) { + if (!getAdminBanPlayerMessage().isInitialized()) { + memoizedIsInitialized = 0; + return false; + } + } + if (hasAdminBanPlayerAckMessage()) { + if (!getAdminBanPlayerAckMessage().isInitialized()) { + memoizedIsInitialized = 0; + return false; + } + } + if (hasErrorMessage()) { + if (!getErrorMessage().isInitialized()) { + memoizedIsInitialized = 0; + return false; + } + } + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); + if (((bitField0_ & 0x00000001) == 0x00000001)) { + output.writeEnum(1, messageType_.getNumber()); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + output.writeMessage(2, initMessage_); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + output.writeMessage(3, initAckMessage_); + } + if (((bitField0_ & 0x00000008) == 0x00000008)) { + output.writeMessage(4, avatarRequestMessage_); + } + if (((bitField0_ & 0x00000010) == 0x00000010)) { + output.writeMessage(5, avatarHeaderMessage_); + } + if (((bitField0_ & 0x00000020) == 0x00000020)) { + output.writeMessage(6, avatarDataMessage_); + } + if (((bitField0_ & 0x00000040) == 0x00000040)) { + output.writeMessage(7, avatarEndMessage_); + } + if (((bitField0_ & 0x00000080) == 0x00000080)) { + output.writeMessage(8, unknownAvatarMessage_); + } + if (((bitField0_ & 0x00000100) == 0x00000100)) { + output.writeMessage(9, playerListMessage_); + } + if (((bitField0_ & 0x00000200) == 0x00000200)) { + output.writeMessage(10, gameListNewMessage_); + } + if (((bitField0_ & 0x00000400) == 0x00000400)) { + output.writeMessage(11, gameListUpdateMessage_); + } + if (((bitField0_ & 0x00000800) == 0x00000800)) { + output.writeMessage(12, gameListPlayerJoinedMessage_); + } + if (((bitField0_ & 0x00001000) == 0x00001000)) { + output.writeMessage(13, gameListPlayerLeftMessage_); + } + if (((bitField0_ & 0x00002000) == 0x00002000)) { + output.writeMessage(14, gameListSpectatorJoinedMessage_); + } + if (((bitField0_ & 0x00004000) == 0x00004000)) { + output.writeMessage(15, gameListSpectatorLeftMessage_); + } + if (((bitField0_ & 0x00008000) == 0x00008000)) { + output.writeMessage(16, gameListAdminChangedMessage_); + } + if (((bitField0_ & 0x00010000) == 0x00010000)) { + output.writeMessage(17, playerInfoRequestMessage_); + } + if (((bitField0_ & 0x00020000) == 0x00020000)) { + output.writeMessage(18, playerInfoReplyMessage_); + } + if (((bitField0_ & 0x00040000) == 0x00040000)) { + output.writeMessage(19, subscriptionRequestMessage_); + } + if (((bitField0_ & 0x00080000) == 0x00080000)) { + output.writeMessage(20, subscriptionReplyMessage_); + } + if (((bitField0_ & 0x00100000) == 0x00100000)) { + output.writeMessage(21, createGameMessage_); + } + if (((bitField0_ & 0x00200000) == 0x00200000)) { + output.writeMessage(22, createGameFailedMessage_); + } + if (((bitField0_ & 0x00400000) == 0x00400000)) { + output.writeMessage(23, invitePlayerToGameMessage_); + } + if (((bitField0_ & 0x00800000) == 0x00800000)) { + output.writeMessage(24, inviteNotifyMessage_); + } + if (((bitField0_ & 0x01000000) == 0x01000000)) { + output.writeMessage(25, rejectGameInvitationMessage_); + } + if (((bitField0_ & 0x02000000) == 0x02000000)) { + output.writeMessage(26, rejectInvNotifyMessage_); + } + if (((bitField0_ & 0x04000000) == 0x04000000)) { + output.writeMessage(27, statisticsMessage_); + } + if (((bitField0_ & 0x08000000) == 0x08000000)) { + output.writeMessage(28, chatRequestMessage_); + } + if (((bitField0_ & 0x10000000) == 0x10000000)) { + output.writeMessage(29, chatMessage_); + } + if (((bitField0_ & 0x20000000) == 0x20000000)) { + output.writeMessage(30, chatRejectMessage_); + } + if (((bitField0_ & 0x40000000) == 0x40000000)) { + output.writeMessage(31, dialogMessage_); + } + if (((bitField0_ & 0x80000000) == 0x80000000)) { + output.writeMessage(32, timeoutWarningMessage_); + } + if (((bitField1_ & 0x00000001) == 0x00000001)) { + output.writeMessage(33, resetTimeoutMessage_); + } + if (((bitField1_ & 0x00000002) == 0x00000002)) { + output.writeMessage(34, reportAvatarMessage_); + } + if (((bitField1_ & 0x00000004) == 0x00000004)) { + output.writeMessage(35, reportAvatarAckMessage_); + } + if (((bitField1_ & 0x00000008) == 0x00000008)) { + output.writeMessage(36, reportGameMessage_); + } + if (((bitField1_ & 0x00000010) == 0x00000010)) { + output.writeMessage(37, reportGameAckMessage_); + } + if (((bitField1_ & 0x00000020) == 0x00000020)) { + output.writeMessage(38, adminRemoveGameMessage_); + } + if (((bitField1_ & 0x00000040) == 0x00000040)) { + output.writeMessage(39, adminRemoveGameAckMessage_); + } + if (((bitField1_ & 0x00000080) == 0x00000080)) { + output.writeMessage(40, adminBanPlayerMessage_); + } + if (((bitField1_ & 0x00000100) == 0x00000100)) { + output.writeMessage(41, adminBanPlayerAckMessage_); + } + if (((bitField1_ & 0x00000200) == 0x00000200)) { + output.writeMessage(1025, errorMessage_); + } + } + + private int memoizedSerializedSize = -1; + public int getSerializedSize() { + int size = memoizedSerializedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) == 0x00000001)) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, messageType_.getNumber()); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, initMessage_); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, initAckMessage_); + } + if (((bitField0_ & 0x00000008) == 0x00000008)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, avatarRequestMessage_); + } + if (((bitField0_ & 0x00000010) == 0x00000010)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, avatarHeaderMessage_); + } + if (((bitField0_ & 0x00000020) == 0x00000020)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, avatarDataMessage_); + } + if (((bitField0_ & 0x00000040) == 0x00000040)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, avatarEndMessage_); + } + if (((bitField0_ & 0x00000080) == 0x00000080)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, unknownAvatarMessage_); + } + if (((bitField0_ & 0x00000100) == 0x00000100)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, playerListMessage_); + } + if (((bitField0_ & 0x00000200) == 0x00000200)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, gameListNewMessage_); + } + if (((bitField0_ & 0x00000400) == 0x00000400)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, gameListUpdateMessage_); + } + if (((bitField0_ & 0x00000800) == 0x00000800)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, gameListPlayerJoinedMessage_); + } + if (((bitField0_ & 0x00001000) == 0x00001000)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(13, gameListPlayerLeftMessage_); + } + if (((bitField0_ & 0x00002000) == 0x00002000)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(14, gameListSpectatorJoinedMessage_); + } + if (((bitField0_ & 0x00004000) == 0x00004000)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(15, gameListSpectatorLeftMessage_); + } + if (((bitField0_ & 0x00008000) == 0x00008000)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(16, gameListAdminChangedMessage_); + } + if (((bitField0_ & 0x00010000) == 0x00010000)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(17, playerInfoRequestMessage_); + } + if (((bitField0_ & 0x00020000) == 0x00020000)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(18, playerInfoReplyMessage_); + } + if (((bitField0_ & 0x00040000) == 0x00040000)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(19, subscriptionRequestMessage_); + } + if (((bitField0_ & 0x00080000) == 0x00080000)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(20, subscriptionReplyMessage_); + } + if (((bitField0_ & 0x00100000) == 0x00100000)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(21, createGameMessage_); + } + if (((bitField0_ & 0x00200000) == 0x00200000)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(22, createGameFailedMessage_); + } + if (((bitField0_ & 0x00400000) == 0x00400000)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(23, invitePlayerToGameMessage_); + } + if (((bitField0_ & 0x00800000) == 0x00800000)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(24, inviteNotifyMessage_); + } + if (((bitField0_ & 0x01000000) == 0x01000000)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(25, rejectGameInvitationMessage_); + } + if (((bitField0_ & 0x02000000) == 0x02000000)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(26, rejectInvNotifyMessage_); + } + if (((bitField0_ & 0x04000000) == 0x04000000)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(27, statisticsMessage_); + } + if (((bitField0_ & 0x08000000) == 0x08000000)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(28, chatRequestMessage_); + } + if (((bitField0_ & 0x10000000) == 0x10000000)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(29, chatMessage_); + } + if (((bitField0_ & 0x20000000) == 0x20000000)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(30, chatRejectMessage_); + } + if (((bitField0_ & 0x40000000) == 0x40000000)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(31, dialogMessage_); + } + if (((bitField0_ & 0x80000000) == 0x80000000)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(32, timeoutWarningMessage_); + } + if (((bitField1_ & 0x00000001) == 0x00000001)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(33, resetTimeoutMessage_); + } + if (((bitField1_ & 0x00000002) == 0x00000002)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(34, reportAvatarMessage_); + } + if (((bitField1_ & 0x00000004) == 0x00000004)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(35, reportAvatarAckMessage_); + } + if (((bitField1_ & 0x00000008) == 0x00000008)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(36, reportGameMessage_); + } + if (((bitField1_ & 0x00000010) == 0x00000010)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(37, reportGameAckMessage_); + } + if (((bitField1_ & 0x00000020) == 0x00000020)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(38, adminRemoveGameMessage_); + } + if (((bitField1_ & 0x00000040) == 0x00000040)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(39, adminRemoveGameAckMessage_); + } + if (((bitField1_ & 0x00000080) == 0x00000080)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(40, adminBanPlayerMessage_); + } + if (((bitField1_ & 0x00000100) == 0x00000100)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(41, adminBanPlayerAckMessage_); + } + if (((bitField1_ & 0x00000200) == 0x00000200)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1025, errorMessage_); + } + memoizedSerializedSize = size; + return size; + } + + private static final long serialVersionUID = 0L; + @java.lang.Override + protected java.lang.Object writeReplace() + throws java.io.ObjectStreamException { + return super.writeReplace(); + } + + public static de.pokerth.protocol.ProtoBuf.LobbyMessage parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.LobbyMessage parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.LobbyMessage parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.LobbyMessage parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.LobbyMessage parseFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.LobbyMessage parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.LobbyMessage parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.LobbyMessage parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.LobbyMessage parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.LobbyMessage parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + + public static Builder newBuilder() { return Builder.create(); } + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.LobbyMessage prototype) { + return newBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { return newBuilder(this); } + + /** + * Protobuf type {@code LobbyMessage} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageLite.Builder< + de.pokerth.protocol.ProtoBuf.LobbyMessage, Builder> + implements de.pokerth.protocol.ProtoBuf.LobbyMessageOrBuilder { + // Construct using de.pokerth.protocol.ProtoBuf.LobbyMessage.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + } + private static Builder create() { + return new Builder(); + } + + public Builder clear() { + super.clear(); + messageType_ = de.pokerth.protocol.ProtoBuf.LobbyMessage.LobbyMessageType.Type_InitMessage; + bitField0_ = (bitField0_ & ~0x00000001); + initMessage_ = de.pokerth.protocol.ProtoBuf.InitMessage.getDefaultInstance(); + bitField0_ = (bitField0_ & ~0x00000002); + initAckMessage_ = de.pokerth.protocol.ProtoBuf.InitAckMessage.getDefaultInstance(); + bitField0_ = (bitField0_ & ~0x00000004); + avatarRequestMessage_ = de.pokerth.protocol.ProtoBuf.AvatarRequestMessage.getDefaultInstance(); + bitField0_ = (bitField0_ & ~0x00000008); + avatarHeaderMessage_ = de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage.getDefaultInstance(); + bitField0_ = (bitField0_ & ~0x00000010); + avatarDataMessage_ = de.pokerth.protocol.ProtoBuf.AvatarDataMessage.getDefaultInstance(); + bitField0_ = (bitField0_ & ~0x00000020); + avatarEndMessage_ = de.pokerth.protocol.ProtoBuf.AvatarEndMessage.getDefaultInstance(); + bitField0_ = (bitField0_ & ~0x00000040); + unknownAvatarMessage_ = de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage.getDefaultInstance(); + bitField0_ = (bitField0_ & ~0x00000080); + playerListMessage_ = de.pokerth.protocol.ProtoBuf.PlayerListMessage.getDefaultInstance(); + bitField0_ = (bitField0_ & ~0x00000100); + gameListNewMessage_ = de.pokerth.protocol.ProtoBuf.GameListNewMessage.getDefaultInstance(); + bitField0_ = (bitField0_ & ~0x00000200); + gameListUpdateMessage_ = de.pokerth.protocol.ProtoBuf.GameListUpdateMessage.getDefaultInstance(); + bitField0_ = (bitField0_ & ~0x00000400); + gameListPlayerJoinedMessage_ = de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage.getDefaultInstance(); + bitField0_ = (bitField0_ & ~0x00000800); + gameListPlayerLeftMessage_ = de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage.getDefaultInstance(); + bitField0_ = (bitField0_ & ~0x00001000); + gameListSpectatorJoinedMessage_ = de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage.getDefaultInstance(); + bitField0_ = (bitField0_ & ~0x00002000); + gameListSpectatorLeftMessage_ = de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage.getDefaultInstance(); + bitField0_ = (bitField0_ & ~0x00004000); + gameListAdminChangedMessage_ = de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage.getDefaultInstance(); + bitField0_ = (bitField0_ & ~0x00008000); + playerInfoRequestMessage_ = de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage.getDefaultInstance(); + bitField0_ = (bitField0_ & ~0x00010000); + playerInfoReplyMessage_ = de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.getDefaultInstance(); + bitField0_ = (bitField0_ & ~0x00020000); + subscriptionRequestMessage_ = de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.getDefaultInstance(); + bitField0_ = (bitField0_ & ~0x00040000); + subscriptionReplyMessage_ = de.pokerth.protocol.ProtoBuf.SubscriptionReplyMessage.getDefaultInstance(); + bitField0_ = (bitField0_ & ~0x00080000); + createGameMessage_ = de.pokerth.protocol.ProtoBuf.CreateGameMessage.getDefaultInstance(); + bitField0_ = (bitField0_ & ~0x00100000); + createGameFailedMessage_ = de.pokerth.protocol.ProtoBuf.CreateGameFailedMessage.getDefaultInstance(); + bitField0_ = (bitField0_ & ~0x00200000); + invitePlayerToGameMessage_ = de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage.getDefaultInstance(); + bitField0_ = (bitField0_ & ~0x00400000); + inviteNotifyMessage_ = de.pokerth.protocol.ProtoBuf.InviteNotifyMessage.getDefaultInstance(); + bitField0_ = (bitField0_ & ~0x00800000); + rejectGameInvitationMessage_ = de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.getDefaultInstance(); + bitField0_ = (bitField0_ & ~0x01000000); + rejectInvNotifyMessage_ = de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage.getDefaultInstance(); + bitField0_ = (bitField0_ & ~0x02000000); + statisticsMessage_ = de.pokerth.protocol.ProtoBuf.StatisticsMessage.getDefaultInstance(); + bitField0_ = (bitField0_ & ~0x04000000); + chatRequestMessage_ = de.pokerth.protocol.ProtoBuf.ChatRequestMessage.getDefaultInstance(); + bitField0_ = (bitField0_ & ~0x08000000); + chatMessage_ = de.pokerth.protocol.ProtoBuf.ChatMessage.getDefaultInstance(); + bitField0_ = (bitField0_ & ~0x10000000); + chatRejectMessage_ = de.pokerth.protocol.ProtoBuf.ChatRejectMessage.getDefaultInstance(); + bitField0_ = (bitField0_ & ~0x20000000); + dialogMessage_ = de.pokerth.protocol.ProtoBuf.DialogMessage.getDefaultInstance(); + bitField0_ = (bitField0_ & ~0x40000000); + timeoutWarningMessage_ = de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.getDefaultInstance(); + bitField0_ = (bitField0_ & ~0x80000000); + resetTimeoutMessage_ = de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage.getDefaultInstance(); + bitField1_ = (bitField1_ & ~0x00000001); + reportAvatarMessage_ = de.pokerth.protocol.ProtoBuf.ReportAvatarMessage.getDefaultInstance(); + bitField1_ = (bitField1_ & ~0x00000002); + reportAvatarAckMessage_ = de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.getDefaultInstance(); + bitField1_ = (bitField1_ & ~0x00000004); + reportGameMessage_ = de.pokerth.protocol.ProtoBuf.ReportGameMessage.getDefaultInstance(); + bitField1_ = (bitField1_ & ~0x00000008); + reportGameAckMessage_ = de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.getDefaultInstance(); + bitField1_ = (bitField1_ & ~0x00000010); + adminRemoveGameMessage_ = de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage.getDefaultInstance(); + bitField1_ = (bitField1_ & ~0x00000020); + adminRemoveGameAckMessage_ = de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.getDefaultInstance(); + bitField1_ = (bitField1_ & ~0x00000040); + adminBanPlayerMessage_ = de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage.getDefaultInstance(); + bitField1_ = (bitField1_ & ~0x00000080); + adminBanPlayerAckMessage_ = de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.getDefaultInstance(); + bitField1_ = (bitField1_ & ~0x00000100); + errorMessage_ = de.pokerth.protocol.ProtoBuf.ErrorMessage.getDefaultInstance(); + bitField1_ = (bitField1_ & ~0x00000200); + return this; + } + + public Builder clone() { + return create().mergeFrom(buildPartial()); + } + + public de.pokerth.protocol.ProtoBuf.LobbyMessage getDefaultInstanceForType() { + return de.pokerth.protocol.ProtoBuf.LobbyMessage.getDefaultInstance(); + } + + public de.pokerth.protocol.ProtoBuf.LobbyMessage build() { + de.pokerth.protocol.ProtoBuf.LobbyMessage result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public de.pokerth.protocol.ProtoBuf.LobbyMessage buildPartial() { + de.pokerth.protocol.ProtoBuf.LobbyMessage result = new de.pokerth.protocol.ProtoBuf.LobbyMessage(this); + int from_bitField0_ = bitField0_; + int from_bitField1_ = bitField1_; + int to_bitField0_ = 0; + int to_bitField1_ = 0; + if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + to_bitField0_ |= 0x00000001; + } + result.messageType_ = messageType_; + if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + to_bitField0_ |= 0x00000002; + } + result.initMessage_ = initMessage_; + if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + to_bitField0_ |= 0x00000004; + } + result.initAckMessage_ = initAckMessage_; + if (((from_bitField0_ & 0x00000008) == 0x00000008)) { + to_bitField0_ |= 0x00000008; + } + result.avatarRequestMessage_ = avatarRequestMessage_; + if (((from_bitField0_ & 0x00000010) == 0x00000010)) { + to_bitField0_ |= 0x00000010; + } + result.avatarHeaderMessage_ = avatarHeaderMessage_; + if (((from_bitField0_ & 0x00000020) == 0x00000020)) { + to_bitField0_ |= 0x00000020; + } + result.avatarDataMessage_ = avatarDataMessage_; + if (((from_bitField0_ & 0x00000040) == 0x00000040)) { + to_bitField0_ |= 0x00000040; + } + result.avatarEndMessage_ = avatarEndMessage_; + if (((from_bitField0_ & 0x00000080) == 0x00000080)) { + to_bitField0_ |= 0x00000080; + } + result.unknownAvatarMessage_ = unknownAvatarMessage_; + if (((from_bitField0_ & 0x00000100) == 0x00000100)) { + to_bitField0_ |= 0x00000100; + } + result.playerListMessage_ = playerListMessage_; + if (((from_bitField0_ & 0x00000200) == 0x00000200)) { + to_bitField0_ |= 0x00000200; + } + result.gameListNewMessage_ = gameListNewMessage_; + if (((from_bitField0_ & 0x00000400) == 0x00000400)) { + to_bitField0_ |= 0x00000400; + } + result.gameListUpdateMessage_ = gameListUpdateMessage_; + if (((from_bitField0_ & 0x00000800) == 0x00000800)) { + to_bitField0_ |= 0x00000800; + } + result.gameListPlayerJoinedMessage_ = gameListPlayerJoinedMessage_; + if (((from_bitField0_ & 0x00001000) == 0x00001000)) { + to_bitField0_ |= 0x00001000; + } + result.gameListPlayerLeftMessage_ = gameListPlayerLeftMessage_; + if (((from_bitField0_ & 0x00002000) == 0x00002000)) { + to_bitField0_ |= 0x00002000; + } + result.gameListSpectatorJoinedMessage_ = gameListSpectatorJoinedMessage_; + if (((from_bitField0_ & 0x00004000) == 0x00004000)) { + to_bitField0_ |= 0x00004000; + } + result.gameListSpectatorLeftMessage_ = gameListSpectatorLeftMessage_; + if (((from_bitField0_ & 0x00008000) == 0x00008000)) { + to_bitField0_ |= 0x00008000; + } + result.gameListAdminChangedMessage_ = gameListAdminChangedMessage_; + if (((from_bitField0_ & 0x00010000) == 0x00010000)) { + to_bitField0_ |= 0x00010000; + } + result.playerInfoRequestMessage_ = playerInfoRequestMessage_; + if (((from_bitField0_ & 0x00020000) == 0x00020000)) { + to_bitField0_ |= 0x00020000; + } + result.playerInfoReplyMessage_ = playerInfoReplyMessage_; + if (((from_bitField0_ & 0x00040000) == 0x00040000)) { + to_bitField0_ |= 0x00040000; + } + result.subscriptionRequestMessage_ = subscriptionRequestMessage_; + if (((from_bitField0_ & 0x00080000) == 0x00080000)) { + to_bitField0_ |= 0x00080000; + } + result.subscriptionReplyMessage_ = subscriptionReplyMessage_; + if (((from_bitField0_ & 0x00100000) == 0x00100000)) { + to_bitField0_ |= 0x00100000; + } + result.createGameMessage_ = createGameMessage_; + if (((from_bitField0_ & 0x00200000) == 0x00200000)) { + to_bitField0_ |= 0x00200000; + } + result.createGameFailedMessage_ = createGameFailedMessage_; + if (((from_bitField0_ & 0x00400000) == 0x00400000)) { + to_bitField0_ |= 0x00400000; + } + result.invitePlayerToGameMessage_ = invitePlayerToGameMessage_; + if (((from_bitField0_ & 0x00800000) == 0x00800000)) { + to_bitField0_ |= 0x00800000; + } + result.inviteNotifyMessage_ = inviteNotifyMessage_; + if (((from_bitField0_ & 0x01000000) == 0x01000000)) { + to_bitField0_ |= 0x01000000; + } + result.rejectGameInvitationMessage_ = rejectGameInvitationMessage_; + if (((from_bitField0_ & 0x02000000) == 0x02000000)) { + to_bitField0_ |= 0x02000000; + } + result.rejectInvNotifyMessage_ = rejectInvNotifyMessage_; + if (((from_bitField0_ & 0x04000000) == 0x04000000)) { + to_bitField0_ |= 0x04000000; + } + result.statisticsMessage_ = statisticsMessage_; + if (((from_bitField0_ & 0x08000000) == 0x08000000)) { + to_bitField0_ |= 0x08000000; + } + result.chatRequestMessage_ = chatRequestMessage_; + if (((from_bitField0_ & 0x10000000) == 0x10000000)) { + to_bitField0_ |= 0x10000000; + } + result.chatMessage_ = chatMessage_; + if (((from_bitField0_ & 0x20000000) == 0x20000000)) { + to_bitField0_ |= 0x20000000; + } + result.chatRejectMessage_ = chatRejectMessage_; + if (((from_bitField0_ & 0x40000000) == 0x40000000)) { + to_bitField0_ |= 0x40000000; + } + result.dialogMessage_ = dialogMessage_; + if (((from_bitField0_ & 0x80000000) == 0x80000000)) { + to_bitField0_ |= 0x80000000; + } + result.timeoutWarningMessage_ = timeoutWarningMessage_; + if (((from_bitField1_ & 0x00000001) == 0x00000001)) { + to_bitField1_ |= 0x00000001; + } + result.resetTimeoutMessage_ = resetTimeoutMessage_; + if (((from_bitField1_ & 0x00000002) == 0x00000002)) { + to_bitField1_ |= 0x00000002; + } + result.reportAvatarMessage_ = reportAvatarMessage_; + if (((from_bitField1_ & 0x00000004) == 0x00000004)) { + to_bitField1_ |= 0x00000004; + } + result.reportAvatarAckMessage_ = reportAvatarAckMessage_; + if (((from_bitField1_ & 0x00000008) == 0x00000008)) { + to_bitField1_ |= 0x00000008; + } + result.reportGameMessage_ = reportGameMessage_; + if (((from_bitField1_ & 0x00000010) == 0x00000010)) { + to_bitField1_ |= 0x00000010; + } + result.reportGameAckMessage_ = reportGameAckMessage_; + if (((from_bitField1_ & 0x00000020) == 0x00000020)) { + to_bitField1_ |= 0x00000020; + } + result.adminRemoveGameMessage_ = adminRemoveGameMessage_; + if (((from_bitField1_ & 0x00000040) == 0x00000040)) { + to_bitField1_ |= 0x00000040; + } + result.adminRemoveGameAckMessage_ = adminRemoveGameAckMessage_; + if (((from_bitField1_ & 0x00000080) == 0x00000080)) { + to_bitField1_ |= 0x00000080; + } + result.adminBanPlayerMessage_ = adminBanPlayerMessage_; + if (((from_bitField1_ & 0x00000100) == 0x00000100)) { + to_bitField1_ |= 0x00000100; + } + result.adminBanPlayerAckMessage_ = adminBanPlayerAckMessage_; + if (((from_bitField1_ & 0x00000200) == 0x00000200)) { + to_bitField1_ |= 0x00000200; + } + result.errorMessage_ = errorMessage_; + result.bitField0_ = to_bitField0_; + result.bitField1_ = to_bitField1_; + return result; + } + + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.LobbyMessage other) { + if (other == de.pokerth.protocol.ProtoBuf.LobbyMessage.getDefaultInstance()) return this; + if (other.hasMessageType()) { + setMessageType(other.getMessageType()); + } + if (other.hasInitMessage()) { + mergeInitMessage(other.getInitMessage()); + } + if (other.hasInitAckMessage()) { + mergeInitAckMessage(other.getInitAckMessage()); + } + if (other.hasAvatarRequestMessage()) { + mergeAvatarRequestMessage(other.getAvatarRequestMessage()); + } + if (other.hasAvatarHeaderMessage()) { + mergeAvatarHeaderMessage(other.getAvatarHeaderMessage()); + } + if (other.hasAvatarDataMessage()) { + mergeAvatarDataMessage(other.getAvatarDataMessage()); + } + if (other.hasAvatarEndMessage()) { + mergeAvatarEndMessage(other.getAvatarEndMessage()); + } + if (other.hasUnknownAvatarMessage()) { + mergeUnknownAvatarMessage(other.getUnknownAvatarMessage()); + } + if (other.hasPlayerListMessage()) { + mergePlayerListMessage(other.getPlayerListMessage()); + } + if (other.hasGameListNewMessage()) { + mergeGameListNewMessage(other.getGameListNewMessage()); + } + if (other.hasGameListUpdateMessage()) { + mergeGameListUpdateMessage(other.getGameListUpdateMessage()); + } + if (other.hasGameListPlayerJoinedMessage()) { + mergeGameListPlayerJoinedMessage(other.getGameListPlayerJoinedMessage()); + } + if (other.hasGameListPlayerLeftMessage()) { + mergeGameListPlayerLeftMessage(other.getGameListPlayerLeftMessage()); + } + if (other.hasGameListSpectatorJoinedMessage()) { + mergeGameListSpectatorJoinedMessage(other.getGameListSpectatorJoinedMessage()); + } + if (other.hasGameListSpectatorLeftMessage()) { + mergeGameListSpectatorLeftMessage(other.getGameListSpectatorLeftMessage()); + } + if (other.hasGameListAdminChangedMessage()) { + mergeGameListAdminChangedMessage(other.getGameListAdminChangedMessage()); + } + if (other.hasPlayerInfoRequestMessage()) { + mergePlayerInfoRequestMessage(other.getPlayerInfoRequestMessage()); + } + if (other.hasPlayerInfoReplyMessage()) { + mergePlayerInfoReplyMessage(other.getPlayerInfoReplyMessage()); + } + if (other.hasSubscriptionRequestMessage()) { + mergeSubscriptionRequestMessage(other.getSubscriptionRequestMessage()); + } + if (other.hasSubscriptionReplyMessage()) { + mergeSubscriptionReplyMessage(other.getSubscriptionReplyMessage()); + } + if (other.hasCreateGameMessage()) { + mergeCreateGameMessage(other.getCreateGameMessage()); + } + if (other.hasCreateGameFailedMessage()) { + mergeCreateGameFailedMessage(other.getCreateGameFailedMessage()); + } + if (other.hasInvitePlayerToGameMessage()) { + mergeInvitePlayerToGameMessage(other.getInvitePlayerToGameMessage()); + } + if (other.hasInviteNotifyMessage()) { + mergeInviteNotifyMessage(other.getInviteNotifyMessage()); + } + if (other.hasRejectGameInvitationMessage()) { + mergeRejectGameInvitationMessage(other.getRejectGameInvitationMessage()); + } + if (other.hasRejectInvNotifyMessage()) { + mergeRejectInvNotifyMessage(other.getRejectInvNotifyMessage()); + } + if (other.hasStatisticsMessage()) { + mergeStatisticsMessage(other.getStatisticsMessage()); + } + if (other.hasChatRequestMessage()) { + mergeChatRequestMessage(other.getChatRequestMessage()); + } + if (other.hasChatMessage()) { + mergeChatMessage(other.getChatMessage()); + } + if (other.hasChatRejectMessage()) { + mergeChatRejectMessage(other.getChatRejectMessage()); + } + if (other.hasDialogMessage()) { + mergeDialogMessage(other.getDialogMessage()); + } + if (other.hasTimeoutWarningMessage()) { + mergeTimeoutWarningMessage(other.getTimeoutWarningMessage()); + } + if (other.hasResetTimeoutMessage()) { + mergeResetTimeoutMessage(other.getResetTimeoutMessage()); + } + if (other.hasReportAvatarMessage()) { + mergeReportAvatarMessage(other.getReportAvatarMessage()); + } + if (other.hasReportAvatarAckMessage()) { + mergeReportAvatarAckMessage(other.getReportAvatarAckMessage()); + } + if (other.hasReportGameMessage()) { + mergeReportGameMessage(other.getReportGameMessage()); + } + if (other.hasReportGameAckMessage()) { + mergeReportGameAckMessage(other.getReportGameAckMessage()); + } + if (other.hasAdminRemoveGameMessage()) { + mergeAdminRemoveGameMessage(other.getAdminRemoveGameMessage()); + } + if (other.hasAdminRemoveGameAckMessage()) { + mergeAdminRemoveGameAckMessage(other.getAdminRemoveGameAckMessage()); + } + if (other.hasAdminBanPlayerMessage()) { + mergeAdminBanPlayerMessage(other.getAdminBanPlayerMessage()); + } + if (other.hasAdminBanPlayerAckMessage()) { + mergeAdminBanPlayerAckMessage(other.getAdminBanPlayerAckMessage()); + } + if (other.hasErrorMessage()) { + mergeErrorMessage(other.getErrorMessage()); + } + return this; + } + + public final boolean isInitialized() { + if (!hasMessageType()) { + + return false; + } + if (hasAvatarRequestMessage()) { + if (!getAvatarRequestMessage().isInitialized()) { + + return false; + } + } + if (hasAvatarHeaderMessage()) { + if (!getAvatarHeaderMessage().isInitialized()) { + + return false; + } + } + if (hasAvatarDataMessage()) { + if (!getAvatarDataMessage().isInitialized()) { + + return false; + } + } + if (hasAvatarEndMessage()) { + if (!getAvatarEndMessage().isInitialized()) { + + return false; + } + } + if (hasUnknownAvatarMessage()) { + if (!getUnknownAvatarMessage().isInitialized()) { + + return false; + } + } + if (hasPlayerListMessage()) { + if (!getPlayerListMessage().isInitialized()) { + + return false; + } + } + if (hasGameListNewMessage()) { + if (!getGameListNewMessage().isInitialized()) { + + return false; + } + } + if (hasGameListUpdateMessage()) { + if (!getGameListUpdateMessage().isInitialized()) { + + return false; + } + } + if (hasGameListPlayerJoinedMessage()) { + if (!getGameListPlayerJoinedMessage().isInitialized()) { + + return false; + } + } + if (hasGameListPlayerLeftMessage()) { + if (!getGameListPlayerLeftMessage().isInitialized()) { + + return false; + } + } + if (hasGameListSpectatorJoinedMessage()) { + if (!getGameListSpectatorJoinedMessage().isInitialized()) { + + return false; + } + } + if (hasGameListSpectatorLeftMessage()) { + if (!getGameListSpectatorLeftMessage().isInitialized()) { + + return false; + } + } + if (hasGameListAdminChangedMessage()) { + if (!getGameListAdminChangedMessage().isInitialized()) { + + return false; + } + } + if (hasPlayerInfoReplyMessage()) { + if (!getPlayerInfoReplyMessage().isInitialized()) { + + return false; + } + } + if (hasSubscriptionRequestMessage()) { + if (!getSubscriptionRequestMessage().isInitialized()) { + + return false; + } + } + if (hasSubscriptionReplyMessage()) { + if (!getSubscriptionReplyMessage().isInitialized()) { + + return false; + } + } + if (hasCreateGameMessage()) { + if (!getCreateGameMessage().isInitialized()) { + + return false; + } + } + if (hasCreateGameFailedMessage()) { + if (!getCreateGameFailedMessage().isInitialized()) { + + return false; + } + } + if (hasInvitePlayerToGameMessage()) { + if (!getInvitePlayerToGameMessage().isInitialized()) { + + return false; + } + } + if (hasInviteNotifyMessage()) { + if (!getInviteNotifyMessage().isInitialized()) { + + return false; + } + } + if (hasRejectGameInvitationMessage()) { + if (!getRejectGameInvitationMessage().isInitialized()) { + + return false; + } + } + if (hasRejectInvNotifyMessage()) { + if (!getRejectInvNotifyMessage().isInitialized()) { + + return false; + } + } + if (hasStatisticsMessage()) { + if (!getStatisticsMessage().isInitialized()) { + + return false; + } + } + if (hasChatRequestMessage()) { + if (!getChatRequestMessage().isInitialized()) { + + return false; + } + } + if (hasChatMessage()) { + if (!getChatMessage().isInitialized()) { + + return false; + } + } + if (hasChatRejectMessage()) { + if (!getChatRejectMessage().isInitialized()) { + + return false; + } + } + if (hasDialogMessage()) { + if (!getDialogMessage().isInitialized()) { + + return false; + } + } + if (hasTimeoutWarningMessage()) { + if (!getTimeoutWarningMessage().isInitialized()) { + + return false; + } + } + if (hasReportAvatarMessage()) { + if (!getReportAvatarMessage().isInitialized()) { + + return false; + } + } + if (hasReportAvatarAckMessage()) { + if (!getReportAvatarAckMessage().isInitialized()) { + + return false; + } + } + if (hasReportGameMessage()) { + if (!getReportGameMessage().isInitialized()) { + + return false; + } + } + if (hasReportGameAckMessage()) { + if (!getReportGameAckMessage().isInitialized()) { + + return false; + } + } + if (hasAdminRemoveGameMessage()) { + if (!getAdminRemoveGameMessage().isInitialized()) { + + return false; + } + } + if (hasAdminRemoveGameAckMessage()) { + if (!getAdminRemoveGameAckMessage().isInitialized()) { + + return false; + } + } + if (hasAdminBanPlayerMessage()) { + if (!getAdminBanPlayerMessage().isInitialized()) { + + return false; + } + } + if (hasAdminBanPlayerAckMessage()) { + if (!getAdminBanPlayerAckMessage().isInitialized()) { + + return false; + } + } + if (hasErrorMessage()) { + if (!getErrorMessage().isInitialized()) { + + return false; + } + } + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + de.pokerth.protocol.ProtoBuf.LobbyMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.LobbyMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + private int bitField1_; + + // required .LobbyMessage.LobbyMessageType messageType = 1; + private de.pokerth.protocol.ProtoBuf.LobbyMessage.LobbyMessageType messageType_ = de.pokerth.protocol.ProtoBuf.LobbyMessage.LobbyMessageType.Type_InitMessage; + /** + * required .LobbyMessage.LobbyMessageType messageType = 1; + */ + public boolean hasMessageType() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * required .LobbyMessage.LobbyMessageType messageType = 1; + */ + public de.pokerth.protocol.ProtoBuf.LobbyMessage.LobbyMessageType getMessageType() { + return messageType_; + } + /** + * required .LobbyMessage.LobbyMessageType messageType = 1; + */ + public Builder setMessageType(de.pokerth.protocol.ProtoBuf.LobbyMessage.LobbyMessageType value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + messageType_ = value; + + return this; + } + /** + * required .LobbyMessage.LobbyMessageType messageType = 1; + */ + public Builder clearMessageType() { + bitField0_ = (bitField0_ & ~0x00000001); + messageType_ = de.pokerth.protocol.ProtoBuf.LobbyMessage.LobbyMessageType.Type_InitMessage; + + return this; + } + + // optional .InitMessage initMessage = 2; + private de.pokerth.protocol.ProtoBuf.InitMessage initMessage_ = de.pokerth.protocol.ProtoBuf.InitMessage.getDefaultInstance(); + /** + * optional .InitMessage initMessage = 2; + */ + public boolean hasInitMessage() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * optional .InitMessage initMessage = 2; + */ + public de.pokerth.protocol.ProtoBuf.InitMessage getInitMessage() { + return initMessage_; + } + /** + * optional .InitMessage initMessage = 2; + */ + public Builder setInitMessage(de.pokerth.protocol.ProtoBuf.InitMessage value) { + if (value == null) { + throw new NullPointerException(); + } + initMessage_ = value; + + bitField0_ |= 0x00000002; + return this; + } + /** + * optional .InitMessage initMessage = 2; + */ + public Builder setInitMessage( + de.pokerth.protocol.ProtoBuf.InitMessage.Builder builderForValue) { + initMessage_ = builderForValue.build(); + + bitField0_ |= 0x00000002; + return this; + } + /** + * optional .InitMessage initMessage = 2; + */ + public Builder mergeInitMessage(de.pokerth.protocol.ProtoBuf.InitMessage value) { + if (((bitField0_ & 0x00000002) == 0x00000002) && + initMessage_ != de.pokerth.protocol.ProtoBuf.InitMessage.getDefaultInstance()) { + initMessage_ = + de.pokerth.protocol.ProtoBuf.InitMessage.newBuilder(initMessage_).mergeFrom(value).buildPartial(); + } else { + initMessage_ = value; + } + + bitField0_ |= 0x00000002; + return this; + } + /** + * optional .InitMessage initMessage = 2; + */ + public Builder clearInitMessage() { + initMessage_ = de.pokerth.protocol.ProtoBuf.InitMessage.getDefaultInstance(); + + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + + // optional .InitAckMessage initAckMessage = 3; + private de.pokerth.protocol.ProtoBuf.InitAckMessage initAckMessage_ = de.pokerth.protocol.ProtoBuf.InitAckMessage.getDefaultInstance(); + /** + * optional .InitAckMessage initAckMessage = 3; + */ + public boolean hasInitAckMessage() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + /** + * optional .InitAckMessage initAckMessage = 3; + */ + public de.pokerth.protocol.ProtoBuf.InitAckMessage getInitAckMessage() { + return initAckMessage_; + } + /** + * optional .InitAckMessage initAckMessage = 3; + */ + public Builder setInitAckMessage(de.pokerth.protocol.ProtoBuf.InitAckMessage value) { + if (value == null) { + throw new NullPointerException(); + } + initAckMessage_ = value; + + bitField0_ |= 0x00000004; + return this; + } + /** + * optional .InitAckMessage initAckMessage = 3; + */ + public Builder setInitAckMessage( + de.pokerth.protocol.ProtoBuf.InitAckMessage.Builder builderForValue) { + initAckMessage_ = builderForValue.build(); + + bitField0_ |= 0x00000004; + return this; + } + /** + * optional .InitAckMessage initAckMessage = 3; + */ + public Builder mergeInitAckMessage(de.pokerth.protocol.ProtoBuf.InitAckMessage value) { + if (((bitField0_ & 0x00000004) == 0x00000004) && + initAckMessage_ != de.pokerth.protocol.ProtoBuf.InitAckMessage.getDefaultInstance()) { + initAckMessage_ = + de.pokerth.protocol.ProtoBuf.InitAckMessage.newBuilder(initAckMessage_).mergeFrom(value).buildPartial(); + } else { + initAckMessage_ = value; + } + + bitField0_ |= 0x00000004; + return this; + } + /** + * optional .InitAckMessage initAckMessage = 3; + */ + public Builder clearInitAckMessage() { + initAckMessage_ = de.pokerth.protocol.ProtoBuf.InitAckMessage.getDefaultInstance(); + + bitField0_ = (bitField0_ & ~0x00000004); + return this; + } + + // optional .AvatarRequestMessage avatarRequestMessage = 4; + private de.pokerth.protocol.ProtoBuf.AvatarRequestMessage avatarRequestMessage_ = de.pokerth.protocol.ProtoBuf.AvatarRequestMessage.getDefaultInstance(); + /** + * optional .AvatarRequestMessage avatarRequestMessage = 4; + */ + public boolean hasAvatarRequestMessage() { + return ((bitField0_ & 0x00000008) == 0x00000008); + } + /** + * optional .AvatarRequestMessage avatarRequestMessage = 4; + */ + public de.pokerth.protocol.ProtoBuf.AvatarRequestMessage getAvatarRequestMessage() { + return avatarRequestMessage_; + } + /** + * optional .AvatarRequestMessage avatarRequestMessage = 4; + */ + public Builder setAvatarRequestMessage(de.pokerth.protocol.ProtoBuf.AvatarRequestMessage value) { + if (value == null) { + throw new NullPointerException(); + } + avatarRequestMessage_ = value; + + bitField0_ |= 0x00000008; + return this; + } + /** + * optional .AvatarRequestMessage avatarRequestMessage = 4; + */ + public Builder setAvatarRequestMessage( + de.pokerth.protocol.ProtoBuf.AvatarRequestMessage.Builder builderForValue) { + avatarRequestMessage_ = builderForValue.build(); + + bitField0_ |= 0x00000008; + return this; + } + /** + * optional .AvatarRequestMessage avatarRequestMessage = 4; + */ + public Builder mergeAvatarRequestMessage(de.pokerth.protocol.ProtoBuf.AvatarRequestMessage value) { + if (((bitField0_ & 0x00000008) == 0x00000008) && + avatarRequestMessage_ != de.pokerth.protocol.ProtoBuf.AvatarRequestMessage.getDefaultInstance()) { + avatarRequestMessage_ = + de.pokerth.protocol.ProtoBuf.AvatarRequestMessage.newBuilder(avatarRequestMessage_).mergeFrom(value).buildPartial(); + } else { + avatarRequestMessage_ = value; + } + + bitField0_ |= 0x00000008; + return this; + } + /** + * optional .AvatarRequestMessage avatarRequestMessage = 4; + */ + public Builder clearAvatarRequestMessage() { + avatarRequestMessage_ = de.pokerth.protocol.ProtoBuf.AvatarRequestMessage.getDefaultInstance(); + + bitField0_ = (bitField0_ & ~0x00000008); + return this; + } + + // optional .AvatarHeaderMessage avatarHeaderMessage = 5; + private de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage avatarHeaderMessage_ = de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage.getDefaultInstance(); + /** + * optional .AvatarHeaderMessage avatarHeaderMessage = 5; + */ + public boolean hasAvatarHeaderMessage() { + return ((bitField0_ & 0x00000010) == 0x00000010); + } + /** + * optional .AvatarHeaderMessage avatarHeaderMessage = 5; + */ + public de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage getAvatarHeaderMessage() { + return avatarHeaderMessage_; + } + /** + * optional .AvatarHeaderMessage avatarHeaderMessage = 5; + */ + public Builder setAvatarHeaderMessage(de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage value) { + if (value == null) { + throw new NullPointerException(); + } + avatarHeaderMessage_ = value; + + bitField0_ |= 0x00000010; + return this; + } + /** + * optional .AvatarHeaderMessage avatarHeaderMessage = 5; + */ + public Builder setAvatarHeaderMessage( + de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage.Builder builderForValue) { + avatarHeaderMessage_ = builderForValue.build(); + + bitField0_ |= 0x00000010; + return this; + } + /** + * optional .AvatarHeaderMessage avatarHeaderMessage = 5; + */ + public Builder mergeAvatarHeaderMessage(de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage value) { + if (((bitField0_ & 0x00000010) == 0x00000010) && + avatarHeaderMessage_ != de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage.getDefaultInstance()) { + avatarHeaderMessage_ = + de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage.newBuilder(avatarHeaderMessage_).mergeFrom(value).buildPartial(); + } else { + avatarHeaderMessage_ = value; + } + + bitField0_ |= 0x00000010; + return this; + } + /** + * optional .AvatarHeaderMessage avatarHeaderMessage = 5; + */ + public Builder clearAvatarHeaderMessage() { + avatarHeaderMessage_ = de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage.getDefaultInstance(); + + bitField0_ = (bitField0_ & ~0x00000010); + return this; + } + + // optional .AvatarDataMessage avatarDataMessage = 6; + private de.pokerth.protocol.ProtoBuf.AvatarDataMessage avatarDataMessage_ = de.pokerth.protocol.ProtoBuf.AvatarDataMessage.getDefaultInstance(); + /** + * optional .AvatarDataMessage avatarDataMessage = 6; + */ + public boolean hasAvatarDataMessage() { + return ((bitField0_ & 0x00000020) == 0x00000020); + } + /** + * optional .AvatarDataMessage avatarDataMessage = 6; + */ + public de.pokerth.protocol.ProtoBuf.AvatarDataMessage getAvatarDataMessage() { + return avatarDataMessage_; + } + /** + * optional .AvatarDataMessage avatarDataMessage = 6; + */ + public Builder setAvatarDataMessage(de.pokerth.protocol.ProtoBuf.AvatarDataMessage value) { + if (value == null) { + throw new NullPointerException(); + } + avatarDataMessage_ = value; + + bitField0_ |= 0x00000020; + return this; + } + /** + * optional .AvatarDataMessage avatarDataMessage = 6; + */ + public Builder setAvatarDataMessage( + de.pokerth.protocol.ProtoBuf.AvatarDataMessage.Builder builderForValue) { + avatarDataMessage_ = builderForValue.build(); + + bitField0_ |= 0x00000020; + return this; + } + /** + * optional .AvatarDataMessage avatarDataMessage = 6; + */ + public Builder mergeAvatarDataMessage(de.pokerth.protocol.ProtoBuf.AvatarDataMessage value) { + if (((bitField0_ & 0x00000020) == 0x00000020) && + avatarDataMessage_ != de.pokerth.protocol.ProtoBuf.AvatarDataMessage.getDefaultInstance()) { + avatarDataMessage_ = + de.pokerth.protocol.ProtoBuf.AvatarDataMessage.newBuilder(avatarDataMessage_).mergeFrom(value).buildPartial(); + } else { + avatarDataMessage_ = value; + } + + bitField0_ |= 0x00000020; + return this; + } + /** + * optional .AvatarDataMessage avatarDataMessage = 6; + */ + public Builder clearAvatarDataMessage() { + avatarDataMessage_ = de.pokerth.protocol.ProtoBuf.AvatarDataMessage.getDefaultInstance(); + + bitField0_ = (bitField0_ & ~0x00000020); + return this; + } + + // optional .AvatarEndMessage avatarEndMessage = 7; + private de.pokerth.protocol.ProtoBuf.AvatarEndMessage avatarEndMessage_ = de.pokerth.protocol.ProtoBuf.AvatarEndMessage.getDefaultInstance(); + /** + * optional .AvatarEndMessage avatarEndMessage = 7; + */ + public boolean hasAvatarEndMessage() { + return ((bitField0_ & 0x00000040) == 0x00000040); + } + /** + * optional .AvatarEndMessage avatarEndMessage = 7; + */ + public de.pokerth.protocol.ProtoBuf.AvatarEndMessage getAvatarEndMessage() { + return avatarEndMessage_; + } + /** + * optional .AvatarEndMessage avatarEndMessage = 7; + */ + public Builder setAvatarEndMessage(de.pokerth.protocol.ProtoBuf.AvatarEndMessage value) { + if (value == null) { + throw new NullPointerException(); + } + avatarEndMessage_ = value; + + bitField0_ |= 0x00000040; + return this; + } + /** + * optional .AvatarEndMessage avatarEndMessage = 7; + */ + public Builder setAvatarEndMessage( + de.pokerth.protocol.ProtoBuf.AvatarEndMessage.Builder builderForValue) { + avatarEndMessage_ = builderForValue.build(); + + bitField0_ |= 0x00000040; + return this; + } + /** + * optional .AvatarEndMessage avatarEndMessage = 7; + */ + public Builder mergeAvatarEndMessage(de.pokerth.protocol.ProtoBuf.AvatarEndMessage value) { + if (((bitField0_ & 0x00000040) == 0x00000040) && + avatarEndMessage_ != de.pokerth.protocol.ProtoBuf.AvatarEndMessage.getDefaultInstance()) { + avatarEndMessage_ = + de.pokerth.protocol.ProtoBuf.AvatarEndMessage.newBuilder(avatarEndMessage_).mergeFrom(value).buildPartial(); + } else { + avatarEndMessage_ = value; + } + + bitField0_ |= 0x00000040; + return this; + } + /** + * optional .AvatarEndMessage avatarEndMessage = 7; + */ + public Builder clearAvatarEndMessage() { + avatarEndMessage_ = de.pokerth.protocol.ProtoBuf.AvatarEndMessage.getDefaultInstance(); + + bitField0_ = (bitField0_ & ~0x00000040); + return this; + } + + // optional .UnknownAvatarMessage unknownAvatarMessage = 8; + private de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage unknownAvatarMessage_ = de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage.getDefaultInstance(); + /** + * optional .UnknownAvatarMessage unknownAvatarMessage = 8; + */ + public boolean hasUnknownAvatarMessage() { + return ((bitField0_ & 0x00000080) == 0x00000080); + } + /** + * optional .UnknownAvatarMessage unknownAvatarMessage = 8; + */ + public de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage getUnknownAvatarMessage() { + return unknownAvatarMessage_; + } + /** + * optional .UnknownAvatarMessage unknownAvatarMessage = 8; + */ + public Builder setUnknownAvatarMessage(de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage value) { + if (value == null) { + throw new NullPointerException(); + } + unknownAvatarMessage_ = value; + + bitField0_ |= 0x00000080; + return this; + } + /** + * optional .UnknownAvatarMessage unknownAvatarMessage = 8; + */ + public Builder setUnknownAvatarMessage( + de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage.Builder builderForValue) { + unknownAvatarMessage_ = builderForValue.build(); + + bitField0_ |= 0x00000080; + return this; + } + /** + * optional .UnknownAvatarMessage unknownAvatarMessage = 8; + */ + public Builder mergeUnknownAvatarMessage(de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage value) { + if (((bitField0_ & 0x00000080) == 0x00000080) && + unknownAvatarMessage_ != de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage.getDefaultInstance()) { + unknownAvatarMessage_ = + de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage.newBuilder(unknownAvatarMessage_).mergeFrom(value).buildPartial(); + } else { + unknownAvatarMessage_ = value; + } + + bitField0_ |= 0x00000080; + return this; + } + /** + * optional .UnknownAvatarMessage unknownAvatarMessage = 8; + */ + public Builder clearUnknownAvatarMessage() { + unknownAvatarMessage_ = de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage.getDefaultInstance(); + + bitField0_ = (bitField0_ & ~0x00000080); + return this; + } + + // optional .PlayerListMessage playerListMessage = 9; + private de.pokerth.protocol.ProtoBuf.PlayerListMessage playerListMessage_ = de.pokerth.protocol.ProtoBuf.PlayerListMessage.getDefaultInstance(); + /** + * optional .PlayerListMessage playerListMessage = 9; + */ + public boolean hasPlayerListMessage() { + return ((bitField0_ & 0x00000100) == 0x00000100); + } + /** + * optional .PlayerListMessage playerListMessage = 9; + */ + public de.pokerth.protocol.ProtoBuf.PlayerListMessage getPlayerListMessage() { + return playerListMessage_; + } + /** + * optional .PlayerListMessage playerListMessage = 9; + */ + public Builder setPlayerListMessage(de.pokerth.protocol.ProtoBuf.PlayerListMessage value) { + if (value == null) { + throw new NullPointerException(); + } + playerListMessage_ = value; + + bitField0_ |= 0x00000100; + return this; + } + /** + * optional .PlayerListMessage playerListMessage = 9; + */ + public Builder setPlayerListMessage( + de.pokerth.protocol.ProtoBuf.PlayerListMessage.Builder builderForValue) { + playerListMessage_ = builderForValue.build(); + + bitField0_ |= 0x00000100; + return this; + } + /** + * optional .PlayerListMessage playerListMessage = 9; + */ + public Builder mergePlayerListMessage(de.pokerth.protocol.ProtoBuf.PlayerListMessage value) { + if (((bitField0_ & 0x00000100) == 0x00000100) && + playerListMessage_ != de.pokerth.protocol.ProtoBuf.PlayerListMessage.getDefaultInstance()) { + playerListMessage_ = + de.pokerth.protocol.ProtoBuf.PlayerListMessage.newBuilder(playerListMessage_).mergeFrom(value).buildPartial(); + } else { + playerListMessage_ = value; + } + + bitField0_ |= 0x00000100; + return this; + } + /** + * optional .PlayerListMessage playerListMessage = 9; + */ + public Builder clearPlayerListMessage() { + playerListMessage_ = de.pokerth.protocol.ProtoBuf.PlayerListMessage.getDefaultInstance(); + + bitField0_ = (bitField0_ & ~0x00000100); + return this; + } + + // optional .GameListNewMessage gameListNewMessage = 10; + private de.pokerth.protocol.ProtoBuf.GameListNewMessage gameListNewMessage_ = de.pokerth.protocol.ProtoBuf.GameListNewMessage.getDefaultInstance(); + /** + * optional .GameListNewMessage gameListNewMessage = 10; + */ + public boolean hasGameListNewMessage() { + return ((bitField0_ & 0x00000200) == 0x00000200); + } + /** + * optional .GameListNewMessage gameListNewMessage = 10; + */ + public de.pokerth.protocol.ProtoBuf.GameListNewMessage getGameListNewMessage() { + return gameListNewMessage_; + } + /** + * optional .GameListNewMessage gameListNewMessage = 10; + */ + public Builder setGameListNewMessage(de.pokerth.protocol.ProtoBuf.GameListNewMessage value) { + if (value == null) { + throw new NullPointerException(); + } + gameListNewMessage_ = value; + + bitField0_ |= 0x00000200; + return this; + } + /** + * optional .GameListNewMessage gameListNewMessage = 10; + */ + public Builder setGameListNewMessage( + de.pokerth.protocol.ProtoBuf.GameListNewMessage.Builder builderForValue) { + gameListNewMessage_ = builderForValue.build(); + + bitField0_ |= 0x00000200; + return this; + } + /** + * optional .GameListNewMessage gameListNewMessage = 10; + */ + public Builder mergeGameListNewMessage(de.pokerth.protocol.ProtoBuf.GameListNewMessage value) { + if (((bitField0_ & 0x00000200) == 0x00000200) && + gameListNewMessage_ != de.pokerth.protocol.ProtoBuf.GameListNewMessage.getDefaultInstance()) { + gameListNewMessage_ = + de.pokerth.protocol.ProtoBuf.GameListNewMessage.newBuilder(gameListNewMessage_).mergeFrom(value).buildPartial(); + } else { + gameListNewMessage_ = value; + } + + bitField0_ |= 0x00000200; + return this; + } + /** + * optional .GameListNewMessage gameListNewMessage = 10; + */ + public Builder clearGameListNewMessage() { + gameListNewMessage_ = de.pokerth.protocol.ProtoBuf.GameListNewMessage.getDefaultInstance(); + + bitField0_ = (bitField0_ & ~0x00000200); + return this; + } + + // optional .GameListUpdateMessage gameListUpdateMessage = 11; + private de.pokerth.protocol.ProtoBuf.GameListUpdateMessage gameListUpdateMessage_ = de.pokerth.protocol.ProtoBuf.GameListUpdateMessage.getDefaultInstance(); + /** + * optional .GameListUpdateMessage gameListUpdateMessage = 11; + */ + public boolean hasGameListUpdateMessage() { + return ((bitField0_ & 0x00000400) == 0x00000400); + } + /** + * optional .GameListUpdateMessage gameListUpdateMessage = 11; + */ + public de.pokerth.protocol.ProtoBuf.GameListUpdateMessage getGameListUpdateMessage() { + return gameListUpdateMessage_; + } + /** + * optional .GameListUpdateMessage gameListUpdateMessage = 11; + */ + public Builder setGameListUpdateMessage(de.pokerth.protocol.ProtoBuf.GameListUpdateMessage value) { + if (value == null) { + throw new NullPointerException(); + } + gameListUpdateMessage_ = value; + + bitField0_ |= 0x00000400; + return this; + } + /** + * optional .GameListUpdateMessage gameListUpdateMessage = 11; + */ + public Builder setGameListUpdateMessage( + de.pokerth.protocol.ProtoBuf.GameListUpdateMessage.Builder builderForValue) { + gameListUpdateMessage_ = builderForValue.build(); + + bitField0_ |= 0x00000400; + return this; + } + /** + * optional .GameListUpdateMessage gameListUpdateMessage = 11; + */ + public Builder mergeGameListUpdateMessage(de.pokerth.protocol.ProtoBuf.GameListUpdateMessage value) { + if (((bitField0_ & 0x00000400) == 0x00000400) && + gameListUpdateMessage_ != de.pokerth.protocol.ProtoBuf.GameListUpdateMessage.getDefaultInstance()) { + gameListUpdateMessage_ = + de.pokerth.protocol.ProtoBuf.GameListUpdateMessage.newBuilder(gameListUpdateMessage_).mergeFrom(value).buildPartial(); + } else { + gameListUpdateMessage_ = value; + } + + bitField0_ |= 0x00000400; + return this; + } + /** + * optional .GameListUpdateMessage gameListUpdateMessage = 11; + */ + public Builder clearGameListUpdateMessage() { + gameListUpdateMessage_ = de.pokerth.protocol.ProtoBuf.GameListUpdateMessage.getDefaultInstance(); + + bitField0_ = (bitField0_ & ~0x00000400); + return this; + } + + // optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 12; + private de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage gameListPlayerJoinedMessage_ = de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage.getDefaultInstance(); + /** + * optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 12; + */ + public boolean hasGameListPlayerJoinedMessage() { + return ((bitField0_ & 0x00000800) == 0x00000800); + } + /** + * optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 12; + */ + public de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage getGameListPlayerJoinedMessage() { + return gameListPlayerJoinedMessage_; + } + /** + * optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 12; + */ + public Builder setGameListPlayerJoinedMessage(de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage value) { + if (value == null) { + throw new NullPointerException(); + } + gameListPlayerJoinedMessage_ = value; + + bitField0_ |= 0x00000800; + return this; + } + /** + * optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 12; + */ + public Builder setGameListPlayerJoinedMessage( + de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage.Builder builderForValue) { + gameListPlayerJoinedMessage_ = builderForValue.build(); + + bitField0_ |= 0x00000800; + return this; + } + /** + * optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 12; + */ + public Builder mergeGameListPlayerJoinedMessage(de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage value) { + if (((bitField0_ & 0x00000800) == 0x00000800) && + gameListPlayerJoinedMessage_ != de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage.getDefaultInstance()) { + gameListPlayerJoinedMessage_ = + de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage.newBuilder(gameListPlayerJoinedMessage_).mergeFrom(value).buildPartial(); + } else { + gameListPlayerJoinedMessage_ = value; + } + + bitField0_ |= 0x00000800; + return this; + } + /** + * optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 12; + */ + public Builder clearGameListPlayerJoinedMessage() { + gameListPlayerJoinedMessage_ = de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage.getDefaultInstance(); + + bitField0_ = (bitField0_ & ~0x00000800); + return this; + } + + // optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 13; + private de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage gameListPlayerLeftMessage_ = de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage.getDefaultInstance(); + /** + * optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 13; + */ + public boolean hasGameListPlayerLeftMessage() { + return ((bitField0_ & 0x00001000) == 0x00001000); + } + /** + * optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 13; + */ + public de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage getGameListPlayerLeftMessage() { + return gameListPlayerLeftMessage_; + } + /** + * optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 13; + */ + public Builder setGameListPlayerLeftMessage(de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage value) { + if (value == null) { + throw new NullPointerException(); + } + gameListPlayerLeftMessage_ = value; + + bitField0_ |= 0x00001000; + return this; + } + /** + * optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 13; + */ + public Builder setGameListPlayerLeftMessage( + de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage.Builder builderForValue) { + gameListPlayerLeftMessage_ = builderForValue.build(); + + bitField0_ |= 0x00001000; + return this; + } + /** + * optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 13; + */ + public Builder mergeGameListPlayerLeftMessage(de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage value) { + if (((bitField0_ & 0x00001000) == 0x00001000) && + gameListPlayerLeftMessage_ != de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage.getDefaultInstance()) { + gameListPlayerLeftMessage_ = + de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage.newBuilder(gameListPlayerLeftMessage_).mergeFrom(value).buildPartial(); + } else { + gameListPlayerLeftMessage_ = value; + } + + bitField0_ |= 0x00001000; + return this; + } + /** + * optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 13; + */ + public Builder clearGameListPlayerLeftMessage() { + gameListPlayerLeftMessage_ = de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage.getDefaultInstance(); + + bitField0_ = (bitField0_ & ~0x00001000); + return this; + } + + // optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 14; + private de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage_ = de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage.getDefaultInstance(); + /** + * optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 14; + */ + public boolean hasGameListSpectatorJoinedMessage() { + return ((bitField0_ & 0x00002000) == 0x00002000); + } + /** + * optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 14; + */ + public de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage getGameListSpectatorJoinedMessage() { + return gameListSpectatorJoinedMessage_; + } + /** + * optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 14; + */ + public Builder setGameListSpectatorJoinedMessage(de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage value) { + if (value == null) { + throw new NullPointerException(); + } + gameListSpectatorJoinedMessage_ = value; + + bitField0_ |= 0x00002000; + return this; + } + /** + * optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 14; + */ + public Builder setGameListSpectatorJoinedMessage( + de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage.Builder builderForValue) { + gameListSpectatorJoinedMessage_ = builderForValue.build(); + + bitField0_ |= 0x00002000; + return this; + } + /** + * optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 14; + */ + public Builder mergeGameListSpectatorJoinedMessage(de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage value) { + if (((bitField0_ & 0x00002000) == 0x00002000) && + gameListSpectatorJoinedMessage_ != de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage.getDefaultInstance()) { + gameListSpectatorJoinedMessage_ = + de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage.newBuilder(gameListSpectatorJoinedMessage_).mergeFrom(value).buildPartial(); + } else { + gameListSpectatorJoinedMessage_ = value; + } + + bitField0_ |= 0x00002000; + return this; + } + /** + * optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 14; + */ + public Builder clearGameListSpectatorJoinedMessage() { + gameListSpectatorJoinedMessage_ = de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage.getDefaultInstance(); + + bitField0_ = (bitField0_ & ~0x00002000); + return this; + } + + // optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 15; + private de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage gameListSpectatorLeftMessage_ = de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage.getDefaultInstance(); + /** + * optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 15; + */ + public boolean hasGameListSpectatorLeftMessage() { + return ((bitField0_ & 0x00004000) == 0x00004000); + } + /** + * optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 15; + */ + public de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage getGameListSpectatorLeftMessage() { + return gameListSpectatorLeftMessage_; + } + /** + * optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 15; + */ + public Builder setGameListSpectatorLeftMessage(de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage value) { + if (value == null) { + throw new NullPointerException(); + } + gameListSpectatorLeftMessage_ = value; + + bitField0_ |= 0x00004000; + return this; + } + /** + * optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 15; + */ + public Builder setGameListSpectatorLeftMessage( + de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage.Builder builderForValue) { + gameListSpectatorLeftMessage_ = builderForValue.build(); + + bitField0_ |= 0x00004000; + return this; + } + /** + * optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 15; + */ + public Builder mergeGameListSpectatorLeftMessage(de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage value) { + if (((bitField0_ & 0x00004000) == 0x00004000) && + gameListSpectatorLeftMessage_ != de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage.getDefaultInstance()) { + gameListSpectatorLeftMessage_ = + de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage.newBuilder(gameListSpectatorLeftMessage_).mergeFrom(value).buildPartial(); + } else { + gameListSpectatorLeftMessage_ = value; + } + + bitField0_ |= 0x00004000; + return this; + } + /** + * optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 15; + */ + public Builder clearGameListSpectatorLeftMessage() { + gameListSpectatorLeftMessage_ = de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage.getDefaultInstance(); + + bitField0_ = (bitField0_ & ~0x00004000); + return this; + } + + // optional .GameListAdminChangedMessage gameListAdminChangedMessage = 16; + private de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage gameListAdminChangedMessage_ = de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage.getDefaultInstance(); + /** + * optional .GameListAdminChangedMessage gameListAdminChangedMessage = 16; + */ + public boolean hasGameListAdminChangedMessage() { + return ((bitField0_ & 0x00008000) == 0x00008000); + } + /** + * optional .GameListAdminChangedMessage gameListAdminChangedMessage = 16; + */ + public de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage getGameListAdminChangedMessage() { + return gameListAdminChangedMessage_; + } + /** + * optional .GameListAdminChangedMessage gameListAdminChangedMessage = 16; + */ + public Builder setGameListAdminChangedMessage(de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage value) { + if (value == null) { + throw new NullPointerException(); + } + gameListAdminChangedMessage_ = value; + + bitField0_ |= 0x00008000; + return this; + } + /** + * optional .GameListAdminChangedMessage gameListAdminChangedMessage = 16; + */ + public Builder setGameListAdminChangedMessage( + de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage.Builder builderForValue) { + gameListAdminChangedMessage_ = builderForValue.build(); + + bitField0_ |= 0x00008000; + return this; + } + /** + * optional .GameListAdminChangedMessage gameListAdminChangedMessage = 16; + */ + public Builder mergeGameListAdminChangedMessage(de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage value) { + if (((bitField0_ & 0x00008000) == 0x00008000) && + gameListAdminChangedMessage_ != de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage.getDefaultInstance()) { + gameListAdminChangedMessage_ = + de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage.newBuilder(gameListAdminChangedMessage_).mergeFrom(value).buildPartial(); + } else { + gameListAdminChangedMessage_ = value; + } + + bitField0_ |= 0x00008000; + return this; + } + /** + * optional .GameListAdminChangedMessage gameListAdminChangedMessage = 16; + */ + public Builder clearGameListAdminChangedMessage() { + gameListAdminChangedMessage_ = de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage.getDefaultInstance(); + + bitField0_ = (bitField0_ & ~0x00008000); + return this; + } + + // optional .PlayerInfoRequestMessage playerInfoRequestMessage = 17; + private de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage playerInfoRequestMessage_ = de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage.getDefaultInstance(); + /** + * optional .PlayerInfoRequestMessage playerInfoRequestMessage = 17; + */ + public boolean hasPlayerInfoRequestMessage() { + return ((bitField0_ & 0x00010000) == 0x00010000); + } + /** + * optional .PlayerInfoRequestMessage playerInfoRequestMessage = 17; + */ + public de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage getPlayerInfoRequestMessage() { + return playerInfoRequestMessage_; + } + /** + * optional .PlayerInfoRequestMessage playerInfoRequestMessage = 17; + */ + public Builder setPlayerInfoRequestMessage(de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage value) { + if (value == null) { + throw new NullPointerException(); + } + playerInfoRequestMessage_ = value; + + bitField0_ |= 0x00010000; + return this; + } + /** + * optional .PlayerInfoRequestMessage playerInfoRequestMessage = 17; + */ + public Builder setPlayerInfoRequestMessage( + de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage.Builder builderForValue) { + playerInfoRequestMessage_ = builderForValue.build(); + + bitField0_ |= 0x00010000; + return this; + } + /** + * optional .PlayerInfoRequestMessage playerInfoRequestMessage = 17; + */ + public Builder mergePlayerInfoRequestMessage(de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage value) { + if (((bitField0_ & 0x00010000) == 0x00010000) && + playerInfoRequestMessage_ != de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage.getDefaultInstance()) { + playerInfoRequestMessage_ = + de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage.newBuilder(playerInfoRequestMessage_).mergeFrom(value).buildPartial(); + } else { + playerInfoRequestMessage_ = value; + } + + bitField0_ |= 0x00010000; + return this; + } + /** + * optional .PlayerInfoRequestMessage playerInfoRequestMessage = 17; + */ + public Builder clearPlayerInfoRequestMessage() { + playerInfoRequestMessage_ = de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage.getDefaultInstance(); + + bitField0_ = (bitField0_ & ~0x00010000); + return this; + } + + // optional .PlayerInfoReplyMessage playerInfoReplyMessage = 18; + private de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage playerInfoReplyMessage_ = de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.getDefaultInstance(); + /** + * optional .PlayerInfoReplyMessage playerInfoReplyMessage = 18; + */ + public boolean hasPlayerInfoReplyMessage() { + return ((bitField0_ & 0x00020000) == 0x00020000); + } + /** + * optional .PlayerInfoReplyMessage playerInfoReplyMessage = 18; + */ + public de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage getPlayerInfoReplyMessage() { + return playerInfoReplyMessage_; + } + /** + * optional .PlayerInfoReplyMessage playerInfoReplyMessage = 18; + */ + public Builder setPlayerInfoReplyMessage(de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage value) { + if (value == null) { + throw new NullPointerException(); + } + playerInfoReplyMessage_ = value; + + bitField0_ |= 0x00020000; + return this; + } + /** + * optional .PlayerInfoReplyMessage playerInfoReplyMessage = 18; + */ + public Builder setPlayerInfoReplyMessage( + de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.Builder builderForValue) { + playerInfoReplyMessage_ = builderForValue.build(); + + bitField0_ |= 0x00020000; + return this; + } + /** + * optional .PlayerInfoReplyMessage playerInfoReplyMessage = 18; + */ + public Builder mergePlayerInfoReplyMessage(de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage value) { + if (((bitField0_ & 0x00020000) == 0x00020000) && + playerInfoReplyMessage_ != de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.getDefaultInstance()) { + playerInfoReplyMessage_ = + de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.newBuilder(playerInfoReplyMessage_).mergeFrom(value).buildPartial(); + } else { + playerInfoReplyMessage_ = value; + } + + bitField0_ |= 0x00020000; + return this; + } + /** + * optional .PlayerInfoReplyMessage playerInfoReplyMessage = 18; + */ + public Builder clearPlayerInfoReplyMessage() { + playerInfoReplyMessage_ = de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.getDefaultInstance(); + + bitField0_ = (bitField0_ & ~0x00020000); + return this; + } + + // optional .SubscriptionRequestMessage subscriptionRequestMessage = 19; + private de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage subscriptionRequestMessage_ = de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.getDefaultInstance(); + /** + * optional .SubscriptionRequestMessage subscriptionRequestMessage = 19; + */ + public boolean hasSubscriptionRequestMessage() { + return ((bitField0_ & 0x00040000) == 0x00040000); + } + /** + * optional .SubscriptionRequestMessage subscriptionRequestMessage = 19; + */ + public de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage getSubscriptionRequestMessage() { + return subscriptionRequestMessage_; + } + /** + * optional .SubscriptionRequestMessage subscriptionRequestMessage = 19; + */ + public Builder setSubscriptionRequestMessage(de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage value) { + if (value == null) { + throw new NullPointerException(); + } + subscriptionRequestMessage_ = value; + + bitField0_ |= 0x00040000; + return this; + } + /** + * optional .SubscriptionRequestMessage subscriptionRequestMessage = 19; + */ + public Builder setSubscriptionRequestMessage( + de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.Builder builderForValue) { + subscriptionRequestMessage_ = builderForValue.build(); + + bitField0_ |= 0x00040000; + return this; + } + /** + * optional .SubscriptionRequestMessage subscriptionRequestMessage = 19; + */ + public Builder mergeSubscriptionRequestMessage(de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage value) { + if (((bitField0_ & 0x00040000) == 0x00040000) && + subscriptionRequestMessage_ != de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.getDefaultInstance()) { + subscriptionRequestMessage_ = + de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.newBuilder(subscriptionRequestMessage_).mergeFrom(value).buildPartial(); + } else { + subscriptionRequestMessage_ = value; + } + + bitField0_ |= 0x00040000; + return this; + } + /** + * optional .SubscriptionRequestMessage subscriptionRequestMessage = 19; + */ + public Builder clearSubscriptionRequestMessage() { + subscriptionRequestMessage_ = de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.getDefaultInstance(); + + bitField0_ = (bitField0_ & ~0x00040000); + return this; + } + + // optional .SubscriptionReplyMessage subscriptionReplyMessage = 20; + private de.pokerth.protocol.ProtoBuf.SubscriptionReplyMessage subscriptionReplyMessage_ = de.pokerth.protocol.ProtoBuf.SubscriptionReplyMessage.getDefaultInstance(); + /** + * optional .SubscriptionReplyMessage subscriptionReplyMessage = 20; + */ + public boolean hasSubscriptionReplyMessage() { + return ((bitField0_ & 0x00080000) == 0x00080000); + } + /** + * optional .SubscriptionReplyMessage subscriptionReplyMessage = 20; + */ + public de.pokerth.protocol.ProtoBuf.SubscriptionReplyMessage getSubscriptionReplyMessage() { + return subscriptionReplyMessage_; + } + /** + * optional .SubscriptionReplyMessage subscriptionReplyMessage = 20; + */ + public Builder setSubscriptionReplyMessage(de.pokerth.protocol.ProtoBuf.SubscriptionReplyMessage value) { + if (value == null) { + throw new NullPointerException(); + } + subscriptionReplyMessage_ = value; + + bitField0_ |= 0x00080000; + return this; + } + /** + * optional .SubscriptionReplyMessage subscriptionReplyMessage = 20; + */ + public Builder setSubscriptionReplyMessage( + de.pokerth.protocol.ProtoBuf.SubscriptionReplyMessage.Builder builderForValue) { + subscriptionReplyMessage_ = builderForValue.build(); + + bitField0_ |= 0x00080000; + return this; + } + /** + * optional .SubscriptionReplyMessage subscriptionReplyMessage = 20; + */ + public Builder mergeSubscriptionReplyMessage(de.pokerth.protocol.ProtoBuf.SubscriptionReplyMessage value) { + if (((bitField0_ & 0x00080000) == 0x00080000) && + subscriptionReplyMessage_ != de.pokerth.protocol.ProtoBuf.SubscriptionReplyMessage.getDefaultInstance()) { + subscriptionReplyMessage_ = + de.pokerth.protocol.ProtoBuf.SubscriptionReplyMessage.newBuilder(subscriptionReplyMessage_).mergeFrom(value).buildPartial(); + } else { + subscriptionReplyMessage_ = value; + } + + bitField0_ |= 0x00080000; + return this; + } + /** + * optional .SubscriptionReplyMessage subscriptionReplyMessage = 20; + */ + public Builder clearSubscriptionReplyMessage() { + subscriptionReplyMessage_ = de.pokerth.protocol.ProtoBuf.SubscriptionReplyMessage.getDefaultInstance(); + + bitField0_ = (bitField0_ & ~0x00080000); + return this; + } + + // optional .CreateGameMessage createGameMessage = 21; + private de.pokerth.protocol.ProtoBuf.CreateGameMessage createGameMessage_ = de.pokerth.protocol.ProtoBuf.CreateGameMessage.getDefaultInstance(); + /** + * optional .CreateGameMessage createGameMessage = 21; + */ + public boolean hasCreateGameMessage() { + return ((bitField0_ & 0x00100000) == 0x00100000); + } + /** + * optional .CreateGameMessage createGameMessage = 21; + */ + public de.pokerth.protocol.ProtoBuf.CreateGameMessage getCreateGameMessage() { + return createGameMessage_; + } + /** + * optional .CreateGameMessage createGameMessage = 21; + */ + public Builder setCreateGameMessage(de.pokerth.protocol.ProtoBuf.CreateGameMessage value) { + if (value == null) { + throw new NullPointerException(); + } + createGameMessage_ = value; + + bitField0_ |= 0x00100000; + return this; + } + /** + * optional .CreateGameMessage createGameMessage = 21; + */ + public Builder setCreateGameMessage( + de.pokerth.protocol.ProtoBuf.CreateGameMessage.Builder builderForValue) { + createGameMessage_ = builderForValue.build(); + + bitField0_ |= 0x00100000; + return this; + } + /** + * optional .CreateGameMessage createGameMessage = 21; + */ + public Builder mergeCreateGameMessage(de.pokerth.protocol.ProtoBuf.CreateGameMessage value) { + if (((bitField0_ & 0x00100000) == 0x00100000) && + createGameMessage_ != de.pokerth.protocol.ProtoBuf.CreateGameMessage.getDefaultInstance()) { + createGameMessage_ = + de.pokerth.protocol.ProtoBuf.CreateGameMessage.newBuilder(createGameMessage_).mergeFrom(value).buildPartial(); + } else { + createGameMessage_ = value; + } + + bitField0_ |= 0x00100000; + return this; + } + /** + * optional .CreateGameMessage createGameMessage = 21; + */ + public Builder clearCreateGameMessage() { + createGameMessage_ = de.pokerth.protocol.ProtoBuf.CreateGameMessage.getDefaultInstance(); + + bitField0_ = (bitField0_ & ~0x00100000); + return this; + } + + // optional .CreateGameFailedMessage createGameFailedMessage = 22; + private de.pokerth.protocol.ProtoBuf.CreateGameFailedMessage createGameFailedMessage_ = de.pokerth.protocol.ProtoBuf.CreateGameFailedMessage.getDefaultInstance(); + /** + * optional .CreateGameFailedMessage createGameFailedMessage = 22; + */ + public boolean hasCreateGameFailedMessage() { + return ((bitField0_ & 0x00200000) == 0x00200000); + } + /** + * optional .CreateGameFailedMessage createGameFailedMessage = 22; + */ + public de.pokerth.protocol.ProtoBuf.CreateGameFailedMessage getCreateGameFailedMessage() { + return createGameFailedMessage_; + } + /** + * optional .CreateGameFailedMessage createGameFailedMessage = 22; + */ + public Builder setCreateGameFailedMessage(de.pokerth.protocol.ProtoBuf.CreateGameFailedMessage value) { + if (value == null) { + throw new NullPointerException(); + } + createGameFailedMessage_ = value; + + bitField0_ |= 0x00200000; + return this; + } + /** + * optional .CreateGameFailedMessage createGameFailedMessage = 22; + */ + public Builder setCreateGameFailedMessage( + de.pokerth.protocol.ProtoBuf.CreateGameFailedMessage.Builder builderForValue) { + createGameFailedMessage_ = builderForValue.build(); + + bitField0_ |= 0x00200000; + return this; + } + /** + * optional .CreateGameFailedMessage createGameFailedMessage = 22; + */ + public Builder mergeCreateGameFailedMessage(de.pokerth.protocol.ProtoBuf.CreateGameFailedMessage value) { + if (((bitField0_ & 0x00200000) == 0x00200000) && + createGameFailedMessage_ != de.pokerth.protocol.ProtoBuf.CreateGameFailedMessage.getDefaultInstance()) { + createGameFailedMessage_ = + de.pokerth.protocol.ProtoBuf.CreateGameFailedMessage.newBuilder(createGameFailedMessage_).mergeFrom(value).buildPartial(); + } else { + createGameFailedMessage_ = value; + } + + bitField0_ |= 0x00200000; + return this; + } + /** + * optional .CreateGameFailedMessage createGameFailedMessage = 22; + */ + public Builder clearCreateGameFailedMessage() { + createGameFailedMessage_ = de.pokerth.protocol.ProtoBuf.CreateGameFailedMessage.getDefaultInstance(); + + bitField0_ = (bitField0_ & ~0x00200000); + return this; + } + + // optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 23; + private de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage invitePlayerToGameMessage_ = de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage.getDefaultInstance(); + /** + * optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 23; + */ + public boolean hasInvitePlayerToGameMessage() { + return ((bitField0_ & 0x00400000) == 0x00400000); + } + /** + * optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 23; + */ + public de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage getInvitePlayerToGameMessage() { + return invitePlayerToGameMessage_; + } + /** + * optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 23; + */ + public Builder setInvitePlayerToGameMessage(de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage value) { + if (value == null) { + throw new NullPointerException(); + } + invitePlayerToGameMessage_ = value; + + bitField0_ |= 0x00400000; + return this; + } + /** + * optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 23; + */ + public Builder setInvitePlayerToGameMessage( + de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage.Builder builderForValue) { + invitePlayerToGameMessage_ = builderForValue.build(); + + bitField0_ |= 0x00400000; + return this; + } + /** + * optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 23; + */ + public Builder mergeInvitePlayerToGameMessage(de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage value) { + if (((bitField0_ & 0x00400000) == 0x00400000) && + invitePlayerToGameMessage_ != de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage.getDefaultInstance()) { + invitePlayerToGameMessage_ = + de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage.newBuilder(invitePlayerToGameMessage_).mergeFrom(value).buildPartial(); + } else { + invitePlayerToGameMessage_ = value; + } + + bitField0_ |= 0x00400000; + return this; + } + /** + * optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 23; + */ + public Builder clearInvitePlayerToGameMessage() { + invitePlayerToGameMessage_ = de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage.getDefaultInstance(); + + bitField0_ = (bitField0_ & ~0x00400000); + return this; + } + + // optional .InviteNotifyMessage inviteNotifyMessage = 24; + private de.pokerth.protocol.ProtoBuf.InviteNotifyMessage inviteNotifyMessage_ = de.pokerth.protocol.ProtoBuf.InviteNotifyMessage.getDefaultInstance(); + /** + * optional .InviteNotifyMessage inviteNotifyMessage = 24; + */ + public boolean hasInviteNotifyMessage() { + return ((bitField0_ & 0x00800000) == 0x00800000); + } + /** + * optional .InviteNotifyMessage inviteNotifyMessage = 24; + */ + public de.pokerth.protocol.ProtoBuf.InviteNotifyMessage getInviteNotifyMessage() { + return inviteNotifyMessage_; + } + /** + * optional .InviteNotifyMessage inviteNotifyMessage = 24; + */ + public Builder setInviteNotifyMessage(de.pokerth.protocol.ProtoBuf.InviteNotifyMessage value) { + if (value == null) { + throw new NullPointerException(); + } + inviteNotifyMessage_ = value; + + bitField0_ |= 0x00800000; + return this; + } + /** + * optional .InviteNotifyMessage inviteNotifyMessage = 24; + */ + public Builder setInviteNotifyMessage( + de.pokerth.protocol.ProtoBuf.InviteNotifyMessage.Builder builderForValue) { + inviteNotifyMessage_ = builderForValue.build(); + + bitField0_ |= 0x00800000; + return this; + } + /** + * optional .InviteNotifyMessage inviteNotifyMessage = 24; + */ + public Builder mergeInviteNotifyMessage(de.pokerth.protocol.ProtoBuf.InviteNotifyMessage value) { + if (((bitField0_ & 0x00800000) == 0x00800000) && + inviteNotifyMessage_ != de.pokerth.protocol.ProtoBuf.InviteNotifyMessage.getDefaultInstance()) { + inviteNotifyMessage_ = + de.pokerth.protocol.ProtoBuf.InviteNotifyMessage.newBuilder(inviteNotifyMessage_).mergeFrom(value).buildPartial(); + } else { + inviteNotifyMessage_ = value; + } + + bitField0_ |= 0x00800000; + return this; + } + /** + * optional .InviteNotifyMessage inviteNotifyMessage = 24; + */ + public Builder clearInviteNotifyMessage() { + inviteNotifyMessage_ = de.pokerth.protocol.ProtoBuf.InviteNotifyMessage.getDefaultInstance(); + + bitField0_ = (bitField0_ & ~0x00800000); + return this; + } + + // optional .RejectGameInvitationMessage rejectGameInvitationMessage = 25; + private de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage rejectGameInvitationMessage_ = de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.getDefaultInstance(); + /** + * optional .RejectGameInvitationMessage rejectGameInvitationMessage = 25; + */ + public boolean hasRejectGameInvitationMessage() { + return ((bitField0_ & 0x01000000) == 0x01000000); + } + /** + * optional .RejectGameInvitationMessage rejectGameInvitationMessage = 25; + */ + public de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage getRejectGameInvitationMessage() { + return rejectGameInvitationMessage_; + } + /** + * optional .RejectGameInvitationMessage rejectGameInvitationMessage = 25; + */ + public Builder setRejectGameInvitationMessage(de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage value) { + if (value == null) { + throw new NullPointerException(); + } + rejectGameInvitationMessage_ = value; + + bitField0_ |= 0x01000000; + return this; + } + /** + * optional .RejectGameInvitationMessage rejectGameInvitationMessage = 25; + */ + public Builder setRejectGameInvitationMessage( + de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.Builder builderForValue) { + rejectGameInvitationMessage_ = builderForValue.build(); + + bitField0_ |= 0x01000000; + return this; + } + /** + * optional .RejectGameInvitationMessage rejectGameInvitationMessage = 25; + */ + public Builder mergeRejectGameInvitationMessage(de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage value) { + if (((bitField0_ & 0x01000000) == 0x01000000) && + rejectGameInvitationMessage_ != de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.getDefaultInstance()) { + rejectGameInvitationMessage_ = + de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.newBuilder(rejectGameInvitationMessage_).mergeFrom(value).buildPartial(); + } else { + rejectGameInvitationMessage_ = value; + } + + bitField0_ |= 0x01000000; + return this; + } + /** + * optional .RejectGameInvitationMessage rejectGameInvitationMessage = 25; + */ + public Builder clearRejectGameInvitationMessage() { + rejectGameInvitationMessage_ = de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.getDefaultInstance(); + + bitField0_ = (bitField0_ & ~0x01000000); + return this; + } + + // optional .RejectInvNotifyMessage rejectInvNotifyMessage = 26; + private de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage rejectInvNotifyMessage_ = de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage.getDefaultInstance(); + /** + * optional .RejectInvNotifyMessage rejectInvNotifyMessage = 26; + */ + public boolean hasRejectInvNotifyMessage() { + return ((bitField0_ & 0x02000000) == 0x02000000); + } + /** + * optional .RejectInvNotifyMessage rejectInvNotifyMessage = 26; + */ + public de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage getRejectInvNotifyMessage() { + return rejectInvNotifyMessage_; + } + /** + * optional .RejectInvNotifyMessage rejectInvNotifyMessage = 26; + */ + public Builder setRejectInvNotifyMessage(de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage value) { + if (value == null) { + throw new NullPointerException(); + } + rejectInvNotifyMessage_ = value; + + bitField0_ |= 0x02000000; + return this; + } + /** + * optional .RejectInvNotifyMessage rejectInvNotifyMessage = 26; + */ + public Builder setRejectInvNotifyMessage( + de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage.Builder builderForValue) { + rejectInvNotifyMessage_ = builderForValue.build(); + + bitField0_ |= 0x02000000; + return this; + } + /** + * optional .RejectInvNotifyMessage rejectInvNotifyMessage = 26; + */ + public Builder mergeRejectInvNotifyMessage(de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage value) { + if (((bitField0_ & 0x02000000) == 0x02000000) && + rejectInvNotifyMessage_ != de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage.getDefaultInstance()) { + rejectInvNotifyMessage_ = + de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage.newBuilder(rejectInvNotifyMessage_).mergeFrom(value).buildPartial(); + } else { + rejectInvNotifyMessage_ = value; + } + + bitField0_ |= 0x02000000; + return this; + } + /** + * optional .RejectInvNotifyMessage rejectInvNotifyMessage = 26; + */ + public Builder clearRejectInvNotifyMessage() { + rejectInvNotifyMessage_ = de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage.getDefaultInstance(); + + bitField0_ = (bitField0_ & ~0x02000000); + return this; + } + + // optional .StatisticsMessage statisticsMessage = 27; + private de.pokerth.protocol.ProtoBuf.StatisticsMessage statisticsMessage_ = de.pokerth.protocol.ProtoBuf.StatisticsMessage.getDefaultInstance(); + /** + * optional .StatisticsMessage statisticsMessage = 27; + */ + public boolean hasStatisticsMessage() { + return ((bitField0_ & 0x04000000) == 0x04000000); + } + /** + * optional .StatisticsMessage statisticsMessage = 27; + */ + public de.pokerth.protocol.ProtoBuf.StatisticsMessage getStatisticsMessage() { + return statisticsMessage_; + } + /** + * optional .StatisticsMessage statisticsMessage = 27; + */ + public Builder setStatisticsMessage(de.pokerth.protocol.ProtoBuf.StatisticsMessage value) { + if (value == null) { + throw new NullPointerException(); + } + statisticsMessage_ = value; + + bitField0_ |= 0x04000000; + return this; + } + /** + * optional .StatisticsMessage statisticsMessage = 27; + */ + public Builder setStatisticsMessage( + de.pokerth.protocol.ProtoBuf.StatisticsMessage.Builder builderForValue) { + statisticsMessage_ = builderForValue.build(); + + bitField0_ |= 0x04000000; + return this; + } + /** + * optional .StatisticsMessage statisticsMessage = 27; + */ + public Builder mergeStatisticsMessage(de.pokerth.protocol.ProtoBuf.StatisticsMessage value) { + if (((bitField0_ & 0x04000000) == 0x04000000) && + statisticsMessage_ != de.pokerth.protocol.ProtoBuf.StatisticsMessage.getDefaultInstance()) { + statisticsMessage_ = + de.pokerth.protocol.ProtoBuf.StatisticsMessage.newBuilder(statisticsMessage_).mergeFrom(value).buildPartial(); + } else { + statisticsMessage_ = value; + } + + bitField0_ |= 0x04000000; + return this; + } + /** + * optional .StatisticsMessage statisticsMessage = 27; + */ + public Builder clearStatisticsMessage() { + statisticsMessage_ = de.pokerth.protocol.ProtoBuf.StatisticsMessage.getDefaultInstance(); + + bitField0_ = (bitField0_ & ~0x04000000); + return this; + } + + // optional .ChatRequestMessage chatRequestMessage = 28; + private de.pokerth.protocol.ProtoBuf.ChatRequestMessage chatRequestMessage_ = de.pokerth.protocol.ProtoBuf.ChatRequestMessage.getDefaultInstance(); + /** + * optional .ChatRequestMessage chatRequestMessage = 28; + */ + public boolean hasChatRequestMessage() { + return ((bitField0_ & 0x08000000) == 0x08000000); + } + /** + * optional .ChatRequestMessage chatRequestMessage = 28; + */ + public de.pokerth.protocol.ProtoBuf.ChatRequestMessage getChatRequestMessage() { + return chatRequestMessage_; + } + /** + * optional .ChatRequestMessage chatRequestMessage = 28; + */ + public Builder setChatRequestMessage(de.pokerth.protocol.ProtoBuf.ChatRequestMessage value) { + if (value == null) { + throw new NullPointerException(); + } + chatRequestMessage_ = value; + + bitField0_ |= 0x08000000; + return this; + } + /** + * optional .ChatRequestMessage chatRequestMessage = 28; + */ + public Builder setChatRequestMessage( + de.pokerth.protocol.ProtoBuf.ChatRequestMessage.Builder builderForValue) { + chatRequestMessage_ = builderForValue.build(); + + bitField0_ |= 0x08000000; + return this; + } + /** + * optional .ChatRequestMessage chatRequestMessage = 28; + */ + public Builder mergeChatRequestMessage(de.pokerth.protocol.ProtoBuf.ChatRequestMessage value) { + if (((bitField0_ & 0x08000000) == 0x08000000) && + chatRequestMessage_ != de.pokerth.protocol.ProtoBuf.ChatRequestMessage.getDefaultInstance()) { + chatRequestMessage_ = + de.pokerth.protocol.ProtoBuf.ChatRequestMessage.newBuilder(chatRequestMessage_).mergeFrom(value).buildPartial(); + } else { + chatRequestMessage_ = value; + } + + bitField0_ |= 0x08000000; + return this; + } + /** + * optional .ChatRequestMessage chatRequestMessage = 28; + */ + public Builder clearChatRequestMessage() { + chatRequestMessage_ = de.pokerth.protocol.ProtoBuf.ChatRequestMessage.getDefaultInstance(); + + bitField0_ = (bitField0_ & ~0x08000000); + return this; + } + + // optional .ChatMessage chatMessage = 29; + private de.pokerth.protocol.ProtoBuf.ChatMessage chatMessage_ = de.pokerth.protocol.ProtoBuf.ChatMessage.getDefaultInstance(); + /** + * optional .ChatMessage chatMessage = 29; + */ + public boolean hasChatMessage() { + return ((bitField0_ & 0x10000000) == 0x10000000); + } + /** + * optional .ChatMessage chatMessage = 29; + */ + public de.pokerth.protocol.ProtoBuf.ChatMessage getChatMessage() { + return chatMessage_; + } + /** + * optional .ChatMessage chatMessage = 29; + */ + public Builder setChatMessage(de.pokerth.protocol.ProtoBuf.ChatMessage value) { + if (value == null) { + throw new NullPointerException(); + } + chatMessage_ = value; + + bitField0_ |= 0x10000000; + return this; + } + /** + * optional .ChatMessage chatMessage = 29; + */ + public Builder setChatMessage( + de.pokerth.protocol.ProtoBuf.ChatMessage.Builder builderForValue) { + chatMessage_ = builderForValue.build(); + + bitField0_ |= 0x10000000; + return this; + } + /** + * optional .ChatMessage chatMessage = 29; + */ + public Builder mergeChatMessage(de.pokerth.protocol.ProtoBuf.ChatMessage value) { + if (((bitField0_ & 0x10000000) == 0x10000000) && + chatMessage_ != de.pokerth.protocol.ProtoBuf.ChatMessage.getDefaultInstance()) { + chatMessage_ = + de.pokerth.protocol.ProtoBuf.ChatMessage.newBuilder(chatMessage_).mergeFrom(value).buildPartial(); + } else { + chatMessage_ = value; + } + + bitField0_ |= 0x10000000; + return this; + } + /** + * optional .ChatMessage chatMessage = 29; + */ + public Builder clearChatMessage() { + chatMessage_ = de.pokerth.protocol.ProtoBuf.ChatMessage.getDefaultInstance(); + + bitField0_ = (bitField0_ & ~0x10000000); + return this; + } + + // optional .ChatRejectMessage chatRejectMessage = 30; + private de.pokerth.protocol.ProtoBuf.ChatRejectMessage chatRejectMessage_ = de.pokerth.protocol.ProtoBuf.ChatRejectMessage.getDefaultInstance(); + /** + * optional .ChatRejectMessage chatRejectMessage = 30; + */ + public boolean hasChatRejectMessage() { + return ((bitField0_ & 0x20000000) == 0x20000000); + } + /** + * optional .ChatRejectMessage chatRejectMessage = 30; + */ + public de.pokerth.protocol.ProtoBuf.ChatRejectMessage getChatRejectMessage() { + return chatRejectMessage_; + } + /** + * optional .ChatRejectMessage chatRejectMessage = 30; + */ + public Builder setChatRejectMessage(de.pokerth.protocol.ProtoBuf.ChatRejectMessage value) { + if (value == null) { + throw new NullPointerException(); + } + chatRejectMessage_ = value; + + bitField0_ |= 0x20000000; + return this; + } + /** + * optional .ChatRejectMessage chatRejectMessage = 30; + */ + public Builder setChatRejectMessage( + de.pokerth.protocol.ProtoBuf.ChatRejectMessage.Builder builderForValue) { + chatRejectMessage_ = builderForValue.build(); + + bitField0_ |= 0x20000000; + return this; + } + /** + * optional .ChatRejectMessage chatRejectMessage = 30; + */ + public Builder mergeChatRejectMessage(de.pokerth.protocol.ProtoBuf.ChatRejectMessage value) { + if (((bitField0_ & 0x20000000) == 0x20000000) && + chatRejectMessage_ != de.pokerth.protocol.ProtoBuf.ChatRejectMessage.getDefaultInstance()) { + chatRejectMessage_ = + de.pokerth.protocol.ProtoBuf.ChatRejectMessage.newBuilder(chatRejectMessage_).mergeFrom(value).buildPartial(); + } else { + chatRejectMessage_ = value; + } + + bitField0_ |= 0x20000000; + return this; + } + /** + * optional .ChatRejectMessage chatRejectMessage = 30; + */ + public Builder clearChatRejectMessage() { + chatRejectMessage_ = de.pokerth.protocol.ProtoBuf.ChatRejectMessage.getDefaultInstance(); + + bitField0_ = (bitField0_ & ~0x20000000); + return this; + } + + // optional .DialogMessage dialogMessage = 31; + private de.pokerth.protocol.ProtoBuf.DialogMessage dialogMessage_ = de.pokerth.protocol.ProtoBuf.DialogMessage.getDefaultInstance(); + /** + * optional .DialogMessage dialogMessage = 31; + */ + public boolean hasDialogMessage() { + return ((bitField0_ & 0x40000000) == 0x40000000); + } + /** + * optional .DialogMessage dialogMessage = 31; + */ + public de.pokerth.protocol.ProtoBuf.DialogMessage getDialogMessage() { + return dialogMessage_; + } + /** + * optional .DialogMessage dialogMessage = 31; + */ + public Builder setDialogMessage(de.pokerth.protocol.ProtoBuf.DialogMessage value) { + if (value == null) { + throw new NullPointerException(); + } + dialogMessage_ = value; + + bitField0_ |= 0x40000000; + return this; + } + /** + * optional .DialogMessage dialogMessage = 31; + */ + public Builder setDialogMessage( + de.pokerth.protocol.ProtoBuf.DialogMessage.Builder builderForValue) { + dialogMessage_ = builderForValue.build(); + + bitField0_ |= 0x40000000; + return this; + } + /** + * optional .DialogMessage dialogMessage = 31; + */ + public Builder mergeDialogMessage(de.pokerth.protocol.ProtoBuf.DialogMessage value) { + if (((bitField0_ & 0x40000000) == 0x40000000) && + dialogMessage_ != de.pokerth.protocol.ProtoBuf.DialogMessage.getDefaultInstance()) { + dialogMessage_ = + de.pokerth.protocol.ProtoBuf.DialogMessage.newBuilder(dialogMessage_).mergeFrom(value).buildPartial(); + } else { + dialogMessage_ = value; + } + + bitField0_ |= 0x40000000; + return this; + } + /** + * optional .DialogMessage dialogMessage = 31; + */ + public Builder clearDialogMessage() { + dialogMessage_ = de.pokerth.protocol.ProtoBuf.DialogMessage.getDefaultInstance(); + + bitField0_ = (bitField0_ & ~0x40000000); + return this; + } + + // optional .TimeoutWarningMessage timeoutWarningMessage = 32; + private de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage timeoutWarningMessage_ = de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.getDefaultInstance(); + /** + * optional .TimeoutWarningMessage timeoutWarningMessage = 32; + */ + public boolean hasTimeoutWarningMessage() { + return ((bitField0_ & 0x80000000) == 0x80000000); + } + /** + * optional .TimeoutWarningMessage timeoutWarningMessage = 32; + */ + public de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage getTimeoutWarningMessage() { + return timeoutWarningMessage_; + } + /** + * optional .TimeoutWarningMessage timeoutWarningMessage = 32; + */ + public Builder setTimeoutWarningMessage(de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage value) { + if (value == null) { + throw new NullPointerException(); + } + timeoutWarningMessage_ = value; + + bitField0_ |= 0x80000000; + return this; + } + /** + * optional .TimeoutWarningMessage timeoutWarningMessage = 32; + */ + public Builder setTimeoutWarningMessage( + de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.Builder builderForValue) { + timeoutWarningMessage_ = builderForValue.build(); + + bitField0_ |= 0x80000000; + return this; + } + /** + * optional .TimeoutWarningMessage timeoutWarningMessage = 32; + */ + public Builder mergeTimeoutWarningMessage(de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage value) { + if (((bitField0_ & 0x80000000) == 0x80000000) && + timeoutWarningMessage_ != de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.getDefaultInstance()) { + timeoutWarningMessage_ = + de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.newBuilder(timeoutWarningMessage_).mergeFrom(value).buildPartial(); + } else { + timeoutWarningMessage_ = value; + } + + bitField0_ |= 0x80000000; + return this; + } + /** + * optional .TimeoutWarningMessage timeoutWarningMessage = 32; + */ + public Builder clearTimeoutWarningMessage() { + timeoutWarningMessage_ = de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.getDefaultInstance(); + + bitField0_ = (bitField0_ & ~0x80000000); + return this; + } + + // optional .ResetTimeoutMessage resetTimeoutMessage = 33; + private de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage resetTimeoutMessage_ = de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage.getDefaultInstance(); + /** + * optional .ResetTimeoutMessage resetTimeoutMessage = 33; + */ + public boolean hasResetTimeoutMessage() { + return ((bitField1_ & 0x00000001) == 0x00000001); + } + /** + * optional .ResetTimeoutMessage resetTimeoutMessage = 33; + */ + public de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage getResetTimeoutMessage() { + return resetTimeoutMessage_; + } + /** + * optional .ResetTimeoutMessage resetTimeoutMessage = 33; + */ + public Builder setResetTimeoutMessage(de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage value) { + if (value == null) { + throw new NullPointerException(); + } + resetTimeoutMessage_ = value; + + bitField1_ |= 0x00000001; + return this; + } + /** + * optional .ResetTimeoutMessage resetTimeoutMessage = 33; + */ + public Builder setResetTimeoutMessage( + de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage.Builder builderForValue) { + resetTimeoutMessage_ = builderForValue.build(); + + bitField1_ |= 0x00000001; + return this; + } + /** + * optional .ResetTimeoutMessage resetTimeoutMessage = 33; + */ + public Builder mergeResetTimeoutMessage(de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage value) { + if (((bitField1_ & 0x00000001) == 0x00000001) && + resetTimeoutMessage_ != de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage.getDefaultInstance()) { + resetTimeoutMessage_ = + de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage.newBuilder(resetTimeoutMessage_).mergeFrom(value).buildPartial(); + } else { + resetTimeoutMessage_ = value; + } + + bitField1_ |= 0x00000001; + return this; + } + /** + * optional .ResetTimeoutMessage resetTimeoutMessage = 33; + */ + public Builder clearResetTimeoutMessage() { + resetTimeoutMessage_ = de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage.getDefaultInstance(); + + bitField1_ = (bitField1_ & ~0x00000001); + return this; + } + + // optional .ReportAvatarMessage reportAvatarMessage = 34; + private de.pokerth.protocol.ProtoBuf.ReportAvatarMessage reportAvatarMessage_ = de.pokerth.protocol.ProtoBuf.ReportAvatarMessage.getDefaultInstance(); + /** + * optional .ReportAvatarMessage reportAvatarMessage = 34; + */ + public boolean hasReportAvatarMessage() { + return ((bitField1_ & 0x00000002) == 0x00000002); + } + /** + * optional .ReportAvatarMessage reportAvatarMessage = 34; + */ + public de.pokerth.protocol.ProtoBuf.ReportAvatarMessage getReportAvatarMessage() { + return reportAvatarMessage_; + } + /** + * optional .ReportAvatarMessage reportAvatarMessage = 34; + */ + public Builder setReportAvatarMessage(de.pokerth.protocol.ProtoBuf.ReportAvatarMessage value) { + if (value == null) { + throw new NullPointerException(); + } + reportAvatarMessage_ = value; + + bitField1_ |= 0x00000002; + return this; + } + /** + * optional .ReportAvatarMessage reportAvatarMessage = 34; + */ + public Builder setReportAvatarMessage( + de.pokerth.protocol.ProtoBuf.ReportAvatarMessage.Builder builderForValue) { + reportAvatarMessage_ = builderForValue.build(); + + bitField1_ |= 0x00000002; + return this; + } + /** + * optional .ReportAvatarMessage reportAvatarMessage = 34; + */ + public Builder mergeReportAvatarMessage(de.pokerth.protocol.ProtoBuf.ReportAvatarMessage value) { + if (((bitField1_ & 0x00000002) == 0x00000002) && + reportAvatarMessage_ != de.pokerth.protocol.ProtoBuf.ReportAvatarMessage.getDefaultInstance()) { + reportAvatarMessage_ = + de.pokerth.protocol.ProtoBuf.ReportAvatarMessage.newBuilder(reportAvatarMessage_).mergeFrom(value).buildPartial(); + } else { + reportAvatarMessage_ = value; + } + + bitField1_ |= 0x00000002; + return this; + } + /** + * optional .ReportAvatarMessage reportAvatarMessage = 34; + */ + public Builder clearReportAvatarMessage() { + reportAvatarMessage_ = de.pokerth.protocol.ProtoBuf.ReportAvatarMessage.getDefaultInstance(); + + bitField1_ = (bitField1_ & ~0x00000002); + return this; + } + + // optional .ReportAvatarAckMessage reportAvatarAckMessage = 35; + private de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage reportAvatarAckMessage_ = de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.getDefaultInstance(); + /** + * optional .ReportAvatarAckMessage reportAvatarAckMessage = 35; + */ + public boolean hasReportAvatarAckMessage() { + return ((bitField1_ & 0x00000004) == 0x00000004); + } + /** + * optional .ReportAvatarAckMessage reportAvatarAckMessage = 35; + */ + public de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage getReportAvatarAckMessage() { + return reportAvatarAckMessage_; + } + /** + * optional .ReportAvatarAckMessage reportAvatarAckMessage = 35; + */ + public Builder setReportAvatarAckMessage(de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage value) { + if (value == null) { + throw new NullPointerException(); + } + reportAvatarAckMessage_ = value; + + bitField1_ |= 0x00000004; + return this; + } + /** + * optional .ReportAvatarAckMessage reportAvatarAckMessage = 35; + */ + public Builder setReportAvatarAckMessage( + de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.Builder builderForValue) { + reportAvatarAckMessage_ = builderForValue.build(); + + bitField1_ |= 0x00000004; + return this; + } + /** + * optional .ReportAvatarAckMessage reportAvatarAckMessage = 35; + */ + public Builder mergeReportAvatarAckMessage(de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage value) { + if (((bitField1_ & 0x00000004) == 0x00000004) && + reportAvatarAckMessage_ != de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.getDefaultInstance()) { + reportAvatarAckMessage_ = + de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.newBuilder(reportAvatarAckMessage_).mergeFrom(value).buildPartial(); + } else { + reportAvatarAckMessage_ = value; + } + + bitField1_ |= 0x00000004; + return this; + } + /** + * optional .ReportAvatarAckMessage reportAvatarAckMessage = 35; + */ + public Builder clearReportAvatarAckMessage() { + reportAvatarAckMessage_ = de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.getDefaultInstance(); + + bitField1_ = (bitField1_ & ~0x00000004); + return this; + } + + // optional .ReportGameMessage reportGameMessage = 36; + private de.pokerth.protocol.ProtoBuf.ReportGameMessage reportGameMessage_ = de.pokerth.protocol.ProtoBuf.ReportGameMessage.getDefaultInstance(); + /** + * optional .ReportGameMessage reportGameMessage = 36; + */ + public boolean hasReportGameMessage() { + return ((bitField1_ & 0x00000008) == 0x00000008); + } + /** + * optional .ReportGameMessage reportGameMessage = 36; + */ + public de.pokerth.protocol.ProtoBuf.ReportGameMessage getReportGameMessage() { + return reportGameMessage_; + } + /** + * optional .ReportGameMessage reportGameMessage = 36; + */ + public Builder setReportGameMessage(de.pokerth.protocol.ProtoBuf.ReportGameMessage value) { + if (value == null) { + throw new NullPointerException(); + } + reportGameMessage_ = value; + + bitField1_ |= 0x00000008; + return this; + } + /** + * optional .ReportGameMessage reportGameMessage = 36; + */ + public Builder setReportGameMessage( + de.pokerth.protocol.ProtoBuf.ReportGameMessage.Builder builderForValue) { + reportGameMessage_ = builderForValue.build(); + + bitField1_ |= 0x00000008; + return this; + } + /** + * optional .ReportGameMessage reportGameMessage = 36; + */ + public Builder mergeReportGameMessage(de.pokerth.protocol.ProtoBuf.ReportGameMessage value) { + if (((bitField1_ & 0x00000008) == 0x00000008) && + reportGameMessage_ != de.pokerth.protocol.ProtoBuf.ReportGameMessage.getDefaultInstance()) { + reportGameMessage_ = + de.pokerth.protocol.ProtoBuf.ReportGameMessage.newBuilder(reportGameMessage_).mergeFrom(value).buildPartial(); + } else { + reportGameMessage_ = value; + } + + bitField1_ |= 0x00000008; + return this; + } + /** + * optional .ReportGameMessage reportGameMessage = 36; + */ + public Builder clearReportGameMessage() { + reportGameMessage_ = de.pokerth.protocol.ProtoBuf.ReportGameMessage.getDefaultInstance(); + + bitField1_ = (bitField1_ & ~0x00000008); + return this; + } + + // optional .ReportGameAckMessage reportGameAckMessage = 37; + private de.pokerth.protocol.ProtoBuf.ReportGameAckMessage reportGameAckMessage_ = de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.getDefaultInstance(); + /** + * optional .ReportGameAckMessage reportGameAckMessage = 37; + */ + public boolean hasReportGameAckMessage() { + return ((bitField1_ & 0x00000010) == 0x00000010); + } + /** + * optional .ReportGameAckMessage reportGameAckMessage = 37; + */ + public de.pokerth.protocol.ProtoBuf.ReportGameAckMessage getReportGameAckMessage() { + return reportGameAckMessage_; + } + /** + * optional .ReportGameAckMessage reportGameAckMessage = 37; + */ + public Builder setReportGameAckMessage(de.pokerth.protocol.ProtoBuf.ReportGameAckMessage value) { + if (value == null) { + throw new NullPointerException(); + } + reportGameAckMessage_ = value; + + bitField1_ |= 0x00000010; + return this; + } + /** + * optional .ReportGameAckMessage reportGameAckMessage = 37; + */ + public Builder setReportGameAckMessage( + de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.Builder builderForValue) { + reportGameAckMessage_ = builderForValue.build(); + + bitField1_ |= 0x00000010; + return this; + } + /** + * optional .ReportGameAckMessage reportGameAckMessage = 37; + */ + public Builder mergeReportGameAckMessage(de.pokerth.protocol.ProtoBuf.ReportGameAckMessage value) { + if (((bitField1_ & 0x00000010) == 0x00000010) && + reportGameAckMessage_ != de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.getDefaultInstance()) { + reportGameAckMessage_ = + de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.newBuilder(reportGameAckMessage_).mergeFrom(value).buildPartial(); + } else { + reportGameAckMessage_ = value; + } + + bitField1_ |= 0x00000010; + return this; + } + /** + * optional .ReportGameAckMessage reportGameAckMessage = 37; + */ + public Builder clearReportGameAckMessage() { + reportGameAckMessage_ = de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.getDefaultInstance(); + + bitField1_ = (bitField1_ & ~0x00000010); + return this; + } + + // optional .AdminRemoveGameMessage adminRemoveGameMessage = 38; + private de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage adminRemoveGameMessage_ = de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage.getDefaultInstance(); + /** + * optional .AdminRemoveGameMessage adminRemoveGameMessage = 38; + */ + public boolean hasAdminRemoveGameMessage() { + return ((bitField1_ & 0x00000020) == 0x00000020); + } + /** + * optional .AdminRemoveGameMessage adminRemoveGameMessage = 38; + */ + public de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage getAdminRemoveGameMessage() { + return adminRemoveGameMessage_; + } + /** + * optional .AdminRemoveGameMessage adminRemoveGameMessage = 38; + */ + public Builder setAdminRemoveGameMessage(de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage value) { + if (value == null) { + throw new NullPointerException(); + } + adminRemoveGameMessage_ = value; + + bitField1_ |= 0x00000020; + return this; + } + /** + * optional .AdminRemoveGameMessage adminRemoveGameMessage = 38; + */ + public Builder setAdminRemoveGameMessage( + de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage.Builder builderForValue) { + adminRemoveGameMessage_ = builderForValue.build(); + + bitField1_ |= 0x00000020; + return this; + } + /** + * optional .AdminRemoveGameMessage adminRemoveGameMessage = 38; + */ + public Builder mergeAdminRemoveGameMessage(de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage value) { + if (((bitField1_ & 0x00000020) == 0x00000020) && + adminRemoveGameMessage_ != de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage.getDefaultInstance()) { + adminRemoveGameMessage_ = + de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage.newBuilder(adminRemoveGameMessage_).mergeFrom(value).buildPartial(); + } else { + adminRemoveGameMessage_ = value; + } + + bitField1_ |= 0x00000020; + return this; + } + /** + * optional .AdminRemoveGameMessage adminRemoveGameMessage = 38; + */ + public Builder clearAdminRemoveGameMessage() { + adminRemoveGameMessage_ = de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage.getDefaultInstance(); + + bitField1_ = (bitField1_ & ~0x00000020); + return this; + } + + // optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 39; + private de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage adminRemoveGameAckMessage_ = de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.getDefaultInstance(); + /** + * optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 39; + */ + public boolean hasAdminRemoveGameAckMessage() { + return ((bitField1_ & 0x00000040) == 0x00000040); + } + /** + * optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 39; + */ + public de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage getAdminRemoveGameAckMessage() { + return adminRemoveGameAckMessage_; + } + /** + * optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 39; + */ + public Builder setAdminRemoveGameAckMessage(de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage value) { + if (value == null) { + throw new NullPointerException(); + } + adminRemoveGameAckMessage_ = value; + + bitField1_ |= 0x00000040; + return this; + } + /** + * optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 39; + */ + public Builder setAdminRemoveGameAckMessage( + de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.Builder builderForValue) { + adminRemoveGameAckMessage_ = builderForValue.build(); + + bitField1_ |= 0x00000040; + return this; + } + /** + * optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 39; + */ + public Builder mergeAdminRemoveGameAckMessage(de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage value) { + if (((bitField1_ & 0x00000040) == 0x00000040) && + adminRemoveGameAckMessage_ != de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.getDefaultInstance()) { + adminRemoveGameAckMessage_ = + de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.newBuilder(adminRemoveGameAckMessage_).mergeFrom(value).buildPartial(); + } else { + adminRemoveGameAckMessage_ = value; + } + + bitField1_ |= 0x00000040; + return this; + } + /** + * optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 39; + */ + public Builder clearAdminRemoveGameAckMessage() { + adminRemoveGameAckMessage_ = de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.getDefaultInstance(); + + bitField1_ = (bitField1_ & ~0x00000040); + return this; + } + + // optional .AdminBanPlayerMessage adminBanPlayerMessage = 40; + private de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage adminBanPlayerMessage_ = de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage.getDefaultInstance(); + /** + * optional .AdminBanPlayerMessage adminBanPlayerMessage = 40; + */ + public boolean hasAdminBanPlayerMessage() { + return ((bitField1_ & 0x00000080) == 0x00000080); + } + /** + * optional .AdminBanPlayerMessage adminBanPlayerMessage = 40; + */ + public de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage getAdminBanPlayerMessage() { + return adminBanPlayerMessage_; + } + /** + * optional .AdminBanPlayerMessage adminBanPlayerMessage = 40; + */ + public Builder setAdminBanPlayerMessage(de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage value) { + if (value == null) { + throw new NullPointerException(); + } + adminBanPlayerMessage_ = value; + + bitField1_ |= 0x00000080; + return this; + } + /** + * optional .AdminBanPlayerMessage adminBanPlayerMessage = 40; + */ + public Builder setAdminBanPlayerMessage( + de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage.Builder builderForValue) { + adminBanPlayerMessage_ = builderForValue.build(); + + bitField1_ |= 0x00000080; + return this; + } + /** + * optional .AdminBanPlayerMessage adminBanPlayerMessage = 40; + */ + public Builder mergeAdminBanPlayerMessage(de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage value) { + if (((bitField1_ & 0x00000080) == 0x00000080) && + adminBanPlayerMessage_ != de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage.getDefaultInstance()) { + adminBanPlayerMessage_ = + de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage.newBuilder(adminBanPlayerMessage_).mergeFrom(value).buildPartial(); + } else { + adminBanPlayerMessage_ = value; + } + + bitField1_ |= 0x00000080; + return this; + } + /** + * optional .AdminBanPlayerMessage adminBanPlayerMessage = 40; + */ + public Builder clearAdminBanPlayerMessage() { + adminBanPlayerMessage_ = de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage.getDefaultInstance(); + + bitField1_ = (bitField1_ & ~0x00000080); + return this; + } + + // optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 41; + private de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage adminBanPlayerAckMessage_ = de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.getDefaultInstance(); + /** + * optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 41; + */ + public boolean hasAdminBanPlayerAckMessage() { + return ((bitField1_ & 0x00000100) == 0x00000100); + } + /** + * optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 41; + */ + public de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage getAdminBanPlayerAckMessage() { + return adminBanPlayerAckMessage_; + } + /** + * optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 41; + */ + public Builder setAdminBanPlayerAckMessage(de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage value) { + if (value == null) { + throw new NullPointerException(); + } + adminBanPlayerAckMessage_ = value; + + bitField1_ |= 0x00000100; + return this; + } + /** + * optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 41; + */ + public Builder setAdminBanPlayerAckMessage( + de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.Builder builderForValue) { + adminBanPlayerAckMessage_ = builderForValue.build(); + + bitField1_ |= 0x00000100; + return this; + } + /** + * optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 41; + */ + public Builder mergeAdminBanPlayerAckMessage(de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage value) { + if (((bitField1_ & 0x00000100) == 0x00000100) && + adminBanPlayerAckMessage_ != de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.getDefaultInstance()) { + adminBanPlayerAckMessage_ = + de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.newBuilder(adminBanPlayerAckMessage_).mergeFrom(value).buildPartial(); + } else { + adminBanPlayerAckMessage_ = value; + } + + bitField1_ |= 0x00000100; + return this; + } + /** + * optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 41; + */ + public Builder clearAdminBanPlayerAckMessage() { + adminBanPlayerAckMessage_ = de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.getDefaultInstance(); + + bitField1_ = (bitField1_ & ~0x00000100); + return this; + } + + // optional .ErrorMessage errorMessage = 1025; + private de.pokerth.protocol.ProtoBuf.ErrorMessage errorMessage_ = de.pokerth.protocol.ProtoBuf.ErrorMessage.getDefaultInstance(); + /** + * optional .ErrorMessage errorMessage = 1025; + */ + public boolean hasErrorMessage() { + return ((bitField1_ & 0x00000200) == 0x00000200); + } + /** + * optional .ErrorMessage errorMessage = 1025; + */ + public de.pokerth.protocol.ProtoBuf.ErrorMessage getErrorMessage() { + return errorMessage_; + } + /** + * optional .ErrorMessage errorMessage = 1025; + */ + public Builder setErrorMessage(de.pokerth.protocol.ProtoBuf.ErrorMessage value) { + if (value == null) { + throw new NullPointerException(); + } + errorMessage_ = value; + + bitField1_ |= 0x00000200; + return this; + } + /** + * optional .ErrorMessage errorMessage = 1025; + */ + public Builder setErrorMessage( + de.pokerth.protocol.ProtoBuf.ErrorMessage.Builder builderForValue) { + errorMessage_ = builderForValue.build(); + + bitField1_ |= 0x00000200; + return this; + } + /** + * optional .ErrorMessage errorMessage = 1025; + */ + public Builder mergeErrorMessage(de.pokerth.protocol.ProtoBuf.ErrorMessage value) { + if (((bitField1_ & 0x00000200) == 0x00000200) && + errorMessage_ != de.pokerth.protocol.ProtoBuf.ErrorMessage.getDefaultInstance()) { + errorMessage_ = + de.pokerth.protocol.ProtoBuf.ErrorMessage.newBuilder(errorMessage_).mergeFrom(value).buildPartial(); + } else { + errorMessage_ = value; + } + + bitField1_ |= 0x00000200; + return this; + } + /** + * optional .ErrorMessage errorMessage = 1025; + */ + public Builder clearErrorMessage() { + errorMessage_ = de.pokerth.protocol.ProtoBuf.ErrorMessage.getDefaultInstance(); + + bitField1_ = (bitField1_ & ~0x00000200); + return this; + } + + // @@protoc_insertion_point(builder_scope:LobbyMessage) + } + + static { + defaultInstance = new LobbyMessage(true); + defaultInstance.initFields(); + } + + // @@protoc_insertion_point(class_scope:LobbyMessage) + } + + public interface GameManagementMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + + // required .GameManagementMessage.GameManagementMessageType messageType = 1; + /** + * required .GameManagementMessage.GameManagementMessageType messageType = 1; + */ + boolean hasMessageType(); + /** + * required .GameManagementMessage.GameManagementMessageType messageType = 1; + */ + de.pokerth.protocol.ProtoBuf.GameManagementMessage.GameManagementMessageType getMessageType(); + + // optional .JoinGameMessage joinGameMessage = 2; + /** + * optional .JoinGameMessage joinGameMessage = 2; + */ + boolean hasJoinGameMessage(); + /** + * optional .JoinGameMessage joinGameMessage = 2; + */ + de.pokerth.protocol.ProtoBuf.JoinGameMessage getJoinGameMessage(); + + // optional .RejoinGameMessage rejoinGameMessage = 3; + /** + * optional .RejoinGameMessage rejoinGameMessage = 3; + */ + boolean hasRejoinGameMessage(); + /** + * optional .RejoinGameMessage rejoinGameMessage = 3; + */ + de.pokerth.protocol.ProtoBuf.RejoinGameMessage getRejoinGameMessage(); + + // optional .JoinGameAckMessage joinGameAckMessage = 4; + /** + * optional .JoinGameAckMessage joinGameAckMessage = 4; + */ + boolean hasJoinGameAckMessage(); + /** + * optional .JoinGameAckMessage joinGameAckMessage = 4; + */ + de.pokerth.protocol.ProtoBuf.JoinGameAckMessage getJoinGameAckMessage(); + + // optional .JoinGameFailedMessage joinGameFailedMessage = 5; + /** + * optional .JoinGameFailedMessage joinGameFailedMessage = 5; + */ + boolean hasJoinGameFailedMessage(); + /** + * optional .JoinGameFailedMessage joinGameFailedMessage = 5; + */ + de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage getJoinGameFailedMessage(); + + // optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 6; + /** + * optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 6; + */ + boolean hasGamePlayerJoinedMessage(); + /** + * optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 6; + */ + de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage getGamePlayerJoinedMessage(); + + // optional .GamePlayerLeftMessage gamePlayerLeftMessage = 7; + /** + * optional .GamePlayerLeftMessage gamePlayerLeftMessage = 7; + */ + boolean hasGamePlayerLeftMessage(); + /** + * optional .GamePlayerLeftMessage gamePlayerLeftMessage = 7; + */ + de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage getGamePlayerLeftMessage(); + + // optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 8; + /** + * optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 8; + */ + boolean hasGameSpectatorJoinedMessage(); + /** + * optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 8; + */ + de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage getGameSpectatorJoinedMessage(); + + // optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 9; + /** + * optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 9; + */ + boolean hasGameSpectatorLeftMessage(); + /** + * optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 9; + */ + de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage getGameSpectatorLeftMessage(); + + // optional .GameAdminChangedMessage gameAdminChangedMessage = 10; + /** + * optional .GameAdminChangedMessage gameAdminChangedMessage = 10; + */ + boolean hasGameAdminChangedMessage(); + /** + * optional .GameAdminChangedMessage gameAdminChangedMessage = 10; + */ + de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage getGameAdminChangedMessage(); + + // optional .RemovedFromGameMessage removedFromGameMessage = 11; + /** + * optional .RemovedFromGameMessage removedFromGameMessage = 11; + */ + boolean hasRemovedFromGameMessage(); + /** + * optional .RemovedFromGameMessage removedFromGameMessage = 11; + */ + de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage getRemovedFromGameMessage(); + + // optional .KickPlayerRequestMessage kickPlayerRequestMessage = 12; + /** + * optional .KickPlayerRequestMessage kickPlayerRequestMessage = 12; + */ + boolean hasKickPlayerRequestMessage(); + /** + * optional .KickPlayerRequestMessage kickPlayerRequestMessage = 12; + */ + de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage getKickPlayerRequestMessage(); + + // optional .LeaveGameRequestMessage leaveGameRequestMessage = 13; + /** + * optional .LeaveGameRequestMessage leaveGameRequestMessage = 13; + */ + boolean hasLeaveGameRequestMessage(); + /** + * optional .LeaveGameRequestMessage leaveGameRequestMessage = 13; + */ + de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage getLeaveGameRequestMessage(); + + // optional .StartEventMessage startEventMessage = 14; + /** + * optional .StartEventMessage startEventMessage = 14; + */ + boolean hasStartEventMessage(); + /** + * optional .StartEventMessage startEventMessage = 14; + */ + de.pokerth.protocol.ProtoBuf.StartEventMessage getStartEventMessage(); + + // optional .StartEventAckMessage startEventAckMessage = 15; + /** + * optional .StartEventAckMessage startEventAckMessage = 15; + */ + boolean hasStartEventAckMessage(); + /** + * optional .StartEventAckMessage startEventAckMessage = 15; + */ + de.pokerth.protocol.ProtoBuf.StartEventAckMessage getStartEventAckMessage(); + + // optional .GameStartInitialMessage gameStartInitialMessage = 16; + /** + * optional .GameStartInitialMessage gameStartInitialMessage = 16; + */ + boolean hasGameStartInitialMessage(); + /** + * optional .GameStartInitialMessage gameStartInitialMessage = 16; + */ + de.pokerth.protocol.ProtoBuf.GameStartInitialMessage getGameStartInitialMessage(); + + // optional .GameStartRejoinMessage gameStartRejoinMessage = 17; + /** + * optional .GameStartRejoinMessage gameStartRejoinMessage = 17; + */ + boolean hasGameStartRejoinMessage(); + /** + * optional .GameStartRejoinMessage gameStartRejoinMessage = 17; + */ + de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage getGameStartRejoinMessage(); + + // optional .EndOfGameMessage endOfGameMessage = 18; + /** + * optional .EndOfGameMessage endOfGameMessage = 18; + */ + boolean hasEndOfGameMessage(); + /** + * optional .EndOfGameMessage endOfGameMessage = 18; + */ + de.pokerth.protocol.ProtoBuf.EndOfGameMessage getEndOfGameMessage(); + + // optional .PlayerIdChangedMessage playerIdChangedMessage = 19; + /** + * optional .PlayerIdChangedMessage playerIdChangedMessage = 19; + */ + boolean hasPlayerIdChangedMessage(); + /** + * optional .PlayerIdChangedMessage playerIdChangedMessage = 19; + */ + de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage getPlayerIdChangedMessage(); + + // optional .AskKickPlayerMessage askKickPlayerMessage = 20; + /** + * optional .AskKickPlayerMessage askKickPlayerMessage = 20; + */ + boolean hasAskKickPlayerMessage(); + /** + * optional .AskKickPlayerMessage askKickPlayerMessage = 20; + */ + de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage getAskKickPlayerMessage(); + + // optional .AskKickDeniedMessage askKickDeniedMessage = 21; + /** + * optional .AskKickDeniedMessage askKickDeniedMessage = 21; + */ + boolean hasAskKickDeniedMessage(); + /** + * optional .AskKickDeniedMessage askKickDeniedMessage = 21; + */ + de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage getAskKickDeniedMessage(); + + // optional .StartKickPetitionMessage startKickPetitionMessage = 22; + /** + * optional .StartKickPetitionMessage startKickPetitionMessage = 22; + */ + boolean hasStartKickPetitionMessage(); + /** + * optional .StartKickPetitionMessage startKickPetitionMessage = 22; + */ + de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage getStartKickPetitionMessage(); + + // optional .VoteKickRequestMessage voteKickRequestMessage = 23; + /** + * optional .VoteKickRequestMessage voteKickRequestMessage = 23; + */ + boolean hasVoteKickRequestMessage(); + /** + * optional .VoteKickRequestMessage voteKickRequestMessage = 23; + */ + de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage getVoteKickRequestMessage(); + + // optional .VoteKickReplyMessage voteKickReplyMessage = 24; + /** + * optional .VoteKickReplyMessage voteKickReplyMessage = 24; + */ + boolean hasVoteKickReplyMessage(); + /** + * optional .VoteKickReplyMessage voteKickReplyMessage = 24; + */ + de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage getVoteKickReplyMessage(); + + // optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 25; + /** + * optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 25; + */ + boolean hasKickPetitionUpdateMessage(); + /** + * optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 25; + */ + de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage getKickPetitionUpdateMessage(); + + // optional .EndKickPetitionMessage endKickPetitionMessage = 26; + /** + * optional .EndKickPetitionMessage endKickPetitionMessage = 26; + */ + boolean hasEndKickPetitionMessage(); + /** + * optional .EndKickPetitionMessage endKickPetitionMessage = 26; + */ + de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage getEndKickPetitionMessage(); + + // optional .ChatRequestMessage chatRequestMessage = 27; + /** + * optional .ChatRequestMessage chatRequestMessage = 27; + */ + boolean hasChatRequestMessage(); + /** + * optional .ChatRequestMessage chatRequestMessage = 27; + */ + de.pokerth.protocol.ProtoBuf.ChatRequestMessage getChatRequestMessage(); + + // optional .ChatMessage chatMessage = 28; + /** + * optional .ChatMessage chatMessage = 28; + */ + boolean hasChatMessage(); + /** + * optional .ChatMessage chatMessage = 28; + */ + de.pokerth.protocol.ProtoBuf.ChatMessage getChatMessage(); + + // optional .ChatRejectMessage chatRejectMessage = 29; + /** + * optional .ChatRejectMessage chatRejectMessage = 29; + */ + boolean hasChatRejectMessage(); + /** + * optional .ChatRejectMessage chatRejectMessage = 29; + */ + de.pokerth.protocol.ProtoBuf.ChatRejectMessage getChatRejectMessage(); + + // optional .ErrorMessage errorMessage = 1025; + /** + * optional .ErrorMessage errorMessage = 1025; + */ + boolean hasErrorMessage(); + /** + * optional .ErrorMessage errorMessage = 1025; + */ + de.pokerth.protocol.ProtoBuf.ErrorMessage getErrorMessage(); + } + /** + * Protobuf type {@code GameManagementMessage} + */ + public static final class GameManagementMessage extends + com.google.protobuf.GeneratedMessageLite + implements GameManagementMessageOrBuilder { + // Use GameManagementMessage.newBuilder() to construct. + private GameManagementMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + super(builder); + + } + private GameManagementMessage(boolean noInit) {} + + private static final GameManagementMessage defaultInstance; + public static GameManagementMessage getDefaultInstance() { + return defaultInstance; + } + + public GameManagementMessage getDefaultInstanceForType() { + return defaultInstance; + } + + private GameManagementMessage( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; + } + break; + } + case 8: { + int rawValue = input.readEnum(); + de.pokerth.protocol.ProtoBuf.GameManagementMessage.GameManagementMessageType value = de.pokerth.protocol.ProtoBuf.GameManagementMessage.GameManagementMessageType.valueOf(rawValue); + if (value != null) { + bitField0_ |= 0x00000001; + messageType_ = value; + } + break; + } + case 18: { + de.pokerth.protocol.ProtoBuf.JoinGameMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00000002) == 0x00000002)) { + subBuilder = joinGameMessage_.toBuilder(); + } + joinGameMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.JoinGameMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(joinGameMessage_); + joinGameMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000002; + break; + } + case 26: { + de.pokerth.protocol.ProtoBuf.RejoinGameMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00000004) == 0x00000004)) { + subBuilder = rejoinGameMessage_.toBuilder(); + } + rejoinGameMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.RejoinGameMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(rejoinGameMessage_); + rejoinGameMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000004; + break; + } + case 34: { + de.pokerth.protocol.ProtoBuf.JoinGameAckMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00000008) == 0x00000008)) { + subBuilder = joinGameAckMessage_.toBuilder(); + } + joinGameAckMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.JoinGameAckMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(joinGameAckMessage_); + joinGameAckMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000008; + break; + } + case 42: { + de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00000010) == 0x00000010)) { + subBuilder = joinGameFailedMessage_.toBuilder(); + } + joinGameFailedMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(joinGameFailedMessage_); + joinGameFailedMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000010; + break; + } + case 50: { + de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00000020) == 0x00000020)) { + subBuilder = gamePlayerJoinedMessage_.toBuilder(); + } + gamePlayerJoinedMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(gamePlayerJoinedMessage_); + gamePlayerJoinedMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000020; + break; + } + case 58: { + de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00000040) == 0x00000040)) { + subBuilder = gamePlayerLeftMessage_.toBuilder(); + } + gamePlayerLeftMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(gamePlayerLeftMessage_); + gamePlayerLeftMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000040; + break; + } + case 66: { + de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00000080) == 0x00000080)) { + subBuilder = gameSpectatorJoinedMessage_.toBuilder(); + } + gameSpectatorJoinedMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(gameSpectatorJoinedMessage_); + gameSpectatorJoinedMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000080; + break; + } + case 74: { + de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00000100) == 0x00000100)) { + subBuilder = gameSpectatorLeftMessage_.toBuilder(); + } + gameSpectatorLeftMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(gameSpectatorLeftMessage_); + gameSpectatorLeftMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000100; + break; + } + case 82: { + de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00000200) == 0x00000200)) { + subBuilder = gameAdminChangedMessage_.toBuilder(); + } + gameAdminChangedMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(gameAdminChangedMessage_); + gameAdminChangedMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000200; + break; + } + case 90: { + de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00000400) == 0x00000400)) { + subBuilder = removedFromGameMessage_.toBuilder(); + } + removedFromGameMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(removedFromGameMessage_); + removedFromGameMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000400; + break; + } + case 98: { + de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00000800) == 0x00000800)) { + subBuilder = kickPlayerRequestMessage_.toBuilder(); + } + kickPlayerRequestMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(kickPlayerRequestMessage_); + kickPlayerRequestMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000800; + break; + } + case 106: { + de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00001000) == 0x00001000)) { + subBuilder = leaveGameRequestMessage_.toBuilder(); + } + leaveGameRequestMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(leaveGameRequestMessage_); + leaveGameRequestMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00001000; + break; + } + case 114: { + de.pokerth.protocol.ProtoBuf.StartEventMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00002000) == 0x00002000)) { + subBuilder = startEventMessage_.toBuilder(); + } + startEventMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.StartEventMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(startEventMessage_); + startEventMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00002000; + break; + } + case 122: { + de.pokerth.protocol.ProtoBuf.StartEventAckMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00004000) == 0x00004000)) { + subBuilder = startEventAckMessage_.toBuilder(); + } + startEventAckMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.StartEventAckMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(startEventAckMessage_); + startEventAckMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00004000; + break; + } + case 130: { + de.pokerth.protocol.ProtoBuf.GameStartInitialMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00008000) == 0x00008000)) { + subBuilder = gameStartInitialMessage_.toBuilder(); + } + gameStartInitialMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.GameStartInitialMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(gameStartInitialMessage_); + gameStartInitialMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00008000; + break; + } + case 138: { + de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00010000) == 0x00010000)) { + subBuilder = gameStartRejoinMessage_.toBuilder(); + } + gameStartRejoinMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(gameStartRejoinMessage_); + gameStartRejoinMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00010000; + break; + } + case 146: { + de.pokerth.protocol.ProtoBuf.EndOfGameMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00020000) == 0x00020000)) { + subBuilder = endOfGameMessage_.toBuilder(); + } + endOfGameMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.EndOfGameMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endOfGameMessage_); + endOfGameMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00020000; + break; + } + case 154: { + de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00040000) == 0x00040000)) { + subBuilder = playerIdChangedMessage_.toBuilder(); + } + playerIdChangedMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(playerIdChangedMessage_); + playerIdChangedMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00040000; + break; + } + case 162: { + de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00080000) == 0x00080000)) { + subBuilder = askKickPlayerMessage_.toBuilder(); + } + askKickPlayerMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(askKickPlayerMessage_); + askKickPlayerMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00080000; + break; + } + case 170: { + de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00100000) == 0x00100000)) { + subBuilder = askKickDeniedMessage_.toBuilder(); + } + askKickDeniedMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(askKickDeniedMessage_); + askKickDeniedMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00100000; + break; + } + case 178: { + de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00200000) == 0x00200000)) { + subBuilder = startKickPetitionMessage_.toBuilder(); + } + startKickPetitionMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(startKickPetitionMessage_); + startKickPetitionMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00200000; + break; + } + case 186: { + de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00400000) == 0x00400000)) { + subBuilder = voteKickRequestMessage_.toBuilder(); + } + voteKickRequestMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(voteKickRequestMessage_); + voteKickRequestMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00400000; + break; + } + case 194: { + de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00800000) == 0x00800000)) { + subBuilder = voteKickReplyMessage_.toBuilder(); + } + voteKickReplyMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(voteKickReplyMessage_); + voteKickReplyMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00800000; + break; + } + case 202: { + de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage.Builder subBuilder = null; + if (((bitField0_ & 0x01000000) == 0x01000000)) { + subBuilder = kickPetitionUpdateMessage_.toBuilder(); + } + kickPetitionUpdateMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(kickPetitionUpdateMessage_); + kickPetitionUpdateMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x01000000; + break; + } + case 210: { + de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.Builder subBuilder = null; + if (((bitField0_ & 0x02000000) == 0x02000000)) { + subBuilder = endKickPetitionMessage_.toBuilder(); + } + endKickPetitionMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endKickPetitionMessage_); + endKickPetitionMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x02000000; + break; + } + case 218: { + de.pokerth.protocol.ProtoBuf.ChatRequestMessage.Builder subBuilder = null; + if (((bitField0_ & 0x04000000) == 0x04000000)) { + subBuilder = chatRequestMessage_.toBuilder(); + } + chatRequestMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.ChatRequestMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(chatRequestMessage_); + chatRequestMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x04000000; + break; + } + case 226: { + de.pokerth.protocol.ProtoBuf.ChatMessage.Builder subBuilder = null; + if (((bitField0_ & 0x08000000) == 0x08000000)) { + subBuilder = chatMessage_.toBuilder(); + } + chatMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.ChatMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(chatMessage_); + chatMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x08000000; + break; + } + case 234: { + de.pokerth.protocol.ProtoBuf.ChatRejectMessage.Builder subBuilder = null; + if (((bitField0_ & 0x10000000) == 0x10000000)) { + subBuilder = chatRejectMessage_.toBuilder(); + } + chatRejectMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.ChatRejectMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(chatRejectMessage_); + chatRejectMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x10000000; + break; + } + case 8202: { + de.pokerth.protocol.ProtoBuf.ErrorMessage.Builder subBuilder = null; + if (((bitField0_ & 0x20000000) == 0x20000000)) { + subBuilder = errorMessage_.toBuilder(); + } + errorMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.ErrorMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(errorMessage_); + errorMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x20000000; + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); + } + } + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public GameManagementMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GameManagementMessage(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + /** + * Protobuf enum {@code GameManagementMessage.GameManagementMessageType} + */ + public enum GameManagementMessageType + implements com.google.protobuf.Internal.EnumLite { + /** + * Type_JoinGameMessage = 1; + */ + Type_JoinGameMessage(0, 1), + /** + * Type_RejoinGameMessage = 2; + */ + Type_RejoinGameMessage(1, 2), + /** + * Type_JoinGameAckMessage = 3; + */ + Type_JoinGameAckMessage(2, 3), + /** + * Type_JoinGameFailedMessage = 4; + */ + Type_JoinGameFailedMessage(3, 4), + /** + * Type_GamePlayerJoinedMessage = 5; + */ + Type_GamePlayerJoinedMessage(4, 5), + /** + * Type_GamePlayerLeftMessage = 6; + */ + Type_GamePlayerLeftMessage(5, 6), + /** + * Type_GameSpectatorJoinedMessage = 7; + */ + Type_GameSpectatorJoinedMessage(6, 7), + /** + * Type_GameSpectatorLeftMessage = 8; + */ + Type_GameSpectatorLeftMessage(7, 8), + /** + * Type_GameAdminChangedMessage = 9; + */ + Type_GameAdminChangedMessage(8, 9), + /** + * Type_RemovedFromGameMessage = 10; + */ + Type_RemovedFromGameMessage(9, 10), + /** + * Type_KickPlayerRequestMessage = 11; + */ + Type_KickPlayerRequestMessage(10, 11), + /** + * Type_LeaveGameRequestMessage = 12; + */ + Type_LeaveGameRequestMessage(11, 12), + /** + * Type_StartEventMessage = 13; + */ + Type_StartEventMessage(12, 13), + /** + * Type_StartEventAckMessage = 14; + */ + Type_StartEventAckMessage(13, 14), + /** + * Type_GameStartInitialMessage = 15; + */ + Type_GameStartInitialMessage(14, 15), + /** + * Type_GameStartRejoinMessage = 16; + */ + Type_GameStartRejoinMessage(15, 16), + /** + * Type_EndOfGameMessage = 17; + */ + Type_EndOfGameMessage(16, 17), + /** + * Type_PlayerIdChangedMessage = 18; + */ + Type_PlayerIdChangedMessage(17, 18), + /** + * Type_AskKickPlayerMessage = 19; + */ + Type_AskKickPlayerMessage(18, 19), + /** + * Type_AskKickDeniedMessage = 20; + */ + Type_AskKickDeniedMessage(19, 20), + /** + * Type_StartKickPetitionMessage = 21; + */ + Type_StartKickPetitionMessage(20, 21), + /** + * Type_VoteKickRequestMessage = 22; + */ + Type_VoteKickRequestMessage(21, 22), + /** + * Type_VoteKickReplyMessage = 23; + */ + Type_VoteKickReplyMessage(22, 23), + /** + * Type_KickPetitionUpdateMessage = 24; + */ + Type_KickPetitionUpdateMessage(23, 24), + /** + * Type_EndKickPetitionMessage = 25; + */ + Type_EndKickPetitionMessage(24, 25), + /** + * Type_ChatRequestMessage = 26; + */ + Type_ChatRequestMessage(25, 26), + /** + * Type_ChatMessage = 27; + */ + Type_ChatMessage(26, 27), + /** + * Type_ChatRejectMessage = 28; + */ + Type_ChatRejectMessage(27, 28), + /** + * Type_ErrorMessage = 1024; + */ + Type_ErrorMessage(28, 1024), + ; + + /** + * Type_JoinGameMessage = 1; + */ + public static final int Type_JoinGameMessage_VALUE = 1; + /** + * Type_RejoinGameMessage = 2; + */ + public static final int Type_RejoinGameMessage_VALUE = 2; + /** + * Type_JoinGameAckMessage = 3; + */ + public static final int Type_JoinGameAckMessage_VALUE = 3; + /** + * Type_JoinGameFailedMessage = 4; + */ + public static final int Type_JoinGameFailedMessage_VALUE = 4; + /** + * Type_GamePlayerJoinedMessage = 5; + */ + public static final int Type_GamePlayerJoinedMessage_VALUE = 5; + /** + * Type_GamePlayerLeftMessage = 6; + */ + public static final int Type_GamePlayerLeftMessage_VALUE = 6; + /** + * Type_GameSpectatorJoinedMessage = 7; + */ + public static final int Type_GameSpectatorJoinedMessage_VALUE = 7; + /** + * Type_GameSpectatorLeftMessage = 8; + */ + public static final int Type_GameSpectatorLeftMessage_VALUE = 8; + /** + * Type_GameAdminChangedMessage = 9; + */ + public static final int Type_GameAdminChangedMessage_VALUE = 9; + /** + * Type_RemovedFromGameMessage = 10; + */ + public static final int Type_RemovedFromGameMessage_VALUE = 10; + /** + * Type_KickPlayerRequestMessage = 11; + */ + public static final int Type_KickPlayerRequestMessage_VALUE = 11; + /** + * Type_LeaveGameRequestMessage = 12; + */ + public static final int Type_LeaveGameRequestMessage_VALUE = 12; + /** + * Type_StartEventMessage = 13; + */ + public static final int Type_StartEventMessage_VALUE = 13; + /** + * Type_StartEventAckMessage = 14; + */ + public static final int Type_StartEventAckMessage_VALUE = 14; + /** + * Type_GameStartInitialMessage = 15; + */ + public static final int Type_GameStartInitialMessage_VALUE = 15; + /** + * Type_GameStartRejoinMessage = 16; + */ + public static final int Type_GameStartRejoinMessage_VALUE = 16; + /** + * Type_EndOfGameMessage = 17; + */ + public static final int Type_EndOfGameMessage_VALUE = 17; + /** + * Type_PlayerIdChangedMessage = 18; + */ + public static final int Type_PlayerIdChangedMessage_VALUE = 18; + /** + * Type_AskKickPlayerMessage = 19; + */ + public static final int Type_AskKickPlayerMessage_VALUE = 19; + /** + * Type_AskKickDeniedMessage = 20; + */ + public static final int Type_AskKickDeniedMessage_VALUE = 20; + /** + * Type_StartKickPetitionMessage = 21; + */ + public static final int Type_StartKickPetitionMessage_VALUE = 21; + /** + * Type_VoteKickRequestMessage = 22; + */ + public static final int Type_VoteKickRequestMessage_VALUE = 22; + /** + * Type_VoteKickReplyMessage = 23; + */ + public static final int Type_VoteKickReplyMessage_VALUE = 23; + /** + * Type_KickPetitionUpdateMessage = 24; + */ + public static final int Type_KickPetitionUpdateMessage_VALUE = 24; + /** + * Type_EndKickPetitionMessage = 25; + */ + public static final int Type_EndKickPetitionMessage_VALUE = 25; + /** + * Type_ChatRequestMessage = 26; + */ + public static final int Type_ChatRequestMessage_VALUE = 26; + /** + * Type_ChatMessage = 27; + */ + public static final int Type_ChatMessage_VALUE = 27; + /** + * Type_ChatRejectMessage = 28; + */ + public static final int Type_ChatRejectMessage_VALUE = 28; + /** + * Type_ErrorMessage = 1024; + */ + public static final int Type_ErrorMessage_VALUE = 1024; + + + public final int getNumber() { return value; } + + public static GameManagementMessageType valueOf(int value) { + switch (value) { + case 1: return Type_JoinGameMessage; + case 2: return Type_RejoinGameMessage; + case 3: return Type_JoinGameAckMessage; + case 4: return Type_JoinGameFailedMessage; + case 5: return Type_GamePlayerJoinedMessage; + case 6: return Type_GamePlayerLeftMessage; + case 7: return Type_GameSpectatorJoinedMessage; + case 8: return Type_GameSpectatorLeftMessage; + case 9: return Type_GameAdminChangedMessage; + case 10: return Type_RemovedFromGameMessage; + case 11: return Type_KickPlayerRequestMessage; + case 12: return Type_LeaveGameRequestMessage; + case 13: return Type_StartEventMessage; + case 14: return Type_StartEventAckMessage; + case 15: return Type_GameStartInitialMessage; + case 16: return Type_GameStartRejoinMessage; + case 17: return Type_EndOfGameMessage; + case 18: return Type_PlayerIdChangedMessage; + case 19: return Type_AskKickPlayerMessage; + case 20: return Type_AskKickDeniedMessage; + case 21: return Type_StartKickPetitionMessage; + case 22: return Type_VoteKickRequestMessage; + case 23: return Type_VoteKickReplyMessage; + case 24: return Type_KickPetitionUpdateMessage; + case 25: return Type_EndKickPetitionMessage; + case 26: return Type_ChatRequestMessage; + case 27: return Type_ChatMessage; + case 28: return Type_ChatRejectMessage; + case 1024: return Type_ErrorMessage; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public GameManagementMessageType findValueByNumber(int number) { + return GameManagementMessageType.valueOf(number); + } + }; + + private final int value; + + private GameManagementMessageType(int index, int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:GameManagementMessage.GameManagementMessageType) + } + + private int bitField0_; + // required .GameManagementMessage.GameManagementMessageType messageType = 1; + public static final int MESSAGETYPE_FIELD_NUMBER = 1; + private de.pokerth.protocol.ProtoBuf.GameManagementMessage.GameManagementMessageType messageType_; + /** + * required .GameManagementMessage.GameManagementMessageType messageType = 1; + */ + public boolean hasMessageType() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * required .GameManagementMessage.GameManagementMessageType messageType = 1; + */ + public de.pokerth.protocol.ProtoBuf.GameManagementMessage.GameManagementMessageType getMessageType() { + return messageType_; + } + + // optional .JoinGameMessage joinGameMessage = 2; + public static final int JOINGAMEMESSAGE_FIELD_NUMBER = 2; + private de.pokerth.protocol.ProtoBuf.JoinGameMessage joinGameMessage_; + /** + * optional .JoinGameMessage joinGameMessage = 2; + */ + public boolean hasJoinGameMessage() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * optional .JoinGameMessage joinGameMessage = 2; + */ + public de.pokerth.protocol.ProtoBuf.JoinGameMessage getJoinGameMessage() { + return joinGameMessage_; + } + + // optional .RejoinGameMessage rejoinGameMessage = 3; + public static final int REJOINGAMEMESSAGE_FIELD_NUMBER = 3; + private de.pokerth.protocol.ProtoBuf.RejoinGameMessage rejoinGameMessage_; + /** + * optional .RejoinGameMessage rejoinGameMessage = 3; + */ + public boolean hasRejoinGameMessage() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + /** + * optional .RejoinGameMessage rejoinGameMessage = 3; + */ + public de.pokerth.protocol.ProtoBuf.RejoinGameMessage getRejoinGameMessage() { + return rejoinGameMessage_; + } + + // optional .JoinGameAckMessage joinGameAckMessage = 4; + public static final int JOINGAMEACKMESSAGE_FIELD_NUMBER = 4; + private de.pokerth.protocol.ProtoBuf.JoinGameAckMessage joinGameAckMessage_; + /** + * optional .JoinGameAckMessage joinGameAckMessage = 4; + */ + public boolean hasJoinGameAckMessage() { + return ((bitField0_ & 0x00000008) == 0x00000008); + } + /** + * optional .JoinGameAckMessage joinGameAckMessage = 4; + */ + public de.pokerth.protocol.ProtoBuf.JoinGameAckMessage getJoinGameAckMessage() { + return joinGameAckMessage_; + } + + // optional .JoinGameFailedMessage joinGameFailedMessage = 5; + public static final int JOINGAMEFAILEDMESSAGE_FIELD_NUMBER = 5; + private de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage joinGameFailedMessage_; + /** + * optional .JoinGameFailedMessage joinGameFailedMessage = 5; + */ + public boolean hasJoinGameFailedMessage() { + return ((bitField0_ & 0x00000010) == 0x00000010); + } + /** + * optional .JoinGameFailedMessage joinGameFailedMessage = 5; + */ + public de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage getJoinGameFailedMessage() { + return joinGameFailedMessage_; + } + + // optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 6; + public static final int GAMEPLAYERJOINEDMESSAGE_FIELD_NUMBER = 6; + private de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage gamePlayerJoinedMessage_; + /** + * optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 6; + */ + public boolean hasGamePlayerJoinedMessage() { + return ((bitField0_ & 0x00000020) == 0x00000020); + } + /** + * optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 6; + */ + public de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage getGamePlayerJoinedMessage() { + return gamePlayerJoinedMessage_; + } + + // optional .GamePlayerLeftMessage gamePlayerLeftMessage = 7; + public static final int GAMEPLAYERLEFTMESSAGE_FIELD_NUMBER = 7; + private de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage gamePlayerLeftMessage_; + /** + * optional .GamePlayerLeftMessage gamePlayerLeftMessage = 7; + */ + public boolean hasGamePlayerLeftMessage() { + return ((bitField0_ & 0x00000040) == 0x00000040); + } + /** + * optional .GamePlayerLeftMessage gamePlayerLeftMessage = 7; + */ + public de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage getGamePlayerLeftMessage() { + return gamePlayerLeftMessage_; + } + + // optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 8; + public static final int GAMESPECTATORJOINEDMESSAGE_FIELD_NUMBER = 8; + private de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage gameSpectatorJoinedMessage_; + /** + * optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 8; + */ + public boolean hasGameSpectatorJoinedMessage() { + return ((bitField0_ & 0x00000080) == 0x00000080); + } + /** + * optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 8; + */ + public de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage getGameSpectatorJoinedMessage() { + return gameSpectatorJoinedMessage_; + } + + // optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 9; + public static final int GAMESPECTATORLEFTMESSAGE_FIELD_NUMBER = 9; + private de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage gameSpectatorLeftMessage_; + /** + * optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 9; + */ + public boolean hasGameSpectatorLeftMessage() { + return ((bitField0_ & 0x00000100) == 0x00000100); + } + /** + * optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 9; + */ + public de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage getGameSpectatorLeftMessage() { + return gameSpectatorLeftMessage_; + } + + // optional .GameAdminChangedMessage gameAdminChangedMessage = 10; + public static final int GAMEADMINCHANGEDMESSAGE_FIELD_NUMBER = 10; + private de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage gameAdminChangedMessage_; + /** + * optional .GameAdminChangedMessage gameAdminChangedMessage = 10; + */ + public boolean hasGameAdminChangedMessage() { + return ((bitField0_ & 0x00000200) == 0x00000200); + } + /** + * optional .GameAdminChangedMessage gameAdminChangedMessage = 10; + */ + public de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage getGameAdminChangedMessage() { + return gameAdminChangedMessage_; + } + + // optional .RemovedFromGameMessage removedFromGameMessage = 11; + public static final int REMOVEDFROMGAMEMESSAGE_FIELD_NUMBER = 11; + private de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage removedFromGameMessage_; + /** + * optional .RemovedFromGameMessage removedFromGameMessage = 11; + */ + public boolean hasRemovedFromGameMessage() { + return ((bitField0_ & 0x00000400) == 0x00000400); + } + /** + * optional .RemovedFromGameMessage removedFromGameMessage = 11; + */ + public de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage getRemovedFromGameMessage() { + return removedFromGameMessage_; + } + + // optional .KickPlayerRequestMessage kickPlayerRequestMessage = 12; + public static final int KICKPLAYERREQUESTMESSAGE_FIELD_NUMBER = 12; + private de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage kickPlayerRequestMessage_; + /** + * optional .KickPlayerRequestMessage kickPlayerRequestMessage = 12; + */ + public boolean hasKickPlayerRequestMessage() { + return ((bitField0_ & 0x00000800) == 0x00000800); + } + /** + * optional .KickPlayerRequestMessage kickPlayerRequestMessage = 12; + */ + public de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage getKickPlayerRequestMessage() { + return kickPlayerRequestMessage_; + } + + // optional .LeaveGameRequestMessage leaveGameRequestMessage = 13; + public static final int LEAVEGAMEREQUESTMESSAGE_FIELD_NUMBER = 13; + private de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage leaveGameRequestMessage_; + /** + * optional .LeaveGameRequestMessage leaveGameRequestMessage = 13; + */ + public boolean hasLeaveGameRequestMessage() { + return ((bitField0_ & 0x00001000) == 0x00001000); + } + /** + * optional .LeaveGameRequestMessage leaveGameRequestMessage = 13; + */ + public de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage getLeaveGameRequestMessage() { + return leaveGameRequestMessage_; + } + + // optional .StartEventMessage startEventMessage = 14; + public static final int STARTEVENTMESSAGE_FIELD_NUMBER = 14; + private de.pokerth.protocol.ProtoBuf.StartEventMessage startEventMessage_; + /** + * optional .StartEventMessage startEventMessage = 14; + */ + public boolean hasStartEventMessage() { + return ((bitField0_ & 0x00002000) == 0x00002000); + } + /** + * optional .StartEventMessage startEventMessage = 14; + */ + public de.pokerth.protocol.ProtoBuf.StartEventMessage getStartEventMessage() { + return startEventMessage_; + } + + // optional .StartEventAckMessage startEventAckMessage = 15; + public static final int STARTEVENTACKMESSAGE_FIELD_NUMBER = 15; + private de.pokerth.protocol.ProtoBuf.StartEventAckMessage startEventAckMessage_; + /** + * optional .StartEventAckMessage startEventAckMessage = 15; + */ + public boolean hasStartEventAckMessage() { + return ((bitField0_ & 0x00004000) == 0x00004000); + } + /** + * optional .StartEventAckMessage startEventAckMessage = 15; + */ + public de.pokerth.protocol.ProtoBuf.StartEventAckMessage getStartEventAckMessage() { + return startEventAckMessage_; + } + + // optional .GameStartInitialMessage gameStartInitialMessage = 16; + public static final int GAMESTARTINITIALMESSAGE_FIELD_NUMBER = 16; + private de.pokerth.protocol.ProtoBuf.GameStartInitialMessage gameStartInitialMessage_; + /** + * optional .GameStartInitialMessage gameStartInitialMessage = 16; + */ + public boolean hasGameStartInitialMessage() { + return ((bitField0_ & 0x00008000) == 0x00008000); + } + /** + * optional .GameStartInitialMessage gameStartInitialMessage = 16; + */ + public de.pokerth.protocol.ProtoBuf.GameStartInitialMessage getGameStartInitialMessage() { + return gameStartInitialMessage_; + } + + // optional .GameStartRejoinMessage gameStartRejoinMessage = 17; + public static final int GAMESTARTREJOINMESSAGE_FIELD_NUMBER = 17; + private de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage gameStartRejoinMessage_; + /** + * optional .GameStartRejoinMessage gameStartRejoinMessage = 17; + */ + public boolean hasGameStartRejoinMessage() { + return ((bitField0_ & 0x00010000) == 0x00010000); + } + /** + * optional .GameStartRejoinMessage gameStartRejoinMessage = 17; + */ + public de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage getGameStartRejoinMessage() { + return gameStartRejoinMessage_; + } + + // optional .EndOfGameMessage endOfGameMessage = 18; + public static final int ENDOFGAMEMESSAGE_FIELD_NUMBER = 18; + private de.pokerth.protocol.ProtoBuf.EndOfGameMessage endOfGameMessage_; + /** + * optional .EndOfGameMessage endOfGameMessage = 18; + */ + public boolean hasEndOfGameMessage() { + return ((bitField0_ & 0x00020000) == 0x00020000); + } + /** + * optional .EndOfGameMessage endOfGameMessage = 18; + */ + public de.pokerth.protocol.ProtoBuf.EndOfGameMessage getEndOfGameMessage() { + return endOfGameMessage_; + } + + // optional .PlayerIdChangedMessage playerIdChangedMessage = 19; + public static final int PLAYERIDCHANGEDMESSAGE_FIELD_NUMBER = 19; + private de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage playerIdChangedMessage_; + /** + * optional .PlayerIdChangedMessage playerIdChangedMessage = 19; + */ + public boolean hasPlayerIdChangedMessage() { + return ((bitField0_ & 0x00040000) == 0x00040000); + } + /** + * optional .PlayerIdChangedMessage playerIdChangedMessage = 19; + */ + public de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage getPlayerIdChangedMessage() { + return playerIdChangedMessage_; + } + + // optional .AskKickPlayerMessage askKickPlayerMessage = 20; + public static final int ASKKICKPLAYERMESSAGE_FIELD_NUMBER = 20; + private de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage askKickPlayerMessage_; + /** + * optional .AskKickPlayerMessage askKickPlayerMessage = 20; + */ + public boolean hasAskKickPlayerMessage() { + return ((bitField0_ & 0x00080000) == 0x00080000); + } + /** + * optional .AskKickPlayerMessage askKickPlayerMessage = 20; + */ + public de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage getAskKickPlayerMessage() { + return askKickPlayerMessage_; + } + + // optional .AskKickDeniedMessage askKickDeniedMessage = 21; + public static final int ASKKICKDENIEDMESSAGE_FIELD_NUMBER = 21; + private de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage askKickDeniedMessage_; + /** + * optional .AskKickDeniedMessage askKickDeniedMessage = 21; + */ + public boolean hasAskKickDeniedMessage() { + return ((bitField0_ & 0x00100000) == 0x00100000); + } + /** + * optional .AskKickDeniedMessage askKickDeniedMessage = 21; + */ + public de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage getAskKickDeniedMessage() { + return askKickDeniedMessage_; + } + + // optional .StartKickPetitionMessage startKickPetitionMessage = 22; + public static final int STARTKICKPETITIONMESSAGE_FIELD_NUMBER = 22; + private de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage startKickPetitionMessage_; + /** + * optional .StartKickPetitionMessage startKickPetitionMessage = 22; + */ + public boolean hasStartKickPetitionMessage() { + return ((bitField0_ & 0x00200000) == 0x00200000); + } + /** + * optional .StartKickPetitionMessage startKickPetitionMessage = 22; + */ + public de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage getStartKickPetitionMessage() { + return startKickPetitionMessage_; + } + + // optional .VoteKickRequestMessage voteKickRequestMessage = 23; + public static final int VOTEKICKREQUESTMESSAGE_FIELD_NUMBER = 23; + private de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage voteKickRequestMessage_; + /** + * optional .VoteKickRequestMessage voteKickRequestMessage = 23; + */ + public boolean hasVoteKickRequestMessage() { + return ((bitField0_ & 0x00400000) == 0x00400000); + } + /** + * optional .VoteKickRequestMessage voteKickRequestMessage = 23; + */ + public de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage getVoteKickRequestMessage() { + return voteKickRequestMessage_; + } + + // optional .VoteKickReplyMessage voteKickReplyMessage = 24; + public static final int VOTEKICKREPLYMESSAGE_FIELD_NUMBER = 24; + private de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage voteKickReplyMessage_; + /** + * optional .VoteKickReplyMessage voteKickReplyMessage = 24; + */ + public boolean hasVoteKickReplyMessage() { + return ((bitField0_ & 0x00800000) == 0x00800000); + } + /** + * optional .VoteKickReplyMessage voteKickReplyMessage = 24; + */ + public de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage getVoteKickReplyMessage() { + return voteKickReplyMessage_; + } + + // optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 25; + public static final int KICKPETITIONUPDATEMESSAGE_FIELD_NUMBER = 25; + private de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage kickPetitionUpdateMessage_; + /** + * optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 25; + */ + public boolean hasKickPetitionUpdateMessage() { + return ((bitField0_ & 0x01000000) == 0x01000000); + } + /** + * optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 25; + */ + public de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage getKickPetitionUpdateMessage() { + return kickPetitionUpdateMessage_; + } + + // optional .EndKickPetitionMessage endKickPetitionMessage = 26; + public static final int ENDKICKPETITIONMESSAGE_FIELD_NUMBER = 26; + private de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage endKickPetitionMessage_; + /** + * optional .EndKickPetitionMessage endKickPetitionMessage = 26; + */ + public boolean hasEndKickPetitionMessage() { + return ((bitField0_ & 0x02000000) == 0x02000000); + } + /** + * optional .EndKickPetitionMessage endKickPetitionMessage = 26; + */ + public de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage getEndKickPetitionMessage() { + return endKickPetitionMessage_; + } + + // optional .ChatRequestMessage chatRequestMessage = 27; + public static final int CHATREQUESTMESSAGE_FIELD_NUMBER = 27; + private de.pokerth.protocol.ProtoBuf.ChatRequestMessage chatRequestMessage_; + /** + * optional .ChatRequestMessage chatRequestMessage = 27; + */ + public boolean hasChatRequestMessage() { + return ((bitField0_ & 0x04000000) == 0x04000000); + } + /** + * optional .ChatRequestMessage chatRequestMessage = 27; + */ + public de.pokerth.protocol.ProtoBuf.ChatRequestMessage getChatRequestMessage() { + return chatRequestMessage_; + } + + // optional .ChatMessage chatMessage = 28; + public static final int CHATMESSAGE_FIELD_NUMBER = 28; + private de.pokerth.protocol.ProtoBuf.ChatMessage chatMessage_; + /** + * optional .ChatMessage chatMessage = 28; + */ + public boolean hasChatMessage() { + return ((bitField0_ & 0x08000000) == 0x08000000); + } + /** + * optional .ChatMessage chatMessage = 28; + */ + public de.pokerth.protocol.ProtoBuf.ChatMessage getChatMessage() { + return chatMessage_; + } + + // optional .ChatRejectMessage chatRejectMessage = 29; + public static final int CHATREJECTMESSAGE_FIELD_NUMBER = 29; + private de.pokerth.protocol.ProtoBuf.ChatRejectMessage chatRejectMessage_; + /** + * optional .ChatRejectMessage chatRejectMessage = 29; + */ + public boolean hasChatRejectMessage() { + return ((bitField0_ & 0x10000000) == 0x10000000); + } + /** + * optional .ChatRejectMessage chatRejectMessage = 29; + */ + public de.pokerth.protocol.ProtoBuf.ChatRejectMessage getChatRejectMessage() { + return chatRejectMessage_; + } + + // optional .ErrorMessage errorMessage = 1025; + public static final int ERRORMESSAGE_FIELD_NUMBER = 1025; + private de.pokerth.protocol.ProtoBuf.ErrorMessage errorMessage_; + /** + * optional .ErrorMessage errorMessage = 1025; + */ + public boolean hasErrorMessage() { + return ((bitField0_ & 0x20000000) == 0x20000000); + } + /** + * optional .ErrorMessage errorMessage = 1025; + */ + public de.pokerth.protocol.ProtoBuf.ErrorMessage getErrorMessage() { + return errorMessage_; + } + + private void initFields() { + messageType_ = de.pokerth.protocol.ProtoBuf.GameManagementMessage.GameManagementMessageType.Type_JoinGameMessage; + joinGameMessage_ = de.pokerth.protocol.ProtoBuf.JoinGameMessage.getDefaultInstance(); + rejoinGameMessage_ = de.pokerth.protocol.ProtoBuf.RejoinGameMessage.getDefaultInstance(); + joinGameAckMessage_ = de.pokerth.protocol.ProtoBuf.JoinGameAckMessage.getDefaultInstance(); + joinGameFailedMessage_ = de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.getDefaultInstance(); + gamePlayerJoinedMessage_ = de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage.getDefaultInstance(); + gamePlayerLeftMessage_ = de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.getDefaultInstance(); + gameSpectatorJoinedMessage_ = de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage.getDefaultInstance(); + gameSpectatorLeftMessage_ = de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage.getDefaultInstance(); + gameAdminChangedMessage_ = de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage.getDefaultInstance(); + removedFromGameMessage_ = de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.getDefaultInstance(); + kickPlayerRequestMessage_ = de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage.getDefaultInstance(); + leaveGameRequestMessage_ = de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage.getDefaultInstance(); + startEventMessage_ = de.pokerth.protocol.ProtoBuf.StartEventMessage.getDefaultInstance(); + startEventAckMessage_ = de.pokerth.protocol.ProtoBuf.StartEventAckMessage.getDefaultInstance(); + gameStartInitialMessage_ = de.pokerth.protocol.ProtoBuf.GameStartInitialMessage.getDefaultInstance(); + gameStartRejoinMessage_ = de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.getDefaultInstance(); + endOfGameMessage_ = de.pokerth.protocol.ProtoBuf.EndOfGameMessage.getDefaultInstance(); + playerIdChangedMessage_ = de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage.getDefaultInstance(); + askKickPlayerMessage_ = de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage.getDefaultInstance(); + askKickDeniedMessage_ = de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.getDefaultInstance(); + startKickPetitionMessage_ = de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage.getDefaultInstance(); + voteKickRequestMessage_ = de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage.getDefaultInstance(); + voteKickReplyMessage_ = de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.getDefaultInstance(); + kickPetitionUpdateMessage_ = de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage.getDefaultInstance(); + endKickPetitionMessage_ = de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.getDefaultInstance(); + chatRequestMessage_ = de.pokerth.protocol.ProtoBuf.ChatRequestMessage.getDefaultInstance(); + chatMessage_ = de.pokerth.protocol.ProtoBuf.ChatMessage.getDefaultInstance(); + chatRejectMessage_ = de.pokerth.protocol.ProtoBuf.ChatRejectMessage.getDefaultInstance(); + errorMessage_ = de.pokerth.protocol.ProtoBuf.ErrorMessage.getDefaultInstance(); + } + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized != -1) return isInitialized == 1; + + if (!hasMessageType()) { + memoizedIsInitialized = 0; + return false; + } + if (hasJoinGameAckMessage()) { + if (!getJoinGameAckMessage().isInitialized()) { + memoizedIsInitialized = 0; + return false; + } + } + if (hasJoinGameFailedMessage()) { + if (!getJoinGameFailedMessage().isInitialized()) { + memoizedIsInitialized = 0; + return false; + } + } + if (hasGamePlayerJoinedMessage()) { + if (!getGamePlayerJoinedMessage().isInitialized()) { + memoizedIsInitialized = 0; + return false; + } + } + if (hasGamePlayerLeftMessage()) { + if (!getGamePlayerLeftMessage().isInitialized()) { + memoizedIsInitialized = 0; + return false; + } + } + if (hasGameSpectatorJoinedMessage()) { + if (!getGameSpectatorJoinedMessage().isInitialized()) { + memoizedIsInitialized = 0; + return false; + } + } + if (hasGameSpectatorLeftMessage()) { + if (!getGameSpectatorLeftMessage().isInitialized()) { + memoizedIsInitialized = 0; + return false; + } + } + if (hasGameAdminChangedMessage()) { + if (!getGameAdminChangedMessage().isInitialized()) { + memoizedIsInitialized = 0; + return false; + } + } + if (hasRemovedFromGameMessage()) { + if (!getRemovedFromGameMessage().isInitialized()) { + memoizedIsInitialized = 0; + return false; + } + } + if (hasKickPlayerRequestMessage()) { + if (!getKickPlayerRequestMessage().isInitialized()) { + memoizedIsInitialized = 0; + return false; + } + } + if (hasStartEventMessage()) { + if (!getStartEventMessage().isInitialized()) { memoizedIsInitialized = 0; return false; } @@ -54150,6 +56565,3490 @@ public final class ProtoBuf { return false; } } + if (hasEndOfGameMessage()) { + if (!getEndOfGameMessage().isInitialized()) { + memoizedIsInitialized = 0; + return false; + } + } + if (hasPlayerIdChangedMessage()) { + if (!getPlayerIdChangedMessage().isInitialized()) { + memoizedIsInitialized = 0; + return false; + } + } + if (hasAskKickPlayerMessage()) { + if (!getAskKickPlayerMessage().isInitialized()) { + memoizedIsInitialized = 0; + return false; + } + } + if (hasAskKickDeniedMessage()) { + if (!getAskKickDeniedMessage().isInitialized()) { + memoizedIsInitialized = 0; + return false; + } + } + if (hasStartKickPetitionMessage()) { + if (!getStartKickPetitionMessage().isInitialized()) { + memoizedIsInitialized = 0; + return false; + } + } + if (hasVoteKickRequestMessage()) { + if (!getVoteKickRequestMessage().isInitialized()) { + memoizedIsInitialized = 0; + return false; + } + } + if (hasVoteKickReplyMessage()) { + if (!getVoteKickReplyMessage().isInitialized()) { + memoizedIsInitialized = 0; + return false; + } + } + if (hasKickPetitionUpdateMessage()) { + if (!getKickPetitionUpdateMessage().isInitialized()) { + memoizedIsInitialized = 0; + return false; + } + } + if (hasEndKickPetitionMessage()) { + if (!getEndKickPetitionMessage().isInitialized()) { + memoizedIsInitialized = 0; + return false; + } + } + if (hasChatRequestMessage()) { + if (!getChatRequestMessage().isInitialized()) { + memoizedIsInitialized = 0; + return false; + } + } + if (hasChatMessage()) { + if (!getChatMessage().isInitialized()) { + memoizedIsInitialized = 0; + return false; + } + } + if (hasChatRejectMessage()) { + if (!getChatRejectMessage().isInitialized()) { + memoizedIsInitialized = 0; + return false; + } + } + if (hasErrorMessage()) { + if (!getErrorMessage().isInitialized()) { + memoizedIsInitialized = 0; + return false; + } + } + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); + if (((bitField0_ & 0x00000001) == 0x00000001)) { + output.writeEnum(1, messageType_.getNumber()); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + output.writeMessage(2, joinGameMessage_); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + output.writeMessage(3, rejoinGameMessage_); + } + if (((bitField0_ & 0x00000008) == 0x00000008)) { + output.writeMessage(4, joinGameAckMessage_); + } + if (((bitField0_ & 0x00000010) == 0x00000010)) { + output.writeMessage(5, joinGameFailedMessage_); + } + if (((bitField0_ & 0x00000020) == 0x00000020)) { + output.writeMessage(6, gamePlayerJoinedMessage_); + } + if (((bitField0_ & 0x00000040) == 0x00000040)) { + output.writeMessage(7, gamePlayerLeftMessage_); + } + if (((bitField0_ & 0x00000080) == 0x00000080)) { + output.writeMessage(8, gameSpectatorJoinedMessage_); + } + if (((bitField0_ & 0x00000100) == 0x00000100)) { + output.writeMessage(9, gameSpectatorLeftMessage_); + } + if (((bitField0_ & 0x00000200) == 0x00000200)) { + output.writeMessage(10, gameAdminChangedMessage_); + } + if (((bitField0_ & 0x00000400) == 0x00000400)) { + output.writeMessage(11, removedFromGameMessage_); + } + if (((bitField0_ & 0x00000800) == 0x00000800)) { + output.writeMessage(12, kickPlayerRequestMessage_); + } + if (((bitField0_ & 0x00001000) == 0x00001000)) { + output.writeMessage(13, leaveGameRequestMessage_); + } + if (((bitField0_ & 0x00002000) == 0x00002000)) { + output.writeMessage(14, startEventMessage_); + } + if (((bitField0_ & 0x00004000) == 0x00004000)) { + output.writeMessage(15, startEventAckMessage_); + } + if (((bitField0_ & 0x00008000) == 0x00008000)) { + output.writeMessage(16, gameStartInitialMessage_); + } + if (((bitField0_ & 0x00010000) == 0x00010000)) { + output.writeMessage(17, gameStartRejoinMessage_); + } + if (((bitField0_ & 0x00020000) == 0x00020000)) { + output.writeMessage(18, endOfGameMessage_); + } + if (((bitField0_ & 0x00040000) == 0x00040000)) { + output.writeMessage(19, playerIdChangedMessage_); + } + if (((bitField0_ & 0x00080000) == 0x00080000)) { + output.writeMessage(20, askKickPlayerMessage_); + } + if (((bitField0_ & 0x00100000) == 0x00100000)) { + output.writeMessage(21, askKickDeniedMessage_); + } + if (((bitField0_ & 0x00200000) == 0x00200000)) { + output.writeMessage(22, startKickPetitionMessage_); + } + if (((bitField0_ & 0x00400000) == 0x00400000)) { + output.writeMessage(23, voteKickRequestMessage_); + } + if (((bitField0_ & 0x00800000) == 0x00800000)) { + output.writeMessage(24, voteKickReplyMessage_); + } + if (((bitField0_ & 0x01000000) == 0x01000000)) { + output.writeMessage(25, kickPetitionUpdateMessage_); + } + if (((bitField0_ & 0x02000000) == 0x02000000)) { + output.writeMessage(26, endKickPetitionMessage_); + } + if (((bitField0_ & 0x04000000) == 0x04000000)) { + output.writeMessage(27, chatRequestMessage_); + } + if (((bitField0_ & 0x08000000) == 0x08000000)) { + output.writeMessage(28, chatMessage_); + } + if (((bitField0_ & 0x10000000) == 0x10000000)) { + output.writeMessage(29, chatRejectMessage_); + } + if (((bitField0_ & 0x20000000) == 0x20000000)) { + output.writeMessage(1025, errorMessage_); + } + } + + private int memoizedSerializedSize = -1; + public int getSerializedSize() { + int size = memoizedSerializedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) == 0x00000001)) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, messageType_.getNumber()); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, joinGameMessage_); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, rejoinGameMessage_); + } + if (((bitField0_ & 0x00000008) == 0x00000008)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, joinGameAckMessage_); + } + if (((bitField0_ & 0x00000010) == 0x00000010)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, joinGameFailedMessage_); + } + if (((bitField0_ & 0x00000020) == 0x00000020)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, gamePlayerJoinedMessage_); + } + if (((bitField0_ & 0x00000040) == 0x00000040)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, gamePlayerLeftMessage_); + } + if (((bitField0_ & 0x00000080) == 0x00000080)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, gameSpectatorJoinedMessage_); + } + if (((bitField0_ & 0x00000100) == 0x00000100)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, gameSpectatorLeftMessage_); + } + if (((bitField0_ & 0x00000200) == 0x00000200)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, gameAdminChangedMessage_); + } + if (((bitField0_ & 0x00000400) == 0x00000400)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, removedFromGameMessage_); + } + if (((bitField0_ & 0x00000800) == 0x00000800)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, kickPlayerRequestMessage_); + } + if (((bitField0_ & 0x00001000) == 0x00001000)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(13, leaveGameRequestMessage_); + } + if (((bitField0_ & 0x00002000) == 0x00002000)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(14, startEventMessage_); + } + if (((bitField0_ & 0x00004000) == 0x00004000)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(15, startEventAckMessage_); + } + if (((bitField0_ & 0x00008000) == 0x00008000)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(16, gameStartInitialMessage_); + } + if (((bitField0_ & 0x00010000) == 0x00010000)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(17, gameStartRejoinMessage_); + } + if (((bitField0_ & 0x00020000) == 0x00020000)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(18, endOfGameMessage_); + } + if (((bitField0_ & 0x00040000) == 0x00040000)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(19, playerIdChangedMessage_); + } + if (((bitField0_ & 0x00080000) == 0x00080000)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(20, askKickPlayerMessage_); + } + if (((bitField0_ & 0x00100000) == 0x00100000)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(21, askKickDeniedMessage_); + } + if (((bitField0_ & 0x00200000) == 0x00200000)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(22, startKickPetitionMessage_); + } + if (((bitField0_ & 0x00400000) == 0x00400000)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(23, voteKickRequestMessage_); + } + if (((bitField0_ & 0x00800000) == 0x00800000)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(24, voteKickReplyMessage_); + } + if (((bitField0_ & 0x01000000) == 0x01000000)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(25, kickPetitionUpdateMessage_); + } + if (((bitField0_ & 0x02000000) == 0x02000000)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(26, endKickPetitionMessage_); + } + if (((bitField0_ & 0x04000000) == 0x04000000)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(27, chatRequestMessage_); + } + if (((bitField0_ & 0x08000000) == 0x08000000)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(28, chatMessage_); + } + if (((bitField0_ & 0x10000000) == 0x10000000)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(29, chatRejectMessage_); + } + if (((bitField0_ & 0x20000000) == 0x20000000)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1025, errorMessage_); + } + memoizedSerializedSize = size; + return size; + } + + private static final long serialVersionUID = 0L; + @java.lang.Override + protected java.lang.Object writeReplace() + throws java.io.ObjectStreamException { + return super.writeReplace(); + } + + public static de.pokerth.protocol.ProtoBuf.GameManagementMessage parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.GameManagementMessage parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.GameManagementMessage parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.GameManagementMessage parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.GameManagementMessage parseFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.GameManagementMessage parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.GameManagementMessage parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.GameManagementMessage parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.GameManagementMessage parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.GameManagementMessage parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + + public static Builder newBuilder() { return Builder.create(); } + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.GameManagementMessage prototype) { + return newBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { return newBuilder(this); } + + /** + * Protobuf type {@code GameManagementMessage} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageLite.Builder< + de.pokerth.protocol.ProtoBuf.GameManagementMessage, Builder> + implements de.pokerth.protocol.ProtoBuf.GameManagementMessageOrBuilder { + // Construct using de.pokerth.protocol.ProtoBuf.GameManagementMessage.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + } + private static Builder create() { + return new Builder(); + } + + public Builder clear() { + super.clear(); + messageType_ = de.pokerth.protocol.ProtoBuf.GameManagementMessage.GameManagementMessageType.Type_JoinGameMessage; + bitField0_ = (bitField0_ & ~0x00000001); + joinGameMessage_ = de.pokerth.protocol.ProtoBuf.JoinGameMessage.getDefaultInstance(); + bitField0_ = (bitField0_ & ~0x00000002); + rejoinGameMessage_ = de.pokerth.protocol.ProtoBuf.RejoinGameMessage.getDefaultInstance(); + bitField0_ = (bitField0_ & ~0x00000004); + joinGameAckMessage_ = de.pokerth.protocol.ProtoBuf.JoinGameAckMessage.getDefaultInstance(); + bitField0_ = (bitField0_ & ~0x00000008); + joinGameFailedMessage_ = de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.getDefaultInstance(); + bitField0_ = (bitField0_ & ~0x00000010); + gamePlayerJoinedMessage_ = de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage.getDefaultInstance(); + bitField0_ = (bitField0_ & ~0x00000020); + gamePlayerLeftMessage_ = de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.getDefaultInstance(); + bitField0_ = (bitField0_ & ~0x00000040); + gameSpectatorJoinedMessage_ = de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage.getDefaultInstance(); + bitField0_ = (bitField0_ & ~0x00000080); + gameSpectatorLeftMessage_ = de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage.getDefaultInstance(); + bitField0_ = (bitField0_ & ~0x00000100); + gameAdminChangedMessage_ = de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage.getDefaultInstance(); + bitField0_ = (bitField0_ & ~0x00000200); + removedFromGameMessage_ = de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.getDefaultInstance(); + bitField0_ = (bitField0_ & ~0x00000400); + kickPlayerRequestMessage_ = de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage.getDefaultInstance(); + bitField0_ = (bitField0_ & ~0x00000800); + leaveGameRequestMessage_ = de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage.getDefaultInstance(); + bitField0_ = (bitField0_ & ~0x00001000); + startEventMessage_ = de.pokerth.protocol.ProtoBuf.StartEventMessage.getDefaultInstance(); + bitField0_ = (bitField0_ & ~0x00002000); + startEventAckMessage_ = de.pokerth.protocol.ProtoBuf.StartEventAckMessage.getDefaultInstance(); + bitField0_ = (bitField0_ & ~0x00004000); + gameStartInitialMessage_ = de.pokerth.protocol.ProtoBuf.GameStartInitialMessage.getDefaultInstance(); + bitField0_ = (bitField0_ & ~0x00008000); + gameStartRejoinMessage_ = de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.getDefaultInstance(); + bitField0_ = (bitField0_ & ~0x00010000); + endOfGameMessage_ = de.pokerth.protocol.ProtoBuf.EndOfGameMessage.getDefaultInstance(); + bitField0_ = (bitField0_ & ~0x00020000); + playerIdChangedMessage_ = de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage.getDefaultInstance(); + bitField0_ = (bitField0_ & ~0x00040000); + askKickPlayerMessage_ = de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage.getDefaultInstance(); + bitField0_ = (bitField0_ & ~0x00080000); + askKickDeniedMessage_ = de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.getDefaultInstance(); + bitField0_ = (bitField0_ & ~0x00100000); + startKickPetitionMessage_ = de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage.getDefaultInstance(); + bitField0_ = (bitField0_ & ~0x00200000); + voteKickRequestMessage_ = de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage.getDefaultInstance(); + bitField0_ = (bitField0_ & ~0x00400000); + voteKickReplyMessage_ = de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.getDefaultInstance(); + bitField0_ = (bitField0_ & ~0x00800000); + kickPetitionUpdateMessage_ = de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage.getDefaultInstance(); + bitField0_ = (bitField0_ & ~0x01000000); + endKickPetitionMessage_ = de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.getDefaultInstance(); + bitField0_ = (bitField0_ & ~0x02000000); + chatRequestMessage_ = de.pokerth.protocol.ProtoBuf.ChatRequestMessage.getDefaultInstance(); + bitField0_ = (bitField0_ & ~0x04000000); + chatMessage_ = de.pokerth.protocol.ProtoBuf.ChatMessage.getDefaultInstance(); + bitField0_ = (bitField0_ & ~0x08000000); + chatRejectMessage_ = de.pokerth.protocol.ProtoBuf.ChatRejectMessage.getDefaultInstance(); + bitField0_ = (bitField0_ & ~0x10000000); + errorMessage_ = de.pokerth.protocol.ProtoBuf.ErrorMessage.getDefaultInstance(); + bitField0_ = (bitField0_ & ~0x20000000); + return this; + } + + public Builder clone() { + return create().mergeFrom(buildPartial()); + } + + public de.pokerth.protocol.ProtoBuf.GameManagementMessage getDefaultInstanceForType() { + return de.pokerth.protocol.ProtoBuf.GameManagementMessage.getDefaultInstance(); + } + + public de.pokerth.protocol.ProtoBuf.GameManagementMessage build() { + de.pokerth.protocol.ProtoBuf.GameManagementMessage result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public de.pokerth.protocol.ProtoBuf.GameManagementMessage buildPartial() { + de.pokerth.protocol.ProtoBuf.GameManagementMessage result = new de.pokerth.protocol.ProtoBuf.GameManagementMessage(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + to_bitField0_ |= 0x00000001; + } + result.messageType_ = messageType_; + if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + to_bitField0_ |= 0x00000002; + } + result.joinGameMessage_ = joinGameMessage_; + if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + to_bitField0_ |= 0x00000004; + } + result.rejoinGameMessage_ = rejoinGameMessage_; + if (((from_bitField0_ & 0x00000008) == 0x00000008)) { + to_bitField0_ |= 0x00000008; + } + result.joinGameAckMessage_ = joinGameAckMessage_; + if (((from_bitField0_ & 0x00000010) == 0x00000010)) { + to_bitField0_ |= 0x00000010; + } + result.joinGameFailedMessage_ = joinGameFailedMessage_; + if (((from_bitField0_ & 0x00000020) == 0x00000020)) { + to_bitField0_ |= 0x00000020; + } + result.gamePlayerJoinedMessage_ = gamePlayerJoinedMessage_; + if (((from_bitField0_ & 0x00000040) == 0x00000040)) { + to_bitField0_ |= 0x00000040; + } + result.gamePlayerLeftMessage_ = gamePlayerLeftMessage_; + if (((from_bitField0_ & 0x00000080) == 0x00000080)) { + to_bitField0_ |= 0x00000080; + } + result.gameSpectatorJoinedMessage_ = gameSpectatorJoinedMessage_; + if (((from_bitField0_ & 0x00000100) == 0x00000100)) { + to_bitField0_ |= 0x00000100; + } + result.gameSpectatorLeftMessage_ = gameSpectatorLeftMessage_; + if (((from_bitField0_ & 0x00000200) == 0x00000200)) { + to_bitField0_ |= 0x00000200; + } + result.gameAdminChangedMessage_ = gameAdminChangedMessage_; + if (((from_bitField0_ & 0x00000400) == 0x00000400)) { + to_bitField0_ |= 0x00000400; + } + result.removedFromGameMessage_ = removedFromGameMessage_; + if (((from_bitField0_ & 0x00000800) == 0x00000800)) { + to_bitField0_ |= 0x00000800; + } + result.kickPlayerRequestMessage_ = kickPlayerRequestMessage_; + if (((from_bitField0_ & 0x00001000) == 0x00001000)) { + to_bitField0_ |= 0x00001000; + } + result.leaveGameRequestMessage_ = leaveGameRequestMessage_; + if (((from_bitField0_ & 0x00002000) == 0x00002000)) { + to_bitField0_ |= 0x00002000; + } + result.startEventMessage_ = startEventMessage_; + if (((from_bitField0_ & 0x00004000) == 0x00004000)) { + to_bitField0_ |= 0x00004000; + } + result.startEventAckMessage_ = startEventAckMessage_; + if (((from_bitField0_ & 0x00008000) == 0x00008000)) { + to_bitField0_ |= 0x00008000; + } + result.gameStartInitialMessage_ = gameStartInitialMessage_; + if (((from_bitField0_ & 0x00010000) == 0x00010000)) { + to_bitField0_ |= 0x00010000; + } + result.gameStartRejoinMessage_ = gameStartRejoinMessage_; + if (((from_bitField0_ & 0x00020000) == 0x00020000)) { + to_bitField0_ |= 0x00020000; + } + result.endOfGameMessage_ = endOfGameMessage_; + if (((from_bitField0_ & 0x00040000) == 0x00040000)) { + to_bitField0_ |= 0x00040000; + } + result.playerIdChangedMessage_ = playerIdChangedMessage_; + if (((from_bitField0_ & 0x00080000) == 0x00080000)) { + to_bitField0_ |= 0x00080000; + } + result.askKickPlayerMessage_ = askKickPlayerMessage_; + if (((from_bitField0_ & 0x00100000) == 0x00100000)) { + to_bitField0_ |= 0x00100000; + } + result.askKickDeniedMessage_ = askKickDeniedMessage_; + if (((from_bitField0_ & 0x00200000) == 0x00200000)) { + to_bitField0_ |= 0x00200000; + } + result.startKickPetitionMessage_ = startKickPetitionMessage_; + if (((from_bitField0_ & 0x00400000) == 0x00400000)) { + to_bitField0_ |= 0x00400000; + } + result.voteKickRequestMessage_ = voteKickRequestMessage_; + if (((from_bitField0_ & 0x00800000) == 0x00800000)) { + to_bitField0_ |= 0x00800000; + } + result.voteKickReplyMessage_ = voteKickReplyMessage_; + if (((from_bitField0_ & 0x01000000) == 0x01000000)) { + to_bitField0_ |= 0x01000000; + } + result.kickPetitionUpdateMessage_ = kickPetitionUpdateMessage_; + if (((from_bitField0_ & 0x02000000) == 0x02000000)) { + to_bitField0_ |= 0x02000000; + } + result.endKickPetitionMessage_ = endKickPetitionMessage_; + if (((from_bitField0_ & 0x04000000) == 0x04000000)) { + to_bitField0_ |= 0x04000000; + } + result.chatRequestMessage_ = chatRequestMessage_; + if (((from_bitField0_ & 0x08000000) == 0x08000000)) { + to_bitField0_ |= 0x08000000; + } + result.chatMessage_ = chatMessage_; + if (((from_bitField0_ & 0x10000000) == 0x10000000)) { + to_bitField0_ |= 0x10000000; + } + result.chatRejectMessage_ = chatRejectMessage_; + if (((from_bitField0_ & 0x20000000) == 0x20000000)) { + to_bitField0_ |= 0x20000000; + } + result.errorMessage_ = errorMessage_; + result.bitField0_ = to_bitField0_; + return result; + } + + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.GameManagementMessage other) { + if (other == de.pokerth.protocol.ProtoBuf.GameManagementMessage.getDefaultInstance()) return this; + if (other.hasMessageType()) { + setMessageType(other.getMessageType()); + } + if (other.hasJoinGameMessage()) { + mergeJoinGameMessage(other.getJoinGameMessage()); + } + if (other.hasRejoinGameMessage()) { + mergeRejoinGameMessage(other.getRejoinGameMessage()); + } + if (other.hasJoinGameAckMessage()) { + mergeJoinGameAckMessage(other.getJoinGameAckMessage()); + } + if (other.hasJoinGameFailedMessage()) { + mergeJoinGameFailedMessage(other.getJoinGameFailedMessage()); + } + if (other.hasGamePlayerJoinedMessage()) { + mergeGamePlayerJoinedMessage(other.getGamePlayerJoinedMessage()); + } + if (other.hasGamePlayerLeftMessage()) { + mergeGamePlayerLeftMessage(other.getGamePlayerLeftMessage()); + } + if (other.hasGameSpectatorJoinedMessage()) { + mergeGameSpectatorJoinedMessage(other.getGameSpectatorJoinedMessage()); + } + if (other.hasGameSpectatorLeftMessage()) { + mergeGameSpectatorLeftMessage(other.getGameSpectatorLeftMessage()); + } + if (other.hasGameAdminChangedMessage()) { + mergeGameAdminChangedMessage(other.getGameAdminChangedMessage()); + } + if (other.hasRemovedFromGameMessage()) { + mergeRemovedFromGameMessage(other.getRemovedFromGameMessage()); + } + if (other.hasKickPlayerRequestMessage()) { + mergeKickPlayerRequestMessage(other.getKickPlayerRequestMessage()); + } + if (other.hasLeaveGameRequestMessage()) { + mergeLeaveGameRequestMessage(other.getLeaveGameRequestMessage()); + } + if (other.hasStartEventMessage()) { + mergeStartEventMessage(other.getStartEventMessage()); + } + if (other.hasStartEventAckMessage()) { + mergeStartEventAckMessage(other.getStartEventAckMessage()); + } + if (other.hasGameStartInitialMessage()) { + mergeGameStartInitialMessage(other.getGameStartInitialMessage()); + } + if (other.hasGameStartRejoinMessage()) { + mergeGameStartRejoinMessage(other.getGameStartRejoinMessage()); + } + if (other.hasEndOfGameMessage()) { + mergeEndOfGameMessage(other.getEndOfGameMessage()); + } + if (other.hasPlayerIdChangedMessage()) { + mergePlayerIdChangedMessage(other.getPlayerIdChangedMessage()); + } + if (other.hasAskKickPlayerMessage()) { + mergeAskKickPlayerMessage(other.getAskKickPlayerMessage()); + } + if (other.hasAskKickDeniedMessage()) { + mergeAskKickDeniedMessage(other.getAskKickDeniedMessage()); + } + if (other.hasStartKickPetitionMessage()) { + mergeStartKickPetitionMessage(other.getStartKickPetitionMessage()); + } + if (other.hasVoteKickRequestMessage()) { + mergeVoteKickRequestMessage(other.getVoteKickRequestMessage()); + } + if (other.hasVoteKickReplyMessage()) { + mergeVoteKickReplyMessage(other.getVoteKickReplyMessage()); + } + if (other.hasKickPetitionUpdateMessage()) { + mergeKickPetitionUpdateMessage(other.getKickPetitionUpdateMessage()); + } + if (other.hasEndKickPetitionMessage()) { + mergeEndKickPetitionMessage(other.getEndKickPetitionMessage()); + } + if (other.hasChatRequestMessage()) { + mergeChatRequestMessage(other.getChatRequestMessage()); + } + if (other.hasChatMessage()) { + mergeChatMessage(other.getChatMessage()); + } + if (other.hasChatRejectMessage()) { + mergeChatRejectMessage(other.getChatRejectMessage()); + } + if (other.hasErrorMessage()) { + mergeErrorMessage(other.getErrorMessage()); + } + return this; + } + + public final boolean isInitialized() { + if (!hasMessageType()) { + + return false; + } + if (hasJoinGameAckMessage()) { + if (!getJoinGameAckMessage().isInitialized()) { + + return false; + } + } + if (hasJoinGameFailedMessage()) { + if (!getJoinGameFailedMessage().isInitialized()) { + + return false; + } + } + if (hasGamePlayerJoinedMessage()) { + if (!getGamePlayerJoinedMessage().isInitialized()) { + + return false; + } + } + if (hasGamePlayerLeftMessage()) { + if (!getGamePlayerLeftMessage().isInitialized()) { + + return false; + } + } + if (hasGameSpectatorJoinedMessage()) { + if (!getGameSpectatorJoinedMessage().isInitialized()) { + + return false; + } + } + if (hasGameSpectatorLeftMessage()) { + if (!getGameSpectatorLeftMessage().isInitialized()) { + + return false; + } + } + if (hasGameAdminChangedMessage()) { + if (!getGameAdminChangedMessage().isInitialized()) { + + return false; + } + } + if (hasRemovedFromGameMessage()) { + if (!getRemovedFromGameMessage().isInitialized()) { + + return false; + } + } + if (hasKickPlayerRequestMessage()) { + if (!getKickPlayerRequestMessage().isInitialized()) { + + return false; + } + } + if (hasStartEventMessage()) { + if (!getStartEventMessage().isInitialized()) { + + return false; + } + } + if (hasGameStartInitialMessage()) { + if (!getGameStartInitialMessage().isInitialized()) { + + return false; + } + } + if (hasGameStartRejoinMessage()) { + if (!getGameStartRejoinMessage().isInitialized()) { + + return false; + } + } + if (hasEndOfGameMessage()) { + if (!getEndOfGameMessage().isInitialized()) { + + return false; + } + } + if (hasPlayerIdChangedMessage()) { + if (!getPlayerIdChangedMessage().isInitialized()) { + + return false; + } + } + if (hasAskKickPlayerMessage()) { + if (!getAskKickPlayerMessage().isInitialized()) { + + return false; + } + } + if (hasAskKickDeniedMessage()) { + if (!getAskKickDeniedMessage().isInitialized()) { + + return false; + } + } + if (hasStartKickPetitionMessage()) { + if (!getStartKickPetitionMessage().isInitialized()) { + + return false; + } + } + if (hasVoteKickRequestMessage()) { + if (!getVoteKickRequestMessage().isInitialized()) { + + return false; + } + } + if (hasVoteKickReplyMessage()) { + if (!getVoteKickReplyMessage().isInitialized()) { + + return false; + } + } + if (hasKickPetitionUpdateMessage()) { + if (!getKickPetitionUpdateMessage().isInitialized()) { + + return false; + } + } + if (hasEndKickPetitionMessage()) { + if (!getEndKickPetitionMessage().isInitialized()) { + + return false; + } + } + if (hasChatRequestMessage()) { + if (!getChatRequestMessage().isInitialized()) { + + return false; + } + } + if (hasChatMessage()) { + if (!getChatMessage().isInitialized()) { + + return false; + } + } + if (hasChatRejectMessage()) { + if (!getChatRejectMessage().isInitialized()) { + + return false; + } + } + if (hasErrorMessage()) { + if (!getErrorMessage().isInitialized()) { + + return false; + } + } + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + de.pokerth.protocol.ProtoBuf.GameManagementMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.GameManagementMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + // required .GameManagementMessage.GameManagementMessageType messageType = 1; + private de.pokerth.protocol.ProtoBuf.GameManagementMessage.GameManagementMessageType messageType_ = de.pokerth.protocol.ProtoBuf.GameManagementMessage.GameManagementMessageType.Type_JoinGameMessage; + /** + * required .GameManagementMessage.GameManagementMessageType messageType = 1; + */ + public boolean hasMessageType() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * required .GameManagementMessage.GameManagementMessageType messageType = 1; + */ + public de.pokerth.protocol.ProtoBuf.GameManagementMessage.GameManagementMessageType getMessageType() { + return messageType_; + } + /** + * required .GameManagementMessage.GameManagementMessageType messageType = 1; + */ + public Builder setMessageType(de.pokerth.protocol.ProtoBuf.GameManagementMessage.GameManagementMessageType value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + messageType_ = value; + + return this; + } + /** + * required .GameManagementMessage.GameManagementMessageType messageType = 1; + */ + public Builder clearMessageType() { + bitField0_ = (bitField0_ & ~0x00000001); + messageType_ = de.pokerth.protocol.ProtoBuf.GameManagementMessage.GameManagementMessageType.Type_JoinGameMessage; + + return this; + } + + // optional .JoinGameMessage joinGameMessage = 2; + private de.pokerth.protocol.ProtoBuf.JoinGameMessage joinGameMessage_ = de.pokerth.protocol.ProtoBuf.JoinGameMessage.getDefaultInstance(); + /** + * optional .JoinGameMessage joinGameMessage = 2; + */ + public boolean hasJoinGameMessage() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * optional .JoinGameMessage joinGameMessage = 2; + */ + public de.pokerth.protocol.ProtoBuf.JoinGameMessage getJoinGameMessage() { + return joinGameMessage_; + } + /** + * optional .JoinGameMessage joinGameMessage = 2; + */ + public Builder setJoinGameMessage(de.pokerth.protocol.ProtoBuf.JoinGameMessage value) { + if (value == null) { + throw new NullPointerException(); + } + joinGameMessage_ = value; + + bitField0_ |= 0x00000002; + return this; + } + /** + * optional .JoinGameMessage joinGameMessage = 2; + */ + public Builder setJoinGameMessage( + de.pokerth.protocol.ProtoBuf.JoinGameMessage.Builder builderForValue) { + joinGameMessage_ = builderForValue.build(); + + bitField0_ |= 0x00000002; + return this; + } + /** + * optional .JoinGameMessage joinGameMessage = 2; + */ + public Builder mergeJoinGameMessage(de.pokerth.protocol.ProtoBuf.JoinGameMessage value) { + if (((bitField0_ & 0x00000002) == 0x00000002) && + joinGameMessage_ != de.pokerth.protocol.ProtoBuf.JoinGameMessage.getDefaultInstance()) { + joinGameMessage_ = + de.pokerth.protocol.ProtoBuf.JoinGameMessage.newBuilder(joinGameMessage_).mergeFrom(value).buildPartial(); + } else { + joinGameMessage_ = value; + } + + bitField0_ |= 0x00000002; + return this; + } + /** + * optional .JoinGameMessage joinGameMessage = 2; + */ + public Builder clearJoinGameMessage() { + joinGameMessage_ = de.pokerth.protocol.ProtoBuf.JoinGameMessage.getDefaultInstance(); + + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + + // optional .RejoinGameMessage rejoinGameMessage = 3; + private de.pokerth.protocol.ProtoBuf.RejoinGameMessage rejoinGameMessage_ = de.pokerth.protocol.ProtoBuf.RejoinGameMessage.getDefaultInstance(); + /** + * optional .RejoinGameMessage rejoinGameMessage = 3; + */ + public boolean hasRejoinGameMessage() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + /** + * optional .RejoinGameMessage rejoinGameMessage = 3; + */ + public de.pokerth.protocol.ProtoBuf.RejoinGameMessage getRejoinGameMessage() { + return rejoinGameMessage_; + } + /** + * optional .RejoinGameMessage rejoinGameMessage = 3; + */ + public Builder setRejoinGameMessage(de.pokerth.protocol.ProtoBuf.RejoinGameMessage value) { + if (value == null) { + throw new NullPointerException(); + } + rejoinGameMessage_ = value; + + bitField0_ |= 0x00000004; + return this; + } + /** + * optional .RejoinGameMessage rejoinGameMessage = 3; + */ + public Builder setRejoinGameMessage( + de.pokerth.protocol.ProtoBuf.RejoinGameMessage.Builder builderForValue) { + rejoinGameMessage_ = builderForValue.build(); + + bitField0_ |= 0x00000004; + return this; + } + /** + * optional .RejoinGameMessage rejoinGameMessage = 3; + */ + public Builder mergeRejoinGameMessage(de.pokerth.protocol.ProtoBuf.RejoinGameMessage value) { + if (((bitField0_ & 0x00000004) == 0x00000004) && + rejoinGameMessage_ != de.pokerth.protocol.ProtoBuf.RejoinGameMessage.getDefaultInstance()) { + rejoinGameMessage_ = + de.pokerth.protocol.ProtoBuf.RejoinGameMessage.newBuilder(rejoinGameMessage_).mergeFrom(value).buildPartial(); + } else { + rejoinGameMessage_ = value; + } + + bitField0_ |= 0x00000004; + return this; + } + /** + * optional .RejoinGameMessage rejoinGameMessage = 3; + */ + public Builder clearRejoinGameMessage() { + rejoinGameMessage_ = de.pokerth.protocol.ProtoBuf.RejoinGameMessage.getDefaultInstance(); + + bitField0_ = (bitField0_ & ~0x00000004); + return this; + } + + // optional .JoinGameAckMessage joinGameAckMessage = 4; + private de.pokerth.protocol.ProtoBuf.JoinGameAckMessage joinGameAckMessage_ = de.pokerth.protocol.ProtoBuf.JoinGameAckMessage.getDefaultInstance(); + /** + * optional .JoinGameAckMessage joinGameAckMessage = 4; + */ + public boolean hasJoinGameAckMessage() { + return ((bitField0_ & 0x00000008) == 0x00000008); + } + /** + * optional .JoinGameAckMessage joinGameAckMessage = 4; + */ + public de.pokerth.protocol.ProtoBuf.JoinGameAckMessage getJoinGameAckMessage() { + return joinGameAckMessage_; + } + /** + * optional .JoinGameAckMessage joinGameAckMessage = 4; + */ + public Builder setJoinGameAckMessage(de.pokerth.protocol.ProtoBuf.JoinGameAckMessage value) { + if (value == null) { + throw new NullPointerException(); + } + joinGameAckMessage_ = value; + + bitField0_ |= 0x00000008; + return this; + } + /** + * optional .JoinGameAckMessage joinGameAckMessage = 4; + */ + public Builder setJoinGameAckMessage( + de.pokerth.protocol.ProtoBuf.JoinGameAckMessage.Builder builderForValue) { + joinGameAckMessage_ = builderForValue.build(); + + bitField0_ |= 0x00000008; + return this; + } + /** + * optional .JoinGameAckMessage joinGameAckMessage = 4; + */ + public Builder mergeJoinGameAckMessage(de.pokerth.protocol.ProtoBuf.JoinGameAckMessage value) { + if (((bitField0_ & 0x00000008) == 0x00000008) && + joinGameAckMessage_ != de.pokerth.protocol.ProtoBuf.JoinGameAckMessage.getDefaultInstance()) { + joinGameAckMessage_ = + de.pokerth.protocol.ProtoBuf.JoinGameAckMessage.newBuilder(joinGameAckMessage_).mergeFrom(value).buildPartial(); + } else { + joinGameAckMessage_ = value; + } + + bitField0_ |= 0x00000008; + return this; + } + /** + * optional .JoinGameAckMessage joinGameAckMessage = 4; + */ + public Builder clearJoinGameAckMessage() { + joinGameAckMessage_ = de.pokerth.protocol.ProtoBuf.JoinGameAckMessage.getDefaultInstance(); + + bitField0_ = (bitField0_ & ~0x00000008); + return this; + } + + // optional .JoinGameFailedMessage joinGameFailedMessage = 5; + private de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage joinGameFailedMessage_ = de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.getDefaultInstance(); + /** + * optional .JoinGameFailedMessage joinGameFailedMessage = 5; + */ + public boolean hasJoinGameFailedMessage() { + return ((bitField0_ & 0x00000010) == 0x00000010); + } + /** + * optional .JoinGameFailedMessage joinGameFailedMessage = 5; + */ + public de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage getJoinGameFailedMessage() { + return joinGameFailedMessage_; + } + /** + * optional .JoinGameFailedMessage joinGameFailedMessage = 5; + */ + public Builder setJoinGameFailedMessage(de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage value) { + if (value == null) { + throw new NullPointerException(); + } + joinGameFailedMessage_ = value; + + bitField0_ |= 0x00000010; + return this; + } + /** + * optional .JoinGameFailedMessage joinGameFailedMessage = 5; + */ + public Builder setJoinGameFailedMessage( + de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.Builder builderForValue) { + joinGameFailedMessage_ = builderForValue.build(); + + bitField0_ |= 0x00000010; + return this; + } + /** + * optional .JoinGameFailedMessage joinGameFailedMessage = 5; + */ + public Builder mergeJoinGameFailedMessage(de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage value) { + if (((bitField0_ & 0x00000010) == 0x00000010) && + joinGameFailedMessage_ != de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.getDefaultInstance()) { + joinGameFailedMessage_ = + de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.newBuilder(joinGameFailedMessage_).mergeFrom(value).buildPartial(); + } else { + joinGameFailedMessage_ = value; + } + + bitField0_ |= 0x00000010; + return this; + } + /** + * optional .JoinGameFailedMessage joinGameFailedMessage = 5; + */ + public Builder clearJoinGameFailedMessage() { + joinGameFailedMessage_ = de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.getDefaultInstance(); + + bitField0_ = (bitField0_ & ~0x00000010); + return this; + } + + // optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 6; + private de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage gamePlayerJoinedMessage_ = de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage.getDefaultInstance(); + /** + * optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 6; + */ + public boolean hasGamePlayerJoinedMessage() { + return ((bitField0_ & 0x00000020) == 0x00000020); + } + /** + * optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 6; + */ + public de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage getGamePlayerJoinedMessage() { + return gamePlayerJoinedMessage_; + } + /** + * optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 6; + */ + public Builder setGamePlayerJoinedMessage(de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage value) { + if (value == null) { + throw new NullPointerException(); + } + gamePlayerJoinedMessage_ = value; + + bitField0_ |= 0x00000020; + return this; + } + /** + * optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 6; + */ + public Builder setGamePlayerJoinedMessage( + de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage.Builder builderForValue) { + gamePlayerJoinedMessage_ = builderForValue.build(); + + bitField0_ |= 0x00000020; + return this; + } + /** + * optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 6; + */ + public Builder mergeGamePlayerJoinedMessage(de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage value) { + if (((bitField0_ & 0x00000020) == 0x00000020) && + gamePlayerJoinedMessage_ != de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage.getDefaultInstance()) { + gamePlayerJoinedMessage_ = + de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage.newBuilder(gamePlayerJoinedMessage_).mergeFrom(value).buildPartial(); + } else { + gamePlayerJoinedMessage_ = value; + } + + bitField0_ |= 0x00000020; + return this; + } + /** + * optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 6; + */ + public Builder clearGamePlayerJoinedMessage() { + gamePlayerJoinedMessage_ = de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage.getDefaultInstance(); + + bitField0_ = (bitField0_ & ~0x00000020); + return this; + } + + // optional .GamePlayerLeftMessage gamePlayerLeftMessage = 7; + private de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage gamePlayerLeftMessage_ = de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.getDefaultInstance(); + /** + * optional .GamePlayerLeftMessage gamePlayerLeftMessage = 7; + */ + public boolean hasGamePlayerLeftMessage() { + return ((bitField0_ & 0x00000040) == 0x00000040); + } + /** + * optional .GamePlayerLeftMessage gamePlayerLeftMessage = 7; + */ + public de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage getGamePlayerLeftMessage() { + return gamePlayerLeftMessage_; + } + /** + * optional .GamePlayerLeftMessage gamePlayerLeftMessage = 7; + */ + public Builder setGamePlayerLeftMessage(de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage value) { + if (value == null) { + throw new NullPointerException(); + } + gamePlayerLeftMessage_ = value; + + bitField0_ |= 0x00000040; + return this; + } + /** + * optional .GamePlayerLeftMessage gamePlayerLeftMessage = 7; + */ + public Builder setGamePlayerLeftMessage( + de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.Builder builderForValue) { + gamePlayerLeftMessage_ = builderForValue.build(); + + bitField0_ |= 0x00000040; + return this; + } + /** + * optional .GamePlayerLeftMessage gamePlayerLeftMessage = 7; + */ + public Builder mergeGamePlayerLeftMessage(de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage value) { + if (((bitField0_ & 0x00000040) == 0x00000040) && + gamePlayerLeftMessage_ != de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.getDefaultInstance()) { + gamePlayerLeftMessage_ = + de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.newBuilder(gamePlayerLeftMessage_).mergeFrom(value).buildPartial(); + } else { + gamePlayerLeftMessage_ = value; + } + + bitField0_ |= 0x00000040; + return this; + } + /** + * optional .GamePlayerLeftMessage gamePlayerLeftMessage = 7; + */ + public Builder clearGamePlayerLeftMessage() { + gamePlayerLeftMessage_ = de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.getDefaultInstance(); + + bitField0_ = (bitField0_ & ~0x00000040); + return this; + } + + // optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 8; + private de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage gameSpectatorJoinedMessage_ = de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage.getDefaultInstance(); + /** + * optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 8; + */ + public boolean hasGameSpectatorJoinedMessage() { + return ((bitField0_ & 0x00000080) == 0x00000080); + } + /** + * optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 8; + */ + public de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage getGameSpectatorJoinedMessage() { + return gameSpectatorJoinedMessage_; + } + /** + * optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 8; + */ + public Builder setGameSpectatorJoinedMessage(de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage value) { + if (value == null) { + throw new NullPointerException(); + } + gameSpectatorJoinedMessage_ = value; + + bitField0_ |= 0x00000080; + return this; + } + /** + * optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 8; + */ + public Builder setGameSpectatorJoinedMessage( + de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage.Builder builderForValue) { + gameSpectatorJoinedMessage_ = builderForValue.build(); + + bitField0_ |= 0x00000080; + return this; + } + /** + * optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 8; + */ + public Builder mergeGameSpectatorJoinedMessage(de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage value) { + if (((bitField0_ & 0x00000080) == 0x00000080) && + gameSpectatorJoinedMessage_ != de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage.getDefaultInstance()) { + gameSpectatorJoinedMessage_ = + de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage.newBuilder(gameSpectatorJoinedMessage_).mergeFrom(value).buildPartial(); + } else { + gameSpectatorJoinedMessage_ = value; + } + + bitField0_ |= 0x00000080; + return this; + } + /** + * optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 8; + */ + public Builder clearGameSpectatorJoinedMessage() { + gameSpectatorJoinedMessage_ = de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage.getDefaultInstance(); + + bitField0_ = (bitField0_ & ~0x00000080); + return this; + } + + // optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 9; + private de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage gameSpectatorLeftMessage_ = de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage.getDefaultInstance(); + /** + * optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 9; + */ + public boolean hasGameSpectatorLeftMessage() { + return ((bitField0_ & 0x00000100) == 0x00000100); + } + /** + * optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 9; + */ + public de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage getGameSpectatorLeftMessage() { + return gameSpectatorLeftMessage_; + } + /** + * optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 9; + */ + public Builder setGameSpectatorLeftMessage(de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage value) { + if (value == null) { + throw new NullPointerException(); + } + gameSpectatorLeftMessage_ = value; + + bitField0_ |= 0x00000100; + return this; + } + /** + * optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 9; + */ + public Builder setGameSpectatorLeftMessage( + de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage.Builder builderForValue) { + gameSpectatorLeftMessage_ = builderForValue.build(); + + bitField0_ |= 0x00000100; + return this; + } + /** + * optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 9; + */ + public Builder mergeGameSpectatorLeftMessage(de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage value) { + if (((bitField0_ & 0x00000100) == 0x00000100) && + gameSpectatorLeftMessage_ != de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage.getDefaultInstance()) { + gameSpectatorLeftMessage_ = + de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage.newBuilder(gameSpectatorLeftMessage_).mergeFrom(value).buildPartial(); + } else { + gameSpectatorLeftMessage_ = value; + } + + bitField0_ |= 0x00000100; + return this; + } + /** + * optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 9; + */ + public Builder clearGameSpectatorLeftMessage() { + gameSpectatorLeftMessage_ = de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage.getDefaultInstance(); + + bitField0_ = (bitField0_ & ~0x00000100); + return this; + } + + // optional .GameAdminChangedMessage gameAdminChangedMessage = 10; + private de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage gameAdminChangedMessage_ = de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage.getDefaultInstance(); + /** + * optional .GameAdminChangedMessage gameAdminChangedMessage = 10; + */ + public boolean hasGameAdminChangedMessage() { + return ((bitField0_ & 0x00000200) == 0x00000200); + } + /** + * optional .GameAdminChangedMessage gameAdminChangedMessage = 10; + */ + public de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage getGameAdminChangedMessage() { + return gameAdminChangedMessage_; + } + /** + * optional .GameAdminChangedMessage gameAdminChangedMessage = 10; + */ + public Builder setGameAdminChangedMessage(de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage value) { + if (value == null) { + throw new NullPointerException(); + } + gameAdminChangedMessage_ = value; + + bitField0_ |= 0x00000200; + return this; + } + /** + * optional .GameAdminChangedMessage gameAdminChangedMessage = 10; + */ + public Builder setGameAdminChangedMessage( + de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage.Builder builderForValue) { + gameAdminChangedMessage_ = builderForValue.build(); + + bitField0_ |= 0x00000200; + return this; + } + /** + * optional .GameAdminChangedMessage gameAdminChangedMessage = 10; + */ + public Builder mergeGameAdminChangedMessage(de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage value) { + if (((bitField0_ & 0x00000200) == 0x00000200) && + gameAdminChangedMessage_ != de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage.getDefaultInstance()) { + gameAdminChangedMessage_ = + de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage.newBuilder(gameAdminChangedMessage_).mergeFrom(value).buildPartial(); + } else { + gameAdminChangedMessage_ = value; + } + + bitField0_ |= 0x00000200; + return this; + } + /** + * optional .GameAdminChangedMessage gameAdminChangedMessage = 10; + */ + public Builder clearGameAdminChangedMessage() { + gameAdminChangedMessage_ = de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage.getDefaultInstance(); + + bitField0_ = (bitField0_ & ~0x00000200); + return this; + } + + // optional .RemovedFromGameMessage removedFromGameMessage = 11; + private de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage removedFromGameMessage_ = de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.getDefaultInstance(); + /** + * optional .RemovedFromGameMessage removedFromGameMessage = 11; + */ + public boolean hasRemovedFromGameMessage() { + return ((bitField0_ & 0x00000400) == 0x00000400); + } + /** + * optional .RemovedFromGameMessage removedFromGameMessage = 11; + */ + public de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage getRemovedFromGameMessage() { + return removedFromGameMessage_; + } + /** + * optional .RemovedFromGameMessage removedFromGameMessage = 11; + */ + public Builder setRemovedFromGameMessage(de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage value) { + if (value == null) { + throw new NullPointerException(); + } + removedFromGameMessage_ = value; + + bitField0_ |= 0x00000400; + return this; + } + /** + * optional .RemovedFromGameMessage removedFromGameMessage = 11; + */ + public Builder setRemovedFromGameMessage( + de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.Builder builderForValue) { + removedFromGameMessage_ = builderForValue.build(); + + bitField0_ |= 0x00000400; + return this; + } + /** + * optional .RemovedFromGameMessage removedFromGameMessage = 11; + */ + public Builder mergeRemovedFromGameMessage(de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage value) { + if (((bitField0_ & 0x00000400) == 0x00000400) && + removedFromGameMessage_ != de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.getDefaultInstance()) { + removedFromGameMessage_ = + de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.newBuilder(removedFromGameMessage_).mergeFrom(value).buildPartial(); + } else { + removedFromGameMessage_ = value; + } + + bitField0_ |= 0x00000400; + return this; + } + /** + * optional .RemovedFromGameMessage removedFromGameMessage = 11; + */ + public Builder clearRemovedFromGameMessage() { + removedFromGameMessage_ = de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.getDefaultInstance(); + + bitField0_ = (bitField0_ & ~0x00000400); + return this; + } + + // optional .KickPlayerRequestMessage kickPlayerRequestMessage = 12; + private de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage kickPlayerRequestMessage_ = de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage.getDefaultInstance(); + /** + * optional .KickPlayerRequestMessage kickPlayerRequestMessage = 12; + */ + public boolean hasKickPlayerRequestMessage() { + return ((bitField0_ & 0x00000800) == 0x00000800); + } + /** + * optional .KickPlayerRequestMessage kickPlayerRequestMessage = 12; + */ + public de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage getKickPlayerRequestMessage() { + return kickPlayerRequestMessage_; + } + /** + * optional .KickPlayerRequestMessage kickPlayerRequestMessage = 12; + */ + public Builder setKickPlayerRequestMessage(de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage value) { + if (value == null) { + throw new NullPointerException(); + } + kickPlayerRequestMessage_ = value; + + bitField0_ |= 0x00000800; + return this; + } + /** + * optional .KickPlayerRequestMessage kickPlayerRequestMessage = 12; + */ + public Builder setKickPlayerRequestMessage( + de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage.Builder builderForValue) { + kickPlayerRequestMessage_ = builderForValue.build(); + + bitField0_ |= 0x00000800; + return this; + } + /** + * optional .KickPlayerRequestMessage kickPlayerRequestMessage = 12; + */ + public Builder mergeKickPlayerRequestMessage(de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage value) { + if (((bitField0_ & 0x00000800) == 0x00000800) && + kickPlayerRequestMessage_ != de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage.getDefaultInstance()) { + kickPlayerRequestMessage_ = + de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage.newBuilder(kickPlayerRequestMessage_).mergeFrom(value).buildPartial(); + } else { + kickPlayerRequestMessage_ = value; + } + + bitField0_ |= 0x00000800; + return this; + } + /** + * optional .KickPlayerRequestMessage kickPlayerRequestMessage = 12; + */ + public Builder clearKickPlayerRequestMessage() { + kickPlayerRequestMessage_ = de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage.getDefaultInstance(); + + bitField0_ = (bitField0_ & ~0x00000800); + return this; + } + + // optional .LeaveGameRequestMessage leaveGameRequestMessage = 13; + private de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage leaveGameRequestMessage_ = de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage.getDefaultInstance(); + /** + * optional .LeaveGameRequestMessage leaveGameRequestMessage = 13; + */ + public boolean hasLeaveGameRequestMessage() { + return ((bitField0_ & 0x00001000) == 0x00001000); + } + /** + * optional .LeaveGameRequestMessage leaveGameRequestMessage = 13; + */ + public de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage getLeaveGameRequestMessage() { + return leaveGameRequestMessage_; + } + /** + * optional .LeaveGameRequestMessage leaveGameRequestMessage = 13; + */ + public Builder setLeaveGameRequestMessage(de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage value) { + if (value == null) { + throw new NullPointerException(); + } + leaveGameRequestMessage_ = value; + + bitField0_ |= 0x00001000; + return this; + } + /** + * optional .LeaveGameRequestMessage leaveGameRequestMessage = 13; + */ + public Builder setLeaveGameRequestMessage( + de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage.Builder builderForValue) { + leaveGameRequestMessage_ = builderForValue.build(); + + bitField0_ |= 0x00001000; + return this; + } + /** + * optional .LeaveGameRequestMessage leaveGameRequestMessage = 13; + */ + public Builder mergeLeaveGameRequestMessage(de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage value) { + if (((bitField0_ & 0x00001000) == 0x00001000) && + leaveGameRequestMessage_ != de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage.getDefaultInstance()) { + leaveGameRequestMessage_ = + de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage.newBuilder(leaveGameRequestMessage_).mergeFrom(value).buildPartial(); + } else { + leaveGameRequestMessage_ = value; + } + + bitField0_ |= 0x00001000; + return this; + } + /** + * optional .LeaveGameRequestMessage leaveGameRequestMessage = 13; + */ + public Builder clearLeaveGameRequestMessage() { + leaveGameRequestMessage_ = de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage.getDefaultInstance(); + + bitField0_ = (bitField0_ & ~0x00001000); + return this; + } + + // optional .StartEventMessage startEventMessage = 14; + private de.pokerth.protocol.ProtoBuf.StartEventMessage startEventMessage_ = de.pokerth.protocol.ProtoBuf.StartEventMessage.getDefaultInstance(); + /** + * optional .StartEventMessage startEventMessage = 14; + */ + public boolean hasStartEventMessage() { + return ((bitField0_ & 0x00002000) == 0x00002000); + } + /** + * optional .StartEventMessage startEventMessage = 14; + */ + public de.pokerth.protocol.ProtoBuf.StartEventMessage getStartEventMessage() { + return startEventMessage_; + } + /** + * optional .StartEventMessage startEventMessage = 14; + */ + public Builder setStartEventMessage(de.pokerth.protocol.ProtoBuf.StartEventMessage value) { + if (value == null) { + throw new NullPointerException(); + } + startEventMessage_ = value; + + bitField0_ |= 0x00002000; + return this; + } + /** + * optional .StartEventMessage startEventMessage = 14; + */ + public Builder setStartEventMessage( + de.pokerth.protocol.ProtoBuf.StartEventMessage.Builder builderForValue) { + startEventMessage_ = builderForValue.build(); + + bitField0_ |= 0x00002000; + return this; + } + /** + * optional .StartEventMessage startEventMessage = 14; + */ + public Builder mergeStartEventMessage(de.pokerth.protocol.ProtoBuf.StartEventMessage value) { + if (((bitField0_ & 0x00002000) == 0x00002000) && + startEventMessage_ != de.pokerth.protocol.ProtoBuf.StartEventMessage.getDefaultInstance()) { + startEventMessage_ = + de.pokerth.protocol.ProtoBuf.StartEventMessage.newBuilder(startEventMessage_).mergeFrom(value).buildPartial(); + } else { + startEventMessage_ = value; + } + + bitField0_ |= 0x00002000; + return this; + } + /** + * optional .StartEventMessage startEventMessage = 14; + */ + public Builder clearStartEventMessage() { + startEventMessage_ = de.pokerth.protocol.ProtoBuf.StartEventMessage.getDefaultInstance(); + + bitField0_ = (bitField0_ & ~0x00002000); + return this; + } + + // optional .StartEventAckMessage startEventAckMessage = 15; + private de.pokerth.protocol.ProtoBuf.StartEventAckMessage startEventAckMessage_ = de.pokerth.protocol.ProtoBuf.StartEventAckMessage.getDefaultInstance(); + /** + * optional .StartEventAckMessage startEventAckMessage = 15; + */ + public boolean hasStartEventAckMessage() { + return ((bitField0_ & 0x00004000) == 0x00004000); + } + /** + * optional .StartEventAckMessage startEventAckMessage = 15; + */ + public de.pokerth.protocol.ProtoBuf.StartEventAckMessage getStartEventAckMessage() { + return startEventAckMessage_; + } + /** + * optional .StartEventAckMessage startEventAckMessage = 15; + */ + public Builder setStartEventAckMessage(de.pokerth.protocol.ProtoBuf.StartEventAckMessage value) { + if (value == null) { + throw new NullPointerException(); + } + startEventAckMessage_ = value; + + bitField0_ |= 0x00004000; + return this; + } + /** + * optional .StartEventAckMessage startEventAckMessage = 15; + */ + public Builder setStartEventAckMessage( + de.pokerth.protocol.ProtoBuf.StartEventAckMessage.Builder builderForValue) { + startEventAckMessage_ = builderForValue.build(); + + bitField0_ |= 0x00004000; + return this; + } + /** + * optional .StartEventAckMessage startEventAckMessage = 15; + */ + public Builder mergeStartEventAckMessage(de.pokerth.protocol.ProtoBuf.StartEventAckMessage value) { + if (((bitField0_ & 0x00004000) == 0x00004000) && + startEventAckMessage_ != de.pokerth.protocol.ProtoBuf.StartEventAckMessage.getDefaultInstance()) { + startEventAckMessage_ = + de.pokerth.protocol.ProtoBuf.StartEventAckMessage.newBuilder(startEventAckMessage_).mergeFrom(value).buildPartial(); + } else { + startEventAckMessage_ = value; + } + + bitField0_ |= 0x00004000; + return this; + } + /** + * optional .StartEventAckMessage startEventAckMessage = 15; + */ + public Builder clearStartEventAckMessage() { + startEventAckMessage_ = de.pokerth.protocol.ProtoBuf.StartEventAckMessage.getDefaultInstance(); + + bitField0_ = (bitField0_ & ~0x00004000); + return this; + } + + // optional .GameStartInitialMessage gameStartInitialMessage = 16; + private de.pokerth.protocol.ProtoBuf.GameStartInitialMessage gameStartInitialMessage_ = de.pokerth.protocol.ProtoBuf.GameStartInitialMessage.getDefaultInstance(); + /** + * optional .GameStartInitialMessage gameStartInitialMessage = 16; + */ + public boolean hasGameStartInitialMessage() { + return ((bitField0_ & 0x00008000) == 0x00008000); + } + /** + * optional .GameStartInitialMessage gameStartInitialMessage = 16; + */ + public de.pokerth.protocol.ProtoBuf.GameStartInitialMessage getGameStartInitialMessage() { + return gameStartInitialMessage_; + } + /** + * optional .GameStartInitialMessage gameStartInitialMessage = 16; + */ + public Builder setGameStartInitialMessage(de.pokerth.protocol.ProtoBuf.GameStartInitialMessage value) { + if (value == null) { + throw new NullPointerException(); + } + gameStartInitialMessage_ = value; + + bitField0_ |= 0x00008000; + return this; + } + /** + * optional .GameStartInitialMessage gameStartInitialMessage = 16; + */ + public Builder setGameStartInitialMessage( + de.pokerth.protocol.ProtoBuf.GameStartInitialMessage.Builder builderForValue) { + gameStartInitialMessage_ = builderForValue.build(); + + bitField0_ |= 0x00008000; + return this; + } + /** + * optional .GameStartInitialMessage gameStartInitialMessage = 16; + */ + public Builder mergeGameStartInitialMessage(de.pokerth.protocol.ProtoBuf.GameStartInitialMessage value) { + if (((bitField0_ & 0x00008000) == 0x00008000) && + gameStartInitialMessage_ != de.pokerth.protocol.ProtoBuf.GameStartInitialMessage.getDefaultInstance()) { + gameStartInitialMessage_ = + de.pokerth.protocol.ProtoBuf.GameStartInitialMessage.newBuilder(gameStartInitialMessage_).mergeFrom(value).buildPartial(); + } else { + gameStartInitialMessage_ = value; + } + + bitField0_ |= 0x00008000; + return this; + } + /** + * optional .GameStartInitialMessage gameStartInitialMessage = 16; + */ + public Builder clearGameStartInitialMessage() { + gameStartInitialMessage_ = de.pokerth.protocol.ProtoBuf.GameStartInitialMessage.getDefaultInstance(); + + bitField0_ = (bitField0_ & ~0x00008000); + return this; + } + + // optional .GameStartRejoinMessage gameStartRejoinMessage = 17; + private de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage gameStartRejoinMessage_ = de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.getDefaultInstance(); + /** + * optional .GameStartRejoinMessage gameStartRejoinMessage = 17; + */ + public boolean hasGameStartRejoinMessage() { + return ((bitField0_ & 0x00010000) == 0x00010000); + } + /** + * optional .GameStartRejoinMessage gameStartRejoinMessage = 17; + */ + public de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage getGameStartRejoinMessage() { + return gameStartRejoinMessage_; + } + /** + * optional .GameStartRejoinMessage gameStartRejoinMessage = 17; + */ + public Builder setGameStartRejoinMessage(de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage value) { + if (value == null) { + throw new NullPointerException(); + } + gameStartRejoinMessage_ = value; + + bitField0_ |= 0x00010000; + return this; + } + /** + * optional .GameStartRejoinMessage gameStartRejoinMessage = 17; + */ + public Builder setGameStartRejoinMessage( + de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.Builder builderForValue) { + gameStartRejoinMessage_ = builderForValue.build(); + + bitField0_ |= 0x00010000; + return this; + } + /** + * optional .GameStartRejoinMessage gameStartRejoinMessage = 17; + */ + public Builder mergeGameStartRejoinMessage(de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage value) { + if (((bitField0_ & 0x00010000) == 0x00010000) && + gameStartRejoinMessage_ != de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.getDefaultInstance()) { + gameStartRejoinMessage_ = + de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.newBuilder(gameStartRejoinMessage_).mergeFrom(value).buildPartial(); + } else { + gameStartRejoinMessage_ = value; + } + + bitField0_ |= 0x00010000; + return this; + } + /** + * optional .GameStartRejoinMessage gameStartRejoinMessage = 17; + */ + public Builder clearGameStartRejoinMessage() { + gameStartRejoinMessage_ = de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.getDefaultInstance(); + + bitField0_ = (bitField0_ & ~0x00010000); + return this; + } + + // optional .EndOfGameMessage endOfGameMessage = 18; + private de.pokerth.protocol.ProtoBuf.EndOfGameMessage endOfGameMessage_ = de.pokerth.protocol.ProtoBuf.EndOfGameMessage.getDefaultInstance(); + /** + * optional .EndOfGameMessage endOfGameMessage = 18; + */ + public boolean hasEndOfGameMessage() { + return ((bitField0_ & 0x00020000) == 0x00020000); + } + /** + * optional .EndOfGameMessage endOfGameMessage = 18; + */ + public de.pokerth.protocol.ProtoBuf.EndOfGameMessage getEndOfGameMessage() { + return endOfGameMessage_; + } + /** + * optional .EndOfGameMessage endOfGameMessage = 18; + */ + public Builder setEndOfGameMessage(de.pokerth.protocol.ProtoBuf.EndOfGameMessage value) { + if (value == null) { + throw new NullPointerException(); + } + endOfGameMessage_ = value; + + bitField0_ |= 0x00020000; + return this; + } + /** + * optional .EndOfGameMessage endOfGameMessage = 18; + */ + public Builder setEndOfGameMessage( + de.pokerth.protocol.ProtoBuf.EndOfGameMessage.Builder builderForValue) { + endOfGameMessage_ = builderForValue.build(); + + bitField0_ |= 0x00020000; + return this; + } + /** + * optional .EndOfGameMessage endOfGameMessage = 18; + */ + public Builder mergeEndOfGameMessage(de.pokerth.protocol.ProtoBuf.EndOfGameMessage value) { + if (((bitField0_ & 0x00020000) == 0x00020000) && + endOfGameMessage_ != de.pokerth.protocol.ProtoBuf.EndOfGameMessage.getDefaultInstance()) { + endOfGameMessage_ = + de.pokerth.protocol.ProtoBuf.EndOfGameMessage.newBuilder(endOfGameMessage_).mergeFrom(value).buildPartial(); + } else { + endOfGameMessage_ = value; + } + + bitField0_ |= 0x00020000; + return this; + } + /** + * optional .EndOfGameMessage endOfGameMessage = 18; + */ + public Builder clearEndOfGameMessage() { + endOfGameMessage_ = de.pokerth.protocol.ProtoBuf.EndOfGameMessage.getDefaultInstance(); + + bitField0_ = (bitField0_ & ~0x00020000); + return this; + } + + // optional .PlayerIdChangedMessage playerIdChangedMessage = 19; + private de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage playerIdChangedMessage_ = de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage.getDefaultInstance(); + /** + * optional .PlayerIdChangedMessage playerIdChangedMessage = 19; + */ + public boolean hasPlayerIdChangedMessage() { + return ((bitField0_ & 0x00040000) == 0x00040000); + } + /** + * optional .PlayerIdChangedMessage playerIdChangedMessage = 19; + */ + public de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage getPlayerIdChangedMessage() { + return playerIdChangedMessage_; + } + /** + * optional .PlayerIdChangedMessage playerIdChangedMessage = 19; + */ + public Builder setPlayerIdChangedMessage(de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage value) { + if (value == null) { + throw new NullPointerException(); + } + playerIdChangedMessage_ = value; + + bitField0_ |= 0x00040000; + return this; + } + /** + * optional .PlayerIdChangedMessage playerIdChangedMessage = 19; + */ + public Builder setPlayerIdChangedMessage( + de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage.Builder builderForValue) { + playerIdChangedMessage_ = builderForValue.build(); + + bitField0_ |= 0x00040000; + return this; + } + /** + * optional .PlayerIdChangedMessage playerIdChangedMessage = 19; + */ + public Builder mergePlayerIdChangedMessage(de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage value) { + if (((bitField0_ & 0x00040000) == 0x00040000) && + playerIdChangedMessage_ != de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage.getDefaultInstance()) { + playerIdChangedMessage_ = + de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage.newBuilder(playerIdChangedMessage_).mergeFrom(value).buildPartial(); + } else { + playerIdChangedMessage_ = value; + } + + bitField0_ |= 0x00040000; + return this; + } + /** + * optional .PlayerIdChangedMessage playerIdChangedMessage = 19; + */ + public Builder clearPlayerIdChangedMessage() { + playerIdChangedMessage_ = de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage.getDefaultInstance(); + + bitField0_ = (bitField0_ & ~0x00040000); + return this; + } + + // optional .AskKickPlayerMessage askKickPlayerMessage = 20; + private de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage askKickPlayerMessage_ = de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage.getDefaultInstance(); + /** + * optional .AskKickPlayerMessage askKickPlayerMessage = 20; + */ + public boolean hasAskKickPlayerMessage() { + return ((bitField0_ & 0x00080000) == 0x00080000); + } + /** + * optional .AskKickPlayerMessage askKickPlayerMessage = 20; + */ + public de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage getAskKickPlayerMessage() { + return askKickPlayerMessage_; + } + /** + * optional .AskKickPlayerMessage askKickPlayerMessage = 20; + */ + public Builder setAskKickPlayerMessage(de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage value) { + if (value == null) { + throw new NullPointerException(); + } + askKickPlayerMessage_ = value; + + bitField0_ |= 0x00080000; + return this; + } + /** + * optional .AskKickPlayerMessage askKickPlayerMessage = 20; + */ + public Builder setAskKickPlayerMessage( + de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage.Builder builderForValue) { + askKickPlayerMessage_ = builderForValue.build(); + + bitField0_ |= 0x00080000; + return this; + } + /** + * optional .AskKickPlayerMessage askKickPlayerMessage = 20; + */ + public Builder mergeAskKickPlayerMessage(de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage value) { + if (((bitField0_ & 0x00080000) == 0x00080000) && + askKickPlayerMessage_ != de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage.getDefaultInstance()) { + askKickPlayerMessage_ = + de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage.newBuilder(askKickPlayerMessage_).mergeFrom(value).buildPartial(); + } else { + askKickPlayerMessage_ = value; + } + + bitField0_ |= 0x00080000; + return this; + } + /** + * optional .AskKickPlayerMessage askKickPlayerMessage = 20; + */ + public Builder clearAskKickPlayerMessage() { + askKickPlayerMessage_ = de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage.getDefaultInstance(); + + bitField0_ = (bitField0_ & ~0x00080000); + return this; + } + + // optional .AskKickDeniedMessage askKickDeniedMessage = 21; + private de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage askKickDeniedMessage_ = de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.getDefaultInstance(); + /** + * optional .AskKickDeniedMessage askKickDeniedMessage = 21; + */ + public boolean hasAskKickDeniedMessage() { + return ((bitField0_ & 0x00100000) == 0x00100000); + } + /** + * optional .AskKickDeniedMessage askKickDeniedMessage = 21; + */ + public de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage getAskKickDeniedMessage() { + return askKickDeniedMessage_; + } + /** + * optional .AskKickDeniedMessage askKickDeniedMessage = 21; + */ + public Builder setAskKickDeniedMessage(de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage value) { + if (value == null) { + throw new NullPointerException(); + } + askKickDeniedMessage_ = value; + + bitField0_ |= 0x00100000; + return this; + } + /** + * optional .AskKickDeniedMessage askKickDeniedMessage = 21; + */ + public Builder setAskKickDeniedMessage( + de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.Builder builderForValue) { + askKickDeniedMessage_ = builderForValue.build(); + + bitField0_ |= 0x00100000; + return this; + } + /** + * optional .AskKickDeniedMessage askKickDeniedMessage = 21; + */ + public Builder mergeAskKickDeniedMessage(de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage value) { + if (((bitField0_ & 0x00100000) == 0x00100000) && + askKickDeniedMessage_ != de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.getDefaultInstance()) { + askKickDeniedMessage_ = + de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.newBuilder(askKickDeniedMessage_).mergeFrom(value).buildPartial(); + } else { + askKickDeniedMessage_ = value; + } + + bitField0_ |= 0x00100000; + return this; + } + /** + * optional .AskKickDeniedMessage askKickDeniedMessage = 21; + */ + public Builder clearAskKickDeniedMessage() { + askKickDeniedMessage_ = de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.getDefaultInstance(); + + bitField0_ = (bitField0_ & ~0x00100000); + return this; + } + + // optional .StartKickPetitionMessage startKickPetitionMessage = 22; + private de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage startKickPetitionMessage_ = de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage.getDefaultInstance(); + /** + * optional .StartKickPetitionMessage startKickPetitionMessage = 22; + */ + public boolean hasStartKickPetitionMessage() { + return ((bitField0_ & 0x00200000) == 0x00200000); + } + /** + * optional .StartKickPetitionMessage startKickPetitionMessage = 22; + */ + public de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage getStartKickPetitionMessage() { + return startKickPetitionMessage_; + } + /** + * optional .StartKickPetitionMessage startKickPetitionMessage = 22; + */ + public Builder setStartKickPetitionMessage(de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage value) { + if (value == null) { + throw new NullPointerException(); + } + startKickPetitionMessage_ = value; + + bitField0_ |= 0x00200000; + return this; + } + /** + * optional .StartKickPetitionMessage startKickPetitionMessage = 22; + */ + public Builder setStartKickPetitionMessage( + de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage.Builder builderForValue) { + startKickPetitionMessage_ = builderForValue.build(); + + bitField0_ |= 0x00200000; + return this; + } + /** + * optional .StartKickPetitionMessage startKickPetitionMessage = 22; + */ + public Builder mergeStartKickPetitionMessage(de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage value) { + if (((bitField0_ & 0x00200000) == 0x00200000) && + startKickPetitionMessage_ != de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage.getDefaultInstance()) { + startKickPetitionMessage_ = + de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage.newBuilder(startKickPetitionMessage_).mergeFrom(value).buildPartial(); + } else { + startKickPetitionMessage_ = value; + } + + bitField0_ |= 0x00200000; + return this; + } + /** + * optional .StartKickPetitionMessage startKickPetitionMessage = 22; + */ + public Builder clearStartKickPetitionMessage() { + startKickPetitionMessage_ = de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage.getDefaultInstance(); + + bitField0_ = (bitField0_ & ~0x00200000); + return this; + } + + // optional .VoteKickRequestMessage voteKickRequestMessage = 23; + private de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage voteKickRequestMessage_ = de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage.getDefaultInstance(); + /** + * optional .VoteKickRequestMessage voteKickRequestMessage = 23; + */ + public boolean hasVoteKickRequestMessage() { + return ((bitField0_ & 0x00400000) == 0x00400000); + } + /** + * optional .VoteKickRequestMessage voteKickRequestMessage = 23; + */ + public de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage getVoteKickRequestMessage() { + return voteKickRequestMessage_; + } + /** + * optional .VoteKickRequestMessage voteKickRequestMessage = 23; + */ + public Builder setVoteKickRequestMessage(de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage value) { + if (value == null) { + throw new NullPointerException(); + } + voteKickRequestMessage_ = value; + + bitField0_ |= 0x00400000; + return this; + } + /** + * optional .VoteKickRequestMessage voteKickRequestMessage = 23; + */ + public Builder setVoteKickRequestMessage( + de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage.Builder builderForValue) { + voteKickRequestMessage_ = builderForValue.build(); + + bitField0_ |= 0x00400000; + return this; + } + /** + * optional .VoteKickRequestMessage voteKickRequestMessage = 23; + */ + public Builder mergeVoteKickRequestMessage(de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage value) { + if (((bitField0_ & 0x00400000) == 0x00400000) && + voteKickRequestMessage_ != de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage.getDefaultInstance()) { + voteKickRequestMessage_ = + de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage.newBuilder(voteKickRequestMessage_).mergeFrom(value).buildPartial(); + } else { + voteKickRequestMessage_ = value; + } + + bitField0_ |= 0x00400000; + return this; + } + /** + * optional .VoteKickRequestMessage voteKickRequestMessage = 23; + */ + public Builder clearVoteKickRequestMessage() { + voteKickRequestMessage_ = de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage.getDefaultInstance(); + + bitField0_ = (bitField0_ & ~0x00400000); + return this; + } + + // optional .VoteKickReplyMessage voteKickReplyMessage = 24; + private de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage voteKickReplyMessage_ = de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.getDefaultInstance(); + /** + * optional .VoteKickReplyMessage voteKickReplyMessage = 24; + */ + public boolean hasVoteKickReplyMessage() { + return ((bitField0_ & 0x00800000) == 0x00800000); + } + /** + * optional .VoteKickReplyMessage voteKickReplyMessage = 24; + */ + public de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage getVoteKickReplyMessage() { + return voteKickReplyMessage_; + } + /** + * optional .VoteKickReplyMessage voteKickReplyMessage = 24; + */ + public Builder setVoteKickReplyMessage(de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage value) { + if (value == null) { + throw new NullPointerException(); + } + voteKickReplyMessage_ = value; + + bitField0_ |= 0x00800000; + return this; + } + /** + * optional .VoteKickReplyMessage voteKickReplyMessage = 24; + */ + public Builder setVoteKickReplyMessage( + de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.Builder builderForValue) { + voteKickReplyMessage_ = builderForValue.build(); + + bitField0_ |= 0x00800000; + return this; + } + /** + * optional .VoteKickReplyMessage voteKickReplyMessage = 24; + */ + public Builder mergeVoteKickReplyMessage(de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage value) { + if (((bitField0_ & 0x00800000) == 0x00800000) && + voteKickReplyMessage_ != de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.getDefaultInstance()) { + voteKickReplyMessage_ = + de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.newBuilder(voteKickReplyMessage_).mergeFrom(value).buildPartial(); + } else { + voteKickReplyMessage_ = value; + } + + bitField0_ |= 0x00800000; + return this; + } + /** + * optional .VoteKickReplyMessage voteKickReplyMessage = 24; + */ + public Builder clearVoteKickReplyMessage() { + voteKickReplyMessage_ = de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.getDefaultInstance(); + + bitField0_ = (bitField0_ & ~0x00800000); + return this; + } + + // optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 25; + private de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage kickPetitionUpdateMessage_ = de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage.getDefaultInstance(); + /** + * optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 25; + */ + public boolean hasKickPetitionUpdateMessage() { + return ((bitField0_ & 0x01000000) == 0x01000000); + } + /** + * optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 25; + */ + public de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage getKickPetitionUpdateMessage() { + return kickPetitionUpdateMessage_; + } + /** + * optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 25; + */ + public Builder setKickPetitionUpdateMessage(de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage value) { + if (value == null) { + throw new NullPointerException(); + } + kickPetitionUpdateMessage_ = value; + + bitField0_ |= 0x01000000; + return this; + } + /** + * optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 25; + */ + public Builder setKickPetitionUpdateMessage( + de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage.Builder builderForValue) { + kickPetitionUpdateMessage_ = builderForValue.build(); + + bitField0_ |= 0x01000000; + return this; + } + /** + * optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 25; + */ + public Builder mergeKickPetitionUpdateMessage(de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage value) { + if (((bitField0_ & 0x01000000) == 0x01000000) && + kickPetitionUpdateMessage_ != de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage.getDefaultInstance()) { + kickPetitionUpdateMessage_ = + de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage.newBuilder(kickPetitionUpdateMessage_).mergeFrom(value).buildPartial(); + } else { + kickPetitionUpdateMessage_ = value; + } + + bitField0_ |= 0x01000000; + return this; + } + /** + * optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 25; + */ + public Builder clearKickPetitionUpdateMessage() { + kickPetitionUpdateMessage_ = de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage.getDefaultInstance(); + + bitField0_ = (bitField0_ & ~0x01000000); + return this; + } + + // optional .EndKickPetitionMessage endKickPetitionMessage = 26; + private de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage endKickPetitionMessage_ = de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.getDefaultInstance(); + /** + * optional .EndKickPetitionMessage endKickPetitionMessage = 26; + */ + public boolean hasEndKickPetitionMessage() { + return ((bitField0_ & 0x02000000) == 0x02000000); + } + /** + * optional .EndKickPetitionMessage endKickPetitionMessage = 26; + */ + public de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage getEndKickPetitionMessage() { + return endKickPetitionMessage_; + } + /** + * optional .EndKickPetitionMessage endKickPetitionMessage = 26; + */ + public Builder setEndKickPetitionMessage(de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage value) { + if (value == null) { + throw new NullPointerException(); + } + endKickPetitionMessage_ = value; + + bitField0_ |= 0x02000000; + return this; + } + /** + * optional .EndKickPetitionMessage endKickPetitionMessage = 26; + */ + public Builder setEndKickPetitionMessage( + de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.Builder builderForValue) { + endKickPetitionMessage_ = builderForValue.build(); + + bitField0_ |= 0x02000000; + return this; + } + /** + * optional .EndKickPetitionMessage endKickPetitionMessage = 26; + */ + public Builder mergeEndKickPetitionMessage(de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage value) { + if (((bitField0_ & 0x02000000) == 0x02000000) && + endKickPetitionMessage_ != de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.getDefaultInstance()) { + endKickPetitionMessage_ = + de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.newBuilder(endKickPetitionMessage_).mergeFrom(value).buildPartial(); + } else { + endKickPetitionMessage_ = value; + } + + bitField0_ |= 0x02000000; + return this; + } + /** + * optional .EndKickPetitionMessage endKickPetitionMessage = 26; + */ + public Builder clearEndKickPetitionMessage() { + endKickPetitionMessage_ = de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.getDefaultInstance(); + + bitField0_ = (bitField0_ & ~0x02000000); + return this; + } + + // optional .ChatRequestMessage chatRequestMessage = 27; + private de.pokerth.protocol.ProtoBuf.ChatRequestMessage chatRequestMessage_ = de.pokerth.protocol.ProtoBuf.ChatRequestMessage.getDefaultInstance(); + /** + * optional .ChatRequestMessage chatRequestMessage = 27; + */ + public boolean hasChatRequestMessage() { + return ((bitField0_ & 0x04000000) == 0x04000000); + } + /** + * optional .ChatRequestMessage chatRequestMessage = 27; + */ + public de.pokerth.protocol.ProtoBuf.ChatRequestMessage getChatRequestMessage() { + return chatRequestMessage_; + } + /** + * optional .ChatRequestMessage chatRequestMessage = 27; + */ + public Builder setChatRequestMessage(de.pokerth.protocol.ProtoBuf.ChatRequestMessage value) { + if (value == null) { + throw new NullPointerException(); + } + chatRequestMessage_ = value; + + bitField0_ |= 0x04000000; + return this; + } + /** + * optional .ChatRequestMessage chatRequestMessage = 27; + */ + public Builder setChatRequestMessage( + de.pokerth.protocol.ProtoBuf.ChatRequestMessage.Builder builderForValue) { + chatRequestMessage_ = builderForValue.build(); + + bitField0_ |= 0x04000000; + return this; + } + /** + * optional .ChatRequestMessage chatRequestMessage = 27; + */ + public Builder mergeChatRequestMessage(de.pokerth.protocol.ProtoBuf.ChatRequestMessage value) { + if (((bitField0_ & 0x04000000) == 0x04000000) && + chatRequestMessage_ != de.pokerth.protocol.ProtoBuf.ChatRequestMessage.getDefaultInstance()) { + chatRequestMessage_ = + de.pokerth.protocol.ProtoBuf.ChatRequestMessage.newBuilder(chatRequestMessage_).mergeFrom(value).buildPartial(); + } else { + chatRequestMessage_ = value; + } + + bitField0_ |= 0x04000000; + return this; + } + /** + * optional .ChatRequestMessage chatRequestMessage = 27; + */ + public Builder clearChatRequestMessage() { + chatRequestMessage_ = de.pokerth.protocol.ProtoBuf.ChatRequestMessage.getDefaultInstance(); + + bitField0_ = (bitField0_ & ~0x04000000); + return this; + } + + // optional .ChatMessage chatMessage = 28; + private de.pokerth.protocol.ProtoBuf.ChatMessage chatMessage_ = de.pokerth.protocol.ProtoBuf.ChatMessage.getDefaultInstance(); + /** + * optional .ChatMessage chatMessage = 28; + */ + public boolean hasChatMessage() { + return ((bitField0_ & 0x08000000) == 0x08000000); + } + /** + * optional .ChatMessage chatMessage = 28; + */ + public de.pokerth.protocol.ProtoBuf.ChatMessage getChatMessage() { + return chatMessage_; + } + /** + * optional .ChatMessage chatMessage = 28; + */ + public Builder setChatMessage(de.pokerth.protocol.ProtoBuf.ChatMessage value) { + if (value == null) { + throw new NullPointerException(); + } + chatMessage_ = value; + + bitField0_ |= 0x08000000; + return this; + } + /** + * optional .ChatMessage chatMessage = 28; + */ + public Builder setChatMessage( + de.pokerth.protocol.ProtoBuf.ChatMessage.Builder builderForValue) { + chatMessage_ = builderForValue.build(); + + bitField0_ |= 0x08000000; + return this; + } + /** + * optional .ChatMessage chatMessage = 28; + */ + public Builder mergeChatMessage(de.pokerth.protocol.ProtoBuf.ChatMessage value) { + if (((bitField0_ & 0x08000000) == 0x08000000) && + chatMessage_ != de.pokerth.protocol.ProtoBuf.ChatMessage.getDefaultInstance()) { + chatMessage_ = + de.pokerth.protocol.ProtoBuf.ChatMessage.newBuilder(chatMessage_).mergeFrom(value).buildPartial(); + } else { + chatMessage_ = value; + } + + bitField0_ |= 0x08000000; + return this; + } + /** + * optional .ChatMessage chatMessage = 28; + */ + public Builder clearChatMessage() { + chatMessage_ = de.pokerth.protocol.ProtoBuf.ChatMessage.getDefaultInstance(); + + bitField0_ = (bitField0_ & ~0x08000000); + return this; + } + + // optional .ChatRejectMessage chatRejectMessage = 29; + private de.pokerth.protocol.ProtoBuf.ChatRejectMessage chatRejectMessage_ = de.pokerth.protocol.ProtoBuf.ChatRejectMessage.getDefaultInstance(); + /** + * optional .ChatRejectMessage chatRejectMessage = 29; + */ + public boolean hasChatRejectMessage() { + return ((bitField0_ & 0x10000000) == 0x10000000); + } + /** + * optional .ChatRejectMessage chatRejectMessage = 29; + */ + public de.pokerth.protocol.ProtoBuf.ChatRejectMessage getChatRejectMessage() { + return chatRejectMessage_; + } + /** + * optional .ChatRejectMessage chatRejectMessage = 29; + */ + public Builder setChatRejectMessage(de.pokerth.protocol.ProtoBuf.ChatRejectMessage value) { + if (value == null) { + throw new NullPointerException(); + } + chatRejectMessage_ = value; + + bitField0_ |= 0x10000000; + return this; + } + /** + * optional .ChatRejectMessage chatRejectMessage = 29; + */ + public Builder setChatRejectMessage( + de.pokerth.protocol.ProtoBuf.ChatRejectMessage.Builder builderForValue) { + chatRejectMessage_ = builderForValue.build(); + + bitField0_ |= 0x10000000; + return this; + } + /** + * optional .ChatRejectMessage chatRejectMessage = 29; + */ + public Builder mergeChatRejectMessage(de.pokerth.protocol.ProtoBuf.ChatRejectMessage value) { + if (((bitField0_ & 0x10000000) == 0x10000000) && + chatRejectMessage_ != de.pokerth.protocol.ProtoBuf.ChatRejectMessage.getDefaultInstance()) { + chatRejectMessage_ = + de.pokerth.protocol.ProtoBuf.ChatRejectMessage.newBuilder(chatRejectMessage_).mergeFrom(value).buildPartial(); + } else { + chatRejectMessage_ = value; + } + + bitField0_ |= 0x10000000; + return this; + } + /** + * optional .ChatRejectMessage chatRejectMessage = 29; + */ + public Builder clearChatRejectMessage() { + chatRejectMessage_ = de.pokerth.protocol.ProtoBuf.ChatRejectMessage.getDefaultInstance(); + + bitField0_ = (bitField0_ & ~0x10000000); + return this; + } + + // optional .ErrorMessage errorMessage = 1025; + private de.pokerth.protocol.ProtoBuf.ErrorMessage errorMessage_ = de.pokerth.protocol.ProtoBuf.ErrorMessage.getDefaultInstance(); + /** + * optional .ErrorMessage errorMessage = 1025; + */ + public boolean hasErrorMessage() { + return ((bitField0_ & 0x20000000) == 0x20000000); + } + /** + * optional .ErrorMessage errorMessage = 1025; + */ + public de.pokerth.protocol.ProtoBuf.ErrorMessage getErrorMessage() { + return errorMessage_; + } + /** + * optional .ErrorMessage errorMessage = 1025; + */ + public Builder setErrorMessage(de.pokerth.protocol.ProtoBuf.ErrorMessage value) { + if (value == null) { + throw new NullPointerException(); + } + errorMessage_ = value; + + bitField0_ |= 0x20000000; + return this; + } + /** + * optional .ErrorMessage errorMessage = 1025; + */ + public Builder setErrorMessage( + de.pokerth.protocol.ProtoBuf.ErrorMessage.Builder builderForValue) { + errorMessage_ = builderForValue.build(); + + bitField0_ |= 0x20000000; + return this; + } + /** + * optional .ErrorMessage errorMessage = 1025; + */ + public Builder mergeErrorMessage(de.pokerth.protocol.ProtoBuf.ErrorMessage value) { + if (((bitField0_ & 0x20000000) == 0x20000000) && + errorMessage_ != de.pokerth.protocol.ProtoBuf.ErrorMessage.getDefaultInstance()) { + errorMessage_ = + de.pokerth.protocol.ProtoBuf.ErrorMessage.newBuilder(errorMessage_).mergeFrom(value).buildPartial(); + } else { + errorMessage_ = value; + } + + bitField0_ |= 0x20000000; + return this; + } + /** + * optional .ErrorMessage errorMessage = 1025; + */ + public Builder clearErrorMessage() { + errorMessage_ = de.pokerth.protocol.ProtoBuf.ErrorMessage.getDefaultInstance(); + + bitField0_ = (bitField0_ & ~0x20000000); + return this; + } + + // @@protoc_insertion_point(builder_scope:GameManagementMessage) + } + + static { + defaultInstance = new GameManagementMessage(true); + defaultInstance.initFields(); + } + + // @@protoc_insertion_point(class_scope:GameManagementMessage) + } + + public interface GameEngineMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + + // required .GameEngineMessage.GameEngineMessageType messageType = 1; + /** + * required .GameEngineMessage.GameEngineMessageType messageType = 1; + */ + boolean hasMessageType(); + /** + * required .GameEngineMessage.GameEngineMessageType messageType = 1; + */ + de.pokerth.protocol.ProtoBuf.GameEngineMessage.GameEngineMessageType getMessageType(); + + // optional .HandStartMessage handStartMessage = 2; + /** + * optional .HandStartMessage handStartMessage = 2; + */ + boolean hasHandStartMessage(); + /** + * optional .HandStartMessage handStartMessage = 2; + */ + de.pokerth.protocol.ProtoBuf.HandStartMessage getHandStartMessage(); + + // optional .PlayersTurnMessage playersTurnMessage = 3; + /** + * optional .PlayersTurnMessage playersTurnMessage = 3; + */ + boolean hasPlayersTurnMessage(); + /** + * optional .PlayersTurnMessage playersTurnMessage = 3; + */ + de.pokerth.protocol.ProtoBuf.PlayersTurnMessage getPlayersTurnMessage(); + + // optional .MyActionRequestMessage myActionRequestMessage = 4; + /** + * optional .MyActionRequestMessage myActionRequestMessage = 4; + */ + boolean hasMyActionRequestMessage(); + /** + * optional .MyActionRequestMessage myActionRequestMessage = 4; + */ + de.pokerth.protocol.ProtoBuf.MyActionRequestMessage getMyActionRequestMessage(); + + // optional .YourActionRejectedMessage yourActionRejectedMessage = 5; + /** + * optional .YourActionRejectedMessage yourActionRejectedMessage = 5; + */ + boolean hasYourActionRejectedMessage(); + /** + * optional .YourActionRejectedMessage yourActionRejectedMessage = 5; + */ + de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage getYourActionRejectedMessage(); + + // optional .PlayersActionDoneMessage playersActionDoneMessage = 6; + /** + * optional .PlayersActionDoneMessage playersActionDoneMessage = 6; + */ + boolean hasPlayersActionDoneMessage(); + /** + * optional .PlayersActionDoneMessage playersActionDoneMessage = 6; + */ + de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage getPlayersActionDoneMessage(); + + // optional .DealFlopCardsMessage dealFlopCardsMessage = 7; + /** + * optional .DealFlopCardsMessage dealFlopCardsMessage = 7; + */ + boolean hasDealFlopCardsMessage(); + /** + * optional .DealFlopCardsMessage dealFlopCardsMessage = 7; + */ + de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage getDealFlopCardsMessage(); + + // optional .DealTurnCardMessage dealTurnCardMessage = 8; + /** + * optional .DealTurnCardMessage dealTurnCardMessage = 8; + */ + boolean hasDealTurnCardMessage(); + /** + * optional .DealTurnCardMessage dealTurnCardMessage = 8; + */ + de.pokerth.protocol.ProtoBuf.DealTurnCardMessage getDealTurnCardMessage(); + + // optional .DealRiverCardMessage dealRiverCardMessage = 9; + /** + * optional .DealRiverCardMessage dealRiverCardMessage = 9; + */ + boolean hasDealRiverCardMessage(); + /** + * optional .DealRiverCardMessage dealRiverCardMessage = 9; + */ + de.pokerth.protocol.ProtoBuf.DealRiverCardMessage getDealRiverCardMessage(); + + // optional .AllInShowCardsMessage allInShowCardsMessage = 10; + /** + * optional .AllInShowCardsMessage allInShowCardsMessage = 10; + */ + boolean hasAllInShowCardsMessage(); + /** + * optional .AllInShowCardsMessage allInShowCardsMessage = 10; + */ + de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage getAllInShowCardsMessage(); + + // optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 11; + /** + * optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 11; + */ + boolean hasEndOfHandShowCardsMessage(); + /** + * optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 11; + */ + de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage getEndOfHandShowCardsMessage(); + + // optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 12; + /** + * optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 12; + */ + boolean hasEndOfHandHideCardsMessage(); + /** + * optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 12; + */ + de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage getEndOfHandHideCardsMessage(); + + // optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 13; + /** + * optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 13; + */ + boolean hasShowMyCardsRequestMessage(); + /** + * optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 13; + */ + de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage getShowMyCardsRequestMessage(); + + // optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 14; + /** + * optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 14; + */ + boolean hasAfterHandShowCardsMessage(); + /** + * optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 14; + */ + de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage getAfterHandShowCardsMessage(); + } + /** + * Protobuf type {@code GameEngineMessage} + */ + public static final class GameEngineMessage extends + com.google.protobuf.GeneratedMessageLite + implements GameEngineMessageOrBuilder { + // Use GameEngineMessage.newBuilder() to construct. + private GameEngineMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + super(builder); + + } + private GameEngineMessage(boolean noInit) {} + + private static final GameEngineMessage defaultInstance; + public static GameEngineMessage getDefaultInstance() { + return defaultInstance; + } + + public GameEngineMessage getDefaultInstanceForType() { + return defaultInstance; + } + + private GameEngineMessage( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; + } + break; + } + case 8: { + int rawValue = input.readEnum(); + de.pokerth.protocol.ProtoBuf.GameEngineMessage.GameEngineMessageType value = de.pokerth.protocol.ProtoBuf.GameEngineMessage.GameEngineMessageType.valueOf(rawValue); + if (value != null) { + bitField0_ |= 0x00000001; + messageType_ = value; + } + break; + } + case 18: { + de.pokerth.protocol.ProtoBuf.HandStartMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00000002) == 0x00000002)) { + subBuilder = handStartMessage_.toBuilder(); + } + handStartMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.HandStartMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(handStartMessage_); + handStartMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000002; + break; + } + case 26: { + de.pokerth.protocol.ProtoBuf.PlayersTurnMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00000004) == 0x00000004)) { + subBuilder = playersTurnMessage_.toBuilder(); + } + playersTurnMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.PlayersTurnMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(playersTurnMessage_); + playersTurnMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000004; + break; + } + case 34: { + de.pokerth.protocol.ProtoBuf.MyActionRequestMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00000008) == 0x00000008)) { + subBuilder = myActionRequestMessage_.toBuilder(); + } + myActionRequestMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.MyActionRequestMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(myActionRequestMessage_); + myActionRequestMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000008; + break; + } + case 42: { + de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00000010) == 0x00000010)) { + subBuilder = yourActionRejectedMessage_.toBuilder(); + } + yourActionRejectedMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(yourActionRejectedMessage_); + yourActionRejectedMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000010; + break; + } + case 50: { + de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00000020) == 0x00000020)) { + subBuilder = playersActionDoneMessage_.toBuilder(); + } + playersActionDoneMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(playersActionDoneMessage_); + playersActionDoneMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000020; + break; + } + case 58: { + de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00000040) == 0x00000040)) { + subBuilder = dealFlopCardsMessage_.toBuilder(); + } + dealFlopCardsMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(dealFlopCardsMessage_); + dealFlopCardsMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000040; + break; + } + case 66: { + de.pokerth.protocol.ProtoBuf.DealTurnCardMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00000080) == 0x00000080)) { + subBuilder = dealTurnCardMessage_.toBuilder(); + } + dealTurnCardMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.DealTurnCardMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(dealTurnCardMessage_); + dealTurnCardMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000080; + break; + } + case 74: { + de.pokerth.protocol.ProtoBuf.DealRiverCardMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00000100) == 0x00000100)) { + subBuilder = dealRiverCardMessage_.toBuilder(); + } + dealRiverCardMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.DealRiverCardMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(dealRiverCardMessage_); + dealRiverCardMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000100; + break; + } + case 82: { + de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00000200) == 0x00000200)) { + subBuilder = allInShowCardsMessage_.toBuilder(); + } + allInShowCardsMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(allInShowCardsMessage_); + allInShowCardsMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000200; + break; + } + case 90: { + de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00000400) == 0x00000400)) { + subBuilder = endOfHandShowCardsMessage_.toBuilder(); + } + endOfHandShowCardsMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endOfHandShowCardsMessage_); + endOfHandShowCardsMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000400; + break; + } + case 98: { + de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00000800) == 0x00000800)) { + subBuilder = endOfHandHideCardsMessage_.toBuilder(); + } + endOfHandHideCardsMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endOfHandHideCardsMessage_); + endOfHandHideCardsMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000800; + break; + } + case 106: { + de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00001000) == 0x00001000)) { + subBuilder = showMyCardsRequestMessage_.toBuilder(); + } + showMyCardsRequestMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(showMyCardsRequestMessage_); + showMyCardsRequestMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00001000; + break; + } + case 114: { + de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00002000) == 0x00002000)) { + subBuilder = afterHandShowCardsMessage_.toBuilder(); + } + afterHandShowCardsMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(afterHandShowCardsMessage_); + afterHandShowCardsMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00002000; + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); + } + } + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public GameEngineMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GameEngineMessage(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + /** + * Protobuf enum {@code GameEngineMessage.GameEngineMessageType} + */ + public enum GameEngineMessageType + implements com.google.protobuf.Internal.EnumLite { + /** + * Type_HandStartMessage = 1; + */ + Type_HandStartMessage(0, 1), + /** + * Type_PlayersTurnMessage = 2; + */ + Type_PlayersTurnMessage(1, 2), + /** + * Type_MyActionRequestMessage = 3; + */ + Type_MyActionRequestMessage(2, 3), + /** + * Type_YourActionRejectedMessage = 4; + */ + Type_YourActionRejectedMessage(3, 4), + /** + * Type_PlayersActionDoneMessage = 5; + */ + Type_PlayersActionDoneMessage(4, 5), + /** + * Type_DealFlopCardsMessage = 6; + */ + Type_DealFlopCardsMessage(5, 6), + /** + * Type_DealTurnCardMessage = 7; + */ + Type_DealTurnCardMessage(6, 7), + /** + * Type_DealRiverCardMessage = 8; + */ + Type_DealRiverCardMessage(7, 8), + /** + * Type_AllInShowCardsMessage = 9; + */ + Type_AllInShowCardsMessage(8, 9), + /** + * Type_EndOfHandShowCardsMessage = 10; + */ + Type_EndOfHandShowCardsMessage(9, 10), + /** + * Type_EndOfHandHideCardsMessage = 11; + */ + Type_EndOfHandHideCardsMessage(10, 11), + /** + * Type_ShowMyCardsRequestMessage = 12; + */ + Type_ShowMyCardsRequestMessage(11, 12), + /** + * Type_AfterHandShowCardsMessage = 13; + */ + Type_AfterHandShowCardsMessage(12, 13), + ; + + /** + * Type_HandStartMessage = 1; + */ + public static final int Type_HandStartMessage_VALUE = 1; + /** + * Type_PlayersTurnMessage = 2; + */ + public static final int Type_PlayersTurnMessage_VALUE = 2; + /** + * Type_MyActionRequestMessage = 3; + */ + public static final int Type_MyActionRequestMessage_VALUE = 3; + /** + * Type_YourActionRejectedMessage = 4; + */ + public static final int Type_YourActionRejectedMessage_VALUE = 4; + /** + * Type_PlayersActionDoneMessage = 5; + */ + public static final int Type_PlayersActionDoneMessage_VALUE = 5; + /** + * Type_DealFlopCardsMessage = 6; + */ + public static final int Type_DealFlopCardsMessage_VALUE = 6; + /** + * Type_DealTurnCardMessage = 7; + */ + public static final int Type_DealTurnCardMessage_VALUE = 7; + /** + * Type_DealRiverCardMessage = 8; + */ + public static final int Type_DealRiverCardMessage_VALUE = 8; + /** + * Type_AllInShowCardsMessage = 9; + */ + public static final int Type_AllInShowCardsMessage_VALUE = 9; + /** + * Type_EndOfHandShowCardsMessage = 10; + */ + public static final int Type_EndOfHandShowCardsMessage_VALUE = 10; + /** + * Type_EndOfHandHideCardsMessage = 11; + */ + public static final int Type_EndOfHandHideCardsMessage_VALUE = 11; + /** + * Type_ShowMyCardsRequestMessage = 12; + */ + public static final int Type_ShowMyCardsRequestMessage_VALUE = 12; + /** + * Type_AfterHandShowCardsMessage = 13; + */ + public static final int Type_AfterHandShowCardsMessage_VALUE = 13; + + + public final int getNumber() { return value; } + + public static GameEngineMessageType valueOf(int value) { + switch (value) { + case 1: return Type_HandStartMessage; + case 2: return Type_PlayersTurnMessage; + case 3: return Type_MyActionRequestMessage; + case 4: return Type_YourActionRejectedMessage; + case 5: return Type_PlayersActionDoneMessage; + case 6: return Type_DealFlopCardsMessage; + case 7: return Type_DealTurnCardMessage; + case 8: return Type_DealRiverCardMessage; + case 9: return Type_AllInShowCardsMessage; + case 10: return Type_EndOfHandShowCardsMessage; + case 11: return Type_EndOfHandHideCardsMessage; + case 12: return Type_ShowMyCardsRequestMessage; + case 13: return Type_AfterHandShowCardsMessage; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public GameEngineMessageType findValueByNumber(int number) { + return GameEngineMessageType.valueOf(number); + } + }; + + private final int value; + + private GameEngineMessageType(int index, int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:GameEngineMessage.GameEngineMessageType) + } + + private int bitField0_; + // required .GameEngineMessage.GameEngineMessageType messageType = 1; + public static final int MESSAGETYPE_FIELD_NUMBER = 1; + private de.pokerth.protocol.ProtoBuf.GameEngineMessage.GameEngineMessageType messageType_; + /** + * required .GameEngineMessage.GameEngineMessageType messageType = 1; + */ + public boolean hasMessageType() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * required .GameEngineMessage.GameEngineMessageType messageType = 1; + */ + public de.pokerth.protocol.ProtoBuf.GameEngineMessage.GameEngineMessageType getMessageType() { + return messageType_; + } + + // optional .HandStartMessage handStartMessage = 2; + public static final int HANDSTARTMESSAGE_FIELD_NUMBER = 2; + private de.pokerth.protocol.ProtoBuf.HandStartMessage handStartMessage_; + /** + * optional .HandStartMessage handStartMessage = 2; + */ + public boolean hasHandStartMessage() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * optional .HandStartMessage handStartMessage = 2; + */ + public de.pokerth.protocol.ProtoBuf.HandStartMessage getHandStartMessage() { + return handStartMessage_; + } + + // optional .PlayersTurnMessage playersTurnMessage = 3; + public static final int PLAYERSTURNMESSAGE_FIELD_NUMBER = 3; + private de.pokerth.protocol.ProtoBuf.PlayersTurnMessage playersTurnMessage_; + /** + * optional .PlayersTurnMessage playersTurnMessage = 3; + */ + public boolean hasPlayersTurnMessage() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + /** + * optional .PlayersTurnMessage playersTurnMessage = 3; + */ + public de.pokerth.protocol.ProtoBuf.PlayersTurnMessage getPlayersTurnMessage() { + return playersTurnMessage_; + } + + // optional .MyActionRequestMessage myActionRequestMessage = 4; + public static final int MYACTIONREQUESTMESSAGE_FIELD_NUMBER = 4; + private de.pokerth.protocol.ProtoBuf.MyActionRequestMessage myActionRequestMessage_; + /** + * optional .MyActionRequestMessage myActionRequestMessage = 4; + */ + public boolean hasMyActionRequestMessage() { + return ((bitField0_ & 0x00000008) == 0x00000008); + } + /** + * optional .MyActionRequestMessage myActionRequestMessage = 4; + */ + public de.pokerth.protocol.ProtoBuf.MyActionRequestMessage getMyActionRequestMessage() { + return myActionRequestMessage_; + } + + // optional .YourActionRejectedMessage yourActionRejectedMessage = 5; + public static final int YOURACTIONREJECTEDMESSAGE_FIELD_NUMBER = 5; + private de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage yourActionRejectedMessage_; + /** + * optional .YourActionRejectedMessage yourActionRejectedMessage = 5; + */ + public boolean hasYourActionRejectedMessage() { + return ((bitField0_ & 0x00000010) == 0x00000010); + } + /** + * optional .YourActionRejectedMessage yourActionRejectedMessage = 5; + */ + public de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage getYourActionRejectedMessage() { + return yourActionRejectedMessage_; + } + + // optional .PlayersActionDoneMessage playersActionDoneMessage = 6; + public static final int PLAYERSACTIONDONEMESSAGE_FIELD_NUMBER = 6; + private de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage playersActionDoneMessage_; + /** + * optional .PlayersActionDoneMessage playersActionDoneMessage = 6; + */ + public boolean hasPlayersActionDoneMessage() { + return ((bitField0_ & 0x00000020) == 0x00000020); + } + /** + * optional .PlayersActionDoneMessage playersActionDoneMessage = 6; + */ + public de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage getPlayersActionDoneMessage() { + return playersActionDoneMessage_; + } + + // optional .DealFlopCardsMessage dealFlopCardsMessage = 7; + public static final int DEALFLOPCARDSMESSAGE_FIELD_NUMBER = 7; + private de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage dealFlopCardsMessage_; + /** + * optional .DealFlopCardsMessage dealFlopCardsMessage = 7; + */ + public boolean hasDealFlopCardsMessage() { + return ((bitField0_ & 0x00000040) == 0x00000040); + } + /** + * optional .DealFlopCardsMessage dealFlopCardsMessage = 7; + */ + public de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage getDealFlopCardsMessage() { + return dealFlopCardsMessage_; + } + + // optional .DealTurnCardMessage dealTurnCardMessage = 8; + public static final int DEALTURNCARDMESSAGE_FIELD_NUMBER = 8; + private de.pokerth.protocol.ProtoBuf.DealTurnCardMessage dealTurnCardMessage_; + /** + * optional .DealTurnCardMessage dealTurnCardMessage = 8; + */ + public boolean hasDealTurnCardMessage() { + return ((bitField0_ & 0x00000080) == 0x00000080); + } + /** + * optional .DealTurnCardMessage dealTurnCardMessage = 8; + */ + public de.pokerth.protocol.ProtoBuf.DealTurnCardMessage getDealTurnCardMessage() { + return dealTurnCardMessage_; + } + + // optional .DealRiverCardMessage dealRiverCardMessage = 9; + public static final int DEALRIVERCARDMESSAGE_FIELD_NUMBER = 9; + private de.pokerth.protocol.ProtoBuf.DealRiverCardMessage dealRiverCardMessage_; + /** + * optional .DealRiverCardMessage dealRiverCardMessage = 9; + */ + public boolean hasDealRiverCardMessage() { + return ((bitField0_ & 0x00000100) == 0x00000100); + } + /** + * optional .DealRiverCardMessage dealRiverCardMessage = 9; + */ + public de.pokerth.protocol.ProtoBuf.DealRiverCardMessage getDealRiverCardMessage() { + return dealRiverCardMessage_; + } + + // optional .AllInShowCardsMessage allInShowCardsMessage = 10; + public static final int ALLINSHOWCARDSMESSAGE_FIELD_NUMBER = 10; + private de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage allInShowCardsMessage_; + /** + * optional .AllInShowCardsMessage allInShowCardsMessage = 10; + */ + public boolean hasAllInShowCardsMessage() { + return ((bitField0_ & 0x00000200) == 0x00000200); + } + /** + * optional .AllInShowCardsMessage allInShowCardsMessage = 10; + */ + public de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage getAllInShowCardsMessage() { + return allInShowCardsMessage_; + } + + // optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 11; + public static final int ENDOFHANDSHOWCARDSMESSAGE_FIELD_NUMBER = 11; + private de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage endOfHandShowCardsMessage_; + /** + * optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 11; + */ + public boolean hasEndOfHandShowCardsMessage() { + return ((bitField0_ & 0x00000400) == 0x00000400); + } + /** + * optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 11; + */ + public de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage getEndOfHandShowCardsMessage() { + return endOfHandShowCardsMessage_; + } + + // optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 12; + public static final int ENDOFHANDHIDECARDSMESSAGE_FIELD_NUMBER = 12; + private de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage endOfHandHideCardsMessage_; + /** + * optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 12; + */ + public boolean hasEndOfHandHideCardsMessage() { + return ((bitField0_ & 0x00000800) == 0x00000800); + } + /** + * optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 12; + */ + public de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage getEndOfHandHideCardsMessage() { + return endOfHandHideCardsMessage_; + } + + // optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 13; + public static final int SHOWMYCARDSREQUESTMESSAGE_FIELD_NUMBER = 13; + private de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage showMyCardsRequestMessage_; + /** + * optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 13; + */ + public boolean hasShowMyCardsRequestMessage() { + return ((bitField0_ & 0x00001000) == 0x00001000); + } + /** + * optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 13; + */ + public de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage getShowMyCardsRequestMessage() { + return showMyCardsRequestMessage_; + } + + // optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 14; + public static final int AFTERHANDSHOWCARDSMESSAGE_FIELD_NUMBER = 14; + private de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage afterHandShowCardsMessage_; + /** + * optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 14; + */ + public boolean hasAfterHandShowCardsMessage() { + return ((bitField0_ & 0x00002000) == 0x00002000); + } + /** + * optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 14; + */ + public de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage getAfterHandShowCardsMessage() { + return afterHandShowCardsMessage_; + } + + private void initFields() { + messageType_ = de.pokerth.protocol.ProtoBuf.GameEngineMessage.GameEngineMessageType.Type_HandStartMessage; + handStartMessage_ = de.pokerth.protocol.ProtoBuf.HandStartMessage.getDefaultInstance(); + playersTurnMessage_ = de.pokerth.protocol.ProtoBuf.PlayersTurnMessage.getDefaultInstance(); + myActionRequestMessage_ = de.pokerth.protocol.ProtoBuf.MyActionRequestMessage.getDefaultInstance(); + yourActionRejectedMessage_ = de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.getDefaultInstance(); + playersActionDoneMessage_ = de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage.getDefaultInstance(); + dealFlopCardsMessage_ = de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage.getDefaultInstance(); + dealTurnCardMessage_ = de.pokerth.protocol.ProtoBuf.DealTurnCardMessage.getDefaultInstance(); + dealRiverCardMessage_ = de.pokerth.protocol.ProtoBuf.DealRiverCardMessage.getDefaultInstance(); + allInShowCardsMessage_ = de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.getDefaultInstance(); + endOfHandShowCardsMessage_ = de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage.getDefaultInstance(); + endOfHandHideCardsMessage_ = de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage.getDefaultInstance(); + showMyCardsRequestMessage_ = de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage.getDefaultInstance(); + afterHandShowCardsMessage_ = de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage.getDefaultInstance(); + } + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized != -1) return isInitialized == 1; + + if (!hasMessageType()) { + memoizedIsInitialized = 0; + return false; + } if (hasHandStartMessage()) { if (!getHandStartMessage().isInitialized()) { memoizedIsInitialized = 0; @@ -54222,170 +60121,2436 @@ public final class ProtoBuf { return false; } } - if (hasEndOfGameMessage()) { - if (!getEndOfGameMessage().isInitialized()) { + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); + if (((bitField0_ & 0x00000001) == 0x00000001)) { + output.writeEnum(1, messageType_.getNumber()); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + output.writeMessage(2, handStartMessage_); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + output.writeMessage(3, playersTurnMessage_); + } + if (((bitField0_ & 0x00000008) == 0x00000008)) { + output.writeMessage(4, myActionRequestMessage_); + } + if (((bitField0_ & 0x00000010) == 0x00000010)) { + output.writeMessage(5, yourActionRejectedMessage_); + } + if (((bitField0_ & 0x00000020) == 0x00000020)) { + output.writeMessage(6, playersActionDoneMessage_); + } + if (((bitField0_ & 0x00000040) == 0x00000040)) { + output.writeMessage(7, dealFlopCardsMessage_); + } + if (((bitField0_ & 0x00000080) == 0x00000080)) { + output.writeMessage(8, dealTurnCardMessage_); + } + if (((bitField0_ & 0x00000100) == 0x00000100)) { + output.writeMessage(9, dealRiverCardMessage_); + } + if (((bitField0_ & 0x00000200) == 0x00000200)) { + output.writeMessage(10, allInShowCardsMessage_); + } + if (((bitField0_ & 0x00000400) == 0x00000400)) { + output.writeMessage(11, endOfHandShowCardsMessage_); + } + if (((bitField0_ & 0x00000800) == 0x00000800)) { + output.writeMessage(12, endOfHandHideCardsMessage_); + } + if (((bitField0_ & 0x00001000) == 0x00001000)) { + output.writeMessage(13, showMyCardsRequestMessage_); + } + if (((bitField0_ & 0x00002000) == 0x00002000)) { + output.writeMessage(14, afterHandShowCardsMessage_); + } + } + + private int memoizedSerializedSize = -1; + public int getSerializedSize() { + int size = memoizedSerializedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) == 0x00000001)) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, messageType_.getNumber()); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, handStartMessage_); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, playersTurnMessage_); + } + if (((bitField0_ & 0x00000008) == 0x00000008)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, myActionRequestMessage_); + } + if (((bitField0_ & 0x00000010) == 0x00000010)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, yourActionRejectedMessage_); + } + if (((bitField0_ & 0x00000020) == 0x00000020)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, playersActionDoneMessage_); + } + if (((bitField0_ & 0x00000040) == 0x00000040)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, dealFlopCardsMessage_); + } + if (((bitField0_ & 0x00000080) == 0x00000080)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, dealTurnCardMessage_); + } + if (((bitField0_ & 0x00000100) == 0x00000100)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, dealRiverCardMessage_); + } + if (((bitField0_ & 0x00000200) == 0x00000200)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, allInShowCardsMessage_); + } + if (((bitField0_ & 0x00000400) == 0x00000400)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, endOfHandShowCardsMessage_); + } + if (((bitField0_ & 0x00000800) == 0x00000800)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, endOfHandHideCardsMessage_); + } + if (((bitField0_ & 0x00001000) == 0x00001000)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(13, showMyCardsRequestMessage_); + } + if (((bitField0_ & 0x00002000) == 0x00002000)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(14, afterHandShowCardsMessage_); + } + memoizedSerializedSize = size; + return size; + } + + private static final long serialVersionUID = 0L; + @java.lang.Override + protected java.lang.Object writeReplace() + throws java.io.ObjectStreamException { + return super.writeReplace(); + } + + public static de.pokerth.protocol.ProtoBuf.GameEngineMessage parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.GameEngineMessage parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.GameEngineMessage parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.GameEngineMessage parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.GameEngineMessage parseFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.GameEngineMessage parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.GameEngineMessage parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.GameEngineMessage parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.GameEngineMessage parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.GameEngineMessage parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + + public static Builder newBuilder() { return Builder.create(); } + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.GameEngineMessage prototype) { + return newBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { return newBuilder(this); } + + /** + * Protobuf type {@code GameEngineMessage} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageLite.Builder< + de.pokerth.protocol.ProtoBuf.GameEngineMessage, Builder> + implements de.pokerth.protocol.ProtoBuf.GameEngineMessageOrBuilder { + // Construct using de.pokerth.protocol.ProtoBuf.GameEngineMessage.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + } + private static Builder create() { + return new Builder(); + } + + public Builder clear() { + super.clear(); + messageType_ = de.pokerth.protocol.ProtoBuf.GameEngineMessage.GameEngineMessageType.Type_HandStartMessage; + bitField0_ = (bitField0_ & ~0x00000001); + handStartMessage_ = de.pokerth.protocol.ProtoBuf.HandStartMessage.getDefaultInstance(); + bitField0_ = (bitField0_ & ~0x00000002); + playersTurnMessage_ = de.pokerth.protocol.ProtoBuf.PlayersTurnMessage.getDefaultInstance(); + bitField0_ = (bitField0_ & ~0x00000004); + myActionRequestMessage_ = de.pokerth.protocol.ProtoBuf.MyActionRequestMessage.getDefaultInstance(); + bitField0_ = (bitField0_ & ~0x00000008); + yourActionRejectedMessage_ = de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.getDefaultInstance(); + bitField0_ = (bitField0_ & ~0x00000010); + playersActionDoneMessage_ = de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage.getDefaultInstance(); + bitField0_ = (bitField0_ & ~0x00000020); + dealFlopCardsMessage_ = de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage.getDefaultInstance(); + bitField0_ = (bitField0_ & ~0x00000040); + dealTurnCardMessage_ = de.pokerth.protocol.ProtoBuf.DealTurnCardMessage.getDefaultInstance(); + bitField0_ = (bitField0_ & ~0x00000080); + dealRiverCardMessage_ = de.pokerth.protocol.ProtoBuf.DealRiverCardMessage.getDefaultInstance(); + bitField0_ = (bitField0_ & ~0x00000100); + allInShowCardsMessage_ = de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.getDefaultInstance(); + bitField0_ = (bitField0_ & ~0x00000200); + endOfHandShowCardsMessage_ = de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage.getDefaultInstance(); + bitField0_ = (bitField0_ & ~0x00000400); + endOfHandHideCardsMessage_ = de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage.getDefaultInstance(); + bitField0_ = (bitField0_ & ~0x00000800); + showMyCardsRequestMessage_ = de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage.getDefaultInstance(); + bitField0_ = (bitField0_ & ~0x00001000); + afterHandShowCardsMessage_ = de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage.getDefaultInstance(); + bitField0_ = (bitField0_ & ~0x00002000); + return this; + } + + public Builder clone() { + return create().mergeFrom(buildPartial()); + } + + public de.pokerth.protocol.ProtoBuf.GameEngineMessage getDefaultInstanceForType() { + return de.pokerth.protocol.ProtoBuf.GameEngineMessage.getDefaultInstance(); + } + + public de.pokerth.protocol.ProtoBuf.GameEngineMessage build() { + de.pokerth.protocol.ProtoBuf.GameEngineMessage result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public de.pokerth.protocol.ProtoBuf.GameEngineMessage buildPartial() { + de.pokerth.protocol.ProtoBuf.GameEngineMessage result = new de.pokerth.protocol.ProtoBuf.GameEngineMessage(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + to_bitField0_ |= 0x00000001; + } + result.messageType_ = messageType_; + if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + to_bitField0_ |= 0x00000002; + } + result.handStartMessage_ = handStartMessage_; + if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + to_bitField0_ |= 0x00000004; + } + result.playersTurnMessage_ = playersTurnMessage_; + if (((from_bitField0_ & 0x00000008) == 0x00000008)) { + to_bitField0_ |= 0x00000008; + } + result.myActionRequestMessage_ = myActionRequestMessage_; + if (((from_bitField0_ & 0x00000010) == 0x00000010)) { + to_bitField0_ |= 0x00000010; + } + result.yourActionRejectedMessage_ = yourActionRejectedMessage_; + if (((from_bitField0_ & 0x00000020) == 0x00000020)) { + to_bitField0_ |= 0x00000020; + } + result.playersActionDoneMessage_ = playersActionDoneMessage_; + if (((from_bitField0_ & 0x00000040) == 0x00000040)) { + to_bitField0_ |= 0x00000040; + } + result.dealFlopCardsMessage_ = dealFlopCardsMessage_; + if (((from_bitField0_ & 0x00000080) == 0x00000080)) { + to_bitField0_ |= 0x00000080; + } + result.dealTurnCardMessage_ = dealTurnCardMessage_; + if (((from_bitField0_ & 0x00000100) == 0x00000100)) { + to_bitField0_ |= 0x00000100; + } + result.dealRiverCardMessage_ = dealRiverCardMessage_; + if (((from_bitField0_ & 0x00000200) == 0x00000200)) { + to_bitField0_ |= 0x00000200; + } + result.allInShowCardsMessage_ = allInShowCardsMessage_; + if (((from_bitField0_ & 0x00000400) == 0x00000400)) { + to_bitField0_ |= 0x00000400; + } + result.endOfHandShowCardsMessage_ = endOfHandShowCardsMessage_; + if (((from_bitField0_ & 0x00000800) == 0x00000800)) { + to_bitField0_ |= 0x00000800; + } + result.endOfHandHideCardsMessage_ = endOfHandHideCardsMessage_; + if (((from_bitField0_ & 0x00001000) == 0x00001000)) { + to_bitField0_ |= 0x00001000; + } + result.showMyCardsRequestMessage_ = showMyCardsRequestMessage_; + if (((from_bitField0_ & 0x00002000) == 0x00002000)) { + to_bitField0_ |= 0x00002000; + } + result.afterHandShowCardsMessage_ = afterHandShowCardsMessage_; + result.bitField0_ = to_bitField0_; + return result; + } + + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.GameEngineMessage other) { + if (other == de.pokerth.protocol.ProtoBuf.GameEngineMessage.getDefaultInstance()) return this; + if (other.hasMessageType()) { + setMessageType(other.getMessageType()); + } + if (other.hasHandStartMessage()) { + mergeHandStartMessage(other.getHandStartMessage()); + } + if (other.hasPlayersTurnMessage()) { + mergePlayersTurnMessage(other.getPlayersTurnMessage()); + } + if (other.hasMyActionRequestMessage()) { + mergeMyActionRequestMessage(other.getMyActionRequestMessage()); + } + if (other.hasYourActionRejectedMessage()) { + mergeYourActionRejectedMessage(other.getYourActionRejectedMessage()); + } + if (other.hasPlayersActionDoneMessage()) { + mergePlayersActionDoneMessage(other.getPlayersActionDoneMessage()); + } + if (other.hasDealFlopCardsMessage()) { + mergeDealFlopCardsMessage(other.getDealFlopCardsMessage()); + } + if (other.hasDealTurnCardMessage()) { + mergeDealTurnCardMessage(other.getDealTurnCardMessage()); + } + if (other.hasDealRiverCardMessage()) { + mergeDealRiverCardMessage(other.getDealRiverCardMessage()); + } + if (other.hasAllInShowCardsMessage()) { + mergeAllInShowCardsMessage(other.getAllInShowCardsMessage()); + } + if (other.hasEndOfHandShowCardsMessage()) { + mergeEndOfHandShowCardsMessage(other.getEndOfHandShowCardsMessage()); + } + if (other.hasEndOfHandHideCardsMessage()) { + mergeEndOfHandHideCardsMessage(other.getEndOfHandHideCardsMessage()); + } + if (other.hasShowMyCardsRequestMessage()) { + mergeShowMyCardsRequestMessage(other.getShowMyCardsRequestMessage()); + } + if (other.hasAfterHandShowCardsMessage()) { + mergeAfterHandShowCardsMessage(other.getAfterHandShowCardsMessage()); + } + return this; + } + + public final boolean isInitialized() { + if (!hasMessageType()) { + + return false; + } + if (hasHandStartMessage()) { + if (!getHandStartMessage().isInitialized()) { + + return false; + } + } + if (hasPlayersTurnMessage()) { + if (!getPlayersTurnMessage().isInitialized()) { + + return false; + } + } + if (hasMyActionRequestMessage()) { + if (!getMyActionRequestMessage().isInitialized()) { + + return false; + } + } + if (hasYourActionRejectedMessage()) { + if (!getYourActionRejectedMessage().isInitialized()) { + + return false; + } + } + if (hasPlayersActionDoneMessage()) { + if (!getPlayersActionDoneMessage().isInitialized()) { + + return false; + } + } + if (hasDealFlopCardsMessage()) { + if (!getDealFlopCardsMessage().isInitialized()) { + + return false; + } + } + if (hasDealTurnCardMessage()) { + if (!getDealTurnCardMessage().isInitialized()) { + + return false; + } + } + if (hasDealRiverCardMessage()) { + if (!getDealRiverCardMessage().isInitialized()) { + + return false; + } + } + if (hasAllInShowCardsMessage()) { + if (!getAllInShowCardsMessage().isInitialized()) { + + return false; + } + } + if (hasEndOfHandShowCardsMessage()) { + if (!getEndOfHandShowCardsMessage().isInitialized()) { + + return false; + } + } + if (hasEndOfHandHideCardsMessage()) { + if (!getEndOfHandHideCardsMessage().isInitialized()) { + + return false; + } + } + if (hasAfterHandShowCardsMessage()) { + if (!getAfterHandShowCardsMessage().isInitialized()) { + + return false; + } + } + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + de.pokerth.protocol.ProtoBuf.GameEngineMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.GameEngineMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + // required .GameEngineMessage.GameEngineMessageType messageType = 1; + private de.pokerth.protocol.ProtoBuf.GameEngineMessage.GameEngineMessageType messageType_ = de.pokerth.protocol.ProtoBuf.GameEngineMessage.GameEngineMessageType.Type_HandStartMessage; + /** + * required .GameEngineMessage.GameEngineMessageType messageType = 1; + */ + public boolean hasMessageType() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * required .GameEngineMessage.GameEngineMessageType messageType = 1; + */ + public de.pokerth.protocol.ProtoBuf.GameEngineMessage.GameEngineMessageType getMessageType() { + return messageType_; + } + /** + * required .GameEngineMessage.GameEngineMessageType messageType = 1; + */ + public Builder setMessageType(de.pokerth.protocol.ProtoBuf.GameEngineMessage.GameEngineMessageType value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + messageType_ = value; + + return this; + } + /** + * required .GameEngineMessage.GameEngineMessageType messageType = 1; + */ + public Builder clearMessageType() { + bitField0_ = (bitField0_ & ~0x00000001); + messageType_ = de.pokerth.protocol.ProtoBuf.GameEngineMessage.GameEngineMessageType.Type_HandStartMessage; + + return this; + } + + // optional .HandStartMessage handStartMessage = 2; + private de.pokerth.protocol.ProtoBuf.HandStartMessage handStartMessage_ = de.pokerth.protocol.ProtoBuf.HandStartMessage.getDefaultInstance(); + /** + * optional .HandStartMessage handStartMessage = 2; + */ + public boolean hasHandStartMessage() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * optional .HandStartMessage handStartMessage = 2; + */ + public de.pokerth.protocol.ProtoBuf.HandStartMessage getHandStartMessage() { + return handStartMessage_; + } + /** + * optional .HandStartMessage handStartMessage = 2; + */ + public Builder setHandStartMessage(de.pokerth.protocol.ProtoBuf.HandStartMessage value) { + if (value == null) { + throw new NullPointerException(); + } + handStartMessage_ = value; + + bitField0_ |= 0x00000002; + return this; + } + /** + * optional .HandStartMessage handStartMessage = 2; + */ + public Builder setHandStartMessage( + de.pokerth.protocol.ProtoBuf.HandStartMessage.Builder builderForValue) { + handStartMessage_ = builderForValue.build(); + + bitField0_ |= 0x00000002; + return this; + } + /** + * optional .HandStartMessage handStartMessage = 2; + */ + public Builder mergeHandStartMessage(de.pokerth.protocol.ProtoBuf.HandStartMessage value) { + if (((bitField0_ & 0x00000002) == 0x00000002) && + handStartMessage_ != de.pokerth.protocol.ProtoBuf.HandStartMessage.getDefaultInstance()) { + handStartMessage_ = + de.pokerth.protocol.ProtoBuf.HandStartMessage.newBuilder(handStartMessage_).mergeFrom(value).buildPartial(); + } else { + handStartMessage_ = value; + } + + bitField0_ |= 0x00000002; + return this; + } + /** + * optional .HandStartMessage handStartMessage = 2; + */ + public Builder clearHandStartMessage() { + handStartMessage_ = de.pokerth.protocol.ProtoBuf.HandStartMessage.getDefaultInstance(); + + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + + // optional .PlayersTurnMessage playersTurnMessage = 3; + private de.pokerth.protocol.ProtoBuf.PlayersTurnMessage playersTurnMessage_ = de.pokerth.protocol.ProtoBuf.PlayersTurnMessage.getDefaultInstance(); + /** + * optional .PlayersTurnMessage playersTurnMessage = 3; + */ + public boolean hasPlayersTurnMessage() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + /** + * optional .PlayersTurnMessage playersTurnMessage = 3; + */ + public de.pokerth.protocol.ProtoBuf.PlayersTurnMessage getPlayersTurnMessage() { + return playersTurnMessage_; + } + /** + * optional .PlayersTurnMessage playersTurnMessage = 3; + */ + public Builder setPlayersTurnMessage(de.pokerth.protocol.ProtoBuf.PlayersTurnMessage value) { + if (value == null) { + throw new NullPointerException(); + } + playersTurnMessage_ = value; + + bitField0_ |= 0x00000004; + return this; + } + /** + * optional .PlayersTurnMessage playersTurnMessage = 3; + */ + public Builder setPlayersTurnMessage( + de.pokerth.protocol.ProtoBuf.PlayersTurnMessage.Builder builderForValue) { + playersTurnMessage_ = builderForValue.build(); + + bitField0_ |= 0x00000004; + return this; + } + /** + * optional .PlayersTurnMessage playersTurnMessage = 3; + */ + public Builder mergePlayersTurnMessage(de.pokerth.protocol.ProtoBuf.PlayersTurnMessage value) { + if (((bitField0_ & 0x00000004) == 0x00000004) && + playersTurnMessage_ != de.pokerth.protocol.ProtoBuf.PlayersTurnMessage.getDefaultInstance()) { + playersTurnMessage_ = + de.pokerth.protocol.ProtoBuf.PlayersTurnMessage.newBuilder(playersTurnMessage_).mergeFrom(value).buildPartial(); + } else { + playersTurnMessage_ = value; + } + + bitField0_ |= 0x00000004; + return this; + } + /** + * optional .PlayersTurnMessage playersTurnMessage = 3; + */ + public Builder clearPlayersTurnMessage() { + playersTurnMessage_ = de.pokerth.protocol.ProtoBuf.PlayersTurnMessage.getDefaultInstance(); + + bitField0_ = (bitField0_ & ~0x00000004); + return this; + } + + // optional .MyActionRequestMessage myActionRequestMessage = 4; + private de.pokerth.protocol.ProtoBuf.MyActionRequestMessage myActionRequestMessage_ = de.pokerth.protocol.ProtoBuf.MyActionRequestMessage.getDefaultInstance(); + /** + * optional .MyActionRequestMessage myActionRequestMessage = 4; + */ + public boolean hasMyActionRequestMessage() { + return ((bitField0_ & 0x00000008) == 0x00000008); + } + /** + * optional .MyActionRequestMessage myActionRequestMessage = 4; + */ + public de.pokerth.protocol.ProtoBuf.MyActionRequestMessage getMyActionRequestMessage() { + return myActionRequestMessage_; + } + /** + * optional .MyActionRequestMessage myActionRequestMessage = 4; + */ + public Builder setMyActionRequestMessage(de.pokerth.protocol.ProtoBuf.MyActionRequestMessage value) { + if (value == null) { + throw new NullPointerException(); + } + myActionRequestMessage_ = value; + + bitField0_ |= 0x00000008; + return this; + } + /** + * optional .MyActionRequestMessage myActionRequestMessage = 4; + */ + public Builder setMyActionRequestMessage( + de.pokerth.protocol.ProtoBuf.MyActionRequestMessage.Builder builderForValue) { + myActionRequestMessage_ = builderForValue.build(); + + bitField0_ |= 0x00000008; + return this; + } + /** + * optional .MyActionRequestMessage myActionRequestMessage = 4; + */ + public Builder mergeMyActionRequestMessage(de.pokerth.protocol.ProtoBuf.MyActionRequestMessage value) { + if (((bitField0_ & 0x00000008) == 0x00000008) && + myActionRequestMessage_ != de.pokerth.protocol.ProtoBuf.MyActionRequestMessage.getDefaultInstance()) { + myActionRequestMessage_ = + de.pokerth.protocol.ProtoBuf.MyActionRequestMessage.newBuilder(myActionRequestMessage_).mergeFrom(value).buildPartial(); + } else { + myActionRequestMessage_ = value; + } + + bitField0_ |= 0x00000008; + return this; + } + /** + * optional .MyActionRequestMessage myActionRequestMessage = 4; + */ + public Builder clearMyActionRequestMessage() { + myActionRequestMessage_ = de.pokerth.protocol.ProtoBuf.MyActionRequestMessage.getDefaultInstance(); + + bitField0_ = (bitField0_ & ~0x00000008); + return this; + } + + // optional .YourActionRejectedMessage yourActionRejectedMessage = 5; + private de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage yourActionRejectedMessage_ = de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.getDefaultInstance(); + /** + * optional .YourActionRejectedMessage yourActionRejectedMessage = 5; + */ + public boolean hasYourActionRejectedMessage() { + return ((bitField0_ & 0x00000010) == 0x00000010); + } + /** + * optional .YourActionRejectedMessage yourActionRejectedMessage = 5; + */ + public de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage getYourActionRejectedMessage() { + return yourActionRejectedMessage_; + } + /** + * optional .YourActionRejectedMessage yourActionRejectedMessage = 5; + */ + public Builder setYourActionRejectedMessage(de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage value) { + if (value == null) { + throw new NullPointerException(); + } + yourActionRejectedMessage_ = value; + + bitField0_ |= 0x00000010; + return this; + } + /** + * optional .YourActionRejectedMessage yourActionRejectedMessage = 5; + */ + public Builder setYourActionRejectedMessage( + de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.Builder builderForValue) { + yourActionRejectedMessage_ = builderForValue.build(); + + bitField0_ |= 0x00000010; + return this; + } + /** + * optional .YourActionRejectedMessage yourActionRejectedMessage = 5; + */ + public Builder mergeYourActionRejectedMessage(de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage value) { + if (((bitField0_ & 0x00000010) == 0x00000010) && + yourActionRejectedMessage_ != de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.getDefaultInstance()) { + yourActionRejectedMessage_ = + de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.newBuilder(yourActionRejectedMessage_).mergeFrom(value).buildPartial(); + } else { + yourActionRejectedMessage_ = value; + } + + bitField0_ |= 0x00000010; + return this; + } + /** + * optional .YourActionRejectedMessage yourActionRejectedMessage = 5; + */ + public Builder clearYourActionRejectedMessage() { + yourActionRejectedMessage_ = de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.getDefaultInstance(); + + bitField0_ = (bitField0_ & ~0x00000010); + return this; + } + + // optional .PlayersActionDoneMessage playersActionDoneMessage = 6; + private de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage playersActionDoneMessage_ = de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage.getDefaultInstance(); + /** + * optional .PlayersActionDoneMessage playersActionDoneMessage = 6; + */ + public boolean hasPlayersActionDoneMessage() { + return ((bitField0_ & 0x00000020) == 0x00000020); + } + /** + * optional .PlayersActionDoneMessage playersActionDoneMessage = 6; + */ + public de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage getPlayersActionDoneMessage() { + return playersActionDoneMessage_; + } + /** + * optional .PlayersActionDoneMessage playersActionDoneMessage = 6; + */ + public Builder setPlayersActionDoneMessage(de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage value) { + if (value == null) { + throw new NullPointerException(); + } + playersActionDoneMessage_ = value; + + bitField0_ |= 0x00000020; + return this; + } + /** + * optional .PlayersActionDoneMessage playersActionDoneMessage = 6; + */ + public Builder setPlayersActionDoneMessage( + de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage.Builder builderForValue) { + playersActionDoneMessage_ = builderForValue.build(); + + bitField0_ |= 0x00000020; + return this; + } + /** + * optional .PlayersActionDoneMessage playersActionDoneMessage = 6; + */ + public Builder mergePlayersActionDoneMessage(de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage value) { + if (((bitField0_ & 0x00000020) == 0x00000020) && + playersActionDoneMessage_ != de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage.getDefaultInstance()) { + playersActionDoneMessage_ = + de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage.newBuilder(playersActionDoneMessage_).mergeFrom(value).buildPartial(); + } else { + playersActionDoneMessage_ = value; + } + + bitField0_ |= 0x00000020; + return this; + } + /** + * optional .PlayersActionDoneMessage playersActionDoneMessage = 6; + */ + public Builder clearPlayersActionDoneMessage() { + playersActionDoneMessage_ = de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage.getDefaultInstance(); + + bitField0_ = (bitField0_ & ~0x00000020); + return this; + } + + // optional .DealFlopCardsMessage dealFlopCardsMessage = 7; + private de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage dealFlopCardsMessage_ = de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage.getDefaultInstance(); + /** + * optional .DealFlopCardsMessage dealFlopCardsMessage = 7; + */ + public boolean hasDealFlopCardsMessage() { + return ((bitField0_ & 0x00000040) == 0x00000040); + } + /** + * optional .DealFlopCardsMessage dealFlopCardsMessage = 7; + */ + public de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage getDealFlopCardsMessage() { + return dealFlopCardsMessage_; + } + /** + * optional .DealFlopCardsMessage dealFlopCardsMessage = 7; + */ + public Builder setDealFlopCardsMessage(de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage value) { + if (value == null) { + throw new NullPointerException(); + } + dealFlopCardsMessage_ = value; + + bitField0_ |= 0x00000040; + return this; + } + /** + * optional .DealFlopCardsMessage dealFlopCardsMessage = 7; + */ + public Builder setDealFlopCardsMessage( + de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage.Builder builderForValue) { + dealFlopCardsMessage_ = builderForValue.build(); + + bitField0_ |= 0x00000040; + return this; + } + /** + * optional .DealFlopCardsMessage dealFlopCardsMessage = 7; + */ + public Builder mergeDealFlopCardsMessage(de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage value) { + if (((bitField0_ & 0x00000040) == 0x00000040) && + dealFlopCardsMessage_ != de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage.getDefaultInstance()) { + dealFlopCardsMessage_ = + de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage.newBuilder(dealFlopCardsMessage_).mergeFrom(value).buildPartial(); + } else { + dealFlopCardsMessage_ = value; + } + + bitField0_ |= 0x00000040; + return this; + } + /** + * optional .DealFlopCardsMessage dealFlopCardsMessage = 7; + */ + public Builder clearDealFlopCardsMessage() { + dealFlopCardsMessage_ = de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage.getDefaultInstance(); + + bitField0_ = (bitField0_ & ~0x00000040); + return this; + } + + // optional .DealTurnCardMessage dealTurnCardMessage = 8; + private de.pokerth.protocol.ProtoBuf.DealTurnCardMessage dealTurnCardMessage_ = de.pokerth.protocol.ProtoBuf.DealTurnCardMessage.getDefaultInstance(); + /** + * optional .DealTurnCardMessage dealTurnCardMessage = 8; + */ + public boolean hasDealTurnCardMessage() { + return ((bitField0_ & 0x00000080) == 0x00000080); + } + /** + * optional .DealTurnCardMessage dealTurnCardMessage = 8; + */ + public de.pokerth.protocol.ProtoBuf.DealTurnCardMessage getDealTurnCardMessage() { + return dealTurnCardMessage_; + } + /** + * optional .DealTurnCardMessage dealTurnCardMessage = 8; + */ + public Builder setDealTurnCardMessage(de.pokerth.protocol.ProtoBuf.DealTurnCardMessage value) { + if (value == null) { + throw new NullPointerException(); + } + dealTurnCardMessage_ = value; + + bitField0_ |= 0x00000080; + return this; + } + /** + * optional .DealTurnCardMessage dealTurnCardMessage = 8; + */ + public Builder setDealTurnCardMessage( + de.pokerth.protocol.ProtoBuf.DealTurnCardMessage.Builder builderForValue) { + dealTurnCardMessage_ = builderForValue.build(); + + bitField0_ |= 0x00000080; + return this; + } + /** + * optional .DealTurnCardMessage dealTurnCardMessage = 8; + */ + public Builder mergeDealTurnCardMessage(de.pokerth.protocol.ProtoBuf.DealTurnCardMessage value) { + if (((bitField0_ & 0x00000080) == 0x00000080) && + dealTurnCardMessage_ != de.pokerth.protocol.ProtoBuf.DealTurnCardMessage.getDefaultInstance()) { + dealTurnCardMessage_ = + de.pokerth.protocol.ProtoBuf.DealTurnCardMessage.newBuilder(dealTurnCardMessage_).mergeFrom(value).buildPartial(); + } else { + dealTurnCardMessage_ = value; + } + + bitField0_ |= 0x00000080; + return this; + } + /** + * optional .DealTurnCardMessage dealTurnCardMessage = 8; + */ + public Builder clearDealTurnCardMessage() { + dealTurnCardMessage_ = de.pokerth.protocol.ProtoBuf.DealTurnCardMessage.getDefaultInstance(); + + bitField0_ = (bitField0_ & ~0x00000080); + return this; + } + + // optional .DealRiverCardMessage dealRiverCardMessage = 9; + private de.pokerth.protocol.ProtoBuf.DealRiverCardMessage dealRiverCardMessage_ = de.pokerth.protocol.ProtoBuf.DealRiverCardMessage.getDefaultInstance(); + /** + * optional .DealRiverCardMessage dealRiverCardMessage = 9; + */ + public boolean hasDealRiverCardMessage() { + return ((bitField0_ & 0x00000100) == 0x00000100); + } + /** + * optional .DealRiverCardMessage dealRiverCardMessage = 9; + */ + public de.pokerth.protocol.ProtoBuf.DealRiverCardMessage getDealRiverCardMessage() { + return dealRiverCardMessage_; + } + /** + * optional .DealRiverCardMessage dealRiverCardMessage = 9; + */ + public Builder setDealRiverCardMessage(de.pokerth.protocol.ProtoBuf.DealRiverCardMessage value) { + if (value == null) { + throw new NullPointerException(); + } + dealRiverCardMessage_ = value; + + bitField0_ |= 0x00000100; + return this; + } + /** + * optional .DealRiverCardMessage dealRiverCardMessage = 9; + */ + public Builder setDealRiverCardMessage( + de.pokerth.protocol.ProtoBuf.DealRiverCardMessage.Builder builderForValue) { + dealRiverCardMessage_ = builderForValue.build(); + + bitField0_ |= 0x00000100; + return this; + } + /** + * optional .DealRiverCardMessage dealRiverCardMessage = 9; + */ + public Builder mergeDealRiverCardMessage(de.pokerth.protocol.ProtoBuf.DealRiverCardMessage value) { + if (((bitField0_ & 0x00000100) == 0x00000100) && + dealRiverCardMessage_ != de.pokerth.protocol.ProtoBuf.DealRiverCardMessage.getDefaultInstance()) { + dealRiverCardMessage_ = + de.pokerth.protocol.ProtoBuf.DealRiverCardMessage.newBuilder(dealRiverCardMessage_).mergeFrom(value).buildPartial(); + } else { + dealRiverCardMessage_ = value; + } + + bitField0_ |= 0x00000100; + return this; + } + /** + * optional .DealRiverCardMessage dealRiverCardMessage = 9; + */ + public Builder clearDealRiverCardMessage() { + dealRiverCardMessage_ = de.pokerth.protocol.ProtoBuf.DealRiverCardMessage.getDefaultInstance(); + + bitField0_ = (bitField0_ & ~0x00000100); + return this; + } + + // optional .AllInShowCardsMessage allInShowCardsMessage = 10; + private de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage allInShowCardsMessage_ = de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.getDefaultInstance(); + /** + * optional .AllInShowCardsMessage allInShowCardsMessage = 10; + */ + public boolean hasAllInShowCardsMessage() { + return ((bitField0_ & 0x00000200) == 0x00000200); + } + /** + * optional .AllInShowCardsMessage allInShowCardsMessage = 10; + */ + public de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage getAllInShowCardsMessage() { + return allInShowCardsMessage_; + } + /** + * optional .AllInShowCardsMessage allInShowCardsMessage = 10; + */ + public Builder setAllInShowCardsMessage(de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage value) { + if (value == null) { + throw new NullPointerException(); + } + allInShowCardsMessage_ = value; + + bitField0_ |= 0x00000200; + return this; + } + /** + * optional .AllInShowCardsMessage allInShowCardsMessage = 10; + */ + public Builder setAllInShowCardsMessage( + de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.Builder builderForValue) { + allInShowCardsMessage_ = builderForValue.build(); + + bitField0_ |= 0x00000200; + return this; + } + /** + * optional .AllInShowCardsMessage allInShowCardsMessage = 10; + */ + public Builder mergeAllInShowCardsMessage(de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage value) { + if (((bitField0_ & 0x00000200) == 0x00000200) && + allInShowCardsMessage_ != de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.getDefaultInstance()) { + allInShowCardsMessage_ = + de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.newBuilder(allInShowCardsMessage_).mergeFrom(value).buildPartial(); + } else { + allInShowCardsMessage_ = value; + } + + bitField0_ |= 0x00000200; + return this; + } + /** + * optional .AllInShowCardsMessage allInShowCardsMessage = 10; + */ + public Builder clearAllInShowCardsMessage() { + allInShowCardsMessage_ = de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.getDefaultInstance(); + + bitField0_ = (bitField0_ & ~0x00000200); + return this; + } + + // optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 11; + private de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage endOfHandShowCardsMessage_ = de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage.getDefaultInstance(); + /** + * optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 11; + */ + public boolean hasEndOfHandShowCardsMessage() { + return ((bitField0_ & 0x00000400) == 0x00000400); + } + /** + * optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 11; + */ + public de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage getEndOfHandShowCardsMessage() { + return endOfHandShowCardsMessage_; + } + /** + * optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 11; + */ + public Builder setEndOfHandShowCardsMessage(de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage value) { + if (value == null) { + throw new NullPointerException(); + } + endOfHandShowCardsMessage_ = value; + + bitField0_ |= 0x00000400; + return this; + } + /** + * optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 11; + */ + public Builder setEndOfHandShowCardsMessage( + de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage.Builder builderForValue) { + endOfHandShowCardsMessage_ = builderForValue.build(); + + bitField0_ |= 0x00000400; + return this; + } + /** + * optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 11; + */ + public Builder mergeEndOfHandShowCardsMessage(de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage value) { + if (((bitField0_ & 0x00000400) == 0x00000400) && + endOfHandShowCardsMessage_ != de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage.getDefaultInstance()) { + endOfHandShowCardsMessage_ = + de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage.newBuilder(endOfHandShowCardsMessage_).mergeFrom(value).buildPartial(); + } else { + endOfHandShowCardsMessage_ = value; + } + + bitField0_ |= 0x00000400; + return this; + } + /** + * optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 11; + */ + public Builder clearEndOfHandShowCardsMessage() { + endOfHandShowCardsMessage_ = de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage.getDefaultInstance(); + + bitField0_ = (bitField0_ & ~0x00000400); + return this; + } + + // optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 12; + private de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage endOfHandHideCardsMessage_ = de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage.getDefaultInstance(); + /** + * optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 12; + */ + public boolean hasEndOfHandHideCardsMessage() { + return ((bitField0_ & 0x00000800) == 0x00000800); + } + /** + * optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 12; + */ + public de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage getEndOfHandHideCardsMessage() { + return endOfHandHideCardsMessage_; + } + /** + * optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 12; + */ + public Builder setEndOfHandHideCardsMessage(de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage value) { + if (value == null) { + throw new NullPointerException(); + } + endOfHandHideCardsMessage_ = value; + + bitField0_ |= 0x00000800; + return this; + } + /** + * optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 12; + */ + public Builder setEndOfHandHideCardsMessage( + de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage.Builder builderForValue) { + endOfHandHideCardsMessage_ = builderForValue.build(); + + bitField0_ |= 0x00000800; + return this; + } + /** + * optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 12; + */ + public Builder mergeEndOfHandHideCardsMessage(de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage value) { + if (((bitField0_ & 0x00000800) == 0x00000800) && + endOfHandHideCardsMessage_ != de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage.getDefaultInstance()) { + endOfHandHideCardsMessage_ = + de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage.newBuilder(endOfHandHideCardsMessage_).mergeFrom(value).buildPartial(); + } else { + endOfHandHideCardsMessage_ = value; + } + + bitField0_ |= 0x00000800; + return this; + } + /** + * optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 12; + */ + public Builder clearEndOfHandHideCardsMessage() { + endOfHandHideCardsMessage_ = de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage.getDefaultInstance(); + + bitField0_ = (bitField0_ & ~0x00000800); + return this; + } + + // optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 13; + private de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage showMyCardsRequestMessage_ = de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage.getDefaultInstance(); + /** + * optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 13; + */ + public boolean hasShowMyCardsRequestMessage() { + return ((bitField0_ & 0x00001000) == 0x00001000); + } + /** + * optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 13; + */ + public de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage getShowMyCardsRequestMessage() { + return showMyCardsRequestMessage_; + } + /** + * optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 13; + */ + public Builder setShowMyCardsRequestMessage(de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage value) { + if (value == null) { + throw new NullPointerException(); + } + showMyCardsRequestMessage_ = value; + + bitField0_ |= 0x00001000; + return this; + } + /** + * optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 13; + */ + public Builder setShowMyCardsRequestMessage( + de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage.Builder builderForValue) { + showMyCardsRequestMessage_ = builderForValue.build(); + + bitField0_ |= 0x00001000; + return this; + } + /** + * optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 13; + */ + public Builder mergeShowMyCardsRequestMessage(de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage value) { + if (((bitField0_ & 0x00001000) == 0x00001000) && + showMyCardsRequestMessage_ != de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage.getDefaultInstance()) { + showMyCardsRequestMessage_ = + de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage.newBuilder(showMyCardsRequestMessage_).mergeFrom(value).buildPartial(); + } else { + showMyCardsRequestMessage_ = value; + } + + bitField0_ |= 0x00001000; + return this; + } + /** + * optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 13; + */ + public Builder clearShowMyCardsRequestMessage() { + showMyCardsRequestMessage_ = de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage.getDefaultInstance(); + + bitField0_ = (bitField0_ & ~0x00001000); + return this; + } + + // optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 14; + private de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage afterHandShowCardsMessage_ = de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage.getDefaultInstance(); + /** + * optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 14; + */ + public boolean hasAfterHandShowCardsMessage() { + return ((bitField0_ & 0x00002000) == 0x00002000); + } + /** + * optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 14; + */ + public de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage getAfterHandShowCardsMessage() { + return afterHandShowCardsMessage_; + } + /** + * optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 14; + */ + public Builder setAfterHandShowCardsMessage(de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage value) { + if (value == null) { + throw new NullPointerException(); + } + afterHandShowCardsMessage_ = value; + + bitField0_ |= 0x00002000; + return this; + } + /** + * optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 14; + */ + public Builder setAfterHandShowCardsMessage( + de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage.Builder builderForValue) { + afterHandShowCardsMessage_ = builderForValue.build(); + + bitField0_ |= 0x00002000; + return this; + } + /** + * optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 14; + */ + public Builder mergeAfterHandShowCardsMessage(de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage value) { + if (((bitField0_ & 0x00002000) == 0x00002000) && + afterHandShowCardsMessage_ != de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage.getDefaultInstance()) { + afterHandShowCardsMessage_ = + de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage.newBuilder(afterHandShowCardsMessage_).mergeFrom(value).buildPartial(); + } else { + afterHandShowCardsMessage_ = value; + } + + bitField0_ |= 0x00002000; + return this; + } + /** + * optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 14; + */ + public Builder clearAfterHandShowCardsMessage() { + afterHandShowCardsMessage_ = de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage.getDefaultInstance(); + + bitField0_ = (bitField0_ & ~0x00002000); + return this; + } + + // @@protoc_insertion_point(builder_scope:GameEngineMessage) + } + + static { + defaultInstance = new GameEngineMessage(true); + defaultInstance.initFields(); + } + + // @@protoc_insertion_point(class_scope:GameEngineMessage) + } + + public interface GameMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + + // required .GameMessage.GameMessageType messageType = 1; + /** + * required .GameMessage.GameMessageType messageType = 1; + */ + boolean hasMessageType(); + /** + * required .GameMessage.GameMessageType messageType = 1; + */ + de.pokerth.protocol.ProtoBuf.GameMessage.GameMessageType getMessageType(); + + // required uint32 gameId = 2; + /** + * required uint32 gameId = 2; + */ + boolean hasGameId(); + /** + * required uint32 gameId = 2; + */ + int getGameId(); + + // optional .GameManagementMessage gameManagementMessage = 3; + /** + * optional .GameManagementMessage gameManagementMessage = 3; + */ + boolean hasGameManagementMessage(); + /** + * optional .GameManagementMessage gameManagementMessage = 3; + */ + de.pokerth.protocol.ProtoBuf.GameManagementMessage getGameManagementMessage(); + + // optional .GameEngineMessage gameEngineMessage = 4; + /** + * optional .GameEngineMessage gameEngineMessage = 4; + */ + boolean hasGameEngineMessage(); + /** + * optional .GameEngineMessage gameEngineMessage = 4; + */ + de.pokerth.protocol.ProtoBuf.GameEngineMessage getGameEngineMessage(); + } + /** + * Protobuf type {@code GameMessage} + */ + public static final class GameMessage extends + com.google.protobuf.GeneratedMessageLite + implements GameMessageOrBuilder { + // Use GameMessage.newBuilder() to construct. + private GameMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + super(builder); + + } + private GameMessage(boolean noInit) {} + + private static final GameMessage defaultInstance; + public static GameMessage getDefaultInstance() { + return defaultInstance; + } + + public GameMessage getDefaultInstanceForType() { + return defaultInstance; + } + + private GameMessage( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; + } + break; + } + case 8: { + int rawValue = input.readEnum(); + de.pokerth.protocol.ProtoBuf.GameMessage.GameMessageType value = de.pokerth.protocol.ProtoBuf.GameMessage.GameMessageType.valueOf(rawValue); + if (value != null) { + bitField0_ |= 0x00000001; + messageType_ = value; + } + break; + } + case 16: { + bitField0_ |= 0x00000002; + gameId_ = input.readUInt32(); + break; + } + case 26: { + de.pokerth.protocol.ProtoBuf.GameManagementMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00000004) == 0x00000004)) { + subBuilder = gameManagementMessage_.toBuilder(); + } + gameManagementMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.GameManagementMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(gameManagementMessage_); + gameManagementMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000004; + break; + } + case 34: { + de.pokerth.protocol.ProtoBuf.GameEngineMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00000008) == 0x00000008)) { + subBuilder = gameEngineMessage_.toBuilder(); + } + gameEngineMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.GameEngineMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(gameEngineMessage_); + gameEngineMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000008; + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); + } + } + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public GameMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GameMessage(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + /** + * Protobuf enum {@code GameMessage.GameMessageType} + */ + public enum GameMessageType + implements com.google.protobuf.Internal.EnumLite { + /** + * Type_GameManagementMessage = 1; + */ + Type_GameManagementMessage(0, 1), + /** + * Type_GameEngineMessage = 2; + */ + Type_GameEngineMessage(1, 2), + ; + + /** + * Type_GameManagementMessage = 1; + */ + public static final int Type_GameManagementMessage_VALUE = 1; + /** + * Type_GameEngineMessage = 2; + */ + public static final int Type_GameEngineMessage_VALUE = 2; + + + public final int getNumber() { return value; } + + public static GameMessageType valueOf(int value) { + switch (value) { + case 1: return Type_GameManagementMessage; + case 2: return Type_GameEngineMessage; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public GameMessageType findValueByNumber(int number) { + return GameMessageType.valueOf(number); + } + }; + + private final int value; + + private GameMessageType(int index, int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:GameMessage.GameMessageType) + } + + private int bitField0_; + // required .GameMessage.GameMessageType messageType = 1; + public static final int MESSAGETYPE_FIELD_NUMBER = 1; + private de.pokerth.protocol.ProtoBuf.GameMessage.GameMessageType messageType_; + /** + * required .GameMessage.GameMessageType messageType = 1; + */ + public boolean hasMessageType() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * required .GameMessage.GameMessageType messageType = 1; + */ + public de.pokerth.protocol.ProtoBuf.GameMessage.GameMessageType getMessageType() { + return messageType_; + } + + // required uint32 gameId = 2; + public static final int GAMEID_FIELD_NUMBER = 2; + private int gameId_; + /** + * required uint32 gameId = 2; + */ + public boolean hasGameId() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * required uint32 gameId = 2; + */ + public int getGameId() { + return gameId_; + } + + // optional .GameManagementMessage gameManagementMessage = 3; + public static final int GAMEMANAGEMENTMESSAGE_FIELD_NUMBER = 3; + private de.pokerth.protocol.ProtoBuf.GameManagementMessage gameManagementMessage_; + /** + * optional .GameManagementMessage gameManagementMessage = 3; + */ + public boolean hasGameManagementMessage() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + /** + * optional .GameManagementMessage gameManagementMessage = 3; + */ + public de.pokerth.protocol.ProtoBuf.GameManagementMessage getGameManagementMessage() { + return gameManagementMessage_; + } + + // optional .GameEngineMessage gameEngineMessage = 4; + public static final int GAMEENGINEMESSAGE_FIELD_NUMBER = 4; + private de.pokerth.protocol.ProtoBuf.GameEngineMessage gameEngineMessage_; + /** + * optional .GameEngineMessage gameEngineMessage = 4; + */ + public boolean hasGameEngineMessage() { + return ((bitField0_ & 0x00000008) == 0x00000008); + } + /** + * optional .GameEngineMessage gameEngineMessage = 4; + */ + public de.pokerth.protocol.ProtoBuf.GameEngineMessage getGameEngineMessage() { + return gameEngineMessage_; + } + + private void initFields() { + messageType_ = de.pokerth.protocol.ProtoBuf.GameMessage.GameMessageType.Type_GameManagementMessage; + gameId_ = 0; + gameManagementMessage_ = de.pokerth.protocol.ProtoBuf.GameManagementMessage.getDefaultInstance(); + gameEngineMessage_ = de.pokerth.protocol.ProtoBuf.GameEngineMessage.getDefaultInstance(); + } + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized != -1) return isInitialized == 1; + + if (!hasMessageType()) { + memoizedIsInitialized = 0; + return false; + } + if (!hasGameId()) { + memoizedIsInitialized = 0; + return false; + } + if (hasGameManagementMessage()) { + if (!getGameManagementMessage().isInitialized()) { memoizedIsInitialized = 0; return false; } } - if (hasPlayerIdChangedMessage()) { - if (!getPlayerIdChangedMessage().isInitialized()) { + if (hasGameEngineMessage()) { + if (!getGameEngineMessage().isInitialized()) { memoizedIsInitialized = 0; return false; } } - if (hasAskKickPlayerMessage()) { - if (!getAskKickPlayerMessage().isInitialized()) { + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); + if (((bitField0_ & 0x00000001) == 0x00000001)) { + output.writeEnum(1, messageType_.getNumber()); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + output.writeUInt32(2, gameId_); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + output.writeMessage(3, gameManagementMessage_); + } + if (((bitField0_ & 0x00000008) == 0x00000008)) { + output.writeMessage(4, gameEngineMessage_); + } + } + + private int memoizedSerializedSize = -1; + public int getSerializedSize() { + int size = memoizedSerializedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) == 0x00000001)) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, messageType_.getNumber()); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(2, gameId_); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, gameManagementMessage_); + } + if (((bitField0_ & 0x00000008) == 0x00000008)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, gameEngineMessage_); + } + memoizedSerializedSize = size; + return size; + } + + private static final long serialVersionUID = 0L; + @java.lang.Override + protected java.lang.Object writeReplace() + throws java.io.ObjectStreamException { + return super.writeReplace(); + } + + public static de.pokerth.protocol.ProtoBuf.GameMessage parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.GameMessage parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.GameMessage parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.GameMessage parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.GameMessage parseFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.GameMessage parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.GameMessage parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.GameMessage parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.GameMessage parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.GameMessage parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + + public static Builder newBuilder() { return Builder.create(); } + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.GameMessage prototype) { + return newBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { return newBuilder(this); } + + /** + * Protobuf type {@code GameMessage} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageLite.Builder< + de.pokerth.protocol.ProtoBuf.GameMessage, Builder> + implements de.pokerth.protocol.ProtoBuf.GameMessageOrBuilder { + // Construct using de.pokerth.protocol.ProtoBuf.GameMessage.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + } + private static Builder create() { + return new Builder(); + } + + public Builder clear() { + super.clear(); + messageType_ = de.pokerth.protocol.ProtoBuf.GameMessage.GameMessageType.Type_GameManagementMessage; + bitField0_ = (bitField0_ & ~0x00000001); + gameId_ = 0; + bitField0_ = (bitField0_ & ~0x00000002); + gameManagementMessage_ = de.pokerth.protocol.ProtoBuf.GameManagementMessage.getDefaultInstance(); + bitField0_ = (bitField0_ & ~0x00000004); + gameEngineMessage_ = de.pokerth.protocol.ProtoBuf.GameEngineMessage.getDefaultInstance(); + bitField0_ = (bitField0_ & ~0x00000008); + return this; + } + + public Builder clone() { + return create().mergeFrom(buildPartial()); + } + + public de.pokerth.protocol.ProtoBuf.GameMessage getDefaultInstanceForType() { + return de.pokerth.protocol.ProtoBuf.GameMessage.getDefaultInstance(); + } + + public de.pokerth.protocol.ProtoBuf.GameMessage build() { + de.pokerth.protocol.ProtoBuf.GameMessage result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public de.pokerth.protocol.ProtoBuf.GameMessage buildPartial() { + de.pokerth.protocol.ProtoBuf.GameMessage result = new de.pokerth.protocol.ProtoBuf.GameMessage(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + to_bitField0_ |= 0x00000001; + } + result.messageType_ = messageType_; + if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + to_bitField0_ |= 0x00000002; + } + result.gameId_ = gameId_; + if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + to_bitField0_ |= 0x00000004; + } + result.gameManagementMessage_ = gameManagementMessage_; + if (((from_bitField0_ & 0x00000008) == 0x00000008)) { + to_bitField0_ |= 0x00000008; + } + result.gameEngineMessage_ = gameEngineMessage_; + result.bitField0_ = to_bitField0_; + return result; + } + + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.GameMessage other) { + if (other == de.pokerth.protocol.ProtoBuf.GameMessage.getDefaultInstance()) return this; + if (other.hasMessageType()) { + setMessageType(other.getMessageType()); + } + if (other.hasGameId()) { + setGameId(other.getGameId()); + } + if (other.hasGameManagementMessage()) { + mergeGameManagementMessage(other.getGameManagementMessage()); + } + if (other.hasGameEngineMessage()) { + mergeGameEngineMessage(other.getGameEngineMessage()); + } + return this; + } + + public final boolean isInitialized() { + if (!hasMessageType()) { + + return false; + } + if (!hasGameId()) { + + return false; + } + if (hasGameManagementMessage()) { + if (!getGameManagementMessage().isInitialized()) { + + return false; + } + } + if (hasGameEngineMessage()) { + if (!getGameEngineMessage().isInitialized()) { + + return false; + } + } + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + de.pokerth.protocol.ProtoBuf.GameMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.GameMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + // required .GameMessage.GameMessageType messageType = 1; + private de.pokerth.protocol.ProtoBuf.GameMessage.GameMessageType messageType_ = de.pokerth.protocol.ProtoBuf.GameMessage.GameMessageType.Type_GameManagementMessage; + /** + * required .GameMessage.GameMessageType messageType = 1; + */ + public boolean hasMessageType() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * required .GameMessage.GameMessageType messageType = 1; + */ + public de.pokerth.protocol.ProtoBuf.GameMessage.GameMessageType getMessageType() { + return messageType_; + } + /** + * required .GameMessage.GameMessageType messageType = 1; + */ + public Builder setMessageType(de.pokerth.protocol.ProtoBuf.GameMessage.GameMessageType value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + messageType_ = value; + + return this; + } + /** + * required .GameMessage.GameMessageType messageType = 1; + */ + public Builder clearMessageType() { + bitField0_ = (bitField0_ & ~0x00000001); + messageType_ = de.pokerth.protocol.ProtoBuf.GameMessage.GameMessageType.Type_GameManagementMessage; + + return this; + } + + // required uint32 gameId = 2; + private int gameId_ ; + /** + * required uint32 gameId = 2; + */ + public boolean hasGameId() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * required uint32 gameId = 2; + */ + public int getGameId() { + return gameId_; + } + /** + * required uint32 gameId = 2; + */ + public Builder setGameId(int value) { + bitField0_ |= 0x00000002; + gameId_ = value; + + return this; + } + /** + * required uint32 gameId = 2; + */ + public Builder clearGameId() { + bitField0_ = (bitField0_ & ~0x00000002); + gameId_ = 0; + + return this; + } + + // optional .GameManagementMessage gameManagementMessage = 3; + private de.pokerth.protocol.ProtoBuf.GameManagementMessage gameManagementMessage_ = de.pokerth.protocol.ProtoBuf.GameManagementMessage.getDefaultInstance(); + /** + * optional .GameManagementMessage gameManagementMessage = 3; + */ + public boolean hasGameManagementMessage() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + /** + * optional .GameManagementMessage gameManagementMessage = 3; + */ + public de.pokerth.protocol.ProtoBuf.GameManagementMessage getGameManagementMessage() { + return gameManagementMessage_; + } + /** + * optional .GameManagementMessage gameManagementMessage = 3; + */ + public Builder setGameManagementMessage(de.pokerth.protocol.ProtoBuf.GameManagementMessage value) { + if (value == null) { + throw new NullPointerException(); + } + gameManagementMessage_ = value; + + bitField0_ |= 0x00000004; + return this; + } + /** + * optional .GameManagementMessage gameManagementMessage = 3; + */ + public Builder setGameManagementMessage( + de.pokerth.protocol.ProtoBuf.GameManagementMessage.Builder builderForValue) { + gameManagementMessage_ = builderForValue.build(); + + bitField0_ |= 0x00000004; + return this; + } + /** + * optional .GameManagementMessage gameManagementMessage = 3; + */ + public Builder mergeGameManagementMessage(de.pokerth.protocol.ProtoBuf.GameManagementMessage value) { + if (((bitField0_ & 0x00000004) == 0x00000004) && + gameManagementMessage_ != de.pokerth.protocol.ProtoBuf.GameManagementMessage.getDefaultInstance()) { + gameManagementMessage_ = + de.pokerth.protocol.ProtoBuf.GameManagementMessage.newBuilder(gameManagementMessage_).mergeFrom(value).buildPartial(); + } else { + gameManagementMessage_ = value; + } + + bitField0_ |= 0x00000004; + return this; + } + /** + * optional .GameManagementMessage gameManagementMessage = 3; + */ + public Builder clearGameManagementMessage() { + gameManagementMessage_ = de.pokerth.protocol.ProtoBuf.GameManagementMessage.getDefaultInstance(); + + bitField0_ = (bitField0_ & ~0x00000004); + return this; + } + + // optional .GameEngineMessage gameEngineMessage = 4; + private de.pokerth.protocol.ProtoBuf.GameEngineMessage gameEngineMessage_ = de.pokerth.protocol.ProtoBuf.GameEngineMessage.getDefaultInstance(); + /** + * optional .GameEngineMessage gameEngineMessage = 4; + */ + public boolean hasGameEngineMessage() { + return ((bitField0_ & 0x00000008) == 0x00000008); + } + /** + * optional .GameEngineMessage gameEngineMessage = 4; + */ + public de.pokerth.protocol.ProtoBuf.GameEngineMessage getGameEngineMessage() { + return gameEngineMessage_; + } + /** + * optional .GameEngineMessage gameEngineMessage = 4; + */ + public Builder setGameEngineMessage(de.pokerth.protocol.ProtoBuf.GameEngineMessage value) { + if (value == null) { + throw new NullPointerException(); + } + gameEngineMessage_ = value; + + bitField0_ |= 0x00000008; + return this; + } + /** + * optional .GameEngineMessage gameEngineMessage = 4; + */ + public Builder setGameEngineMessage( + de.pokerth.protocol.ProtoBuf.GameEngineMessage.Builder builderForValue) { + gameEngineMessage_ = builderForValue.build(); + + bitField0_ |= 0x00000008; + return this; + } + /** + * optional .GameEngineMessage gameEngineMessage = 4; + */ + public Builder mergeGameEngineMessage(de.pokerth.protocol.ProtoBuf.GameEngineMessage value) { + if (((bitField0_ & 0x00000008) == 0x00000008) && + gameEngineMessage_ != de.pokerth.protocol.ProtoBuf.GameEngineMessage.getDefaultInstance()) { + gameEngineMessage_ = + de.pokerth.protocol.ProtoBuf.GameEngineMessage.newBuilder(gameEngineMessage_).mergeFrom(value).buildPartial(); + } else { + gameEngineMessage_ = value; + } + + bitField0_ |= 0x00000008; + return this; + } + /** + * optional .GameEngineMessage gameEngineMessage = 4; + */ + public Builder clearGameEngineMessage() { + gameEngineMessage_ = de.pokerth.protocol.ProtoBuf.GameEngineMessage.getDefaultInstance(); + + bitField0_ = (bitField0_ & ~0x00000008); + return this; + } + + // @@protoc_insertion_point(builder_scope:GameMessage) + } + + static { + defaultInstance = new GameMessage(true); + defaultInstance.initFields(); + } + + // @@protoc_insertion_point(class_scope:GameMessage) + } + + public interface PokerTHMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + + // required .PokerTHMessage.PokerTHMessageType messageType = 1; + /** + * required .PokerTHMessage.PokerTHMessageType messageType = 1; + */ + boolean hasMessageType(); + /** + * required .PokerTHMessage.PokerTHMessageType messageType = 1; + */ + de.pokerth.protocol.ProtoBuf.PokerTHMessage.PokerTHMessageType getMessageType(); + + // optional .AnnounceMessage announceMessage = 2; + /** + * optional .AnnounceMessage announceMessage = 2; + */ + boolean hasAnnounceMessage(); + /** + * optional .AnnounceMessage announceMessage = 2; + */ + de.pokerth.protocol.ProtoBuf.AnnounceMessage getAnnounceMessage(); + + // optional .AuthMessage authMessage = 3; + /** + * optional .AuthMessage authMessage = 3; + */ + boolean hasAuthMessage(); + /** + * optional .AuthMessage authMessage = 3; + */ + de.pokerth.protocol.ProtoBuf.AuthMessage getAuthMessage(); + + // optional .LobbyMessage lobbyMessage = 4; + /** + * optional .LobbyMessage lobbyMessage = 4; + */ + boolean hasLobbyMessage(); + /** + * optional .LobbyMessage lobbyMessage = 4; + */ + de.pokerth.protocol.ProtoBuf.LobbyMessage getLobbyMessage(); + + // optional .GameMessage gameMessage = 5; + /** + * optional .GameMessage gameMessage = 5; + */ + boolean hasGameMessage(); + /** + * optional .GameMessage gameMessage = 5; + */ + de.pokerth.protocol.ProtoBuf.GameMessage getGameMessage(); + } + /** + * Protobuf type {@code PokerTHMessage} + * + *
+   * The main message type (with TCP, it is prefixed by 4 bytes length of the message).
+   * 
+ */ + public static final class PokerTHMessage extends + com.google.protobuf.GeneratedMessageLite + implements PokerTHMessageOrBuilder { + // Use PokerTHMessage.newBuilder() to construct. + private PokerTHMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + super(builder); + + } + private PokerTHMessage(boolean noInit) {} + + private static final PokerTHMessage defaultInstance; + public static PokerTHMessage getDefaultInstance() { + return defaultInstance; + } + + public PokerTHMessage getDefaultInstanceForType() { + return defaultInstance; + } + + private PokerTHMessage( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; + } + break; + } + case 8: { + int rawValue = input.readEnum(); + de.pokerth.protocol.ProtoBuf.PokerTHMessage.PokerTHMessageType value = de.pokerth.protocol.ProtoBuf.PokerTHMessage.PokerTHMessageType.valueOf(rawValue); + if (value != null) { + bitField0_ |= 0x00000001; + messageType_ = value; + } + break; + } + case 18: { + de.pokerth.protocol.ProtoBuf.AnnounceMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00000002) == 0x00000002)) { + subBuilder = announceMessage_.toBuilder(); + } + announceMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.AnnounceMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(announceMessage_); + announceMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000002; + break; + } + case 26: { + de.pokerth.protocol.ProtoBuf.AuthMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00000004) == 0x00000004)) { + subBuilder = authMessage_.toBuilder(); + } + authMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.AuthMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(authMessage_); + authMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000004; + break; + } + case 34: { + de.pokerth.protocol.ProtoBuf.LobbyMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00000008) == 0x00000008)) { + subBuilder = lobbyMessage_.toBuilder(); + } + lobbyMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.LobbyMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(lobbyMessage_); + lobbyMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000008; + break; + } + case 42: { + de.pokerth.protocol.ProtoBuf.GameMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00000010) == 0x00000010)) { + subBuilder = gameMessage_.toBuilder(); + } + gameMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.GameMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(gameMessage_); + gameMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000010; + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); + } + } + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public PokerTHMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PokerTHMessage(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + /** + * Protobuf enum {@code PokerTHMessage.PokerTHMessageType} + */ + public enum PokerTHMessageType + implements com.google.protobuf.Internal.EnumLite { + /** + * Type_AnnounceMessage = 1; + */ + Type_AnnounceMessage(0, 1), + /** + * Type_AuthMessage = 2; + */ + Type_AuthMessage(1, 2), + /** + * Type_LobbyMessage = 3; + */ + Type_LobbyMessage(2, 3), + /** + * Type_GameMessage = 4; + */ + Type_GameMessage(3, 4), + ; + + /** + * Type_AnnounceMessage = 1; + */ + public static final int Type_AnnounceMessage_VALUE = 1; + /** + * Type_AuthMessage = 2; + */ + public static final int Type_AuthMessage_VALUE = 2; + /** + * Type_LobbyMessage = 3; + */ + public static final int Type_LobbyMessage_VALUE = 3; + /** + * Type_GameMessage = 4; + */ + public static final int Type_GameMessage_VALUE = 4; + + + public final int getNumber() { return value; } + + public static PokerTHMessageType valueOf(int value) { + switch (value) { + case 1: return Type_AnnounceMessage; + case 2: return Type_AuthMessage; + case 3: return Type_LobbyMessage; + case 4: return Type_GameMessage; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public PokerTHMessageType findValueByNumber(int number) { + return PokerTHMessageType.valueOf(number); + } + }; + + private final int value; + + private PokerTHMessageType(int index, int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:PokerTHMessage.PokerTHMessageType) + } + + private int bitField0_; + // required .PokerTHMessage.PokerTHMessageType messageType = 1; + public static final int MESSAGETYPE_FIELD_NUMBER = 1; + private de.pokerth.protocol.ProtoBuf.PokerTHMessage.PokerTHMessageType messageType_; + /** + * required .PokerTHMessage.PokerTHMessageType messageType = 1; + */ + public boolean hasMessageType() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * required .PokerTHMessage.PokerTHMessageType messageType = 1; + */ + public de.pokerth.protocol.ProtoBuf.PokerTHMessage.PokerTHMessageType getMessageType() { + return messageType_; + } + + // optional .AnnounceMessage announceMessage = 2; + public static final int ANNOUNCEMESSAGE_FIELD_NUMBER = 2; + private de.pokerth.protocol.ProtoBuf.AnnounceMessage announceMessage_; + /** + * optional .AnnounceMessage announceMessage = 2; + */ + public boolean hasAnnounceMessage() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * optional .AnnounceMessage announceMessage = 2; + */ + public de.pokerth.protocol.ProtoBuf.AnnounceMessage getAnnounceMessage() { + return announceMessage_; + } + + // optional .AuthMessage authMessage = 3; + public static final int AUTHMESSAGE_FIELD_NUMBER = 3; + private de.pokerth.protocol.ProtoBuf.AuthMessage authMessage_; + /** + * optional .AuthMessage authMessage = 3; + */ + public boolean hasAuthMessage() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + /** + * optional .AuthMessage authMessage = 3; + */ + public de.pokerth.protocol.ProtoBuf.AuthMessage getAuthMessage() { + return authMessage_; + } + + // optional .LobbyMessage lobbyMessage = 4; + public static final int LOBBYMESSAGE_FIELD_NUMBER = 4; + private de.pokerth.protocol.ProtoBuf.LobbyMessage lobbyMessage_; + /** + * optional .LobbyMessage lobbyMessage = 4; + */ + public boolean hasLobbyMessage() { + return ((bitField0_ & 0x00000008) == 0x00000008); + } + /** + * optional .LobbyMessage lobbyMessage = 4; + */ + public de.pokerth.protocol.ProtoBuf.LobbyMessage getLobbyMessage() { + return lobbyMessage_; + } + + // optional .GameMessage gameMessage = 5; + public static final int GAMEMESSAGE_FIELD_NUMBER = 5; + private de.pokerth.protocol.ProtoBuf.GameMessage gameMessage_; + /** + * optional .GameMessage gameMessage = 5; + */ + public boolean hasGameMessage() { + return ((bitField0_ & 0x00000010) == 0x00000010); + } + /** + * optional .GameMessage gameMessage = 5; + */ + public de.pokerth.protocol.ProtoBuf.GameMessage getGameMessage() { + return gameMessage_; + } + + private void initFields() { + messageType_ = de.pokerth.protocol.ProtoBuf.PokerTHMessage.PokerTHMessageType.Type_AnnounceMessage; + announceMessage_ = de.pokerth.protocol.ProtoBuf.AnnounceMessage.getDefaultInstance(); + authMessage_ = de.pokerth.protocol.ProtoBuf.AuthMessage.getDefaultInstance(); + lobbyMessage_ = de.pokerth.protocol.ProtoBuf.LobbyMessage.getDefaultInstance(); + gameMessage_ = de.pokerth.protocol.ProtoBuf.GameMessage.getDefaultInstance(); + } + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized != -1) return isInitialized == 1; + + if (!hasMessageType()) { + memoizedIsInitialized = 0; + return false; + } + if (hasAnnounceMessage()) { + if (!getAnnounceMessage().isInitialized()) { memoizedIsInitialized = 0; return false; } } - if (hasAskKickDeniedMessage()) { - if (!getAskKickDeniedMessage().isInitialized()) { + if (hasAuthMessage()) { + if (!getAuthMessage().isInitialized()) { memoizedIsInitialized = 0; return false; } } - if (hasStartKickPetitionMessage()) { - if (!getStartKickPetitionMessage().isInitialized()) { + if (hasLobbyMessage()) { + if (!getLobbyMessage().isInitialized()) { memoizedIsInitialized = 0; return false; } } - if (hasVoteKickRequestMessage()) { - if (!getVoteKickRequestMessage().isInitialized()) { - memoizedIsInitialized = 0; - return false; - } - } - if (hasVoteKickReplyMessage()) { - if (!getVoteKickReplyMessage().isInitialized()) { - memoizedIsInitialized = 0; - return false; - } - } - if (hasKickPetitionUpdateMessage()) { - if (!getKickPetitionUpdateMessage().isInitialized()) { - memoizedIsInitialized = 0; - return false; - } - } - if (hasEndKickPetitionMessage()) { - if (!getEndKickPetitionMessage().isInitialized()) { - memoizedIsInitialized = 0; - return false; - } - } - if (hasStatisticsMessage()) { - if (!getStatisticsMessage().isInitialized()) { - memoizedIsInitialized = 0; - return false; - } - } - if (hasChatRequestMessage()) { - if (!getChatRequestMessage().isInitialized()) { - memoizedIsInitialized = 0; - return false; - } - } - if (hasChatMessage()) { - if (!getChatMessage().isInitialized()) { - memoizedIsInitialized = 0; - return false; - } - } - if (hasChatRejectMessage()) { - if (!getChatRejectMessage().isInitialized()) { - memoizedIsInitialized = 0; - return false; - } - } - if (hasDialogMessage()) { - if (!getDialogMessage().isInitialized()) { - memoizedIsInitialized = 0; - return false; - } - } - if (hasTimeoutWarningMessage()) { - if (!getTimeoutWarningMessage().isInitialized()) { - memoizedIsInitialized = 0; - return false; - } - } - if (hasReportAvatarMessage()) { - if (!getReportAvatarMessage().isInitialized()) { - memoizedIsInitialized = 0; - return false; - } - } - if (hasReportAvatarAckMessage()) { - if (!getReportAvatarAckMessage().isInitialized()) { - memoizedIsInitialized = 0; - return false; - } - } - if (hasReportGameMessage()) { - if (!getReportGameMessage().isInitialized()) { - memoizedIsInitialized = 0; - return false; - } - } - if (hasReportGameAckMessage()) { - if (!getReportGameAckMessage().isInitialized()) { - memoizedIsInitialized = 0; - return false; - } - } - if (hasErrorMessage()) { - if (!getErrorMessage().isInitialized()) { - memoizedIsInitialized = 0; - return false; - } - } - if (hasAdminRemoveGameMessage()) { - if (!getAdminRemoveGameMessage().isInitialized()) { - memoizedIsInitialized = 0; - return false; - } - } - if (hasAdminRemoveGameAckMessage()) { - if (!getAdminRemoveGameAckMessage().isInitialized()) { - memoizedIsInitialized = 0; - return false; - } - } - if (hasAdminBanPlayerMessage()) { - if (!getAdminBanPlayerMessage().isInitialized()) { - memoizedIsInitialized = 0; - return false; - } - } - if (hasAdminBanPlayerAckMessage()) { - if (!getAdminBanPlayerAckMessage().isInitialized()) { - memoizedIsInitialized = 0; - return false; - } - } - if (hasGameListSpectatorJoinedMessage()) { - if (!getGameListSpectatorJoinedMessage().isInitialized()) { - memoizedIsInitialized = 0; - return false; - } - } - if (hasGameListSpectatorLeftMessage()) { - if (!getGameListSpectatorLeftMessage().isInitialized()) { - memoizedIsInitialized = 0; - return false; - } - } - if (hasGameSpectatorJoinedMessage()) { - if (!getGameSpectatorJoinedMessage().isInitialized()) { - memoizedIsInitialized = 0; - return false; - } - } - if (hasGameSpectatorLeftMessage()) { - if (!getGameSpectatorLeftMessage().isInitialized()) { + if (hasGameMessage()) { + if (!getGameMessage().isInitialized()) { memoizedIsInitialized = 0; return false; } @@ -54404,244 +62569,13 @@ public final class ProtoBuf { output.writeMessage(2, announceMessage_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeMessage(3, initMessage_); + output.writeMessage(3, authMessage_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { - output.writeMessage(4, authServerChallengeMessage_); + output.writeMessage(4, lobbyMessage_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { - output.writeMessage(5, authClientResponseMessage_); - } - if (((bitField0_ & 0x00000020) == 0x00000020)) { - output.writeMessage(6, authServerVerificationMessage_); - } - if (((bitField0_ & 0x00000040) == 0x00000040)) { - output.writeMessage(7, initAckMessage_); - } - if (((bitField0_ & 0x00000080) == 0x00000080)) { - output.writeMessage(8, avatarRequestMessage_); - } - if (((bitField0_ & 0x00000100) == 0x00000100)) { - output.writeMessage(9, avatarHeaderMessage_); - } - if (((bitField0_ & 0x00000200) == 0x00000200)) { - output.writeMessage(10, avatarDataMessage_); - } - if (((bitField0_ & 0x00000400) == 0x00000400)) { - output.writeMessage(11, avatarEndMessage_); - } - if (((bitField0_ & 0x00000800) == 0x00000800)) { - output.writeMessage(12, unknownAvatarMessage_); - } - if (((bitField0_ & 0x00001000) == 0x00001000)) { - output.writeMessage(13, playerListMessage_); - } - if (((bitField0_ & 0x00002000) == 0x00002000)) { - output.writeMessage(14, gameListNewMessage_); - } - if (((bitField0_ & 0x00004000) == 0x00004000)) { - output.writeMessage(15, gameListUpdateMessage_); - } - if (((bitField0_ & 0x00008000) == 0x00008000)) { - output.writeMessage(16, gameListPlayerJoinedMessage_); - } - if (((bitField0_ & 0x00010000) == 0x00010000)) { - output.writeMessage(17, gameListPlayerLeftMessage_); - } - if (((bitField0_ & 0x00020000) == 0x00020000)) { - output.writeMessage(18, gameListAdminChangedMessage_); - } - if (((bitField0_ & 0x00040000) == 0x00040000)) { - output.writeMessage(19, playerInfoRequestMessage_); - } - if (((bitField0_ & 0x00080000) == 0x00080000)) { - output.writeMessage(20, playerInfoReplyMessage_); - } - if (((bitField0_ & 0x00100000) == 0x00100000)) { - output.writeMessage(21, subscriptionRequestMessage_); - } - if (((bitField0_ & 0x00200000) == 0x00200000)) { - output.writeMessage(22, joinExistingGameMessage_); - } - if (((bitField0_ & 0x00400000) == 0x00400000)) { - output.writeMessage(23, joinNewGameMessage_); - } - if (((bitField0_ & 0x00800000) == 0x00800000)) { - output.writeMessage(24, rejoinExistingGameMessage_); - } - if (((bitField0_ & 0x01000000) == 0x01000000)) { - output.writeMessage(25, joinGameAckMessage_); - } - if (((bitField0_ & 0x02000000) == 0x02000000)) { - output.writeMessage(26, joinGameFailedMessage_); - } - if (((bitField0_ & 0x04000000) == 0x04000000)) { - output.writeMessage(27, gamePlayerJoinedMessage_); - } - if (((bitField0_ & 0x08000000) == 0x08000000)) { - output.writeMessage(28, gamePlayerLeftMessage_); - } - if (((bitField0_ & 0x10000000) == 0x10000000)) { - output.writeMessage(29, gameAdminChangedMessage_); - } - if (((bitField0_ & 0x20000000) == 0x20000000)) { - output.writeMessage(30, removedFromGameMessage_); - } - if (((bitField0_ & 0x40000000) == 0x40000000)) { - output.writeMessage(31, kickPlayerRequestMessage_); - } - if (((bitField0_ & 0x80000000) == 0x80000000)) { - output.writeMessage(32, leaveGameRequestMessage_); - } - if (((bitField1_ & 0x00000001) == 0x00000001)) { - output.writeMessage(33, invitePlayerToGameMessage_); - } - if (((bitField1_ & 0x00000002) == 0x00000002)) { - output.writeMessage(34, inviteNotifyMessage_); - } - if (((bitField1_ & 0x00000004) == 0x00000004)) { - output.writeMessage(35, rejectGameInvitationMessage_); - } - if (((bitField1_ & 0x00000008) == 0x00000008)) { - output.writeMessage(36, rejectInvNotifyMessage_); - } - if (((bitField1_ & 0x00000010) == 0x00000010)) { - output.writeMessage(37, startEventMessage_); - } - if (((bitField1_ & 0x00000020) == 0x00000020)) { - output.writeMessage(38, startEventAckMessage_); - } - if (((bitField1_ & 0x00000040) == 0x00000040)) { - output.writeMessage(39, gameStartInitialMessage_); - } - if (((bitField1_ & 0x00000080) == 0x00000080)) { - output.writeMessage(40, gameStartRejoinMessage_); - } - if (((bitField1_ & 0x00000100) == 0x00000100)) { - output.writeMessage(41, handStartMessage_); - } - if (((bitField1_ & 0x00000200) == 0x00000200)) { - output.writeMessage(42, playersTurnMessage_); - } - if (((bitField1_ & 0x00000400) == 0x00000400)) { - output.writeMessage(43, myActionRequestMessage_); - } - if (((bitField1_ & 0x00000800) == 0x00000800)) { - output.writeMessage(44, yourActionRejectedMessage_); - } - if (((bitField1_ & 0x00001000) == 0x00001000)) { - output.writeMessage(45, playersActionDoneMessage_); - } - if (((bitField1_ & 0x00002000) == 0x00002000)) { - output.writeMessage(46, dealFlopCardsMessage_); - } - if (((bitField1_ & 0x00004000) == 0x00004000)) { - output.writeMessage(47, dealTurnCardMessage_); - } - if (((bitField1_ & 0x00008000) == 0x00008000)) { - output.writeMessage(48, dealRiverCardMessage_); - } - if (((bitField1_ & 0x00010000) == 0x00010000)) { - output.writeMessage(49, allInShowCardsMessage_); - } - if (((bitField1_ & 0x00020000) == 0x00020000)) { - output.writeMessage(50, endOfHandShowCardsMessage_); - } - if (((bitField1_ & 0x00040000) == 0x00040000)) { - output.writeMessage(51, endOfHandHideCardsMessage_); - } - if (((bitField1_ & 0x00080000) == 0x00080000)) { - output.writeMessage(52, showMyCardsRequestMessage_); - } - if (((bitField1_ & 0x00100000) == 0x00100000)) { - output.writeMessage(53, afterHandShowCardsMessage_); - } - if (((bitField1_ & 0x00200000) == 0x00200000)) { - output.writeMessage(54, endOfGameMessage_); - } - if (((bitField1_ & 0x00400000) == 0x00400000)) { - output.writeMessage(55, playerIdChangedMessage_); - } - if (((bitField1_ & 0x00800000) == 0x00800000)) { - output.writeMessage(56, askKickPlayerMessage_); - } - if (((bitField1_ & 0x01000000) == 0x01000000)) { - output.writeMessage(57, askKickDeniedMessage_); - } - if (((bitField1_ & 0x02000000) == 0x02000000)) { - output.writeMessage(58, startKickPetitionMessage_); - } - if (((bitField1_ & 0x04000000) == 0x04000000)) { - output.writeMessage(59, voteKickRequestMessage_); - } - if (((bitField1_ & 0x08000000) == 0x08000000)) { - output.writeMessage(60, voteKickReplyMessage_); - } - if (((bitField1_ & 0x10000000) == 0x10000000)) { - output.writeMessage(61, kickPetitionUpdateMessage_); - } - if (((bitField1_ & 0x20000000) == 0x20000000)) { - output.writeMessage(62, endKickPetitionMessage_); - } - if (((bitField1_ & 0x40000000) == 0x40000000)) { - output.writeMessage(63, statisticsMessage_); - } - if (((bitField1_ & 0x80000000) == 0x80000000)) { - output.writeMessage(64, chatRequestMessage_); - } - if (((bitField2_ & 0x00000001) == 0x00000001)) { - output.writeMessage(65, chatMessage_); - } - if (((bitField2_ & 0x00000002) == 0x00000002)) { - output.writeMessage(66, chatRejectMessage_); - } - if (((bitField2_ & 0x00000004) == 0x00000004)) { - output.writeMessage(67, dialogMessage_); - } - if (((bitField2_ & 0x00000008) == 0x00000008)) { - output.writeMessage(68, timeoutWarningMessage_); - } - if (((bitField2_ & 0x00000010) == 0x00000010)) { - output.writeMessage(69, resetTimeoutMessage_); - } - if (((bitField2_ & 0x00000020) == 0x00000020)) { - output.writeMessage(70, reportAvatarMessage_); - } - if (((bitField2_ & 0x00000040) == 0x00000040)) { - output.writeMessage(71, reportAvatarAckMessage_); - } - if (((bitField2_ & 0x00000080) == 0x00000080)) { - output.writeMessage(72, reportGameMessage_); - } - if (((bitField2_ & 0x00000100) == 0x00000100)) { - output.writeMessage(73, reportGameAckMessage_); - } - if (((bitField2_ & 0x00000200) == 0x00000200)) { - output.writeMessage(74, errorMessage_); - } - if (((bitField2_ & 0x00000400) == 0x00000400)) { - output.writeMessage(75, adminRemoveGameMessage_); - } - if (((bitField2_ & 0x00000800) == 0x00000800)) { - output.writeMessage(76, adminRemoveGameAckMessage_); - } - if (((bitField2_ & 0x00001000) == 0x00001000)) { - output.writeMessage(77, adminBanPlayerMessage_); - } - if (((bitField2_ & 0x00002000) == 0x00002000)) { - output.writeMessage(78, adminBanPlayerAckMessage_); - } - if (((bitField2_ & 0x00004000) == 0x00004000)) { - output.writeMessage(79, gameListSpectatorJoinedMessage_); - } - if (((bitField2_ & 0x00008000) == 0x00008000)) { - output.writeMessage(80, gameListSpectatorLeftMessage_); - } - if (((bitField2_ & 0x00010000) == 0x00010000)) { - output.writeMessage(81, gameSpectatorJoinedMessage_); - } - if (((bitField2_ & 0x00020000) == 0x00020000)) { - output.writeMessage(82, gameSpectatorLeftMessage_); + output.writeMessage(5, gameMessage_); } } @@ -54661,323 +62595,15 @@ public final class ProtoBuf { } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, initMessage_); + .computeMessageSize(3, authMessage_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, authServerChallengeMessage_); + .computeMessageSize(4, lobbyMessage_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, authClientResponseMessage_); - } - if (((bitField0_ & 0x00000020) == 0x00000020)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, authServerVerificationMessage_); - } - if (((bitField0_ & 0x00000040) == 0x00000040)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, initAckMessage_); - } - if (((bitField0_ & 0x00000080) == 0x00000080)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, avatarRequestMessage_); - } - if (((bitField0_ & 0x00000100) == 0x00000100)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, avatarHeaderMessage_); - } - if (((bitField0_ & 0x00000200) == 0x00000200)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, avatarDataMessage_); - } - if (((bitField0_ & 0x00000400) == 0x00000400)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(11, avatarEndMessage_); - } - if (((bitField0_ & 0x00000800) == 0x00000800)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, unknownAvatarMessage_); - } - if (((bitField0_ & 0x00001000) == 0x00001000)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(13, playerListMessage_); - } - if (((bitField0_ & 0x00002000) == 0x00002000)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(14, gameListNewMessage_); - } - if (((bitField0_ & 0x00004000) == 0x00004000)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(15, gameListUpdateMessage_); - } - if (((bitField0_ & 0x00008000) == 0x00008000)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(16, gameListPlayerJoinedMessage_); - } - if (((bitField0_ & 0x00010000) == 0x00010000)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(17, gameListPlayerLeftMessage_); - } - if (((bitField0_ & 0x00020000) == 0x00020000)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(18, gameListAdminChangedMessage_); - } - if (((bitField0_ & 0x00040000) == 0x00040000)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(19, playerInfoRequestMessage_); - } - if (((bitField0_ & 0x00080000) == 0x00080000)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(20, playerInfoReplyMessage_); - } - if (((bitField0_ & 0x00100000) == 0x00100000)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(21, subscriptionRequestMessage_); - } - if (((bitField0_ & 0x00200000) == 0x00200000)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(22, joinExistingGameMessage_); - } - if (((bitField0_ & 0x00400000) == 0x00400000)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(23, joinNewGameMessage_); - } - if (((bitField0_ & 0x00800000) == 0x00800000)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(24, rejoinExistingGameMessage_); - } - if (((bitField0_ & 0x01000000) == 0x01000000)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(25, joinGameAckMessage_); - } - if (((bitField0_ & 0x02000000) == 0x02000000)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(26, joinGameFailedMessage_); - } - if (((bitField0_ & 0x04000000) == 0x04000000)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(27, gamePlayerJoinedMessage_); - } - if (((bitField0_ & 0x08000000) == 0x08000000)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(28, gamePlayerLeftMessage_); - } - if (((bitField0_ & 0x10000000) == 0x10000000)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(29, gameAdminChangedMessage_); - } - if (((bitField0_ & 0x20000000) == 0x20000000)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(30, removedFromGameMessage_); - } - if (((bitField0_ & 0x40000000) == 0x40000000)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(31, kickPlayerRequestMessage_); - } - if (((bitField0_ & 0x80000000) == 0x80000000)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(32, leaveGameRequestMessage_); - } - if (((bitField1_ & 0x00000001) == 0x00000001)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(33, invitePlayerToGameMessage_); - } - if (((bitField1_ & 0x00000002) == 0x00000002)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(34, inviteNotifyMessage_); - } - if (((bitField1_ & 0x00000004) == 0x00000004)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(35, rejectGameInvitationMessage_); - } - if (((bitField1_ & 0x00000008) == 0x00000008)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(36, rejectInvNotifyMessage_); - } - if (((bitField1_ & 0x00000010) == 0x00000010)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(37, startEventMessage_); - } - if (((bitField1_ & 0x00000020) == 0x00000020)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(38, startEventAckMessage_); - } - if (((bitField1_ & 0x00000040) == 0x00000040)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(39, gameStartInitialMessage_); - } - if (((bitField1_ & 0x00000080) == 0x00000080)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(40, gameStartRejoinMessage_); - } - if (((bitField1_ & 0x00000100) == 0x00000100)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(41, handStartMessage_); - } - if (((bitField1_ & 0x00000200) == 0x00000200)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(42, playersTurnMessage_); - } - if (((bitField1_ & 0x00000400) == 0x00000400)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(43, myActionRequestMessage_); - } - if (((bitField1_ & 0x00000800) == 0x00000800)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(44, yourActionRejectedMessage_); - } - if (((bitField1_ & 0x00001000) == 0x00001000)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(45, playersActionDoneMessage_); - } - if (((bitField1_ & 0x00002000) == 0x00002000)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(46, dealFlopCardsMessage_); - } - if (((bitField1_ & 0x00004000) == 0x00004000)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(47, dealTurnCardMessage_); - } - if (((bitField1_ & 0x00008000) == 0x00008000)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(48, dealRiverCardMessage_); - } - if (((bitField1_ & 0x00010000) == 0x00010000)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(49, allInShowCardsMessage_); - } - if (((bitField1_ & 0x00020000) == 0x00020000)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(50, endOfHandShowCardsMessage_); - } - if (((bitField1_ & 0x00040000) == 0x00040000)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(51, endOfHandHideCardsMessage_); - } - if (((bitField1_ & 0x00080000) == 0x00080000)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(52, showMyCardsRequestMessage_); - } - if (((bitField1_ & 0x00100000) == 0x00100000)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(53, afterHandShowCardsMessage_); - } - if (((bitField1_ & 0x00200000) == 0x00200000)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(54, endOfGameMessage_); - } - if (((bitField1_ & 0x00400000) == 0x00400000)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(55, playerIdChangedMessage_); - } - if (((bitField1_ & 0x00800000) == 0x00800000)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(56, askKickPlayerMessage_); - } - if (((bitField1_ & 0x01000000) == 0x01000000)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(57, askKickDeniedMessage_); - } - if (((bitField1_ & 0x02000000) == 0x02000000)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(58, startKickPetitionMessage_); - } - if (((bitField1_ & 0x04000000) == 0x04000000)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(59, voteKickRequestMessage_); - } - if (((bitField1_ & 0x08000000) == 0x08000000)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(60, voteKickReplyMessage_); - } - if (((bitField1_ & 0x10000000) == 0x10000000)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(61, kickPetitionUpdateMessage_); - } - if (((bitField1_ & 0x20000000) == 0x20000000)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(62, endKickPetitionMessage_); - } - if (((bitField1_ & 0x40000000) == 0x40000000)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(63, statisticsMessage_); - } - if (((bitField1_ & 0x80000000) == 0x80000000)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(64, chatRequestMessage_); - } - if (((bitField2_ & 0x00000001) == 0x00000001)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(65, chatMessage_); - } - if (((bitField2_ & 0x00000002) == 0x00000002)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(66, chatRejectMessage_); - } - if (((bitField2_ & 0x00000004) == 0x00000004)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(67, dialogMessage_); - } - if (((bitField2_ & 0x00000008) == 0x00000008)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(68, timeoutWarningMessage_); - } - if (((bitField2_ & 0x00000010) == 0x00000010)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(69, resetTimeoutMessage_); - } - if (((bitField2_ & 0x00000020) == 0x00000020)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(70, reportAvatarMessage_); - } - if (((bitField2_ & 0x00000040) == 0x00000040)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(71, reportAvatarAckMessage_); - } - if (((bitField2_ & 0x00000080) == 0x00000080)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(72, reportGameMessage_); - } - if (((bitField2_ & 0x00000100) == 0x00000100)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(73, reportGameAckMessage_); - } - if (((bitField2_ & 0x00000200) == 0x00000200)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(74, errorMessage_); - } - if (((bitField2_ & 0x00000400) == 0x00000400)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(75, adminRemoveGameMessage_); - } - if (((bitField2_ & 0x00000800) == 0x00000800)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(76, adminRemoveGameAckMessage_); - } - if (((bitField2_ & 0x00001000) == 0x00001000)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(77, adminBanPlayerMessage_); - } - if (((bitField2_ & 0x00002000) == 0x00002000)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(78, adminBanPlayerAckMessage_); - } - if (((bitField2_ & 0x00004000) == 0x00004000)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(79, gameListSpectatorJoinedMessage_); - } - if (((bitField2_ & 0x00008000) == 0x00008000)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(80, gameListSpectatorLeftMessage_); - } - if (((bitField2_ & 0x00010000) == 0x00010000)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(81, gameSpectatorJoinedMessage_); - } - if (((bitField2_ & 0x00020000) == 0x00020000)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(82, gameSpectatorLeftMessage_); + .computeMessageSize(5, gameMessage_); } memoizedSerializedSize = size; return size; @@ -55052,6 +62678,10 @@ public final class ProtoBuf { /** * Protobuf type {@code PokerTHMessage} + * + *
+     * The main message type (with TCP, it is prefixed by 4 bytes length of the message).
+     * 
*/ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< @@ -55074,166 +62704,12 @@ public final class ProtoBuf { bitField0_ = (bitField0_ & ~0x00000001); announceMessage_ = de.pokerth.protocol.ProtoBuf.AnnounceMessage.getDefaultInstance(); bitField0_ = (bitField0_ & ~0x00000002); - initMessage_ = de.pokerth.protocol.ProtoBuf.InitMessage.getDefaultInstance(); + authMessage_ = de.pokerth.protocol.ProtoBuf.AuthMessage.getDefaultInstance(); bitField0_ = (bitField0_ & ~0x00000004); - authServerChallengeMessage_ = de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage.getDefaultInstance(); + lobbyMessage_ = de.pokerth.protocol.ProtoBuf.LobbyMessage.getDefaultInstance(); bitField0_ = (bitField0_ & ~0x00000008); - authClientResponseMessage_ = de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage.getDefaultInstance(); + gameMessage_ = de.pokerth.protocol.ProtoBuf.GameMessage.getDefaultInstance(); bitField0_ = (bitField0_ & ~0x00000010); - authServerVerificationMessage_ = de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage.getDefaultInstance(); - bitField0_ = (bitField0_ & ~0x00000020); - initAckMessage_ = de.pokerth.protocol.ProtoBuf.InitAckMessage.getDefaultInstance(); - bitField0_ = (bitField0_ & ~0x00000040); - avatarRequestMessage_ = de.pokerth.protocol.ProtoBuf.AvatarRequestMessage.getDefaultInstance(); - bitField0_ = (bitField0_ & ~0x00000080); - avatarHeaderMessage_ = de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage.getDefaultInstance(); - bitField0_ = (bitField0_ & ~0x00000100); - avatarDataMessage_ = de.pokerth.protocol.ProtoBuf.AvatarDataMessage.getDefaultInstance(); - bitField0_ = (bitField0_ & ~0x00000200); - avatarEndMessage_ = de.pokerth.protocol.ProtoBuf.AvatarEndMessage.getDefaultInstance(); - bitField0_ = (bitField0_ & ~0x00000400); - unknownAvatarMessage_ = de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage.getDefaultInstance(); - bitField0_ = (bitField0_ & ~0x00000800); - playerListMessage_ = de.pokerth.protocol.ProtoBuf.PlayerListMessage.getDefaultInstance(); - bitField0_ = (bitField0_ & ~0x00001000); - gameListNewMessage_ = de.pokerth.protocol.ProtoBuf.GameListNewMessage.getDefaultInstance(); - bitField0_ = (bitField0_ & ~0x00002000); - gameListUpdateMessage_ = de.pokerth.protocol.ProtoBuf.GameListUpdateMessage.getDefaultInstance(); - bitField0_ = (bitField0_ & ~0x00004000); - gameListPlayerJoinedMessage_ = de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage.getDefaultInstance(); - bitField0_ = (bitField0_ & ~0x00008000); - gameListPlayerLeftMessage_ = de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage.getDefaultInstance(); - bitField0_ = (bitField0_ & ~0x00010000); - gameListAdminChangedMessage_ = de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage.getDefaultInstance(); - bitField0_ = (bitField0_ & ~0x00020000); - playerInfoRequestMessage_ = de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage.getDefaultInstance(); - bitField0_ = (bitField0_ & ~0x00040000); - playerInfoReplyMessage_ = de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.getDefaultInstance(); - bitField0_ = (bitField0_ & ~0x00080000); - subscriptionRequestMessage_ = de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.getDefaultInstance(); - bitField0_ = (bitField0_ & ~0x00100000); - joinExistingGameMessage_ = de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage.getDefaultInstance(); - bitField0_ = (bitField0_ & ~0x00200000); - joinNewGameMessage_ = de.pokerth.protocol.ProtoBuf.JoinNewGameMessage.getDefaultInstance(); - bitField0_ = (bitField0_ & ~0x00400000); - rejoinExistingGameMessage_ = de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage.getDefaultInstance(); - bitField0_ = (bitField0_ & ~0x00800000); - joinGameAckMessage_ = de.pokerth.protocol.ProtoBuf.JoinGameAckMessage.getDefaultInstance(); - bitField0_ = (bitField0_ & ~0x01000000); - joinGameFailedMessage_ = de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.getDefaultInstance(); - bitField0_ = (bitField0_ & ~0x02000000); - gamePlayerJoinedMessage_ = de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage.getDefaultInstance(); - bitField0_ = (bitField0_ & ~0x04000000); - gamePlayerLeftMessage_ = de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.getDefaultInstance(); - bitField0_ = (bitField0_ & ~0x08000000); - gameAdminChangedMessage_ = de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage.getDefaultInstance(); - bitField0_ = (bitField0_ & ~0x10000000); - removedFromGameMessage_ = de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.getDefaultInstance(); - bitField0_ = (bitField0_ & ~0x20000000); - kickPlayerRequestMessage_ = de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage.getDefaultInstance(); - bitField0_ = (bitField0_ & ~0x40000000); - leaveGameRequestMessage_ = de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage.getDefaultInstance(); - bitField0_ = (bitField0_ & ~0x80000000); - invitePlayerToGameMessage_ = de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage.getDefaultInstance(); - bitField1_ = (bitField1_ & ~0x00000001); - inviteNotifyMessage_ = de.pokerth.protocol.ProtoBuf.InviteNotifyMessage.getDefaultInstance(); - bitField1_ = (bitField1_ & ~0x00000002); - rejectGameInvitationMessage_ = de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.getDefaultInstance(); - bitField1_ = (bitField1_ & ~0x00000004); - rejectInvNotifyMessage_ = de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage.getDefaultInstance(); - bitField1_ = (bitField1_ & ~0x00000008); - startEventMessage_ = de.pokerth.protocol.ProtoBuf.StartEventMessage.getDefaultInstance(); - bitField1_ = (bitField1_ & ~0x00000010); - startEventAckMessage_ = de.pokerth.protocol.ProtoBuf.StartEventAckMessage.getDefaultInstance(); - bitField1_ = (bitField1_ & ~0x00000020); - gameStartInitialMessage_ = de.pokerth.protocol.ProtoBuf.GameStartInitialMessage.getDefaultInstance(); - bitField1_ = (bitField1_ & ~0x00000040); - gameStartRejoinMessage_ = de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.getDefaultInstance(); - bitField1_ = (bitField1_ & ~0x00000080); - handStartMessage_ = de.pokerth.protocol.ProtoBuf.HandStartMessage.getDefaultInstance(); - bitField1_ = (bitField1_ & ~0x00000100); - playersTurnMessage_ = de.pokerth.protocol.ProtoBuf.PlayersTurnMessage.getDefaultInstance(); - bitField1_ = (bitField1_ & ~0x00000200); - myActionRequestMessage_ = de.pokerth.protocol.ProtoBuf.MyActionRequestMessage.getDefaultInstance(); - bitField1_ = (bitField1_ & ~0x00000400); - yourActionRejectedMessage_ = de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.getDefaultInstance(); - bitField1_ = (bitField1_ & ~0x00000800); - playersActionDoneMessage_ = de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage.getDefaultInstance(); - bitField1_ = (bitField1_ & ~0x00001000); - dealFlopCardsMessage_ = de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage.getDefaultInstance(); - bitField1_ = (bitField1_ & ~0x00002000); - dealTurnCardMessage_ = de.pokerth.protocol.ProtoBuf.DealTurnCardMessage.getDefaultInstance(); - bitField1_ = (bitField1_ & ~0x00004000); - dealRiverCardMessage_ = de.pokerth.protocol.ProtoBuf.DealRiverCardMessage.getDefaultInstance(); - bitField1_ = (bitField1_ & ~0x00008000); - allInShowCardsMessage_ = de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.getDefaultInstance(); - bitField1_ = (bitField1_ & ~0x00010000); - endOfHandShowCardsMessage_ = de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage.getDefaultInstance(); - bitField1_ = (bitField1_ & ~0x00020000); - endOfHandHideCardsMessage_ = de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage.getDefaultInstance(); - bitField1_ = (bitField1_ & ~0x00040000); - showMyCardsRequestMessage_ = de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage.getDefaultInstance(); - bitField1_ = (bitField1_ & ~0x00080000); - afterHandShowCardsMessage_ = de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage.getDefaultInstance(); - bitField1_ = (bitField1_ & ~0x00100000); - endOfGameMessage_ = de.pokerth.protocol.ProtoBuf.EndOfGameMessage.getDefaultInstance(); - bitField1_ = (bitField1_ & ~0x00200000); - playerIdChangedMessage_ = de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage.getDefaultInstance(); - bitField1_ = (bitField1_ & ~0x00400000); - askKickPlayerMessage_ = de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage.getDefaultInstance(); - bitField1_ = (bitField1_ & ~0x00800000); - askKickDeniedMessage_ = de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.getDefaultInstance(); - bitField1_ = (bitField1_ & ~0x01000000); - startKickPetitionMessage_ = de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage.getDefaultInstance(); - bitField1_ = (bitField1_ & ~0x02000000); - voteKickRequestMessage_ = de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage.getDefaultInstance(); - bitField1_ = (bitField1_ & ~0x04000000); - voteKickReplyMessage_ = de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.getDefaultInstance(); - bitField1_ = (bitField1_ & ~0x08000000); - kickPetitionUpdateMessage_ = de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage.getDefaultInstance(); - bitField1_ = (bitField1_ & ~0x10000000); - endKickPetitionMessage_ = de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.getDefaultInstance(); - bitField1_ = (bitField1_ & ~0x20000000); - statisticsMessage_ = de.pokerth.protocol.ProtoBuf.StatisticsMessage.getDefaultInstance(); - bitField1_ = (bitField1_ & ~0x40000000); - chatRequestMessage_ = de.pokerth.protocol.ProtoBuf.ChatRequestMessage.getDefaultInstance(); - bitField1_ = (bitField1_ & ~0x80000000); - chatMessage_ = de.pokerth.protocol.ProtoBuf.ChatMessage.getDefaultInstance(); - bitField2_ = (bitField2_ & ~0x00000001); - chatRejectMessage_ = de.pokerth.protocol.ProtoBuf.ChatRejectMessage.getDefaultInstance(); - bitField2_ = (bitField2_ & ~0x00000002); - dialogMessage_ = de.pokerth.protocol.ProtoBuf.DialogMessage.getDefaultInstance(); - bitField2_ = (bitField2_ & ~0x00000004); - timeoutWarningMessage_ = de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.getDefaultInstance(); - bitField2_ = (bitField2_ & ~0x00000008); - resetTimeoutMessage_ = de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage.getDefaultInstance(); - bitField2_ = (bitField2_ & ~0x00000010); - reportAvatarMessage_ = de.pokerth.protocol.ProtoBuf.ReportAvatarMessage.getDefaultInstance(); - bitField2_ = (bitField2_ & ~0x00000020); - reportAvatarAckMessage_ = de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.getDefaultInstance(); - bitField2_ = (bitField2_ & ~0x00000040); - reportGameMessage_ = de.pokerth.protocol.ProtoBuf.ReportGameMessage.getDefaultInstance(); - bitField2_ = (bitField2_ & ~0x00000080); - reportGameAckMessage_ = de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.getDefaultInstance(); - bitField2_ = (bitField2_ & ~0x00000100); - errorMessage_ = de.pokerth.protocol.ProtoBuf.ErrorMessage.getDefaultInstance(); - bitField2_ = (bitField2_ & ~0x00000200); - adminRemoveGameMessage_ = de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage.getDefaultInstance(); - bitField2_ = (bitField2_ & ~0x00000400); - adminRemoveGameAckMessage_ = de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.getDefaultInstance(); - bitField2_ = (bitField2_ & ~0x00000800); - adminBanPlayerMessage_ = de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage.getDefaultInstance(); - bitField2_ = (bitField2_ & ~0x00001000); - adminBanPlayerAckMessage_ = de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.getDefaultInstance(); - bitField2_ = (bitField2_ & ~0x00002000); - gameListSpectatorJoinedMessage_ = de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage.getDefaultInstance(); - bitField2_ = (bitField2_ & ~0x00004000); - gameListSpectatorLeftMessage_ = de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage.getDefaultInstance(); - bitField2_ = (bitField2_ & ~0x00008000); - gameSpectatorJoinedMessage_ = de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage.getDefaultInstance(); - bitField2_ = (bitField2_ & ~0x00010000); - gameSpectatorLeftMessage_ = de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage.getDefaultInstance(); - bitField2_ = (bitField2_ & ~0x00020000); return this; } @@ -55256,11 +62732,7 @@ public final class ProtoBuf { public de.pokerth.protocol.ProtoBuf.PokerTHMessage buildPartial() { de.pokerth.protocol.ProtoBuf.PokerTHMessage result = new de.pokerth.protocol.ProtoBuf.PokerTHMessage(this); int from_bitField0_ = bitField0_; - int from_bitField1_ = bitField1_; - int from_bitField2_ = bitField2_; int to_bitField0_ = 0; - int to_bitField1_ = 0; - int to_bitField2_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } @@ -55272,326 +62744,16 @@ public final class ProtoBuf { if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } - result.initMessage_ = initMessage_; + result.authMessage_ = authMessage_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } - result.authServerChallengeMessage_ = authServerChallengeMessage_; + result.lobbyMessage_ = lobbyMessage_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } - result.authClientResponseMessage_ = authClientResponseMessage_; - if (((from_bitField0_ & 0x00000020) == 0x00000020)) { - to_bitField0_ |= 0x00000020; - } - result.authServerVerificationMessage_ = authServerVerificationMessage_; - if (((from_bitField0_ & 0x00000040) == 0x00000040)) { - to_bitField0_ |= 0x00000040; - } - result.initAckMessage_ = initAckMessage_; - if (((from_bitField0_ & 0x00000080) == 0x00000080)) { - to_bitField0_ |= 0x00000080; - } - result.avatarRequestMessage_ = avatarRequestMessage_; - if (((from_bitField0_ & 0x00000100) == 0x00000100)) { - to_bitField0_ |= 0x00000100; - } - result.avatarHeaderMessage_ = avatarHeaderMessage_; - if (((from_bitField0_ & 0x00000200) == 0x00000200)) { - to_bitField0_ |= 0x00000200; - } - result.avatarDataMessage_ = avatarDataMessage_; - if (((from_bitField0_ & 0x00000400) == 0x00000400)) { - to_bitField0_ |= 0x00000400; - } - result.avatarEndMessage_ = avatarEndMessage_; - if (((from_bitField0_ & 0x00000800) == 0x00000800)) { - to_bitField0_ |= 0x00000800; - } - result.unknownAvatarMessage_ = unknownAvatarMessage_; - if (((from_bitField0_ & 0x00001000) == 0x00001000)) { - to_bitField0_ |= 0x00001000; - } - result.playerListMessage_ = playerListMessage_; - if (((from_bitField0_ & 0x00002000) == 0x00002000)) { - to_bitField0_ |= 0x00002000; - } - result.gameListNewMessage_ = gameListNewMessage_; - if (((from_bitField0_ & 0x00004000) == 0x00004000)) { - to_bitField0_ |= 0x00004000; - } - result.gameListUpdateMessage_ = gameListUpdateMessage_; - if (((from_bitField0_ & 0x00008000) == 0x00008000)) { - to_bitField0_ |= 0x00008000; - } - result.gameListPlayerJoinedMessage_ = gameListPlayerJoinedMessage_; - if (((from_bitField0_ & 0x00010000) == 0x00010000)) { - to_bitField0_ |= 0x00010000; - } - result.gameListPlayerLeftMessage_ = gameListPlayerLeftMessage_; - if (((from_bitField0_ & 0x00020000) == 0x00020000)) { - to_bitField0_ |= 0x00020000; - } - result.gameListAdminChangedMessage_ = gameListAdminChangedMessage_; - if (((from_bitField0_ & 0x00040000) == 0x00040000)) { - to_bitField0_ |= 0x00040000; - } - result.playerInfoRequestMessage_ = playerInfoRequestMessage_; - if (((from_bitField0_ & 0x00080000) == 0x00080000)) { - to_bitField0_ |= 0x00080000; - } - result.playerInfoReplyMessage_ = playerInfoReplyMessage_; - if (((from_bitField0_ & 0x00100000) == 0x00100000)) { - to_bitField0_ |= 0x00100000; - } - result.subscriptionRequestMessage_ = subscriptionRequestMessage_; - if (((from_bitField0_ & 0x00200000) == 0x00200000)) { - to_bitField0_ |= 0x00200000; - } - result.joinExistingGameMessage_ = joinExistingGameMessage_; - if (((from_bitField0_ & 0x00400000) == 0x00400000)) { - to_bitField0_ |= 0x00400000; - } - result.joinNewGameMessage_ = joinNewGameMessage_; - if (((from_bitField0_ & 0x00800000) == 0x00800000)) { - to_bitField0_ |= 0x00800000; - } - result.rejoinExistingGameMessage_ = rejoinExistingGameMessage_; - if (((from_bitField0_ & 0x01000000) == 0x01000000)) { - to_bitField0_ |= 0x01000000; - } - result.joinGameAckMessage_ = joinGameAckMessage_; - if (((from_bitField0_ & 0x02000000) == 0x02000000)) { - to_bitField0_ |= 0x02000000; - } - result.joinGameFailedMessage_ = joinGameFailedMessage_; - if (((from_bitField0_ & 0x04000000) == 0x04000000)) { - to_bitField0_ |= 0x04000000; - } - result.gamePlayerJoinedMessage_ = gamePlayerJoinedMessage_; - if (((from_bitField0_ & 0x08000000) == 0x08000000)) { - to_bitField0_ |= 0x08000000; - } - result.gamePlayerLeftMessage_ = gamePlayerLeftMessage_; - if (((from_bitField0_ & 0x10000000) == 0x10000000)) { - to_bitField0_ |= 0x10000000; - } - result.gameAdminChangedMessage_ = gameAdminChangedMessage_; - if (((from_bitField0_ & 0x20000000) == 0x20000000)) { - to_bitField0_ |= 0x20000000; - } - result.removedFromGameMessage_ = removedFromGameMessage_; - if (((from_bitField0_ & 0x40000000) == 0x40000000)) { - to_bitField0_ |= 0x40000000; - } - result.kickPlayerRequestMessage_ = kickPlayerRequestMessage_; - if (((from_bitField0_ & 0x80000000) == 0x80000000)) { - to_bitField0_ |= 0x80000000; - } - result.leaveGameRequestMessage_ = leaveGameRequestMessage_; - if (((from_bitField1_ & 0x00000001) == 0x00000001)) { - to_bitField1_ |= 0x00000001; - } - result.invitePlayerToGameMessage_ = invitePlayerToGameMessage_; - if (((from_bitField1_ & 0x00000002) == 0x00000002)) { - to_bitField1_ |= 0x00000002; - } - result.inviteNotifyMessage_ = inviteNotifyMessage_; - if (((from_bitField1_ & 0x00000004) == 0x00000004)) { - to_bitField1_ |= 0x00000004; - } - result.rejectGameInvitationMessage_ = rejectGameInvitationMessage_; - if (((from_bitField1_ & 0x00000008) == 0x00000008)) { - to_bitField1_ |= 0x00000008; - } - result.rejectInvNotifyMessage_ = rejectInvNotifyMessage_; - if (((from_bitField1_ & 0x00000010) == 0x00000010)) { - to_bitField1_ |= 0x00000010; - } - result.startEventMessage_ = startEventMessage_; - if (((from_bitField1_ & 0x00000020) == 0x00000020)) { - to_bitField1_ |= 0x00000020; - } - result.startEventAckMessage_ = startEventAckMessage_; - if (((from_bitField1_ & 0x00000040) == 0x00000040)) { - to_bitField1_ |= 0x00000040; - } - result.gameStartInitialMessage_ = gameStartInitialMessage_; - if (((from_bitField1_ & 0x00000080) == 0x00000080)) { - to_bitField1_ |= 0x00000080; - } - result.gameStartRejoinMessage_ = gameStartRejoinMessage_; - if (((from_bitField1_ & 0x00000100) == 0x00000100)) { - to_bitField1_ |= 0x00000100; - } - result.handStartMessage_ = handStartMessage_; - if (((from_bitField1_ & 0x00000200) == 0x00000200)) { - to_bitField1_ |= 0x00000200; - } - result.playersTurnMessage_ = playersTurnMessage_; - if (((from_bitField1_ & 0x00000400) == 0x00000400)) { - to_bitField1_ |= 0x00000400; - } - result.myActionRequestMessage_ = myActionRequestMessage_; - if (((from_bitField1_ & 0x00000800) == 0x00000800)) { - to_bitField1_ |= 0x00000800; - } - result.yourActionRejectedMessage_ = yourActionRejectedMessage_; - if (((from_bitField1_ & 0x00001000) == 0x00001000)) { - to_bitField1_ |= 0x00001000; - } - result.playersActionDoneMessage_ = playersActionDoneMessage_; - if (((from_bitField1_ & 0x00002000) == 0x00002000)) { - to_bitField1_ |= 0x00002000; - } - result.dealFlopCardsMessage_ = dealFlopCardsMessage_; - if (((from_bitField1_ & 0x00004000) == 0x00004000)) { - to_bitField1_ |= 0x00004000; - } - result.dealTurnCardMessage_ = dealTurnCardMessage_; - if (((from_bitField1_ & 0x00008000) == 0x00008000)) { - to_bitField1_ |= 0x00008000; - } - result.dealRiverCardMessage_ = dealRiverCardMessage_; - if (((from_bitField1_ & 0x00010000) == 0x00010000)) { - to_bitField1_ |= 0x00010000; - } - result.allInShowCardsMessage_ = allInShowCardsMessage_; - if (((from_bitField1_ & 0x00020000) == 0x00020000)) { - to_bitField1_ |= 0x00020000; - } - result.endOfHandShowCardsMessage_ = endOfHandShowCardsMessage_; - if (((from_bitField1_ & 0x00040000) == 0x00040000)) { - to_bitField1_ |= 0x00040000; - } - result.endOfHandHideCardsMessage_ = endOfHandHideCardsMessage_; - if (((from_bitField1_ & 0x00080000) == 0x00080000)) { - to_bitField1_ |= 0x00080000; - } - result.showMyCardsRequestMessage_ = showMyCardsRequestMessage_; - if (((from_bitField1_ & 0x00100000) == 0x00100000)) { - to_bitField1_ |= 0x00100000; - } - result.afterHandShowCardsMessage_ = afterHandShowCardsMessage_; - if (((from_bitField1_ & 0x00200000) == 0x00200000)) { - to_bitField1_ |= 0x00200000; - } - result.endOfGameMessage_ = endOfGameMessage_; - if (((from_bitField1_ & 0x00400000) == 0x00400000)) { - to_bitField1_ |= 0x00400000; - } - result.playerIdChangedMessage_ = playerIdChangedMessage_; - if (((from_bitField1_ & 0x00800000) == 0x00800000)) { - to_bitField1_ |= 0x00800000; - } - result.askKickPlayerMessage_ = askKickPlayerMessage_; - if (((from_bitField1_ & 0x01000000) == 0x01000000)) { - to_bitField1_ |= 0x01000000; - } - result.askKickDeniedMessage_ = askKickDeniedMessage_; - if (((from_bitField1_ & 0x02000000) == 0x02000000)) { - to_bitField1_ |= 0x02000000; - } - result.startKickPetitionMessage_ = startKickPetitionMessage_; - if (((from_bitField1_ & 0x04000000) == 0x04000000)) { - to_bitField1_ |= 0x04000000; - } - result.voteKickRequestMessage_ = voteKickRequestMessage_; - if (((from_bitField1_ & 0x08000000) == 0x08000000)) { - to_bitField1_ |= 0x08000000; - } - result.voteKickReplyMessage_ = voteKickReplyMessage_; - if (((from_bitField1_ & 0x10000000) == 0x10000000)) { - to_bitField1_ |= 0x10000000; - } - result.kickPetitionUpdateMessage_ = kickPetitionUpdateMessage_; - if (((from_bitField1_ & 0x20000000) == 0x20000000)) { - to_bitField1_ |= 0x20000000; - } - result.endKickPetitionMessage_ = endKickPetitionMessage_; - if (((from_bitField1_ & 0x40000000) == 0x40000000)) { - to_bitField1_ |= 0x40000000; - } - result.statisticsMessage_ = statisticsMessage_; - if (((from_bitField1_ & 0x80000000) == 0x80000000)) { - to_bitField1_ |= 0x80000000; - } - result.chatRequestMessage_ = chatRequestMessage_; - if (((from_bitField2_ & 0x00000001) == 0x00000001)) { - to_bitField2_ |= 0x00000001; - } - result.chatMessage_ = chatMessage_; - if (((from_bitField2_ & 0x00000002) == 0x00000002)) { - to_bitField2_ |= 0x00000002; - } - result.chatRejectMessage_ = chatRejectMessage_; - if (((from_bitField2_ & 0x00000004) == 0x00000004)) { - to_bitField2_ |= 0x00000004; - } - result.dialogMessage_ = dialogMessage_; - if (((from_bitField2_ & 0x00000008) == 0x00000008)) { - to_bitField2_ |= 0x00000008; - } - result.timeoutWarningMessage_ = timeoutWarningMessage_; - if (((from_bitField2_ & 0x00000010) == 0x00000010)) { - to_bitField2_ |= 0x00000010; - } - result.resetTimeoutMessage_ = resetTimeoutMessage_; - if (((from_bitField2_ & 0x00000020) == 0x00000020)) { - to_bitField2_ |= 0x00000020; - } - result.reportAvatarMessage_ = reportAvatarMessage_; - if (((from_bitField2_ & 0x00000040) == 0x00000040)) { - to_bitField2_ |= 0x00000040; - } - result.reportAvatarAckMessage_ = reportAvatarAckMessage_; - if (((from_bitField2_ & 0x00000080) == 0x00000080)) { - to_bitField2_ |= 0x00000080; - } - result.reportGameMessage_ = reportGameMessage_; - if (((from_bitField2_ & 0x00000100) == 0x00000100)) { - to_bitField2_ |= 0x00000100; - } - result.reportGameAckMessage_ = reportGameAckMessage_; - if (((from_bitField2_ & 0x00000200) == 0x00000200)) { - to_bitField2_ |= 0x00000200; - } - result.errorMessage_ = errorMessage_; - if (((from_bitField2_ & 0x00000400) == 0x00000400)) { - to_bitField2_ |= 0x00000400; - } - result.adminRemoveGameMessage_ = adminRemoveGameMessage_; - if (((from_bitField2_ & 0x00000800) == 0x00000800)) { - to_bitField2_ |= 0x00000800; - } - result.adminRemoveGameAckMessage_ = adminRemoveGameAckMessage_; - if (((from_bitField2_ & 0x00001000) == 0x00001000)) { - to_bitField2_ |= 0x00001000; - } - result.adminBanPlayerMessage_ = adminBanPlayerMessage_; - if (((from_bitField2_ & 0x00002000) == 0x00002000)) { - to_bitField2_ |= 0x00002000; - } - result.adminBanPlayerAckMessage_ = adminBanPlayerAckMessage_; - if (((from_bitField2_ & 0x00004000) == 0x00004000)) { - to_bitField2_ |= 0x00004000; - } - result.gameListSpectatorJoinedMessage_ = gameListSpectatorJoinedMessage_; - if (((from_bitField2_ & 0x00008000) == 0x00008000)) { - to_bitField2_ |= 0x00008000; - } - result.gameListSpectatorLeftMessage_ = gameListSpectatorLeftMessage_; - if (((from_bitField2_ & 0x00010000) == 0x00010000)) { - to_bitField2_ |= 0x00010000; - } - result.gameSpectatorJoinedMessage_ = gameSpectatorJoinedMessage_; - if (((from_bitField2_ & 0x00020000) == 0x00020000)) { - to_bitField2_ |= 0x00020000; - } - result.gameSpectatorLeftMessage_ = gameSpectatorLeftMessage_; + result.gameMessage_ = gameMessage_; result.bitField0_ = to_bitField0_; - result.bitField1_ = to_bitField1_; - result.bitField2_ = to_bitField2_; return result; } @@ -55603,245 +62765,14 @@ public final class ProtoBuf { if (other.hasAnnounceMessage()) { mergeAnnounceMessage(other.getAnnounceMessage()); } - if (other.hasInitMessage()) { - mergeInitMessage(other.getInitMessage()); + if (other.hasAuthMessage()) { + mergeAuthMessage(other.getAuthMessage()); } - if (other.hasAuthServerChallengeMessage()) { - mergeAuthServerChallengeMessage(other.getAuthServerChallengeMessage()); + if (other.hasLobbyMessage()) { + mergeLobbyMessage(other.getLobbyMessage()); } - if (other.hasAuthClientResponseMessage()) { - mergeAuthClientResponseMessage(other.getAuthClientResponseMessage()); - } - if (other.hasAuthServerVerificationMessage()) { - mergeAuthServerVerificationMessage(other.getAuthServerVerificationMessage()); - } - if (other.hasInitAckMessage()) { - mergeInitAckMessage(other.getInitAckMessage()); - } - if (other.hasAvatarRequestMessage()) { - mergeAvatarRequestMessage(other.getAvatarRequestMessage()); - } - if (other.hasAvatarHeaderMessage()) { - mergeAvatarHeaderMessage(other.getAvatarHeaderMessage()); - } - if (other.hasAvatarDataMessage()) { - mergeAvatarDataMessage(other.getAvatarDataMessage()); - } - if (other.hasAvatarEndMessage()) { - mergeAvatarEndMessage(other.getAvatarEndMessage()); - } - if (other.hasUnknownAvatarMessage()) { - mergeUnknownAvatarMessage(other.getUnknownAvatarMessage()); - } - if (other.hasPlayerListMessage()) { - mergePlayerListMessage(other.getPlayerListMessage()); - } - if (other.hasGameListNewMessage()) { - mergeGameListNewMessage(other.getGameListNewMessage()); - } - if (other.hasGameListUpdateMessage()) { - mergeGameListUpdateMessage(other.getGameListUpdateMessage()); - } - if (other.hasGameListPlayerJoinedMessage()) { - mergeGameListPlayerJoinedMessage(other.getGameListPlayerJoinedMessage()); - } - if (other.hasGameListPlayerLeftMessage()) { - mergeGameListPlayerLeftMessage(other.getGameListPlayerLeftMessage()); - } - if (other.hasGameListAdminChangedMessage()) { - mergeGameListAdminChangedMessage(other.getGameListAdminChangedMessage()); - } - if (other.hasPlayerInfoRequestMessage()) { - mergePlayerInfoRequestMessage(other.getPlayerInfoRequestMessage()); - } - if (other.hasPlayerInfoReplyMessage()) { - mergePlayerInfoReplyMessage(other.getPlayerInfoReplyMessage()); - } - if (other.hasSubscriptionRequestMessage()) { - mergeSubscriptionRequestMessage(other.getSubscriptionRequestMessage()); - } - if (other.hasJoinExistingGameMessage()) { - mergeJoinExistingGameMessage(other.getJoinExistingGameMessage()); - } - if (other.hasJoinNewGameMessage()) { - mergeJoinNewGameMessage(other.getJoinNewGameMessage()); - } - if (other.hasRejoinExistingGameMessage()) { - mergeRejoinExistingGameMessage(other.getRejoinExistingGameMessage()); - } - if (other.hasJoinGameAckMessage()) { - mergeJoinGameAckMessage(other.getJoinGameAckMessage()); - } - if (other.hasJoinGameFailedMessage()) { - mergeJoinGameFailedMessage(other.getJoinGameFailedMessage()); - } - if (other.hasGamePlayerJoinedMessage()) { - mergeGamePlayerJoinedMessage(other.getGamePlayerJoinedMessage()); - } - if (other.hasGamePlayerLeftMessage()) { - mergeGamePlayerLeftMessage(other.getGamePlayerLeftMessage()); - } - if (other.hasGameAdminChangedMessage()) { - mergeGameAdminChangedMessage(other.getGameAdminChangedMessage()); - } - if (other.hasRemovedFromGameMessage()) { - mergeRemovedFromGameMessage(other.getRemovedFromGameMessage()); - } - if (other.hasKickPlayerRequestMessage()) { - mergeKickPlayerRequestMessage(other.getKickPlayerRequestMessage()); - } - if (other.hasLeaveGameRequestMessage()) { - mergeLeaveGameRequestMessage(other.getLeaveGameRequestMessage()); - } - if (other.hasInvitePlayerToGameMessage()) { - mergeInvitePlayerToGameMessage(other.getInvitePlayerToGameMessage()); - } - if (other.hasInviteNotifyMessage()) { - mergeInviteNotifyMessage(other.getInviteNotifyMessage()); - } - if (other.hasRejectGameInvitationMessage()) { - mergeRejectGameInvitationMessage(other.getRejectGameInvitationMessage()); - } - if (other.hasRejectInvNotifyMessage()) { - mergeRejectInvNotifyMessage(other.getRejectInvNotifyMessage()); - } - if (other.hasStartEventMessage()) { - mergeStartEventMessage(other.getStartEventMessage()); - } - if (other.hasStartEventAckMessage()) { - mergeStartEventAckMessage(other.getStartEventAckMessage()); - } - if (other.hasGameStartInitialMessage()) { - mergeGameStartInitialMessage(other.getGameStartInitialMessage()); - } - if (other.hasGameStartRejoinMessage()) { - mergeGameStartRejoinMessage(other.getGameStartRejoinMessage()); - } - if (other.hasHandStartMessage()) { - mergeHandStartMessage(other.getHandStartMessage()); - } - if (other.hasPlayersTurnMessage()) { - mergePlayersTurnMessage(other.getPlayersTurnMessage()); - } - if (other.hasMyActionRequestMessage()) { - mergeMyActionRequestMessage(other.getMyActionRequestMessage()); - } - if (other.hasYourActionRejectedMessage()) { - mergeYourActionRejectedMessage(other.getYourActionRejectedMessage()); - } - if (other.hasPlayersActionDoneMessage()) { - mergePlayersActionDoneMessage(other.getPlayersActionDoneMessage()); - } - if (other.hasDealFlopCardsMessage()) { - mergeDealFlopCardsMessage(other.getDealFlopCardsMessage()); - } - if (other.hasDealTurnCardMessage()) { - mergeDealTurnCardMessage(other.getDealTurnCardMessage()); - } - if (other.hasDealRiverCardMessage()) { - mergeDealRiverCardMessage(other.getDealRiverCardMessage()); - } - if (other.hasAllInShowCardsMessage()) { - mergeAllInShowCardsMessage(other.getAllInShowCardsMessage()); - } - if (other.hasEndOfHandShowCardsMessage()) { - mergeEndOfHandShowCardsMessage(other.getEndOfHandShowCardsMessage()); - } - if (other.hasEndOfHandHideCardsMessage()) { - mergeEndOfHandHideCardsMessage(other.getEndOfHandHideCardsMessage()); - } - if (other.hasShowMyCardsRequestMessage()) { - mergeShowMyCardsRequestMessage(other.getShowMyCardsRequestMessage()); - } - if (other.hasAfterHandShowCardsMessage()) { - mergeAfterHandShowCardsMessage(other.getAfterHandShowCardsMessage()); - } - if (other.hasEndOfGameMessage()) { - mergeEndOfGameMessage(other.getEndOfGameMessage()); - } - if (other.hasPlayerIdChangedMessage()) { - mergePlayerIdChangedMessage(other.getPlayerIdChangedMessage()); - } - if (other.hasAskKickPlayerMessage()) { - mergeAskKickPlayerMessage(other.getAskKickPlayerMessage()); - } - if (other.hasAskKickDeniedMessage()) { - mergeAskKickDeniedMessage(other.getAskKickDeniedMessage()); - } - if (other.hasStartKickPetitionMessage()) { - mergeStartKickPetitionMessage(other.getStartKickPetitionMessage()); - } - if (other.hasVoteKickRequestMessage()) { - mergeVoteKickRequestMessage(other.getVoteKickRequestMessage()); - } - if (other.hasVoteKickReplyMessage()) { - mergeVoteKickReplyMessage(other.getVoteKickReplyMessage()); - } - if (other.hasKickPetitionUpdateMessage()) { - mergeKickPetitionUpdateMessage(other.getKickPetitionUpdateMessage()); - } - if (other.hasEndKickPetitionMessage()) { - mergeEndKickPetitionMessage(other.getEndKickPetitionMessage()); - } - if (other.hasStatisticsMessage()) { - mergeStatisticsMessage(other.getStatisticsMessage()); - } - if (other.hasChatRequestMessage()) { - mergeChatRequestMessage(other.getChatRequestMessage()); - } - if (other.hasChatMessage()) { - mergeChatMessage(other.getChatMessage()); - } - if (other.hasChatRejectMessage()) { - mergeChatRejectMessage(other.getChatRejectMessage()); - } - if (other.hasDialogMessage()) { - mergeDialogMessage(other.getDialogMessage()); - } - if (other.hasTimeoutWarningMessage()) { - mergeTimeoutWarningMessage(other.getTimeoutWarningMessage()); - } - if (other.hasResetTimeoutMessage()) { - mergeResetTimeoutMessage(other.getResetTimeoutMessage()); - } - if (other.hasReportAvatarMessage()) { - mergeReportAvatarMessage(other.getReportAvatarMessage()); - } - if (other.hasReportAvatarAckMessage()) { - mergeReportAvatarAckMessage(other.getReportAvatarAckMessage()); - } - if (other.hasReportGameMessage()) { - mergeReportGameMessage(other.getReportGameMessage()); - } - if (other.hasReportGameAckMessage()) { - mergeReportGameAckMessage(other.getReportGameAckMessage()); - } - if (other.hasErrorMessage()) { - mergeErrorMessage(other.getErrorMessage()); - } - if (other.hasAdminRemoveGameMessage()) { - mergeAdminRemoveGameMessage(other.getAdminRemoveGameMessage()); - } - if (other.hasAdminRemoveGameAckMessage()) { - mergeAdminRemoveGameAckMessage(other.getAdminRemoveGameAckMessage()); - } - if (other.hasAdminBanPlayerMessage()) { - mergeAdminBanPlayerMessage(other.getAdminBanPlayerMessage()); - } - if (other.hasAdminBanPlayerAckMessage()) { - mergeAdminBanPlayerAckMessage(other.getAdminBanPlayerAckMessage()); - } - if (other.hasGameListSpectatorJoinedMessage()) { - mergeGameListSpectatorJoinedMessage(other.getGameListSpectatorJoinedMessage()); - } - if (other.hasGameListSpectatorLeftMessage()) { - mergeGameListSpectatorLeftMessage(other.getGameListSpectatorLeftMessage()); - } - if (other.hasGameSpectatorJoinedMessage()) { - mergeGameSpectatorJoinedMessage(other.getGameSpectatorJoinedMessage()); - } - if (other.hasGameSpectatorLeftMessage()) { - mergeGameSpectatorLeftMessage(other.getGameSpectatorLeftMessage()); + if (other.hasGameMessage()) { + mergeGameMessage(other.getGameMessage()); } return this; } @@ -55857,464 +62788,20 @@ public final class ProtoBuf { return false; } } - if (hasInitMessage()) { - if (!getInitMessage().isInitialized()) { + if (hasAuthMessage()) { + if (!getAuthMessage().isInitialized()) { return false; } } - if (hasAuthServerChallengeMessage()) { - if (!getAuthServerChallengeMessage().isInitialized()) { + if (hasLobbyMessage()) { + if (!getLobbyMessage().isInitialized()) { return false; } } - if (hasAuthClientResponseMessage()) { - if (!getAuthClientResponseMessage().isInitialized()) { - - return false; - } - } - if (hasAuthServerVerificationMessage()) { - if (!getAuthServerVerificationMessage().isInitialized()) { - - return false; - } - } - if (hasInitAckMessage()) { - if (!getInitAckMessage().isInitialized()) { - - return false; - } - } - if (hasAvatarRequestMessage()) { - if (!getAvatarRequestMessage().isInitialized()) { - - return false; - } - } - if (hasAvatarHeaderMessage()) { - if (!getAvatarHeaderMessage().isInitialized()) { - - return false; - } - } - if (hasAvatarDataMessage()) { - if (!getAvatarDataMessage().isInitialized()) { - - return false; - } - } - if (hasAvatarEndMessage()) { - if (!getAvatarEndMessage().isInitialized()) { - - return false; - } - } - if (hasUnknownAvatarMessage()) { - if (!getUnknownAvatarMessage().isInitialized()) { - - return false; - } - } - if (hasPlayerListMessage()) { - if (!getPlayerListMessage().isInitialized()) { - - return false; - } - } - if (hasGameListNewMessage()) { - if (!getGameListNewMessage().isInitialized()) { - - return false; - } - } - if (hasGameListUpdateMessage()) { - if (!getGameListUpdateMessage().isInitialized()) { - - return false; - } - } - if (hasGameListPlayerJoinedMessage()) { - if (!getGameListPlayerJoinedMessage().isInitialized()) { - - return false; - } - } - if (hasGameListPlayerLeftMessage()) { - if (!getGameListPlayerLeftMessage().isInitialized()) { - - return false; - } - } - if (hasGameListAdminChangedMessage()) { - if (!getGameListAdminChangedMessage().isInitialized()) { - - return false; - } - } - if (hasPlayerInfoReplyMessage()) { - if (!getPlayerInfoReplyMessage().isInitialized()) { - - return false; - } - } - if (hasSubscriptionRequestMessage()) { - if (!getSubscriptionRequestMessage().isInitialized()) { - - return false; - } - } - if (hasJoinExistingGameMessage()) { - if (!getJoinExistingGameMessage().isInitialized()) { - - return false; - } - } - if (hasJoinNewGameMessage()) { - if (!getJoinNewGameMessage().isInitialized()) { - - return false; - } - } - if (hasRejoinExistingGameMessage()) { - if (!getRejoinExistingGameMessage().isInitialized()) { - - return false; - } - } - if (hasJoinGameAckMessage()) { - if (!getJoinGameAckMessage().isInitialized()) { - - return false; - } - } - if (hasJoinGameFailedMessage()) { - if (!getJoinGameFailedMessage().isInitialized()) { - - return false; - } - } - if (hasGamePlayerJoinedMessage()) { - if (!getGamePlayerJoinedMessage().isInitialized()) { - - return false; - } - } - if (hasGamePlayerLeftMessage()) { - if (!getGamePlayerLeftMessage().isInitialized()) { - - return false; - } - } - if (hasGameAdminChangedMessage()) { - if (!getGameAdminChangedMessage().isInitialized()) { - - return false; - } - } - if (hasRemovedFromGameMessage()) { - if (!getRemovedFromGameMessage().isInitialized()) { - - return false; - } - } - if (hasKickPlayerRequestMessage()) { - if (!getKickPlayerRequestMessage().isInitialized()) { - - return false; - } - } - if (hasLeaveGameRequestMessage()) { - if (!getLeaveGameRequestMessage().isInitialized()) { - - return false; - } - } - if (hasInvitePlayerToGameMessage()) { - if (!getInvitePlayerToGameMessage().isInitialized()) { - - return false; - } - } - if (hasInviteNotifyMessage()) { - if (!getInviteNotifyMessage().isInitialized()) { - - return false; - } - } - if (hasRejectGameInvitationMessage()) { - if (!getRejectGameInvitationMessage().isInitialized()) { - - return false; - } - } - if (hasRejectInvNotifyMessage()) { - if (!getRejectInvNotifyMessage().isInitialized()) { - - return false; - } - } - if (hasStartEventMessage()) { - if (!getStartEventMessage().isInitialized()) { - - return false; - } - } - if (hasStartEventAckMessage()) { - if (!getStartEventAckMessage().isInitialized()) { - - return false; - } - } - if (hasGameStartInitialMessage()) { - if (!getGameStartInitialMessage().isInitialized()) { - - return false; - } - } - if (hasGameStartRejoinMessage()) { - if (!getGameStartRejoinMessage().isInitialized()) { - - return false; - } - } - if (hasHandStartMessage()) { - if (!getHandStartMessage().isInitialized()) { - - return false; - } - } - if (hasPlayersTurnMessage()) { - if (!getPlayersTurnMessage().isInitialized()) { - - return false; - } - } - if (hasMyActionRequestMessage()) { - if (!getMyActionRequestMessage().isInitialized()) { - - return false; - } - } - if (hasYourActionRejectedMessage()) { - if (!getYourActionRejectedMessage().isInitialized()) { - - return false; - } - } - if (hasPlayersActionDoneMessage()) { - if (!getPlayersActionDoneMessage().isInitialized()) { - - return false; - } - } - if (hasDealFlopCardsMessage()) { - if (!getDealFlopCardsMessage().isInitialized()) { - - return false; - } - } - if (hasDealTurnCardMessage()) { - if (!getDealTurnCardMessage().isInitialized()) { - - return false; - } - } - if (hasDealRiverCardMessage()) { - if (!getDealRiverCardMessage().isInitialized()) { - - return false; - } - } - if (hasAllInShowCardsMessage()) { - if (!getAllInShowCardsMessage().isInitialized()) { - - return false; - } - } - if (hasEndOfHandShowCardsMessage()) { - if (!getEndOfHandShowCardsMessage().isInitialized()) { - - return false; - } - } - if (hasEndOfHandHideCardsMessage()) { - if (!getEndOfHandHideCardsMessage().isInitialized()) { - - return false; - } - } - if (hasAfterHandShowCardsMessage()) { - if (!getAfterHandShowCardsMessage().isInitialized()) { - - return false; - } - } - if (hasEndOfGameMessage()) { - if (!getEndOfGameMessage().isInitialized()) { - - return false; - } - } - if (hasPlayerIdChangedMessage()) { - if (!getPlayerIdChangedMessage().isInitialized()) { - - return false; - } - } - if (hasAskKickPlayerMessage()) { - if (!getAskKickPlayerMessage().isInitialized()) { - - return false; - } - } - if (hasAskKickDeniedMessage()) { - if (!getAskKickDeniedMessage().isInitialized()) { - - return false; - } - } - if (hasStartKickPetitionMessage()) { - if (!getStartKickPetitionMessage().isInitialized()) { - - return false; - } - } - if (hasVoteKickRequestMessage()) { - if (!getVoteKickRequestMessage().isInitialized()) { - - return false; - } - } - if (hasVoteKickReplyMessage()) { - if (!getVoteKickReplyMessage().isInitialized()) { - - return false; - } - } - if (hasKickPetitionUpdateMessage()) { - if (!getKickPetitionUpdateMessage().isInitialized()) { - - return false; - } - } - if (hasEndKickPetitionMessage()) { - if (!getEndKickPetitionMessage().isInitialized()) { - - return false; - } - } - if (hasStatisticsMessage()) { - if (!getStatisticsMessage().isInitialized()) { - - return false; - } - } - if (hasChatRequestMessage()) { - if (!getChatRequestMessage().isInitialized()) { - - return false; - } - } - if (hasChatMessage()) { - if (!getChatMessage().isInitialized()) { - - return false; - } - } - if (hasChatRejectMessage()) { - if (!getChatRejectMessage().isInitialized()) { - - return false; - } - } - if (hasDialogMessage()) { - if (!getDialogMessage().isInitialized()) { - - return false; - } - } - if (hasTimeoutWarningMessage()) { - if (!getTimeoutWarningMessage().isInitialized()) { - - return false; - } - } - if (hasReportAvatarMessage()) { - if (!getReportAvatarMessage().isInitialized()) { - - return false; - } - } - if (hasReportAvatarAckMessage()) { - if (!getReportAvatarAckMessage().isInitialized()) { - - return false; - } - } - if (hasReportGameMessage()) { - if (!getReportGameMessage().isInitialized()) { - - return false; - } - } - if (hasReportGameAckMessage()) { - if (!getReportGameAckMessage().isInitialized()) { - - return false; - } - } - if (hasErrorMessage()) { - if (!getErrorMessage().isInitialized()) { - - return false; - } - } - if (hasAdminRemoveGameMessage()) { - if (!getAdminRemoveGameMessage().isInitialized()) { - - return false; - } - } - if (hasAdminRemoveGameAckMessage()) { - if (!getAdminRemoveGameAckMessage().isInitialized()) { - - return false; - } - } - if (hasAdminBanPlayerMessage()) { - if (!getAdminBanPlayerMessage().isInitialized()) { - - return false; - } - } - if (hasAdminBanPlayerAckMessage()) { - if (!getAdminBanPlayerAckMessage().isInitialized()) { - - return false; - } - } - if (hasGameListSpectatorJoinedMessage()) { - if (!getGameListSpectatorJoinedMessage().isInitialized()) { - - return false; - } - } - if (hasGameListSpectatorLeftMessage()) { - if (!getGameListSpectatorLeftMessage().isInitialized()) { - - return false; - } - } - if (hasGameSpectatorJoinedMessage()) { - if (!getGameSpectatorJoinedMessage().isInitialized()) { - - return false; - } - } - if (hasGameSpectatorLeftMessage()) { - if (!getGameSpectatorLeftMessage().isInitialized()) { + if (hasGameMessage()) { + if (!getGameMessage().isInitialized()) { return false; } @@ -56340,8 +62827,6 @@ public final class ProtoBuf { return this; } private int bitField0_; - private int bitField1_; - private int bitField2_; // required .PokerTHMessage.PokerTHMessageType messageType = 1; private de.pokerth.protocol.ProtoBuf.PokerTHMessage.PokerTHMessageType messageType_ = de.pokerth.protocol.ProtoBuf.PokerTHMessage.PokerTHMessageType.Type_AnnounceMessage; @@ -56440,4886 +62925,189 @@ public final class ProtoBuf { return this; } - // optional .InitMessage initMessage = 3; - private de.pokerth.protocol.ProtoBuf.InitMessage initMessage_ = de.pokerth.protocol.ProtoBuf.InitMessage.getDefaultInstance(); + // optional .AuthMessage authMessage = 3; + private de.pokerth.protocol.ProtoBuf.AuthMessage authMessage_ = de.pokerth.protocol.ProtoBuf.AuthMessage.getDefaultInstance(); /** - * optional .InitMessage initMessage = 3; + * optional .AuthMessage authMessage = 3; */ - public boolean hasInitMessage() { + public boolean hasAuthMessage() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** - * optional .InitMessage initMessage = 3; + * optional .AuthMessage authMessage = 3; */ - public de.pokerth.protocol.ProtoBuf.InitMessage getInitMessage() { - return initMessage_; + public de.pokerth.protocol.ProtoBuf.AuthMessage getAuthMessage() { + return authMessage_; } /** - * optional .InitMessage initMessage = 3; + * optional .AuthMessage authMessage = 3; */ - public Builder setInitMessage(de.pokerth.protocol.ProtoBuf.InitMessage value) { + public Builder setAuthMessage(de.pokerth.protocol.ProtoBuf.AuthMessage value) { if (value == null) { throw new NullPointerException(); } - initMessage_ = value; + authMessage_ = value; bitField0_ |= 0x00000004; return this; } /** - * optional .InitMessage initMessage = 3; + * optional .AuthMessage authMessage = 3; */ - public Builder setInitMessage( - de.pokerth.protocol.ProtoBuf.InitMessage.Builder builderForValue) { - initMessage_ = builderForValue.build(); + public Builder setAuthMessage( + de.pokerth.protocol.ProtoBuf.AuthMessage.Builder builderForValue) { + authMessage_ = builderForValue.build(); bitField0_ |= 0x00000004; return this; } /** - * optional .InitMessage initMessage = 3; + * optional .AuthMessage authMessage = 3; */ - public Builder mergeInitMessage(de.pokerth.protocol.ProtoBuf.InitMessage value) { + public Builder mergeAuthMessage(de.pokerth.protocol.ProtoBuf.AuthMessage value) { if (((bitField0_ & 0x00000004) == 0x00000004) && - initMessage_ != de.pokerth.protocol.ProtoBuf.InitMessage.getDefaultInstance()) { - initMessage_ = - de.pokerth.protocol.ProtoBuf.InitMessage.newBuilder(initMessage_).mergeFrom(value).buildPartial(); + authMessage_ != de.pokerth.protocol.ProtoBuf.AuthMessage.getDefaultInstance()) { + authMessage_ = + de.pokerth.protocol.ProtoBuf.AuthMessage.newBuilder(authMessage_).mergeFrom(value).buildPartial(); } else { - initMessage_ = value; + authMessage_ = value; } bitField0_ |= 0x00000004; return this; } /** - * optional .InitMessage initMessage = 3; + * optional .AuthMessage authMessage = 3; */ - public Builder clearInitMessage() { - initMessage_ = de.pokerth.protocol.ProtoBuf.InitMessage.getDefaultInstance(); + public Builder clearAuthMessage() { + authMessage_ = de.pokerth.protocol.ProtoBuf.AuthMessage.getDefaultInstance(); bitField0_ = (bitField0_ & ~0x00000004); return this; } - // optional .AuthServerChallengeMessage authServerChallengeMessage = 4; - private de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage authServerChallengeMessage_ = de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage.getDefaultInstance(); + // optional .LobbyMessage lobbyMessage = 4; + private de.pokerth.protocol.ProtoBuf.LobbyMessage lobbyMessage_ = de.pokerth.protocol.ProtoBuf.LobbyMessage.getDefaultInstance(); /** - * optional .AuthServerChallengeMessage authServerChallengeMessage = 4; + * optional .LobbyMessage lobbyMessage = 4; */ - public boolean hasAuthServerChallengeMessage() { + public boolean hasLobbyMessage() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** - * optional .AuthServerChallengeMessage authServerChallengeMessage = 4; + * optional .LobbyMessage lobbyMessage = 4; */ - public de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage getAuthServerChallengeMessage() { - return authServerChallengeMessage_; + public de.pokerth.protocol.ProtoBuf.LobbyMessage getLobbyMessage() { + return lobbyMessage_; } /** - * optional .AuthServerChallengeMessage authServerChallengeMessage = 4; + * optional .LobbyMessage lobbyMessage = 4; */ - public Builder setAuthServerChallengeMessage(de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage value) { + public Builder setLobbyMessage(de.pokerth.protocol.ProtoBuf.LobbyMessage value) { if (value == null) { throw new NullPointerException(); } - authServerChallengeMessage_ = value; + lobbyMessage_ = value; bitField0_ |= 0x00000008; return this; } /** - * optional .AuthServerChallengeMessage authServerChallengeMessage = 4; + * optional .LobbyMessage lobbyMessage = 4; */ - public Builder setAuthServerChallengeMessage( - de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage.Builder builderForValue) { - authServerChallengeMessage_ = builderForValue.build(); + public Builder setLobbyMessage( + de.pokerth.protocol.ProtoBuf.LobbyMessage.Builder builderForValue) { + lobbyMessage_ = builderForValue.build(); bitField0_ |= 0x00000008; return this; } /** - * optional .AuthServerChallengeMessage authServerChallengeMessage = 4; + * optional .LobbyMessage lobbyMessage = 4; */ - public Builder mergeAuthServerChallengeMessage(de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage value) { + public Builder mergeLobbyMessage(de.pokerth.protocol.ProtoBuf.LobbyMessage value) { if (((bitField0_ & 0x00000008) == 0x00000008) && - authServerChallengeMessage_ != de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage.getDefaultInstance()) { - authServerChallengeMessage_ = - de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage.newBuilder(authServerChallengeMessage_).mergeFrom(value).buildPartial(); + lobbyMessage_ != de.pokerth.protocol.ProtoBuf.LobbyMessage.getDefaultInstance()) { + lobbyMessage_ = + de.pokerth.protocol.ProtoBuf.LobbyMessage.newBuilder(lobbyMessage_).mergeFrom(value).buildPartial(); } else { - authServerChallengeMessage_ = value; + lobbyMessage_ = value; } bitField0_ |= 0x00000008; return this; } /** - * optional .AuthServerChallengeMessage authServerChallengeMessage = 4; + * optional .LobbyMessage lobbyMessage = 4; */ - public Builder clearAuthServerChallengeMessage() { - authServerChallengeMessage_ = de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage.getDefaultInstance(); + public Builder clearLobbyMessage() { + lobbyMessage_ = de.pokerth.protocol.ProtoBuf.LobbyMessage.getDefaultInstance(); bitField0_ = (bitField0_ & ~0x00000008); return this; } - // optional .AuthClientResponseMessage authClientResponseMessage = 5; - private de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage authClientResponseMessage_ = de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage.getDefaultInstance(); + // optional .GameMessage gameMessage = 5; + private de.pokerth.protocol.ProtoBuf.GameMessage gameMessage_ = de.pokerth.protocol.ProtoBuf.GameMessage.getDefaultInstance(); /** - * optional .AuthClientResponseMessage authClientResponseMessage = 5; + * optional .GameMessage gameMessage = 5; */ - public boolean hasAuthClientResponseMessage() { + public boolean hasGameMessage() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** - * optional .AuthClientResponseMessage authClientResponseMessage = 5; + * optional .GameMessage gameMessage = 5; */ - public de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage getAuthClientResponseMessage() { - return authClientResponseMessage_; + public de.pokerth.protocol.ProtoBuf.GameMessage getGameMessage() { + return gameMessage_; } /** - * optional .AuthClientResponseMessage authClientResponseMessage = 5; + * optional .GameMessage gameMessage = 5; */ - public Builder setAuthClientResponseMessage(de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage value) { + public Builder setGameMessage(de.pokerth.protocol.ProtoBuf.GameMessage value) { if (value == null) { throw new NullPointerException(); } - authClientResponseMessage_ = value; + gameMessage_ = value; bitField0_ |= 0x00000010; return this; } /** - * optional .AuthClientResponseMessage authClientResponseMessage = 5; + * optional .GameMessage gameMessage = 5; */ - public Builder setAuthClientResponseMessage( - de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage.Builder builderForValue) { - authClientResponseMessage_ = builderForValue.build(); + public Builder setGameMessage( + de.pokerth.protocol.ProtoBuf.GameMessage.Builder builderForValue) { + gameMessage_ = builderForValue.build(); bitField0_ |= 0x00000010; return this; } /** - * optional .AuthClientResponseMessage authClientResponseMessage = 5; + * optional .GameMessage gameMessage = 5; */ - public Builder mergeAuthClientResponseMessage(de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage value) { + public Builder mergeGameMessage(de.pokerth.protocol.ProtoBuf.GameMessage value) { if (((bitField0_ & 0x00000010) == 0x00000010) && - authClientResponseMessage_ != de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage.getDefaultInstance()) { - authClientResponseMessage_ = - de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage.newBuilder(authClientResponseMessage_).mergeFrom(value).buildPartial(); + gameMessage_ != de.pokerth.protocol.ProtoBuf.GameMessage.getDefaultInstance()) { + gameMessage_ = + de.pokerth.protocol.ProtoBuf.GameMessage.newBuilder(gameMessage_).mergeFrom(value).buildPartial(); } else { - authClientResponseMessage_ = value; + gameMessage_ = value; } bitField0_ |= 0x00000010; return this; } /** - * optional .AuthClientResponseMessage authClientResponseMessage = 5; + * optional .GameMessage gameMessage = 5; */ - public Builder clearAuthClientResponseMessage() { - authClientResponseMessage_ = de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage.getDefaultInstance(); + public Builder clearGameMessage() { + gameMessage_ = de.pokerth.protocol.ProtoBuf.GameMessage.getDefaultInstance(); bitField0_ = (bitField0_ & ~0x00000010); return this; } - // optional .AuthServerVerificationMessage authServerVerificationMessage = 6; - private de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage authServerVerificationMessage_ = de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage.getDefaultInstance(); - /** - * optional .AuthServerVerificationMessage authServerVerificationMessage = 6; - */ - public boolean hasAuthServerVerificationMessage() { - return ((bitField0_ & 0x00000020) == 0x00000020); - } - /** - * optional .AuthServerVerificationMessage authServerVerificationMessage = 6; - */ - public de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage getAuthServerVerificationMessage() { - return authServerVerificationMessage_; - } - /** - * optional .AuthServerVerificationMessage authServerVerificationMessage = 6; - */ - public Builder setAuthServerVerificationMessage(de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage value) { - if (value == null) { - throw new NullPointerException(); - } - authServerVerificationMessage_ = value; - - bitField0_ |= 0x00000020; - return this; - } - /** - * optional .AuthServerVerificationMessage authServerVerificationMessage = 6; - */ - public Builder setAuthServerVerificationMessage( - de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage.Builder builderForValue) { - authServerVerificationMessage_ = builderForValue.build(); - - bitField0_ |= 0x00000020; - return this; - } - /** - * optional .AuthServerVerificationMessage authServerVerificationMessage = 6; - */ - public Builder mergeAuthServerVerificationMessage(de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage value) { - if (((bitField0_ & 0x00000020) == 0x00000020) && - authServerVerificationMessage_ != de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage.getDefaultInstance()) { - authServerVerificationMessage_ = - de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage.newBuilder(authServerVerificationMessage_).mergeFrom(value).buildPartial(); - } else { - authServerVerificationMessage_ = value; - } - - bitField0_ |= 0x00000020; - return this; - } - /** - * optional .AuthServerVerificationMessage authServerVerificationMessage = 6; - */ - public Builder clearAuthServerVerificationMessage() { - authServerVerificationMessage_ = de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage.getDefaultInstance(); - - bitField0_ = (bitField0_ & ~0x00000020); - return this; - } - - // optional .InitAckMessage initAckMessage = 7; - private de.pokerth.protocol.ProtoBuf.InitAckMessage initAckMessage_ = de.pokerth.protocol.ProtoBuf.InitAckMessage.getDefaultInstance(); - /** - * optional .InitAckMessage initAckMessage = 7; - */ - public boolean hasInitAckMessage() { - return ((bitField0_ & 0x00000040) == 0x00000040); - } - /** - * optional .InitAckMessage initAckMessage = 7; - */ - public de.pokerth.protocol.ProtoBuf.InitAckMessage getInitAckMessage() { - return initAckMessage_; - } - /** - * optional .InitAckMessage initAckMessage = 7; - */ - public Builder setInitAckMessage(de.pokerth.protocol.ProtoBuf.InitAckMessage value) { - if (value == null) { - throw new NullPointerException(); - } - initAckMessage_ = value; - - bitField0_ |= 0x00000040; - return this; - } - /** - * optional .InitAckMessage initAckMessage = 7; - */ - public Builder setInitAckMessage( - de.pokerth.protocol.ProtoBuf.InitAckMessage.Builder builderForValue) { - initAckMessage_ = builderForValue.build(); - - bitField0_ |= 0x00000040; - return this; - } - /** - * optional .InitAckMessage initAckMessage = 7; - */ - public Builder mergeInitAckMessage(de.pokerth.protocol.ProtoBuf.InitAckMessage value) { - if (((bitField0_ & 0x00000040) == 0x00000040) && - initAckMessage_ != de.pokerth.protocol.ProtoBuf.InitAckMessage.getDefaultInstance()) { - initAckMessage_ = - de.pokerth.protocol.ProtoBuf.InitAckMessage.newBuilder(initAckMessage_).mergeFrom(value).buildPartial(); - } else { - initAckMessage_ = value; - } - - bitField0_ |= 0x00000040; - return this; - } - /** - * optional .InitAckMessage initAckMessage = 7; - */ - public Builder clearInitAckMessage() { - initAckMessage_ = de.pokerth.protocol.ProtoBuf.InitAckMessage.getDefaultInstance(); - - bitField0_ = (bitField0_ & ~0x00000040); - return this; - } - - // optional .AvatarRequestMessage avatarRequestMessage = 8; - private de.pokerth.protocol.ProtoBuf.AvatarRequestMessage avatarRequestMessage_ = de.pokerth.protocol.ProtoBuf.AvatarRequestMessage.getDefaultInstance(); - /** - * optional .AvatarRequestMessage avatarRequestMessage = 8; - */ - public boolean hasAvatarRequestMessage() { - return ((bitField0_ & 0x00000080) == 0x00000080); - } - /** - * optional .AvatarRequestMessage avatarRequestMessage = 8; - */ - public de.pokerth.protocol.ProtoBuf.AvatarRequestMessage getAvatarRequestMessage() { - return avatarRequestMessage_; - } - /** - * optional .AvatarRequestMessage avatarRequestMessage = 8; - */ - public Builder setAvatarRequestMessage(de.pokerth.protocol.ProtoBuf.AvatarRequestMessage value) { - if (value == null) { - throw new NullPointerException(); - } - avatarRequestMessage_ = value; - - bitField0_ |= 0x00000080; - return this; - } - /** - * optional .AvatarRequestMessage avatarRequestMessage = 8; - */ - public Builder setAvatarRequestMessage( - de.pokerth.protocol.ProtoBuf.AvatarRequestMessage.Builder builderForValue) { - avatarRequestMessage_ = builderForValue.build(); - - bitField0_ |= 0x00000080; - return this; - } - /** - * optional .AvatarRequestMessage avatarRequestMessage = 8; - */ - public Builder mergeAvatarRequestMessage(de.pokerth.protocol.ProtoBuf.AvatarRequestMessage value) { - if (((bitField0_ & 0x00000080) == 0x00000080) && - avatarRequestMessage_ != de.pokerth.protocol.ProtoBuf.AvatarRequestMessage.getDefaultInstance()) { - avatarRequestMessage_ = - de.pokerth.protocol.ProtoBuf.AvatarRequestMessage.newBuilder(avatarRequestMessage_).mergeFrom(value).buildPartial(); - } else { - avatarRequestMessage_ = value; - } - - bitField0_ |= 0x00000080; - return this; - } - /** - * optional .AvatarRequestMessage avatarRequestMessage = 8; - */ - public Builder clearAvatarRequestMessage() { - avatarRequestMessage_ = de.pokerth.protocol.ProtoBuf.AvatarRequestMessage.getDefaultInstance(); - - bitField0_ = (bitField0_ & ~0x00000080); - return this; - } - - // optional .AvatarHeaderMessage avatarHeaderMessage = 9; - private de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage avatarHeaderMessage_ = de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage.getDefaultInstance(); - /** - * optional .AvatarHeaderMessage avatarHeaderMessage = 9; - */ - public boolean hasAvatarHeaderMessage() { - return ((bitField0_ & 0x00000100) == 0x00000100); - } - /** - * optional .AvatarHeaderMessage avatarHeaderMessage = 9; - */ - public de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage getAvatarHeaderMessage() { - return avatarHeaderMessage_; - } - /** - * optional .AvatarHeaderMessage avatarHeaderMessage = 9; - */ - public Builder setAvatarHeaderMessage(de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage value) { - if (value == null) { - throw new NullPointerException(); - } - avatarHeaderMessage_ = value; - - bitField0_ |= 0x00000100; - return this; - } - /** - * optional .AvatarHeaderMessage avatarHeaderMessage = 9; - */ - public Builder setAvatarHeaderMessage( - de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage.Builder builderForValue) { - avatarHeaderMessage_ = builderForValue.build(); - - bitField0_ |= 0x00000100; - return this; - } - /** - * optional .AvatarHeaderMessage avatarHeaderMessage = 9; - */ - public Builder mergeAvatarHeaderMessage(de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage value) { - if (((bitField0_ & 0x00000100) == 0x00000100) && - avatarHeaderMessage_ != de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage.getDefaultInstance()) { - avatarHeaderMessage_ = - de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage.newBuilder(avatarHeaderMessage_).mergeFrom(value).buildPartial(); - } else { - avatarHeaderMessage_ = value; - } - - bitField0_ |= 0x00000100; - return this; - } - /** - * optional .AvatarHeaderMessage avatarHeaderMessage = 9; - */ - public Builder clearAvatarHeaderMessage() { - avatarHeaderMessage_ = de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage.getDefaultInstance(); - - bitField0_ = (bitField0_ & ~0x00000100); - return this; - } - - // optional .AvatarDataMessage avatarDataMessage = 10; - private de.pokerth.protocol.ProtoBuf.AvatarDataMessage avatarDataMessage_ = de.pokerth.protocol.ProtoBuf.AvatarDataMessage.getDefaultInstance(); - /** - * optional .AvatarDataMessage avatarDataMessage = 10; - */ - public boolean hasAvatarDataMessage() { - return ((bitField0_ & 0x00000200) == 0x00000200); - } - /** - * optional .AvatarDataMessage avatarDataMessage = 10; - */ - public de.pokerth.protocol.ProtoBuf.AvatarDataMessage getAvatarDataMessage() { - return avatarDataMessage_; - } - /** - * optional .AvatarDataMessage avatarDataMessage = 10; - */ - public Builder setAvatarDataMessage(de.pokerth.protocol.ProtoBuf.AvatarDataMessage value) { - if (value == null) { - throw new NullPointerException(); - } - avatarDataMessage_ = value; - - bitField0_ |= 0x00000200; - return this; - } - /** - * optional .AvatarDataMessage avatarDataMessage = 10; - */ - public Builder setAvatarDataMessage( - de.pokerth.protocol.ProtoBuf.AvatarDataMessage.Builder builderForValue) { - avatarDataMessage_ = builderForValue.build(); - - bitField0_ |= 0x00000200; - return this; - } - /** - * optional .AvatarDataMessage avatarDataMessage = 10; - */ - public Builder mergeAvatarDataMessage(de.pokerth.protocol.ProtoBuf.AvatarDataMessage value) { - if (((bitField0_ & 0x00000200) == 0x00000200) && - avatarDataMessage_ != de.pokerth.protocol.ProtoBuf.AvatarDataMessage.getDefaultInstance()) { - avatarDataMessage_ = - de.pokerth.protocol.ProtoBuf.AvatarDataMessage.newBuilder(avatarDataMessage_).mergeFrom(value).buildPartial(); - } else { - avatarDataMessage_ = value; - } - - bitField0_ |= 0x00000200; - return this; - } - /** - * optional .AvatarDataMessage avatarDataMessage = 10; - */ - public Builder clearAvatarDataMessage() { - avatarDataMessage_ = de.pokerth.protocol.ProtoBuf.AvatarDataMessage.getDefaultInstance(); - - bitField0_ = (bitField0_ & ~0x00000200); - return this; - } - - // optional .AvatarEndMessage avatarEndMessage = 11; - private de.pokerth.protocol.ProtoBuf.AvatarEndMessage avatarEndMessage_ = de.pokerth.protocol.ProtoBuf.AvatarEndMessage.getDefaultInstance(); - /** - * optional .AvatarEndMessage avatarEndMessage = 11; - */ - public boolean hasAvatarEndMessage() { - return ((bitField0_ & 0x00000400) == 0x00000400); - } - /** - * optional .AvatarEndMessage avatarEndMessage = 11; - */ - public de.pokerth.protocol.ProtoBuf.AvatarEndMessage getAvatarEndMessage() { - return avatarEndMessage_; - } - /** - * optional .AvatarEndMessage avatarEndMessage = 11; - */ - public Builder setAvatarEndMessage(de.pokerth.protocol.ProtoBuf.AvatarEndMessage value) { - if (value == null) { - throw new NullPointerException(); - } - avatarEndMessage_ = value; - - bitField0_ |= 0x00000400; - return this; - } - /** - * optional .AvatarEndMessage avatarEndMessage = 11; - */ - public Builder setAvatarEndMessage( - de.pokerth.protocol.ProtoBuf.AvatarEndMessage.Builder builderForValue) { - avatarEndMessage_ = builderForValue.build(); - - bitField0_ |= 0x00000400; - return this; - } - /** - * optional .AvatarEndMessage avatarEndMessage = 11; - */ - public Builder mergeAvatarEndMessage(de.pokerth.protocol.ProtoBuf.AvatarEndMessage value) { - if (((bitField0_ & 0x00000400) == 0x00000400) && - avatarEndMessage_ != de.pokerth.protocol.ProtoBuf.AvatarEndMessage.getDefaultInstance()) { - avatarEndMessage_ = - de.pokerth.protocol.ProtoBuf.AvatarEndMessage.newBuilder(avatarEndMessage_).mergeFrom(value).buildPartial(); - } else { - avatarEndMessage_ = value; - } - - bitField0_ |= 0x00000400; - return this; - } - /** - * optional .AvatarEndMessage avatarEndMessage = 11; - */ - public Builder clearAvatarEndMessage() { - avatarEndMessage_ = de.pokerth.protocol.ProtoBuf.AvatarEndMessage.getDefaultInstance(); - - bitField0_ = (bitField0_ & ~0x00000400); - return this; - } - - // optional .UnknownAvatarMessage unknownAvatarMessage = 12; - private de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage unknownAvatarMessage_ = de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage.getDefaultInstance(); - /** - * optional .UnknownAvatarMessage unknownAvatarMessage = 12; - */ - public boolean hasUnknownAvatarMessage() { - return ((bitField0_ & 0x00000800) == 0x00000800); - } - /** - * optional .UnknownAvatarMessage unknownAvatarMessage = 12; - */ - public de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage getUnknownAvatarMessage() { - return unknownAvatarMessage_; - } - /** - * optional .UnknownAvatarMessage unknownAvatarMessage = 12; - */ - public Builder setUnknownAvatarMessage(de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage value) { - if (value == null) { - throw new NullPointerException(); - } - unknownAvatarMessage_ = value; - - bitField0_ |= 0x00000800; - return this; - } - /** - * optional .UnknownAvatarMessage unknownAvatarMessage = 12; - */ - public Builder setUnknownAvatarMessage( - de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage.Builder builderForValue) { - unknownAvatarMessage_ = builderForValue.build(); - - bitField0_ |= 0x00000800; - return this; - } - /** - * optional .UnknownAvatarMessage unknownAvatarMessage = 12; - */ - public Builder mergeUnknownAvatarMessage(de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage value) { - if (((bitField0_ & 0x00000800) == 0x00000800) && - unknownAvatarMessage_ != de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage.getDefaultInstance()) { - unknownAvatarMessage_ = - de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage.newBuilder(unknownAvatarMessage_).mergeFrom(value).buildPartial(); - } else { - unknownAvatarMessage_ = value; - } - - bitField0_ |= 0x00000800; - return this; - } - /** - * optional .UnknownAvatarMessage unknownAvatarMessage = 12; - */ - public Builder clearUnknownAvatarMessage() { - unknownAvatarMessage_ = de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage.getDefaultInstance(); - - bitField0_ = (bitField0_ & ~0x00000800); - return this; - } - - // optional .PlayerListMessage playerListMessage = 13; - private de.pokerth.protocol.ProtoBuf.PlayerListMessage playerListMessage_ = de.pokerth.protocol.ProtoBuf.PlayerListMessage.getDefaultInstance(); - /** - * optional .PlayerListMessage playerListMessage = 13; - */ - public boolean hasPlayerListMessage() { - return ((bitField0_ & 0x00001000) == 0x00001000); - } - /** - * optional .PlayerListMessage playerListMessage = 13; - */ - public de.pokerth.protocol.ProtoBuf.PlayerListMessage getPlayerListMessage() { - return playerListMessage_; - } - /** - * optional .PlayerListMessage playerListMessage = 13; - */ - public Builder setPlayerListMessage(de.pokerth.protocol.ProtoBuf.PlayerListMessage value) { - if (value == null) { - throw new NullPointerException(); - } - playerListMessage_ = value; - - bitField0_ |= 0x00001000; - return this; - } - /** - * optional .PlayerListMessage playerListMessage = 13; - */ - public Builder setPlayerListMessage( - de.pokerth.protocol.ProtoBuf.PlayerListMessage.Builder builderForValue) { - playerListMessage_ = builderForValue.build(); - - bitField0_ |= 0x00001000; - return this; - } - /** - * optional .PlayerListMessage playerListMessage = 13; - */ - public Builder mergePlayerListMessage(de.pokerth.protocol.ProtoBuf.PlayerListMessage value) { - if (((bitField0_ & 0x00001000) == 0x00001000) && - playerListMessage_ != de.pokerth.protocol.ProtoBuf.PlayerListMessage.getDefaultInstance()) { - playerListMessage_ = - de.pokerth.protocol.ProtoBuf.PlayerListMessage.newBuilder(playerListMessage_).mergeFrom(value).buildPartial(); - } else { - playerListMessage_ = value; - } - - bitField0_ |= 0x00001000; - return this; - } - /** - * optional .PlayerListMessage playerListMessage = 13; - */ - public Builder clearPlayerListMessage() { - playerListMessage_ = de.pokerth.protocol.ProtoBuf.PlayerListMessage.getDefaultInstance(); - - bitField0_ = (bitField0_ & ~0x00001000); - return this; - } - - // optional .GameListNewMessage gameListNewMessage = 14; - private de.pokerth.protocol.ProtoBuf.GameListNewMessage gameListNewMessage_ = de.pokerth.protocol.ProtoBuf.GameListNewMessage.getDefaultInstance(); - /** - * optional .GameListNewMessage gameListNewMessage = 14; - */ - public boolean hasGameListNewMessage() { - return ((bitField0_ & 0x00002000) == 0x00002000); - } - /** - * optional .GameListNewMessage gameListNewMessage = 14; - */ - public de.pokerth.protocol.ProtoBuf.GameListNewMessage getGameListNewMessage() { - return gameListNewMessage_; - } - /** - * optional .GameListNewMessage gameListNewMessage = 14; - */ - public Builder setGameListNewMessage(de.pokerth.protocol.ProtoBuf.GameListNewMessage value) { - if (value == null) { - throw new NullPointerException(); - } - gameListNewMessage_ = value; - - bitField0_ |= 0x00002000; - return this; - } - /** - * optional .GameListNewMessage gameListNewMessage = 14; - */ - public Builder setGameListNewMessage( - de.pokerth.protocol.ProtoBuf.GameListNewMessage.Builder builderForValue) { - gameListNewMessage_ = builderForValue.build(); - - bitField0_ |= 0x00002000; - return this; - } - /** - * optional .GameListNewMessage gameListNewMessage = 14; - */ - public Builder mergeGameListNewMessage(de.pokerth.protocol.ProtoBuf.GameListNewMessage value) { - if (((bitField0_ & 0x00002000) == 0x00002000) && - gameListNewMessage_ != de.pokerth.protocol.ProtoBuf.GameListNewMessage.getDefaultInstance()) { - gameListNewMessage_ = - de.pokerth.protocol.ProtoBuf.GameListNewMessage.newBuilder(gameListNewMessage_).mergeFrom(value).buildPartial(); - } else { - gameListNewMessage_ = value; - } - - bitField0_ |= 0x00002000; - return this; - } - /** - * optional .GameListNewMessage gameListNewMessage = 14; - */ - public Builder clearGameListNewMessage() { - gameListNewMessage_ = de.pokerth.protocol.ProtoBuf.GameListNewMessage.getDefaultInstance(); - - bitField0_ = (bitField0_ & ~0x00002000); - return this; - } - - // optional .GameListUpdateMessage gameListUpdateMessage = 15; - private de.pokerth.protocol.ProtoBuf.GameListUpdateMessage gameListUpdateMessage_ = de.pokerth.protocol.ProtoBuf.GameListUpdateMessage.getDefaultInstance(); - /** - * optional .GameListUpdateMessage gameListUpdateMessage = 15; - */ - public boolean hasGameListUpdateMessage() { - return ((bitField0_ & 0x00004000) == 0x00004000); - } - /** - * optional .GameListUpdateMessage gameListUpdateMessage = 15; - */ - public de.pokerth.protocol.ProtoBuf.GameListUpdateMessage getGameListUpdateMessage() { - return gameListUpdateMessage_; - } - /** - * optional .GameListUpdateMessage gameListUpdateMessage = 15; - */ - public Builder setGameListUpdateMessage(de.pokerth.protocol.ProtoBuf.GameListUpdateMessage value) { - if (value == null) { - throw new NullPointerException(); - } - gameListUpdateMessage_ = value; - - bitField0_ |= 0x00004000; - return this; - } - /** - * optional .GameListUpdateMessage gameListUpdateMessage = 15; - */ - public Builder setGameListUpdateMessage( - de.pokerth.protocol.ProtoBuf.GameListUpdateMessage.Builder builderForValue) { - gameListUpdateMessage_ = builderForValue.build(); - - bitField0_ |= 0x00004000; - return this; - } - /** - * optional .GameListUpdateMessage gameListUpdateMessage = 15; - */ - public Builder mergeGameListUpdateMessage(de.pokerth.protocol.ProtoBuf.GameListUpdateMessage value) { - if (((bitField0_ & 0x00004000) == 0x00004000) && - gameListUpdateMessage_ != de.pokerth.protocol.ProtoBuf.GameListUpdateMessage.getDefaultInstance()) { - gameListUpdateMessage_ = - de.pokerth.protocol.ProtoBuf.GameListUpdateMessage.newBuilder(gameListUpdateMessage_).mergeFrom(value).buildPartial(); - } else { - gameListUpdateMessage_ = value; - } - - bitField0_ |= 0x00004000; - return this; - } - /** - * optional .GameListUpdateMessage gameListUpdateMessage = 15; - */ - public Builder clearGameListUpdateMessage() { - gameListUpdateMessage_ = de.pokerth.protocol.ProtoBuf.GameListUpdateMessage.getDefaultInstance(); - - bitField0_ = (bitField0_ & ~0x00004000); - return this; - } - - // optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 16; - private de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage gameListPlayerJoinedMessage_ = de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage.getDefaultInstance(); - /** - * optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 16; - */ - public boolean hasGameListPlayerJoinedMessage() { - return ((bitField0_ & 0x00008000) == 0x00008000); - } - /** - * optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 16; - */ - public de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage getGameListPlayerJoinedMessage() { - return gameListPlayerJoinedMessage_; - } - /** - * optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 16; - */ - public Builder setGameListPlayerJoinedMessage(de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage value) { - if (value == null) { - throw new NullPointerException(); - } - gameListPlayerJoinedMessage_ = value; - - bitField0_ |= 0x00008000; - return this; - } - /** - * optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 16; - */ - public Builder setGameListPlayerJoinedMessage( - de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage.Builder builderForValue) { - gameListPlayerJoinedMessage_ = builderForValue.build(); - - bitField0_ |= 0x00008000; - return this; - } - /** - * optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 16; - */ - public Builder mergeGameListPlayerJoinedMessage(de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage value) { - if (((bitField0_ & 0x00008000) == 0x00008000) && - gameListPlayerJoinedMessage_ != de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage.getDefaultInstance()) { - gameListPlayerJoinedMessage_ = - de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage.newBuilder(gameListPlayerJoinedMessage_).mergeFrom(value).buildPartial(); - } else { - gameListPlayerJoinedMessage_ = value; - } - - bitField0_ |= 0x00008000; - return this; - } - /** - * optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 16; - */ - public Builder clearGameListPlayerJoinedMessage() { - gameListPlayerJoinedMessage_ = de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage.getDefaultInstance(); - - bitField0_ = (bitField0_ & ~0x00008000); - return this; - } - - // optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 17; - private de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage gameListPlayerLeftMessage_ = de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage.getDefaultInstance(); - /** - * optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 17; - */ - public boolean hasGameListPlayerLeftMessage() { - return ((bitField0_ & 0x00010000) == 0x00010000); - } - /** - * optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 17; - */ - public de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage getGameListPlayerLeftMessage() { - return gameListPlayerLeftMessage_; - } - /** - * optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 17; - */ - public Builder setGameListPlayerLeftMessage(de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage value) { - if (value == null) { - throw new NullPointerException(); - } - gameListPlayerLeftMessage_ = value; - - bitField0_ |= 0x00010000; - return this; - } - /** - * optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 17; - */ - public Builder setGameListPlayerLeftMessage( - de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage.Builder builderForValue) { - gameListPlayerLeftMessage_ = builderForValue.build(); - - bitField0_ |= 0x00010000; - return this; - } - /** - * optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 17; - */ - public Builder mergeGameListPlayerLeftMessage(de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage value) { - if (((bitField0_ & 0x00010000) == 0x00010000) && - gameListPlayerLeftMessage_ != de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage.getDefaultInstance()) { - gameListPlayerLeftMessage_ = - de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage.newBuilder(gameListPlayerLeftMessage_).mergeFrom(value).buildPartial(); - } else { - gameListPlayerLeftMessage_ = value; - } - - bitField0_ |= 0x00010000; - return this; - } - /** - * optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 17; - */ - public Builder clearGameListPlayerLeftMessage() { - gameListPlayerLeftMessage_ = de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage.getDefaultInstance(); - - bitField0_ = (bitField0_ & ~0x00010000); - return this; - } - - // optional .GameListAdminChangedMessage gameListAdminChangedMessage = 18; - private de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage gameListAdminChangedMessage_ = de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage.getDefaultInstance(); - /** - * optional .GameListAdminChangedMessage gameListAdminChangedMessage = 18; - */ - public boolean hasGameListAdminChangedMessage() { - return ((bitField0_ & 0x00020000) == 0x00020000); - } - /** - * optional .GameListAdminChangedMessage gameListAdminChangedMessage = 18; - */ - public de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage getGameListAdminChangedMessage() { - return gameListAdminChangedMessage_; - } - /** - * optional .GameListAdminChangedMessage gameListAdminChangedMessage = 18; - */ - public Builder setGameListAdminChangedMessage(de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage value) { - if (value == null) { - throw new NullPointerException(); - } - gameListAdminChangedMessage_ = value; - - bitField0_ |= 0x00020000; - return this; - } - /** - * optional .GameListAdminChangedMessage gameListAdminChangedMessage = 18; - */ - public Builder setGameListAdminChangedMessage( - de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage.Builder builderForValue) { - gameListAdminChangedMessage_ = builderForValue.build(); - - bitField0_ |= 0x00020000; - return this; - } - /** - * optional .GameListAdminChangedMessage gameListAdminChangedMessage = 18; - */ - public Builder mergeGameListAdminChangedMessage(de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage value) { - if (((bitField0_ & 0x00020000) == 0x00020000) && - gameListAdminChangedMessage_ != de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage.getDefaultInstance()) { - gameListAdminChangedMessage_ = - de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage.newBuilder(gameListAdminChangedMessage_).mergeFrom(value).buildPartial(); - } else { - gameListAdminChangedMessage_ = value; - } - - bitField0_ |= 0x00020000; - return this; - } - /** - * optional .GameListAdminChangedMessage gameListAdminChangedMessage = 18; - */ - public Builder clearGameListAdminChangedMessage() { - gameListAdminChangedMessage_ = de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage.getDefaultInstance(); - - bitField0_ = (bitField0_ & ~0x00020000); - return this; - } - - // optional .PlayerInfoRequestMessage playerInfoRequestMessage = 19; - private de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage playerInfoRequestMessage_ = de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage.getDefaultInstance(); - /** - * optional .PlayerInfoRequestMessage playerInfoRequestMessage = 19; - */ - public boolean hasPlayerInfoRequestMessage() { - return ((bitField0_ & 0x00040000) == 0x00040000); - } - /** - * optional .PlayerInfoRequestMessage playerInfoRequestMessage = 19; - */ - public de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage getPlayerInfoRequestMessage() { - return playerInfoRequestMessage_; - } - /** - * optional .PlayerInfoRequestMessage playerInfoRequestMessage = 19; - */ - public Builder setPlayerInfoRequestMessage(de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage value) { - if (value == null) { - throw new NullPointerException(); - } - playerInfoRequestMessage_ = value; - - bitField0_ |= 0x00040000; - return this; - } - /** - * optional .PlayerInfoRequestMessage playerInfoRequestMessage = 19; - */ - public Builder setPlayerInfoRequestMessage( - de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage.Builder builderForValue) { - playerInfoRequestMessage_ = builderForValue.build(); - - bitField0_ |= 0x00040000; - return this; - } - /** - * optional .PlayerInfoRequestMessage playerInfoRequestMessage = 19; - */ - public Builder mergePlayerInfoRequestMessage(de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage value) { - if (((bitField0_ & 0x00040000) == 0x00040000) && - playerInfoRequestMessage_ != de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage.getDefaultInstance()) { - playerInfoRequestMessage_ = - de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage.newBuilder(playerInfoRequestMessage_).mergeFrom(value).buildPartial(); - } else { - playerInfoRequestMessage_ = value; - } - - bitField0_ |= 0x00040000; - return this; - } - /** - * optional .PlayerInfoRequestMessage playerInfoRequestMessage = 19; - */ - public Builder clearPlayerInfoRequestMessage() { - playerInfoRequestMessage_ = de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage.getDefaultInstance(); - - bitField0_ = (bitField0_ & ~0x00040000); - return this; - } - - // optional .PlayerInfoReplyMessage playerInfoReplyMessage = 20; - private de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage playerInfoReplyMessage_ = de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.getDefaultInstance(); - /** - * optional .PlayerInfoReplyMessage playerInfoReplyMessage = 20; - */ - public boolean hasPlayerInfoReplyMessage() { - return ((bitField0_ & 0x00080000) == 0x00080000); - } - /** - * optional .PlayerInfoReplyMessage playerInfoReplyMessage = 20; - */ - public de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage getPlayerInfoReplyMessage() { - return playerInfoReplyMessage_; - } - /** - * optional .PlayerInfoReplyMessage playerInfoReplyMessage = 20; - */ - public Builder setPlayerInfoReplyMessage(de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage value) { - if (value == null) { - throw new NullPointerException(); - } - playerInfoReplyMessage_ = value; - - bitField0_ |= 0x00080000; - return this; - } - /** - * optional .PlayerInfoReplyMessage playerInfoReplyMessage = 20; - */ - public Builder setPlayerInfoReplyMessage( - de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.Builder builderForValue) { - playerInfoReplyMessage_ = builderForValue.build(); - - bitField0_ |= 0x00080000; - return this; - } - /** - * optional .PlayerInfoReplyMessage playerInfoReplyMessage = 20; - */ - public Builder mergePlayerInfoReplyMessage(de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage value) { - if (((bitField0_ & 0x00080000) == 0x00080000) && - playerInfoReplyMessage_ != de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.getDefaultInstance()) { - playerInfoReplyMessage_ = - de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.newBuilder(playerInfoReplyMessage_).mergeFrom(value).buildPartial(); - } else { - playerInfoReplyMessage_ = value; - } - - bitField0_ |= 0x00080000; - return this; - } - /** - * optional .PlayerInfoReplyMessage playerInfoReplyMessage = 20; - */ - public Builder clearPlayerInfoReplyMessage() { - playerInfoReplyMessage_ = de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.getDefaultInstance(); - - bitField0_ = (bitField0_ & ~0x00080000); - return this; - } - - // optional .SubscriptionRequestMessage subscriptionRequestMessage = 21; - private de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage subscriptionRequestMessage_ = de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.getDefaultInstance(); - /** - * optional .SubscriptionRequestMessage subscriptionRequestMessage = 21; - */ - public boolean hasSubscriptionRequestMessage() { - return ((bitField0_ & 0x00100000) == 0x00100000); - } - /** - * optional .SubscriptionRequestMessage subscriptionRequestMessage = 21; - */ - public de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage getSubscriptionRequestMessage() { - return subscriptionRequestMessage_; - } - /** - * optional .SubscriptionRequestMessage subscriptionRequestMessage = 21; - */ - public Builder setSubscriptionRequestMessage(de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage value) { - if (value == null) { - throw new NullPointerException(); - } - subscriptionRequestMessage_ = value; - - bitField0_ |= 0x00100000; - return this; - } - /** - * optional .SubscriptionRequestMessage subscriptionRequestMessage = 21; - */ - public Builder setSubscriptionRequestMessage( - de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.Builder builderForValue) { - subscriptionRequestMessage_ = builderForValue.build(); - - bitField0_ |= 0x00100000; - return this; - } - /** - * optional .SubscriptionRequestMessage subscriptionRequestMessage = 21; - */ - public Builder mergeSubscriptionRequestMessage(de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage value) { - if (((bitField0_ & 0x00100000) == 0x00100000) && - subscriptionRequestMessage_ != de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.getDefaultInstance()) { - subscriptionRequestMessage_ = - de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.newBuilder(subscriptionRequestMessage_).mergeFrom(value).buildPartial(); - } else { - subscriptionRequestMessage_ = value; - } - - bitField0_ |= 0x00100000; - return this; - } - /** - * optional .SubscriptionRequestMessage subscriptionRequestMessage = 21; - */ - public Builder clearSubscriptionRequestMessage() { - subscriptionRequestMessage_ = de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.getDefaultInstance(); - - bitField0_ = (bitField0_ & ~0x00100000); - return this; - } - - // optional .JoinExistingGameMessage joinExistingGameMessage = 22; - private de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage joinExistingGameMessage_ = de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage.getDefaultInstance(); - /** - * optional .JoinExistingGameMessage joinExistingGameMessage = 22; - */ - public boolean hasJoinExistingGameMessage() { - return ((bitField0_ & 0x00200000) == 0x00200000); - } - /** - * optional .JoinExistingGameMessage joinExistingGameMessage = 22; - */ - public de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage getJoinExistingGameMessage() { - return joinExistingGameMessage_; - } - /** - * optional .JoinExistingGameMessage joinExistingGameMessage = 22; - */ - public Builder setJoinExistingGameMessage(de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage value) { - if (value == null) { - throw new NullPointerException(); - } - joinExistingGameMessage_ = value; - - bitField0_ |= 0x00200000; - return this; - } - /** - * optional .JoinExistingGameMessage joinExistingGameMessage = 22; - */ - public Builder setJoinExistingGameMessage( - de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage.Builder builderForValue) { - joinExistingGameMessage_ = builderForValue.build(); - - bitField0_ |= 0x00200000; - return this; - } - /** - * optional .JoinExistingGameMessage joinExistingGameMessage = 22; - */ - public Builder mergeJoinExistingGameMessage(de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage value) { - if (((bitField0_ & 0x00200000) == 0x00200000) && - joinExistingGameMessage_ != de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage.getDefaultInstance()) { - joinExistingGameMessage_ = - de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage.newBuilder(joinExistingGameMessage_).mergeFrom(value).buildPartial(); - } else { - joinExistingGameMessage_ = value; - } - - bitField0_ |= 0x00200000; - return this; - } - /** - * optional .JoinExistingGameMessage joinExistingGameMessage = 22; - */ - public Builder clearJoinExistingGameMessage() { - joinExistingGameMessage_ = de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage.getDefaultInstance(); - - bitField0_ = (bitField0_ & ~0x00200000); - return this; - } - - // optional .JoinNewGameMessage joinNewGameMessage = 23; - private de.pokerth.protocol.ProtoBuf.JoinNewGameMessage joinNewGameMessage_ = de.pokerth.protocol.ProtoBuf.JoinNewGameMessage.getDefaultInstance(); - /** - * optional .JoinNewGameMessage joinNewGameMessage = 23; - */ - public boolean hasJoinNewGameMessage() { - return ((bitField0_ & 0x00400000) == 0x00400000); - } - /** - * optional .JoinNewGameMessage joinNewGameMessage = 23; - */ - public de.pokerth.protocol.ProtoBuf.JoinNewGameMessage getJoinNewGameMessage() { - return joinNewGameMessage_; - } - /** - * optional .JoinNewGameMessage joinNewGameMessage = 23; - */ - public Builder setJoinNewGameMessage(de.pokerth.protocol.ProtoBuf.JoinNewGameMessage value) { - if (value == null) { - throw new NullPointerException(); - } - joinNewGameMessage_ = value; - - bitField0_ |= 0x00400000; - return this; - } - /** - * optional .JoinNewGameMessage joinNewGameMessage = 23; - */ - public Builder setJoinNewGameMessage( - de.pokerth.protocol.ProtoBuf.JoinNewGameMessage.Builder builderForValue) { - joinNewGameMessage_ = builderForValue.build(); - - bitField0_ |= 0x00400000; - return this; - } - /** - * optional .JoinNewGameMessage joinNewGameMessage = 23; - */ - public Builder mergeJoinNewGameMessage(de.pokerth.protocol.ProtoBuf.JoinNewGameMessage value) { - if (((bitField0_ & 0x00400000) == 0x00400000) && - joinNewGameMessage_ != de.pokerth.protocol.ProtoBuf.JoinNewGameMessage.getDefaultInstance()) { - joinNewGameMessage_ = - de.pokerth.protocol.ProtoBuf.JoinNewGameMessage.newBuilder(joinNewGameMessage_).mergeFrom(value).buildPartial(); - } else { - joinNewGameMessage_ = value; - } - - bitField0_ |= 0x00400000; - return this; - } - /** - * optional .JoinNewGameMessage joinNewGameMessage = 23; - */ - public Builder clearJoinNewGameMessage() { - joinNewGameMessage_ = de.pokerth.protocol.ProtoBuf.JoinNewGameMessage.getDefaultInstance(); - - bitField0_ = (bitField0_ & ~0x00400000); - return this; - } - - // optional .RejoinExistingGameMessage rejoinExistingGameMessage = 24; - private de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage rejoinExistingGameMessage_ = de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage.getDefaultInstance(); - /** - * optional .RejoinExistingGameMessage rejoinExistingGameMessage = 24; - */ - public boolean hasRejoinExistingGameMessage() { - return ((bitField0_ & 0x00800000) == 0x00800000); - } - /** - * optional .RejoinExistingGameMessage rejoinExistingGameMessage = 24; - */ - public de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage getRejoinExistingGameMessage() { - return rejoinExistingGameMessage_; - } - /** - * optional .RejoinExistingGameMessage rejoinExistingGameMessage = 24; - */ - public Builder setRejoinExistingGameMessage(de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage value) { - if (value == null) { - throw new NullPointerException(); - } - rejoinExistingGameMessage_ = value; - - bitField0_ |= 0x00800000; - return this; - } - /** - * optional .RejoinExistingGameMessage rejoinExistingGameMessage = 24; - */ - public Builder setRejoinExistingGameMessage( - de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage.Builder builderForValue) { - rejoinExistingGameMessage_ = builderForValue.build(); - - bitField0_ |= 0x00800000; - return this; - } - /** - * optional .RejoinExistingGameMessage rejoinExistingGameMessage = 24; - */ - public Builder mergeRejoinExistingGameMessage(de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage value) { - if (((bitField0_ & 0x00800000) == 0x00800000) && - rejoinExistingGameMessage_ != de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage.getDefaultInstance()) { - rejoinExistingGameMessage_ = - de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage.newBuilder(rejoinExistingGameMessage_).mergeFrom(value).buildPartial(); - } else { - rejoinExistingGameMessage_ = value; - } - - bitField0_ |= 0x00800000; - return this; - } - /** - * optional .RejoinExistingGameMessage rejoinExistingGameMessage = 24; - */ - public Builder clearRejoinExistingGameMessage() { - rejoinExistingGameMessage_ = de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage.getDefaultInstance(); - - bitField0_ = (bitField0_ & ~0x00800000); - return this; - } - - // optional .JoinGameAckMessage joinGameAckMessage = 25; - private de.pokerth.protocol.ProtoBuf.JoinGameAckMessage joinGameAckMessage_ = de.pokerth.protocol.ProtoBuf.JoinGameAckMessage.getDefaultInstance(); - /** - * optional .JoinGameAckMessage joinGameAckMessage = 25; - */ - public boolean hasJoinGameAckMessage() { - return ((bitField0_ & 0x01000000) == 0x01000000); - } - /** - * optional .JoinGameAckMessage joinGameAckMessage = 25; - */ - public de.pokerth.protocol.ProtoBuf.JoinGameAckMessage getJoinGameAckMessage() { - return joinGameAckMessage_; - } - /** - * optional .JoinGameAckMessage joinGameAckMessage = 25; - */ - public Builder setJoinGameAckMessage(de.pokerth.protocol.ProtoBuf.JoinGameAckMessage value) { - if (value == null) { - throw new NullPointerException(); - } - joinGameAckMessage_ = value; - - bitField0_ |= 0x01000000; - return this; - } - /** - * optional .JoinGameAckMessage joinGameAckMessage = 25; - */ - public Builder setJoinGameAckMessage( - de.pokerth.protocol.ProtoBuf.JoinGameAckMessage.Builder builderForValue) { - joinGameAckMessage_ = builderForValue.build(); - - bitField0_ |= 0x01000000; - return this; - } - /** - * optional .JoinGameAckMessage joinGameAckMessage = 25; - */ - public Builder mergeJoinGameAckMessage(de.pokerth.protocol.ProtoBuf.JoinGameAckMessage value) { - if (((bitField0_ & 0x01000000) == 0x01000000) && - joinGameAckMessage_ != de.pokerth.protocol.ProtoBuf.JoinGameAckMessage.getDefaultInstance()) { - joinGameAckMessage_ = - de.pokerth.protocol.ProtoBuf.JoinGameAckMessage.newBuilder(joinGameAckMessage_).mergeFrom(value).buildPartial(); - } else { - joinGameAckMessage_ = value; - } - - bitField0_ |= 0x01000000; - return this; - } - /** - * optional .JoinGameAckMessage joinGameAckMessage = 25; - */ - public Builder clearJoinGameAckMessage() { - joinGameAckMessage_ = de.pokerth.protocol.ProtoBuf.JoinGameAckMessage.getDefaultInstance(); - - bitField0_ = (bitField0_ & ~0x01000000); - return this; - } - - // optional .JoinGameFailedMessage joinGameFailedMessage = 26; - private de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage joinGameFailedMessage_ = de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.getDefaultInstance(); - /** - * optional .JoinGameFailedMessage joinGameFailedMessage = 26; - */ - public boolean hasJoinGameFailedMessage() { - return ((bitField0_ & 0x02000000) == 0x02000000); - } - /** - * optional .JoinGameFailedMessage joinGameFailedMessage = 26; - */ - public de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage getJoinGameFailedMessage() { - return joinGameFailedMessage_; - } - /** - * optional .JoinGameFailedMessage joinGameFailedMessage = 26; - */ - public Builder setJoinGameFailedMessage(de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage value) { - if (value == null) { - throw new NullPointerException(); - } - joinGameFailedMessage_ = value; - - bitField0_ |= 0x02000000; - return this; - } - /** - * optional .JoinGameFailedMessage joinGameFailedMessage = 26; - */ - public Builder setJoinGameFailedMessage( - de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.Builder builderForValue) { - joinGameFailedMessage_ = builderForValue.build(); - - bitField0_ |= 0x02000000; - return this; - } - /** - * optional .JoinGameFailedMessage joinGameFailedMessage = 26; - */ - public Builder mergeJoinGameFailedMessage(de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage value) { - if (((bitField0_ & 0x02000000) == 0x02000000) && - joinGameFailedMessage_ != de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.getDefaultInstance()) { - joinGameFailedMessage_ = - de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.newBuilder(joinGameFailedMessage_).mergeFrom(value).buildPartial(); - } else { - joinGameFailedMessage_ = value; - } - - bitField0_ |= 0x02000000; - return this; - } - /** - * optional .JoinGameFailedMessage joinGameFailedMessage = 26; - */ - public Builder clearJoinGameFailedMessage() { - joinGameFailedMessage_ = de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.getDefaultInstance(); - - bitField0_ = (bitField0_ & ~0x02000000); - return this; - } - - // optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 27; - private de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage gamePlayerJoinedMessage_ = de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage.getDefaultInstance(); - /** - * optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 27; - */ - public boolean hasGamePlayerJoinedMessage() { - return ((bitField0_ & 0x04000000) == 0x04000000); - } - /** - * optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 27; - */ - public de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage getGamePlayerJoinedMessage() { - return gamePlayerJoinedMessage_; - } - /** - * optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 27; - */ - public Builder setGamePlayerJoinedMessage(de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage value) { - if (value == null) { - throw new NullPointerException(); - } - gamePlayerJoinedMessage_ = value; - - bitField0_ |= 0x04000000; - return this; - } - /** - * optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 27; - */ - public Builder setGamePlayerJoinedMessage( - de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage.Builder builderForValue) { - gamePlayerJoinedMessage_ = builderForValue.build(); - - bitField0_ |= 0x04000000; - return this; - } - /** - * optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 27; - */ - public Builder mergeGamePlayerJoinedMessage(de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage value) { - if (((bitField0_ & 0x04000000) == 0x04000000) && - gamePlayerJoinedMessage_ != de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage.getDefaultInstance()) { - gamePlayerJoinedMessage_ = - de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage.newBuilder(gamePlayerJoinedMessage_).mergeFrom(value).buildPartial(); - } else { - gamePlayerJoinedMessage_ = value; - } - - bitField0_ |= 0x04000000; - return this; - } - /** - * optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 27; - */ - public Builder clearGamePlayerJoinedMessage() { - gamePlayerJoinedMessage_ = de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage.getDefaultInstance(); - - bitField0_ = (bitField0_ & ~0x04000000); - return this; - } - - // optional .GamePlayerLeftMessage gamePlayerLeftMessage = 28; - private de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage gamePlayerLeftMessage_ = de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.getDefaultInstance(); - /** - * optional .GamePlayerLeftMessage gamePlayerLeftMessage = 28; - */ - public boolean hasGamePlayerLeftMessage() { - return ((bitField0_ & 0x08000000) == 0x08000000); - } - /** - * optional .GamePlayerLeftMessage gamePlayerLeftMessage = 28; - */ - public de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage getGamePlayerLeftMessage() { - return gamePlayerLeftMessage_; - } - /** - * optional .GamePlayerLeftMessage gamePlayerLeftMessage = 28; - */ - public Builder setGamePlayerLeftMessage(de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage value) { - if (value == null) { - throw new NullPointerException(); - } - gamePlayerLeftMessage_ = value; - - bitField0_ |= 0x08000000; - return this; - } - /** - * optional .GamePlayerLeftMessage gamePlayerLeftMessage = 28; - */ - public Builder setGamePlayerLeftMessage( - de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.Builder builderForValue) { - gamePlayerLeftMessage_ = builderForValue.build(); - - bitField0_ |= 0x08000000; - return this; - } - /** - * optional .GamePlayerLeftMessage gamePlayerLeftMessage = 28; - */ - public Builder mergeGamePlayerLeftMessage(de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage value) { - if (((bitField0_ & 0x08000000) == 0x08000000) && - gamePlayerLeftMessage_ != de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.getDefaultInstance()) { - gamePlayerLeftMessage_ = - de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.newBuilder(gamePlayerLeftMessage_).mergeFrom(value).buildPartial(); - } else { - gamePlayerLeftMessage_ = value; - } - - bitField0_ |= 0x08000000; - return this; - } - /** - * optional .GamePlayerLeftMessage gamePlayerLeftMessage = 28; - */ - public Builder clearGamePlayerLeftMessage() { - gamePlayerLeftMessage_ = de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.getDefaultInstance(); - - bitField0_ = (bitField0_ & ~0x08000000); - return this; - } - - // optional .GameAdminChangedMessage gameAdminChangedMessage = 29; - private de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage gameAdminChangedMessage_ = de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage.getDefaultInstance(); - /** - * optional .GameAdminChangedMessage gameAdminChangedMessage = 29; - */ - public boolean hasGameAdminChangedMessage() { - return ((bitField0_ & 0x10000000) == 0x10000000); - } - /** - * optional .GameAdminChangedMessage gameAdminChangedMessage = 29; - */ - public de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage getGameAdminChangedMessage() { - return gameAdminChangedMessage_; - } - /** - * optional .GameAdminChangedMessage gameAdminChangedMessage = 29; - */ - public Builder setGameAdminChangedMessage(de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage value) { - if (value == null) { - throw new NullPointerException(); - } - gameAdminChangedMessage_ = value; - - bitField0_ |= 0x10000000; - return this; - } - /** - * optional .GameAdminChangedMessage gameAdminChangedMessage = 29; - */ - public Builder setGameAdminChangedMessage( - de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage.Builder builderForValue) { - gameAdminChangedMessage_ = builderForValue.build(); - - bitField0_ |= 0x10000000; - return this; - } - /** - * optional .GameAdminChangedMessage gameAdminChangedMessage = 29; - */ - public Builder mergeGameAdminChangedMessage(de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage value) { - if (((bitField0_ & 0x10000000) == 0x10000000) && - gameAdminChangedMessage_ != de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage.getDefaultInstance()) { - gameAdminChangedMessage_ = - de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage.newBuilder(gameAdminChangedMessage_).mergeFrom(value).buildPartial(); - } else { - gameAdminChangedMessage_ = value; - } - - bitField0_ |= 0x10000000; - return this; - } - /** - * optional .GameAdminChangedMessage gameAdminChangedMessage = 29; - */ - public Builder clearGameAdminChangedMessage() { - gameAdminChangedMessage_ = de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage.getDefaultInstance(); - - bitField0_ = (bitField0_ & ~0x10000000); - return this; - } - - // optional .RemovedFromGameMessage removedFromGameMessage = 30; - private de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage removedFromGameMessage_ = de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.getDefaultInstance(); - /** - * optional .RemovedFromGameMessage removedFromGameMessage = 30; - */ - public boolean hasRemovedFromGameMessage() { - return ((bitField0_ & 0x20000000) == 0x20000000); - } - /** - * optional .RemovedFromGameMessage removedFromGameMessage = 30; - */ - public de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage getRemovedFromGameMessage() { - return removedFromGameMessage_; - } - /** - * optional .RemovedFromGameMessage removedFromGameMessage = 30; - */ - public Builder setRemovedFromGameMessage(de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage value) { - if (value == null) { - throw new NullPointerException(); - } - removedFromGameMessage_ = value; - - bitField0_ |= 0x20000000; - return this; - } - /** - * optional .RemovedFromGameMessage removedFromGameMessage = 30; - */ - public Builder setRemovedFromGameMessage( - de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.Builder builderForValue) { - removedFromGameMessage_ = builderForValue.build(); - - bitField0_ |= 0x20000000; - return this; - } - /** - * optional .RemovedFromGameMessage removedFromGameMessage = 30; - */ - public Builder mergeRemovedFromGameMessage(de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage value) { - if (((bitField0_ & 0x20000000) == 0x20000000) && - removedFromGameMessage_ != de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.getDefaultInstance()) { - removedFromGameMessage_ = - de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.newBuilder(removedFromGameMessage_).mergeFrom(value).buildPartial(); - } else { - removedFromGameMessage_ = value; - } - - bitField0_ |= 0x20000000; - return this; - } - /** - * optional .RemovedFromGameMessage removedFromGameMessage = 30; - */ - public Builder clearRemovedFromGameMessage() { - removedFromGameMessage_ = de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.getDefaultInstance(); - - bitField0_ = (bitField0_ & ~0x20000000); - return this; - } - - // optional .KickPlayerRequestMessage kickPlayerRequestMessage = 31; - private de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage kickPlayerRequestMessage_ = de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage.getDefaultInstance(); - /** - * optional .KickPlayerRequestMessage kickPlayerRequestMessage = 31; - */ - public boolean hasKickPlayerRequestMessage() { - return ((bitField0_ & 0x40000000) == 0x40000000); - } - /** - * optional .KickPlayerRequestMessage kickPlayerRequestMessage = 31; - */ - public de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage getKickPlayerRequestMessage() { - return kickPlayerRequestMessage_; - } - /** - * optional .KickPlayerRequestMessage kickPlayerRequestMessage = 31; - */ - public Builder setKickPlayerRequestMessage(de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage value) { - if (value == null) { - throw new NullPointerException(); - } - kickPlayerRequestMessage_ = value; - - bitField0_ |= 0x40000000; - return this; - } - /** - * optional .KickPlayerRequestMessage kickPlayerRequestMessage = 31; - */ - public Builder setKickPlayerRequestMessage( - de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage.Builder builderForValue) { - kickPlayerRequestMessage_ = builderForValue.build(); - - bitField0_ |= 0x40000000; - return this; - } - /** - * optional .KickPlayerRequestMessage kickPlayerRequestMessage = 31; - */ - public Builder mergeKickPlayerRequestMessage(de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage value) { - if (((bitField0_ & 0x40000000) == 0x40000000) && - kickPlayerRequestMessage_ != de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage.getDefaultInstance()) { - kickPlayerRequestMessage_ = - de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage.newBuilder(kickPlayerRequestMessage_).mergeFrom(value).buildPartial(); - } else { - kickPlayerRequestMessage_ = value; - } - - bitField0_ |= 0x40000000; - return this; - } - /** - * optional .KickPlayerRequestMessage kickPlayerRequestMessage = 31; - */ - public Builder clearKickPlayerRequestMessage() { - kickPlayerRequestMessage_ = de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage.getDefaultInstance(); - - bitField0_ = (bitField0_ & ~0x40000000); - return this; - } - - // optional .LeaveGameRequestMessage leaveGameRequestMessage = 32; - private de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage leaveGameRequestMessage_ = de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage.getDefaultInstance(); - /** - * optional .LeaveGameRequestMessage leaveGameRequestMessage = 32; - */ - public boolean hasLeaveGameRequestMessage() { - return ((bitField0_ & 0x80000000) == 0x80000000); - } - /** - * optional .LeaveGameRequestMessage leaveGameRequestMessage = 32; - */ - public de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage getLeaveGameRequestMessage() { - return leaveGameRequestMessage_; - } - /** - * optional .LeaveGameRequestMessage leaveGameRequestMessage = 32; - */ - public Builder setLeaveGameRequestMessage(de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage value) { - if (value == null) { - throw new NullPointerException(); - } - leaveGameRequestMessage_ = value; - - bitField0_ |= 0x80000000; - return this; - } - /** - * optional .LeaveGameRequestMessage leaveGameRequestMessage = 32; - */ - public Builder setLeaveGameRequestMessage( - de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage.Builder builderForValue) { - leaveGameRequestMessage_ = builderForValue.build(); - - bitField0_ |= 0x80000000; - return this; - } - /** - * optional .LeaveGameRequestMessage leaveGameRequestMessage = 32; - */ - public Builder mergeLeaveGameRequestMessage(de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage value) { - if (((bitField0_ & 0x80000000) == 0x80000000) && - leaveGameRequestMessage_ != de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage.getDefaultInstance()) { - leaveGameRequestMessage_ = - de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage.newBuilder(leaveGameRequestMessage_).mergeFrom(value).buildPartial(); - } else { - leaveGameRequestMessage_ = value; - } - - bitField0_ |= 0x80000000; - return this; - } - /** - * optional .LeaveGameRequestMessage leaveGameRequestMessage = 32; - */ - public Builder clearLeaveGameRequestMessage() { - leaveGameRequestMessage_ = de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage.getDefaultInstance(); - - bitField0_ = (bitField0_ & ~0x80000000); - return this; - } - - // optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 33; - private de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage invitePlayerToGameMessage_ = de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage.getDefaultInstance(); - /** - * optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 33; - */ - public boolean hasInvitePlayerToGameMessage() { - return ((bitField1_ & 0x00000001) == 0x00000001); - } - /** - * optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 33; - */ - public de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage getInvitePlayerToGameMessage() { - return invitePlayerToGameMessage_; - } - /** - * optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 33; - */ - public Builder setInvitePlayerToGameMessage(de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage value) { - if (value == null) { - throw new NullPointerException(); - } - invitePlayerToGameMessage_ = value; - - bitField1_ |= 0x00000001; - return this; - } - /** - * optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 33; - */ - public Builder setInvitePlayerToGameMessage( - de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage.Builder builderForValue) { - invitePlayerToGameMessage_ = builderForValue.build(); - - bitField1_ |= 0x00000001; - return this; - } - /** - * optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 33; - */ - public Builder mergeInvitePlayerToGameMessage(de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage value) { - if (((bitField1_ & 0x00000001) == 0x00000001) && - invitePlayerToGameMessage_ != de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage.getDefaultInstance()) { - invitePlayerToGameMessage_ = - de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage.newBuilder(invitePlayerToGameMessage_).mergeFrom(value).buildPartial(); - } else { - invitePlayerToGameMessage_ = value; - } - - bitField1_ |= 0x00000001; - return this; - } - /** - * optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 33; - */ - public Builder clearInvitePlayerToGameMessage() { - invitePlayerToGameMessage_ = de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage.getDefaultInstance(); - - bitField1_ = (bitField1_ & ~0x00000001); - return this; - } - - // optional .InviteNotifyMessage inviteNotifyMessage = 34; - private de.pokerth.protocol.ProtoBuf.InviteNotifyMessage inviteNotifyMessage_ = de.pokerth.protocol.ProtoBuf.InviteNotifyMessage.getDefaultInstance(); - /** - * optional .InviteNotifyMessage inviteNotifyMessage = 34; - */ - public boolean hasInviteNotifyMessage() { - return ((bitField1_ & 0x00000002) == 0x00000002); - } - /** - * optional .InviteNotifyMessage inviteNotifyMessage = 34; - */ - public de.pokerth.protocol.ProtoBuf.InviteNotifyMessage getInviteNotifyMessage() { - return inviteNotifyMessage_; - } - /** - * optional .InviteNotifyMessage inviteNotifyMessage = 34; - */ - public Builder setInviteNotifyMessage(de.pokerth.protocol.ProtoBuf.InviteNotifyMessage value) { - if (value == null) { - throw new NullPointerException(); - } - inviteNotifyMessage_ = value; - - bitField1_ |= 0x00000002; - return this; - } - /** - * optional .InviteNotifyMessage inviteNotifyMessage = 34; - */ - public Builder setInviteNotifyMessage( - de.pokerth.protocol.ProtoBuf.InviteNotifyMessage.Builder builderForValue) { - inviteNotifyMessage_ = builderForValue.build(); - - bitField1_ |= 0x00000002; - return this; - } - /** - * optional .InviteNotifyMessage inviteNotifyMessage = 34; - */ - public Builder mergeInviteNotifyMessage(de.pokerth.protocol.ProtoBuf.InviteNotifyMessage value) { - if (((bitField1_ & 0x00000002) == 0x00000002) && - inviteNotifyMessage_ != de.pokerth.protocol.ProtoBuf.InviteNotifyMessage.getDefaultInstance()) { - inviteNotifyMessage_ = - de.pokerth.protocol.ProtoBuf.InviteNotifyMessage.newBuilder(inviteNotifyMessage_).mergeFrom(value).buildPartial(); - } else { - inviteNotifyMessage_ = value; - } - - bitField1_ |= 0x00000002; - return this; - } - /** - * optional .InviteNotifyMessage inviteNotifyMessage = 34; - */ - public Builder clearInviteNotifyMessage() { - inviteNotifyMessage_ = de.pokerth.protocol.ProtoBuf.InviteNotifyMessage.getDefaultInstance(); - - bitField1_ = (bitField1_ & ~0x00000002); - return this; - } - - // optional .RejectGameInvitationMessage rejectGameInvitationMessage = 35; - private de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage rejectGameInvitationMessage_ = de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.getDefaultInstance(); - /** - * optional .RejectGameInvitationMessage rejectGameInvitationMessage = 35; - */ - public boolean hasRejectGameInvitationMessage() { - return ((bitField1_ & 0x00000004) == 0x00000004); - } - /** - * optional .RejectGameInvitationMessage rejectGameInvitationMessage = 35; - */ - public de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage getRejectGameInvitationMessage() { - return rejectGameInvitationMessage_; - } - /** - * optional .RejectGameInvitationMessage rejectGameInvitationMessage = 35; - */ - public Builder setRejectGameInvitationMessage(de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage value) { - if (value == null) { - throw new NullPointerException(); - } - rejectGameInvitationMessage_ = value; - - bitField1_ |= 0x00000004; - return this; - } - /** - * optional .RejectGameInvitationMessage rejectGameInvitationMessage = 35; - */ - public Builder setRejectGameInvitationMessage( - de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.Builder builderForValue) { - rejectGameInvitationMessage_ = builderForValue.build(); - - bitField1_ |= 0x00000004; - return this; - } - /** - * optional .RejectGameInvitationMessage rejectGameInvitationMessage = 35; - */ - public Builder mergeRejectGameInvitationMessage(de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage value) { - if (((bitField1_ & 0x00000004) == 0x00000004) && - rejectGameInvitationMessage_ != de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.getDefaultInstance()) { - rejectGameInvitationMessage_ = - de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.newBuilder(rejectGameInvitationMessage_).mergeFrom(value).buildPartial(); - } else { - rejectGameInvitationMessage_ = value; - } - - bitField1_ |= 0x00000004; - return this; - } - /** - * optional .RejectGameInvitationMessage rejectGameInvitationMessage = 35; - */ - public Builder clearRejectGameInvitationMessage() { - rejectGameInvitationMessage_ = de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.getDefaultInstance(); - - bitField1_ = (bitField1_ & ~0x00000004); - return this; - } - - // optional .RejectInvNotifyMessage rejectInvNotifyMessage = 36; - private de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage rejectInvNotifyMessage_ = de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage.getDefaultInstance(); - /** - * optional .RejectInvNotifyMessage rejectInvNotifyMessage = 36; - */ - public boolean hasRejectInvNotifyMessage() { - return ((bitField1_ & 0x00000008) == 0x00000008); - } - /** - * optional .RejectInvNotifyMessage rejectInvNotifyMessage = 36; - */ - public de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage getRejectInvNotifyMessage() { - return rejectInvNotifyMessage_; - } - /** - * optional .RejectInvNotifyMessage rejectInvNotifyMessage = 36; - */ - public Builder setRejectInvNotifyMessage(de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage value) { - if (value == null) { - throw new NullPointerException(); - } - rejectInvNotifyMessage_ = value; - - bitField1_ |= 0x00000008; - return this; - } - /** - * optional .RejectInvNotifyMessage rejectInvNotifyMessage = 36; - */ - public Builder setRejectInvNotifyMessage( - de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage.Builder builderForValue) { - rejectInvNotifyMessage_ = builderForValue.build(); - - bitField1_ |= 0x00000008; - return this; - } - /** - * optional .RejectInvNotifyMessage rejectInvNotifyMessage = 36; - */ - public Builder mergeRejectInvNotifyMessage(de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage value) { - if (((bitField1_ & 0x00000008) == 0x00000008) && - rejectInvNotifyMessage_ != de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage.getDefaultInstance()) { - rejectInvNotifyMessage_ = - de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage.newBuilder(rejectInvNotifyMessage_).mergeFrom(value).buildPartial(); - } else { - rejectInvNotifyMessage_ = value; - } - - bitField1_ |= 0x00000008; - return this; - } - /** - * optional .RejectInvNotifyMessage rejectInvNotifyMessage = 36; - */ - public Builder clearRejectInvNotifyMessage() { - rejectInvNotifyMessage_ = de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage.getDefaultInstance(); - - bitField1_ = (bitField1_ & ~0x00000008); - return this; - } - - // optional .StartEventMessage startEventMessage = 37; - private de.pokerth.protocol.ProtoBuf.StartEventMessage startEventMessage_ = de.pokerth.protocol.ProtoBuf.StartEventMessage.getDefaultInstance(); - /** - * optional .StartEventMessage startEventMessage = 37; - */ - public boolean hasStartEventMessage() { - return ((bitField1_ & 0x00000010) == 0x00000010); - } - /** - * optional .StartEventMessage startEventMessage = 37; - */ - public de.pokerth.protocol.ProtoBuf.StartEventMessage getStartEventMessage() { - return startEventMessage_; - } - /** - * optional .StartEventMessage startEventMessage = 37; - */ - public Builder setStartEventMessage(de.pokerth.protocol.ProtoBuf.StartEventMessage value) { - if (value == null) { - throw new NullPointerException(); - } - startEventMessage_ = value; - - bitField1_ |= 0x00000010; - return this; - } - /** - * optional .StartEventMessage startEventMessage = 37; - */ - public Builder setStartEventMessage( - de.pokerth.protocol.ProtoBuf.StartEventMessage.Builder builderForValue) { - startEventMessage_ = builderForValue.build(); - - bitField1_ |= 0x00000010; - return this; - } - /** - * optional .StartEventMessage startEventMessage = 37; - */ - public Builder mergeStartEventMessage(de.pokerth.protocol.ProtoBuf.StartEventMessage value) { - if (((bitField1_ & 0x00000010) == 0x00000010) && - startEventMessage_ != de.pokerth.protocol.ProtoBuf.StartEventMessage.getDefaultInstance()) { - startEventMessage_ = - de.pokerth.protocol.ProtoBuf.StartEventMessage.newBuilder(startEventMessage_).mergeFrom(value).buildPartial(); - } else { - startEventMessage_ = value; - } - - bitField1_ |= 0x00000010; - return this; - } - /** - * optional .StartEventMessage startEventMessage = 37; - */ - public Builder clearStartEventMessage() { - startEventMessage_ = de.pokerth.protocol.ProtoBuf.StartEventMessage.getDefaultInstance(); - - bitField1_ = (bitField1_ & ~0x00000010); - return this; - } - - // optional .StartEventAckMessage startEventAckMessage = 38; - private de.pokerth.protocol.ProtoBuf.StartEventAckMessage startEventAckMessage_ = de.pokerth.protocol.ProtoBuf.StartEventAckMessage.getDefaultInstance(); - /** - * optional .StartEventAckMessage startEventAckMessage = 38; - */ - public boolean hasStartEventAckMessage() { - return ((bitField1_ & 0x00000020) == 0x00000020); - } - /** - * optional .StartEventAckMessage startEventAckMessage = 38; - */ - public de.pokerth.protocol.ProtoBuf.StartEventAckMessage getStartEventAckMessage() { - return startEventAckMessage_; - } - /** - * optional .StartEventAckMessage startEventAckMessage = 38; - */ - public Builder setStartEventAckMessage(de.pokerth.protocol.ProtoBuf.StartEventAckMessage value) { - if (value == null) { - throw new NullPointerException(); - } - startEventAckMessage_ = value; - - bitField1_ |= 0x00000020; - return this; - } - /** - * optional .StartEventAckMessage startEventAckMessage = 38; - */ - public Builder setStartEventAckMessage( - de.pokerth.protocol.ProtoBuf.StartEventAckMessage.Builder builderForValue) { - startEventAckMessage_ = builderForValue.build(); - - bitField1_ |= 0x00000020; - return this; - } - /** - * optional .StartEventAckMessage startEventAckMessage = 38; - */ - public Builder mergeStartEventAckMessage(de.pokerth.protocol.ProtoBuf.StartEventAckMessage value) { - if (((bitField1_ & 0x00000020) == 0x00000020) && - startEventAckMessage_ != de.pokerth.protocol.ProtoBuf.StartEventAckMessage.getDefaultInstance()) { - startEventAckMessage_ = - de.pokerth.protocol.ProtoBuf.StartEventAckMessage.newBuilder(startEventAckMessage_).mergeFrom(value).buildPartial(); - } else { - startEventAckMessage_ = value; - } - - bitField1_ |= 0x00000020; - return this; - } - /** - * optional .StartEventAckMessage startEventAckMessage = 38; - */ - public Builder clearStartEventAckMessage() { - startEventAckMessage_ = de.pokerth.protocol.ProtoBuf.StartEventAckMessage.getDefaultInstance(); - - bitField1_ = (bitField1_ & ~0x00000020); - return this; - } - - // optional .GameStartInitialMessage gameStartInitialMessage = 39; - private de.pokerth.protocol.ProtoBuf.GameStartInitialMessage gameStartInitialMessage_ = de.pokerth.protocol.ProtoBuf.GameStartInitialMessage.getDefaultInstance(); - /** - * optional .GameStartInitialMessage gameStartInitialMessage = 39; - */ - public boolean hasGameStartInitialMessage() { - return ((bitField1_ & 0x00000040) == 0x00000040); - } - /** - * optional .GameStartInitialMessage gameStartInitialMessage = 39; - */ - public de.pokerth.protocol.ProtoBuf.GameStartInitialMessage getGameStartInitialMessage() { - return gameStartInitialMessage_; - } - /** - * optional .GameStartInitialMessage gameStartInitialMessage = 39; - */ - public Builder setGameStartInitialMessage(de.pokerth.protocol.ProtoBuf.GameStartInitialMessage value) { - if (value == null) { - throw new NullPointerException(); - } - gameStartInitialMessage_ = value; - - bitField1_ |= 0x00000040; - return this; - } - /** - * optional .GameStartInitialMessage gameStartInitialMessage = 39; - */ - public Builder setGameStartInitialMessage( - de.pokerth.protocol.ProtoBuf.GameStartInitialMessage.Builder builderForValue) { - gameStartInitialMessage_ = builderForValue.build(); - - bitField1_ |= 0x00000040; - return this; - } - /** - * optional .GameStartInitialMessage gameStartInitialMessage = 39; - */ - public Builder mergeGameStartInitialMessage(de.pokerth.protocol.ProtoBuf.GameStartInitialMessage value) { - if (((bitField1_ & 0x00000040) == 0x00000040) && - gameStartInitialMessage_ != de.pokerth.protocol.ProtoBuf.GameStartInitialMessage.getDefaultInstance()) { - gameStartInitialMessage_ = - de.pokerth.protocol.ProtoBuf.GameStartInitialMessage.newBuilder(gameStartInitialMessage_).mergeFrom(value).buildPartial(); - } else { - gameStartInitialMessage_ = value; - } - - bitField1_ |= 0x00000040; - return this; - } - /** - * optional .GameStartInitialMessage gameStartInitialMessage = 39; - */ - public Builder clearGameStartInitialMessage() { - gameStartInitialMessage_ = de.pokerth.protocol.ProtoBuf.GameStartInitialMessage.getDefaultInstance(); - - bitField1_ = (bitField1_ & ~0x00000040); - return this; - } - - // optional .GameStartRejoinMessage gameStartRejoinMessage = 40; - private de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage gameStartRejoinMessage_ = de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.getDefaultInstance(); - /** - * optional .GameStartRejoinMessage gameStartRejoinMessage = 40; - */ - public boolean hasGameStartRejoinMessage() { - return ((bitField1_ & 0x00000080) == 0x00000080); - } - /** - * optional .GameStartRejoinMessage gameStartRejoinMessage = 40; - */ - public de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage getGameStartRejoinMessage() { - return gameStartRejoinMessage_; - } - /** - * optional .GameStartRejoinMessage gameStartRejoinMessage = 40; - */ - public Builder setGameStartRejoinMessage(de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage value) { - if (value == null) { - throw new NullPointerException(); - } - gameStartRejoinMessage_ = value; - - bitField1_ |= 0x00000080; - return this; - } - /** - * optional .GameStartRejoinMessage gameStartRejoinMessage = 40; - */ - public Builder setGameStartRejoinMessage( - de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.Builder builderForValue) { - gameStartRejoinMessage_ = builderForValue.build(); - - bitField1_ |= 0x00000080; - return this; - } - /** - * optional .GameStartRejoinMessage gameStartRejoinMessage = 40; - */ - public Builder mergeGameStartRejoinMessage(de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage value) { - if (((bitField1_ & 0x00000080) == 0x00000080) && - gameStartRejoinMessage_ != de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.getDefaultInstance()) { - gameStartRejoinMessage_ = - de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.newBuilder(gameStartRejoinMessage_).mergeFrom(value).buildPartial(); - } else { - gameStartRejoinMessage_ = value; - } - - bitField1_ |= 0x00000080; - return this; - } - /** - * optional .GameStartRejoinMessage gameStartRejoinMessage = 40; - */ - public Builder clearGameStartRejoinMessage() { - gameStartRejoinMessage_ = de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.getDefaultInstance(); - - bitField1_ = (bitField1_ & ~0x00000080); - return this; - } - - // optional .HandStartMessage handStartMessage = 41; - private de.pokerth.protocol.ProtoBuf.HandStartMessage handStartMessage_ = de.pokerth.protocol.ProtoBuf.HandStartMessage.getDefaultInstance(); - /** - * optional .HandStartMessage handStartMessage = 41; - */ - public boolean hasHandStartMessage() { - return ((bitField1_ & 0x00000100) == 0x00000100); - } - /** - * optional .HandStartMessage handStartMessage = 41; - */ - public de.pokerth.protocol.ProtoBuf.HandStartMessage getHandStartMessage() { - return handStartMessage_; - } - /** - * optional .HandStartMessage handStartMessage = 41; - */ - public Builder setHandStartMessage(de.pokerth.protocol.ProtoBuf.HandStartMessage value) { - if (value == null) { - throw new NullPointerException(); - } - handStartMessage_ = value; - - bitField1_ |= 0x00000100; - return this; - } - /** - * optional .HandStartMessage handStartMessage = 41; - */ - public Builder setHandStartMessage( - de.pokerth.protocol.ProtoBuf.HandStartMessage.Builder builderForValue) { - handStartMessage_ = builderForValue.build(); - - bitField1_ |= 0x00000100; - return this; - } - /** - * optional .HandStartMessage handStartMessage = 41; - */ - public Builder mergeHandStartMessage(de.pokerth.protocol.ProtoBuf.HandStartMessage value) { - if (((bitField1_ & 0x00000100) == 0x00000100) && - handStartMessage_ != de.pokerth.protocol.ProtoBuf.HandStartMessage.getDefaultInstance()) { - handStartMessage_ = - de.pokerth.protocol.ProtoBuf.HandStartMessage.newBuilder(handStartMessage_).mergeFrom(value).buildPartial(); - } else { - handStartMessage_ = value; - } - - bitField1_ |= 0x00000100; - return this; - } - /** - * optional .HandStartMessage handStartMessage = 41; - */ - public Builder clearHandStartMessage() { - handStartMessage_ = de.pokerth.protocol.ProtoBuf.HandStartMessage.getDefaultInstance(); - - bitField1_ = (bitField1_ & ~0x00000100); - return this; - } - - // optional .PlayersTurnMessage playersTurnMessage = 42; - private de.pokerth.protocol.ProtoBuf.PlayersTurnMessage playersTurnMessage_ = de.pokerth.protocol.ProtoBuf.PlayersTurnMessage.getDefaultInstance(); - /** - * optional .PlayersTurnMessage playersTurnMessage = 42; - */ - public boolean hasPlayersTurnMessage() { - return ((bitField1_ & 0x00000200) == 0x00000200); - } - /** - * optional .PlayersTurnMessage playersTurnMessage = 42; - */ - public de.pokerth.protocol.ProtoBuf.PlayersTurnMessage getPlayersTurnMessage() { - return playersTurnMessage_; - } - /** - * optional .PlayersTurnMessage playersTurnMessage = 42; - */ - public Builder setPlayersTurnMessage(de.pokerth.protocol.ProtoBuf.PlayersTurnMessage value) { - if (value == null) { - throw new NullPointerException(); - } - playersTurnMessage_ = value; - - bitField1_ |= 0x00000200; - return this; - } - /** - * optional .PlayersTurnMessage playersTurnMessage = 42; - */ - public Builder setPlayersTurnMessage( - de.pokerth.protocol.ProtoBuf.PlayersTurnMessage.Builder builderForValue) { - playersTurnMessage_ = builderForValue.build(); - - bitField1_ |= 0x00000200; - return this; - } - /** - * optional .PlayersTurnMessage playersTurnMessage = 42; - */ - public Builder mergePlayersTurnMessage(de.pokerth.protocol.ProtoBuf.PlayersTurnMessage value) { - if (((bitField1_ & 0x00000200) == 0x00000200) && - playersTurnMessage_ != de.pokerth.protocol.ProtoBuf.PlayersTurnMessage.getDefaultInstance()) { - playersTurnMessage_ = - de.pokerth.protocol.ProtoBuf.PlayersTurnMessage.newBuilder(playersTurnMessage_).mergeFrom(value).buildPartial(); - } else { - playersTurnMessage_ = value; - } - - bitField1_ |= 0x00000200; - return this; - } - /** - * optional .PlayersTurnMessage playersTurnMessage = 42; - */ - public Builder clearPlayersTurnMessage() { - playersTurnMessage_ = de.pokerth.protocol.ProtoBuf.PlayersTurnMessage.getDefaultInstance(); - - bitField1_ = (bitField1_ & ~0x00000200); - return this; - } - - // optional .MyActionRequestMessage myActionRequestMessage = 43; - private de.pokerth.protocol.ProtoBuf.MyActionRequestMessage myActionRequestMessage_ = de.pokerth.protocol.ProtoBuf.MyActionRequestMessage.getDefaultInstance(); - /** - * optional .MyActionRequestMessage myActionRequestMessage = 43; - */ - public boolean hasMyActionRequestMessage() { - return ((bitField1_ & 0x00000400) == 0x00000400); - } - /** - * optional .MyActionRequestMessage myActionRequestMessage = 43; - */ - public de.pokerth.protocol.ProtoBuf.MyActionRequestMessage getMyActionRequestMessage() { - return myActionRequestMessage_; - } - /** - * optional .MyActionRequestMessage myActionRequestMessage = 43; - */ - public Builder setMyActionRequestMessage(de.pokerth.protocol.ProtoBuf.MyActionRequestMessage value) { - if (value == null) { - throw new NullPointerException(); - } - myActionRequestMessage_ = value; - - bitField1_ |= 0x00000400; - return this; - } - /** - * optional .MyActionRequestMessage myActionRequestMessage = 43; - */ - public Builder setMyActionRequestMessage( - de.pokerth.protocol.ProtoBuf.MyActionRequestMessage.Builder builderForValue) { - myActionRequestMessage_ = builderForValue.build(); - - bitField1_ |= 0x00000400; - return this; - } - /** - * optional .MyActionRequestMessage myActionRequestMessage = 43; - */ - public Builder mergeMyActionRequestMessage(de.pokerth.protocol.ProtoBuf.MyActionRequestMessage value) { - if (((bitField1_ & 0x00000400) == 0x00000400) && - myActionRequestMessage_ != de.pokerth.protocol.ProtoBuf.MyActionRequestMessage.getDefaultInstance()) { - myActionRequestMessage_ = - de.pokerth.protocol.ProtoBuf.MyActionRequestMessage.newBuilder(myActionRequestMessage_).mergeFrom(value).buildPartial(); - } else { - myActionRequestMessage_ = value; - } - - bitField1_ |= 0x00000400; - return this; - } - /** - * optional .MyActionRequestMessage myActionRequestMessage = 43; - */ - public Builder clearMyActionRequestMessage() { - myActionRequestMessage_ = de.pokerth.protocol.ProtoBuf.MyActionRequestMessage.getDefaultInstance(); - - bitField1_ = (bitField1_ & ~0x00000400); - return this; - } - - // optional .YourActionRejectedMessage yourActionRejectedMessage = 44; - private de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage yourActionRejectedMessage_ = de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.getDefaultInstance(); - /** - * optional .YourActionRejectedMessage yourActionRejectedMessage = 44; - */ - public boolean hasYourActionRejectedMessage() { - return ((bitField1_ & 0x00000800) == 0x00000800); - } - /** - * optional .YourActionRejectedMessage yourActionRejectedMessage = 44; - */ - public de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage getYourActionRejectedMessage() { - return yourActionRejectedMessage_; - } - /** - * optional .YourActionRejectedMessage yourActionRejectedMessage = 44; - */ - public Builder setYourActionRejectedMessage(de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage value) { - if (value == null) { - throw new NullPointerException(); - } - yourActionRejectedMessage_ = value; - - bitField1_ |= 0x00000800; - return this; - } - /** - * optional .YourActionRejectedMessage yourActionRejectedMessage = 44; - */ - public Builder setYourActionRejectedMessage( - de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.Builder builderForValue) { - yourActionRejectedMessage_ = builderForValue.build(); - - bitField1_ |= 0x00000800; - return this; - } - /** - * optional .YourActionRejectedMessage yourActionRejectedMessage = 44; - */ - public Builder mergeYourActionRejectedMessage(de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage value) { - if (((bitField1_ & 0x00000800) == 0x00000800) && - yourActionRejectedMessage_ != de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.getDefaultInstance()) { - yourActionRejectedMessage_ = - de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.newBuilder(yourActionRejectedMessage_).mergeFrom(value).buildPartial(); - } else { - yourActionRejectedMessage_ = value; - } - - bitField1_ |= 0x00000800; - return this; - } - /** - * optional .YourActionRejectedMessage yourActionRejectedMessage = 44; - */ - public Builder clearYourActionRejectedMessage() { - yourActionRejectedMessage_ = de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.getDefaultInstance(); - - bitField1_ = (bitField1_ & ~0x00000800); - return this; - } - - // optional .PlayersActionDoneMessage playersActionDoneMessage = 45; - private de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage playersActionDoneMessage_ = de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage.getDefaultInstance(); - /** - * optional .PlayersActionDoneMessage playersActionDoneMessage = 45; - */ - public boolean hasPlayersActionDoneMessage() { - return ((bitField1_ & 0x00001000) == 0x00001000); - } - /** - * optional .PlayersActionDoneMessage playersActionDoneMessage = 45; - */ - public de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage getPlayersActionDoneMessage() { - return playersActionDoneMessage_; - } - /** - * optional .PlayersActionDoneMessage playersActionDoneMessage = 45; - */ - public Builder setPlayersActionDoneMessage(de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage value) { - if (value == null) { - throw new NullPointerException(); - } - playersActionDoneMessage_ = value; - - bitField1_ |= 0x00001000; - return this; - } - /** - * optional .PlayersActionDoneMessage playersActionDoneMessage = 45; - */ - public Builder setPlayersActionDoneMessage( - de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage.Builder builderForValue) { - playersActionDoneMessage_ = builderForValue.build(); - - bitField1_ |= 0x00001000; - return this; - } - /** - * optional .PlayersActionDoneMessage playersActionDoneMessage = 45; - */ - public Builder mergePlayersActionDoneMessage(de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage value) { - if (((bitField1_ & 0x00001000) == 0x00001000) && - playersActionDoneMessage_ != de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage.getDefaultInstance()) { - playersActionDoneMessage_ = - de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage.newBuilder(playersActionDoneMessage_).mergeFrom(value).buildPartial(); - } else { - playersActionDoneMessage_ = value; - } - - bitField1_ |= 0x00001000; - return this; - } - /** - * optional .PlayersActionDoneMessage playersActionDoneMessage = 45; - */ - public Builder clearPlayersActionDoneMessage() { - playersActionDoneMessage_ = de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage.getDefaultInstance(); - - bitField1_ = (bitField1_ & ~0x00001000); - return this; - } - - // optional .DealFlopCardsMessage dealFlopCardsMessage = 46; - private de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage dealFlopCardsMessage_ = de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage.getDefaultInstance(); - /** - * optional .DealFlopCardsMessage dealFlopCardsMessage = 46; - */ - public boolean hasDealFlopCardsMessage() { - return ((bitField1_ & 0x00002000) == 0x00002000); - } - /** - * optional .DealFlopCardsMessage dealFlopCardsMessage = 46; - */ - public de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage getDealFlopCardsMessage() { - return dealFlopCardsMessage_; - } - /** - * optional .DealFlopCardsMessage dealFlopCardsMessage = 46; - */ - public Builder setDealFlopCardsMessage(de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage value) { - if (value == null) { - throw new NullPointerException(); - } - dealFlopCardsMessage_ = value; - - bitField1_ |= 0x00002000; - return this; - } - /** - * optional .DealFlopCardsMessage dealFlopCardsMessage = 46; - */ - public Builder setDealFlopCardsMessage( - de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage.Builder builderForValue) { - dealFlopCardsMessage_ = builderForValue.build(); - - bitField1_ |= 0x00002000; - return this; - } - /** - * optional .DealFlopCardsMessage dealFlopCardsMessage = 46; - */ - public Builder mergeDealFlopCardsMessage(de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage value) { - if (((bitField1_ & 0x00002000) == 0x00002000) && - dealFlopCardsMessage_ != de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage.getDefaultInstance()) { - dealFlopCardsMessage_ = - de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage.newBuilder(dealFlopCardsMessage_).mergeFrom(value).buildPartial(); - } else { - dealFlopCardsMessage_ = value; - } - - bitField1_ |= 0x00002000; - return this; - } - /** - * optional .DealFlopCardsMessage dealFlopCardsMessage = 46; - */ - public Builder clearDealFlopCardsMessage() { - dealFlopCardsMessage_ = de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage.getDefaultInstance(); - - bitField1_ = (bitField1_ & ~0x00002000); - return this; - } - - // optional .DealTurnCardMessage dealTurnCardMessage = 47; - private de.pokerth.protocol.ProtoBuf.DealTurnCardMessage dealTurnCardMessage_ = de.pokerth.protocol.ProtoBuf.DealTurnCardMessage.getDefaultInstance(); - /** - * optional .DealTurnCardMessage dealTurnCardMessage = 47; - */ - public boolean hasDealTurnCardMessage() { - return ((bitField1_ & 0x00004000) == 0x00004000); - } - /** - * optional .DealTurnCardMessage dealTurnCardMessage = 47; - */ - public de.pokerth.protocol.ProtoBuf.DealTurnCardMessage getDealTurnCardMessage() { - return dealTurnCardMessage_; - } - /** - * optional .DealTurnCardMessage dealTurnCardMessage = 47; - */ - public Builder setDealTurnCardMessage(de.pokerth.protocol.ProtoBuf.DealTurnCardMessage value) { - if (value == null) { - throw new NullPointerException(); - } - dealTurnCardMessage_ = value; - - bitField1_ |= 0x00004000; - return this; - } - /** - * optional .DealTurnCardMessage dealTurnCardMessage = 47; - */ - public Builder setDealTurnCardMessage( - de.pokerth.protocol.ProtoBuf.DealTurnCardMessage.Builder builderForValue) { - dealTurnCardMessage_ = builderForValue.build(); - - bitField1_ |= 0x00004000; - return this; - } - /** - * optional .DealTurnCardMessage dealTurnCardMessage = 47; - */ - public Builder mergeDealTurnCardMessage(de.pokerth.protocol.ProtoBuf.DealTurnCardMessage value) { - if (((bitField1_ & 0x00004000) == 0x00004000) && - dealTurnCardMessage_ != de.pokerth.protocol.ProtoBuf.DealTurnCardMessage.getDefaultInstance()) { - dealTurnCardMessage_ = - de.pokerth.protocol.ProtoBuf.DealTurnCardMessage.newBuilder(dealTurnCardMessage_).mergeFrom(value).buildPartial(); - } else { - dealTurnCardMessage_ = value; - } - - bitField1_ |= 0x00004000; - return this; - } - /** - * optional .DealTurnCardMessage dealTurnCardMessage = 47; - */ - public Builder clearDealTurnCardMessage() { - dealTurnCardMessage_ = de.pokerth.protocol.ProtoBuf.DealTurnCardMessage.getDefaultInstance(); - - bitField1_ = (bitField1_ & ~0x00004000); - return this; - } - - // optional .DealRiverCardMessage dealRiverCardMessage = 48; - private de.pokerth.protocol.ProtoBuf.DealRiverCardMessage dealRiverCardMessage_ = de.pokerth.protocol.ProtoBuf.DealRiverCardMessage.getDefaultInstance(); - /** - * optional .DealRiverCardMessage dealRiverCardMessage = 48; - */ - public boolean hasDealRiverCardMessage() { - return ((bitField1_ & 0x00008000) == 0x00008000); - } - /** - * optional .DealRiverCardMessage dealRiverCardMessage = 48; - */ - public de.pokerth.protocol.ProtoBuf.DealRiverCardMessage getDealRiverCardMessage() { - return dealRiverCardMessage_; - } - /** - * optional .DealRiverCardMessage dealRiverCardMessage = 48; - */ - public Builder setDealRiverCardMessage(de.pokerth.protocol.ProtoBuf.DealRiverCardMessage value) { - if (value == null) { - throw new NullPointerException(); - } - dealRiverCardMessage_ = value; - - bitField1_ |= 0x00008000; - return this; - } - /** - * optional .DealRiverCardMessage dealRiverCardMessage = 48; - */ - public Builder setDealRiverCardMessage( - de.pokerth.protocol.ProtoBuf.DealRiverCardMessage.Builder builderForValue) { - dealRiverCardMessage_ = builderForValue.build(); - - bitField1_ |= 0x00008000; - return this; - } - /** - * optional .DealRiverCardMessage dealRiverCardMessage = 48; - */ - public Builder mergeDealRiverCardMessage(de.pokerth.protocol.ProtoBuf.DealRiverCardMessage value) { - if (((bitField1_ & 0x00008000) == 0x00008000) && - dealRiverCardMessage_ != de.pokerth.protocol.ProtoBuf.DealRiverCardMessage.getDefaultInstance()) { - dealRiverCardMessage_ = - de.pokerth.protocol.ProtoBuf.DealRiverCardMessage.newBuilder(dealRiverCardMessage_).mergeFrom(value).buildPartial(); - } else { - dealRiverCardMessage_ = value; - } - - bitField1_ |= 0x00008000; - return this; - } - /** - * optional .DealRiverCardMessage dealRiverCardMessage = 48; - */ - public Builder clearDealRiverCardMessage() { - dealRiverCardMessage_ = de.pokerth.protocol.ProtoBuf.DealRiverCardMessage.getDefaultInstance(); - - bitField1_ = (bitField1_ & ~0x00008000); - return this; - } - - // optional .AllInShowCardsMessage allInShowCardsMessage = 49; - private de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage allInShowCardsMessage_ = de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.getDefaultInstance(); - /** - * optional .AllInShowCardsMessage allInShowCardsMessage = 49; - */ - public boolean hasAllInShowCardsMessage() { - return ((bitField1_ & 0x00010000) == 0x00010000); - } - /** - * optional .AllInShowCardsMessage allInShowCardsMessage = 49; - */ - public de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage getAllInShowCardsMessage() { - return allInShowCardsMessage_; - } - /** - * optional .AllInShowCardsMessage allInShowCardsMessage = 49; - */ - public Builder setAllInShowCardsMessage(de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage value) { - if (value == null) { - throw new NullPointerException(); - } - allInShowCardsMessage_ = value; - - bitField1_ |= 0x00010000; - return this; - } - /** - * optional .AllInShowCardsMessage allInShowCardsMessage = 49; - */ - public Builder setAllInShowCardsMessage( - de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.Builder builderForValue) { - allInShowCardsMessage_ = builderForValue.build(); - - bitField1_ |= 0x00010000; - return this; - } - /** - * optional .AllInShowCardsMessage allInShowCardsMessage = 49; - */ - public Builder mergeAllInShowCardsMessage(de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage value) { - if (((bitField1_ & 0x00010000) == 0x00010000) && - allInShowCardsMessage_ != de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.getDefaultInstance()) { - allInShowCardsMessage_ = - de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.newBuilder(allInShowCardsMessage_).mergeFrom(value).buildPartial(); - } else { - allInShowCardsMessage_ = value; - } - - bitField1_ |= 0x00010000; - return this; - } - /** - * optional .AllInShowCardsMessage allInShowCardsMessage = 49; - */ - public Builder clearAllInShowCardsMessage() { - allInShowCardsMessage_ = de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.getDefaultInstance(); - - bitField1_ = (bitField1_ & ~0x00010000); - return this; - } - - // optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 50; - private de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage endOfHandShowCardsMessage_ = de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage.getDefaultInstance(); - /** - * optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 50; - */ - public boolean hasEndOfHandShowCardsMessage() { - return ((bitField1_ & 0x00020000) == 0x00020000); - } - /** - * optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 50; - */ - public de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage getEndOfHandShowCardsMessage() { - return endOfHandShowCardsMessage_; - } - /** - * optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 50; - */ - public Builder setEndOfHandShowCardsMessage(de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage value) { - if (value == null) { - throw new NullPointerException(); - } - endOfHandShowCardsMessage_ = value; - - bitField1_ |= 0x00020000; - return this; - } - /** - * optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 50; - */ - public Builder setEndOfHandShowCardsMessage( - de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage.Builder builderForValue) { - endOfHandShowCardsMessage_ = builderForValue.build(); - - bitField1_ |= 0x00020000; - return this; - } - /** - * optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 50; - */ - public Builder mergeEndOfHandShowCardsMessage(de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage value) { - if (((bitField1_ & 0x00020000) == 0x00020000) && - endOfHandShowCardsMessage_ != de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage.getDefaultInstance()) { - endOfHandShowCardsMessage_ = - de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage.newBuilder(endOfHandShowCardsMessage_).mergeFrom(value).buildPartial(); - } else { - endOfHandShowCardsMessage_ = value; - } - - bitField1_ |= 0x00020000; - return this; - } - /** - * optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 50; - */ - public Builder clearEndOfHandShowCardsMessage() { - endOfHandShowCardsMessage_ = de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage.getDefaultInstance(); - - bitField1_ = (bitField1_ & ~0x00020000); - return this; - } - - // optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 51; - private de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage endOfHandHideCardsMessage_ = de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage.getDefaultInstance(); - /** - * optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 51; - */ - public boolean hasEndOfHandHideCardsMessage() { - return ((bitField1_ & 0x00040000) == 0x00040000); - } - /** - * optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 51; - */ - public de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage getEndOfHandHideCardsMessage() { - return endOfHandHideCardsMessage_; - } - /** - * optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 51; - */ - public Builder setEndOfHandHideCardsMessage(de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage value) { - if (value == null) { - throw new NullPointerException(); - } - endOfHandHideCardsMessage_ = value; - - bitField1_ |= 0x00040000; - return this; - } - /** - * optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 51; - */ - public Builder setEndOfHandHideCardsMessage( - de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage.Builder builderForValue) { - endOfHandHideCardsMessage_ = builderForValue.build(); - - bitField1_ |= 0x00040000; - return this; - } - /** - * optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 51; - */ - public Builder mergeEndOfHandHideCardsMessage(de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage value) { - if (((bitField1_ & 0x00040000) == 0x00040000) && - endOfHandHideCardsMessage_ != de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage.getDefaultInstance()) { - endOfHandHideCardsMessage_ = - de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage.newBuilder(endOfHandHideCardsMessage_).mergeFrom(value).buildPartial(); - } else { - endOfHandHideCardsMessage_ = value; - } - - bitField1_ |= 0x00040000; - return this; - } - /** - * optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 51; - */ - public Builder clearEndOfHandHideCardsMessage() { - endOfHandHideCardsMessage_ = de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage.getDefaultInstance(); - - bitField1_ = (bitField1_ & ~0x00040000); - return this; - } - - // optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 52; - private de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage showMyCardsRequestMessage_ = de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage.getDefaultInstance(); - /** - * optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 52; - */ - public boolean hasShowMyCardsRequestMessage() { - return ((bitField1_ & 0x00080000) == 0x00080000); - } - /** - * optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 52; - */ - public de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage getShowMyCardsRequestMessage() { - return showMyCardsRequestMessage_; - } - /** - * optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 52; - */ - public Builder setShowMyCardsRequestMessage(de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage value) { - if (value == null) { - throw new NullPointerException(); - } - showMyCardsRequestMessage_ = value; - - bitField1_ |= 0x00080000; - return this; - } - /** - * optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 52; - */ - public Builder setShowMyCardsRequestMessage( - de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage.Builder builderForValue) { - showMyCardsRequestMessage_ = builderForValue.build(); - - bitField1_ |= 0x00080000; - return this; - } - /** - * optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 52; - */ - public Builder mergeShowMyCardsRequestMessage(de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage value) { - if (((bitField1_ & 0x00080000) == 0x00080000) && - showMyCardsRequestMessage_ != de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage.getDefaultInstance()) { - showMyCardsRequestMessage_ = - de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage.newBuilder(showMyCardsRequestMessage_).mergeFrom(value).buildPartial(); - } else { - showMyCardsRequestMessage_ = value; - } - - bitField1_ |= 0x00080000; - return this; - } - /** - * optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 52; - */ - public Builder clearShowMyCardsRequestMessage() { - showMyCardsRequestMessage_ = de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage.getDefaultInstance(); - - bitField1_ = (bitField1_ & ~0x00080000); - return this; - } - - // optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 53; - private de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage afterHandShowCardsMessage_ = de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage.getDefaultInstance(); - /** - * optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 53; - */ - public boolean hasAfterHandShowCardsMessage() { - return ((bitField1_ & 0x00100000) == 0x00100000); - } - /** - * optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 53; - */ - public de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage getAfterHandShowCardsMessage() { - return afterHandShowCardsMessage_; - } - /** - * optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 53; - */ - public Builder setAfterHandShowCardsMessage(de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage value) { - if (value == null) { - throw new NullPointerException(); - } - afterHandShowCardsMessage_ = value; - - bitField1_ |= 0x00100000; - return this; - } - /** - * optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 53; - */ - public Builder setAfterHandShowCardsMessage( - de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage.Builder builderForValue) { - afterHandShowCardsMessage_ = builderForValue.build(); - - bitField1_ |= 0x00100000; - return this; - } - /** - * optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 53; - */ - public Builder mergeAfterHandShowCardsMessage(de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage value) { - if (((bitField1_ & 0x00100000) == 0x00100000) && - afterHandShowCardsMessage_ != de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage.getDefaultInstance()) { - afterHandShowCardsMessage_ = - de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage.newBuilder(afterHandShowCardsMessage_).mergeFrom(value).buildPartial(); - } else { - afterHandShowCardsMessage_ = value; - } - - bitField1_ |= 0x00100000; - return this; - } - /** - * optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 53; - */ - public Builder clearAfterHandShowCardsMessage() { - afterHandShowCardsMessage_ = de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage.getDefaultInstance(); - - bitField1_ = (bitField1_ & ~0x00100000); - return this; - } - - // optional .EndOfGameMessage endOfGameMessage = 54; - private de.pokerth.protocol.ProtoBuf.EndOfGameMessage endOfGameMessage_ = de.pokerth.protocol.ProtoBuf.EndOfGameMessage.getDefaultInstance(); - /** - * optional .EndOfGameMessage endOfGameMessage = 54; - */ - public boolean hasEndOfGameMessage() { - return ((bitField1_ & 0x00200000) == 0x00200000); - } - /** - * optional .EndOfGameMessage endOfGameMessage = 54; - */ - public de.pokerth.protocol.ProtoBuf.EndOfGameMessage getEndOfGameMessage() { - return endOfGameMessage_; - } - /** - * optional .EndOfGameMessage endOfGameMessage = 54; - */ - public Builder setEndOfGameMessage(de.pokerth.protocol.ProtoBuf.EndOfGameMessage value) { - if (value == null) { - throw new NullPointerException(); - } - endOfGameMessage_ = value; - - bitField1_ |= 0x00200000; - return this; - } - /** - * optional .EndOfGameMessage endOfGameMessage = 54; - */ - public Builder setEndOfGameMessage( - de.pokerth.protocol.ProtoBuf.EndOfGameMessage.Builder builderForValue) { - endOfGameMessage_ = builderForValue.build(); - - bitField1_ |= 0x00200000; - return this; - } - /** - * optional .EndOfGameMessage endOfGameMessage = 54; - */ - public Builder mergeEndOfGameMessage(de.pokerth.protocol.ProtoBuf.EndOfGameMessage value) { - if (((bitField1_ & 0x00200000) == 0x00200000) && - endOfGameMessage_ != de.pokerth.protocol.ProtoBuf.EndOfGameMessage.getDefaultInstance()) { - endOfGameMessage_ = - de.pokerth.protocol.ProtoBuf.EndOfGameMessage.newBuilder(endOfGameMessage_).mergeFrom(value).buildPartial(); - } else { - endOfGameMessage_ = value; - } - - bitField1_ |= 0x00200000; - return this; - } - /** - * optional .EndOfGameMessage endOfGameMessage = 54; - */ - public Builder clearEndOfGameMessage() { - endOfGameMessage_ = de.pokerth.protocol.ProtoBuf.EndOfGameMessage.getDefaultInstance(); - - bitField1_ = (bitField1_ & ~0x00200000); - return this; - } - - // optional .PlayerIdChangedMessage playerIdChangedMessage = 55; - private de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage playerIdChangedMessage_ = de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage.getDefaultInstance(); - /** - * optional .PlayerIdChangedMessage playerIdChangedMessage = 55; - */ - public boolean hasPlayerIdChangedMessage() { - return ((bitField1_ & 0x00400000) == 0x00400000); - } - /** - * optional .PlayerIdChangedMessage playerIdChangedMessage = 55; - */ - public de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage getPlayerIdChangedMessage() { - return playerIdChangedMessage_; - } - /** - * optional .PlayerIdChangedMessage playerIdChangedMessage = 55; - */ - public Builder setPlayerIdChangedMessage(de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage value) { - if (value == null) { - throw new NullPointerException(); - } - playerIdChangedMessage_ = value; - - bitField1_ |= 0x00400000; - return this; - } - /** - * optional .PlayerIdChangedMessage playerIdChangedMessage = 55; - */ - public Builder setPlayerIdChangedMessage( - de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage.Builder builderForValue) { - playerIdChangedMessage_ = builderForValue.build(); - - bitField1_ |= 0x00400000; - return this; - } - /** - * optional .PlayerIdChangedMessage playerIdChangedMessage = 55; - */ - public Builder mergePlayerIdChangedMessage(de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage value) { - if (((bitField1_ & 0x00400000) == 0x00400000) && - playerIdChangedMessage_ != de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage.getDefaultInstance()) { - playerIdChangedMessage_ = - de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage.newBuilder(playerIdChangedMessage_).mergeFrom(value).buildPartial(); - } else { - playerIdChangedMessage_ = value; - } - - bitField1_ |= 0x00400000; - return this; - } - /** - * optional .PlayerIdChangedMessage playerIdChangedMessage = 55; - */ - public Builder clearPlayerIdChangedMessage() { - playerIdChangedMessage_ = de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage.getDefaultInstance(); - - bitField1_ = (bitField1_ & ~0x00400000); - return this; - } - - // optional .AskKickPlayerMessage askKickPlayerMessage = 56; - private de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage askKickPlayerMessage_ = de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage.getDefaultInstance(); - /** - * optional .AskKickPlayerMessage askKickPlayerMessage = 56; - */ - public boolean hasAskKickPlayerMessage() { - return ((bitField1_ & 0x00800000) == 0x00800000); - } - /** - * optional .AskKickPlayerMessage askKickPlayerMessage = 56; - */ - public de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage getAskKickPlayerMessage() { - return askKickPlayerMessage_; - } - /** - * optional .AskKickPlayerMessage askKickPlayerMessage = 56; - */ - public Builder setAskKickPlayerMessage(de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage value) { - if (value == null) { - throw new NullPointerException(); - } - askKickPlayerMessage_ = value; - - bitField1_ |= 0x00800000; - return this; - } - /** - * optional .AskKickPlayerMessage askKickPlayerMessage = 56; - */ - public Builder setAskKickPlayerMessage( - de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage.Builder builderForValue) { - askKickPlayerMessage_ = builderForValue.build(); - - bitField1_ |= 0x00800000; - return this; - } - /** - * optional .AskKickPlayerMessage askKickPlayerMessage = 56; - */ - public Builder mergeAskKickPlayerMessage(de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage value) { - if (((bitField1_ & 0x00800000) == 0x00800000) && - askKickPlayerMessage_ != de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage.getDefaultInstance()) { - askKickPlayerMessage_ = - de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage.newBuilder(askKickPlayerMessage_).mergeFrom(value).buildPartial(); - } else { - askKickPlayerMessage_ = value; - } - - bitField1_ |= 0x00800000; - return this; - } - /** - * optional .AskKickPlayerMessage askKickPlayerMessage = 56; - */ - public Builder clearAskKickPlayerMessage() { - askKickPlayerMessage_ = de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage.getDefaultInstance(); - - bitField1_ = (bitField1_ & ~0x00800000); - return this; - } - - // optional .AskKickDeniedMessage askKickDeniedMessage = 57; - private de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage askKickDeniedMessage_ = de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.getDefaultInstance(); - /** - * optional .AskKickDeniedMessage askKickDeniedMessage = 57; - */ - public boolean hasAskKickDeniedMessage() { - return ((bitField1_ & 0x01000000) == 0x01000000); - } - /** - * optional .AskKickDeniedMessage askKickDeniedMessage = 57; - */ - public de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage getAskKickDeniedMessage() { - return askKickDeniedMessage_; - } - /** - * optional .AskKickDeniedMessage askKickDeniedMessage = 57; - */ - public Builder setAskKickDeniedMessage(de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage value) { - if (value == null) { - throw new NullPointerException(); - } - askKickDeniedMessage_ = value; - - bitField1_ |= 0x01000000; - return this; - } - /** - * optional .AskKickDeniedMessage askKickDeniedMessage = 57; - */ - public Builder setAskKickDeniedMessage( - de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.Builder builderForValue) { - askKickDeniedMessage_ = builderForValue.build(); - - bitField1_ |= 0x01000000; - return this; - } - /** - * optional .AskKickDeniedMessage askKickDeniedMessage = 57; - */ - public Builder mergeAskKickDeniedMessage(de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage value) { - if (((bitField1_ & 0x01000000) == 0x01000000) && - askKickDeniedMessage_ != de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.getDefaultInstance()) { - askKickDeniedMessage_ = - de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.newBuilder(askKickDeniedMessage_).mergeFrom(value).buildPartial(); - } else { - askKickDeniedMessage_ = value; - } - - bitField1_ |= 0x01000000; - return this; - } - /** - * optional .AskKickDeniedMessage askKickDeniedMessage = 57; - */ - public Builder clearAskKickDeniedMessage() { - askKickDeniedMessage_ = de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.getDefaultInstance(); - - bitField1_ = (bitField1_ & ~0x01000000); - return this; - } - - // optional .StartKickPetitionMessage startKickPetitionMessage = 58; - private de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage startKickPetitionMessage_ = de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage.getDefaultInstance(); - /** - * optional .StartKickPetitionMessage startKickPetitionMessage = 58; - */ - public boolean hasStartKickPetitionMessage() { - return ((bitField1_ & 0x02000000) == 0x02000000); - } - /** - * optional .StartKickPetitionMessage startKickPetitionMessage = 58; - */ - public de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage getStartKickPetitionMessage() { - return startKickPetitionMessage_; - } - /** - * optional .StartKickPetitionMessage startKickPetitionMessage = 58; - */ - public Builder setStartKickPetitionMessage(de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage value) { - if (value == null) { - throw new NullPointerException(); - } - startKickPetitionMessage_ = value; - - bitField1_ |= 0x02000000; - return this; - } - /** - * optional .StartKickPetitionMessage startKickPetitionMessage = 58; - */ - public Builder setStartKickPetitionMessage( - de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage.Builder builderForValue) { - startKickPetitionMessage_ = builderForValue.build(); - - bitField1_ |= 0x02000000; - return this; - } - /** - * optional .StartKickPetitionMessage startKickPetitionMessage = 58; - */ - public Builder mergeStartKickPetitionMessage(de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage value) { - if (((bitField1_ & 0x02000000) == 0x02000000) && - startKickPetitionMessage_ != de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage.getDefaultInstance()) { - startKickPetitionMessage_ = - de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage.newBuilder(startKickPetitionMessage_).mergeFrom(value).buildPartial(); - } else { - startKickPetitionMessage_ = value; - } - - bitField1_ |= 0x02000000; - return this; - } - /** - * optional .StartKickPetitionMessage startKickPetitionMessage = 58; - */ - public Builder clearStartKickPetitionMessage() { - startKickPetitionMessage_ = de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage.getDefaultInstance(); - - bitField1_ = (bitField1_ & ~0x02000000); - return this; - } - - // optional .VoteKickRequestMessage voteKickRequestMessage = 59; - private de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage voteKickRequestMessage_ = de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage.getDefaultInstance(); - /** - * optional .VoteKickRequestMessage voteKickRequestMessage = 59; - */ - public boolean hasVoteKickRequestMessage() { - return ((bitField1_ & 0x04000000) == 0x04000000); - } - /** - * optional .VoteKickRequestMessage voteKickRequestMessage = 59; - */ - public de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage getVoteKickRequestMessage() { - return voteKickRequestMessage_; - } - /** - * optional .VoteKickRequestMessage voteKickRequestMessage = 59; - */ - public Builder setVoteKickRequestMessage(de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage value) { - if (value == null) { - throw new NullPointerException(); - } - voteKickRequestMessage_ = value; - - bitField1_ |= 0x04000000; - return this; - } - /** - * optional .VoteKickRequestMessage voteKickRequestMessage = 59; - */ - public Builder setVoteKickRequestMessage( - de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage.Builder builderForValue) { - voteKickRequestMessage_ = builderForValue.build(); - - bitField1_ |= 0x04000000; - return this; - } - /** - * optional .VoteKickRequestMessage voteKickRequestMessage = 59; - */ - public Builder mergeVoteKickRequestMessage(de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage value) { - if (((bitField1_ & 0x04000000) == 0x04000000) && - voteKickRequestMessage_ != de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage.getDefaultInstance()) { - voteKickRequestMessage_ = - de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage.newBuilder(voteKickRequestMessage_).mergeFrom(value).buildPartial(); - } else { - voteKickRequestMessage_ = value; - } - - bitField1_ |= 0x04000000; - return this; - } - /** - * optional .VoteKickRequestMessage voteKickRequestMessage = 59; - */ - public Builder clearVoteKickRequestMessage() { - voteKickRequestMessage_ = de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage.getDefaultInstance(); - - bitField1_ = (bitField1_ & ~0x04000000); - return this; - } - - // optional .VoteKickReplyMessage voteKickReplyMessage = 60; - private de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage voteKickReplyMessage_ = de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.getDefaultInstance(); - /** - * optional .VoteKickReplyMessage voteKickReplyMessage = 60; - */ - public boolean hasVoteKickReplyMessage() { - return ((bitField1_ & 0x08000000) == 0x08000000); - } - /** - * optional .VoteKickReplyMessage voteKickReplyMessage = 60; - */ - public de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage getVoteKickReplyMessage() { - return voteKickReplyMessage_; - } - /** - * optional .VoteKickReplyMessage voteKickReplyMessage = 60; - */ - public Builder setVoteKickReplyMessage(de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage value) { - if (value == null) { - throw new NullPointerException(); - } - voteKickReplyMessage_ = value; - - bitField1_ |= 0x08000000; - return this; - } - /** - * optional .VoteKickReplyMessage voteKickReplyMessage = 60; - */ - public Builder setVoteKickReplyMessage( - de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.Builder builderForValue) { - voteKickReplyMessage_ = builderForValue.build(); - - bitField1_ |= 0x08000000; - return this; - } - /** - * optional .VoteKickReplyMessage voteKickReplyMessage = 60; - */ - public Builder mergeVoteKickReplyMessage(de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage value) { - if (((bitField1_ & 0x08000000) == 0x08000000) && - voteKickReplyMessage_ != de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.getDefaultInstance()) { - voteKickReplyMessage_ = - de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.newBuilder(voteKickReplyMessage_).mergeFrom(value).buildPartial(); - } else { - voteKickReplyMessage_ = value; - } - - bitField1_ |= 0x08000000; - return this; - } - /** - * optional .VoteKickReplyMessage voteKickReplyMessage = 60; - */ - public Builder clearVoteKickReplyMessage() { - voteKickReplyMessage_ = de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.getDefaultInstance(); - - bitField1_ = (bitField1_ & ~0x08000000); - return this; - } - - // optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 61; - private de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage kickPetitionUpdateMessage_ = de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage.getDefaultInstance(); - /** - * optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 61; - */ - public boolean hasKickPetitionUpdateMessage() { - return ((bitField1_ & 0x10000000) == 0x10000000); - } - /** - * optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 61; - */ - public de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage getKickPetitionUpdateMessage() { - return kickPetitionUpdateMessage_; - } - /** - * optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 61; - */ - public Builder setKickPetitionUpdateMessage(de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage value) { - if (value == null) { - throw new NullPointerException(); - } - kickPetitionUpdateMessage_ = value; - - bitField1_ |= 0x10000000; - return this; - } - /** - * optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 61; - */ - public Builder setKickPetitionUpdateMessage( - de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage.Builder builderForValue) { - kickPetitionUpdateMessage_ = builderForValue.build(); - - bitField1_ |= 0x10000000; - return this; - } - /** - * optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 61; - */ - public Builder mergeKickPetitionUpdateMessage(de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage value) { - if (((bitField1_ & 0x10000000) == 0x10000000) && - kickPetitionUpdateMessage_ != de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage.getDefaultInstance()) { - kickPetitionUpdateMessage_ = - de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage.newBuilder(kickPetitionUpdateMessage_).mergeFrom(value).buildPartial(); - } else { - kickPetitionUpdateMessage_ = value; - } - - bitField1_ |= 0x10000000; - return this; - } - /** - * optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 61; - */ - public Builder clearKickPetitionUpdateMessage() { - kickPetitionUpdateMessage_ = de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage.getDefaultInstance(); - - bitField1_ = (bitField1_ & ~0x10000000); - return this; - } - - // optional .EndKickPetitionMessage endKickPetitionMessage = 62; - private de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage endKickPetitionMessage_ = de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.getDefaultInstance(); - /** - * optional .EndKickPetitionMessage endKickPetitionMessage = 62; - */ - public boolean hasEndKickPetitionMessage() { - return ((bitField1_ & 0x20000000) == 0x20000000); - } - /** - * optional .EndKickPetitionMessage endKickPetitionMessage = 62; - */ - public de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage getEndKickPetitionMessage() { - return endKickPetitionMessage_; - } - /** - * optional .EndKickPetitionMessage endKickPetitionMessage = 62; - */ - public Builder setEndKickPetitionMessage(de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage value) { - if (value == null) { - throw new NullPointerException(); - } - endKickPetitionMessage_ = value; - - bitField1_ |= 0x20000000; - return this; - } - /** - * optional .EndKickPetitionMessage endKickPetitionMessage = 62; - */ - public Builder setEndKickPetitionMessage( - de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.Builder builderForValue) { - endKickPetitionMessage_ = builderForValue.build(); - - bitField1_ |= 0x20000000; - return this; - } - /** - * optional .EndKickPetitionMessage endKickPetitionMessage = 62; - */ - public Builder mergeEndKickPetitionMessage(de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage value) { - if (((bitField1_ & 0x20000000) == 0x20000000) && - endKickPetitionMessage_ != de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.getDefaultInstance()) { - endKickPetitionMessage_ = - de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.newBuilder(endKickPetitionMessage_).mergeFrom(value).buildPartial(); - } else { - endKickPetitionMessage_ = value; - } - - bitField1_ |= 0x20000000; - return this; - } - /** - * optional .EndKickPetitionMessage endKickPetitionMessage = 62; - */ - public Builder clearEndKickPetitionMessage() { - endKickPetitionMessage_ = de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.getDefaultInstance(); - - bitField1_ = (bitField1_ & ~0x20000000); - return this; - } - - // optional .StatisticsMessage statisticsMessage = 63; - private de.pokerth.protocol.ProtoBuf.StatisticsMessage statisticsMessage_ = de.pokerth.protocol.ProtoBuf.StatisticsMessage.getDefaultInstance(); - /** - * optional .StatisticsMessage statisticsMessage = 63; - */ - public boolean hasStatisticsMessage() { - return ((bitField1_ & 0x40000000) == 0x40000000); - } - /** - * optional .StatisticsMessage statisticsMessage = 63; - */ - public de.pokerth.protocol.ProtoBuf.StatisticsMessage getStatisticsMessage() { - return statisticsMessage_; - } - /** - * optional .StatisticsMessage statisticsMessage = 63; - */ - public Builder setStatisticsMessage(de.pokerth.protocol.ProtoBuf.StatisticsMessage value) { - if (value == null) { - throw new NullPointerException(); - } - statisticsMessage_ = value; - - bitField1_ |= 0x40000000; - return this; - } - /** - * optional .StatisticsMessage statisticsMessage = 63; - */ - public Builder setStatisticsMessage( - de.pokerth.protocol.ProtoBuf.StatisticsMessage.Builder builderForValue) { - statisticsMessage_ = builderForValue.build(); - - bitField1_ |= 0x40000000; - return this; - } - /** - * optional .StatisticsMessage statisticsMessage = 63; - */ - public Builder mergeStatisticsMessage(de.pokerth.protocol.ProtoBuf.StatisticsMessage value) { - if (((bitField1_ & 0x40000000) == 0x40000000) && - statisticsMessage_ != de.pokerth.protocol.ProtoBuf.StatisticsMessage.getDefaultInstance()) { - statisticsMessage_ = - de.pokerth.protocol.ProtoBuf.StatisticsMessage.newBuilder(statisticsMessage_).mergeFrom(value).buildPartial(); - } else { - statisticsMessage_ = value; - } - - bitField1_ |= 0x40000000; - return this; - } - /** - * optional .StatisticsMessage statisticsMessage = 63; - */ - public Builder clearStatisticsMessage() { - statisticsMessage_ = de.pokerth.protocol.ProtoBuf.StatisticsMessage.getDefaultInstance(); - - bitField1_ = (bitField1_ & ~0x40000000); - return this; - } - - // optional .ChatRequestMessage chatRequestMessage = 64; - private de.pokerth.protocol.ProtoBuf.ChatRequestMessage chatRequestMessage_ = de.pokerth.protocol.ProtoBuf.ChatRequestMessage.getDefaultInstance(); - /** - * optional .ChatRequestMessage chatRequestMessage = 64; - */ - public boolean hasChatRequestMessage() { - return ((bitField1_ & 0x80000000) == 0x80000000); - } - /** - * optional .ChatRequestMessage chatRequestMessage = 64; - */ - public de.pokerth.protocol.ProtoBuf.ChatRequestMessage getChatRequestMessage() { - return chatRequestMessage_; - } - /** - * optional .ChatRequestMessage chatRequestMessage = 64; - */ - public Builder setChatRequestMessage(de.pokerth.protocol.ProtoBuf.ChatRequestMessage value) { - if (value == null) { - throw new NullPointerException(); - } - chatRequestMessage_ = value; - - bitField1_ |= 0x80000000; - return this; - } - /** - * optional .ChatRequestMessage chatRequestMessage = 64; - */ - public Builder setChatRequestMessage( - de.pokerth.protocol.ProtoBuf.ChatRequestMessage.Builder builderForValue) { - chatRequestMessage_ = builderForValue.build(); - - bitField1_ |= 0x80000000; - return this; - } - /** - * optional .ChatRequestMessage chatRequestMessage = 64; - */ - public Builder mergeChatRequestMessage(de.pokerth.protocol.ProtoBuf.ChatRequestMessage value) { - if (((bitField1_ & 0x80000000) == 0x80000000) && - chatRequestMessage_ != de.pokerth.protocol.ProtoBuf.ChatRequestMessage.getDefaultInstance()) { - chatRequestMessage_ = - de.pokerth.protocol.ProtoBuf.ChatRequestMessage.newBuilder(chatRequestMessage_).mergeFrom(value).buildPartial(); - } else { - chatRequestMessage_ = value; - } - - bitField1_ |= 0x80000000; - return this; - } - /** - * optional .ChatRequestMessage chatRequestMessage = 64; - */ - public Builder clearChatRequestMessage() { - chatRequestMessage_ = de.pokerth.protocol.ProtoBuf.ChatRequestMessage.getDefaultInstance(); - - bitField1_ = (bitField1_ & ~0x80000000); - return this; - } - - // optional .ChatMessage chatMessage = 65; - private de.pokerth.protocol.ProtoBuf.ChatMessage chatMessage_ = de.pokerth.protocol.ProtoBuf.ChatMessage.getDefaultInstance(); - /** - * optional .ChatMessage chatMessage = 65; - */ - public boolean hasChatMessage() { - return ((bitField2_ & 0x00000001) == 0x00000001); - } - /** - * optional .ChatMessage chatMessage = 65; - */ - public de.pokerth.protocol.ProtoBuf.ChatMessage getChatMessage() { - return chatMessage_; - } - /** - * optional .ChatMessage chatMessage = 65; - */ - public Builder setChatMessage(de.pokerth.protocol.ProtoBuf.ChatMessage value) { - if (value == null) { - throw new NullPointerException(); - } - chatMessage_ = value; - - bitField2_ |= 0x00000001; - return this; - } - /** - * optional .ChatMessage chatMessage = 65; - */ - public Builder setChatMessage( - de.pokerth.protocol.ProtoBuf.ChatMessage.Builder builderForValue) { - chatMessage_ = builderForValue.build(); - - bitField2_ |= 0x00000001; - return this; - } - /** - * optional .ChatMessage chatMessage = 65; - */ - public Builder mergeChatMessage(de.pokerth.protocol.ProtoBuf.ChatMessage value) { - if (((bitField2_ & 0x00000001) == 0x00000001) && - chatMessage_ != de.pokerth.protocol.ProtoBuf.ChatMessage.getDefaultInstance()) { - chatMessage_ = - de.pokerth.protocol.ProtoBuf.ChatMessage.newBuilder(chatMessage_).mergeFrom(value).buildPartial(); - } else { - chatMessage_ = value; - } - - bitField2_ |= 0x00000001; - return this; - } - /** - * optional .ChatMessage chatMessage = 65; - */ - public Builder clearChatMessage() { - chatMessage_ = de.pokerth.protocol.ProtoBuf.ChatMessage.getDefaultInstance(); - - bitField2_ = (bitField2_ & ~0x00000001); - return this; - } - - // optional .ChatRejectMessage chatRejectMessage = 66; - private de.pokerth.protocol.ProtoBuf.ChatRejectMessage chatRejectMessage_ = de.pokerth.protocol.ProtoBuf.ChatRejectMessage.getDefaultInstance(); - /** - * optional .ChatRejectMessage chatRejectMessage = 66; - */ - public boolean hasChatRejectMessage() { - return ((bitField2_ & 0x00000002) == 0x00000002); - } - /** - * optional .ChatRejectMessage chatRejectMessage = 66; - */ - public de.pokerth.protocol.ProtoBuf.ChatRejectMessage getChatRejectMessage() { - return chatRejectMessage_; - } - /** - * optional .ChatRejectMessage chatRejectMessage = 66; - */ - public Builder setChatRejectMessage(de.pokerth.protocol.ProtoBuf.ChatRejectMessage value) { - if (value == null) { - throw new NullPointerException(); - } - chatRejectMessage_ = value; - - bitField2_ |= 0x00000002; - return this; - } - /** - * optional .ChatRejectMessage chatRejectMessage = 66; - */ - public Builder setChatRejectMessage( - de.pokerth.protocol.ProtoBuf.ChatRejectMessage.Builder builderForValue) { - chatRejectMessage_ = builderForValue.build(); - - bitField2_ |= 0x00000002; - return this; - } - /** - * optional .ChatRejectMessage chatRejectMessage = 66; - */ - public Builder mergeChatRejectMessage(de.pokerth.protocol.ProtoBuf.ChatRejectMessage value) { - if (((bitField2_ & 0x00000002) == 0x00000002) && - chatRejectMessage_ != de.pokerth.protocol.ProtoBuf.ChatRejectMessage.getDefaultInstance()) { - chatRejectMessage_ = - de.pokerth.protocol.ProtoBuf.ChatRejectMessage.newBuilder(chatRejectMessage_).mergeFrom(value).buildPartial(); - } else { - chatRejectMessage_ = value; - } - - bitField2_ |= 0x00000002; - return this; - } - /** - * optional .ChatRejectMessage chatRejectMessage = 66; - */ - public Builder clearChatRejectMessage() { - chatRejectMessage_ = de.pokerth.protocol.ProtoBuf.ChatRejectMessage.getDefaultInstance(); - - bitField2_ = (bitField2_ & ~0x00000002); - return this; - } - - // optional .DialogMessage dialogMessage = 67; - private de.pokerth.protocol.ProtoBuf.DialogMessage dialogMessage_ = de.pokerth.protocol.ProtoBuf.DialogMessage.getDefaultInstance(); - /** - * optional .DialogMessage dialogMessage = 67; - */ - public boolean hasDialogMessage() { - return ((bitField2_ & 0x00000004) == 0x00000004); - } - /** - * optional .DialogMessage dialogMessage = 67; - */ - public de.pokerth.protocol.ProtoBuf.DialogMessage getDialogMessage() { - return dialogMessage_; - } - /** - * optional .DialogMessage dialogMessage = 67; - */ - public Builder setDialogMessage(de.pokerth.protocol.ProtoBuf.DialogMessage value) { - if (value == null) { - throw new NullPointerException(); - } - dialogMessage_ = value; - - bitField2_ |= 0x00000004; - return this; - } - /** - * optional .DialogMessage dialogMessage = 67; - */ - public Builder setDialogMessage( - de.pokerth.protocol.ProtoBuf.DialogMessage.Builder builderForValue) { - dialogMessage_ = builderForValue.build(); - - bitField2_ |= 0x00000004; - return this; - } - /** - * optional .DialogMessage dialogMessage = 67; - */ - public Builder mergeDialogMessage(de.pokerth.protocol.ProtoBuf.DialogMessage value) { - if (((bitField2_ & 0x00000004) == 0x00000004) && - dialogMessage_ != de.pokerth.protocol.ProtoBuf.DialogMessage.getDefaultInstance()) { - dialogMessage_ = - de.pokerth.protocol.ProtoBuf.DialogMessage.newBuilder(dialogMessage_).mergeFrom(value).buildPartial(); - } else { - dialogMessage_ = value; - } - - bitField2_ |= 0x00000004; - return this; - } - /** - * optional .DialogMessage dialogMessage = 67; - */ - public Builder clearDialogMessage() { - dialogMessage_ = de.pokerth.protocol.ProtoBuf.DialogMessage.getDefaultInstance(); - - bitField2_ = (bitField2_ & ~0x00000004); - return this; - } - - // optional .TimeoutWarningMessage timeoutWarningMessage = 68; - private de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage timeoutWarningMessage_ = de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.getDefaultInstance(); - /** - * optional .TimeoutWarningMessage timeoutWarningMessage = 68; - */ - public boolean hasTimeoutWarningMessage() { - return ((bitField2_ & 0x00000008) == 0x00000008); - } - /** - * optional .TimeoutWarningMessage timeoutWarningMessage = 68; - */ - public de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage getTimeoutWarningMessage() { - return timeoutWarningMessage_; - } - /** - * optional .TimeoutWarningMessage timeoutWarningMessage = 68; - */ - public Builder setTimeoutWarningMessage(de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage value) { - if (value == null) { - throw new NullPointerException(); - } - timeoutWarningMessage_ = value; - - bitField2_ |= 0x00000008; - return this; - } - /** - * optional .TimeoutWarningMessage timeoutWarningMessage = 68; - */ - public Builder setTimeoutWarningMessage( - de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.Builder builderForValue) { - timeoutWarningMessage_ = builderForValue.build(); - - bitField2_ |= 0x00000008; - return this; - } - /** - * optional .TimeoutWarningMessage timeoutWarningMessage = 68; - */ - public Builder mergeTimeoutWarningMessage(de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage value) { - if (((bitField2_ & 0x00000008) == 0x00000008) && - timeoutWarningMessage_ != de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.getDefaultInstance()) { - timeoutWarningMessage_ = - de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.newBuilder(timeoutWarningMessage_).mergeFrom(value).buildPartial(); - } else { - timeoutWarningMessage_ = value; - } - - bitField2_ |= 0x00000008; - return this; - } - /** - * optional .TimeoutWarningMessage timeoutWarningMessage = 68; - */ - public Builder clearTimeoutWarningMessage() { - timeoutWarningMessage_ = de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.getDefaultInstance(); - - bitField2_ = (bitField2_ & ~0x00000008); - return this; - } - - // optional .ResetTimeoutMessage resetTimeoutMessage = 69; - private de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage resetTimeoutMessage_ = de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage.getDefaultInstance(); - /** - * optional .ResetTimeoutMessage resetTimeoutMessage = 69; - */ - public boolean hasResetTimeoutMessage() { - return ((bitField2_ & 0x00000010) == 0x00000010); - } - /** - * optional .ResetTimeoutMessage resetTimeoutMessage = 69; - */ - public de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage getResetTimeoutMessage() { - return resetTimeoutMessage_; - } - /** - * optional .ResetTimeoutMessage resetTimeoutMessage = 69; - */ - public Builder setResetTimeoutMessage(de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage value) { - if (value == null) { - throw new NullPointerException(); - } - resetTimeoutMessage_ = value; - - bitField2_ |= 0x00000010; - return this; - } - /** - * optional .ResetTimeoutMessage resetTimeoutMessage = 69; - */ - public Builder setResetTimeoutMessage( - de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage.Builder builderForValue) { - resetTimeoutMessage_ = builderForValue.build(); - - bitField2_ |= 0x00000010; - return this; - } - /** - * optional .ResetTimeoutMessage resetTimeoutMessage = 69; - */ - public Builder mergeResetTimeoutMessage(de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage value) { - if (((bitField2_ & 0x00000010) == 0x00000010) && - resetTimeoutMessage_ != de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage.getDefaultInstance()) { - resetTimeoutMessage_ = - de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage.newBuilder(resetTimeoutMessage_).mergeFrom(value).buildPartial(); - } else { - resetTimeoutMessage_ = value; - } - - bitField2_ |= 0x00000010; - return this; - } - /** - * optional .ResetTimeoutMessage resetTimeoutMessage = 69; - */ - public Builder clearResetTimeoutMessage() { - resetTimeoutMessage_ = de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage.getDefaultInstance(); - - bitField2_ = (bitField2_ & ~0x00000010); - return this; - } - - // optional .ReportAvatarMessage reportAvatarMessage = 70; - private de.pokerth.protocol.ProtoBuf.ReportAvatarMessage reportAvatarMessage_ = de.pokerth.protocol.ProtoBuf.ReportAvatarMessage.getDefaultInstance(); - /** - * optional .ReportAvatarMessage reportAvatarMessage = 70; - */ - public boolean hasReportAvatarMessage() { - return ((bitField2_ & 0x00000020) == 0x00000020); - } - /** - * optional .ReportAvatarMessage reportAvatarMessage = 70; - */ - public de.pokerth.protocol.ProtoBuf.ReportAvatarMessage getReportAvatarMessage() { - return reportAvatarMessage_; - } - /** - * optional .ReportAvatarMessage reportAvatarMessage = 70; - */ - public Builder setReportAvatarMessage(de.pokerth.protocol.ProtoBuf.ReportAvatarMessage value) { - if (value == null) { - throw new NullPointerException(); - } - reportAvatarMessage_ = value; - - bitField2_ |= 0x00000020; - return this; - } - /** - * optional .ReportAvatarMessage reportAvatarMessage = 70; - */ - public Builder setReportAvatarMessage( - de.pokerth.protocol.ProtoBuf.ReportAvatarMessage.Builder builderForValue) { - reportAvatarMessage_ = builderForValue.build(); - - bitField2_ |= 0x00000020; - return this; - } - /** - * optional .ReportAvatarMessage reportAvatarMessage = 70; - */ - public Builder mergeReportAvatarMessage(de.pokerth.protocol.ProtoBuf.ReportAvatarMessage value) { - if (((bitField2_ & 0x00000020) == 0x00000020) && - reportAvatarMessage_ != de.pokerth.protocol.ProtoBuf.ReportAvatarMessage.getDefaultInstance()) { - reportAvatarMessage_ = - de.pokerth.protocol.ProtoBuf.ReportAvatarMessage.newBuilder(reportAvatarMessage_).mergeFrom(value).buildPartial(); - } else { - reportAvatarMessage_ = value; - } - - bitField2_ |= 0x00000020; - return this; - } - /** - * optional .ReportAvatarMessage reportAvatarMessage = 70; - */ - public Builder clearReportAvatarMessage() { - reportAvatarMessage_ = de.pokerth.protocol.ProtoBuf.ReportAvatarMessage.getDefaultInstance(); - - bitField2_ = (bitField2_ & ~0x00000020); - return this; - } - - // optional .ReportAvatarAckMessage reportAvatarAckMessage = 71; - private de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage reportAvatarAckMessage_ = de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.getDefaultInstance(); - /** - * optional .ReportAvatarAckMessage reportAvatarAckMessage = 71; - */ - public boolean hasReportAvatarAckMessage() { - return ((bitField2_ & 0x00000040) == 0x00000040); - } - /** - * optional .ReportAvatarAckMessage reportAvatarAckMessage = 71; - */ - public de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage getReportAvatarAckMessage() { - return reportAvatarAckMessage_; - } - /** - * optional .ReportAvatarAckMessage reportAvatarAckMessage = 71; - */ - public Builder setReportAvatarAckMessage(de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage value) { - if (value == null) { - throw new NullPointerException(); - } - reportAvatarAckMessage_ = value; - - bitField2_ |= 0x00000040; - return this; - } - /** - * optional .ReportAvatarAckMessage reportAvatarAckMessage = 71; - */ - public Builder setReportAvatarAckMessage( - de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.Builder builderForValue) { - reportAvatarAckMessage_ = builderForValue.build(); - - bitField2_ |= 0x00000040; - return this; - } - /** - * optional .ReportAvatarAckMessage reportAvatarAckMessage = 71; - */ - public Builder mergeReportAvatarAckMessage(de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage value) { - if (((bitField2_ & 0x00000040) == 0x00000040) && - reportAvatarAckMessage_ != de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.getDefaultInstance()) { - reportAvatarAckMessage_ = - de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.newBuilder(reportAvatarAckMessage_).mergeFrom(value).buildPartial(); - } else { - reportAvatarAckMessage_ = value; - } - - bitField2_ |= 0x00000040; - return this; - } - /** - * optional .ReportAvatarAckMessage reportAvatarAckMessage = 71; - */ - public Builder clearReportAvatarAckMessage() { - reportAvatarAckMessage_ = de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.getDefaultInstance(); - - bitField2_ = (bitField2_ & ~0x00000040); - return this; - } - - // optional .ReportGameMessage reportGameMessage = 72; - private de.pokerth.protocol.ProtoBuf.ReportGameMessage reportGameMessage_ = de.pokerth.protocol.ProtoBuf.ReportGameMessage.getDefaultInstance(); - /** - * optional .ReportGameMessage reportGameMessage = 72; - */ - public boolean hasReportGameMessage() { - return ((bitField2_ & 0x00000080) == 0x00000080); - } - /** - * optional .ReportGameMessage reportGameMessage = 72; - */ - public de.pokerth.protocol.ProtoBuf.ReportGameMessage getReportGameMessage() { - return reportGameMessage_; - } - /** - * optional .ReportGameMessage reportGameMessage = 72; - */ - public Builder setReportGameMessage(de.pokerth.protocol.ProtoBuf.ReportGameMessage value) { - if (value == null) { - throw new NullPointerException(); - } - reportGameMessage_ = value; - - bitField2_ |= 0x00000080; - return this; - } - /** - * optional .ReportGameMessage reportGameMessage = 72; - */ - public Builder setReportGameMessage( - de.pokerth.protocol.ProtoBuf.ReportGameMessage.Builder builderForValue) { - reportGameMessage_ = builderForValue.build(); - - bitField2_ |= 0x00000080; - return this; - } - /** - * optional .ReportGameMessage reportGameMessage = 72; - */ - public Builder mergeReportGameMessage(de.pokerth.protocol.ProtoBuf.ReportGameMessage value) { - if (((bitField2_ & 0x00000080) == 0x00000080) && - reportGameMessage_ != de.pokerth.protocol.ProtoBuf.ReportGameMessage.getDefaultInstance()) { - reportGameMessage_ = - de.pokerth.protocol.ProtoBuf.ReportGameMessage.newBuilder(reportGameMessage_).mergeFrom(value).buildPartial(); - } else { - reportGameMessage_ = value; - } - - bitField2_ |= 0x00000080; - return this; - } - /** - * optional .ReportGameMessage reportGameMessage = 72; - */ - public Builder clearReportGameMessage() { - reportGameMessage_ = de.pokerth.protocol.ProtoBuf.ReportGameMessage.getDefaultInstance(); - - bitField2_ = (bitField2_ & ~0x00000080); - return this; - } - - // optional .ReportGameAckMessage reportGameAckMessage = 73; - private de.pokerth.protocol.ProtoBuf.ReportGameAckMessage reportGameAckMessage_ = de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.getDefaultInstance(); - /** - * optional .ReportGameAckMessage reportGameAckMessage = 73; - */ - public boolean hasReportGameAckMessage() { - return ((bitField2_ & 0x00000100) == 0x00000100); - } - /** - * optional .ReportGameAckMessage reportGameAckMessage = 73; - */ - public de.pokerth.protocol.ProtoBuf.ReportGameAckMessage getReportGameAckMessage() { - return reportGameAckMessage_; - } - /** - * optional .ReportGameAckMessage reportGameAckMessage = 73; - */ - public Builder setReportGameAckMessage(de.pokerth.protocol.ProtoBuf.ReportGameAckMessage value) { - if (value == null) { - throw new NullPointerException(); - } - reportGameAckMessage_ = value; - - bitField2_ |= 0x00000100; - return this; - } - /** - * optional .ReportGameAckMessage reportGameAckMessage = 73; - */ - public Builder setReportGameAckMessage( - de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.Builder builderForValue) { - reportGameAckMessage_ = builderForValue.build(); - - bitField2_ |= 0x00000100; - return this; - } - /** - * optional .ReportGameAckMessage reportGameAckMessage = 73; - */ - public Builder mergeReportGameAckMessage(de.pokerth.protocol.ProtoBuf.ReportGameAckMessage value) { - if (((bitField2_ & 0x00000100) == 0x00000100) && - reportGameAckMessage_ != de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.getDefaultInstance()) { - reportGameAckMessage_ = - de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.newBuilder(reportGameAckMessage_).mergeFrom(value).buildPartial(); - } else { - reportGameAckMessage_ = value; - } - - bitField2_ |= 0x00000100; - return this; - } - /** - * optional .ReportGameAckMessage reportGameAckMessage = 73; - */ - public Builder clearReportGameAckMessage() { - reportGameAckMessage_ = de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.getDefaultInstance(); - - bitField2_ = (bitField2_ & ~0x00000100); - return this; - } - - // optional .ErrorMessage errorMessage = 74; - private de.pokerth.protocol.ProtoBuf.ErrorMessage errorMessage_ = de.pokerth.protocol.ProtoBuf.ErrorMessage.getDefaultInstance(); - /** - * optional .ErrorMessage errorMessage = 74; - */ - public boolean hasErrorMessage() { - return ((bitField2_ & 0x00000200) == 0x00000200); - } - /** - * optional .ErrorMessage errorMessage = 74; - */ - public de.pokerth.protocol.ProtoBuf.ErrorMessage getErrorMessage() { - return errorMessage_; - } - /** - * optional .ErrorMessage errorMessage = 74; - */ - public Builder setErrorMessage(de.pokerth.protocol.ProtoBuf.ErrorMessage value) { - if (value == null) { - throw new NullPointerException(); - } - errorMessage_ = value; - - bitField2_ |= 0x00000200; - return this; - } - /** - * optional .ErrorMessage errorMessage = 74; - */ - public Builder setErrorMessage( - de.pokerth.protocol.ProtoBuf.ErrorMessage.Builder builderForValue) { - errorMessage_ = builderForValue.build(); - - bitField2_ |= 0x00000200; - return this; - } - /** - * optional .ErrorMessage errorMessage = 74; - */ - public Builder mergeErrorMessage(de.pokerth.protocol.ProtoBuf.ErrorMessage value) { - if (((bitField2_ & 0x00000200) == 0x00000200) && - errorMessage_ != de.pokerth.protocol.ProtoBuf.ErrorMessage.getDefaultInstance()) { - errorMessage_ = - de.pokerth.protocol.ProtoBuf.ErrorMessage.newBuilder(errorMessage_).mergeFrom(value).buildPartial(); - } else { - errorMessage_ = value; - } - - bitField2_ |= 0x00000200; - return this; - } - /** - * optional .ErrorMessage errorMessage = 74; - */ - public Builder clearErrorMessage() { - errorMessage_ = de.pokerth.protocol.ProtoBuf.ErrorMessage.getDefaultInstance(); - - bitField2_ = (bitField2_ & ~0x00000200); - return this; - } - - // optional .AdminRemoveGameMessage adminRemoveGameMessage = 75; - private de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage adminRemoveGameMessage_ = de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage.getDefaultInstance(); - /** - * optional .AdminRemoveGameMessage adminRemoveGameMessage = 75; - */ - public boolean hasAdminRemoveGameMessage() { - return ((bitField2_ & 0x00000400) == 0x00000400); - } - /** - * optional .AdminRemoveGameMessage adminRemoveGameMessage = 75; - */ - public de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage getAdminRemoveGameMessage() { - return adminRemoveGameMessage_; - } - /** - * optional .AdminRemoveGameMessage adminRemoveGameMessage = 75; - */ - public Builder setAdminRemoveGameMessage(de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage value) { - if (value == null) { - throw new NullPointerException(); - } - adminRemoveGameMessage_ = value; - - bitField2_ |= 0x00000400; - return this; - } - /** - * optional .AdminRemoveGameMessage adminRemoveGameMessage = 75; - */ - public Builder setAdminRemoveGameMessage( - de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage.Builder builderForValue) { - adminRemoveGameMessage_ = builderForValue.build(); - - bitField2_ |= 0x00000400; - return this; - } - /** - * optional .AdminRemoveGameMessage adminRemoveGameMessage = 75; - */ - public Builder mergeAdminRemoveGameMessage(de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage value) { - if (((bitField2_ & 0x00000400) == 0x00000400) && - adminRemoveGameMessage_ != de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage.getDefaultInstance()) { - adminRemoveGameMessage_ = - de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage.newBuilder(adminRemoveGameMessage_).mergeFrom(value).buildPartial(); - } else { - adminRemoveGameMessage_ = value; - } - - bitField2_ |= 0x00000400; - return this; - } - /** - * optional .AdminRemoveGameMessage adminRemoveGameMessage = 75; - */ - public Builder clearAdminRemoveGameMessage() { - adminRemoveGameMessage_ = de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage.getDefaultInstance(); - - bitField2_ = (bitField2_ & ~0x00000400); - return this; - } - - // optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 76; - private de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage adminRemoveGameAckMessage_ = de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.getDefaultInstance(); - /** - * optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 76; - */ - public boolean hasAdminRemoveGameAckMessage() { - return ((bitField2_ & 0x00000800) == 0x00000800); - } - /** - * optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 76; - */ - public de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage getAdminRemoveGameAckMessage() { - return adminRemoveGameAckMessage_; - } - /** - * optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 76; - */ - public Builder setAdminRemoveGameAckMessage(de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage value) { - if (value == null) { - throw new NullPointerException(); - } - adminRemoveGameAckMessage_ = value; - - bitField2_ |= 0x00000800; - return this; - } - /** - * optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 76; - */ - public Builder setAdminRemoveGameAckMessage( - de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.Builder builderForValue) { - adminRemoveGameAckMessage_ = builderForValue.build(); - - bitField2_ |= 0x00000800; - return this; - } - /** - * optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 76; - */ - public Builder mergeAdminRemoveGameAckMessage(de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage value) { - if (((bitField2_ & 0x00000800) == 0x00000800) && - adminRemoveGameAckMessage_ != de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.getDefaultInstance()) { - adminRemoveGameAckMessage_ = - de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.newBuilder(adminRemoveGameAckMessage_).mergeFrom(value).buildPartial(); - } else { - adminRemoveGameAckMessage_ = value; - } - - bitField2_ |= 0x00000800; - return this; - } - /** - * optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 76; - */ - public Builder clearAdminRemoveGameAckMessage() { - adminRemoveGameAckMessage_ = de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.getDefaultInstance(); - - bitField2_ = (bitField2_ & ~0x00000800); - return this; - } - - // optional .AdminBanPlayerMessage adminBanPlayerMessage = 77; - private de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage adminBanPlayerMessage_ = de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage.getDefaultInstance(); - /** - * optional .AdminBanPlayerMessage adminBanPlayerMessage = 77; - */ - public boolean hasAdminBanPlayerMessage() { - return ((bitField2_ & 0x00001000) == 0x00001000); - } - /** - * optional .AdminBanPlayerMessage adminBanPlayerMessage = 77; - */ - public de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage getAdminBanPlayerMessage() { - return adminBanPlayerMessage_; - } - /** - * optional .AdminBanPlayerMessage adminBanPlayerMessage = 77; - */ - public Builder setAdminBanPlayerMessage(de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage value) { - if (value == null) { - throw new NullPointerException(); - } - adminBanPlayerMessage_ = value; - - bitField2_ |= 0x00001000; - return this; - } - /** - * optional .AdminBanPlayerMessage adminBanPlayerMessage = 77; - */ - public Builder setAdminBanPlayerMessage( - de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage.Builder builderForValue) { - adminBanPlayerMessage_ = builderForValue.build(); - - bitField2_ |= 0x00001000; - return this; - } - /** - * optional .AdminBanPlayerMessage adminBanPlayerMessage = 77; - */ - public Builder mergeAdminBanPlayerMessage(de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage value) { - if (((bitField2_ & 0x00001000) == 0x00001000) && - adminBanPlayerMessage_ != de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage.getDefaultInstance()) { - adminBanPlayerMessage_ = - de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage.newBuilder(adminBanPlayerMessage_).mergeFrom(value).buildPartial(); - } else { - adminBanPlayerMessage_ = value; - } - - bitField2_ |= 0x00001000; - return this; - } - /** - * optional .AdminBanPlayerMessage adminBanPlayerMessage = 77; - */ - public Builder clearAdminBanPlayerMessage() { - adminBanPlayerMessage_ = de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage.getDefaultInstance(); - - bitField2_ = (bitField2_ & ~0x00001000); - return this; - } - - // optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 78; - private de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage adminBanPlayerAckMessage_ = de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.getDefaultInstance(); - /** - * optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 78; - */ - public boolean hasAdminBanPlayerAckMessage() { - return ((bitField2_ & 0x00002000) == 0x00002000); - } - /** - * optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 78; - */ - public de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage getAdminBanPlayerAckMessage() { - return adminBanPlayerAckMessage_; - } - /** - * optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 78; - */ - public Builder setAdminBanPlayerAckMessage(de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage value) { - if (value == null) { - throw new NullPointerException(); - } - adminBanPlayerAckMessage_ = value; - - bitField2_ |= 0x00002000; - return this; - } - /** - * optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 78; - */ - public Builder setAdminBanPlayerAckMessage( - de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.Builder builderForValue) { - adminBanPlayerAckMessage_ = builderForValue.build(); - - bitField2_ |= 0x00002000; - return this; - } - /** - * optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 78; - */ - public Builder mergeAdminBanPlayerAckMessage(de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage value) { - if (((bitField2_ & 0x00002000) == 0x00002000) && - adminBanPlayerAckMessage_ != de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.getDefaultInstance()) { - adminBanPlayerAckMessage_ = - de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.newBuilder(adminBanPlayerAckMessage_).mergeFrom(value).buildPartial(); - } else { - adminBanPlayerAckMessage_ = value; - } - - bitField2_ |= 0x00002000; - return this; - } - /** - * optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 78; - */ - public Builder clearAdminBanPlayerAckMessage() { - adminBanPlayerAckMessage_ = de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.getDefaultInstance(); - - bitField2_ = (bitField2_ & ~0x00002000); - return this; - } - - // optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 79; - private de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage_ = de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage.getDefaultInstance(); - /** - * optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 79; - */ - public boolean hasGameListSpectatorJoinedMessage() { - return ((bitField2_ & 0x00004000) == 0x00004000); - } - /** - * optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 79; - */ - public de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage getGameListSpectatorJoinedMessage() { - return gameListSpectatorJoinedMessage_; - } - /** - * optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 79; - */ - public Builder setGameListSpectatorJoinedMessage(de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage value) { - if (value == null) { - throw new NullPointerException(); - } - gameListSpectatorJoinedMessage_ = value; - - bitField2_ |= 0x00004000; - return this; - } - /** - * optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 79; - */ - public Builder setGameListSpectatorJoinedMessage( - de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage.Builder builderForValue) { - gameListSpectatorJoinedMessage_ = builderForValue.build(); - - bitField2_ |= 0x00004000; - return this; - } - /** - * optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 79; - */ - public Builder mergeGameListSpectatorJoinedMessage(de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage value) { - if (((bitField2_ & 0x00004000) == 0x00004000) && - gameListSpectatorJoinedMessage_ != de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage.getDefaultInstance()) { - gameListSpectatorJoinedMessage_ = - de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage.newBuilder(gameListSpectatorJoinedMessage_).mergeFrom(value).buildPartial(); - } else { - gameListSpectatorJoinedMessage_ = value; - } - - bitField2_ |= 0x00004000; - return this; - } - /** - * optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 79; - */ - public Builder clearGameListSpectatorJoinedMessage() { - gameListSpectatorJoinedMessage_ = de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage.getDefaultInstance(); - - bitField2_ = (bitField2_ & ~0x00004000); - return this; - } - - // optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 80; - private de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage gameListSpectatorLeftMessage_ = de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage.getDefaultInstance(); - /** - * optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 80; - */ - public boolean hasGameListSpectatorLeftMessage() { - return ((bitField2_ & 0x00008000) == 0x00008000); - } - /** - * optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 80; - */ - public de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage getGameListSpectatorLeftMessage() { - return gameListSpectatorLeftMessage_; - } - /** - * optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 80; - */ - public Builder setGameListSpectatorLeftMessage(de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage value) { - if (value == null) { - throw new NullPointerException(); - } - gameListSpectatorLeftMessage_ = value; - - bitField2_ |= 0x00008000; - return this; - } - /** - * optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 80; - */ - public Builder setGameListSpectatorLeftMessage( - de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage.Builder builderForValue) { - gameListSpectatorLeftMessage_ = builderForValue.build(); - - bitField2_ |= 0x00008000; - return this; - } - /** - * optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 80; - */ - public Builder mergeGameListSpectatorLeftMessage(de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage value) { - if (((bitField2_ & 0x00008000) == 0x00008000) && - gameListSpectatorLeftMessage_ != de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage.getDefaultInstance()) { - gameListSpectatorLeftMessage_ = - de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage.newBuilder(gameListSpectatorLeftMessage_).mergeFrom(value).buildPartial(); - } else { - gameListSpectatorLeftMessage_ = value; - } - - bitField2_ |= 0x00008000; - return this; - } - /** - * optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 80; - */ - public Builder clearGameListSpectatorLeftMessage() { - gameListSpectatorLeftMessage_ = de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage.getDefaultInstance(); - - bitField2_ = (bitField2_ & ~0x00008000); - return this; - } - - // optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 81; - private de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage gameSpectatorJoinedMessage_ = de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage.getDefaultInstance(); - /** - * optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 81; - */ - public boolean hasGameSpectatorJoinedMessage() { - return ((bitField2_ & 0x00010000) == 0x00010000); - } - /** - * optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 81; - */ - public de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage getGameSpectatorJoinedMessage() { - return gameSpectatorJoinedMessage_; - } - /** - * optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 81; - */ - public Builder setGameSpectatorJoinedMessage(de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage value) { - if (value == null) { - throw new NullPointerException(); - } - gameSpectatorJoinedMessage_ = value; - - bitField2_ |= 0x00010000; - return this; - } - /** - * optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 81; - */ - public Builder setGameSpectatorJoinedMessage( - de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage.Builder builderForValue) { - gameSpectatorJoinedMessage_ = builderForValue.build(); - - bitField2_ |= 0x00010000; - return this; - } - /** - * optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 81; - */ - public Builder mergeGameSpectatorJoinedMessage(de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage value) { - if (((bitField2_ & 0x00010000) == 0x00010000) && - gameSpectatorJoinedMessage_ != de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage.getDefaultInstance()) { - gameSpectatorJoinedMessage_ = - de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage.newBuilder(gameSpectatorJoinedMessage_).mergeFrom(value).buildPartial(); - } else { - gameSpectatorJoinedMessage_ = value; - } - - bitField2_ |= 0x00010000; - return this; - } - /** - * optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 81; - */ - public Builder clearGameSpectatorJoinedMessage() { - gameSpectatorJoinedMessage_ = de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage.getDefaultInstance(); - - bitField2_ = (bitField2_ & ~0x00010000); - return this; - } - - // optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 82; - private de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage gameSpectatorLeftMessage_ = de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage.getDefaultInstance(); - /** - * optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 82; - */ - public boolean hasGameSpectatorLeftMessage() { - return ((bitField2_ & 0x00020000) == 0x00020000); - } - /** - * optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 82; - */ - public de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage getGameSpectatorLeftMessage() { - return gameSpectatorLeftMessage_; - } - /** - * optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 82; - */ - public Builder setGameSpectatorLeftMessage(de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage value) { - if (value == null) { - throw new NullPointerException(); - } - gameSpectatorLeftMessage_ = value; - - bitField2_ |= 0x00020000; - return this; - } - /** - * optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 82; - */ - public Builder setGameSpectatorLeftMessage( - de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage.Builder builderForValue) { - gameSpectatorLeftMessage_ = builderForValue.build(); - - bitField2_ |= 0x00020000; - return this; - } - /** - * optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 82; - */ - public Builder mergeGameSpectatorLeftMessage(de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage value) { - if (((bitField2_ & 0x00020000) == 0x00020000) && - gameSpectatorLeftMessage_ != de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage.getDefaultInstance()) { - gameSpectatorLeftMessage_ = - de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage.newBuilder(gameSpectatorLeftMessage_).mergeFrom(value).buildPartial(); - } else { - gameSpectatorLeftMessage_ = value; - } - - bitField2_ |= 0x00020000; - return this; - } - /** - * optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 82; - */ - public Builder clearGameSpectatorLeftMessage() { - gameSpectatorLeftMessage_ = de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage.getDefaultInstance(); - - bitField2_ = (bitField2_ & ~0x00020000); - return this; - } - // @@protoc_insertion_point(builder_scope:PokerTHMessage) }