<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def build_intent(self, intent_name):
 """Builds an Intent object of the given name"""

        # TODO: contexts
        is_fallback = self.assist._intent_fallbacks[intent_name]
        contexts = self.assist._required_contexts[intent_name]
        events = self.assist._intent_events[intent_name]
        new_intent = Intent(intent_name, fallback_intent=is_fallback, contexts=contexts, events=events)
        self.build_action(new_intent)
        self.build_user_says(new_intent)  # TODO
        return new_intent