EnumDescriptorProto

Describes an enum type.

Types

Link copied to clipboard

Range of reserved numeric values. Reserved values may not be used by entries in the same enum. Reserved ranges may not overlap.

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 options: EnumOptions
Link copied to clipboard

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

Link copied to clipboard

Returns the field-presence view for this EnumDescriptorProto instance.

Link copied to clipboard
abstract val reservedName: List<String>

Reserved enum value names, which may not be reused. A given name may only be reserved once.

Link copied to clipboard

Range of reserved numeric values. Reserved numeric values may not be used by enum values in the same enum declaration. Reserved ranges may not overlap.

Link copied to clipboard
Link copied to clipboard

Support for export and local keywords on enums.

Link copied to clipboard

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

Functions

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

Copies the original message, including unknown fields.