How the messages should be indexed, either through ints or an enum
int
enum
final IndexType indexType;