googleapis / googleapis/google-cloud-java

[java-datastore] Make `toPb` methods public

Đang mở
#11,997 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
api: datastore type: feature request
Ngôn ngữ chính
Java
Star
2.1k
Fork
1.2k
Merge trung bình
1 ngày 23 giờ
Pull request đã merge (30 ngày)
154

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.