Get desktop application:
View/edit binary Protocol Buffers messages
optional ResCode res_code = 1
optional string res_msg = 2
optional uint32 server_id = 1
optional uint64 term = 2
optional uint64 prev_log_index = 3
optional uint64 prev_log_term = 4
optional uint64 commit_index = 5
repeated LogEntry entries = 6
optional ResCode res_code = 1
optional uint64 term = 2
optional uint64 last_log_index = 3
Used in: SnapshotMetaData
Used in: GetLeaderResponse, Server
optional string host = 1
optional uint32 port = 2
Used in: LogEntry
ENTRY_TYPE_DATA = 0
ENTRY_TYPE_CONFIGURATION = 1
(message has no fields)
optional ResCode res_code = 1
optional string res_msg = 2
optional Server leader = 3
repeated Server servers = 4
(message has no fields)
optional ResCode res_code = 1
optional string res_msg = 2
optional Endpoint leader = 3
optional uint32 server_id = 1
optional uint64 term = 2
optional string file_name = 4
optional uint64 offset = 5
optional bytes data = 6
optional bool is_first = 7
optional bool is_last = 8
optional ResCode res_code = 1
optional uint64 term = 2
Used in: AppendEntriesRequest
optional uint64 term = 1
optional uint64 index = 2
optional bytes data = 4
optional uint64 current_term = 1
optional uint32 voted_for = 2
optional uint64 first_log_index = 3
optional uint64 commit_index = 4
optional ResCode res_code = 1
optional string res_msg = 2
Used in: AddPeersResponse, AppendEntriesResponse, GetConfigurationResponse, GetLeaderResponse, InstallSnapshotResponse, RemovePeersResponse
RES_CODE_SUCCESS = 0
RES_CODE_FAIL = 1
RES_CODE_NOT_LEADER = 2
Used in: AddPeersRequest, Configuration, GetConfigurationResponse, RemovePeersRequest
optional uint32 server_id = 1
optional Endpoint endpoint = 2
Used in: InstallSnapshotRequest
optional uint64 last_included_index = 1
optional uint64 last_included_term = 2
optional Configuration configuration = 3
optional uint32 server_id = 1
optional uint64 term = 2
optional uint64 last_log_term = 3
optional uint64 last_log_index = 4
optional uint64 term = 1
optional bool granted = 2