| 73 | } // namespace |
| 74 | |
| 75 | Status PackProtoCommand(const google::protobuf::Message& command, FlightDescriptor* out) { |
| 76 | std::string buf; |
| 77 | RETURN_NOT_OK(PackToAnyAndSerialize(command, &buf)); |
| 78 | *out = FlightDescriptor::Command(std::move(buf)); |
| 79 | return Status::OK(); |
| 80 | } |
| 81 | |
| 82 | Status PackProtoAction(std::string action_type, const google::protobuf::Message& action, |
| 83 | Action* out) { |
no test coverage detected