Description
It is a weird ergonomic to have an optional field and be required to construct the OptX to pass to SetX, instead of the generated API doing this itself.
The semantics of Set imply that the field becomes no longer unknown, but has a value.
E.g.
optx := OptString{Value: "string", Set: true}
s.SetX(optx)
versus