No it's not. Twin-based heritability studies show depression risk has about 10% heritability across all cases and 50% heritability among severe cases. There is a genetic component to the disease.
That complexity is mediated by dozens of genes, but each one gene contributes a percentage to that heritability. Single genes can and will be found which link genotype to phenotype. It is just a matter of time and money.