Looks up a message id for a tag spec by AttrListName. Args: attr_list_name: a string - the AttrList::name field. Returns: The message id - a number.
(self, attr_list_name)
| 228 | self.message_id_by_attr_list_name_[attr_list.name] = message_id |
| 229 | |
| 230 | def MessageIdForAttrListName(self, attr_list_name): |
| 231 | """Looks up a message id for a tag spec by AttrListName. |
| 232 | |
| 233 | Args: |
| 234 | attr_list_name: a string - the AttrList::name field. |
| 235 | Returns: |
| 236 | The message id - a number. |
| 237 | """ |
| 238 | return self.message_id_by_attr_list_name_[attr_list_name] |
| 239 | |
| 240 | |
| 241 | def ElementTypeFor(descriptor, field_desc): |