Photo Illustration/Getty Images
Now playing
01:04
Paul Ryan disagrees with Trump's comments about judge
Green Party presidential nominee Jill Stein waits to be introduced prior to a press conference at the National Press Club August 23, 2016 in Washington, DC.
Win McNamee/Getty Images
Green Party presidential nominee Jill Stein waits to be introduced prior to a press conference at the National Press Club August 23, 2016 in Washington, DC.
Now playing
01:44
Jill Stein raises millions for recount
Former Democratic US Presidential candidate Hillary Clinton speaks to staff and supporters at the New Yorker hotel after her defeat in the presidential election November 9, 2016 in New York. / AFP / Brendan Smialowski        (Photo credit should read BRENDAN SMIALOWSKI/AFP/Getty Images)
BRENDAN SMIALOWSKI/AFP/Getty Images
Former Democratic US Presidential candidate Hillary Clinton speaks to staff and supporters at the New Yorker hotel after her defeat in the presidential election November 9, 2016 in New York. / AFP / Brendan Smialowski (Photo credit should read BRENDAN SMIALOWSKI/AFP/Getty Images)
Now playing
02:14
Scientists urge Clinton to call for recount
LYNDEN, WA - MAY 07: Republican presidential candidate Donald Trump gives a speech during a rally at the The Northwest Washington Fair and Event Center on May 7, 2016 in Lynden, Washington. Trump became the Republican presumptive nominee following his landslide win in Indiana on Tuesday. (Photo by Matt Mills McKnight/Getty Images)
Matt Mills McKnight/Getty Images North America/Getty Images
LYNDEN, WA - MAY 07: Republican presidential candidate Donald Trump gives a speech during a rally at the The Northwest Washington Fair and Event Center on May 7, 2016 in Lynden, Washington. Trump became the Republican presumptive nominee following his landslide win in Indiana on Tuesday. (Photo by Matt Mills McKnight/Getty Images)
Now playing
03:25
Donald Trump's wild ride
Now playing
01:46
Trump's challenges in the Middle East
donald trump undocumented immigrants crime fact check origwx ty_00013807.jpg
donald trump undocumented immigrants crime fact check origwx ty_00013807.jpg
Now playing
02:47
Fact checking Trump on crimes by immigrants
Mark Makela/Getty Images/Lintao Zhang/Getty Images
Now playing
01:26
Trump vs. the tape on Obama and the protester
Now playing
01:28
Trump compares Clinton email probe to Watergate
Members of the Secret Service rush Republican presidential candidate Donald Trump off the stage at a campaign rally in Reno, Nev., on Saturday, Nov. 5, 2016. (AP Photo/John Locher)
John Locher/AP
Members of the Secret Service rush Republican presidential candidate Donald Trump off the stage at a campaign rally in Reno, Nev., on Saturday, Nov. 5, 2016. (AP Photo/John Locher)
Now playing
01:20
Donald Trump rushed off stage by Secret Service
AFP/Getty Images
Now playing
02:16
Trump reads letter from Patriot's coach at rally
US Republican presidential nominee Donald Trump speaks during rally at the Atkinson Country Club in Atkinson, New Hampshire on November 4, 2016.
Mandel Ngan/AFP/Getty Images
US Republican presidential nominee Donald Trump speaks during rally at the Atkinson Country Club in Atkinson, New Hampshire on November 4, 2016.
Now playing
01:56
Trump on US officials: 'What a group of losers'
donald trump nice and cool pensacola fl bts_00001523.jpg
donald trump nice and cool pensacola fl bts_00001523.jpg
Now playing
00:49
Trump's mantra in campaign's final week: Stay on point
donald trump nice to hillary clinton and democrats orig cm_00000000.jpg
donald trump nice to hillary clinton and democrats orig cm_00000000.jpg
Now playing
01:52
Audio of Trump praising the Clintons and Democrats
cuomo lewandowski hillary clinton email exchange newday_00002327.jpg
cuomo lewandowski hillary clinton email exchange newday_00002327.jpg
Now playing
01:28
Cuomo grills Lewandowski on Clinton email 'hypocrisy'
Now playing
01:49
Meet the other Hillary Clinton and Donald Trump

