Skip to content
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

Query (and possibly other classes) in Datastore library using @Deprecated with no documentation of what to use instead #1383

Closed
patflynn opened this issue Nov 9, 2016 · 2 comments

Comments

@patflynn
Copy link

patflynn commented Nov 9, 2016

com.google.cloud.datastore.Query:171 is an instance of this, although there are others in that class.

@mziccard
Copy link
Contributor

mziccard commented Nov 9, 2016

Hi @patflynn!

In google-cloud 0.5.0 we went through a massing renaming of our methods to meet proto conventions (for a smoother integration of our classes with protos).

We deprecated older methods to make the transition easier to users (no breaks), but all changes fall in the following categories (outlined in our release notes):

  • Getters and setters with the get and set prefix have been added to all classes/builders. Older getters/setters (without get/set prefix) have been deprecated
  • Builder factory methods builder() have been deprecated, you should use newBuilder() instead
  • defaultInstance() factory methods have been deprecated, you should use getDefaultInstance() instead

Deprecated methods will most likely be removed sooner than we can fix this issue.

@mziccard mziccard added the docs label Nov 9, 2016
@patflynn
Copy link
Author

Got it. Thanks for letting me know.

On Wed, Nov 9, 2016 at 1:33 PM, Marco Ziccardi notifications@github.com
wrote:

Hi @patflynn https://github.com/patflynn!

In google-cloud 0.5.0 we went through a massing renaming of our methods
to meet proto conventions (for a smoother integration of our classes with
protos).

We deprecated older methods to make the transition easier to users (no
breaks), but all changes fall in the following categories (outlined in our release
notes
https://github.com/GoogleCloudPlatform/google-cloud-java/releases/tag/v0.5.0
):

  • Getters and setters with the get and set prefix have been added to
    all classes/builders. Older getters/setters (without get/set prefix)
    have been deprecated
  • Builder factory methods builder() have been deprecated, you should
    use newBuilder() instead
  • defaultInstance() factory methods have been deprecated, you should
    use getDefaultInstance() instead

Deprecated methods will most likely be removed sooner than we can fix this
issue.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#1383 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHf5HYhL_84HshIO9SvSXyvl9xAL_Phcks5q8hH0gaJpZM4KtwVg
.

@patflynn patflynn removed their assignment Feb 2, 2021
github-actions bot pushed a commit to yoshi-code-bot/google-cloud-java that referenced this issue Oct 6, 2022
…esscontextmanager-v1 to v1.4.5 (googleapis#1383)

[![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.api.grpc:proto-google-identity-accesscontextmanager-v1](https://togithub.com/googleapis/java-accesscontextmanager/proto-google-identity-accesscontextmanager-v1) ([source](https://togithub.com/googleapis/java-accesscontextmanager)) | `1.4.3` -> `1.4.5` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-identity-accesscontextmanager-v1/1.4.5/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-identity-accesscontextmanager-v1/1.4.5/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-identity-accesscontextmanager-v1/1.4.5/compatibility-slim/1.4.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-identity-accesscontextmanager-v1/1.4.5/confidence-slim/1.4.3)](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:eyJjcmVhdGVkSW5WZXIiOiIzMi4yMTQuMCIsInVwZGF0ZWRJblZlciI6IjMyLjIxNC4wIn0=-->
github-actions bot pushed a commit to renovate-bot/google-cloud-java that referenced this issue Oct 8, 2022
🤖 I have created a release *beep* *boop*
---


## [3.7.1](https://togithub.com/googleapis/java-asset/compare/v3.7.0...v3.7.1) (2022-10-07)


### Dependencies

* Update dependency com.google.api.grpc:proto-google-cloud-orgpolicy-v1 to v2.3.6 ([googleapis#1390](https://togithub.com/googleapis/java-asset/issues/1390)) ([4219b66](https://togithub.com/googleapis/java-asset/commit/4219b66da58325f5a133caa84243dc0958d90149))
* Update dependency com.google.api.grpc:proto-google-cloud-os-config-v1 to v2.5.6 ([googleapis#1382](https://togithub.com/googleapis/java-asset/issues/1382)) ([3abde9e](https://togithub.com/googleapis/java-asset/commit/3abde9e4130d62d9e6857dd3b016be88691bd7f4))
* Update dependency com.google.api.grpc:proto-google-cloud-pubsub-v1 to v1.102.20 ([googleapis#1384](https://togithub.com/googleapis/java-asset/issues/1384)) ([5904111](https://togithub.com/googleapis/java-asset/commit/5904111205fc7c698703eb8db805b159a6513389))
* Update dependency com.google.api.grpc:proto-google-identity-accesscontextmanager-v1 to v1.4.5 ([googleapis#1383](https://togithub.com/googleapis/java-asset/issues/1383)) ([48f2dd8](https://togithub.com/googleapis/java-asset/commit/48f2dd863c23ec3fffb24970046cab6795a64045))
* Update dependency com.google.cloud:google-cloud-bigquery to v2.17.0 ([googleapis#1386](https://togithub.com/googleapis/java-asset/issues/1386)) ([d3cf534](https://togithub.com/googleapis/java-asset/commit/d3cf534180a8b0c4a421ff52a998b43edd502e6c))
* Update dependency com.google.cloud:google-cloud-core to v2.8.20 ([googleapis#1380](https://togithub.com/googleapis/java-asset/issues/1380)) ([113b74e](https://togithub.com/googleapis/java-asset/commit/113b74e29f05047ba3eb22cee370b2b35b133991))
* Update dependency com.google.cloud:google-cloud-pubsub to v1.120.20 ([googleapis#1385](https://togithub.com/googleapis/java-asset/issues/1385)) ([792d9a2](https://togithub.com/googleapis/java-asset/commit/792d9a2aa2253e4cb6541c587810aab936aa9d81))
* Update dependency com.google.cloud:google-cloud-resourcemanager to v1.5.6 ([googleapis#1391](https://togithub.com/googleapis/java-asset/issues/1391)) ([9afc924](https://togithub.com/googleapis/java-asset/commit/9afc924fbe87b481dc3b731935d3dc021e1bae00))
* Update dependency com.google.cloud:google-cloud-storage to v2.13.0 ([googleapis#1392](https://togithub.com/googleapis/java-asset/issues/1392)) ([9660ee4](https://togithub.com/googleapis/java-asset/commit/9660ee42c68e7cb88e0d6867ac46f2cd6056ca17))

---
This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please).
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

No branches or pull requests

2 participants