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

<p>Protocol message forms of this type are intended to be opaque. The fields of the returned
protocol message should be considered encapsulated and are not intended for direct inspection
or manipulation. Protocol messages can be converted back into a TrustedResourceUrl using
{@link #fromProto(TrustedResourceUrlProto)}.
Serializes a TrustedResourceUrl into its opaque protocol message representation .