return protobuf statuses from xs