def SetNamespace(proto, namespace):
 if (not namespace):
  proto.clear_name_space()
 else:
  proto.set_name_space(namespace)

def SetNamespace ( proto , namespace ) : if ( not namespace ) : proto . clear_name_space ( ) else : proto . set_name_space ( namespace )
sets the namespace for a protocol buffer or clears the field .