Send feedback
Class RiceDeltaEncoding (2.54.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.54.0 keyboard_arrow_down
public final class RiceDeltaEncoding extends GeneratedMessageV3 implements RiceDeltaEncodingOrBuilder
The Rice-Golomb encoded data. Used for sending compressed 4-byte hashes or
compressed removal indices.
Protobuf type google.cloud.webrisk.v1.RiceDeltaEncoding
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ENCODED_DATA_FIELD_NUMBER
public static final int ENCODED_DATA_FIELD_NUMBER
Field Value
Type
Description
int
ENTRY_COUNT_FIELD_NUMBER
public static final int ENTRY_COUNT_FIELD_NUMBER
Field Value
Type
Description
int
FIRST_VALUE_FIELD_NUMBER
public static final int FIRST_VALUE_FIELD_NUMBER
Field Value
Type
Description
int
RICE_PARAMETER_FIELD_NUMBER
public static final int RICE_PARAMETER_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static RiceDeltaEncoding getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static RiceDeltaEncoding . Builder newBuilder ()
newBuilder(RiceDeltaEncoding prototype)
public static RiceDeltaEncoding . Builder newBuilder ( RiceDeltaEncoding prototype )
public static RiceDeltaEncoding parseDelimitedFrom ( InputStream input )
public static RiceDeltaEncoding parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static RiceDeltaEncoding parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static RiceDeltaEncoding parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static RiceDeltaEncoding parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RiceDeltaEncoding parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static RiceDeltaEncoding parseFrom ( CodedInputStream input )
public static RiceDeltaEncoding parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static RiceDeltaEncoding parseFrom ( InputStream input )
public static RiceDeltaEncoding parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static RiceDeltaEncoding parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static RiceDeltaEncoding parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<RiceDeltaEncoding> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getDefaultInstanceForType()
public RiceDeltaEncoding getDefaultInstanceForType ()
getEncodedData()
public ByteString getEncodedData ()
The encoded deltas that are encoded using the Golomb-Rice coder.
bytes encoded_data = 4;
Returns
Type
Description
ByteString
The encodedData.
getEntryCount()
public 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
Type
Description
int
The entryCount.
getFirstValue()
public 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
Type
Description
long
The firstValue.
getParserForType()
public Parser<RiceDeltaEncoding> getParserForType ()
Overrides
getRiceParameter()
public 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
Type
Description
int
The riceParameter.
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public RiceDeltaEncoding . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected RiceDeltaEncoding . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public RiceDeltaEncoding . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
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-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]