Setter method for offsets, mapped from YANG variable /interface/port_channel/offsets (uda-profile-name)
    If this variable is read-only (config: false) in the
    source YANG file, then _set_offsets is considered as a private
    method. Backends looking to populate this variable should
    do so via calling thisObj._set_offsets() directly.

def _set_offsets(self, v, load=False):
    """
    Setter method for offsets, mapped from YANG variable /interface/port_channel/offsets (uda-profile-name)
    If this variable is read-only (config: false) in the
    source YANG file, then _set_offsets is considered as a private
    method. Backends looking to populate this variable should
    do so via calling thisObj._set_offsets() directly.
    """
    if hasattr(v, "_utype"):
      v = v._utype(v)
    try:
      t = YANGDynClass(v,base=RestrictedClassType(base_type=unicode, restriction_dict={'pattern': u'[a-zA-Z0-9]{1}([-a-zA-Z0-9_]{0,62})', 'length': [u'1..63']}), is_leaf=True, yang_name="offsets", rest_name="uda-profile-apply", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'info': u'Apply UDA profile', u'alt-name': u'uda-profile-apply', u'sort-priority': u'126', u'callpoint': u'interface_po'}}, namespace='urn:brocade.com:mgmt:brocade-uda-access-list', defining_module='brocade-uda-access-list', yang_type='uda-profile-name', is_config=True)
    except (TypeError, ValueError):
      raise ValueError({
          'error-string': """offsets must be of a type compatible with uda-profile-name""",
          'defined-type': "brocade-uda-access-list:uda-profile-name",
          'generated-type': """YANGDynClass(base=RestrictedClassType(base_type=unicode, restriction_dict={'pattern': u'[a-zA-Z0-9]{1}([-a-zA-Z0-9_]{0,62})', 'length': [u'1..63']}), is_leaf=True, yang_name="offsets", rest_name="uda-profile-apply", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'info': u'Apply UDA profile', u'alt-name': u'uda-profile-apply', u'sort-priority': u'126', u'callpoint': u'interface_po'}}, namespace='urn:brocade.com:mgmt:brocade-uda-access-list', defining_module='brocade-uda-access-list', yang_type='uda-profile-name', is_config=True)""",
        })

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