Studienkolleg is compulsory only in the Bachelor’s degree to bridge the gap of 1 year that arises due to the difference in schooling, e.g. 12 years in India and 13 years in Germany.
However, one can skip the course of Studienkolleg by studying at a university for a year.