public sealed class RawHashes : IMessage<RawHashes>, IEquatable<RawHashes>, IDeepCloneable<RawHashes>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Web Risk v1 API class RawHashes.
The uncompressed threat entries in hash format.
Hashes can be anywhere from 4 to 32 bytes in size. A large majority are 4
bytes, but some hashes are lengthened if they collide with the hash of a
popular URI.
Used for sending ThreatEntryAdditons to clients that do not support
compression, or when sending non-4-byte hashes to clients that do support
compression.
The number of bytes for each prefix encoded below. This field can be
anywhere from 4 (shortest prefix) to 32 (full SHA256 hash).
In practice this is almost always 4, except in exceptional circumstances.
The hashes, in binary format, concatenated into one long string. Hashes are
sorted in lexicographic order. For JSON API users, hashes are
base64-encoded.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document provides reference information for the \u003ccode\u003eRawHashes\u003c/code\u003e class within the Google Cloud Web Risk v1 API, specifically focusing on version 2.1.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRawHashes\u003c/code\u003e class represents uncompressed threat entries in hash format, with sizes ranging from 4 to 32 bytes.\u003c/p\u003e\n"],["\u003cp\u003eIt is used for sending \u003ccode\u003eThreatEntryAdditions\u003c/code\u003e to clients that do not support compression or when sending non-4-byte hashes to those that do.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eRawHashes\u003c/code\u003e class include \u003ccode\u003ePrefixSize\u003c/code\u003e, indicating the byte size of each prefix, and \u003ccode\u003eRawHashes_\u003c/code\u003e, which stores the concatenated binary hashes.\u003c/p\u003e\n"]]],[],null,[]]