Package com.google.protobuf
Class LegacyUnredactedTextFormat
java.lang.Object
com.google.protobuf.LegacyUnredactedTextFormat
The legacy APIs preserve the existing toString() behavior (output TextFormat), which allows us to
migrate toString callers that expect TextFormat output off toString. Eventually, we will make
toString output DebugFormat, which is randomized and redacts SPII fields (incompatible with
TextFormat).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static String
LikeTextFormat.printer().printToString(message)
, but for legacy purposes.(package private) static String
LikeTextFormat.printer().printToString(fields)
, but for legacy purposes.(package private) static String
LikeTextFormat.printer().emittingSingleLine(true).printToString(message)
, but for legacy purposes.(package private) static String
LikeTextFormat.printer().emittingSingleLine(true).printToString(fields)
, but for legacy purposes.
-
Constructor Details
-
LegacyUnredactedTextFormat
private LegacyUnredactedTextFormat()
-
-
Method Details
-
legacyUnredactedMultilineString
LikeTextFormat.printer().printToString(message)
, but for legacy purposes. -
legacyUnredactedMultilineString
LikeTextFormat.printer().printToString(fields)
, but for legacy purposes. -
legacyUnredactedSingleLineString
LikeTextFormat.printer().emittingSingleLine(true).printToString(message)
, but for legacy purposes. -
legacyUnredactedSingleLineString
LikeTextFormat.printer().emittingSingleLine(true).printToString(fields)
, but for legacy purposes.
-