feat: Mark getDefaultEndpoint()
with @ObsoleteApi
#2347
Merged
getDefaultEndpoint()
with @ObsoleteApi
#2347