Message Type
data class MessageType(val type: ProtoType, val location: Location, val documentation: String, val name: String, val declaredFields: List<Field>, val extensionFields: MutableList<Field>, val oneOfs: List<OneOf>, val nestedTypes: List<Type>, val nestedExtendList: List<Extend>, val extensionsList: List<Extensions>, reserveds: List<Reserved>, val options: Options, val syntax: Syntax) : Type
Constructors
Link copied to clipboard
constructor(type: ProtoType, location: Location, documentation: String, name: String, declaredFields: List<Field>, extensionFields: MutableList<Field>, oneOfs: List<OneOf>, nestedTypes: List<Type>, nestedExtendList: List<Extend>, extensionsList: List<Extensions>, reserveds: List<Reserved>, options: Options, syntax: Syntax)
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Returns the field with the qualified name qualifiedName, or null if this type has no such field.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns a copy of this containing only the types in linkedTypes and extensions in linkedFields, or null if that set is empty. This will return an EnclosingType if it is itself not linked, but its nested types are linked.
Link copied to clipboard
Returns all types and subtypes which are linked to the type.
Link copied to clipboard