Why was Samoa was know as German Samoa?

It was a German protectorate from 1900 to 1914, consisting of the islands of Upolu, Savai'i, Apolima and Manono. After 1920, the League of Nations gave it to England. After 1946, New Zealand administered it until independence in 1962. It is now part of Independent Samoa