protected void loadFields(
     com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper)
     throws java.io.IOException, com.sforce.ws.ConnectionException {
   __in.peekTag();
   if (__typeMapper.isElement(__in, actions__typeInfo)) {
     setActions(
         (com.sforce.soap.metadata.WorkflowActionReference[])
             __typeMapper.readObject(
                 __in,
                 actions__typeInfo,
                 com.sforce.soap.metadata.WorkflowActionReference[].class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, timeLength__typeInfo)) {
     setTimeLength((int) __typeMapper.readInt(__in, timeLength__typeInfo, int.class));
   }
   __in.peekTag();
   if (__typeMapper.verifyElement(__in, workflowTimeTriggerUnit__typeInfo)) {
     setWorkflowTimeTriggerUnit(
         (com.sforce.soap.metadata.MilestoneTimeUnits)
             __typeMapper.readObject(
                 __in,
                 workflowTimeTriggerUnit__typeInfo,
                 com.sforce.soap.metadata.MilestoneTimeUnits.class));
   }
 }
 protected void loadFields(
     com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper)
     throws java.io.IOException, com.sforce.ws.ConnectionException {
   super.loadFields(__in, __typeMapper);
   __in.peekTag();
   if (__typeMapper.isElement(__in, batchSize__typeInfo)) {
     setBatchSize((int) __typeMapper.readInt(__in, batchSize__typeInfo, int.class));
   }
 }