How do I pull generic event message from the event store

The EventStore interface does provide a method called readEvents with 2 parameters aggregateIdentifier and firstSequenceNumber but since GenericEventMessage doesn’t have aggregateIdentifier so is it possible to pull them out from the event store.