Encoding

enum Encoding : ProtocolMessageEnum
Data Encoding

Describes supported file encodings. By default, files are encoded with `UTF-8`.
Protobuf enum elide.data.Encoding

Entries

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

Properties

Link copied to clipboard
val UTF_16_VALUE: Int = 1
Encoding: UTF-16.
UTF_16 = 1;
Link copied to clipboard
val UTF_32_VALUE: Int = 2
Encoding: UTF-32.
UTF_32 = 2;
Link copied to clipboard
val UTF_8_VALUE: Int = 0
Default encoding: UTF-8.
UTF_8 = 0;

Functions

Link copied to clipboard
open fun forNumber(value: Int): Encoding
Link copied to clipboard
fun getDescriptor(): Descriptors.EnumDescriptor
Link copied to clipboard
fun getDescriptorForType(): Descriptors.EnumDescriptor
Link copied to clipboard
fun getNumber(): Int
Link copied to clipboard
fun getValueDescriptor(): Descriptors.EnumValueDescriptor
Link copied to clipboard
open fun internalGetValueMap(): Internal.EnumLiteMap<Encoding>
Link copied to clipboard
open fun valueOf(desc: Descriptors.EnumValueDescriptor): Encoding
open fun valueOf(value: Int): Encoding

open fun valueOf(name: String): Encoding

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard
open fun values(): Array<Encoding>

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.