Part information from schematic symbol
It is a connector, looking at the pinout most likely a programming connector. The actual connector depends on the footprint of P1.

Most programming connectors use set of header pins, either male or female.
Male is most likely.

As we already have a male and female, I'll add another type: a shrouded connector: