javaStringCheckUtf8 property
A proto2 file can set this to true to opt in to UTF-8 checking for Java, which will throw an exception if invalid UTF-8 is parsed from the wire or assigned to a string field.
TODO: clarify exactly what kinds of field types this option applies to, and update these docs accordingly.
Proto3 files already perform these checks. Setting the option explicitly to false has no effect: it cannot be used to opt proto3 files out of UTF-8 checks.
Implementation
@$pb.TagNumber(27)
$core.bool get javaStringCheckUtf8 => $_getBF(10);
Implementation
@$pb.TagNumber(27)
set javaStringCheckUtf8($core.bool value) => $_setBool(10, value);