protected void finish(TypeNativeDataJSON result)
 {
     if (fieldGeneratorLongResult.have_value)
     {
         result.setLongResult(fieldGeneratorLongResult.value);
         fieldGeneratorLongResult.have_value = false;
     }
     else if ((!(result.hasLongResult())) && !allow_incomplete)
     {
         error("When parsing the object for %what%, the \"LongResult\" field was missing.");
     }
     if (fieldGeneratorShortResult.have_value)
     {
         result.setShortResult(fieldGeneratorShortResult.value);
         fieldGeneratorShortResult.have_value = false;
     }
     else if ((!(result.hasShortResult())) && !allow_incomplete)
     {
         error("When parsing the object for %what%, the \"ShortResult\" field was missing.");
     }
     if (fieldGeneratorConciseResult.have_value)
     {
         result.setConciseResult(fieldGeneratorConciseResult.value);
         fieldGeneratorConciseResult.have_value = false;
     }
     else if ((!(result.hasConciseResult())) && !allow_incomplete)
     {
         error("When parsing the object for %what%, the \"ConciseResult\" field was missing.");
     }
 }