xref: /aosp_15_r20/external/sdk-platform-java/gapic-generator-java/README.md (revision 882aa7c72c3cd3b66e72a261bdd69b93f7de7670)
1[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=googleapis_gapic-generator-java&metric=coverage)](https://sonarcloud.io/summary/new_code?id=googleapis_gapic-generator-java)
2# API Client Generator for Java
3
4Generates a Java client library from protocol buffers.
5Replaces the Java parts of the
6[older monolithic generator](https://github.com/googleapis/gapic-generator).
7
8See [DEVELOPMENT.md](DEVELOPMENT.md) for setting up development environment.
9
10## service_config.proto
11
12We use the `src/main/proto/service_config.proto` file to generate corresponding
13Java class files.
14They are needed to generate client libraries for gRPC-based Google services.
15
16The source of `src/main/proto/service_config.proto` is the
17[https://github.com/grpc/grpc-proto repository](
18https://github.com/grpc/grpc-proto/blob/master/grpc/service_config/service_config.proto).
19We copy the file from the repository when a new enhancement is made in the file
20and the service team asks us to incorporate the enhancement into the code
21generator.
22