def FindMethodByName(self, name):
    for method in self.methods:
      if name == method.name:
        return method
    return None
Searches for the specified method, and returns its descriptor.
dataset/ETHPy150Open AppScale/appscale/AppServer/google/net/proto2/python/public/descriptor.py/ServiceDescriptor.FindMethodByName