-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Rename setters/getters/builders for Storage classes to meet proto conventions #1308
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
9e15c8c to
ac2921b
Compare
|
/cc @lesv |
|
Is that a google standard or a vKit thing? |
|
No Google standard that I know of (Guava in fact uses our current style). As per title, this is used in protos and VKIT. In order to be able to expose protos and VKIT classes without breaking Veneer look-and-feel we need to obey to their conventions on this. |
lesv
left a comment
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.
LGTM
|
Sigh - the shorter form works better in IDE's. |
|
@lesv I added 4 commits that do the following:
|
lesv
left a comment
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.
LGTM - I'm reviewing commit by commit.
| public abstract Builder setBlobId(BlobId blobId); | ||
|
|
||
| @Deprecated | ||
| abstract Builder generatedId(String generatedId); |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
|
LGTM - I won't be using approve / commit again. Not quite the behavior I was looking for. BlobInfo seems public not "package private". But I defer to your judgement. |
Yes classes are public but methods I renamed without deprecating them should all be package-private. If that is not the case please point me to the methods so I can fix it. |
|
Looked closer, never found a public, so I'm happy. LGTM |
|
LGTM |
4ac2a5f to
fad6e56
Compare
|
LGTM |
… v3.5.0 (#1308) [](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-asset](https://togithub.com/googleapis/java-asset) | `3.4.1` -> `3.5.0` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](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**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **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. ⚠ **Warning**: custom changes will be lost. --- 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-asset). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4xNTMuMCIsInVwZGF0ZWRJblZlciI6IjMyLjE1My4wIn0=-->
…1.4 (#1308) [](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.3` -> `26.1.4` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](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**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- 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-automl). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC45LjIiLCJ1cGRhdGVkSW5WZXIiOiIzNC45LjIifQ==-->
…logback to v0.131.5-alpha (#1308) [](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-logging-logback](https://togithub.com/googleapis/java-logging-logback) | `0.131.4-alpha` -> `0.131.5-alpha` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>googleapis/java-logging-logback (com.google.cloud:google-cloud-logging-logback)</summary> ### [`v0.131.5-alpha`](https://togithub.com/googleapis/java-logging-logback/blob/HEAD/CHANGELOG.md#01315-alpha-2024-04-26) [Compare Source](https://togithub.com/googleapis/java-logging-logback/compare/v0.131.4-alpha...v0.131.5-alpha) ##### Dependencies - Update actions/checkout action to v4 ([#​1301](https://togithub.com/googleapis/java-logging-logback/issues/1301)) ([614fc8f](https://togithub.com/googleapis/java-logging-logback/commit/614fc8fd1e9358652af91ada9ad49b809ac671c0)) - Update actions/github-script action to v7 ([#​1299](https://togithub.com/googleapis/java-logging-logback/issues/1299)) ([80d6f4c](https://togithub.com/googleapis/java-logging-logback/commit/80d6f4c2157be25e0270f6e0d7d6bf4e1f571818)) - Update actions/setup-java action to v4 ([#​1302](https://togithub.com/googleapis/java-logging-logback/issues/1302)) ([06b124a](https://togithub.com/googleapis/java-logging-logback/commit/06b124a45c61fb150ca928d698466a5a7d4678d3)) - Update dependency com.google.cloud:google-cloud-logging to v3.17.0 ([#​1303](https://togithub.com/googleapis/java-logging-logback/issues/1303)) ([7131e07](https://togithub.com/googleapis/java-logging-logback/commit/7131e07ee3eaef7379b1ddb33fadb9f5d89222de)) - Update dependency com.google.cloud:sdk-platform-java-config to v3.29.0 ([#​1304](https://togithub.com/googleapis/java-logging-logback/issues/1304)) ([2e87cf9](https://togithub.com/googleapis/java-logging-logback/commit/2e87cf91b170e79731a8318a51bc07f9b2df0d30)) </details> --- ### 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, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/googleapis/java-logging-logback). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMjEuMiIsInVwZGF0ZWRJblZlciI6IjM3LjMyMS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
This is the first of a series of PRs that update our naming conventions to meet the ones of proto/gRPC/VeneerToolkit.
Changes are:
property(Type property)setters renamed tosetProperty(Type property)property()getters renamed togetProperty()builder()factory methods renamed tonewBuilder()Previous methods are kept and deprecated for now.