Official Docs: GlideElementDescriptor
The scoped GlideElementDescriptor class provides information about individual fields
getName
Returns the field's name
getInternalType
Returns the field's data type
getLabel
Returns the field's label
getLength
Returns the field's length