Interface EntityResultOrBuilder (2.22.0)
Stay organized with collections
Save and categorize content based on your preferences.
publicinterface EntityResultOrBuilderextendsMessageOrBuilderImplements
MessageOrBuilderMethods
getCreateTime()
publicabstractTimestampgetCreateTime() The time at which the entity was created.
This field is set for
FULL entity results.
If this entity is missing, this field will not be set.
.google.protobuf.Timestamp create_time = 6;
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The createTime. |
getCreateTimeOrBuilder()
publicabstractTimestampOrBuildergetCreateTimeOrBuilder() The time at which the entity was created.
This field is set for
FULL entity results.
If this entity is missing, this field will not be set.
.google.protobuf.Timestamp create_time = 6;
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getCursor()
publicabstractByteStringgetCursor() A cursor that points to the position after the result entity.
Set only when the EntityResult is part of a QueryResultBatch message.
bytes cursor = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The cursor. |
getEntity()
publicabstractEntitygetEntity()The resulting entity.
.google.datastore.v1.Entity entity = 1;
| Returns | |
|---|---|
| Type | Description |
Entity |
The entity. |
getEntityOrBuilder()
publicabstractEntityOrBuildergetEntityOrBuilder()The resulting entity.
.google.datastore.v1.Entity entity = 1;
| Returns | |
|---|---|
| Type | Description |
EntityOrBuilder |
|
getUpdateTime()
publicabstractTimestampgetUpdateTime() The time at which the entity was last changed.
This field is set for
FULL entity results.
If this entity is missing, this field will not be set.
.google.protobuf.Timestamp update_time = 5;
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The updateTime. |
getUpdateTimeOrBuilder()
publicabstractTimestampOrBuildergetUpdateTimeOrBuilder() The time at which the entity was last changed.
This field is set for
FULL entity results.
If this entity is missing, this field will not be set.
.google.protobuf.Timestamp update_time = 5;
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getVersion()
publicabstractlonggetVersion()The version of the entity, a strictly positive number that monotonically increases with changes to the entity.
This field is set for
FULL entity results.
For 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.
int64 version = 4;
| Returns | |
|---|---|
| Type | Description |
long |
The version. |
hasCreateTime()
publicabstractbooleanhasCreateTime() The time at which the entity was created.
This field is set for
FULL entity results.
If this entity is missing, this field will not be set.
.google.protobuf.Timestamp create_time = 6;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the createTime field is set. |
hasEntity()
publicabstractbooleanhasEntity()The resulting entity.
.google.datastore.v1.Entity entity = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the entity field is set. |
hasUpdateTime()
publicabstractbooleanhasUpdateTime() The time at which the entity was last changed.
This field is set for
FULL entity results.
If this entity is missing, this field will not be set.
.google.protobuf.Timestamp update_time = 5;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the updateTime field is set. |