China has been increasingly assertive in the Asia Pacific, from building military infrastructure in the South China Sea to sending ships and aircraft near disputed islands.