code: def Pack(self, msg, type_url_prefix='type.googleapis.com/'):
      
      if len(type_url_prefix) < 1 or type_url_prefix[-1] != '/':
        self.type_url = '%s/%s' % (type_url_prefix, msg.DESCRIPTOR.full_name)
      else:
        self.type_url = '%s%s' % (type_url_prefix, msg.DESCRIPTOR.full_name)
      self.value = msg.SerializeToString()
docs: Packs the specified message into current Any message.