DescriptorProto

Describes a message type.

Types

Link copied to clipboard
interface ExtensionRange
Link copied to clipboard
interface ReservedRange

Range of reserved tag numbers. Reserved tag numbers may not be used by fields or extension ranges in the same message. Reserved ranges may not overlap.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract val name: String?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract val options: MessageOptions
Link copied to clipboard
Link copied to clipboard
abstract val reservedName: List<String>

Reserved field names, which may not be used by fields in the same message. A given name may only be reserved once.

Link copied to clipboard
Link copied to clipboard

Support for export and local keywords on enums.

Functions

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

Copies the original message, including unknown fields.