Uh oh!
There was an error while loading. Please reload this page.
Regenerate vision client - #4161
Conversation
chingor13
left a comment
There was a problem hiding this comment.
A bunch of breaking changes here.
| "projects/{project}/locations/{location}/products/{product}/referenceImages/{image}"); | ||
| /** Formats a string containing the fully-qualified path to represent a location resource. */ | ||
| public static final String formatLocationName(String project, String location) { |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
sduskis
commented
Jan 16, 2019
@andreamlin, do you have any comments on this issue? |
andreamlin
commented
Jan 17, 2019
Ok, found the reason for the removal of those functions: these One possible solution is to always print out these formatting functions; however this adds a lot of cruft to every other Java API library. Another possible solution is to mark these formatting functions as @BetaApi after the fact and mark them for turn down. We would expect that eventually, per API, all resource messages are configured and these formatting functions wouldn't be necessary. cc'ing @michaelbausor. This behavior was introduced years ago, in googleapis/gapic-generator#824. |
michaelbausor
commented
Jan 17, 2019
Hmm. Another option - we add an optional configuration into the Separate question - how do we expect the generator to behave when we move to the proto annotation config spec? |
@michaelbausor re: proto annotation spec; for new API client libs, we would never |
andreamlin
commented
Jan 18, 2019
Opened gapic-generator issue to track this: googleapis/gapic-generator#2521. |
andreamlin
commented
Jan 18, 2019
@michaelbausor@chingor13 Would it be possible to deprecate these functions (if/when a major version comes around)? I'm not sure what the use of them would be given that they are are only present when there are no messages that reference them. |
andreamlin
commented
Feb 13, 2019
This should be fixed now, if synthtool is run again. My local regen: andreamlin#2 |
This PR was generated using Autosynth. 🌈
Here's the log from Synthtool: