'Assert that no event_id is duplicated.'

def test_unique_event_ids(self):

    event_ids = []
    for attr_name in dir(defined_messages.EventIds):
        if (not attr_name.startswith('_')):
            value = getattr(defined_messages.EventIds, attr_name)
            event_ids.append(value)
    self.assertEqual(len(event_ids), len(set(event_ids)))
