Builder

class Builder : GeneratedMessage.Builder<BuilderT> , BundleHeaderOrBuilder
# VFS: Bundle Header

Defines the packed layout of an Elide VFS bundle's file header. The file header contains just enough data to safely
de-compress and unpack the file-tree metadata, and the associated raw filesystem data. The header is designed to
evolve over time; the format version, at this time, is always `1`.
Protobuf type elide.vfs.BundleHeader

Functions

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(): BundleHeader
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
## Header: Compression mode.

The compression mode is an 16-bit unsigned integer which identifies the compression mode used to compress the file
tree metadata and filesystem data.
.elide.data.CompressionMode compression_mode = 3;
Link copied to clipboard
## Header: CRC32.

The CRC32 is a 32-bit unsigned integer which is used to verify the integrity of the decompressed tree metadata.
After (or during) decompression, a CRC32 checksum is calculated over the decompressed data, and compared against
this reference value to ensure data integrity remains intact.
uint32 crc32 = 4;
Link copied to clipboard
open fun clearField(field: Descriptors.FieldDescriptor): BuilderT
abstract fun clearField(field: Descriptors.FieldDescriptor): Message.Builder
Link copied to clipboard
## Header: Format version.

The format version is an 16-bit unsigned integer which identifies the version of the bundle file format. The format
version is always `1` at this time.
uint32 format_version = 2;
Link copied to clipboard
## Header: Magic number.

The magic number is a constant value known by the Elide framework, which is used to identify the file as an Elide
VFS bundle. The magic number is a 32-bit unsigned integer, and is always the numeric equivalent of the ASCII string
`ELDE`, or, `0x454C4445`.
uint32 magic = 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
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
## Header: Compression mode.

The compression mode is an 16-bit unsigned integer which identifies the compression mode used to compress the file
tree metadata and filesystem data.
.elide.data.CompressionMode compression_mode = 3;
Link copied to clipboard
## Header: Compression mode.

The compression mode is an 16-bit unsigned integer which identifies the compression mode used to compress the file
tree metadata and filesystem data.
.elide.data.CompressionMode compression_mode = 3;
Link copied to clipboard
open fun getCrc32(): Int
## Header: CRC32.

The CRC32 is a 32-bit unsigned integer which is used to verify the integrity of the decompressed tree metadata.
After (or during) decompression, a CRC32 checksum is calculated over the decompressed data, and compared against
this reference value to ensure data integrity remains intact.
uint32 crc32 = 4;
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 getField(field: Descriptors.FieldDescriptor): Any
Link copied to clipboard
open fun getFieldBuilder(field: Descriptors.FieldDescriptor): Message.Builder
Link copied to clipboard
open fun getFormatVersion(): Int
## Header: Format version.

The format version is an 16-bit unsigned integer which identifies the version of the bundle file format. The format
version is always `1` at this time.
uint32 format_version = 2;
Link copied to clipboard
open fun getMagic(): Int
## Header: Magic number.

The magic number is a constant value known by the Elide framework, which is used to identify the file as an Elide
VFS bundle. The magic number is a 32-bit unsigned integer, and is always the numeric equivalent of the ASCII string
`ELDE`, or, `0x454C4445`.
uint32 magic = 1;
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
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): BundleHeader.Builder
open fun mergeFrom(input: CodedInputStream, extensionRegistry: ExtensionRegistryLite): BundleHeader.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
## Header: Compression mode.

The compression mode is an 16-bit unsigned integer which identifies the compression mode used to compress the file
tree metadata and filesystem data.
.elide.data.CompressionMode compression_mode = 3;
Link copied to clipboard
## Header: Compression mode.

The compression mode is an 16-bit unsigned integer which identifies the compression mode used to compress the file
tree metadata and filesystem data.
.elide.data.CompressionMode compression_mode = 3;
Link copied to clipboard
## Header: CRC32.

The CRC32 is a 32-bit unsigned integer which is used to verify the integrity of the decompressed tree metadata.
After (or during) decompression, a CRC32 checksum is calculated over the decompressed data, and compared against
this reference value to ensure data integrity remains intact.
uint32 crc32 = 4;
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
## Header: Format version.

The format version is an 16-bit unsigned integer which identifies the version of the bundle file format. The format
version is always `1` at this time.
uint32 format_version = 2;
Link copied to clipboard
## Header: Magic number.

The magic number is a constant value known by the Elide framework, which is used to identify the file as an Elide
VFS bundle. The magic number is a 32-bit unsigned integer, and is always the numeric equivalent of the ASCII string
`ELDE`, or, `0x454C4445`.
uint32 magic = 1;
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 setUnknownFields(unknownFields: UnknownFieldSet): BuilderT
abstract fun setUnknownFields(unknownFields: UnknownFieldSet): Message.Builder
Link copied to clipboard
open fun toString(): String