Searched refs:findValueByNumber (Results 1 – 12 of 12) sorted by relevance
54 … Descriptors.EnumValueDescriptor value = descriptor.findValueByNumber(RubyNumeric.num2int(number)); in lookup()
130 if (enumDescriptor.findValueByNumber(0) == null) { in buildFileDescriptor()
214 T findValueByNumber(int number); in findValueByNumber() method463 T result = enumMap.findValueByNumber(value); in newEnumConverter()
808 final Object value = field.getEnumType().findValueByNumber(rawValue); in mergeFieldFrom()843 value = field.getEnumType().findValueByNumber(rawValue); in mergeFieldFrom()
519 extension.descriptor.getEnumType().findValueByNumber(rawValue); in parseUnknownField()567 .findValueByNumber(rawValue); in parseUnknownField()1104 return descriptor.enumTypeMap.findValueByNumber((Integer) value); in singularFromFieldSetType()
1598 public EnumValueDescriptor findValueByNumber(final int number) { in findValueByNumber() method in Descriptors.EnumDescriptor1608 EnumValueDescriptor result = findValueByNumber(number); in findValueByNumberCreatingIfUnknown()
1682 value = enumType.findValueByNumber(number); in consumeFieldValue()
488 assertEquals(value, map.findValueByNumber(value.getNumber())); in testEnumMap()491 assertTrue(map.findValueByNumber(12345) == null); in testEnumMap()
314 assertEquals(value, enumType.findValueByNumber(4)); in testEnumDescriptor()
1626 result = enumDescriptor.findValueByNumber(numericValue); in parseEnum()1654 return field.getEnumType().findValueByNumber(0); in parseFieldValue()
576 assertEquals(value, map.findValueByNumber(value.getNumber())); in testEnumMap()579 assertTrue(map.findValueByNumber(12345) == null); in testEnumMap()
325 assertEquals(value, enumType.findValueByNumber(4)); in testEnumDescriptor()