public static Expression protoToSanitizedContentConverterFunction ( Descriptor messageType ) { return GoogRequire . create ( NodeContentKinds . toJsUnpackFunction ( messageType ) ) . reference ( ) ; }
Returns a function that can unpack safe proto types into sanitized content types ..