(self)
return self.serialize_to_cmessage().SerializeToString()
Serialize the class object and returns a bytes object.

        :return:    A bytes object.
        :rtype:     bytes
Serialize the class object and returns a bytes object.
Serialize the class object and returns a bytes object .
def serialize(self):
        """
        Serialize the class object and returns a bytes object.

        :return:    A bytes object.
        :rtype:     bytes
        """

        return self.serialize_to_cmessage().SerializeToString()
def serialize ( self ) : return self . serialize_to_cmessage ( ) . SerializeToString ( )