FileOrBuilder

interface FileOrBuilder : MessageOrBuilder

Inheritors

Properties

Link copied to clipboard

Functions

Link copied to clipboard
abstract fun containsAttributes(key: String): Boolean
Extended attributes for this file.
map<string, string> attributes = 11;
Link copied to clipboard
Link copied to clipboard
abstract fun getAllFields(): Map<Descriptors.FieldDescriptor, Any>
Link copied to clipboard
abstract fun getAttributes(): Map<String, String>
Use getAttributesMap instead.
Link copied to clipboard
abstract fun getAttributesCount(): Int
Extended attributes for this file.
map<string, string> attributes = 11;
Link copied to clipboard
abstract fun getAttributesMap(): Map<String, String>
Extended attributes for this file.
map<string, string> attributes = 11;
Link copied to clipboard
abstract fun getAttributesOrDefault(key: String, defaultValue: String): String
Extended attributes for this file.
map<string, string> attributes = 11;
Link copied to clipboard
abstract fun getAttributesOrThrow(key: String): String
Extended attributes for this file.
map<string, string> attributes = 11;
Link copied to clipboard
abstract fun getCompressed(): Long
Compressed size of the file, in bytes. If `size` and `compressed` are equal, the file is not compressed.
uint64 compressed = 3;
Link copied to clipboard
abstract fun getDefaultInstanceForType(): MessageLite
abstract fun getDefaultInstanceForType(): Message
Link copied to clipboard
abstract fun getDescriptorForType(): Descriptors.Descriptor
Link copied to clipboard
abstract fun getEncoding(): Encoding
Describes the encoding of the file.
.elide.data.Encoding encoding = 6;
Link copied to clipboard
abstract fun getEncodingValue(): Int
Describes the encoding of the file.
.elide.data.Encoding encoding = 6;
Link copied to clipboard
abstract fun getField(field: Descriptors.FieldDescriptor): Any
Link copied to clipboard
Link copied to clipboard
Fingerprints of compressed and regular file representations, as applicable.
.elide.vfs.File.FileFingerprint fingerprint = 10;
Link copied to clipboard
Fingerprints of compressed and regular file representations, as applicable.
.elide.vfs.File.FileFingerprint fingerprint = 10;
Link copied to clipboard
Link copied to clipboard
abstract fun getKnown(): KnownMimeType
Specifies a known MIME type for this file, from the [KnownMimeType] enumeration.
.elide.vfs.KnownMimeType known = 8;
Link copied to clipboard
abstract fun getKnownValue(): Int
Specifies a known MIME type for this file, from the [KnownMimeType] enumeration.
.elide.vfs.KnownMimeType known = 8;
Link copied to clipboard
abstract fun getMime(): String
Specifies a string for a mime-type. This is only used if the mime-type is not known to the VM implementation.
string mime = 9;
Link copied to clipboard
abstract fun getMimeBytes(): ByteString
Specifies a string for a mime-type. This is only used if the mime-type is not known to the VM implementation.
string mime = 9;
Link copied to clipboard
abstract fun getModified(): Timestamp
Describes the last time this file was modified. This value is only available in circumstances where the VFS is
running with change tracking enabled (namely, during development). In production, this value will be set to a
consistent timestamp for all assets.
.google.protobuf.Timestamp modified = 7;
Link copied to clipboard
abstract fun getModifiedOrBuilder(): TimestampOrBuilder
Describes the last time this file was modified. This value is only available in circumstances where the VFS is
running with change tracking enabled (namely, during development). In production, this value will be set to a
consistent timestamp for all assets.
.google.protobuf.Timestamp modified = 7;
Link copied to clipboard
abstract fun getName(): String
Name of the file.
string name = 1;
Link copied to clipboard
abstract fun getNameBytes(): ByteString
Name of the file.
string name = 1;
Link copied to clipboard
abstract fun getOffset(): Long
Offset at which the file begins within the compressed filesystem blob.
uint64 offset = 4;
Link copied to clipboard
abstract fun getOneofFieldDescriptor(oneof: Descriptors.OneofDescriptor): Descriptors.FieldDescriptor
Link copied to clipboard
abstract fun getRepeatedField(field: Descriptors.FieldDescriptor, index: Int): Any
Link copied to clipboard
abstract fun getRepeatedFieldCount(field: Descriptors.FieldDescriptor): Int
Link copied to clipboard
abstract fun getSize(): Long
Uncompressed size of the file, in bytes.
uint64 size = 2;
Link copied to clipboard
abstract fun getTail(): Long
Offset at which the file ends within the compressed filesystem blob.
uint64 tail = 5;
Link copied to clipboard
abstract fun getUnknownFields(): UnknownFieldSet
Link copied to clipboard
abstract fun hasField(field: Descriptors.FieldDescriptor): Boolean
Link copied to clipboard
abstract fun hasFingerprint(): Boolean
Fingerprints of compressed and regular file representations, as applicable.
.elide.vfs.File.FileFingerprint fingerprint = 10;
Link copied to clipboard
abstract fun hasKnown(): Boolean
Specifies a known MIME type for this file, from the [KnownMimeType] enumeration.
.elide.vfs.KnownMimeType known = 8;
Link copied to clipboard
abstract fun hasMime(): Boolean
Specifies a string for a mime-type. This is only used if the mime-type is not known to the VM implementation.
string mime = 9;
Link copied to clipboard
abstract fun hasModified(): Boolean
Describes the last time this file was modified. This value is only available in circumstances where the VFS is
running with change tracking enabled (namely, during development). In production, this value will be set to a
consistent timestamp for all assets.
.google.protobuf.Timestamp modified = 7;
Link copied to clipboard
abstract fun hasOneof(oneof: Descriptors.OneofDescriptor): Boolean
Link copied to clipboard
abstract fun isInitialized(): Boolean