First, I assume you were over 18 when this occurred. If you were under 18, then there would be a violation of Penal Code section 261.5 - unlawful sexual intercourse with a minor (a.k.a. "statutory rape").
The only rape by fraud statues in California involve three theories: 1) defrauding somebody into thinking that the sexual act was necessary for a medical purpose, 2) they were defrauded regarding the "essential characteristics of the act" or 3) if the victim was tricked into thinking they were having sex with their spouse but they weren't.
The medical situation doesn't seem to apply, nor does the spousal one, so the second one is what I'll address.
In order for that to be committed, you would have had to been tricked into what you were doing. Not that you were deceived regarding his age, but rather that you were tricked into having sexual intercourse when you didn't realize that was what was going to happen.
I agree with the answers given by the other California attorneys. Sorry, but this does not appear to be a criminal violation.