Home
last modified time | relevance | path

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

/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
DUnknownEnumValueTest.java139 builder.setField(optionalNestedEnumField, enumType.findValueByNumberCreatingIfUnknown(4321)); in testUnknownEnumValueInReflectionApi()
141 repeatedNestedEnumField, enumType.findValueByNumberCreatingIfUnknown(5432)); in testUnknownEnumValueInReflectionApi()
143 packedNestedEnumField, enumType.findValueByNumberCreatingIfUnknown(6543)); in testUnknownEnumValueInReflectionApi()
187 builder.setField(optionalNestedEnumField, enumType.findValueByNumberCreatingIfUnknown(4321)); in testUnknownEnumValueWithDynamicMessage()
189 repeatedNestedEnumField, enumType.findValueByNumberCreatingIfUnknown(5432)); in testUnknownEnumValueWithDynamicMessage()
191 packedNestedEnumField, enumType.findValueByNumberCreatingIfUnknown(6543)); in testUnknownEnumValueWithDynamicMessage()
216 builder.setField(optionalNestedEnumField, enumType.findValueByNumberCreatingIfUnknown(4321)); in testUnknownEnumValueWithDynamicMessage()
218 repeatedNestedEnumField, enumType.findValueByNumberCreatingIfUnknown(5432)); in testUnknownEnumValueWithDynamicMessage()
220 packedNestedEnumField, enumType.findValueByNumberCreatingIfUnknown(6543)); in testUnknownEnumValueWithDynamicMessage()
224 builder.setField(optionalNestedEnumField, enumType.findValueByNumberCreatingIfUnknown(0)); in testUnknownEnumValueWithDynamicMessage()
DMapTest.java988 mapEntryBuilder, "value", enumDescriptor.findValueByNumberCreatingIfUnknown(value + 1)); in testUnknownEnumValuesInReflectionApi()
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DMapEntry.java222 result = field.getEnumType().findValueByNumberCreatingIfUnknown((java.lang.Integer) result); in getField()
419 result = field.getEnumType().findValueByNumberCreatingIfUnknown((Integer) result); in getField()
DMessageReflection.java804 field, field.getEnumType().findValueByNumberCreatingIfUnknown(rawValue)); in mergeFieldFrom()
843 value = field.getEnumType().findValueByNumberCreatingIfUnknown(rawValue); in mergeFieldFrom()
DGeneratedMessage.java2715 return enumDescriptor.findValueByNumberCreatingIfUnknown(value);
2724 return enumDescriptor.findValueByNumberCreatingIfUnknown(value);
2805 return enumDescriptor.findValueByNumberCreatingIfUnknown(value);
2815 return enumDescriptor.findValueByNumberCreatingIfUnknown(value);
DGeneratedMessageV3.java2775 return enumDescriptor.findValueByNumberCreatingIfUnknown(value);
2784 return enumDescriptor.findValueByNumberCreatingIfUnknown(value);
2862 return enumDescriptor.findValueByNumberCreatingIfUnknown(value);
2871 return enumDescriptor.findValueByNumberCreatingIfUnknown(value);
DDescriptors.java1724 public EnumValueDescriptor findValueByNumberCreatingIfUnknown(final int number) { in findValueByNumberCreatingIfUnknown() method in Descriptors.EnumDescriptor
/third_party/protobuf/ruby/src/main/java/com/google/protobuf/jruby/
DRubyMessage.java558 … val = enumDescriptor.findValueByNumberCreatingIfUnknown(RubyNumeric.num2int(value)); in convert()
721 … enumDescriptor.findValueByNumberCreatingIfUnknown(RubyNumeric.num2int(value)); in setField()
/third_party/protobuf/java/util/src/main/java/com/google/protobuf/util/
DJsonFormat.java1915 result = enumDescriptor.findValueByNumberCreatingIfUnknown(numericValue); in parseEnum()