EnumValue

interface EnumValue(source)

Enum value definition.

New usages of this message as an alternative to EnumValueDescriptorProto are strongly discouraged. This message does not reliability preserve all information necessary to model the schema and preserve semantics. Instead make use of FileDescriptorSet which preserves the necessary information.

Properties

Link copied to clipboard
abstract val name: String

Enum value name.

Link copied to clipboard
abstract val number: Int

Enum value number.

Link copied to clipboard
abstract val options: List<Option>

Protocol buffer options.

Functions

Link copied to clipboard
fun EnumValue.copy(body: ERROR CLASS: Symbol not found for EnumValue.Builder.() -> Unit = {}): EnumValue

Copies the original message, including unknown fields.