Builder

class Builder : GeneratedMessage.Builder<BuilderT> , BloomFilterOrBuilder
Defines a structure that is operable as a 1-to-n-layer Bloom filter. NIST (the National Institute of Standards and
Technology) defines a *"Bloom filter"* as a "data structure with a probabilistic algorithm to quickly test membership
in a large set using multiple hash functions into a single array of bits."

In essence, a Bloom filter is a very compact set of data, which operates kind of like a cheese cloth. For each unique
data fingerprint applied to the filter, you can imagine throwing colored die at the cheese cloth - what you end up
with is some blend of colors, which is entirely unique and ephemeral, having been constituted entirely by the colors
you chose, and the exact parameters of how you threw them. Albeit a contrived example, one could then imagine simply
examining the result of your work to determine the presence of different colors.

Bloom filters work the same way. Since their invention in by Burton Howard Bloom in 1970, many exotic forms of Bloom
filters have shown up, a few of which this structure supports. For example, one may choose to enhance regular filters
with the count of items considered in the filter, making it a *Counting Bloom filter*. Or, one may choose to combine
multiple filters into one effective filter, which is referred to as a *Layered Bloom filter*.
Protobuf type elide.structs.BloomFilter

Functions

Link copied to clipboard
Specifies each layer of this Bloom filter structure. If no more than one layer is present, the structure represents
a simple, single-layer regular Bloom filter. If more than one layer are present, the structure represents a multi-
layer (*Layered*) Bloom filter.
repeated .elide.structs.BloomFilter.FilterLayer layer = 5;
Link copied to clipboard
Specifies each layer of this Bloom filter structure. If no more than one layer is present, the structure represents
a simple, single-layer regular Bloom filter. If more than one layer are present, the structure represents a multi-
layer (*Layered*) Bloom filter.
repeated .elide.structs.BloomFilter.FilterLayer layer = 5;
Link copied to clipboard
Specifies each layer of this Bloom filter structure. If no more than one layer is present, the structure represents
a simple, single-layer regular Bloom filter. If more than one layer are present, the structure represents a multi-
layer (*Layered*) Bloom filter.
repeated .elide.structs.BloomFilter.FilterLayer layer = 5;
Link copied to clipboard
open fun addRepeatedField(field: Descriptors.FieldDescriptor, value: Any): BuilderT
abstract fun addRepeatedField(field: Descriptors.FieldDescriptor, value: Any): Message.Builder
Link copied to clipboard
abstract fun build(): MessageLite
open fun build(): BloomFilter
Link copied to clipboard
abstract fun buildPartial(): MessageLite
Link copied to clipboard
open fun clear(): BuilderType
abstract fun clear(): Message.Builder
Link copied to clipboard
Hash algorithm in use for this Bloom filter. This must be considered an immutable value for a constituted filter,
otherwise the underlying data may be rendered unusable.
.elide.std.HashAlgorithm algorithm = 1;
Link copied to clipboard
Number of items in the filter, across all layers.
uint64 count = 3;
Link copied to clipboard
open fun clearField(field: Descriptors.FieldDescriptor): BuilderT
abstract fun clearField(field: Descriptors.FieldDescriptor): Message.Builder
Link copied to clipboard
Specifies each layer of this Bloom filter structure. If no more than one layer is present, the structure represents
a simple, single-layer regular Bloom filter. If more than one layer are present, the structure represents a multi-
layer (*Layered*) Bloom filter.
repeated .elide.structs.BloomFilter.FilterLayer layer = 5;
Link copied to clipboard
Limit setting to enforce for this Bloom filter, before re-calculating contents. Optional.
uint64 limit = 4;
Link copied to clipboard
open fun clearOneof(oneof: Descriptors.OneofDescriptor): BuilderType
open fun clearOneof(oneof: Descriptors.OneofDescriptor): BuilderT
abstract fun clearOneof(oneof: Descriptors.OneofDescriptor): Message.Builder
Link copied to clipboard
Number of hash rounds to apply when adding data to this filter.
uint32 rounds = 2;
Link copied to clipboard
open fun clone(): BuilderType
open fun clone(): BuilderT
abstract fun clone(): Message.Builder
Link copied to clipboard
Link copied to clipboard
Hash algorithm in use for this Bloom filter. This must be considered an immutable value for a constituted filter,
otherwise the underlying data may be rendered unusable.
.elide.std.HashAlgorithm algorithm = 1;
Link copied to clipboard
Hash algorithm in use for this Bloom filter. This must be considered an immutable value for a constituted filter,
otherwise the underlying data may be rendered unusable.
.elide.std.HashAlgorithm algorithm = 1;
Link copied to clipboard
open fun getAllFields(): Map<Descriptors.FieldDescriptor, Any>
Link copied to clipboard
open fun getCount(): Long
Number of items in the filter, across all layers.
uint64 count = 3;
Link copied to clipboard
abstract fun getDefaultInstanceForType(): MessageLite
Link copied to clipboard
fun getDescriptor(): Descriptors.Descriptor
Link copied to clipboard
open fun getDescriptorForType(): Descriptors.Descriptor
Link copied to clipboard
open fun getField(field: Descriptors.FieldDescriptor): Any
Link copied to clipboard
open fun getFieldBuilder(field: Descriptors.FieldDescriptor): Message.Builder
Link copied to clipboard
Specifies each layer of this Bloom filter structure. If no more than one layer is present, the structure represents
a simple, single-layer regular Bloom filter. If more than one layer are present, the structure represents a multi-
layer (*Layered*) Bloom filter.
repeated .elide.structs.BloomFilter.FilterLayer layer = 5;
Link copied to clipboard
Specifies each layer of this Bloom filter structure. If no more than one layer is present, the structure represents
a simple, single-layer regular Bloom filter. If more than one layer are present, the structure represents a multi-
layer (*Layered*) Bloom filter.
repeated .elide.structs.BloomFilter.FilterLayer layer = 5;
Link copied to clipboard
Specifies each layer of this Bloom filter structure. If no more than one layer is present, the structure represents
a simple, single-layer regular Bloom filter. If more than one layer are present, the structure represents a multi-
layer (*Layered*) Bloom filter.
repeated .elide.structs.BloomFilter.FilterLayer layer = 5;
Link copied to clipboard
open fun getLayerCount(): Int
Specifies each layer of this Bloom filter structure. If no more than one layer is present, the structure represents
a simple, single-layer regular Bloom filter. If more than one layer are present, the structure represents a multi-
layer (*Layered*) Bloom filter.
repeated .elide.structs.BloomFilter.FilterLayer layer = 5;
Link copied to clipboard
Specifies each layer of this Bloom filter structure. If no more than one layer is present, the structure represents
a simple, single-layer regular Bloom filter. If more than one layer are present, the structure represents a multi-
layer (*Layered*) Bloom filter.
repeated .elide.structs.BloomFilter.FilterLayer layer = 5;
Link copied to clipboard
Specifies each layer of this Bloom filter structure. If no more than one layer is present, the structure represents
a simple, single-layer regular Bloom filter. If more than one layer are present, the structure represents a multi-
layer (*Layered*) Bloom filter.
repeated .elide.structs.BloomFilter.FilterLayer layer = 5;
Link copied to clipboard
Specifies each layer of this Bloom filter structure. If no more than one layer is present, the structure represents
a simple, single-layer regular Bloom filter. If more than one layer are present, the structure represents a multi-
layer (*Layered*) Bloom filter.
repeated .elide.structs.BloomFilter.FilterLayer layer = 5;
Link copied to clipboard
open fun getLimit(): Long
Limit setting to enforce for this Bloom filter, before re-calculating contents. Optional.
uint64 limit = 4;
Link copied to clipboard
open fun getOneofFieldDescriptor(oneof: Descriptors.OneofDescriptor): Descriptors.FieldDescriptor
Link copied to clipboard
open fun getRepeatedField(field: Descriptors.FieldDescriptor, index: Int): Any
Link copied to clipboard
open fun getRepeatedFieldBuilder(field: Descriptors.FieldDescriptor, index: Int): Message.Builder
Link copied to clipboard
open fun getRepeatedFieldCount(field: Descriptors.FieldDescriptor): Int
Link copied to clipboard
open fun getRounds(): Int
Number of hash rounds to apply when adding data to this filter.
uint32 rounds = 2;
Link copied to clipboard
fun getUnknownFields(): UnknownFieldSet
Link copied to clipboard
open fun hasField(field: Descriptors.FieldDescriptor): Boolean
Link copied to clipboard
open fun hasOneof(oneof: Descriptors.OneofDescriptor): Boolean
Link copied to clipboard
Link copied to clipboard
open fun mergeDelimitedFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): Boolean
Link copied to clipboard
abstract fun mergeFrom(other: Message): Message.Builder
open fun mergeFrom(other: Message): BloomFilter.Builder
open fun mergeFrom(input: CodedInputStream, extensionRegistry: ExtensionRegistryLite): BloomFilter.Builder
Link copied to clipboard
open fun mergeUnknownFields(unknownFields: UnknownFieldSet): BuilderType
open fun mergeUnknownFields(unknownFields: UnknownFieldSet): BuilderT
abstract fun mergeUnknownFields(unknownFields: UnknownFieldSet): Message.Builder
Link copied to clipboard
open fun newBuilderForField(field: Descriptors.FieldDescriptor): Message.Builder
Link copied to clipboard
Specifies each layer of this Bloom filter structure. If no more than one layer is present, the structure represents
a simple, single-layer regular Bloom filter. If more than one layer are present, the structure represents a multi-
layer (*Layered*) Bloom filter.
repeated .elide.structs.BloomFilter.FilterLayer layer = 5;
Link copied to clipboard
Hash algorithm in use for this Bloom filter. This must be considered an immutable value for a constituted filter,
otherwise the underlying data may be rendered unusable.
.elide.std.HashAlgorithm algorithm = 1;
Link copied to clipboard
Hash algorithm in use for this Bloom filter. This must be considered an immutable value for a constituted filter,
otherwise the underlying data may be rendered unusable.
.elide.std.HashAlgorithm algorithm = 1;
Link copied to clipboard
Number of items in the filter, across all layers.
uint64 count = 3;
Link copied to clipboard
open fun setField(field: Descriptors.FieldDescriptor, value: Any): BuilderT
abstract fun setField(field: Descriptors.FieldDescriptor, value: Any): Message.Builder
Link copied to clipboard
Specifies each layer of this Bloom filter structure. If no more than one layer is present, the structure represents
a simple, single-layer regular Bloom filter. If more than one layer are present, the structure represents a multi-
layer (*Layered*) Bloom filter.
repeated .elide.structs.BloomFilter.FilterLayer layer = 5;
Link copied to clipboard
Limit setting to enforce for this Bloom filter, before re-calculating contents. Optional.
uint64 limit = 4;
Link copied to clipboard
open fun setRepeatedField(field: Descriptors.FieldDescriptor, index: Int, value: Any): BuilderT
abstract fun setRepeatedField(field: Descriptors.FieldDescriptor, index: Int, value: Any): Message.Builder
Link copied to clipboard
Number of hash rounds to apply when adding data to this filter.
uint32 rounds = 2;
Link copied to clipboard
open fun setUnknownFields(unknownFields: UnknownFieldSet): BuilderT
abstract fun setUnknownFields(unknownFields: UnknownFieldSet): Message.Builder
Link copied to clipboard
open fun toString(): String