def METHOD_NAME(self, buildid, name, value, source):
    assert isinstance(value, bytes)
    row = self._get_build_data_row(buildid, name)
    if row is not None:
        row['value'] = value
        row['length'] = len(value)
        row['source'] = source
        return
    id = Row.nextId()
    self.build_data[id] = {
        'id': id,
        'buildid': buildid,
        'name': name,
        'value': value,
        'length': len(value),
        'source': source
    }