toTextFormat method
Returns a TextFormat String representation of this message.
Spec: https://protobuf.dev/reference/protobuf/textformat-spec/
Implementation
String toTextFormat() {
final out = StringBuffer();
writeTextFormat(out);
return out.toString();
}