public interface EntityResultOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
com.google.protobuf.Timestamp |
getCreateTime()
The time at which the entity was created.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
The time at which the entity was created.
|
com.google.protobuf.ByteString |
getCursor()
A cursor that points to the position after the result entity.
|
Entity |
getEntity()
The resulting entity.
|
EntityOrBuilder |
getEntityOrBuilder()
The resulting entity.
|
com.google.protobuf.Timestamp |
getUpdateTime()
The time at which the entity was last changed.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
The time at which the entity was last changed.
|
long |
getVersion()
The version of the entity, a strictly positive number that monotonically
increases with changes to the entity.
|
boolean |
hasCreateTime()
The time at which the entity was created.
|
boolean |
hasEntity()
The resulting entity.
|
boolean |
hasUpdateTime()
The time at which the entity was last changed.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
boolean hasEntity()
The resulting entity.
.google.datastore.v1.Entity entity = 1;
Entity getEntity()
The resulting entity.
.google.datastore.v1.Entity entity = 1;
EntityOrBuilder getEntityOrBuilder()
The resulting entity.
.google.datastore.v1.Entity entity = 1;
long getVersion()
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.
int64 version = 4;
boolean hasCreateTime()
The time at which the entity was created. 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.
.google.protobuf.Timestamp create_time = 6;
com.google.protobuf.Timestamp getCreateTime()
The time at which the entity was created. 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.
.google.protobuf.Timestamp create_time = 6;
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
The time at which the entity was created. 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.
.google.protobuf.Timestamp create_time = 6;
boolean hasUpdateTime()
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.
.google.protobuf.Timestamp update_time = 5;
com.google.protobuf.Timestamp getUpdateTime()
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.
.google.protobuf.Timestamp update_time = 5;
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
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.
.google.protobuf.Timestamp update_time = 5;
com.google.protobuf.ByteString getCursor()
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;
Copyright © 2023 Google LLC. All rights reserved.