Make fromPb
constructors public
#1006
Labels
api: datastore
Issues related to the googleapis/java-datastore API.
type: feature request
‘Nice-to-have’ improvement, new feature or different behavior or design.
Is your feature request related to a problem? Please describe.
I often run across situations where I have either a
com.google.datastore.v1.Key
orcom.google.datastore.v1.Entity
and would like to transform it into acom.google.cloud.datastore.[Key|Entity]
. There currently existsfromPb
constructors within this codebase, but they are not accessible outside of thecom.google.datastore
namespace.Describe the solution you'd like
Making the
public
.Describe alternatives you've considered
I currently have two interop packages of my own living in
com.google.datastore
that re-export these methods. It works but isn't great.The text was updated successfully, but these errors were encountered: