public sealed class EntityResult : IMessage<EntityResult>, IEquatable<EntityResult>, IDeepCloneable<EntityResult>, IBufferMessage, IMessageThe result of fetching an entity from Datastore.
Implements
IMessage<EntityResult>, IEquatable<EntityResult>, IDeepCloneable<EntityResult>, IBufferMessage, IMessageNamespace
Google.Cloud.Datastore.V1Assembly
Google.Cloud.Datastore.V1.dll
Constructors
EntityResult()
public EntityResult()EntityResult(EntityResult)
public EntityResult(EntityResult other)| Parameter | |
|---|---|
| Name | Description |
other |
EntityResult |
Properties
Cursor
public ByteString Cursor { get; set; }A cursor that points to the position after the result entity.
Set only when the EntityResult is part of a QueryResultBatch message.
| Property Value | |
|---|---|
| Type | Description |
ByteString |
|
Entity
public Entity Entity { get; set; }The resulting entity.
| Property Value | |
|---|---|
| Type | Description |
Entity |
|
UpdateTime
public Timestamp UpdateTime { get; set; }The time at which the entity was last changed.
This field is set for [FULL][google.datastore.v1.EntityResult.ResultType.FULL] entity
results.
If this entity is missing, this field will not be set.
| Property Value | |
|---|---|
| Type | Description |
Timestamp |
|
Version
public long Version { get; set; }The version of the entity, a strictly positive number that monotonically increases with changes to the entity.
This field is set for [FULL][google.datastore.v1.EntityResult.ResultType.FULL] entity
results.
For [missing][google.datastore.v1.LookupResponse.missing] entities in LookupResponse, this
is the version of the snapshot that was used to look up the entity, and it
is always set except for eventually consistent reads.
| Property Value | |
|---|---|
| Type | Description |
Int64 |
|