The answer is simple: they are the same as those of a shepherd.
The first duty of a shepherd is to be faithful to his flock, and he is to guide them in the way of righteousness. The second duty of a shepherd is to be compassionate towards the flock. The third duty of a shepherd is to feed the flock. The fourth duty of a shepherd is to watch over the flock. The fifth duty of a shepherd is to be kind and merciful to the flock.
A judge is also a shepherd, and his five duties are the same as those of a shepherd. A judge is to be faithful to his people. He is to guide them in the way of righteousness. He is to be compassionate towards his people. He is to feed his people. He is to watch over his people. He is to be kind and merciful to his people.
He is to feed his people.