version property

  1. @TagNumber(4)
Int64 get version

The version of the entity, a strictly positive number that monotonically increases with changes to the entity.

This field is set for google.datastore.v1.EntityResult.ResultType.FULL entity results.

For 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.

Implementation

@$pb.TagNumber(4)
$fixnum.Int64 get version => $_getI64(2);
  1. @TagNumber(4)
set version (Int64 v)

Implementation

@$pb.TagNumber(4)
set version($fixnum.Int64 v) { $_setInt64(2, v); }