Skip to content

Fix toBuilder so that info.equals(info.toBuilder().build()) is true - #416

Merged
aozarov merged 1 commit into
googleapis:masterfrom
mziccard:fix-storage-to-builder
Nov 25, 2015
Merged

Fix toBuilder so that info.equals(info.toBuilder().build()) is true#416
aozarov merged 1 commit into
googleapis:masterfrom
mziccard:fix-storage-to-builder

Conversation

@mziccard

Copy link
Copy Markdown
Contributor

This fixes#415.
A new constructor is added to Builder that takes an info object and directly initializes fields (no use of setters).

@mziccardmziccard added the api: storage Issues related to the Cloud Storage API. label Nov 24, 2015
@googlebotgooglebot added the cla: yes This human has signed the Contributor License Agreement. label Nov 24, 2015
aozarov added a commit that referenced this pull request Nov 25, 2015
Fix toBuilder so that info.equals(info.toBuilder().build()) is true
@aozarov
aozarov merged commit a25e504 into googleapis:masterNov 25, 2015
github-actionsBot pushed a commit that referenced this pull request Jun 23, 2022
🤖 I have created a release *beep* *boop*
---
### Updating meta-information for bleeding-edge SNAPSHOT release.
---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
github-actionsBot pushed a commit to suztomo/google-cloud-java that referenced this pull request Jun 29, 2022
This PR was generated using Autosynth. 🌈
Synth log will be available here:
https://source.cloud.google.com/results/invocations/5be7ad29-661e-4d3f-9958-25d07d1854da/targets
- [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.)
Source-Link: googleapis/synthtool@572ef8f
github-actionsBot pushed a commit that referenced this pull request Jul 1, 2022
🤖 I have created a release *beep* *boop*
---
### [2.1.7](googleapis/java-workflows@v2.1.6...v2.1.7) (2022-02-11)
### Dependencies
* update actions/github-script action to v6 ([#415](googleapis/java-workflows#415)) ([bb63bea](googleapis/java-workflows@bb63bea))
---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
github-actionsBot pushed a commit that referenced this pull request Sep 15, 2022
…ator_java versions (#416)
- [ ] Regenerate this pull request now.
PiperOrigin-RevId: 472750037
Source-Link: googleapis/googleapis@88f2ea3
Source-Link: https://github.com/googleapis/googleapis-gen/commit/230a5588306aae18fe8f2a57f14d4039ad72c901
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMjMwYTU1ODgzMDZhYWUxOGZlOGYyYTU3ZjE0ZDQwMzlhZDcyYzkwMSJ9
github-actionsBot pushed a commit that referenced this pull request Nov 9, 2022
suztomo pushed a commit that referenced this pull request Feb 1, 2023
…1.1 (#416)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [com.google.cloud:libraries-bom](https://cloud.google.com/java/docs/bom) ([source](https://togithub.com/googleapis/java-cloud-bom)) | `26.1.0` -> `26.1.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.1/compatibility-slim/26.1.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.1/confidence-slim/26.1.0)](https://docs.renovatebot.com/merge-confidence/) |
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox.
---
This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4xODQuMiIsInVwZGF0ZWRJblZlciI6IjMyLjE4NC4yIn0=-->
meltsufin pushed a commit that referenced this pull request Dec 22, 2025
* chore: remove leading newline from LICENSE
Co-authored-by: Christopher Wilcox <crwilcox@google.com>
Source-Author: Justin Beckwith <justin.beckwith@gmail.com>
Source-Date: Wed Feb 3 15:37:31 2021 -0800
Source-Repo: googleapis/synthtool
Source-Sha: 27b2d4f4674840628d0b75c5941e89c12af4764f
Source-Link: googleapis/synthtool@27b2d4f
* fix: update repo name
java-memcache set for all accidentally
Source-Author: Emily Ball <emilyball@google.com>
Source-Date: Thu Feb 4 10:39:41 2021 -0800
Source-Repo: googleapis/synthtool
Source-Sha: 692715c0f23a7bb3bfbbaa300f7620ddfa8c47e5
Source-Link: googleapis/synthtool@692715c
chingor13 pushed a commit that referenced this pull request Jan 22, 2026
This PR was generated using Autosynth. 🌈
<details><summary>Log from Synthtool</summary>
```
2021-05-10 17:34:02,307 synthtool [DEBUG] > Executing /root/.cache/synthtool/java-datastore/.github/readme/synth.py.
On branch autosynth-readme
nothing to commit, working tree clean
2021-05-10 17:34:05,034 synthtool [DEBUG] > Wrote metadata to .github/readme/synth.metadata/synth.metadata.
```
</details>
Full log will be available here:
https://source.cloud.google.com/results/invocations/90f248bc-b652-4080-b66a-69c8eb61f7db/targets
- [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.)
suztomo pushed a commit to suztomo/google-cloud-java that referenced this pull request Mar 11, 2026
* chore: remove leading newline from LICENSE
Co-authored-by: Christopher Wilcox <crwilcox@google.com>
Source-Author: Justin Beckwith <justin.beckwith@gmail.com>
Source-Date: Wed Feb 3 15:37:31 2021 -0800
Source-Repo: googleapis/synthtool
Source-Sha: 27b2d4f4674840628d0b75c5941e89c12af4764f
Source-Link: googleapis/synthtool@27b2d4f
* fix: update repo name
java-memcache set for all accidentally
Source-Author: Emily Ball <emilyball@google.com>
Source-Date: Thu Feb 4 10:39:41 2021 -0800
Source-Repo: googleapis/synthtool
Source-Sha: 692715c0f23a7bb3bfbbaa300f7620ddfa8c47e5
Source-Link: googleapis/synthtool@692715c
suztomo pushed a commit to suztomo/google-cloud-java that referenced this pull request Mar 23, 2026
Co-authored-by: Thiago Nunes <thiagotnunes@google.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: storageIssues related to the Cloud Storage API.cla: yesThis human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

blobInfo.toBuilder().build() is not equal to blobInfo

3 participants

@mziccard@googlebot@aozarov