types/src/main/java/com/google/common/html/types/SafeStyleSheets.java
public static SafeStyleSheetProto toProto(SafeStyleSheet style) {
    return SafeStyleSheetProto.newBuilder()
        .setPrivateDoNotAccessOrElseSafeStyleSheetWrappedValue(
            style.getSafeStyleSheetString())
        .build();
  }
public static SafeStyleSheetProto toProto(SafeStyleSheet style) {
    return SafeStyleSheetProto.newBuilder()
        .setPrivateDoNotAccessOrElseSafeStyleSheetWrappedValue(
            style.getSafeStyleSheetString())
        .build();
  }
public static SafeStyleSheetProto toProto ( SafeStyleSheet style ) { return SafeStyleSheetProto . newBuilder ( ) . setPrivateDoNotAccessOrElseSafeStyleSheetWrappedValue ( style . getSafeStyleSheetString ( ) ) . build ( ) ; }
Serializes a SafeStyleSheet 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 SafeStyleSheet using
{@link #fromProto(SafeStyleSheetProto)}.
Serializes a SafeStyleSheet into its opaque protocol message representation .