public List<Endpoint> endpoints() {
        return endpoints;
    }
Returns the application-level endpoints of this, if any
config-model-api/src/main/java/com/yahoo/config/application/api/DeploymentSpec.java