The narcotics deputy was transported to a hospital after the incident, which took place about 5:30 a.m. in the 11200 block of Broadmead Street, sheriff's officials said. His injuries were described as minor.
Three suspects were taken into custody. Their identities and possible charges were not immediately disclosed.
No other weapons were fired, investigators said.