Is government employment based on race and/or gender discrimination?

Vice President Biden says that he will choose a woman to be his running mate, and he will nominate a black woman to the Supreme Court if elected.

Is that discrimination based on race and gender?

Would it be acceptable for a CEO to make similar statements about hiring corporate executives?

For background see the first 40 seconds of this video:

Nope, it’s not

Would a similar statement be okay if it would limit possible candidates to white males only?