public sealed class ThreatEntryAdditions : IMessage<ThreatEntryAdditions>, IEquatable<ThreatEntryAdditions>, IDeepCloneable<ThreatEntryAdditions>, IBufferMessage, IMessage
Contains the set of entries to add to a local database. May contain a combination of compressed and raw data in a single response.
Implements
IMessage<ThreatEntryAdditions>, IEquatable<ThreatEntryAdditions>, IDeepCloneable<ThreatEntryAdditions>, IBufferMessage, IMessageNamespace
Google.Cloud.WebRisk.V1Assembly
Google.Cloud.WebRisk.V1.dll
Constructors
ThreatEntryAdditions()
public ThreatEntryAdditions()
ThreatEntryAdditions(ThreatEntryAdditions)
public ThreatEntryAdditions(ThreatEntryAdditions other)
Parameter | |
---|---|
Name | Description |
other | ThreatEntryAdditions |
Properties
RawHashes
public RepeatedField<RawHashes> RawHashes { get; }
The raw SHA256-formatted entries. Repeated to allow returning sets of hashes with different prefix sizes.
Property Value | |
---|---|
Type | Description |
RepeatedField<RawHashes> |
RiceHashes
public RiceDeltaEncoding RiceHashes { get; set; }
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.
Property Value | |
---|---|
Type | Description |
RiceDeltaEncoding |