def decode_version(version_long):
    """Takes version proto object and returns version

    :param version_long: version proto object
    :return: integer value of version_long
    """
    return int(version_long)