toggle menu
protobuf-kotlin
0.5.0
common
switch theme
search in API
protobuf-kotlin-common
/
pro.felixo.protobuf
/
EnumValue
Enum
Value
data
class
EnumValue
(
val
name
:
Identifier
,
val
number
:
Int
)
:
Comparable
<
EnumValue
>
Represents a Protobuf enum value, consisting of a name and a number.
Members
Constructors
Enum
Value
Link copied to clipboard
constructor
(
name
:
Identifier
,
number
:
Int
)
Properties
name
Link copied to clipboard
val
name
:
Identifier
number
Link copied to clipboard
val
number
:
Int
Functions
compare
To
Link copied to clipboard
open
operator override
fun
compareTo
(
other
:
EnumValue
)
:
Int