Class Entity

  • All Implemented Interfaces:
    Serializable

    public final class Entity
    extends FullEntity<Key>
    An entity is the Google Cloud Datastore persistent data object for a specific key. An entity will always have a complete Key.
    See Also:
    Serialized Form
    • Method Detail

      • calculateSerializedSize

        public static int calculateSerializedSize​(BaseEntity<? extends IncompleteKey> entity)
        Returns the size in bytes of the protobuf form of the provided entity.
        Parameters:
        entity - object whose size is measured.