From 40e49dad67946c70b94a509d16fe6b9eddadcb05 Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Tue, 21 Feb 2023 14:38:58 -0500 Subject: [PATCH] chore: README.md to explain service_config.proto (#1361) * chore: README.md to explain service_config.proto * add link --- gapic-generator-java/README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/gapic-generator-java/README.md b/gapic-generator-java/README.md index 928ad7b9ff..76799f6f81 100644 --- a/gapic-generator-java/README.md +++ b/gapic-generator-java/README.md @@ -6,3 +6,16 @@ Replaces the Java parts of the [older monolithic generator](https://github.com/googleapis/gapic-generator). See [DEVELOPMENT.md](DEVELOPMENT.md) for setting up development environment. + +## service_config.proto + +We use the `src/main/proto/service_config.proto` file to generate corresponding +Java class files. +They are needed to generate client libraries for gRPC-based Google services. + +The source of `src/main/proto/service_config.proto` is the +[https://github.com/grpc/grpc-proto repository]( +https://github.com/grpc/grpc-proto/blob/master/grpc/service_config/service_config.proto). +We copy the file from the repository when a new enhancement is made in the file +and the service team asks us to incorporate the enhancement into the code +generator.