You're likely thinking of Harry Potter and the Goblet of Fire—the fourth book/film in J.K. Rowling's series. Its protagonist is unmistakably Harry Potter.
The Golden Goblet is a different book entirely—Eloise Jarvis McGraw's 1961 Newbery Honor novel set in ancient Egypt, following a boy named Ranofer. The titles sound similar, but the stories share nothing.
While the Triwizard Tournament introduces three champions—Cedric Diggory (Hogwarts), Viktor Krum (Durmstrang), and Fleur Delacour (Beauxbatons)—the narrative centers entirely on Harry's experience:
Harry's journey—from reluctant champion to witness of reborn evil—drives every major plot thread. The other champions enrich the story, but it's Harry's Goblet of Fire.