Right now the generator generates proto structs instead of `pdata` structs, see https://github.com/open-telemetry/opentelemetry-collector/blob/main/internal/goldendataset/span_generator.go#L50 which should return `pdata.Span` in this case.