Skip to content

feat(generator): emit resumable upload client surface - #14319

Draft
whowes wants to merge 1 commit into
whowes/generator-transport-stub-delegationfrom
whowes/generator-client-codegen
Draft

whowes wants to merge 1 commit into
whowes/generator-transport-stub-delegationfrom
whowes/generator-client-codegen

Conversation

@whowes

@whowes whowes commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Generates the public client surface and base stub contracts for resumable upload RPCs, providing both an asynchronous ResumableUploadCallable and a synchronous InputStream method.

Test composers are updated with placeholder @Ignored tests to reflect that meaningful testing is only exercised via integration tests. This is due to insufficient mock capabilities, which may make sense to augment for resumable uploads in the future.

Sample code generation for resumable uploads is disabled; this also probably makes sense to add in the future.

@whowes
whowes added this pull request to stack #14327 September 9, 2026 06:35
gemini-code-assist[bot]

This comment was marked as outdated.

@whowes
whowes force-pushed the whowes/generator-client-codegen branch from a07c67a to e0d1fe6 Compare September 9, 2026 15:50
@whowes
whowes force-pushed the whowes/generator-client-codegen branch from e0d1fe6 to c202895 Compare September 9, 2026 20:16
@whowes
whowes removed this pull request from stack #14327 September 9, 2026 23:45
@whowes
whowes added this pull request to stack #14343 September 9, 2026 23:47
@whowes
whowes force-pushed the whowes/generator-client-codegen branch 2 times, most recently from 39fdadf to 775a413 Compare September 10, 2026 00:19
@whowes
whowes force-pushed the whowes/generator-client-codegen branch from 775a413 to 3c5beaf Compare September 10, 2026 01:15
@whowes
whowes force-pushed the whowes/generator-client-codegen branch from 3c5beaf to 9297723 Compare September 10, 2026 06:05
@whowes
whowes force-pushed the whowes/generator-client-codegen branch from 9297723 to 5da1a23 Compare September 11, 2026 17:23
@whowes
whowes removed this pull request from stack #14343 September 11, 2026 17:25
@whowes
whowes added this pull request to stack #14363 September 11, 2026 17:25
@whowes
whowes force-pushed the whowes/generator-client-codegen branch from 5da1a23 to a885ba0 Compare September 11, 2026 20:00
@whowes
whowes force-pushed the whowes/generator-client-codegen branch from a885ba0 to 9215157 Compare September 11, 2026 21:13
@whowes
whowes force-pushed the whowes/generator-client-codegen branch from 9215157 to 25824bd Compare September 11, 2026 21:39
@whowes
whowes force-pushed the whowes/generator-client-codegen branch from 25824bd to 18c348f Compare September 14, 2026 21:34
@whowes
whowes removed this pull request from stack #14363 September 14, 2026 22:18
@whowes
whowes added this pull request to stack #14381 September 14, 2026 22:19
@whowes
whowes removed this pull request from stack #14381 September 14, 2026 23:13
@whowes
whowes added this pull request to stack #14382 September 14, 2026 23:14
@whowes
whowes force-pushed the whowes/generator-client-codegen branch from 18c348f to d0d411c Compare September 15, 2026 00:43
@sonarqubecloud

Copy link
Copy Markdown

@sonarqubecloud

Copy link
Copy Markdown

…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
- Add unit test ResumableUploadServiceClientComposerTest verifying the generated client methods
@whowes
whowes force-pushed the whowes/generator-client-codegen branch from d0d411c to 247aa33 Compare September 15, 2026 16:30
@whowes
whowes removed this pull request from stack #14382 September 15, 2026 16:40
@whowes
whowes changed the base branch from whowes/generator-settings-codegen to whowes/generator-transport-stub-delegation September 15, 2026 16:41
@whowes whowes changed the title feat(generator): emit callable getter and convenience method for resumable upload RPCs feat(generator): emit resumable upload client surface Sep 15, 2026
@whowes
whowes added this pull request to stack #14390 September 15, 2026 16:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant