| 49 | } |
| 50 | |
| 51 | void SetDescriptorPool( |
| 52 | std::shared_ptr<const google::protobuf::DescriptorPool> descriptor_pool) { |
| 53 | descriptor_pool_ = std::move(descriptor_pool); |
| 54 | } |
| 55 | |
| 56 | const google::protobuf::DescriptorPool* GetDescriptorPool() const { |
| 57 | return descriptor_pool_.get(); |