public sealed class RiceDeltaEncoding : IMessage<RiceDeltaEncoding>, IEquatable<RiceDeltaEncoding>, IDeepCloneable<RiceDeltaEncoding>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Web Risk v1beta1 API class RiceDeltaEncoding.
The Rice-Golomb encoded data. Used for sending compressed 4-byte hashes or
compressed removal indices.
The number of entries that are delta encoded in the encoded data. If only a
single integer was encoded, this will be zero and the single value will be
stored in first_value.
The offset of the first entry in the encoded data, or, if only a single
integer was encoded, that single integer's value. If the field is empty or
missing, assume zero.
[[["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\u003eThe \u003ccode\u003eRiceDeltaEncoding\u003c/code\u003e class in the Google Cloud Web Risk v1beta1 API is used for Rice-Golomb encoded data, facilitating the compression of 4-byte hashes or removal indices.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, providing capabilities for message handling, equality comparison, deep cloning, and buffer-based operations.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRiceDeltaEncoding\u003c/code\u003e class contains properties like \u003ccode\u003eEncodedData\u003c/code\u003e, \u003ccode\u003eEntryCount\u003c/code\u003e, \u003ccode\u003eFirstValue\u003c/code\u003e, and \u003ccode\u003eRiceParameter\u003c/code\u003e that manage the encoded data, entry count, the initial value offset, and the Golomb-Rice parameter respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRiceDeltaEncoding\u003c/code\u003e class can be constructed either as a new object using the empty constructor or as a clone of another \u003ccode\u003eRiceDeltaEncoding\u003c/code\u003e object using a specific constructor.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Web Risk v1beta1 API - Class RiceDeltaEncoding (3.0.0-beta05)\n\nVersion latestkeyboard_arrow_down\n\n- [3.0.0-beta05 (latest)](/dotnet/docs/reference/Google.Cloud.WebRisk.V1Beta1/latest/Google.Cloud.WebRisk.V1Beta1.RiceDeltaEncoding)\n- [3.0.0-beta04](/dotnet/docs/reference/Google.Cloud.WebRisk.V1Beta1/3.0.0-beta04/Google.Cloud.WebRisk.V1Beta1.RiceDeltaEncoding)\n- [2.0.0-beta05](/dotnet/docs/reference/Google.Cloud.WebRisk.V1Beta1/2.0.0-beta05/Google.Cloud.WebRisk.V1Beta1.RiceDeltaEncoding) \n\n public sealed class RiceDeltaEncoding : IMessage\u003cRiceDeltaEncoding\u003e, IEquatable\u003cRiceDeltaEncoding\u003e, IDeepCloneable\u003cRiceDeltaEncoding\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Web Risk v1beta1 API class RiceDeltaEncoding.\n\nThe Rice-Golomb encoded data. Used for sending compressed 4-byte hashes or\ncompressed removal indices. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e RiceDeltaEncoding \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[RiceDeltaEncoding](/dotnet/docs/reference/Google.Cloud.WebRisk.V1Beta1/latest/Google.Cloud.WebRisk.V1Beta1.RiceDeltaEncoding), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[RiceDeltaEncoding](/dotnet/docs/reference/Google.Cloud.WebRisk.V1Beta1/latest/Google.Cloud.WebRisk.V1Beta1.RiceDeltaEncoding), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[RiceDeltaEncoding](/dotnet/docs/reference/Google.Cloud.WebRisk.V1Beta1/latest/Google.Cloud.WebRisk.V1Beta1.RiceDeltaEncoding), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.WebRisk.V1Beta1](/dotnet/docs/reference/Google.Cloud.WebRisk.V1Beta1/latest/Google.Cloud.WebRisk.V1Beta1)\n\nAssembly\n--------\n\nGoogle.Cloud.WebRisk.V1Beta1.dll\n\nConstructors\n------------\n\n### RiceDeltaEncoding()\n\n public RiceDeltaEncoding()\n\n### RiceDeltaEncoding(RiceDeltaEncoding)\n\n public RiceDeltaEncoding(RiceDeltaEncoding other)\n\nProperties\n----------\n\n### EncodedData\n\n public ByteString EncodedData { get; set; }\n\nThe encoded deltas that are encoded using the Golomb-Rice coder.\n\n### EntryCount\n\n public int EntryCount { get; set; }\n\nThe number of entries that are delta encoded in the encoded data. If only a\nsingle integer was encoded, this will be zero and the single value will be\nstored in `first_value`.\n\n### FirstValue\n\n public long FirstValue { get; set; }\n\nThe offset of the first entry in the encoded data, or, if only a single\ninteger was encoded, that single integer's value. If the field is empty or\nmissing, assume zero.\n\n### RiceParameter\n\n public int RiceParameter { get; set; }\n\nThe Golomb-Rice parameter, which is a number between 2 and 28. This field\nis missing (that is, zero) if `num_entries` is zero."]]