Searched refs:findFieldByNumber (Results 1 – 12 of 12) sorted by relevance
645 … 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()
1376 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()
168 assertEquals(field, messageType.findFieldByNumber(1)); in testDescriptor()169 assertNull(messageType.findFieldByNumber(571283)); in testDescriptor()747 .findFieldByNumber(UnittestProto.TestAllTypes.OPTIONAL_UINT64_FIELD_NUMBER) in testToString()
234 NestedMessage.getDescriptor().findFieldByNumber(NestedMessage.BB_FIELD_NUMBER); in testGetBuilderForExtensionField()
587 NestedMessage.getDescriptor().findFieldByNumber(NestedMessage.BB_FIELD_NUMBER); in testGetBuilderForExtensionField()
140 FieldDescriptor field = descriptor.findFieldByNumber(fieldNumber); in fromFieldNumbers()
172 assertEquals(field, messageType.findFieldByNumber(1)); in testDescriptor()173 assertNull(messageType.findFieldByNumber(571283)); in testDescriptor()
304 final FieldDescriptor valueField = fd.getMessageType().findFieldByNumber(2); in convertProto2()
768 field = type.findFieldByNumber(fieldNumber); in mergeFieldFrom()
2226 return descriptor.findFieldByNumber(fieldNumber);2234 return descriptor.findFieldByNumber(fieldNumber);
2019 return descriptor.findFieldByNumber(fieldNumber);2027 return descriptor.findFieldByNumber(fieldNumber);
780 public FieldDescriptor findFieldByNumber(final int number) { in findFieldByNumber() method in Descriptors.Descriptor