public static ServiceType toServiceType(ServiceInfo serviceInfo) {
        return new ServiceType(serviceInfo.getServiceType());
    }
Reverse of toApplicationInstanceId, put in this file because it its inverse is.
service-monitor/src/main/java/com/yahoo/vespa/service/model/ApplicationInstanceGenerator.java