Vessels Are Helpless Against the UUVs

The UUVs or unmanned undersea vehicles are being developed by China and Russia so that they can swarm or attack submarines and surface vessels like carriers, which are vulnerable without some form of defense. But can the SSN(X) be built in time?