I don't see the specs, so you're seeing something that didn't show up here.
What is exactly the problem, do you think the varistor or diode failed?
I don't know where you're at, so I don't know your input voltage to even take a guess at this.
Can you get any information from the manufacturer of your generator?
Do you have any kind of electronic schematic on your generator?
Anything in the owner's manual?
Is this something you got off ebay, that might have a different operating voltage or
hertz rating than where you're at (from a different country)?
I'm assuming your generator doesn't work, but are you pretty sure this is your problem?
What are the symptoms of the failure?
Do you see any obvious circuitry damage?
Usually varistors fail with damage and I don't see any here. If you're pretty sure the
diode failed, the '10F' prefix may help you get into the close neighborhood of the rating
of the diode, but I think we could use a little more information about the basic problem.