Exemplo n.º 1
0
 protected void finish(VoiceSynthesisCommandJSON result)
 {
     if (fieldGeneratorCommandType.have_value)
     {
         result.setCommandType(fieldGeneratorCommandType.value);
         fieldGeneratorCommandType.have_value = false;
     }
     else if ((!(result.hasCommandType())) && !allow_incomplete)
     {
         error("When parsing the object for %what%, the \"CommandType\" field was missing.");
     }
     base.finish(result);
 }