Class RiceDeltaEncoding (1.18.1)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version latestkeyboard_arrow_down
RiceDeltaEncoding ( mapping = None , * , ignore_unknown_fields = False , ** kwargs )
The Rice-Golomb encoded data. Used for sending compressed
4-byte hashes or compressed removal indices.
Attributes
Name
Description
first_value
int
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.
rice_parameter
int
The Golomb-Rice parameter, which is a number between 2 and
28. This field is missing (that is, zero) if num_entries
is zero.
entry_count
int
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
.
encoded_data
bytes
The encoded deltas that are encoded using the
Golomb-Rice coder.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-28 UTC.
[[["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-28 UTC."],[],[],null,["# Class RiceDeltaEncoding (1.18.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.18.1 (latest)](/python/docs/reference/webrisk/latest/google.cloud.webrisk_v1beta1.types.RiceDeltaEncoding)\n- [1.18.0](/python/docs/reference/webrisk/1.18.0/google.cloud.webrisk_v1beta1.types.RiceDeltaEncoding)\n- [1.17.0](/python/docs/reference/webrisk/1.17.0/google.cloud.webrisk_v1beta1.types.RiceDeltaEncoding)\n- [1.16.0](/python/docs/reference/webrisk/1.16.0/google.cloud.webrisk_v1beta1.types.RiceDeltaEncoding)\n- [1.15.1](/python/docs/reference/webrisk/1.15.1/google.cloud.webrisk_v1beta1.types.RiceDeltaEncoding)\n- [1.14.5](/python/docs/reference/webrisk/1.14.5/google.cloud.webrisk_v1beta1.types.RiceDeltaEncoding)\n- [1.13.0](/python/docs/reference/webrisk/1.13.0/google.cloud.webrisk_v1beta1.types.RiceDeltaEncoding)\n- [1.12.1](/python/docs/reference/webrisk/1.12.1/google.cloud.webrisk_v1beta1.types.RiceDeltaEncoding)\n- [1.11.1](/python/docs/reference/webrisk/1.11.1/google.cloud.webrisk_v1beta1.types.RiceDeltaEncoding)\n- [1.10.1](/python/docs/reference/webrisk/1.10.1/google.cloud.webrisk_v1beta1.types.RiceDeltaEncoding)\n- [1.9.0](/python/docs/reference/webrisk/1.9.0/google.cloud.webrisk_v1beta1.types.RiceDeltaEncoding)\n- [1.8.4](/python/docs/reference/webrisk/1.8.4/google.cloud.webrisk_v1beta1.types.RiceDeltaEncoding)\n- [1.7.2](/python/docs/reference/webrisk/1.7.2/google.cloud.webrisk_v1beta1.types.RiceDeltaEncoding)\n- [1.6.1](/python/docs/reference/webrisk/1.6.1/google.cloud.webrisk_v1beta1.types.RiceDeltaEncoding)\n- [1.5.0](/python/docs/reference/webrisk/1.5.0/google.cloud.webrisk_v1beta1.types.RiceDeltaEncoding)\n- [1.4.3](/python/docs/reference/webrisk/1.4.3/google.cloud.webrisk_v1beta1.types.RiceDeltaEncoding)\n- [1.3.0](/python/docs/reference/webrisk/1.3.0/google.cloud.webrisk_v1beta1.types.RiceDeltaEncoding)\n- [1.2.0](/python/docs/reference/webrisk/1.2.0/google.cloud.webrisk_v1beta1.types.RiceDeltaEncoding)\n- [1.1.0](/python/docs/reference/webrisk/1.1.0/google.cloud.webrisk_v1beta1.types.RiceDeltaEncoding)\n- [1.0.1](/python/docs/reference/webrisk/1.0.1/google.cloud.webrisk_v1beta1.types.RiceDeltaEncoding)\n- [0.3.3](/python/docs/reference/webrisk/0.3.3/google.cloud.webrisk_v1beta1.types.RiceDeltaEncoding)\n- [0.2.0](/python/docs/reference/webrisk/0.2.0/google.cloud.webrisk_v1beta1.types.RiceDeltaEncoding) \n\n RiceDeltaEncoding(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\nThe Rice-Golomb encoded data. Used for sending compressed\n4-byte hashes or compressed removal indices."]]