For Interest, instead of the deprecated direct use of fields, use set methods: setInterestLifetimeMilliseconds, setChildSelector, setAnswerOriginKind.