Searched refs:oneofDescriptor (Results 1 – 3 of 3) sorted by relevance
495 OneofDescriptor oneofDescriptor = field.getContainingOneof();496 if (oneofDescriptor != null) {497 int index = oneofDescriptor.getIndex();511 OneofDescriptor oneofDescriptor = field.getContainingOneof();512 if (oneofDescriptor != null) {513 int index = oneofDescriptor.getIndex();
773 OneofDescriptor oneofDescriptor = fields[i].getContainingOneof(); in Descriptor() local774 if (oneofDescriptor != null) { in Descriptor()775 oneofDescriptor.fields[oneofDescriptor.fieldCount++] = fields[i]; in Descriptor()
687 OneofDescriptor oneofDescriptor = field.getContainingOneof(); in testOneofDescriptor() local688 assertNotNull(oneofDescriptor); in testOneofDescriptor()689 assertSame(oneofDescriptor, messageType.getOneofs().get(0)); in testOneofDescriptor()690 assertEquals("oneof_field", oneofDescriptor.getName()); in testOneofDescriptor()692 assertEquals(4, oneofDescriptor.getFieldCount()); in testOneofDescriptor()693 assertSame(oneofDescriptor.getField(1), field); in testOneofDescriptor()