Package com.google.cloud.datastore
Class Entity
- All Implemented Interfaces:
Serializable
An entity is the Google Cloud Datastore persistent data object for a specific key. An entity will
always have a complete
Key.- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic intcalculateSerializedSize(BaseEntity<? extends IncompleteKey> entity) Returns the size in bytes of the protobuf form of the provided entity.static Entitystatic Entity.BuildernewBuilder(Entity copyFrom) static Entity.BuildernewBuilder(Key key) static Entity.BuildernewBuilder(Key key, FullEntity<?> copyFrom) Methods inherited from class com.google.cloud.datastore.FullEntity
newBuilder, newBuilder, newBuilder
-
Method Details
-
newBuilder
-
newBuilder
-
newBuilder
-
fromPb
-
calculateSerializedSize
Returns the size in bytes of the protobuf form of the provided entity.- Parameters:
entity- object whose size is measured.
-