def _compute_type_url(klass, prefix=_GOOGLE_APIS_PREFIX):
 name = klass.DESCRIPTOR.full_name
 return ('%s/%s' % (prefix, name))

def _compute_type_url ( klass , prefix = _GOOGLE_APIS_PREFIX ) : name = klass . DESCRIPTOR . full_name return ( '%s/%s' % ( prefix , name ) )
compute a type url for a klass .