Exclude google.cloud.visionai.v1.prediction.proto from scripts #2758
Labels
priority: p1
Important issue which blocks shipping the next release. Will be fixed prior to next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
googleapis/google-cloud-java#10802 is a new library generation request for visionai.v1.
However, it failed due to prediction.proto being an empty service (e.g. no RPCs). Related issue on fixing the generator to skip generation for empty services: #2750
It's excluded in the visionai.v1 BUILD file: https://github.com/googleapis/googleapis/blob/master/google/cloud/visionai/v1/BUILD.bazel#L23-L36
We need to manually exclude it here: https://github.com/googleapis/sdk-platform-java/blob/main/library_generation/generate_library.sh#L152
I'll create a separate follow-up issue on the long-term fix of either parsing BUILD.bazel to get the list of protos integrating hermetic build scripts into Bazel so that the library generation will always use the same list of protos as the BUILD.bazel file.
The text was updated successfully, but these errors were encountered: