def _set_rp_cand_grp_prefix(self, v, load=False):
    """
    Setter method for rp_cand_grp_prefix, mapped from YANG variable /rbridge_id/router/hide_pim_holder/pim/rp_candidate/rp_cand_grp_prefix (list)
    If this variable is read-only (config: false) in the
    source YANG file, then _set_rp_cand_grp_prefix is considered as a private
    method. Backends looking to populate this variable should
    do so via calling thisObj._set_rp_cand_grp_prefix() directly.
    """
    if hasattr(v, "_utype"):
      v = v._utype(v)
    try:
      t = YANGDynClass(v,base=YANGListType("rp_cand_grp_prefix_ip rp_cand_grp_prefix_length",rp_cand_grp_prefix.rp_cand_grp_prefix, yang_name="rp-cand-grp-prefix", rest_name="group-range", parent=self, is_container='list', user_ordered=False, path_helper=self._path_helper, yang_keys='rp-cand-grp-prefix-ip rp-cand-grp-prefix-length', extensions={u'tailf-common': {u'cli-suppress-mode': None, u'cli-suppress-list-no': None, u'alt-name': u'group-range', u'cli-compact-syntax': None, u'cli-suppress-key-abbreviation': None, u'callpoint': u'PimCandRpPrefixCfgCallpoint'}}), is_container='list', yang_name="rp-cand-grp-prefix", rest_name="group-range", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'cli-suppress-mode': None, u'cli-suppress-list-no': None, u'alt-name': u'group-range', u'cli-compact-syntax': None, u'cli-suppress-key-abbreviation': None, u'callpoint': u'PimCandRpPrefixCfgCallpoint'}}, namespace='urn:brocade.com:mgmt:brocade-pim', defining_module='brocade-pim', yang_type='list', is_config=True)
    except (TypeError, ValueError):
      raise ValueError({
          'error-string': """rp_cand_grp_prefix must be of a type compatible with list""",
          'defined-type': "list",
          'generated-type': """YANGDynClass(base=YANGListType("rp_cand_grp_prefix_ip rp_cand_grp_prefix_length",rp_cand_grp_prefix.rp_cand_grp_prefix, yang_name="rp-cand-grp-prefix", rest_name="group-range", parent=self, is_container='list', user_ordered=False, path_helper=self._path_helper, yang_keys='rp-cand-grp-prefix-ip rp-cand-grp-prefix-length', extensions={u'tailf-common': {u'cli-suppress-mode': None, u'cli-suppress-list-no': None, u'alt-name': u'group-range', u'cli-compact-syntax': None, u'cli-suppress-key-abbreviation': None, u'callpoint': u'PimCandRpPrefixCfgCallpoint'}}), is_container='list', yang_name="rp-cand-grp-prefix", rest_name="group-range", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'cli-suppress-mode': None, u'cli-suppress-list-no': None, u'alt-name': u'group-range', u'cli-compact-syntax': None, u'cli-suppress-key-abbreviation': None, u'callpoint': u'PimCandRpPrefixCfgCallpoint'}}, namespace='urn:brocade.com:mgmt:brocade-pim', defining_module='brocade-pim', yang_type='list', is_config=True)""",
        })

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