What is the opposite of public debt?
Such government would be called net lender. However, note that for a country to be net lender it is not required that debt is zero, only that the amount it is lending is higher than its liabilities (debt). A country can chose to have some level of debt even if it is not necessary for it to have it because its revenues are higher than expenses. An example of net lender would be Norway (see here).