Searched refs:findValueByNumberCreatingIfUnknown (Results 1 – 9 of 9) sorted by relevance
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | UnknownEnumValueTest.java | 139 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()
|
D | MapTest.java | 988 mapEntryBuilder, "value", enumDescriptor.findValueByNumberCreatingIfUnknown(value + 1)); in testUnknownEnumValuesInReflectionApi()
|
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | MapEntry.java | 222 result = field.getEnumType().findValueByNumberCreatingIfUnknown((java.lang.Integer) result); in getField() 419 result = field.getEnumType().findValueByNumberCreatingIfUnknown((Integer) result); in getField()
|
D | MessageReflection.java | 804 field, field.getEnumType().findValueByNumberCreatingIfUnknown(rawValue)); in mergeFieldFrom() 843 value = field.getEnumType().findValueByNumberCreatingIfUnknown(rawValue); in mergeFieldFrom()
|
D | GeneratedMessage.java | 2715 return enumDescriptor.findValueByNumberCreatingIfUnknown(value); 2724 return enumDescriptor.findValueByNumberCreatingIfUnknown(value); 2805 return enumDescriptor.findValueByNumberCreatingIfUnknown(value); 2815 return enumDescriptor.findValueByNumberCreatingIfUnknown(value);
|
D | GeneratedMessageV3.java | 2775 return enumDescriptor.findValueByNumberCreatingIfUnknown(value); 2784 return enumDescriptor.findValueByNumberCreatingIfUnknown(value); 2862 return enumDescriptor.findValueByNumberCreatingIfUnknown(value); 2871 return enumDescriptor.findValueByNumberCreatingIfUnknown(value);
|
D | Descriptors.java | 1724 public EnumValueDescriptor findValueByNumberCreatingIfUnknown(final int number) { in findValueByNumberCreatingIfUnknown() method in Descriptors.EnumDescriptor
|
/third_party/protobuf/ruby/src/main/java/com/google/protobuf/jruby/ |
D | RubyMessage.java | 558 … 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/ |
D | JsonFormat.java | 1915 result = enumDescriptor.findValueByNumberCreatingIfUnknown(numericValue); in parseEnum()
|