EnumeratedType

enum EnumeratedType : ProtocolMessageEnum
Specifies a special role, if applicable, for a given enumerated type. Each selection governs some special behavior
related to defined enums with APIs, databases, and so on.
Protobuf enum elide.model.EnumeratedType

Entries

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

Properties

Link copied to clipboard
val ERRORS_VALUE: Int = 1
Specifies a structure which enumerates error states.
ERRORS = 1;
Link copied to clipboard
Specifies a generic enumeration structure.
GENERIC_ENUMERATION = 0;

Functions

Link copied to clipboard
open fun forNumber(value: Int): EnumeratedType
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<EnumeratedType>
Link copied to clipboard
open fun valueOf(desc: Descriptors.EnumValueDescriptor): EnumeratedType
open fun valueOf(value: Int): EnumeratedType

open fun valueOf(name: String): EnumeratedType

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

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.