For quite a long time I can not find a solution to this problem on the Internet. I must say that it is impossible to change the data type for a specific field, since the product has already been released and there is no way to replace the decoding of the Protobuf message or completely abandon Protobuf :(
The problem is that the Protobuf data type, number 5, accepts only the standard Python int, which may be too large due to the fact that it is not an unsigned int.
I tried using numpy. uint32 and ctypes. c_uint32, but both options end up being converted automatically to regular Python int and I get the error: "ValueError: Value out of range: 2902080034". I need to somehow fit in the 5th Protobuf data type the first 32 bits of UUID4 as a number.
I hope for help, thank you in advance. Unfortunately, in my opinion, this may be a popular problem not described here before.