def _PopulateUniquePropertiesSet(prop, unique_properties):
 if prop.multiple():
  prop = _CopyAndSetMultipleToFalse(prop)
 prop_as_str = prop.SerializePartialToString()
 unique_properties[prop.name()].add(prop_as_str)
 return prop_as_str

def _PopulateUniquePropertiesSet ( prop , unique_properties ) : if prop . multiple ( ) : prop = _CopyAndSetMultipleToFalse ( prop ) prop_as_str = prop . SerializePartialToString ( ) unique_properties [ prop . name ( ) ] . add ( prop_as_str ) return prop_as_str
populates a set containing unique properties .