China Coast Guard vessel 3901, with a 12,000 ton displacement, will carry 76 millimeter rapid fire guns, two auxiliary guns and two anti-aircraft machine guns
Sounds like standard anti-pirate, coast guard armament. The size of the ship is related to sea worthiness in large seas and fuel capacity for sustained patrols.