joinBuilder.setAutoLeave(autoLeave);
joinBuilder.setSpectateOnly(spectateOnly);
if (!password.isEmpty()) {
joinBuilder.setPassword(password);
}
JoinExistingGameMessage joinExisting = joinBuilder.build();
PokerTHMessage msg = PokerTHMessage.newBuilder()
.setMessageType(PokerTHMessageType.Type_JoinExistingGameMessage)
.setJoinExistingGameMessage(joinExisting)
.build();