pub fn pb_schema_to_fields( message_descriptor: &MessageDescriptor, messages_as_jsonb: &HashSet<String>, ) -> Result<Vec<Field>, Error>