def _set_gos_stats(self, v, load=False):
    """
    Setter method for gos_stats, mapped from YANG variable /cpu_interface_state/gos_stats (container)
    If this variable is read-only (config: false) in the
    source YANG file, then _set_gos_stats is considered as a private
    method. Backends looking to populate this variable should
    do so via calling thisObj._set_gos_stats() directly.
    """
    if hasattr(v, "_utype"):
      v = v._utype(v)
    try:
      t = YANGDynClass(v,base=gos_stats.gos_stats, is_container='container', presence=False, yang_name="gos-stats", rest_name="gos-stats", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'callpoint': u'sysdiag-stats-gos-stats-1'}}, namespace='urn:brocade.com:mgmt:brocade-sysdiag-operational', defining_module='brocade-sysdiag-operational', yang_type='container', is_config=False)
    except (TypeError, ValueError):
      raise ValueError({
          'error-string': """gos_stats must be of a type compatible with container""",
          'defined-type': "container",
          'generated-type': """YANGDynClass(base=gos_stats.gos_stats, is_container='container', presence=False, yang_name="gos-stats", rest_name="gos-stats", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'callpoint': u'sysdiag-stats-gos-stats-1'}}, namespace='urn:brocade.com:mgmt:brocade-sysdiag-operational', defining_module='brocade-sysdiag-operational', yang_type='container', is_config=False)""",
        })

    self.__gos_stats = t
    if hasattr(self, '_set'):
      self._set()
Setter method for gos_stats, mapped from YANG variable /cpu_interface_state/gos_stats (container)
    If this variable is read-only (config: false) in the
    source YANG file, then _set_gos_stats is considered as a private
    method. Backends looking to populate this variable should
    do so via calling thisObj._set_gos_stats() directly.