Skip to content

Commit

Permalink
chore: exclude prediction.proto (#2775)
Browse files Browse the repository at this point in the history
In this PR:
- Exclude `google/cloud/visionai/v1/prediction.proto` until cl/631529749
is submitted

Test generated client in
googleapis/google-cloud-java#10845.
  • Loading branch information
JoeWang1127 committed May 15, 2024
1 parent 96e6626 commit 26322b2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions library_generation/generate_library.sh
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,12 @@ case "${proto_path}" in
# and //google/cloud/oslogin/v1beta1:google-cloud-oslogin-v1-java
proto_files="${proto_files} google/cloud/oslogin/common/common.proto"
;;
"google/cloud/visionai/v1"*)
# this proto is excluded in //google/cloud/visionai/v1:google-cloud-visionai-v1-java
# we can remove this exclusion after cl/631529749 is submitted.
removed_proto="google/cloud/visionai/v1/prediction.proto"
proto_files="${proto_files//${removed_proto}/}"
;;
"google/rpc")
# this proto is excluded from //google/rpc:google-rpc-java
removed_proto="google/rpc/http.proto"
Expand Down

0 comments on commit 26322b2

Please sign in to comment.