public Iterable<ServiceDescriptor> listServices(){
  ArrayList<ServiceDescriptor> serviceDescriptors=new ArrayList<ServiceDescriptor>();
  for (  FileDescriptor fileDescriptor : fileDescriptors) {
    serviceDescriptors.addAll(fileDescriptor.getServices());
  }
  return serviceDescriptors;
}

public Iterable < ServiceDescriptor > listServices ( ) { ArrayList < ServiceDescriptor > serviceDescriptors = new ArrayList < ServiceDescriptor > ( ) ; for ( FileDescriptor fileDescriptor : fileDescriptors ) { serviceDescriptors . addAll ( fileDescriptor . getServices ( ) ) ; } return serviceDescriptors ; }
lists all of the services found in the file descriptors
