final Integer ttl = msg.getInt("ttl");
if (ttl != null) {
e = e.activationPeriod(ttl);
}
if (msg.hasField("functionIdentifier")) {
e = e.matchFunctionIdentifier();
}
if (msg.hasField("functionParameters")) {
e = e.matchFunctionParameters();
}
if (msg.hasField("target")) {