| 500 | } |
| 501 | |
| 502 | absl::Status MapBytesFieldToValue( |
| 503 | const google::protobuf::MapValueConstRef& value, |
| 504 | const google::protobuf::FieldDescriptor* absl_nonnull field, |
| 505 | google::protobuf::MessageLite* absl_nonnull result) { |
| 506 | ABSL_DCHECK_EQ(value.type(), field->cpp_type()); |
| 507 | ABSL_DCHECK(!field->is_repeated()); |
| 508 | ABSL_DCHECK_EQ(field->type(), FieldDescriptor::TYPE_BYTES); |
| 509 | ABSL_DCHECK_EQ(field->cpp_type(), FieldDescriptor::CPPTYPE_STRING); |
| 510 | SetStringValueFromBytes(result, value.GetStringValue()); |
| 511 | return absl::OkStatus(); |
| 512 | } |
| 513 | |
| 514 | absl::Status MapStringFieldToValue( |
| 515 | const google::protobuf::MapValueConstRef& value, |
nothing calls this directly
no test coverage detected