Skip to content

Add to Builder methods to Datastore's classes #994

@mziccard

Description

@mziccard

Datastore's ProjectionEntity, IncompleteKey, Entity and Key have static builder methods:

public static Builder builder(ProjectionEntity copyFrom)
public static Builder builder(IncompleteKey copyFrom)
public static Builder builder(Entity copyFrom)
public static Builder builder(Key copyFrom)

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