User.Builder user = User.newBuilder().setId(coppa
? dcRequest.getConstrainedUsageGoogleUserId()
: dcRequest.getGoogleUserId());
if ((coppa && dcRequest.hasConstrainedUsageHostedMatchData())
|| (!coppa && dcRequest.hasHostedMatchData())) {
<BUG>ByteString dcHMD = coppa
? dcRequest.getConstrainedUsageHostedMatchData()
: dcRequest.getHostedMatchData();

user.setCustomdata(Base64.getEncoder().encodeToString(dcHMD.toByteArray()));</BUG>
}

User.Builder user = User.newBuilder().setId(coppa
? dcRequest.getConstrainedUsageGoogleUserId()
: dcRequest.getGoogleUserId());
if ((coppa && dcRequest.hasConstrainedUsageHostedMatchData())
|| (!coppa && dcRequest.hasHostedMatchData())) {
user.setCustomdata(MapperUtil.toBase64(coppa
? dcRequest.getConstrainedUsageHostedMatchData()
: dcRequest.getHostedMatchData()));
}
