The update time of the entity on the server after processing the mutation.
If the mutation doesn't change anything on the server, then the timestamp
will be the update timestamp of the current entity. This field will not be
set after a 'delete'.
The update time of the entity on the server after processing the mutation.
If the mutation doesn't change anything on the server, then the timestamp
will be the update timestamp of the current entity. This field will not be
set after a 'delete'.
The version of the entity on the server after processing the mutation. If
the mutation doesn't change anything on the server, then the version will
be the version of the current entity or, if no entity is present, a version
that is strictly greater than the version of any previous entity and less
than the version of any possible future entity.
The update time of the entity on the server after processing the mutation.
If the mutation doesn't change anything on the server, then the timestamp
will be the update timestamp of the current entity. This field will not be
set after a 'delete'.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Interface MutationResultOrBuilder (2.31.2)\n\nVersion latestkeyboard_arrow_down\n\n- [2.31.2 (latest)](/java/docs/reference/google-cloud-datastore/latest/com.google.datastore.v1.MutationResultOrBuilder)\n- [2.31.1](/java/docs/reference/google-cloud-datastore/2.31.1/com.google.datastore.v1.MutationResultOrBuilder)\n- [2.30.0](/java/docs/reference/google-cloud-datastore/2.30.0/com.google.datastore.v1.MutationResultOrBuilder)\n- [2.29.1](/java/docs/reference/google-cloud-datastore/2.29.1/com.google.datastore.v1.MutationResultOrBuilder)\n- [2.28.2](/java/docs/reference/google-cloud-datastore/2.28.2/com.google.datastore.v1.MutationResultOrBuilder)\n- [2.27.1](/java/docs/reference/google-cloud-datastore/2.27.1/com.google.datastore.v1.MutationResultOrBuilder)\n- [2.26.4](/java/docs/reference/google-cloud-datastore/2.26.4/com.google.datastore.v1.MutationResultOrBuilder)\n- [2.25.2](/java/docs/reference/google-cloud-datastore/2.25.2/com.google.datastore.v1.MutationResultOrBuilder)\n- [2.24.3](/java/docs/reference/google-cloud-datastore/2.24.3/com.google.datastore.v1.MutationResultOrBuilder)\n- [2.23.0](/java/docs/reference/google-cloud-datastore/2.23.0/com.google.datastore.v1.MutationResultOrBuilder)\n- [2.22.0](/java/docs/reference/google-cloud-datastore/2.22.0/com.google.datastore.v1.MutationResultOrBuilder)\n- [2.21.3](/java/docs/reference/google-cloud-datastore/2.21.3/com.google.datastore.v1.MutationResultOrBuilder)\n- [2.20.2](/java/docs/reference/google-cloud-datastore/2.20.2/com.google.datastore.v1.MutationResultOrBuilder)\n- [2.19.2](/java/docs/reference/google-cloud-datastore/2.19.2/com.google.datastore.v1.MutationResultOrBuilder)\n- [2.18.5](/java/docs/reference/google-cloud-datastore/2.18.5/com.google.datastore.v1.MutationResultOrBuilder)\n- [2.17.6](/java/docs/reference/google-cloud-datastore/2.17.6/com.google.datastore.v1.MutationResultOrBuilder) \n\n public interface MutationResultOrBuilder extends MessageOrBuilder\n\nImplements\n----------\n\n[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)\n\nMethods\n-------\n\n### getConflictDetected()\n\n public abstract boolean getConflictDetected()\n\nWhether a conflict was detected for this mutation. Always false when a\nconflict detection strategy field is not set in the mutation.\n\n`bool conflict_detected = 5;`\n\n### getCreateTime()\n\n public abstract Timestamp getCreateTime()\n\nThe create time of the entity. This field will not be set after a 'delete'.\n\n`.google.protobuf.Timestamp create_time = 7;`\n\n### getCreateTimeOrBuilder()\n\n public abstract TimestampOrBuilder getCreateTimeOrBuilder()\n\nThe create time of the entity. This field will not be set after a 'delete'.\n\n`.google.protobuf.Timestamp create_time = 7;`\n\n### getKey()\n\n public abstract Key getKey()\n\nThe automatically allocated key.\nSet only when the mutation allocated a key.\n\n`.google.datastore.v1.Key key = 3;`\n\n### getKeyOrBuilder()\n\n public abstract KeyOrBuilder getKeyOrBuilder()\n\nThe automatically allocated key.\nSet only when the mutation allocated a key.\n\n`.google.datastore.v1.Key key = 3;`\n\n### getTransformResults(int index)\n\n public abstract Value getTransformResults(int index)\n\nThe results of applying each\nPropertyTransform, in the same\norder of the request.\n\n`repeated .google.datastore.v1.Value transform_results = 8;`\n\n### getTransformResultsCount()\n\n public abstract int getTransformResultsCount()\n\nThe results of applying each\nPropertyTransform, in the same\norder of the request.\n\n`repeated .google.datastore.v1.Value transform_results = 8;`\n\n### getTransformResultsList()\n\n public abstract List\u003cValue\u003e getTransformResultsList()\n\nThe results of applying each\nPropertyTransform, in the same\norder of the request.\n\n`repeated .google.datastore.v1.Value transform_results = 8;`\n\n### getTransformResultsOrBuilder(int index)\n\n public abstract ValueOrBuilder getTransformResultsOrBuilder(int index)\n\nThe results of applying each\nPropertyTransform, in the same\norder of the request.\n\n`repeated .google.datastore.v1.Value transform_results = 8;`\n\n### getTransformResultsOrBuilderList()\n\n public abstract List\u003c? extends ValueOrBuilder\u003e getTransformResultsOrBuilderList()\n\nThe results of applying each\nPropertyTransform, in the same\norder of the request.\n\n`repeated .google.datastore.v1.Value transform_results = 8;`\n\n### getUpdateTime()\n\n public abstract Timestamp getUpdateTime()\n\nThe update time of the entity on the server after processing the mutation.\nIf the mutation doesn't change anything on the server, then the timestamp\nwill be the update timestamp of the current entity. This field will not be\nset after a 'delete'.\n\n`.google.protobuf.Timestamp update_time = 6;`\n\n### getUpdateTimeOrBuilder()\n\n public abstract TimestampOrBuilder getUpdateTimeOrBuilder()\n\nThe update time of the entity on the server after processing the mutation.\nIf the mutation doesn't change anything on the server, then the timestamp\nwill be the update timestamp of the current entity. This field will not be\nset after a 'delete'.\n\n`.google.protobuf.Timestamp update_time = 6;`\n\n### getVersion()\n\n public abstract long getVersion()\n\nThe version of the entity on the server after processing the mutation. If\nthe mutation doesn't change anything on the server, then the version will\nbe the version of the current entity or, if no entity is present, a version\nthat is strictly greater than the version of any previous entity and less\nthan the version of any possible future entity.\n\n`int64 version = 4;`\n\n### hasCreateTime()\n\n public abstract boolean hasCreateTime()\n\nThe create time of the entity. This field will not be set after a 'delete'.\n\n`.google.protobuf.Timestamp create_time = 7;`\n\n### hasKey()\n\n public abstract boolean hasKey()\n\nThe automatically allocated key.\nSet only when the mutation allocated a key.\n\n`.google.datastore.v1.Key key = 3;`\n\n### hasUpdateTime()\n\n public abstract boolean hasUpdateTime()\n\nThe update time of the entity on the server after processing the mutation.\nIf the mutation doesn't change anything on the server, then the timestamp\nwill be the update timestamp of the current entity. This field will not be\nset after a 'delete'.\n\n`.google.protobuf.Timestamp update_time = 6;`"]]