Document the fields of `VersionNumber` (#50179)
`VersionNumber`'s fields are currently not documented, and therefore,
private by default.
However, if people want to use `VersionNumber` for anything other than
the documented comparison operations, users will have to access the
fields.