Fix build

enum EMPTY_ARRAY is not defined in the proto file.
using the method emptyArray instead