def _set_process_restart(self, v, load=False):
    """
    Setter method for process_restart, mapped from YANG variable /ha/process_restart (container)
    If this variable is read-only (config: false) in the
    source YANG file, then _set_process_restart is considered as a private
    method. Backends looking to populate this variable should
    do so via calling thisObj._set_process_restart() directly.
    """
    if hasattr(v, "_utype"):
      v = v._utype(v)
    try:
      t = YANGDynClass(v,base=process_restart.process_restart, is_container='container', presence=False, yang_name="process-restart", rest_name="process-restart", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'info': u'Enable process restart for fault recovery', u'display-when': u'((/local-node/swbd-number = "2000") or (/local-node/swbd-number = "2001") or (/local-node/swbd-number = "2002") or (/local-node/swbd-number = "2003") or (/local-node/swbd-number = "4000"))', u'cli-incomplete-no': None, u'cli-incomplete-command': None, u'callpoint': u'ha_callpoint'}}, namespace='urn:brocade.com:mgmt:brocade-ha', defining_module='brocade-ha', yang_type='container', is_config=True)
    except (TypeError, ValueError):
      raise ValueError({
          'error-string': """process_restart must be of a type compatible with container""",
          'defined-type': "container",
          'generated-type': """YANGDynClass(base=process_restart.process_restart, is_container='container', presence=False, yang_name="process-restart", rest_name="process-restart", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'info': u'Enable process restart for fault recovery', u'display-when': u'((/local-node/swbd-number = "2000") or (/local-node/swbd-number = "2001") or (/local-node/swbd-number = "2002") or (/local-node/swbd-number = "2003") or (/local-node/swbd-number = "4000"))', u'cli-incomplete-no': None, u'cli-incomplete-command': None, u'callpoint': u'ha_callpoint'}}, namespace='urn:brocade.com:mgmt:brocade-ha', defining_module='brocade-ha', yang_type='container', is_config=True)""",
        })

    self.__process_restart = t
    if hasattr(self, '_set'):
      self._set()