googleapis / googleapis/google-cloud-java

[java-datastore] Make `toPb` methods public

Offen
#11,997 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
api: datastore type: feature request
Vorherrschende Sprache
Java
Sterne
2.1k
Forks
1.2k
Ø Merge
1 T. 23 Std.
Gemergte PRs (30 T.)
154

Beschreibung

**Is your feature request related to a problem? Please describe.**
In a similar vein as https://github.com/googleapis/google-cloud-java/issues/11998, there are situations where it would be very useful to convert from `com.google.cloud.datastore.Entity` to `com.google.datastore.v1.Entity`.

**Describe the solution you'd like**
Make `toPb` public.

**Describe alternatives you've considered**
I currently have interop packages of my own living in com.google.datastore that re-export these methods. It works but isn't great.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.