Enumeration RevertOutcome
Enumeration Members
UNSPECIFIED
UNSPECIFIED: 0
The service reported an outcome this SDK does not know.
MEMORY_REMOVED
MEMORY_REMOVED: 1
The reverted insight was its memory's last, so the memory went too.
ADDITION_REMOVED
ADDITION_REMOVED: 2
An addition to an existing memory was removed.
ENTRY_REMOVED
ENTRY_REMOVED: 3
The insight was removed, and no memory was involved either way.
MERGED
MERGED: 4
The write was folded into an existing insight as an endorsement rather than added as new, so the caller's duplicate was removed and the endorsed insight is untouched.
NOT_FOUND
NOT_FOUND: 5
No write answers to that operation id.
EXPIRED
EXPIRED: 6
The write is older than the window in which it can be undone.
REFUSED
REFUSED: 7
The service declined to undo this write.
What a revert actually removed.
The service reports the effect rather than restating what was asked for, so every member arrives on a call that did not throw.
NOT_FOUND,EXPIREDandREFUSEDdescribe caller-visible state, and nothing is raised to say the revert did not happen: RevertResult.outcome is the only place it is said.NOT_FOUNDis the one to expect first after a write. A write is accepted asynchronously, so an operation id whose ingestion has not finished answers to nothing yet, and trying again shortly is the remedy.An outcome this SDK predates arrives as RevertOutcome.UNSPECIFIED rather than as a raw integer, so a value no case covers cannot reach a
switchwritten against an older contract.