CompressedData

class CompressedData : GeneratedMessage, CompressedDataOrBuilder
Generic container for compressed data, which simply combines an enumerated `CompressionMode` with a blob of raw bytes
which are expected to be compressed by the specified algorithm or tool.
Protobuf type elide.data.CompressedData

Types

Link copied to clipboard
class Builder : GeneratedMessage.Builder<BuilderT> , CompressedDataOrBuilder
Generic container for compressed data, which simply combines an enumerated `CompressionMode` with a blob of raw bytes
which are expected to be compressed by the specified algorithm or tool.
Protobuf type elide.data.CompressedData

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
open fun equals(obj: Any): Boolean
Link copied to clipboard
Link copied to clipboard
open fun getAllFields(): Map<Descriptors.FieldDescriptor, Any>
Link copied to clipboard
Compression mode applied to this data. If no compression is active, `IDENTITY` may be specified as a default.
.elide.data.CompressionMode compression = 1;
Link copied to clipboard
Compression mode applied to this data. If no compression is active, `IDENTITY` may be specified as a default.
.elide.data.CompressionMode compression = 1;
Link copied to clipboard
Container holding the raw compressed data, and a fingerprint of the data in compressed form. This is unmodified raw
bytes, aside from being compressed by the algorithm specified by `compression`.
.elide.data.DataContainer data = 4;
Link copied to clipboard
Container holding the raw compressed data, and a fingerprint of the data in compressed form. This is unmodified raw
bytes, aside from being compressed by the algorithm specified by `compression`.
.elide.data.DataContainer data = 4;
Link copied to clipboard
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 getIntegrity(index: Int): DataFingerprint
Holds an (optional) integrity fingerprint, calculated from the held data *before* compression, which maybe used to
verify the consistency of the data held by this container after de-compression.
repeated .elide.data.DataFingerprint integrity = 3;
Link copied to clipboard
Holds an (optional) integrity fingerprint, calculated from the held data *before* compression, which maybe used to
verify the consistency of the data held by this container after de-compression.
repeated .elide.data.DataFingerprint integrity = 3;
Link copied to clipboard
Holds an (optional) integrity fingerprint, calculated from the held data *before* compression, which maybe used to
verify the consistency of the data held by this container after de-compression.
repeated .elide.data.DataFingerprint integrity = 3;
Link copied to clipboard
Holds an (optional) integrity fingerprint, calculated from the held data *before* compression, which maybe used to
verify the consistency of the data held by this container after de-compression.
repeated .elide.data.DataFingerprint integrity = 3;
Link copied to clipboard
Holds an (optional) integrity fingerprint, calculated from the held data *before* compression, which maybe used to
verify the consistency of the data held by this container after de-compression.
repeated .elide.data.DataFingerprint integrity = 3;
Link copied to clipboard
open fun getOneofFieldDescriptor(oneof: Descriptors.OneofDescriptor): Descriptors.FieldDescriptor
Link copied to clipboard
abstract fun getParserForType(): Parser<out Message>
abstract fun getParserForType(): Parser<out MessageLite>
open fun getParserForType(): Parser<CompressedData>
Link copied to clipboard
open fun getRepeatedField(field: Descriptors.FieldDescriptor, index: Int): Any
Link copied to clipboard
open fun getRepeatedFieldCount(field: Descriptors.FieldDescriptor): Int
Link copied to clipboard
Link copied to clipboard
open fun getSize(): Long
Size of the asset data before compression. To obtain the size of the data in compressed form, simply take the
length of the data field itself. This value is expressed in bytes.
uint64 size = 2;
Link copied to clipboard
open fun getUnknownFields(): UnknownFieldSet
Link copied to clipboard
open fun hasData(): Boolean
Container holding the raw compressed data, and a fingerprint of the data in compressed form. This is unmodified raw
bytes, aside from being compressed by the algorithm specified by `compression`.
.elide.data.DataContainer data = 4;
Link copied to clipboard
open fun hasField(field: Descriptors.FieldDescriptor): Boolean
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
open fun hasOneof(oneof: Descriptors.OneofDescriptor): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun <ContainingT : Message?, T> newFileScopedGeneratedExtension(singularType: Class<out Any>, defaultInstance: Message): GeneratedMessage.GeneratedExtension<ContainingT, T>
Link copied to clipboard
open fun <ContainingT : Message?, T> newMessageScopedGeneratedExtension(scope: Message, descriptorIndex: Int, singularType: Class<out Any>, defaultInstance: Message): GeneratedMessage.GeneratedExtension<ContainingT, T>
Link copied to clipboard
open fun parseDelimitedFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): CompressedData
Link copied to clipboard
open fun parseFrom(data: ByteString): CompressedData
open fun parseFrom(input: CodedInputStream): CompressedData
open fun parseFrom(data: Array<Byte>, extensionRegistry: ExtensionRegistryLite): CompressedData
open fun parseFrom(data: ByteString, extensionRegistry: ExtensionRegistryLite): CompressedData
open fun parseFrom(input: CodedInputStream, extensionRegistry: ExtensionRegistryLite): CompressedData
open fun parseFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): CompressedData
open fun parseFrom(data: ByteBuffer, extensionRegistry: ExtensionRegistryLite): CompressedData
Link copied to clipboard
open fun parser(): Parser<CompressedData>
Link copied to clipboard
Link copied to clipboard
open fun toByteArray(): Array<Byte>
Link copied to clipboard
open fun toByteString(): ByteString
Link copied to clipboard
Link copied to clipboard
open fun writeDelimitedTo(output: OutputStream)
Link copied to clipboard
open fun writeTo(output: CodedOutputStream)