package synchronization

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

service Synchronization

synchronization.proto:126

Synchronization manages the lifecycle of synchronization sessions.

message Configuration

configuration.proto:23

Configuration encodes session configuration parameters. It is used for create commands to specify configuration options, for loading global configuration options, and for storing a merged configuration inside sessions. It should be considered immutable.

Synchronization parameters (fields 11-20). NOTE: These run from field indices 11-20 (rather than 1-10, which are reserved for symbolic link configuration parameters) due to the historical order in which these fields were added. Field 17 (the digest algorithm) is also listed out of its chronological order of addition due to its relative importance in the configuration.

Used in: remote.InitializeSynchronizationRequest, CreationSpecification, Session

message CreationSpecification

synchronization.proto:13

CreationSpecification contains the metadata required for a new session.

Used in: CreateRequest

message EndpointState

state.proto:60

EndpointState encodes the current state of a synchronization endpoint. It is mutable within the context of the daemon, so it should be accessed and modified in a synchronized fashion. Outside of the daemon (e.g. when returned via the API), it should be considered immutable.

Used in: State

enum ScanMode

scan_mode.proto:8

ScanMode specifies the mode for synchronization root scanning.

Used in: Configuration

message Session

session.proto:17

Session represents a synchronization session configuration and persistent state. It is mutable within the context of the daemon, so it should be accessed and modified in a synchronized fashion. Outside of the daemon (e.g. when returned via the API), it should be considered immutable.

The identifier, version, creationTime, and creatingVersion* fields are considered the "header" fields for all session versions. A message composed purely of these fields is guaranteed to be compatible with all future session versions. This can be used to dispatch session decoding to more specific message structures once multiple session version formats are implemented.

Used in: State

enum StageMode

stage_mode.proto:8

StageMode specifies the mode for file staging.

Used in: Configuration

message State

state.proto:107

State encodes the current state of a synchronization session. It is mutable within the context of the daemon, so it should be accessed and modified in a synchronized fashion. Outside of the daemon (e.g. when returned via the API), it should be considered immutable.

Used in: ListResponse

enum Status

state.proto:13

Status encodes the status of a synchronization session.

Used in: State

enum Version

version.proto:9

Version specifies a session version, providing default behavior that can vary without affecting existing sessions.

Used in: remote.InitializeSynchronizationRequest, Session

enum WatchMode

watch_mode.proto:8

WatchMode specifies the mode for filesystem watching.

Used in: Configuration