| 154 | } |
| 155 | |
| 156 | bool RedisRequest::SerializeTo(butil::IOBuf* buf) const { |
| 157 | if (_has_error) { |
| 158 | LOG(ERROR) << "Reject serialization due to error in AddCommand[V]"; |
| 159 | return false; |
| 160 | } |
| 161 | *buf = _buf; |
| 162 | return true; |
| 163 | } |
| 164 | |
| 165 | ::google::protobuf::Metadata RedisRequest::GetMetadata() const { |
| 166 | ::google::protobuf::Metadata metadata{}; |
no outgoing calls