Builder

class Builder : GeneratedMessage.Builder<BuilderT> , DataFingerprintOrBuilder
Stores a generic cryptographic fingerprint of some arbitrary data. This is a utility record, which simply gathers the
specification of a hash algorithm with a raw data field storing the result of the hash.
Protobuf type elide.data.DataFingerprint

Functions

Link copied to clipboard
open fun addAllPrefix(values: Iterable<out ByteString>): DataFingerprint.Builder
Prefix values used when fingerprinting the associated data, if applicable.
repeated bytes prefix = 3;
Link copied to clipboard
open fun addAllSuffix(values: Iterable<out ByteString>): DataFingerprint.Builder
Suffix values used when fingerprinting the associated data, if applicable.
repeated bytes suffix = 4;
Link copied to clipboard
open fun addPrefix(value: ByteString): DataFingerprint.Builder
Prefix values used when fingerprinting the associated data, if applicable.
repeated bytes prefix = 3;
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
open fun addSuffix(value: ByteString): DataFingerprint.Builder
Suffix values used when fingerprinting the associated data, if applicable.
repeated bytes suffix = 4;
Link copied to clipboard
abstract fun build(): MessageLite
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
Specifies the encoding for the affixed fingerprint data. If unspecified, the fingerprint is expressed in raw bytes.
.elide.data.Encoding encoding = 2;
Link copied to clipboard
open fun clearField(field: Descriptors.FieldDescriptor): BuilderT
abstract fun clearField(field: Descriptors.FieldDescriptor): Message.Builder
Link copied to clipboard
Content of the fingerprint/checksum calculated as part of this data fingerprint.
bytes fingerprint = 6;
Link copied to clipboard
Algorithm in use when fingerprinting the associated data.
.elide.std.HashAlgorithm hash = 1;
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
Prefix values used when fingerprinting the associated data, if applicable.
repeated bytes prefix = 3;
Link copied to clipboard
Separator to use for pre-image reconstruction.
bytes separator = 5;
Link copied to clipboard
Suffix values used when fingerprinting the associated data, if applicable.
repeated bytes suffix = 4;
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
open fun getAllFields(): Map<Descriptors.FieldDescriptor, Any>
Link copied to clipboard
Link copied to clipboard
fun getDescriptor(): Descriptors.Descriptor
Link copied to clipboard
open fun getDescriptorForType(): Descriptors.Descriptor
Link copied to clipboard
open fun getEncoding(): Encoding
Specifies the encoding for the affixed fingerprint data. If unspecified, the fingerprint is expressed in raw bytes.
.elide.data.Encoding encoding = 2;
Link copied to clipboard
open fun getEncodingValue(): Int
Specifies the encoding for the affixed fingerprint data. If unspecified, the fingerprint is expressed in raw bytes.
.elide.data.Encoding encoding = 2;
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
open fun getFingerprint(): ByteString
Content of the fingerprint/checksum calculated as part of this data fingerprint.
bytes fingerprint = 6;
Link copied to clipboard
Algorithm in use when fingerprinting the associated data.
.elide.std.HashAlgorithm hash = 1;
Link copied to clipboard
open fun getHashValue(): Int
Algorithm in use when fingerprinting the associated data.
.elide.std.HashAlgorithm hash = 1;
Link copied to clipboard
open fun getOneofFieldDescriptor(oneof: Descriptors.OneofDescriptor): Descriptors.FieldDescriptor
Link copied to clipboard
open fun getPrefix(index: Int): ByteString
Prefix values used when fingerprinting the associated data, if applicable.
repeated bytes prefix = 3;
Link copied to clipboard
open fun getPrefixCount(): Int
Prefix values used when fingerprinting the associated data, if applicable.
repeated bytes prefix = 3;
Link copied to clipboard
open fun getPrefixList(): List<ByteString>
Prefix values used when fingerprinting the associated data, if applicable.
repeated bytes prefix = 3;
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 getSeparator(): ByteString
Separator to use for pre-image reconstruction.
bytes separator = 5;
Link copied to clipboard
open fun getSuffix(index: Int): ByteString
Suffix values used when fingerprinting the associated data, if applicable.
repeated bytes suffix = 4;
Link copied to clipboard
open fun getSuffixCount(): Int
Suffix values used when fingerprinting the associated data, if applicable.
repeated bytes suffix = 4;
Link copied to clipboard
open fun getSuffixList(): List<ByteString>
Suffix values used when fingerprinting the associated data, if applicable.
repeated bytes suffix = 4;
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): DataFingerprint.Builder
open fun mergeFrom(input: CodedInputStream, extensionRegistry: ExtensionRegistryLite): DataFingerprint.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 the encoding for the affixed fingerprint data. If unspecified, the fingerprint is expressed in raw bytes.
.elide.data.Encoding encoding = 2;
Link copied to clipboard
Specifies the encoding for the affixed fingerprint data. If unspecified, the fingerprint is expressed in raw bytes.
.elide.data.Encoding encoding = 2;
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
open fun setFingerprint(value: ByteString): DataFingerprint.Builder
Content of the fingerprint/checksum calculated as part of this data fingerprint.
bytes fingerprint = 6;
Link copied to clipboard
Algorithm in use when fingerprinting the associated data.
.elide.std.HashAlgorithm hash = 1;
Link copied to clipboard
Algorithm in use when fingerprinting the associated data.
.elide.std.HashAlgorithm hash = 1;
Link copied to clipboard
open fun setPrefix(index: Int, value: ByteString): DataFingerprint.Builder
Prefix values used when fingerprinting the associated data, if applicable.
repeated bytes prefix = 3;
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
open fun setSeparator(value: ByteString): DataFingerprint.Builder
Separator to use for pre-image reconstruction.
bytes separator = 5;
Link copied to clipboard
open fun setSuffix(index: Int, value: ByteString): DataFingerprint.Builder
Suffix values used when fingerprinting the associated data, if applicable.
repeated bytes suffix = 4;
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