GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat(generator): emit ResumableUploadCallSettings on stub and service settings by whowes · Pull Request #14318 · googleapis/google-cloud-java

Conversation

@whowes

@whowes whowes commented Sep 9, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Adds generator support for emitting ResumableUploadCallSettings on stub and service settings classes to support protocol-specific upload options. Resumable upload settings are populated with global timeouts extracted from the service configuration while bypassing standard unary retries.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

gemini-code-assist[bot] reacted with eyes emoji
All reactions
  • 👀 1 reaction
gemini-code-assist[bot]

This comment was marked as outdated.

Sign in to view

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@whowes
whowes added this pull request to stack #14327 September 9, 2026 06:35
@whowes
whowes force-pushed the whowes/generator-settings-codegen branch from 9e50315 to e99b1f1 Compare September 9, 2026 15:50
@whowes
whowes force-pushed the whowes/generator-allowlist-parser branch 2 times, most recently from aa32171 to 681c369 Compare September 9, 2026 20:16
@whowes
whowes force-pushed the whowes/generator-settings-codegen branch from e99b1f1 to 14d6389 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-settings-codegen branch from 14d6389 to 74e2bea Compare September 9, 2026 23:50
@whowes
whowes force-pushed the whowes/generator-allowlist-parser branch from 681c369 to dbc1403 Compare September 10, 2026 01:15
@whowes
whowes force-pushed the whowes/generator-settings-codegen branch from 74e2bea to b03ac25 Compare September 10, 2026 01:15
@whowes
whowes force-pushed the whowes/generator-allowlist-parser branch from dbc1403 to c7dc7e4 Compare September 10, 2026 06:04
@whowes
whowes force-pushed the whowes/generator-settings-codegen branch from b03ac25 to fb557d9 Compare September 10, 2026 06:04
@whowes
whowes force-pushed the whowes/generator-allowlist-parser branch from c7dc7e4 to 8351695 Compare September 11, 2026 17:23
@whowes
whowes force-pushed the whowes/generator-settings-codegen branch from fb557d9 to 8f9a345 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-allowlist-parser branch from 8351695 to 9b6b8b4 Compare September 11, 2026 20:00
@whowes
whowes force-pushed the whowes/generator-settings-codegen branch from 8f9a345 to 2c56792 Compare September 11, 2026 20:00
@whowes
whowes force-pushed the whowes/generator-allowlist-parser branch from 9b6b8b4 to 7f9c11a Compare September 11, 2026 21:13
@whowes
whowes force-pushed the whowes/generator-settings-codegen branch from 2c56792 to 675dd7d Compare September 11, 2026 21:13
@whowes
whowes force-pushed the whowes/generator-allowlist-parser branch from 7f9c11a to 0447951 Compare September 11, 2026 21:39
@whowes
whowes force-pushed the whowes/generator-settings-codegen branch from 675dd7d to 6eaf35a Compare September 11, 2026 21:39
@whowes
whowes force-pushed the whowes/generator-allowlist-parser branch from 0447951 to 068f71f Compare September 14, 2026 21:34
@whowes
whowes force-pushed the whowes/generator-settings-codegen branch from 6eaf35a to 8e793ed Compare September 14, 2026 21:34
blakeli0
blakeli0 reviewed Sep 14, 2026
View reviewed changes
Comment thread ...a/com/google/api/generator/gapic/composer/grpc/goldens/ResumableUploadServiceSettings.golden
* <p>Note that custom retry settings and headers configured via ApiCallContext apply strictly
* to the initial session initiation request.
*/
public ResumableUploadCallSettings.Builder uploadMediaSettings() {

@blakeli0 blakeli0 Sep 14, 2026

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

I think uploadMediaSettings method in this ServiceSettings file and StubSettings below are newly generated?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread ...a/com/google/api/generator/gapic/composer/grpc/goldens/ResumableUploadServiceSettings.golden
/**
* Returns the builder for the settings used for calls to uploadMedia.
*
* <p>Note that custom retry settings and headers configured via ApiCallContext apply strictly

@blakeli0 blakeli0 Sep 14, 2026

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

I don't think we can configure headers via ApiCallContext in settings. It does apply to the callable since ApiCallContext is only exposed there.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@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-allowlist-parser branch from 068f71f to f5dc929 Compare September 15, 2026 00:07
Base automatically changed from whowes/generator-allowlist-parser to main September 15, 2026 00:43
@whowes
feat(generator): emit ResumableUploadCallSettings on stub and service…
3cc35c8
… settings
@whowes
whowes force-pushed the whowes/generator-settings-codegen branch from 8e793ed to 3cc35c8 Compare September 15, 2026 00:43
@sonarqubecloud

sonarqubecloud Bot commented Sep 15, 2026

Copy link
Copy Markdown

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

Failed conditions
C Reliability 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

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@sonarqubecloud

sonarqubecloud Bot commented Sep 15, 2026

Copy link
Copy Markdown

Quality Gate Passed Quality Gate passed for 'gapic-generator-java-root'

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarQube Cloud

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

whowes added a commit that referenced this pull request Sep 15, 2026
@whowes
feat(generator): emit resumable upload settings and HttpJson upload stub
f772f86
Adds generator support for protocol-specific resumable upload options, independent of any transport stub wiring:

- Emit ResumableUploadCallSettings on the generated <Service>Settings and
  <Service>StubSettings, populated with global timeouts extracted from the
  service config while bypassing standard unary retries.
- Add HttpJsonServiceResumableUploadStubClassComposer, which generates the
  dedicated REST stub (HttpJson[Service]ResumableUploadStub) for services
  containing resumable upload RPC methods.
- Extract HttpJsonDescriptorComposer out of HttpJsonServiceStubClassComposer
  and add path prefix support. Pure refactor with no golden changes, reused by
  the upload stub composer above.

Supersedes #14318 and #14320, which are folded in here.
@whowes whowes closed this Sep 15, 2026
@whowes
whowes removed this pull request from stack #14382 September 15, 2026 16:40
whowes added a commit that referenced this pull request Sep 15, 2026
@whowes
feat(generator): emit resumable upload settings and HttpJson upload stub
f6e8950
Adds generator support for protocol-specific resumable upload options, independent of any transport stub wiring:

- Emit ResumableUploadCallSettings on the generated <Service>Settings and
  <Service>StubSettings, populated with global timeouts extracted from the
  service config while bypassing standard unary retries.
- Add HttpJsonServiceResumableUploadStubClassComposer, which generates the
  dedicated REST stub (HttpJson[Service]ResumableUploadStub) for services
  containing resumable upload RPC methods.
- Extract HttpJsonDescriptorComposer out of HttpJsonServiceStubClassComposer
  and add path prefix support. Pure refactor with no golden changes, reused by
  the upload stub composer above.

Supersedes #14318 and #14320, which are folded in here.
whowes added a commit that referenced this pull request Sep 15, 2026
@whowes
feat(generator): emit resumable upload settings and HttpJson upload stub
57daa1f
Adds generator support for protocol-specific resumable upload options, independent of any transport stub wiring:

- Emit ResumableUploadCallSettings on the generated <Service>Settings and
  <Service>StubSettings, populated with global timeouts extracted from the
  service config while bypassing standard unary retries.
- Add HttpJsonServiceResumableUploadStubClassComposer, which generates the
  dedicated REST stub (HttpJson[Service]ResumableUploadStub) for services
  containing resumable upload RPC methods.
- Extract HttpJsonDescriptorComposer out of HttpJsonServiceStubClassComposer
  and add path prefix support. Pure refactor with no golden changes, reused by
  the upload stub composer above.

Supersedes #14318 and #14320, which are folded in here.
whowes added a commit that referenced this pull request Sep 16, 2026
@whowes
feat(generator): emit resumable upload settings and HttpJson upload stub
954089e
Adds generator support for protocol-specific resumable upload options, independent of any transport stub wiring:

- Emit ResumableUploadCallSettings on the generated <Service>Settings and
  <Service>StubSettings, populated with global timeouts extracted from the
  service config while bypassing standard unary retries.
- Add HttpJsonServiceResumableUploadStubClassComposer, which generates the
  dedicated REST stub (HttpJson[Service]ResumableUploadStub) for services
  containing resumable upload RPC methods.
- Extract HttpJsonDescriptorComposer out of HttpJsonServiceStubClassComposer
  and add path prefix support. Pure refactor with no golden changes, reused by
  the upload stub composer above.

Supersedes #14318 and #14320, which are folded in here.
whowes added a commit that referenced this pull request Sep 16, 2026
@whowes
feat(generator): emit resumable upload settings and HttpJson upload stub
5821e21
Adds generator support for protocol-specific resumable upload options, independent of any transport stub wiring:

- Emit ResumableUploadCallSettings on the generated <Service>Settings and
  <Service>StubSettings, populated with global timeouts extracted from the
  service config while bypassing standard unary retries.
- Add HttpJsonServiceResumableUploadStubClassComposer, which generates the
  dedicated REST stub (HttpJson[Service]ResumableUploadStub) for services
  containing resumable upload RPC methods.
- Extract HttpJsonDescriptorComposer out of HttpJsonServiceStubClassComposer
  and add path prefix support. Pure refactor with no golden changes, reused by
  the upload stub composer above.

Supersedes #14318 and #14320, which are folded in here.
whowes added a commit that referenced this pull request Sep 17, 2026
@whowes
feat(generator): emit resumable upload settings and HttpJson upload stub
be0453d
Adds generator support for protocol-specific resumable upload options, independent of any transport stub wiring:

- Emit ResumableUploadCallSettings on the generated <Service>Settings and
  <Service>StubSettings, populated with global timeouts extracted from the
  service config while bypassing standard unary retries.
- Add HttpJsonServiceResumableUploadStubClassComposer, which generates the
  dedicated REST stub (HttpJson[Service]ResumableUploadStub) for services
  containing resumable upload RPC methods.
- Extract HttpJsonDescriptorComposer out of HttpJsonServiceStubClassComposer
  and add path prefix support. Pure refactor with no golden changes, reused by
  the upload stub composer above.

Supersedes #14318 and #14320, which are folded in here.
whowes added a commit that referenced this pull request Sep 17, 2026
@whowes
feat(generator): emit resumable upload settings and HttpJson upload stub
c7cffbf
Adds generator support for protocol-specific resumable upload options, independent of any transport stub wiring:

- Emit ResumableUploadCallSettings on the generated <Service>Settings and
  <Service>StubSettings, populated with global timeouts extracted from the
  service config while bypassing standard unary retries.
- Add HttpJsonServiceResumableUploadStubClassComposer, which generates the
  dedicated REST stub (HttpJson[Service]ResumableUploadStub) for services
  containing resumable upload RPC methods.
- Extract HttpJsonDescriptorComposer out of HttpJsonServiceStubClassComposer
  and add path prefix support. Pure refactor with no golden changes, reused by
  the upload stub composer above.

Supersedes #14318 and #14320, which are folded in here.
whowes added a commit that referenced this pull request Sep 18, 2026
@whowes
feat(generator): emit resumable upload settings and HttpJson upload stub
82fe151
Adds generator support for protocol-specific resumable upload options, independent of any transport stub wiring:

- Emit ResumableUploadCallSettings on the generated <Service>Settings and
  <Service>StubSettings, populated with global timeouts extracted from the
  service config while bypassing standard unary retries.
- Add HttpJsonServiceResumableUploadStubClassComposer, which generates the
  dedicated REST stub (HttpJson[Service]ResumableUploadStub) for services
  containing resumable upload RPC methods.
- Extract HttpJsonDescriptorComposer out of HttpJsonServiceStubClassComposer
  and add path prefix support. Pure refactor with no golden changes, reused by
  the upload stub composer above.

Supersedes #14318 and #14320, which are folded in here.
whowes added a commit that referenced this pull request Sep 18, 2026
@whowes
feat(generator): emit resumable upload settings and HttpJson upload stub
1dee45d
Adds generator support for protocol-specific resumable upload options, independent of any transport stub wiring:

- Emit ResumableUploadCallSettings on the generated <Service>Settings and
  <Service>StubSettings, populated with global timeouts extracted from the
  service config while bypassing standard unary retries.
- Add HttpJsonServiceResumableUploadStubClassComposer, which generates the
  dedicated REST stub (HttpJson[Service]ResumableUploadStub) for services
  containing resumable upload RPC methods.
- Extract HttpJsonDescriptorComposer out of HttpJsonServiceStubClassComposer
  and add path prefix support. Pure refactor with no golden changes, reused by
  the upload stub composer above.

Supersedes #14318 and #14320, which are folded in here.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@blakeli0 blakeli0 blakeli0 left review comments
+1 more reviewer
@gemini-code-assist gemini-code-assist[bot] gemini-code-assist[bot] left review comments
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@whowes @blakeli0
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.