public static TrustedResourceUrlProto toProto ( TrustedResourceUrl url ) { return TrustedResourceUrlProto . newBuilder ( ) . setPrivateDoNotAccessOrElseTrustedResourceUrlWrappedValue ( url . getTrustedResourceUrlString ( ) ) . build ( ) ; }
Serializes a TrustedResourceUrl into its opaque protocol message representation .