conflictDetected = $conflictDetected; } /** * @return bool */ public function getConflictDetected() { return $this->conflictDetected; } /** * The create time of the entity. This field will not be set after a 'delete'. * * @param string $createTime */ public function setCreateTime($createTime) { $this->createTime = $createTime; } /** * @return string */ public function getCreateTime() { return $this->createTime; } /** * The automatically allocated key. Set only when the mutation allocated a * key. * * @param Key $key */ public function setKey(Key $key) { $this->key = $key; } /** * @return Key */ public function getKey() { return $this->key; } /** * The results of applying each PropertyTransform, in the same order of the * request. * * @param Value[] $transformResults */ public function setTransformResults($transformResults) { $this->transformResults = $transformResults; } /** * @return Value[] */ public function getTransformResults() { return $this->transformResults; } /** * 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'. * * @param string $updateTime */ public function setUpdateTime($updateTime) { $this->updateTime = $updateTime; } /** * @return string */ public function getUpdateTime() { return $this->updateTime; } /** * 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. * * @param string $version */ public function setVersion($version) { $this->version = $version; } /** * @return string */ public function getVersion() { return $this->version; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(MutationResult::class, 'Google_Service_Datastore_MutationResult');