def Validate(self, value, **_):
    try:
      return int(value)
    except __HOLE__:
      raise type_info.TypeValueError("Invalid value %s for Integer" % value)
dataset/ETHPy150Open google/grr/grr/lib/rdfvalues/structs.py/ProtoUnsignedInteger.Validate