diff --git a/eval/public/structs/legacy_type_provider.cc b/eval/public/structs/legacy_type_provider.cc index fe7ed35cc..6810ec1f0 100644 --- a/eval/public/structs/legacy_type_provider.cc +++ b/eval/public/structs/legacy_type_provider.cc @@ -189,7 +189,7 @@ LegacyTypeProvider::DeserializeValueImpl(cel::ValueFactory& value_factory, } CEL_ASSIGN_OR_RETURN(auto builder, mutation_apis->NewInstance( value_factory.GetMemoryManager())); - if (!builder.message_ptr()->ParsePartialFromCord(value)) { + if (!builder.message_ptr()->ParsePartialFromString(value)) { return absl::UnknownError("failed to parse protocol buffer message"); } CEL_ASSIGN_OR_RETURN(