private ProtectionSet createProtectionSet(RecoverPointVolumeIngestionContext volumeContext){
  UnManagedProtectionSet umpset=volumeContext.getUnManagedProtectionSet();
  ProtectionSet pset=VolumeIngestionUtil.findOrCreateProtectionSet(volumeContext,volumeContext.getUnmanagedVolume(),umpset,_dbClient);
  volumeContext.setManagedProtectionSet(pset);
  return pset;
}

private ProtectionSet createProtectionSet ( RecoverPointVolumeIngestionContext volumeContext ) { UnManagedProtectionSet umpset = volumeContext . getUnManagedProtectionSet ( ) ; ProtectionSet pset = VolumeIngestionUtil . findOrCreateProtectionSet ( volumeContext , volumeContext . getUnmanagedVolume ( ) , umpset , _dbClient ) ; volumeContext . setManagedProtectionSet ( pset ) ; return pset ; }
create the managed protection set associated with the ingested rp volumes . also , as a side - effect , insert the protection set id into each of the impacted volumes .
