protected void finish(MapDisplayOneLocationSpecificationJSON result)
 {
     if (fieldGeneratorLocation.have_value)
     {
         result.setLocation(fieldGeneratorLocation.value);
         fieldGeneratorLocation.have_value = false;
     }
     else if ((!(result.hasLocation())) && !allow_incomplete)
     {
         error("When parsing the object for %what%, the \"Location\" field was missing.");
     }
     base.finish(result);
 }