typesAndNestedTypes

Returns all types and subtypes which are found in the proto file.