private NodeActionProto convertToProtoFormat(NodeAction t) { return NodeActionProto.valueOf(t.name()); }
private NodeAction convertFromProtoFormat(NodeActionProto p) { return NodeAction.valueOf(p.name()); }