/** * Original spec-file function name: integrate_annotation * * <pre> * </pre> * * @param arg1 instance of original type "workspace_name" (A string representing a workspace * name.) * @param arg2 instance of original type "genome_id" (A string representing a genome id.) * @param arg3 instance of original type "missing_role_data" (A string representing a missing Role * data.) * @param arg4 instance of original type "outputGenome" (A string representing a output genome * id.) * @return instance of type {@link us.kbase.integrateprobableannotation.MissingRoleHits * MissingRoleHits} (original type "missingRoleHits") * @throws IOException if an IO exception occurs * @throws JsonClientException if a JSON RPC exception occurs */ public MissingRoleHits integrateAnnotation( String arg1, String arg2, String arg3, String arg4, RpcContext... jsonRpcContext) throws IOException, JsonClientException { List<Object> args = new ArrayList<Object>(); args.add(arg1); args.add(arg2); args.add(arg3); args.add(arg4); TypeReference<List<MissingRoleHits>> retType = new TypeReference<List<MissingRoleHits>>() {}; List<MissingRoleHits> res = caller.jsonrpcCall( "integrate_probable_annotation.integrate_annotation", args, retType, true, true, jsonRpcContext); return res.get(0); }