Hillary Clinton gave a speech on national security in San Diego on Thursday, but it just as easily could have been a verbal declaration of war on Donald Trump.

“I believe the person the Republicans have nominated for president cannot do the job,” Clinton said. “Donald Trump’s ideas aren’t just different, they are dangerously incoherent. They’re not even really ideas. Just a series of bizarre rants, personal feuds and outright lies. Donald Trump isn’t just unprepared, he is temperamentally unfit.”

The Democratic presidential front-runner, who is still locked in a fight for delegates with Bernie Sanders, didn’t mention her rival for the party’s nomination in her 35-minute speech at San Diego’s The Prado in Balboa Park.

“This is not a man who should ever have the nuclear codes,” she said, adding, “because it’s not hard to imagine Donald Trump leading us into a war just because somebody got under his very thin skin.”

As Clinton rattled off her credentials and foreign policy experience, sprinkling in Trump’s name in a mocking way time after time, she suggested the real estate mogul and reality television star was likely tweeting during her speech.

Trump wasn’t finished. He added in another tweet, “Crooked Hillary no longer has credibility — too much failure in office. People will not allow another four years of incompetence!”

Clinton — who also stopped in El Centro and Perris on Thursday — is settling into California for five straight days ahead of the state’s primary on Tuesday. As the Democratic primary heats up in the state, Sanders has been here for weeks holding rallies as part of an ambitious plan to reach 200,000 voters through live events.

Meanwhile, Clinton brought a surrogate to a Los Angeles stop — Sen. Cory Booker, D-New Jersey — who is thought to be a potential vice presidential running mate for Clinton.

And former President Bill Clinton is scheduled for a full day of campaign stops in Burbank, Woodland Hills, Pacoima and Santa Monica today.

Sanders remains a long shot to win the nomination, however, as he trails Clinton by 767 delegates, according to the political tracking website Real Clear Politics. Even if only pledged delegates are counted, he still trails by 268.

Sanders was in Modesto and Chico on Thursday before hitting Fairfield today. He took time in a statement to take a shot at Clinton, reminding his supporters that she voted for the Iraq War.

“We cannot forget that Secretary Clinton voted for the war in Iraq, the worst foreign policy blunder in modern American history,” Sanders said. “And that she has been a proponent of regime change, as in Libya, without thinking through the consequences.”

Jack Pitney, political science professor at Claremont McKenna College, said Clinton is trying to frame the election as “between Hillary Clinton and Donald Trump, not Hillary Clinton and Bernie Sanders.”

Clinton’s speech, which generated three standing ovations among the crowd of about 200 supporters, kept coming back to a familiar theme, however: Trump is dangerous and should not have access to the nuclear codes.

“Do we want his finger anywhere near the button?” she asked.

Pitney said it will likely be a long narrative.

“Say what you want about John McCain and Mitt Romney, but she will try to make a case that they at least had a firm grasp of foreign policy,” Pitney said.

She even defended McCain in her speech, saying Trump had the “gall” to say he wasn’t a hero and railed against Trump’s constant drumbeat that America has been weakened in recent years.

“If you really believe America is weak with our military, our values, our capabilities that no other country comes close to matching, then you don’t know America,” Clinton said. “And you certainly don’t deserve to lead it.”

But Clinton hasn’t quite secured the nomination as the general election candidate. With major contests in New Jersey and California being held on Tuesday, she remains fewer than 100 delegates from securing the number needed for the nomination.

An NBC/Wall Street Journal poll released Wednesday showed Clinton with just a 2-point lead over Sanders. But that came after a Stanford-based Hoover Institution Poll released Tuesday showed Clinton with a 13-point lead over Sanders.

Clinton’s speech received high marks from supporters at the event, including 65-year-old Lena Herrin of San Diego.

Herrin said Clinton’s takedown of Trump was necessary and said she appreciated that the criticisms were “classy.”

“You can’t go around calling world leaders ‘dumb, stupid and crazy,’ ” Herrin said. “You can’t run a business that way and you certainly can’t run a country doing that.”