Web Risk V1beta1 API - Class Google::Cloud::WebRisk::V1beta1::RiceDeltaEncoding (v0.9.0)

Reference documentation and code samples for the Web Risk V1beta1 API class Google::Cloud::WebRisk::V1beta1::RiceDeltaEncoding.

The Rice-Golomb encoded data. Used for sending compressed 4-byte hashes or compressed removal indices.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#encoded_data

def encoded_data() -> ::String
Returns
  • (::String) — The encoded deltas that are encoded using the Golomb-Rice coder.

#encoded_data=

def encoded_data=(value) -> ::String
Parameter
  • value (::String) — The encoded deltas that are encoded using the Golomb-Rice coder.
Returns
  • (::String) — The encoded deltas that are encoded using the Golomb-Rice coder.

#entry_count

def entry_count() -> ::Integer
Returns
  • (::Integer) — 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.

#entry_count=

def entry_count=(value) -> ::Integer
Parameter
  • value (::Integer) — 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.
Returns
  • (::Integer) — 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.

#first_value

def first_value() -> ::Integer
Returns
  • (::Integer) — 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.

#first_value=

def first_value=(value) -> ::Integer
Parameter
  • value (::Integer) — 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.
Returns
  • (::Integer) — 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

def rice_parameter() -> ::Integer
Returns
  • (::Integer) — The Golomb-Rice parameter, which is a number between 2 and 28. This field is missing (that is, zero) if num_entries is zero.

#rice_parameter=

def rice_parameter=(value) -> ::Integer
Parameter
  • value (::Integer) — The Golomb-Rice parameter, which is a number between 2 and 28. This field is missing (that is, zero) if num_entries is zero.
Returns
  • (::Integer) — The Golomb-Rice parameter, which is a number between 2 and 28. This field is missing (that is, zero) if num_entries is zero.