EnumValueDescriptorProto

Describes a value within an enum.

Properties

Link copied to clipboard
abstract val name: String
Link copied to clipboard

Returns the value of the name field if present, otherwise null.

Link copied to clipboard
abstract val number: Int
Link copied to clipboard

Returns the value of the number field if present, otherwise null.

Link copied to clipboard
Link copied to clipboard

Returns the value of the options field if present, otherwise null.

Link copied to clipboard

Functions

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

Copies the original message, including unknown fields.