public static SafeScriptProto toProto ( SafeScript script ) { return SafeScriptProto . newBuilder ( ) . setPrivateDoNotAccessOrElseSafeScriptWrappedValue ( script . getSafeScriptString ( ) ) . build ( ) ; }
Serializes a SafeScript into its opaque protocol message representation .