public int getRepeatedFieldCount(FieldDescriptor field) { verifyContainingType(field); return fields.getRepeatedFieldCount(field); }
/** Get the number of elements in a repeated extension. */ public final <Type> int getExtensionCount( final GeneratedExtension<MessageType, List<Type>> extension) { verifyExtensionContainingType(extension); return extensions.getRepeatedFieldCount(extension.descriptor); }