public static SafeStyleProto toProto ( SafeStyle style ) { return SafeStyleProto . newBuilder ( ) . setPrivateDoNotAccessOrElseSafeStyleWrappedValue ( style . getSafeStyleString ( ) ) . build ( ) ; }
Serializes a SafeStyle into its opaque protocol message representation .