Searched refs:getEnumType (Results 1 – 15 of 15) sorted by relevance
806 field.getEnumType().findValueByNumberCreatingIfUnknown(rawValue)); in mergeFieldFrom()808 final Object value = field.getEnumType().findValueByNumber(rawValue); in mergeFieldFrom()841 value = field.getEnumType().findValueByNumberCreatingIfUnknown(rawValue); in mergeFieldFrom()843 value = field.getEnumType().findValueByNumber(rawValue); in mergeFieldFrom()
218 result = field.getEnumType().findValueByNumberCreatingIfUnknown( in getField()406 result = field.getEnumType().findValueByNumberCreatingIfUnknown((Integer) result); in getField()
491 enumTypes[i] = new EnumDescriptor(proto.getEnumType(i), this, null, i); in FileDescriptor()560 enumTypes[i].setProto(proto.getEnumType(i)); in setProto()822 proto.getEnumType(i), file, this, i); in Descriptor()879 enumTypes[i].setProto(proto.getEnumType(i)); in setProto()1099 public EnumDescriptor getEnumType() { in getEnumType() method in Descriptors.FieldDescriptor
519 extension.descriptor.getEnumType().findValueByNumber(rawValue); in parseUnknownField()566 value = extension.descriptor.getEnumType() in parseUnknownField()964 public Internal.EnumLiteMap<?> getEnumType() { in getEnumType() method in GeneratedMessageLite.ExtensionDescriptor
63 Internal.EnumLiteMap<?> getEnumType(); in getEnumType() method
2348 enumDescriptor = descriptor.getEnumType();2413 enumDescriptor = descriptor.getEnumType();
2679 enumDescriptor = descriptor.getEnumType();2744 enumDescriptor = descriptor.getEnumType();
1678 final EnumDescriptor enumType = field.getEnumType(); in consumeFieldValue()
225 enumField.getEnumType()); in testFieldDescriptor()643 assertTrue(field.getEnumType().getName().equals("MyEnum")); in testComplexNamespacePublicDependency()644 assertTrue(field.getEnumType().getFile().getName().equals("bar.proto")); in testComplexNamespacePublicDependency()645 assertTrue(field.getEnumType().getFile().getPackage().equals( in testComplexNamespacePublicDependency()
226 enumField.getEnumType()); in testFieldDescriptor()727 assertTrue(field.getEnumType().getName().equals("MyEnum")); in testComplexNamespacePublicDependency()728 assertTrue(field.getEnumType().getFile().getName().equals("bar.proto")); in testComplexNamespacePublicDependency()729 assertTrue(field.getEnumType().getFile().getPackage().equals( in testComplexNamespacePublicDependency()
264 EnumDescriptor enumDescriptor = optionalNestedEnumField.getEnumType(); in testFieldPresenceDynamicMessage()
153 … runtime.newString(Utils.unescapeIdentifier(fieldDescriptor.getEnumType().getName()))); in buildFileDescriptor()
527 Descriptors.EnumDescriptor enumDescriptor = fieldDescriptor.getEnumType(); in convert()690 Descriptors.EnumDescriptor enumDescriptor = fieldDescriptor.getEnumType(); in setField()
246 sizes.add(field.getEnumType().getValues().size()); in validateAnnotationAndGetEnumSizes()
970 if (field.getEnumType().getFullName().equals("google.protobuf.NullValue")) { in printSingleFieldValue()1424 return field.getEnumType().getValues().get(0); in getDefaultValue()1652 && field.getEnumType().getFullName().equals(NullValue.getDescriptor().getFullName())) { in parseFieldValue()1654 return field.getEnumType().findValueByNumber(0); in parseFieldValue()1693 return parseEnum(field.getEnumType(), json); in parseFieldValue()