Skip to content

feat(gax): add ResumableUploadCallable creation to Callables and HttpJsonCallableFactory - #14242

Merged
whowes merged 1 commit into
mainfrom
whowes/resumable-upload-factory
Sep 11, 2026
Merged

feat(gax): add ResumableUploadCallable creation to Callables and HttpJsonCallableFactory#14242
whowes merged 1 commit into
mainfrom
whowes/resumable-upload-factory

Conversation

@whowes

@whowes whowes commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

This change wires up the minimal Callable implementation from #14241 into the relevant existing factory classes.

gemini-code-assist[bot]

This comment was marked as outdated.

@whowes
whowes force-pushed the whowes/resumable-upload-factory branch 2 times, most recently from aef944f to 8cca7df Compare September 2, 2026 17:30
@whowes
whowes force-pushed the whowes/resumable-upload-factory branch from 8cca7df to 13ed5aa Compare September 2, 2026 19:01
@whowes
whowes force-pushed the whowes/resumable-upload-factory branch from 13ed5aa to cb17291 Compare September 2, 2026 19:11
@whowes
whowes force-pushed the whowes/resumable-upload-factory branch 2 times, most recently from 3c30fa0 to f88f691 Compare September 2, 2026 22:07
@whowes
whowes force-pushed the whowes/resumable-upload-factory branch from f88f691 to c36a2ad Compare September 2, 2026 22:32
@whowes

whowes commented Sep 2, 2026

Copy link
Copy Markdown
Contributor Author

/gemini review

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces support for resumable uploads in the HTTP/JSON transport layer by adding the createResumableUploadCallable factory method to HttpJsonCallableFactory and the resumableUpload utility method to Callables. Corresponding unit tests have also been added to verify their behavior. There are no review comments, so I have no feedback to provide.

@whowes
whowes force-pushed the whowes/resumable-upload-factory branch from c36a2ad to 00173b2 Compare September 3, 2026 05:29
@whowes
whowes force-pushed the whowes/resumable-upload-factory branch from 00173b2 to 34f02d0 Compare September 4, 2026 02:44
@whowes
whowes force-pushed the whowes/resumable-upload-factory branch from 34f02d0 to 83aee5d Compare September 4, 2026 03:01
@whowes
whowes force-pushed the whowes/resumable-upload-factory branch 2 times, most recently from 3dbcc23 to 61e6adb Compare September 4, 2026 22:35
@whowes
whowes force-pushed the whowes/resumable-upload-factory branch 2 times, most recently from 73a0620 to c46f507 Compare September 5, 2026 00:51
@whowes
whowes force-pushed the whowes/resumable-upload-factory branch 2 times, most recently from 7253511 to 81c60ca Compare September 9, 2026 15:50
@whowes
whowes force-pushed the whowes/resumable-upload-factory branch from 81c60ca to 5d99a59 Compare September 9, 2026 20:15
ResumableUploadCallSettings callSettings,
ClientContext clientContext) {
return new ResumableUploadCallableImpl<>(
uploadClient, callSettings, clientContext.getDefaultCallContext());

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A callable should take the whole ClientContext, not ApiCallContext which is scoped to a single call.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for catching, done. (The ResumableUploadCallableImpl constructor is changed in #14241 since it's not merged yet.)

@whowes
whowes force-pushed the whowes/resumable-upload-factory branch from 5d99a59 to 8cf9f8d Compare September 10, 2026 01:14
@whowes
whowes marked this pull request as ready for review September 10, 2026 06:07
@whowes
whowes requested review from a team as code owners September 10, 2026 06:07
Base automatically changed from whowes/resumable-upload-happy-path to main September 10, 2026 18:34
@whowes
whowes force-pushed the whowes/resumable-upload-factory branch from 8cf9f8d to a7d49c9 Compare September 10, 2026 18:34
@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed for 'gapic-generator-java-root'

Failed conditions
B Maintainability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed for 'gapic-generator-java-root'

Failed conditions
0.0% Coverage on New Code (required ≥ 80%)
B Maintainability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@whowes
whowes merged commit 7de24de into main Sep 11, 2026
299 of 306 checks passed
@whowes
whowes deleted the whowes/resumable-upload-factory branch September 11, 2026 07:45
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.

2 participants