feat(generator): introduce HttpJsonDescriptorComposer and add path prefix support - #14320
Draft
whowes wants to merge 2 commits into
Draft
feat(generator): introduce HttpJsonDescriptorComposer and add path prefix support#14320whowes wants to merge 2 commits into
whowes wants to merge 2 commits into
Conversation
whowes
added this pull request to stack #14327
September 9, 2026 06:35
whowes
force-pushed
the
whowes/generator-rest-composer-helpers
branch
from
September 9, 2026 15:50
b85f89a to
459bd0c
Compare
whowes
force-pushed
the
whowes/generator-rest-composer-helpers
branch
from
September 9, 2026 20:16
459bd0c to
0da002b
Compare
whowes
removed this pull request from stack #14327
September 9, 2026 23:45
whowes
added this pull request to stack #14343
September 9, 2026 23:47
whowes
force-pushed
the
whowes/generator-rest-composer-helpers
branch
from
September 9, 2026 23:51
0da002b to
6917f74
Compare
whowes
force-pushed
the
whowes/generator-rest-composer-helpers
branch
from
September 10, 2026 00:19
6917f74 to
2239313
Compare
whowes
force-pushed
the
whowes/generator-rest-composer-helpers
branch
from
September 10, 2026 01:15
2239313 to
1b5a89d
Compare
whowes
force-pushed
the
whowes/generator-rest-composer-helpers
branch
from
September 10, 2026 06:05
1b5a89d to
24f4e9c
Compare
whowes
force-pushed
the
whowes/generator-rest-composer-helpers
branch
from
September 11, 2026 17:23
24f4e9c to
29bb299
Compare
whowes
removed this pull request from stack #14343
September 11, 2026 17:25
whowes
added this pull request to stack #14363
September 11, 2026 17:25
whowes
force-pushed
the
whowes/generator-rest-composer-helpers
branch
from
September 11, 2026 18:30
29bb299 to
b139ed4
Compare
whowes
force-pushed
the
whowes/generator-rest-composer-helpers
branch
from
September 11, 2026 20:00
b139ed4 to
ceef17a
Compare
whowes
force-pushed
the
whowes/generator-rest-composer-helpers
branch
from
September 11, 2026 21:13
ceef17a to
adf6d7c
Compare
whowes
force-pushed
the
whowes/generator-rest-composer-helpers
branch
from
September 11, 2026 21:39
adf6d7c to
792c4ef
Compare
|
|
…mable upload RPCs - In AbstractServiceStubClassComposer: emit public ResumableUploadCallable<RequestT, ResponseT> [method]Callable() throwing UnsupportedOperationException - 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 generated stub and client methods
…efix support Extract shared REST ApiMethodDescriptor AST composition out of HttpJsonServiceStubClassComposer into a dedicated HttpJsonDescriptorComposer helper class, and add path prefix support to request formatters for resumable upload stubs.
whowes
force-pushed
the
whowes/generator-rest-composer-helpers
branch
from
September 11, 2026 22:15
792c4ef to
89b291e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.



Creates a new
HttpJsonDescriptorComposerutility containingHttpJsonServiceStubClassComposerprependPathPrefixutility that allows a prefix (e.g.resumable/upload) to be prepended to HTTP path templatesNew test class includes unit tests for both existing and new capabilities.