}
if ( type.isEmbedded( propertyName ) ) {
ProtobufValueWrapperTypeDescriptor sourceType = (ProtobufValueWrapperTypeDescriptor) type;
Descriptors.Descriptor descriptor = sourceType.getMessageDescriptor().findFieldByName(propertyName).getMessageType();
return new PathedPropertyReference(
propertyName,
new ProtobufValueWrapperTypeDescriptor(descriptor),
false);
}
else {
return new PathedPropertyReference(
propertyName,
new HSearchPropertyTypeDescriptor(),
false
);
}