code: def SetEventTag(self, event_tag):
      
      event_identifier = event_tag.GetEventIdentifier()
  
      lookup_key = event_identifier.CopyToString()
      self._index[lookup_key] = event_tag.GetIdentifier()
docs: Sets an event tag in the index.
  
      Args:
        event_tag (EventTag): event tag.