-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: exclude prediction.proto
#2775
Conversation
|
|
"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" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If this proto is removed from googleapis, is this logic going to no-op or error out?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested the command in cloudtop and it doesn't error
(.venv) [hi on] joewa@joewa-linxu:~/workspace/sdk-platform-java$ removed=google/cloud/visionai/prediction.proto
(.venv) [hi on] joewa@joewa-linxu:~/workspace/sdk-platform-java$ proto_files="google/example/example.proto google/example/another_example.proto"
(.venv) [hi on] joewa@joewa-linxu:~/workspace/sdk-platform-java$ mod="${proto_files//${removed}/}"
(.venv) [hi on] joewa@joewa-linxu:~/workspace/sdk-platform-java$ echo $?
0
(.venv) [hi on] joewa@joewa-linxu:~/workspace/sdk-platform-java$ echo $mod
google/example/example.proto google/example/another_example.proto
In this PR: - Exclude `google/cloud/visionai/v1/prediction.proto` until cl/631529749 is submitted Test generated client in googleapis/google-cloud-java#10845.
In this PR: - Exclude `google/cloud/visionai/v1/prediction.proto` until cl/631529749 is submitted Test generated client in googleapis/google-cloud-java#10845.
In this PR:
google/cloud/visionai/v1/prediction.proto
until cl/631529749 is submittedTest generated client in googleapis/google-cloud-java#10845.