Well if you're interested in building muscle as a vergetarian your main issue will be protein quality.
Vegetables/grains alone won't have much in the way of stimulating protein synthesis, but combining a variety of sources (such as lentils, broccoli, some nuts) in 1 meal will go a long way in...