Story highlights

"Look, the comment about the judge, just was out of left field for my mind," Ryan said

Clinton said Trump "has gone so far as to insult and attack a distinguished federal judge"

(CNN) —  

House Speaker Paul Ryan and Hillary Clinton on Friday condemned Donald Trump’s racially tinged attacks on a judge overseeing a lawsuit against Trump University.

The comments come as Trump has escalated his attacks against U.S. District Court Judge Gonzalo Curiel, who last week ordered parts of internal documents, including “playbooks” regarding running the enterprise, to be released as part of a lawsuit against Trump University. The documents were released in response to a request by The Washington Post.

Ryan’s criticism – coming one day after he endorsed his party’s presumptive presidential nominee – came unprompted during an interview on a Wisconsin radio station.

“Look, the comment about the judge, just was out of left field for my mind,” Ryan said on WISN in Milwaukee. “It’s reasoning I don’t relate to, I completely disagree with the thinking behind that.”

And then Ryan issued a warning to Trump that he will speak out when he feels he needs to.

“So he clearly says and does things I don’t agree with and I’ve had to speak up on time to time when that has occurred and I’ll continue to do that if that’s necessary – I hope it’s not,” Ryan said.

RELATED: Trump: Judge with Mexican heritage has an ‘inherent conflict of interest’

A top Republican official said Friday night that Trump’s comments on Curiel are making huge waves in the party. “Awful,” the official said. “We are all beside ourselves.”

The official went on to say, “You have to feel for Paul Ryan,” who had just announced his support for Trump before the billionaire told The Wall Street Journal Thursday night that Curiel had a conflict of interest due to his heritage.

A Trump official told CNN, “It’s no reason to celebrate, (but) no reason to panic,” an indication there is concern inside the campaign but they don’t believe it’s damaging long-term.

Another campaign adviser laughed when asked if Trump campaign officials can talk to the candidate about watching what he says.

Friday night, Republican Arizona Sen. Jeff Flake condemned Trump’s rhetoric on Curiel.

“.@realDonaldTrump’s comments were ignorant, offensive & suggest a troubling disregard for the separation of powers,” Flake tweeted.

Later in the day, Clinton, the likely Democratic nominee, said Trump “has gone so far as to insult and attack a distinguished federal judge, a man who was appointed on his merits, a man born in Indiana, which last time I checked was part of America, to two Mexican parents, who is presiding now, the judge is, over a lawsuit pointing out how fraudulent Trump University is.

Clinton lashes into Trump

Speaking at a campaign event in Westminster, California, Clinton called Trump University “a con game that has benefited Donald Trump but hurt so many people including those who couldn’t afford it” and added that the judge is “doing his job, that is what he got appointed to do.”

Earlier in the day, Lorella Praeli, director of Latino outreach for the Clinton campaign, praised Curiel’s experience and qualifications, saying, “Judge Curiel and his family epitomize the American Dream. His parents worked hard to give their U.S.-born children a better life. He and his brother became successful lawyers. His other brother served in Vietnam.”

“In Trump’s version of America, this Latino family isn’t really America. But they are America. And Hillary Clinton will fight for ALL Americans,” Praeli wrote.

Trump has controversially gone after Curiel, who is presiding over a class-action lawsuit against Trump’s now-defunct training program in California, and suggested his “Mexican heritage” could prevent him from judging Trump fairly as a result of Trump’s strident anti-immigration rhetoric.

Trump on Friday vociferously defended his claims about Curiel and pushed back against criticism.

“He’s proud of his heritage. I respect him for that,” Trump told CNN’s Jake Tapper, dismissing charges that his allegation was racist. “He’s a Mexican. We’re building a wall between here and Mexico.”

CNN’s Theodore Schleifer contributed to this report.