Question: Several ships built by the Australian Defense Industries were integrated in the Commonwealth Naval Forces, what branch of the Australian Defense Force were they originally built for?

Context paragraphs:
HMQS Mosquito: HMQS "Mosquito" was a torpedo boat operated by the Queensland Maritime Defence Force and Commonwealth Naval Forces.  She entered service in 1885 and after Federation was transferred to the Commonwealth Naval Forces, serving as a training vessel until she was paid off in 1910.

Wisconsin State Defense Force: The Wisconsin State Defense Force (WSDF) is the currently inactive state defense force of the State of Wisconsin authorized by Wisconsin law.  As a state defense force, the Wisconsin State Defense Force, alongside the Wisconsin National Guard, is organized under the Wisconsin Department of Military Affairs as a part of the military forces of Wisconsin.  However, unlike the National Guard, the State Defense Force is a purely state-controlled organization and cannot be deployed outside the state of Wisconsin.  When any part of the Wisconsin National Guard is called into service of the United States, the adjutant general (who is appointed by the governor) may recruit volunteers to the WSDF to serve within the borders of Wisconsin.

Colonial navies of Australia: Before Federation in 1901 five of the six separate colonies maintained their own naval forces for defence.  The colonial navies were supported by the ships of the Royal Navy's Australian Station which was established in 1859.  The separate colonies maintained control over their respective navies until 1 March 1901, when the Commonwealth Naval Forces was created.

Royal Bahrain Naval Force: The Royal Bahrain Naval Force (RBNF) (previously known as Bahrain Defense Force, Naval Branch), is the maritime branch of the Bahrain Defense Force.  The Commander of the Navy is Lieutenant Commander Yusuf al-Maluallah.  The navy consists of 7 combat vessels, 31 patrol craft, 10 landing ships and over 700 personnel.  The Fleet is based at Mina Sulman Naval Base and has a flight wing which can operate off the corvettes, consisting of two MBB BO-105 helicopters.  The flagship of the RBNF is the vessel RBNS "Sabha", an American-built missile frigate given to the state as a gift in 1996.

Defense Industry Sector (Ethiopia): The Ethiopian Defense Industry sector is an office under the Ministry of Defense responsible for administering several defense industries.  Its objective is to provide for and support the Ethiopian National Defense Force.

Joseph Ahearne: Joseph Ahearne L.R.C.P., L.R.C.S., (1852–1926) was a Surgeon-Major for the Queensland colony's defense force and later to Australian Defense Force.

Syrian Air Defense Force: The Syrian Air Defense Force (SyADF), officially the Syrian Arab Air Defense Force, is an independent command within the Syrian Armed Forces.  It has been merged into and then separated from both the Syrian Arab Army and the Syrian Arab Air Force.  The Syrian Air Defense Force controls four air defense corps, eleven air defense divisions and thirty-six air defense brigades, each with six SAM battalions.  It is equipped with 650 static S-75 Dvina, S-125 Neva/Pechora and S-200 launchers, 200 mobile 2K12 Kub and Buk launchers and over 4,000 anti-aircraft guns ranging from 23mm to 100mm in caliber.  There are also two independent 9K33 Osa SAM regiments, each with four batteries of 48 mobile SAMs.

HMAS Yarra (M 87): HMAS "Yarra" (M 87) is the sixth "Huon"-class minehunter to have been built for the Royal Australian Navy (RAN) and the fourth warship to be named after the Yarra River in Victoria.  Built by a joint partnership between Australian Defence Industries (ADI) and Intermarine SpA, "Yarra" was constructed at ADI's Newcastle shipyard, and entered service in 2003.

Alaska State Defense Force: The Alaska State Defense Force (ASDF) is the state defense force of Alaska.  It is one of 23 such forces in the U.S. states.  The Alaska State Defense Force is administered under the Alaska Department of Military and Veterans Affairs, but is headed by a commander who reports directly to the governor of Alaska, who acts as commander-in-chief of the state defense force.

Royal Australian Navy: The Royal Australian Navy (RAN) is the naval branch of the Australian Defence Force.  Following the Federation of Australia in 1901, the ships and resources of the separate colonial navies were integrated into a national force: the Commonwealth Naval Forces.  Originally intended for local defence, the navy was granted the title of 'Royal Australian Navy' in 1911, and became increasingly responsible for defence of the region.

Supporting paragraphs: HMAS Yarra (M 87) Royal Australian Navy
Answer: Royal Australian Navy