Class ThreatEntryAdditions (1.0.1)

ThreatEntryAdditions(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Contains the set of entries to add to a local database. May contain a combination of compressed and raw data in a single response.


raw_hashes Sequence[`.webrisk.RawHashes`]
The raw SHA256-formatted entries. Repeated to allow returning sets of hashes with different prefix sizes.
rice_hashes `.webrisk.RiceDeltaEncoding`
The encoded 4-byte prefixes of SHA256-formatted entries, using a Golomb-Rice encoding. The hashes are converted to uint32, sorted in ascending order, then delta encoded and stored as encoded_data.


builtins.object > proto.message.Message > ThreatEntryAdditions