Package com.google.webrisk.v1
Interface RiceDeltaEncodingOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RiceDeltaEncoding,RiceDeltaEncoding.Builder
@Generated
public interface RiceDeltaEncodingOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.ByteStringThe encoded deltas that are encoded using the Golomb-Rice coder.intThe number of entries that are delta encoded in the encoded data.longThe offset of the first entry in the encoded data, or, if only a single integer was encoded, that single integer's value.intThe Golomb-Rice parameter, which is a number between 2 and 28.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getFirstValue
long getFirstValue()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.
int64 first_value = 1;- Returns:
- The firstValue.
-
getRiceParameter
int getRiceParameter()The Golomb-Rice parameter, which is a number between 2 and 28. This field is missing (that is, zero) if `num_entries` is zero.
int32 rice_parameter = 2;- Returns:
- The riceParameter.
-
getEntryCount
int getEntryCount()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`.
int32 entry_count = 3;- Returns:
- The entryCount.
-
getEncodedData
com.google.protobuf.ByteString getEncodedData()The encoded deltas that are encoded using the Golomb-Rice coder.
bytes encoded_data = 4;- Returns:
- The encodedData.
-