Class Entity.Builder (2.19.2)

publicstaticfinalclass Entity.BuilderextendsBaseEntity.Builder<Key,Entity.Builder>

Inheritance

java.lang.Object > BaseEntity.Builder > Entity.Builder

Inherited Members

Methods

build()

publicEntitybuild()
Returns
Type Description
Entity
Overrides

setKey(Key key)

publicEntity.BuildersetKey(Keykey)

Sets the key for the entity.

Parameter
Name Description
key Key
Returns
Type Description
Entity.Builder
Overrides

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.