From 83d2607290ca6cd45eec183975015afb6d1783d0 Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Tue, 13 Dec 2022 13:52:23 -0500 Subject: [PATCH] adding instruction for arbitrary target --- DEVELOPMENT.md | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md index 2e45b77e44..5eb2740fa0 100644 --- a/DEVELOPMENT.md +++ b/DEVELOPMENT.md @@ -191,7 +191,20 @@ 5. Build the new target. - ```sh - cd googleapis - bazel build //google/showcase/v1beta1:showcase_java_gapic - ``` + ```sh + cd googleapis + bazel build //google/showcase/v1beta1:showcase_java_gapic + ``` + + You can generate any client library based on the protos within googleapis. + You just need the name of the service within the `java_gapic_assembly_gradle_pkg` + rules within the service's `BUILD.bazel` file. + For instance, to run your local generator on the `speech`'s v2 service, you can + run: + + ``` + bazel build //google/cloud/speech/v2:google-cloud-speech-v2-java + ``` + + +