def _GetClientLib(service_class_names, language, output_path, build_system,<EOL>hostname=None, application_path=None):
client_libs = []<EOL>service_configs = GenApiConfig(<EOL>service_class_names, hostname=hostname,<EOL>config_string_generator=discovery_generator.DiscoveryGenerator(),<EOL>application_path=application_path)<EOL>for api_name_version, config in service_configs.items():<EOL><INDENT>client_name = api_name_version + '<STR_LIT>'<EOL>client_libs.append(<EOL>_GenClientLibFromContents(config, language, output_path,<EOL>build_system, client_name))<EOL><DEDENT>return client_libs<EOL>
Fetch client libraries from a cloud service.

    Args:
      service_class_names: A list of fully qualified ProtoRPC service names.
      language: The client library language to generate. (java)
      output_path: The directory to output the discovery docs to.
      build_system: The target build system for the client library language.
      hostname: A string hostname which will be used as the default version
        hostname. If no hostname is specificied in the @endpoints.api decorator,
        this value is the fallback. Defaults to None.
      application_path: A string containing the path to the AppEngine app.

    Returns:
      A list of paths to client libraries.