| 512 | } |
| 513 | |
| 514 | absl::Status MapStringFieldToValue( |
| 515 | const google::protobuf::MapValueConstRef& value, |
| 516 | const google::protobuf::FieldDescriptor* absl_nonnull field, |
| 517 | google::protobuf::MessageLite* absl_nonnull result) { |
| 518 | ABSL_DCHECK_EQ(value.type(), field->cpp_type()); |
| 519 | ABSL_DCHECK(!field->is_repeated()); |
| 520 | ABSL_DCHECK_EQ(field->type(), FieldDescriptor::TYPE_STRING); |
| 521 | ABSL_DCHECK_EQ(field->cpp_type(), FieldDescriptor::CPPTYPE_STRING); |
| 522 | SetStringValue(result, value.GetStringValue()); |
| 523 | return absl::OkStatus(); |
| 524 | } |
| 525 | |
| 526 | absl::Status MapMessageFieldToValue( |
| 527 | const google::protobuf::MapValueConstRef& value, |
nothing calls this directly
no test coverage detected