GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||
GeezerVison is showing github.com — feat(generator): emit resumable upload client surface by whowes · Pull Request #14319 · googleapis/google-cloud-java Conversation
|
| * @param payload The payload data stream to upload. | ||
| * @throws com.google.api.gax.rpc.ApiException if the remote call fails | ||
| */ | ||
| public final UploadMediaResponse uploadMedia(UploadMediaRequest request, InputStream payload) { |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Can we expose ResumableUploadCallSettings as a nullable argument? It can be up to the customer to decide whether they want to pass null or not.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Done.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
08820ce to
a1b682c
Compare
a1b682c to
904b2d4
Compare
904b2d4 to
1b9002f
Compare
There was an error while loading. Please reload this page.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Are the changes in this class and ServiceClientMethodSampleComposerTest below necessary?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
The changes were necessary with a previous attempt to suppress sample generation for resumable uploads, but that approach had an unnecessarily large blast radius (signature changes in the composer that had better alternatives). Reverted now.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
47718ae to
0bc2a0e
Compare
…mable upload RPCs - In AbstractServiceClientClassComposer: emit public ResumableUploadCallable<RequestT, ResponseT> [method]Callable() delegating to stub - In AbstractServiceClientClassComposer: emit synchronous convenience method [method](RequestT request, InputStream payload) calling ApiExceptions.callAndTranslateApiException - Suppress method variants (flattened methods) for resumable upload RPCs - In ServiceClientCommentComposer: emit Javadoc call context override warning on both callable method and synchronous convenience method - Cover the generated client and its samples with ResumableUploadServiceClient.golden and the resumableuploadserviceclient sample goldens
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.