Datastore's ProjectionEntity, IncompleteKey, Entity and Key have static builder methods:
publicstaticBuilderbuilder(ProjectionEntitycopyFrom)
publicstaticBuilderbuilder(IncompleteKeycopyFrom)
publicstaticBuilderbuilder(EntitycopyFrom)
publicstaticBuilderbuilder(KeycopyFrom)
In other modules we use a toBuilder() instance method to create builders from entity objects. Should we use toBuilder() also in Datastore? Or is there a reason to prefer static builder(ResourceType copyFrom)? \cc @ajkannan@aozarov
Datastore's
ProjectionEntity,IncompleteKey,EntityandKeyhave static builder methods:In other modules we use a
toBuilder()instance method to create builders from entity objects. Should we usetoBuilder()also in Datastore? Or is there a reason to prefer staticbuilder(ResourceType copyFrom)? \cc @ajkannan@aozarov