after the big bang. Does that means the observable universe was the size of a baseball, or does it mean the entire universe? I'm guessing it means the observable universe - as we really don't know much about the size of the entire universe.
When they say the universe was the size of a baseball about a billion billion billion billionth of a second after the big bang, does that means the observable universe was the size of a baseball, or does it mean the entire universe?
In the past, the answer would have been the entire universe. Big bang cosmology is all about the expanding universe starting off small circa 13.8 billion years ago. You even hear about a point singularity. However nowadays the answer tends to be the the observable universe. The change started in 2013 or thereabouts when WMAP discovered that the universe appeared to be "flat". That's when a non-sequitur crept in wherein a flat universe had to be an infinite universe. I don't know where it came from, but you can see it in respectable sources, like this NASA article:
"WMAP has confirmed this result with very high accuracy and precision. We now know (as of 2013) that the universe is flat with only a 0.4% margin of error. This suggests that the Universe is infinite in extent; however, since the Universe has a finite age, we can only observe a finite volume of the Universe. All we can truly conclude is that the Universe is much larger than the volume we can directly observe."
The trouble is that it doesn't suggest that the universe is infinite in extent. That's only true if you have a flat-Earth mentality. The story goes that in the old days, people could not conceive of a world that was curved. They could only conceive of a world with an edge. Nowadays we have cosmologists who cannot conceive of a world that is not curved, they cannot conceive of a world with an edge. See this related question and note answer 3 by Danu, where he says we assume that the universe is spatially homogeneous and isotropic. The infinite universe is built on this assumption. But it's only an assumption. For all we know some guy 46 billion light years away might be looking up at the night sky wondering why half of it is black, or a mirror-image of the other. And if you've read Einstein's Leyden Address where he describes a gravitational field as a place where space is "neither homogeneous nor isotropic" you appreciate that the assumption is not a good one anyway, particularly with respect to dark matter. And remember that of the three solution as to the shape of the universe, two were always going to be wrong.
Public domain NASA image
And none of them are actually telling you the shape of the universe. Is it shaped like a ball? Like a torus? The Planck mission said no. So how about a chocolate teapot? And how can an infinite universe expand when the energy-pressure is a counterbalanced at all locations? IMHO there's a lot of confusion here, it needs fixing, and questions like yours should help things along a little.