protected void finish(TimerNotUnderstoodCommandJSON result) { if (fieldGeneratorNativeData.have_value) { result.setNativeData(fieldGeneratorNativeData.value); fieldGeneratorNativeData.have_value = false; } else if ((!(result.hasNativeData())) && !allow_incomplete) { error("When parsing the object for %what%, the \"NativeData\" field was missing."); } base.finish(result); }