Changed protobuf_defs int32 types to int64 types because int32 types have unpredictable behavior when representing negative numbers.