Get desktop application:
View/edit binary Protocol Buffers messages
The watch service definition.
Watch watches for events happening or that have happened. Both input and output are streams; the input stream is for creating and canceling watchers and the output stream sends events. One watch RPC can watch on multiple key ranges, streaming events for several watches at once. The entire event history can be watched starting from the last compaction revision.
client node id
request_union is a request to either create a new watcher or cancel an existing watcher.
WatchProgressRequest progress_request = 3;
The response message containing the greetings
Used in:
Used in:
type is the kind of event. If type is a PUT, it indicates new data has been stored to the key. If type is a DELETE, it indicates the key was deleted.
kv holds the KeyValue for the event. A PUT event contains current kv pair. A PUT event with kv.Version=1 indicates the creation of a key. A DELETE/EXPIRE event contains the deleted key with its modification revision set to the revision of deletion.
Used in:
Used in:
key is the key in bytes. An empty key is not allowed.
create_revision is the revision of last creation on this key.
mod_revision is the revision of last modification on this key.
version is the version of the key. A deletion resets the version to zero and any modification of the key increases its version.
value is the value held by the key, in bytes.
lease is the ID of the lease that attached to key. When the attached lease expires, the key will be deleted. If lease is 0, then no lease is attached to the key.
The request message containing the user's name.
Used in:
key is the key to register for watching.
watch_id is the watcher id to cancel so that no more events are transmitted.
Used in:
key is the key to register for watching.
watch_id is the watcher id to cancel so that no more events are transmitted.