code: protected List<String> collectMethodNamesForService(final ServiceDescriptor serviceDescriptor) {
          final List<String> methods = new ArrayList<>();
          for (final MethodDescriptor<?, ?> grpcMethod : serviceDescriptor.getMethods()) {
              methods.add(extractMethodName(grpcMethod));
          }
          methods.sort(String.CASE_INSENSITIVE_ORDER);
          return methods;
      }
docs: Gets all method names from the given service descriptor.
  
  @param serviceDescriptor The service descriptor to get the names from.
  @return The newly created and sorted list of the method names.