Measuring the Absolute Total Intrinsic Redshifts (Surface Gravity Plus the Convective Blueshift) of the Main-sequence Stars and Red Giants using Gaia Data