Searched refs:field_by_number (Results 1 – 2 of 2) sorted by relevance
1366 self.assertEquals('field', HasNamedFields.field_by_number(1).name)1409 self.assertEquals('a3', ComplexMessage.field_by_number(3).name)1410 self.assertEquals('b1', ComplexMessage.field_by_number(1).name)1411 self.assertEquals('c2', ComplexMessage.field_by_number(2).name)1414 ComplexMessage.field_by_number,
868 def field_by_number(cls, number): member in Message1118 self.__field = message_class.field_by_number(number)