public static com . google . cloud . datastore . Key key ( final Key < ? > typed ) { if ( typed == null ) return null ; else return typed . getRaw ( ) ; }
Easy null - safe conversion of the typed key .