Home
last modified time | relevance | path

Searched refs:findFieldByNumber (Results 1 – 12 of 12) sorted by relevance

/external/protobuf/ruby/src/main/java/com/google/protobuf/jruby/
DRubyMessage.java645 … Descriptors.FieldDescriptor keyField = fieldDescriptor.getMessageType().findFieldByNumber(1); in getField()
646 … Descriptors.FieldDescriptor valueField = fieldDescriptor.getMessageType().findFieldByNumber(2); in getField()
777 … Descriptors.FieldDescriptor keyField = fieldDescriptor.getMessageType().findFieldByNumber(1); in newMapForField()
778 … Descriptors.FieldDescriptor valueField = fieldDescriptor.getMessageType().findFieldByNumber(2); in newMapForField()
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DMapTest.java1376 TestMap.getDescriptor().findFieldByNumber(TestMap.INT32_TO_MESSAGE_FIELD_FIELD_NUMBER); in testInitFromPartialDynamicMessage()
1378 FieldDescriptor keyField = mapEntryType.findFieldByNumber(1); in testInitFromPartialDynamicMessage()
1379 FieldDescriptor valueField = mapEntryType.findFieldByNumber(2); in testInitFromPartialDynamicMessage()
1397 TestMap.getDescriptor().findFieldByNumber(TestMap.INT32_TO_MESSAGE_FIELD_FIELD_NUMBER); in testInitFromFullyDynamicMessage()
1399 FieldDescriptor keyField = mapEntryType.findFieldByNumber(1); in testInitFromFullyDynamicMessage()
1400 FieldDescriptor valueField = mapEntryType.findFieldByNumber(2); in testInitFromFullyDynamicMessage()
DDescriptorsTest.java168 assertEquals(field, messageType.findFieldByNumber(1)); in testDescriptor()
169 assertNull(messageType.findFieldByNumber(571283)); in testDescriptor()
747 .findFieldByNumber(UnittestProto.TestAllTypes.OPTIONAL_UINT64_FIELD_NUMBER) in testToString()
DDynamicMessageTest.java234 NestedMessage.getDescriptor().findFieldByNumber(NestedMessage.BB_FIELD_NUMBER); in testGetBuilderForExtensionField()
DGeneratedMessageTest.java587 NestedMessage.getDescriptor().findFieldByNumber(NestedMessage.BB_FIELD_NUMBER); in testGetBuilderForExtensionField()
/external/protobuf/java/util/src/main/java/com/google/protobuf/util/
DFieldMaskUtil.java140 FieldDescriptor field = descriptor.findFieldByNumber(fieldNumber); in fromFieldNumbers()
/external/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DDescriptorsTest.java172 assertEquals(field, messageType.findFieldByNumber(1)); in testDescriptor()
173 assertNull(messageType.findFieldByNumber(571283)); in testDescriptor()
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DDescriptorMessageInfoFactory.java304 final FieldDescriptor valueField = fd.getMessageType().findFieldByNumber(2); in convertProto2()
DMessageReflection.java768 field = type.findFieldByNumber(fieldNumber); in mergeFieldFrom()
DGeneratedMessage.java2226 return descriptor.findFieldByNumber(fieldNumber);
2234 return descriptor.findFieldByNumber(fieldNumber);
DGeneratedMessageV3.java2019 return descriptor.findFieldByNumber(fieldNumber);
2027 return descriptor.findFieldByNumber(fieldNumber);
DDescriptors.java780 public FieldDescriptor findFieldByNumber(final int number) { in findFieldByNumber() method in Descriptors.Descriptor