Skip to content

Add to Builder methods to Datastore's classes #994

Description

@mziccard

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

Metadata

Metadata

Assignees

Labels

api: datastoreIssues related to the Datastore API.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions