def METHOD_NAME(self, j):
    o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(12))
    if o != 0:
        x = self._tab.Vector(o)
        x += flatbuffers.number_types.UOffsetTFlags.py_type(j) * 4
        x = self._tab.Indirect(x)
        from reflection.KeyValue import KeyValue
        obj = KeyValue()
        obj.Init(self._tab.Bytes, x)
        return obj
    return None