public static SafeHtmlProto toProto ( SafeHtml safeHtml ) { return SafeHtmlProto . newBuilder ( ) . setPrivateDoNotAccessOrElseSafeHtmlWrappedValue ( safeHtml . getSafeHtmlString ( ) ) . build ( ) ; }
Serializes a SafeHtml into its opaque protocol message representation .