- 2.54.0 (latest)
- 2.53.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.0
- 2.2.6
- 2.0.12
public static final class RiceDeltaEncoding.Builder extends GeneratedMessageV3.Builder<RiceDeltaEncoding.Builder> implements RiceDeltaEncodingOrBuilder
The Rice-Golomb encoded data. Used for sending compressed 4-byte hashes or compressed removal indices.
Protobuf type google.cloud.webrisk.v1beta1.RiceDeltaEncoding
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > RiceDeltaEncoding.BuilderImplements
RiceDeltaEncodingOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RiceDeltaEncoding.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
RiceDeltaEncoding.Builder |
build()
public RiceDeltaEncoding build()
Type | Description |
RiceDeltaEncoding |
buildPartial()
public RiceDeltaEncoding buildPartial()
Type | Description |
RiceDeltaEncoding |
clear()
public RiceDeltaEncoding.Builder clear()
Type | Description |
RiceDeltaEncoding.Builder |
clearEncodedData()
public RiceDeltaEncoding.Builder clearEncodedData()
The encoded deltas that are encoded using the Golomb-Rice coder.
bytes encoded_data = 4;
Type | Description |
RiceDeltaEncoding.Builder | This builder for chaining. |
clearEntryCount()
public RiceDeltaEncoding.Builder clearEntryCount()
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;
Type | Description |
RiceDeltaEncoding.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public RiceDeltaEncoding.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
RiceDeltaEncoding.Builder |
clearFirstValue()
public RiceDeltaEncoding.Builder clearFirstValue()
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;
Type | Description |
RiceDeltaEncoding.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public RiceDeltaEncoding.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
RiceDeltaEncoding.Builder |
clearRiceParameter()
public RiceDeltaEncoding.Builder clearRiceParameter()
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;
Type | Description |
RiceDeltaEncoding.Builder | This builder for chaining. |
clone()
public RiceDeltaEncoding.Builder clone()
Type | Description |
RiceDeltaEncoding.Builder |
getDefaultInstanceForType()
public RiceDeltaEncoding getDefaultInstanceForType()
Type | Description |
RiceDeltaEncoding |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getEncodedData()
public ByteString getEncodedData()
The encoded deltas that are encoded using the Golomb-Rice coder.
bytes encoded_data = 4;
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;
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;
Type | Description |
long | The firstValue. |
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;
Type | Description |
int | The riceParameter. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RiceDeltaEncoding.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
RiceDeltaEncoding.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public RiceDeltaEncoding.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
RiceDeltaEncoding.Builder |
mergeFrom(RiceDeltaEncoding other)
public RiceDeltaEncoding.Builder mergeFrom(RiceDeltaEncoding other)
Name | Description |
other | RiceDeltaEncoding |
Type | Description |
RiceDeltaEncoding.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RiceDeltaEncoding.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
RiceDeltaEncoding.Builder |
setEncodedData(ByteString value)
public RiceDeltaEncoding.Builder setEncodedData(ByteString value)
The encoded deltas that are encoded using the Golomb-Rice coder.
bytes encoded_data = 4;
Name | Description |
value | ByteString The encodedData to set. |
Type | Description |
RiceDeltaEncoding.Builder | This builder for chaining. |
setEntryCount(int value)
public RiceDeltaEncoding.Builder setEntryCount(int value)
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;
Name | Description |
value | int The entryCount to set. |
Type | Description |
RiceDeltaEncoding.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public RiceDeltaEncoding.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
RiceDeltaEncoding.Builder |
setFirstValue(long value)
public RiceDeltaEncoding.Builder setFirstValue(long 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.
int64 first_value = 1;
Name | Description |
value | long The firstValue to set. |
Type | Description |
RiceDeltaEncoding.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RiceDeltaEncoding.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
RiceDeltaEncoding.Builder |
setRiceParameter(int value)
public RiceDeltaEncoding.Builder setRiceParameter(int value)
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;
Name | Description |
value | int The riceParameter to set. |
Type | Description |
RiceDeltaEncoding.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final RiceDeltaEncoding.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
RiceDeltaEncoding.Builder |