FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

feat(gax): add ResumableUploadStatus and ResumableUploadProgressListener by whowes · Pull Request #14073 · googleapis/google-cloud-java · GitHub

feat(gax): add ResumableUploadStatus and ResumableUploadProgressListener - #14073

Closed
whowes wants to merge 1 commit into
mainfrom
whowes/resumable-upload-status
Closed

feat(gax): add ResumableUploadStatus and ResumableUploadProgressListener#14073
whowes wants to merge 1 commit into
mainfrom
whowes/resumable-upload-status

Conversation

whowes commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

These classes will provide library users a mechanism to track resumable upload progress.

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.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Code Review

This pull request introduces a new resumable upload progress tracking API, including the ResumableUploadProgressListener interface, the ResumableUploadStatus AutoValue class, and comprehensive unit tests. The feedback suggests adding a package-private constructor to ResumableUploadStatus to prevent external subclassing and preserve immutability.

@BetaApi
@NullMarked
@AutoValue
public abstract class ResumableUploadStatus {

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.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

To prevent users from subclassing this AutoValue class outside of the package (which could bypass the immutability guarantees), it is a best practice to define a package-private constructor.

Suggested change
public abstract class ResumableUploadStatus {
public abstract class ResumableUploadStatus {
ResumableUploadStatus() {}

Copy link
Copy Markdown

Copy link
Copy Markdown

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

Failed conditions
0.0% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

whowes closed this Aug 20, 2026
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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL