public static SafeUrlProto toProto ( SafeUrl url ) { return SafeUrlProto . newBuilder ( ) . setPrivateDoNotAccessOrElseSafeUrlWrappedValue ( url . getSafeUrlString ( ) ) . build ( ) ; }
Serializes a SafeUrl into its opaque protocol message representation .