Preheat oven to 350 degrees F (175 degrees C). Wash pumpkin, cut off top, scrape out seeds and discard. Place hamburger in a large, deep skillet. Crumble and cook over medium high heat until evenly brown. Drain fat, add onion and garlic; saute slightly. Add sugar, Italian herbs, salt, pepper, tomato juice and rice; mix thoroughly. Layer inside of pumpkin with 1/3 of cabbage, green beans and beef and rice mixture. Repeat layers, replace lid and bake for 2 to 3 hours.