Add getEndpoints method to ServiceClient

Need javadoc for `throws NotFoundException`.