Is sugar in urine a clear sign of gestational diabetes?

I once had sugar in urine. Does it for sure mean gestational diabetes?