googleapis / googleapis/google-cloud-java

[java-datastore] Make `toPb` methods public

オープン
#11,997 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
api: datastore type: feature request
主要言語
Java
スター
2.1k
フォーク
1.2k
平均マージ
1日 23時間
マージ済み PR(30日)
154

説明

**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.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。