GeezerVison is showing github.com — fix: bring back unused resnames for Ads [ggj] by miraleung · Pull Request #821 · googleapis/sdk-platform-java
This repository was archived by the owner on Oct 29, 2026. It is now read-only.
Conversation
miraleung
commented
Aug 6, 2021
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Closes #819. Undoes #785 for Ads under an allowlist. With this change, the following extra unused resource names are generated for Ads' v8 on comparing the one generated with release 2.0.0 (of the microgenerator) and one generated with this fix:
$ cd /path/to/output/orig
$ diff <(find googleads-java/ -name "*Name.java" | cut -d '/' -f2-) <(find ../fixed/googleads-java/ -name "*Name.java" | cut -d '/' -f4-)
> proto-googleads-java/src/main/java/com/google/ads/googleads/v8/resources/InvoiceName.java
43a45
> proto-googleads-java/src/main/java/com/google/ads/googleads/v8/resources/CallViewName.java
52a55
> proto-googleads-java/src/main/java/com/google/ads/googleads/v8/resources/PaymentsAccountName.java
87a91
> proto-googleads-java/src/main/java/com/google/ads/googleads/v8/resources/ChangeEventName.java
CC @aohren
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
codecov
Bot
commented
Aug 6, 2021
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Merging #821 (3bfb240) into master (27d05d9) will decrease coverage by 0.12%.
The diff coverage is 0.00%.

@@ Coverage Diff @@
## master #821 +/- ##
==========================================
- Coverage 91.46% 91.33% -0.13%
==========================================
Files 140 140
Lines 15001 15022 +21
Branches 1085 1087 +2
==========================================
Hits 13720 13720
- Misses 986 1007 +21
Partials 295 295
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 27d05d9...3bfb240. Read the comment docs.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Merging due to stakeholder timelines.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
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.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
|
Preconditions.checkState(!services.isEmpty(), "No services found to generate");
|
|
|
|
|
|
// Temporary workaround for Ads, who still need these resource names.
|
|
|
if (services.get(0).protoPakkage().startsWith("google.ads.googleads.v")) {
|
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.
Can you please put some TODO here (I hope we do plan to get rid of google.ads.googleads.v specific hack, don't we)?
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
miraleung
Aug 6, 2021
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
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.
Will do in #822 . Up to you whether we should bring back all these "unused" resource name helper classes altogether, or just for Ads.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Reviewers
1 more reviewer
Reviewers whose approvals may not affect merge requirements
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Labels
cla: yes
This human has signed the Contributor License Agreement.
Milestone
No milestone
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|