Skip to content
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

Merged
merged 1 commit into from
May 15, 2024
Merged

Conversation

JoeWang1127
Copy link
Collaborator

@JoeWang1127 JoeWang1127 commented May 15, 2024

In this PR:

  • Exclude google/cloud/visionai/v1/prediction.proto until cl/631529749 is submitted

Test generated client in googleapis/google-cloud-java#10845.

@product-auto-label product-auto-label bot added the size: xs Pull request size is extra small. label May 15, 2024
Copy link

Quality Gate Passed Quality Gate passed for 'gapic-generator-java-root'

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

Copy link

Quality Gate Passed Quality Gate passed for 'java_showcase_integration_tests'

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@JoeWang1127 JoeWang1127 added the owlbot:run Add this label to trigger the Owlbot post processor. label May 15, 2024
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label May 15, 2024
@JoeWang1127 JoeWang1127 marked this pull request as ready for review May 15, 2024 19:22
@JoeWang1127 JoeWang1127 requested a review from a team as a code owner May 15, 2024 19:22
"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"
Copy link
Collaborator

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?

Copy link
Collaborator Author

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

@JoeWang1127 JoeWang1127 merged commit 26322b2 into main May 15, 2024
34 checks passed
@JoeWang1127 JoeWang1127 deleted the chore/exclude-prediction-proto branch May 15, 2024 21:53
lqiu96 pushed a commit that referenced this pull request May 16, 2024
In this PR:
- Exclude `google/cloud/visionai/v1/prediction.proto` until cl/631529749
is submitted

Test generated client in
googleapis/google-cloud-java#10845.
lqiu96 pushed a commit that referenced this pull request May 22, 2024
In this PR:
- Exclude `google/cloud/visionai/v1/prediction.proto` until cl/631529749
is submitted

Test generated client in
googleapis/google-cloud-java#10845.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size: xs Pull request size is extra small.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants