(v protoreflect.Value, fd protoreflect.FieldDescriptor)
| 400 | } |
| 401 | |
| 402 | func isSingularJSONPBUnmarshaler(v protoreflect.Value, fd protoreflect.FieldDescriptor) bool { |
| 403 | if fd.Message() != nil && fd.Cardinality() != protoreflect.Repeated { |
| 404 | _, ok := proto.MessageV1(v.Interface()).(JSONPBUnmarshaler) |
| 405 | return ok |
| 406 | } |
| 407 | return false |
| 408 | } |
| 409 | |
| 410 | func (u *Unmarshaler) unmarshalValue(v protoreflect.Value, in []byte, fd protoreflect.FieldDescriptor) (protoreflect.Value, error) { |
| 411 | switch { |
no test coverage detected