From Pakistan to Japan is indeed a big region and "before rice" a long and varied time frame. But this question seems to imply that it is concerned with the early neolithic centers of agriculture in Asia and what the first main staple foods in these were, excluding all rice.
Short answer to that for the North-Eastern region in question, over the course of quite a few millennia: mainly millet, but also hemp, buckwheat, cucurbitaceous plants, and peas.
Jomon Japan as an example did all that (excluding hemp for while) from 5000 BCE before rice arrived only 2500 years ago via Chinese settlers. Compared to central Yangtze river society where rice first became the staple food 6000 years ago. Further South to the New Guinea system of agriculture starchy foods like sago, yam and taro went into cultivation and stomachs. Further West the influence of Mesopotamian innovation is felt and grasses like wheat make their mark after people relied on millet again and until people learned to know rice cultivation.
Despite the obsessive dominance of rice in the later Yangtze region of China, even in that area and North of millet species went into cultivation earlier, as early as >8000 years BCE. Conversely, rice itself did apparently not spread from China as the epicenter, but was domesticated independently in other regions of Asia as well. And the prehistory of rice cultivation in the early periods of China has some problems:
Research in South China emphasizes rice. Unfortunately, the literature is rife with unsubstantiated claims of early domestication. Zengpiyan cave (11,000 B.P.) has been assumed to have evidence of pig domestication and rice agriculture but recent research indicates that the occupants had no domesticated plants or animals. In particular, flotation samples document the collection of a range of wild plants, none of them small grain plants (Zhao 2003). The oldest directly-dated rice grains have been found in two areas: the Yangzi River drainage basin (6500 B.C.); and to the north in Henan at Jiahu (6000–7000 B.C.) (Crawford and Shen 1998).
Gary W. Crawford: "East Asian Plant Domestication", in: Miriam T. Stark: "Archaeology of Asia", Blackwell Studies In Global Archaeology 7, Blackwell: Malden, Oxford, 2006. (AoA)
In any regions South of mainland China indigenous forms of agriculture had developed, often perennial vegeculture alone or in addition to annual crops. These regions often displayed some kind of resistance to the whole "neolithic package". That is taking ceramics quickly and only slowly adopting millet and even slower in adopting rice.
Interestingly, while agriculture spread South and rice went along with it, the more tropical climate necessitated also to transfer the principle but refrain from rice as well, until cultivars more suited were bred:
We have no evidence that any of them grew rice in the equatorial islands of eastern Indonesia or in Oceania, and it seems that this subtropical cereal faded from the economic repertoire as people moved south (Dewar 2003). In equatorial latitudes rice was replaced by tubers and fruits such as yams, taro, coconut, breadfruit, bananas, pandanus, canarium nuts, and many others, all originally domesticated in the tropical regions from Malaysia through to Melanesia (Lebot 1999). Neolithic populations domesticated or acquired these crops as they moved southwards and eastwards through the islands, and some might have been domesticated independently in and around the island of New Guinea, where evidence for swamp drainage and presumably an independent agricultural tradition in the highlands dates back to beyond 6,000 years ago (Denham et al. 2003).
Peter Bellwood: "Agriculture, Languages, And Genes In China And Southeast Asia", (AoA).
So the even shorter answer would be the generic description of absolutely everything that can be found in the wild in the surroundings and yields anything starchy.
Be it in the tubers, roots, seeds, stems, foliage when identified as nourishing and only halfway productive in early forms of cultivation was cultivated. This the spread in all directions until soil and climate limits, which were then slowly expanded by breeding.
One thing should be quite clear: never has any staple food completely replaced another staple food where conditions to grow them are suitable. The relative importance of a single food crop compared to others might change over time. Such is the case for the millets, which were the most dominant species cultivated and today seen as "almost forgot". But all historic and prehistoric societies add food staples to their diets and diversify the available palette, increase yields and avoid catastrophic mono-crop failures.
Over several millennia, four main areas of extension of Neolithic agriculture developed from the four principal expanding centers. Neolithic agriculture from the Near Eastern center expanded step by step in every direction, starting 9,000 years ago. By the eighth millennium before the present, it had spread to the whole Near East and the eastern rivers of the Mediterranean. By the sixth and fifth millennia, it had spread to the western rivers of the Mediterranean and, via the Danube Valley, had penetrated into central Europe, then into northwest Europe. During the same time, it expanded toward the east as far as India and toward the south as far as central Africa, bypassing the large equatorial forest. By the fourth and third millennia, it had progressed toward the east, all along the thick band of broad-leaved forest that borders the south of the taiga, as far as the Far East where it came into contact with agriculture of Chinese origin. In Africa, it continued to expand toward the south, up until recent times.
By the ninth millennium before the present, agriculture of Chinese origin, with a base of millet, had hardly occupied more than the middle and lower valley of the Yellow River. By the eighth millennium, after having adopted the cultivation of rice, it extended as far as the Yangzi River, and 6,000 years ago it had spread to Manchuria, Korea, Japan, Central Asia, Southeast Asia, where it combined with agriculture of New Guinean origin, and South Asia (India), where it encountered agriculture of Near Eastern origin.
Marcel Mazoyer & Laurence Roudart: "A History of World Agriculture. From the Neolithic Age to the Current Crisis", Earthscan: London, Sterling, 2006.
Even for the lands connected geographically closer to "rice is China" in South East Asia itself:
From southern China rice and millet had spread further to mainland Southeast Asia by 4,000 years ago. Prior to the arrival of rice, there is evidence for the consumption of starchy foods, such as palm starch, bananas, arrow root, and Job’s Tears, although it is unclear whether any of these were cultivated, as opposed to gathered. Once adopted, rice cultivation probably remained limited for some time, with evidence for population growth, and agricultural impacts on the wider landscape evident in erosional signatures in offshore ocean sediments, only from around 500 BCE.
Eleanor Kingwell-Banham & Cameron A. Petrie & Dorian Q. Fuller: "Early Agriculture in South Asia", in: Graeme Barker & Candice Goucher: "The Cambridge World History. Volume I. A World with Agriculture. 12000 BCE – 500 CE", Cambridge University Press: Cambridge New York, 2015. (CWHA)
Looking at the region of Thailand which lay in the middle of most of the Asiatic zones of cultural exchange and zones of agricultural expansion:
The majority of their samples consisted of millet (Setaria italica), some Panicum sp., and Coix sp. AMS dating of seeds and charcoal at these sites was good, but complicated by issues of disturbance; however, they feel that the chronology indicates use of millets from the late third millennium BCE with no evidence of rice in the foodways at any of these sites until the first millennium BCE. This again seems to indicate that while rice was present and possibly cultivated in the region by the second millennium BCE, it remained a minor component of the diet.
Huw Barton: "Early agriculture in Southeast Asia and the Pacific", CWHA.
That sounds complicated, because it is. To aid in an overview:
Figure 1 The earliest archaeobotanical records of selected domesticated crops in three regions of Eurasia: W (western region: Europe, the Eastern Mediterranean and Asia west of the Caspian Sea); S (southern region: India, Pakistan and Nepal); E (eastern region: China, Japan and Southeast Asia).
In terms of ecological opportunism, a notable feature of the earliest crops that spread across Eurasia is the brevity of their growth cycle and ripening period. Indeed, the order in which their range expanded relates inversely to the length of their growth cycle. The fast-maturing broomcorn millet was the first crop to spread across Eurasia, followed by buckwheat, foxtail millet and ultimately the relatively slow-maturing bread wheat. We can infer that the most opportune crops were those that could produce high yield under short-period growing seasons. On the one hand, this would permit optimal use of landscapes experiencing long winters and/or dry summers. On the other hand, it would allow crops to be inserted into multiple cropping systems in intensely farmed landscapes.
Martin Jones et al.: "Food Globalisation in Prehistory", World Archaeology, 43:4, 665-675, DOI: 10.1080/00438243.2011.624764
Figure 1 The spread of wheat and barley across Asia, with sites representing the earliest finds for each region shown. For a selection of sites with adequate data, the relative proportions of cereals (wheat, barley, rice, broomcorn millet, foxtail millet, and other millets) are shown in the pie graphs.
Sites key: 1. Anau; 2. Gonur; 3. Shahr-i-Sokhta; 4. Mundigak; 5. Shortugai; 6. MiriQalat; 7. Mehrgarh; 8. Pirak; 9. Tarakai Qila; 10. Ghalegay; 11. Kanishpur; 12. Burzahom; 13. Semthan; 14. Harappa; 15. Kunal; 16. Mitathal; 17. Chanudaro; 18. Kanmer; 19. Rojdi; 20. Balathal; 21. Mahagara; 22. Lahuradewa; 23. Senuwar; 24. Chirand; 25. Kayatha; 26. Navdatoli; 27. Nevasa; 28. Apegaon and Paithan; 29. Tuljapur Garhi; 30. Adam Cave; 31. Daimabad; 32. Inamgaon; 33. Piklihal; 34. Hallur; 35. Sanganakallu; 36. Hanumantaraopeta; 37. Mebrak cave; 38. Begash; 39. Qunbake; 40. Yanghai; 41. Gumugou; 42. Xiaohe; 43. Lanzhouwanzi; 44. Huoshaogou; 45.Donghuishan; 46. Fengtai; 47. Xishanping; 48. Zhouyuan; 49. Zhaojialai; 50. Baligang; 51. Zaojiaoshu; 52. Tianposhuiku; 53. Dugangsi; 54. Wangchengang; 55. Liangchengzhen; 56. Zhaojiazhuang; 57. Nam River.
Crop movements between major agricultural centres in Africa and Eurasia discussed in this paper.
Nicole Boivin et al.: "Old World globalization and the Columbian exchange", World Archaeology Vol. 44(3): 452–469 Debates in World Archaeology, 2012. (DOI)
Only focusing on rice again reveals again that agriculture was invented several times in different places, and first the idea spread from there, then the crops, and millet being the most important of these at first. Notice the very SouthEastern influence of vegeculture from Newguinea and Indonesia:
Some hypotheses linking the distribution of subsistence cultures and language affiliation for ca. 3000 BC, with indication of the dispersal directions for north Chinese millets, middle Yangtze rice and millet systems, and possible Dawenkou-related coastal dispersal southwards (Tanshishan and Nanguanli). The basemap is from Fuller et al. (2011b) and shows in grey a reconstruction of land area under wet rice cultivation as a percentage of modern wet rice land area (the percentage scale is indicated in the shaded bar at the right). It is presumed that wet rice supported denser and expanding human populations. Language family abbreviations: AA Austroasiatic, AN Austronesian, P.Drav. Proto- Dravidian, ST Sino-Tibetan.
Some hypotheses linking the distribution of subsistence cul- tures and language affiliation for ca. 2000 BC. Indicated are the crop dispersal towards Southeast Asia and the diffusion of western crops into Longshan China, and Chinese crops, notable millets westwards and southwards (to South Asia, Yemen, Sudan). The basemap is from Fuller et al. (2011b) and shows in grey a reconstruction of land area under wet rice cultivation as a percentage of modern wet rice land area (the percentage scale is indicated in the shaded bar at the right). It is preseumed that wet rice supported denser and expanding human pop- ulations. The Bactria–Margiana Archaeological Complex (BMAC) is indicated. Language family abbreviations: AA Austroasiatic, AN Austronesian, ST Sino-Tibetan. Munda languages are included in the Austroasiatic family.
Some hypotheses relating the rise to dominance of regional languages and state formation built on the infilling of Asian landscapes with intensive rice agriculture. The basemap is from Fuller et al. (2011b) and shows in grey a reconstruction of land area under wet rice cultivation as a percentage of modern wet rice land area (the percentage scale is indicated in the shaded bar at the right). AN Austronesian languages.
Dorian Q. Fuller: "Pathways to Asian Civilizations: Tracing the Origins and Spread of Rice and Rice Cultures", Rice (2011) 4:78–92, (DOI)