Get desktop application:
View/edit binary Protocol Buffers messages
Message encoding a response to any *_certified method call.
The hash tree encoding both the response and the intermediate nodes required to recompute the root hash stored in "certified_data" of the canister. Note that the contents of the tree depends on the type of request issued.
The certificate obtained from the system using ic0.data_certificate_copy.
A precondition on the version at which the value of a given key was last mutated.
Used in:
The precondition is satisfied if and only is the version in the RegistryValue for the key is equal to this.
Message corresponding to a list of mutations to apply, atomically, to the registry canister. If any of the mutations fails, the whole operation will fail.
The set of mutations to apply to the registry.
Preconditions at the key level.
Message corresponding to the response of an atomic_mutate request. If any of mutations failed the corresponding errors will be reflected in 'errors'. Otherwise 'version' will contain the version under which all the mutations were applied.
If anything went wrong, the registry canister will set this error.
The last version of the registry.
A sequence of changes made to a key in the registry.
Used in:
Message corresponding to an error while performing an operation on the registry.
Used in: , ,
The reason for the error. This is optional.
The key on which the error occurred. This is optional and only present for by-key errors.
Used in:
The message had a problem like a missing field or a field that was set when it shouldn't.
The 'key' specified on the request was not present in the registry.
The 'key' specified on the request was already present.
The 'version' specified in a precondition for a mutation was not the lastest version.
The 'version' specified in a precondition for a mutation is beyond the latest version in the registry.
A generic internal error occurred in the registry.
Message to retrieve all the changes from the registry since 'version'.
Message corresponding to the response from the registry canister to a get_latest_version() request.
If anything went wrong, the registry canister will set this error.
The last version of the registry.
A list of all the keys and all the values that change and all the intermediate changes since the version requested.
Message corresponding to the response from the canister to a get_latest_version() request.
the latest registry version
Message to retrieve a version of some registry key from the registry canister.
The version of the registry key to retrieve. Optional: If not set (or set to the default value, 0), the method will return the last version.
The byte array corresponding to the key to retrieve from the registry. Required.
Message corresponding to the response from the canister to a get_value() request. Both 'version' and 'value' are mandatorily set if 'error' is not set.
If anything went wrong, the registry canister will set this error.
the version at which the value corresponding to the queried key was last mutated (inserted, updated, or deleted) before at or at the version specified in the RegistryGetValueRequest.
The value retrieved from the registry.
A single mutation in the registry.
Used in:
The type of the mutation to apply to the registry. Always required.
The key of the entry to mutate in the registry. Always required.
The value to mutate in the registry. Required for insert, update, but not for delete.
Used in:
Key is expected to not exist in the registry at the current version. (This includes the case of a key that has existed in the past and later got deleted). The mutation will fail otherwise.
Key is expected to exist in the registry at the current version. The mutation will fail otherwise.
Key is expected to exist in the registry at the current version. The mutation will fail otherwise.
If the key does not exist at the current version, it will be created. Otherwise, the value will be updated. The name is common in the database world, and means Update or Insert.
A single change made to a key in the registry.
Used in:
The value that was set in this mutation. If the mutation is a deletion, the field has no meaning.
The version at which this mutation happened.
If true, this change represents a deletion.