It reads to me like a variant of the common expression “if [something] is anything to go by”, ……” (the ‘something’, in this case, being how China dealt with protests in Hong Kong).
What it implies is that by taking a past situation/event (or some other known fact) as our yardstick, we can predict what will happen in a comparable situation.