def getComponentByType(self, tagSet, default=noValue,<EOL>instantiate=True, innerFlag=False):
componentValue = self.getComponentByPosition(<EOL>self.componentType.getPositionByType(tagSet),<EOL>default=default, instantiate=instantiate<EOL>)<EOL>if innerFlag and isinstance(componentValue, Set):<EOL><INDENT>return componentValue.getComponent(innerFlag=True)<EOL><DEDENT>else:<EOL><INDENT>return componentValue<EOL><DEDENT>
Returns |ASN.1| type component by ASN.1 tag.

        Parameters
        ----------
        tagSet : :py:class:`~pyasn1.type.tag.TagSet`
            Object representing ASN.1 tags to identify one of
            |ASN.1| object component

        Keyword Args
        ------------
        default: :class:`object`
            If set and requested component is a schema object, return the `default`
            object instead of the requested component.

        instantiate: :class:`bool`
            If `True` (default), inner component will be automatically instantiated.
            If 'False' either existing component or the `noValue` object will be
            returned.

        Returns
        -------
        : :py:class:`~pyasn1.type.base.PyAsn1Item`
            a pyasn1 object