(cls, s, **kwargs)
return cls.parse_from_cmessage(pb2_obj, **kwargs)
Parse a bytes object and create a class object.

        :param bytes s: A bytes object.
        :return:        A class object.
        :rtype:         cls
Parse a bytes object and create a class object.
Parse a bytes object and create a class object .
def parse(cls, s, **kwargs):
        """
        Parse a bytes object and create a class object.

        :param bytes s: A bytes object.
        :return:        A class object.
        :rtype:         cls
        """

        pb2_obj = cls._get_cmsg()
        pb2_obj.ParseFromString(s)

        return cls.parse_from_cmessage(pb2_obj, **kwargs)
def parse ( cls , s , * * kwargs ) : pb2_obj = cls . _get_cmsg ( ) pb2_obj . ParseFromString ( s ) return cls . parse_from_cmessage ( pb2_obj , * * kwargs )