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.
getRawHashes
The raw SHA256-formatted entries.
Repeated to allow returning sets of hashes with different prefix sizes.
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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Web Risk V1 Client - Class ThreatEntryAdditions (2.1.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.1 (latest)](/php/docs/reference/cloud-web-risk/latest/V1.ThreatEntryAdditions)\n- [2.1.0](/php/docs/reference/cloud-web-risk/2.1.0/V1.ThreatEntryAdditions)\n- [2.0.3](/php/docs/reference/cloud-web-risk/2.0.3/V1.ThreatEntryAdditions)\n- [1.5.5](/php/docs/reference/cloud-web-risk/1.5.5/V1.ThreatEntryAdditions)\n- [1.4.4](/php/docs/reference/cloud-web-risk/1.4.4/V1.ThreatEntryAdditions)\n- [1.3.0](/php/docs/reference/cloud-web-risk/1.3.0/V1.ThreatEntryAdditions)\n- [1.2.7](/php/docs/reference/cloud-web-risk/1.2.7/V1.ThreatEntryAdditions) \nReference documentation and code samples for the Google Cloud Web Risk V1 Client class ThreatEntryAdditions.\n\nContains the set of entries to add to a local database.\n\nMay contain a combination of compressed and raw data in a single response.\n\nGenerated from protobuf message `google.cloud.webrisk.v1.ThreatEntryAdditions`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ WebRisk \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getRawHashes\n\nThe raw SHA256-formatted entries.\n\nRepeated to allow returning sets of hashes with different prefix sizes.\n\n### setRawHashes\n\nThe raw SHA256-formatted entries.\n\nRepeated to allow returning sets of hashes with different prefix sizes.\n\n### getRiceHashes\n\nThe encoded 4-byte prefixes of SHA256-formatted entries, using a\nGolomb-Rice encoding. The hashes are converted to uint32, sorted in\nascending order, then delta encoded and stored as encoded_data.\n\n### hasRiceHashes\n\n### clearRiceHashes\n\n### setRiceHashes\n\nThe encoded 4-byte prefixes of SHA256-formatted entries, using a\nGolomb-Rice encoding. The hashes are converted to uint32, sorted in\nascending order, then delta encoded and stored as encoded_data."]]