Searched refs:findValueByName (Results 1 – 10 of 10) sorted by relevance
70 Descriptors.EnumValueDescriptor value = descriptor.findValueByName(name.asJavaString()); in resolve()
120 val = enumDescriptor.findValueByName(value.asJavaString()); in checkType()
560 val = enumDescriptor.findValueByName(value.asJavaString()); in convert()
313 assertEquals(value, enumType.findValueByName("FOREIGN_FOO")); in testEnumDescriptor()315 assertNull(enumType.findValueByName("NO_SUCH_VALUE")); in testEnumDescriptor()
1972 this.nestedFoo = nestedEnum.findValueByName("FOO"); in ReflectionTester()1973 this.nestedBar = nestedEnum.findValueByName("BAR"); in ReflectionTester()1974 this.nestedBaz = nestedEnum.findValueByName("BAZ"); in ReflectionTester()1975 this.foreignFoo = foreignEnum.findValueByName("FOREIGN_FOO"); in ReflectionTester()1976 this.foreignBar = foreignEnum.findValueByName("FOREIGN_BAR"); in ReflectionTester()1977 this.foreignBaz = foreignEnum.findValueByName("FOREIGN_BAZ"); in ReflectionTester()1978 this.importFoo = importEnum.findValueByName("IMPORT_FOO"); in ReflectionTester()1979 this.importBar = importEnum.findValueByName("IMPORT_BAR"); in ReflectionTester()1980 this.importBaz = importEnum.findValueByName("IMPORT_BAZ"); in ReflectionTester()
299 assertEquals(value, enumType.findValueByName("FOREIGN_FOO")); in testEnumDescriptor()301 assertNull(enumType.findValueByName("NO_SUCH_VALUE")); in testEnumDescriptor()
2748 this.nestedFoo = nestedEnum.findValueByName("FOO"); in ReflectionTester()2749 this.nestedBar = nestedEnum.findValueByName("BAR"); in ReflectionTester()2750 this.nestedBaz = nestedEnum.findValueByName("BAZ"); in ReflectionTester()2751 this.foreignFoo = foreignEnum.findValueByName("FOREIGN_FOO"); in ReflectionTester()2752 this.foreignBar = foreignEnum.findValueByName("FOREIGN_BAR"); in ReflectionTester()2753 this.foreignBaz = foreignEnum.findValueByName("FOREIGN_BAZ"); in ReflectionTester()2754 this.importFoo = importEnum.findValueByName("IMPORT_FOO"); in ReflectionTester()2755 this.importBar = importEnum.findValueByName("IMPORT_BAR"); in ReflectionTester()2756 this.importBaz = importEnum.findValueByName("IMPORT_BAZ"); in ReflectionTester()
1513 defaultValue = enumType.findValueByName(proto.getDefaultValue()); in crossLink()1643 public EnumValueDescriptor findValueByName(final String name) { in findValueByName() method in Descriptors.EnumDescriptor
1920 value = enumType.findValueByName(id); in consumeFieldValue()
1823 EnumValueDescriptor result = enumDescriptor.findValueByName(value); in parseEnum()