Contra Costa County Senior Deputy District Attorney Michael Gressett pleaded not guilty Friday to charges that he raped and sodomized a fellow prosecutor in May.