Were the Guptas Kshatriya ?

Did kings like Chandragupta, samudragupta belong to Kshatriya varna and If so what was their vansh/lineage