Home
last modified time | relevance | path

Searched refs:findValueByNumberCreatingIfUnknown (Results 1 – 8 of 8) sorted by relevance

/external/protobuf/java/core/src/test/java/com/google/protobuf/
DUnknownEnumValueTest.java137 enumType.findValueByNumberCreatingIfUnknown(4321)); in testUnknownEnumValueInReflectionApi()
139 enumType.findValueByNumberCreatingIfUnknown(5432)); in testUnknownEnumValueInReflectionApi()
141 enumType.findValueByNumberCreatingIfUnknown(6543)); in testUnknownEnumValueInReflectionApi()
189 enumType.findValueByNumberCreatingIfUnknown(4321)); in testUnknownEnumValueWithDynamicMessage()
191 enumType.findValueByNumberCreatingIfUnknown(5432)); in testUnknownEnumValueWithDynamicMessage()
193 enumType.findValueByNumberCreatingIfUnknown(6543)); in testUnknownEnumValueWithDynamicMessage()
218 enumType.findValueByNumberCreatingIfUnknown(4321)); in testUnknownEnumValueWithDynamicMessage()
220 enumType.findValueByNumberCreatingIfUnknown(5432)); in testUnknownEnumValueWithDynamicMessage()
222 enumType.findValueByNumberCreatingIfUnknown(6543)); in testUnknownEnumValueWithDynamicMessage()
227 enumType.findValueByNumberCreatingIfUnknown(0)); in testUnknownEnumValueWithDynamicMessage()
DMapTest.java750 enumDescriptor.findValueByNumberCreatingIfUnknown(value + 1)); in testUnknownEnumValuesInReflectionApi()
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DMapEntry.java191 result = field.getEnumType().findValueByNumberCreatingIfUnknown( in getField()
401 result = field.getEnumType().findValueByNumberCreatingIfUnknown( in getField()
DMessageReflection.java809 field.getEnumType().findValueByNumberCreatingIfUnknown(rawValue)); in mergeFieldFrom()
844 value = field.getEnumType().findValueByNumberCreatingIfUnknown(rawValue); in mergeFieldFrom()
DGeneratedMessage.java2547 return enumDescriptor.findValueByNumberCreatingIfUnknown(value);
2556 return enumDescriptor.findValueByNumberCreatingIfUnknown(value);
2637 return enumDescriptor.findValueByNumberCreatingIfUnknown(value);
2647 return enumDescriptor.findValueByNumberCreatingIfUnknown(value);
DDescriptors.java1603 public EnumValueDescriptor findValueByNumberCreatingIfUnknown(final int number) { in findValueByNumberCreatingIfUnknown() method in Descriptors.EnumDescriptor
/external/protobuf/ruby/src/main/java/com/google/protobuf/jruby/
DRubyMessage.java530 … val = enumDescriptor.findValueByNumberCreatingIfUnknown(RubyNumeric.num2int(value)); in convert()
689 … enumDescriptor.findValueByNumberCreatingIfUnknown(RubyNumeric.num2int(value)); in setField()
/external/protobuf/java/util/src/main/java/com/google/protobuf/util/
DJsonFormat.java1596 result = enumDescriptor.findValueByNumberCreatingIfUnknown(numericValue); in parseEnum()