you won't build muscle on a vegetarian diet. You need protein to build muscle, so you'll want eggs and meat. Alternatively you can try some of those protein shakes...but they aren't as fulfilling
Probably the only possible way to put on muscle mass as a vegan is with loads of soy protein. Which is pretty much toxic. Have fun with cancer and endocrine problems.
There's whey protein as well. That's what's in Muscle Milk and Pure Protein products. I'm not sure if whey protein is any better for your endocrine system, FWIW.