github.com/mutagen-io/mutagen@v0.18.0-rc1/pkg/synchronization/state.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // versions:
     3  // 	protoc-gen-go v1.33.0
     4  // 	protoc        v5.26.1
     5  // source: synchronization/state.proto
     6  
     7  package synchronization
     8  
     9  import (
    10  	core "github.com/mutagen-io/mutagen/pkg/synchronization/core"
    11  	rsync "github.com/mutagen-io/mutagen/pkg/synchronization/rsync"
    12  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    13  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    14  	reflect "reflect"
    15  	sync "sync"
    16  )
    17  
    18  const (
    19  	// Verify that this generated code is sufficiently up-to-date.
    20  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    21  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    22  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    23  )
    24  
    25  // Status encodes the status of a synchronization session.
    26  type Status int32
    27  
    28  const (
    29  	// Status_Disconnected indicates that the session is unpaused but not
    30  	// currently connected or connecting to either endpoint.
    31  	Status_Disconnected Status = 0
    32  	// Status_HaltedOnRootEmptied indicates that the session is halted due to
    33  	// the root emptying safety check.
    34  	Status_HaltedOnRootEmptied Status = 1
    35  	// Status_HaltedOnRootDeletion indicates that the session is halted due to
    36  	// the root deletion safety check.
    37  	Status_HaltedOnRootDeletion Status = 2
    38  	// Status_HaltedOnRootTypeChange indicates that the session is halted due to
    39  	// the root type change safety check.
    40  	Status_HaltedOnRootTypeChange Status = 3
    41  	// Status_ConnectingAlpha indicates that the session is attempting to
    42  	// connect to the alpha endpoint.
    43  	Status_ConnectingAlpha Status = 4
    44  	// Status_ConnectingBeta indicates that the session is attempting to connect
    45  	// to the beta endpoint.
    46  	Status_ConnectingBeta Status = 5
    47  	// Status_Watching indicates that the session is watching for filesystem
    48  	// changes.
    49  	Status_Watching Status = 6
    50  	// Status_Scanning indicates that the session is scanning the filesystem on
    51  	// each endpoint.
    52  	Status_Scanning Status = 7
    53  	// Status_WaitingForRescan indicates that the session is waiting to retry
    54  	// scanning after an error during the previous scanning operation.
    55  	Status_WaitingForRescan Status = 8
    56  	// Status_Reconciling indicates that the session is performing
    57  	// reconciliation.
    58  	Status_Reconciling Status = 9
    59  	// Status_StagingAlpha indicates that the session is staging files on alpha.
    60  	Status_StagingAlpha Status = 10
    61  	// Status_StagingBeta indicates that the session is staging files on beta.
    62  	Status_StagingBeta Status = 11
    63  	// Status_Transitioning indicates that the session is performing transition
    64  	// operations on each endpoint.
    65  	Status_Transitioning Status = 12
    66  	// Status_Saving indicates that the session is recording synchronization
    67  	// history to disk.
    68  	Status_Saving Status = 13
    69  )
    70  
    71  // Enum value maps for Status.
    72  var (
    73  	Status_name = map[int32]string{
    74  		0:  "Disconnected",
    75  		1:  "HaltedOnRootEmptied",
    76  		2:  "HaltedOnRootDeletion",
    77  		3:  "HaltedOnRootTypeChange",
    78  		4:  "ConnectingAlpha",
    79  		5:  "ConnectingBeta",
    80  		6:  "Watching",
    81  		7:  "Scanning",
    82  		8:  "WaitingForRescan",
    83  		9:  "Reconciling",
    84  		10: "StagingAlpha",
    85  		11: "StagingBeta",
    86  		12: "Transitioning",
    87  		13: "Saving",
    88  	}
    89  	Status_value = map[string]int32{
    90  		"Disconnected":           0,
    91  		"HaltedOnRootEmptied":    1,
    92  		"HaltedOnRootDeletion":   2,
    93  		"HaltedOnRootTypeChange": 3,
    94  		"ConnectingAlpha":        4,
    95  		"ConnectingBeta":         5,
    96  		"Watching":               6,
    97  		"Scanning":               7,
    98  		"WaitingForRescan":       8,
    99  		"Reconciling":            9,
   100  		"StagingAlpha":           10,
   101  		"StagingBeta":            11,
   102  		"Transitioning":          12,
   103  		"Saving":                 13,
   104  	}
   105  )
   106  
   107  func (x Status) Enum() *Status {
   108  	p := new(Status)
   109  	*p = x
   110  	return p
   111  }
   112  
   113  func (x Status) String() string {
   114  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
   115  }
   116  
   117  func (Status) Descriptor() protoreflect.EnumDescriptor {
   118  	return file_synchronization_state_proto_enumTypes[0].Descriptor()
   119  }
   120  
   121  func (Status) Type() protoreflect.EnumType {
   122  	return &file_synchronization_state_proto_enumTypes[0]
   123  }
   124  
   125  func (x Status) Number() protoreflect.EnumNumber {
   126  	return protoreflect.EnumNumber(x)
   127  }
   128  
   129  // Deprecated: Use Status.Descriptor instead.
   130  func (Status) EnumDescriptor() ([]byte, []int) {
   131  	return file_synchronization_state_proto_rawDescGZIP(), []int{0}
   132  }
   133  
   134  // EndpointState encodes the current state of a synchronization endpoint. It is
   135  // mutable within the context of the daemon, so it should be accessed and
   136  // modified in a synchronized fashion. Outside of the daemon (e.g. when returned
   137  // via the API), it should be considered immutable.
   138  type EndpointState struct {
   139  	state         protoimpl.MessageState
   140  	sizeCache     protoimpl.SizeCache
   141  	unknownFields protoimpl.UnknownFields
   142  
   143  	// Connected indicates whether or not the controller is currently connected
   144  	// to the endpoint.
   145  	Connected bool `protobuf:"varint,1,opt,name=connected,proto3" json:"connected,omitempty"`
   146  	// Scanned indicates whether or not at least one scan has been performed on
   147  	// the endpoint.
   148  	Scanned bool `protobuf:"varint,2,opt,name=scanned,proto3" json:"scanned,omitempty"`
   149  	// Directories is the number of synchronizable directory entries contained
   150  	// in the last snapshot from the endpoint.
   151  	Directories uint64 `protobuf:"varint,3,opt,name=directories,proto3" json:"directories,omitempty"`
   152  	// Files is the number of synchronizable file entries contained in the last
   153  	// snapshot from the endpoint.
   154  	Files uint64 `protobuf:"varint,4,opt,name=files,proto3" json:"files,omitempty"`
   155  	// SymbolicLinks is the number of synchronizable symbolic link entries
   156  	// contained in the last snapshot from the endpoint.
   157  	SymbolicLinks uint64 `protobuf:"varint,5,opt,name=symbolicLinks,proto3" json:"symbolicLinks,omitempty"`
   158  	// TotalFileSize is the total size of all synchronizable files referenced by
   159  	// the last snapshot from the endpoint.
   160  	TotalFileSize uint64 `protobuf:"varint,6,opt,name=totalFileSize,proto3" json:"totalFileSize,omitempty"`
   161  	// ScanProblems is the list of non-terminal problems encountered during the
   162  	// last scanning operation on the endpoint. This list may be a truncated
   163  	// version of the full list if too many problems are encountered to report
   164  	// via the API, in which case ExcludedScanProblems will be non-zero.
   165  	ScanProblems []*core.Problem `protobuf:"bytes,7,rep,name=scanProblems,proto3" json:"scanProblems,omitempty"`
   166  	// ExcludedScanProblems is the number of problems that have been excluded
   167  	// from ScanProblems due to truncation. This value can be non-zero only if
   168  	// ScanProblems is non-empty.
   169  	ExcludedScanProblems uint64 `protobuf:"varint,8,opt,name=excludedScanProblems,proto3" json:"excludedScanProblems,omitempty"`
   170  	// TransitionProblems is the list of non-terminal problems encountered
   171  	// during the last transition operation on the endpoint. This list may be a
   172  	// truncated version of the full list if too many problems are encountered
   173  	// to report via the API, in which case ExcludedTransitionProblems will be
   174  	// non-zero.
   175  	TransitionProblems []*core.Problem `protobuf:"bytes,9,rep,name=transitionProblems,proto3" json:"transitionProblems,omitempty"`
   176  	// ExcludedTransitionProblems is the number of problems that have been
   177  	// excluded from TransitionProblems due to truncation. This value can be
   178  	// non-zero only if TransitionProblems is non-empty.
   179  	ExcludedTransitionProblems uint64 `protobuf:"varint,10,opt,name=excludedTransitionProblems,proto3" json:"excludedTransitionProblems,omitempty"`
   180  	// StagingProgress is the rsync staging progress. It is non-nil if and only
   181  	// if the endpoint is currently staging files.
   182  	StagingProgress *rsync.ReceiverState `protobuf:"bytes,11,opt,name=stagingProgress,proto3" json:"stagingProgress,omitempty"`
   183  }
   184  
   185  func (x *EndpointState) Reset() {
   186  	*x = EndpointState{}
   187  	if protoimpl.UnsafeEnabled {
   188  		mi := &file_synchronization_state_proto_msgTypes[0]
   189  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   190  		ms.StoreMessageInfo(mi)
   191  	}
   192  }
   193  
   194  func (x *EndpointState) String() string {
   195  	return protoimpl.X.MessageStringOf(x)
   196  }
   197  
   198  func (*EndpointState) ProtoMessage() {}
   199  
   200  func (x *EndpointState) ProtoReflect() protoreflect.Message {
   201  	mi := &file_synchronization_state_proto_msgTypes[0]
   202  	if protoimpl.UnsafeEnabled && x != nil {
   203  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   204  		if ms.LoadMessageInfo() == nil {
   205  			ms.StoreMessageInfo(mi)
   206  		}
   207  		return ms
   208  	}
   209  	return mi.MessageOf(x)
   210  }
   211  
   212  // Deprecated: Use EndpointState.ProtoReflect.Descriptor instead.
   213  func (*EndpointState) Descriptor() ([]byte, []int) {
   214  	return file_synchronization_state_proto_rawDescGZIP(), []int{0}
   215  }
   216  
   217  func (x *EndpointState) GetConnected() bool {
   218  	if x != nil {
   219  		return x.Connected
   220  	}
   221  	return false
   222  }
   223  
   224  func (x *EndpointState) GetScanned() bool {
   225  	if x != nil {
   226  		return x.Scanned
   227  	}
   228  	return false
   229  }
   230  
   231  func (x *EndpointState) GetDirectories() uint64 {
   232  	if x != nil {
   233  		return x.Directories
   234  	}
   235  	return 0
   236  }
   237  
   238  func (x *EndpointState) GetFiles() uint64 {
   239  	if x != nil {
   240  		return x.Files
   241  	}
   242  	return 0
   243  }
   244  
   245  func (x *EndpointState) GetSymbolicLinks() uint64 {
   246  	if x != nil {
   247  		return x.SymbolicLinks
   248  	}
   249  	return 0
   250  }
   251  
   252  func (x *EndpointState) GetTotalFileSize() uint64 {
   253  	if x != nil {
   254  		return x.TotalFileSize
   255  	}
   256  	return 0
   257  }
   258  
   259  func (x *EndpointState) GetScanProblems() []*core.Problem {
   260  	if x != nil {
   261  		return x.ScanProblems
   262  	}
   263  	return nil
   264  }
   265  
   266  func (x *EndpointState) GetExcludedScanProblems() uint64 {
   267  	if x != nil {
   268  		return x.ExcludedScanProblems
   269  	}
   270  	return 0
   271  }
   272  
   273  func (x *EndpointState) GetTransitionProblems() []*core.Problem {
   274  	if x != nil {
   275  		return x.TransitionProblems
   276  	}
   277  	return nil
   278  }
   279  
   280  func (x *EndpointState) GetExcludedTransitionProblems() uint64 {
   281  	if x != nil {
   282  		return x.ExcludedTransitionProblems
   283  	}
   284  	return 0
   285  }
   286  
   287  func (x *EndpointState) GetStagingProgress() *rsync.ReceiverState {
   288  	if x != nil {
   289  		return x.StagingProgress
   290  	}
   291  	return nil
   292  }
   293  
   294  // State encodes the current state of a synchronization session. It is mutable
   295  // within the context of the daemon, so it should be accessed and modified in a
   296  // synchronized fashion. Outside of the daemon (e.g. when returned via the API),
   297  // it should be considered immutable.
   298  type State struct {
   299  	state         protoimpl.MessageState
   300  	sizeCache     protoimpl.SizeCache
   301  	unknownFields protoimpl.UnknownFields
   302  
   303  	// Session is the session metadata. If the session is paused, then the
   304  	// remainder of the fields in this structure should be ignored.
   305  	Session *Session `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"`
   306  	// Status is the session status.
   307  	Status Status `protobuf:"varint,2,opt,name=status,proto3,enum=synchronization.Status" json:"status,omitempty"`
   308  	// LastError is the last error to occur during synchronization. It is
   309  	// cleared after a successful synchronization cycle.
   310  	LastError string `protobuf:"bytes,3,opt,name=lastError,proto3" json:"lastError,omitempty"`
   311  	// SuccessfulCycles is the number of successful synchronization cycles to
   312  	// occur since successfully connecting to the endpoints.
   313  	SuccessfulCycles uint64 `protobuf:"varint,4,opt,name=successfulCycles,proto3" json:"successfulCycles,omitempty"`
   314  	// Conflicts are the content conflicts identified during reconciliation.
   315  	// This list may be a truncated version of the full list if too many
   316  	// conflicts are encountered to report via the API, in which case
   317  	// ExcludedConflicts will be non-zero.
   318  	Conflicts []*core.Conflict `protobuf:"bytes,5,rep,name=conflicts,proto3" json:"conflicts,omitempty"`
   319  	// ExcludedConflicts is the number of conflicts that have been excluded from
   320  	// Conflicts due to truncation. This value can be non-zero only if conflicts
   321  	// is non-empty.
   322  	ExcludedConflicts uint64 `protobuf:"varint,6,opt,name=excludedConflicts,proto3" json:"excludedConflicts,omitempty"`
   323  	// AlphaState encodes the state of the alpha endpoint. It is always non-nil.
   324  	AlphaState *EndpointState `protobuf:"bytes,7,opt,name=alphaState,proto3" json:"alphaState,omitempty"`
   325  	// BetaState encodes the state of the beta endpoint. It is always non-nil.
   326  	BetaState *EndpointState `protobuf:"bytes,8,opt,name=betaState,proto3" json:"betaState,omitempty"`
   327  }
   328  
   329  func (x *State) Reset() {
   330  	*x = State{}
   331  	if protoimpl.UnsafeEnabled {
   332  		mi := &file_synchronization_state_proto_msgTypes[1]
   333  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   334  		ms.StoreMessageInfo(mi)
   335  	}
   336  }
   337  
   338  func (x *State) String() string {
   339  	return protoimpl.X.MessageStringOf(x)
   340  }
   341  
   342  func (*State) ProtoMessage() {}
   343  
   344  func (x *State) ProtoReflect() protoreflect.Message {
   345  	mi := &file_synchronization_state_proto_msgTypes[1]
   346  	if protoimpl.UnsafeEnabled && x != nil {
   347  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   348  		if ms.LoadMessageInfo() == nil {
   349  			ms.StoreMessageInfo(mi)
   350  		}
   351  		return ms
   352  	}
   353  	return mi.MessageOf(x)
   354  }
   355  
   356  // Deprecated: Use State.ProtoReflect.Descriptor instead.
   357  func (*State) Descriptor() ([]byte, []int) {
   358  	return file_synchronization_state_proto_rawDescGZIP(), []int{1}
   359  }
   360  
   361  func (x *State) GetSession() *Session {
   362  	if x != nil {
   363  		return x.Session
   364  	}
   365  	return nil
   366  }
   367  
   368  func (x *State) GetStatus() Status {
   369  	if x != nil {
   370  		return x.Status
   371  	}
   372  	return Status_Disconnected
   373  }
   374  
   375  func (x *State) GetLastError() string {
   376  	if x != nil {
   377  		return x.LastError
   378  	}
   379  	return ""
   380  }
   381  
   382  func (x *State) GetSuccessfulCycles() uint64 {
   383  	if x != nil {
   384  		return x.SuccessfulCycles
   385  	}
   386  	return 0
   387  }
   388  
   389  func (x *State) GetConflicts() []*core.Conflict {
   390  	if x != nil {
   391  		return x.Conflicts
   392  	}
   393  	return nil
   394  }
   395  
   396  func (x *State) GetExcludedConflicts() uint64 {
   397  	if x != nil {
   398  		return x.ExcludedConflicts
   399  	}
   400  	return 0
   401  }
   402  
   403  func (x *State) GetAlphaState() *EndpointState {
   404  	if x != nil {
   405  		return x.AlphaState
   406  	}
   407  	return nil
   408  }
   409  
   410  func (x *State) GetBetaState() *EndpointState {
   411  	if x != nil {
   412  		return x.BetaState
   413  	}
   414  	return nil
   415  }
   416  
   417  var File_synchronization_state_proto protoreflect.FileDescriptor
   418  
   419  var file_synchronization_state_proto_rawDesc = []byte{
   420  	0x0a, 0x1b, 0x73, 0x79, 0x6e, 0x63, 0x68, 0x72, 0x6f, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f,
   421  	0x6e, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0f, 0x73,
   422  	0x79, 0x6e, 0x63, 0x68, 0x72, 0x6f, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x23,
   423  	0x73, 0x79, 0x6e, 0x63, 0x68, 0x72, 0x6f, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f,
   424  	0x72, 0x73, 0x79, 0x6e, 0x63, 0x2f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x2e, 0x70, 0x72,
   425  	0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x73, 0x79, 0x6e, 0x63, 0x68, 0x72, 0x6f, 0x6e, 0x69, 0x7a, 0x61,
   426  	0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f,
   427  	0x74, 0x6f, 0x1a, 0x23, 0x73, 0x79, 0x6e, 0x63, 0x68, 0x72, 0x6f, 0x6e, 0x69, 0x7a, 0x61, 0x74,
   428  	0x69, 0x6f, 0x6e, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63,
   429  	0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x22, 0x73, 0x79, 0x6e, 0x63, 0x68, 0x72, 0x6f,
   430  	0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x70, 0x72,
   431  	0x6f, 0x62, 0x6c, 0x65, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf1, 0x03, 0x0a, 0x0d,
   432  	0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1c, 0x0a,
   433  	0x09, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08,
   434  	0x52, 0x09, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x65, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x73,
   435  	0x63, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x63,
   436  	0x61, 0x6e, 0x6e, 0x65, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f,
   437  	0x72, 0x69, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x64, 0x69, 0x72, 0x65,
   438  	0x63, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73,
   439  	0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x24, 0x0a,
   440  	0x0d, 0x73, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x69, 0x63, 0x4c, 0x69, 0x6e, 0x6b, 0x73, 0x18, 0x05,
   441  	0x20, 0x01, 0x28, 0x04, 0x52, 0x0d, 0x73, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x69, 0x63, 0x4c, 0x69,
   442  	0x6e, 0x6b, 0x73, 0x12, 0x24, 0x0a, 0x0d, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x46, 0x69, 0x6c, 0x65,
   443  	0x53, 0x69, 0x7a, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0d, 0x74, 0x6f, 0x74, 0x61,
   444  	0x6c, 0x46, 0x69, 0x6c, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x31, 0x0a, 0x0c, 0x73, 0x63, 0x61,
   445  	0x6e, 0x50, 0x72, 0x6f, 0x62, 0x6c, 0x65, 0x6d, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32,
   446  	0x0d, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x62, 0x6c, 0x65, 0x6d, 0x52, 0x0c,
   447  	0x73, 0x63, 0x61, 0x6e, 0x50, 0x72, 0x6f, 0x62, 0x6c, 0x65, 0x6d, 0x73, 0x12, 0x32, 0x0a, 0x14,
   448  	0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x64, 0x53, 0x63, 0x61, 0x6e, 0x50, 0x72, 0x6f, 0x62,
   449  	0x6c, 0x65, 0x6d, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x14, 0x65, 0x78, 0x63, 0x6c,
   450  	0x75, 0x64, 0x65, 0x64, 0x53, 0x63, 0x61, 0x6e, 0x50, 0x72, 0x6f, 0x62, 0x6c, 0x65, 0x6d, 0x73,
   451  	0x12, 0x3d, 0x0a, 0x12, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72,
   452  	0x6f, 0x62, 0x6c, 0x65, 0x6d, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x63,
   453  	0x6f, 0x72, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x62, 0x6c, 0x65, 0x6d, 0x52, 0x12, 0x74, 0x72, 0x61,
   454  	0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x62, 0x6c, 0x65, 0x6d, 0x73, 0x12,
   455  	0x3e, 0x0a, 0x1a, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73,
   456  	0x69, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x62, 0x6c, 0x65, 0x6d, 0x73, 0x18, 0x0a, 0x20,
   457  	0x01, 0x28, 0x04, 0x52, 0x1a, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x64, 0x54, 0x72, 0x61,
   458  	0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x62, 0x6c, 0x65, 0x6d, 0x73, 0x12,
   459  	0x3e, 0x0a, 0x0f, 0x73, 0x74, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65,
   460  	0x73, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x72, 0x73, 0x79, 0x6e, 0x63,
   461  	0x2e, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x0f,
   462  	0x73, 0x74, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x22,
   463  	0x90, 0x03, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x32, 0x0a, 0x07, 0x73, 0x65, 0x73,
   464  	0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x73, 0x79, 0x6e,
   465  	0x63, 0x68, 0x72, 0x6f, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x73,
   466  	0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2f, 0x0a,
   467  	0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e,
   468  	0x73, 0x79, 0x6e, 0x63, 0x68, 0x72, 0x6f, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e,
   469  	0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1c,
   470  	0x0a, 0x09, 0x6c, 0x61, 0x73, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28,
   471  	0x09, 0x52, 0x09, 0x6c, 0x61, 0x73, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x2a, 0x0a, 0x10,
   472  	0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x66, 0x75, 0x6c, 0x43, 0x79, 0x63, 0x6c, 0x65, 0x73,
   473  	0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x10, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x66,
   474  	0x75, 0x6c, 0x43, 0x79, 0x63, 0x6c, 0x65, 0x73, 0x12, 0x2c, 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x66,
   475  	0x6c, 0x69, 0x63, 0x74, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x63, 0x6f,
   476  	0x72, 0x65, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x52, 0x09, 0x63, 0x6f, 0x6e,
   477  	0x66, 0x6c, 0x69, 0x63, 0x74, 0x73, 0x12, 0x2c, 0x0a, 0x11, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64,
   478  	0x65, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28,
   479  	0x04, 0x52, 0x11, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x6c,
   480  	0x69, 0x63, 0x74, 0x73, 0x12, 0x3e, 0x0a, 0x0a, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x53, 0x74, 0x61,
   481  	0x74, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x73, 0x79, 0x6e, 0x63, 0x68,
   482  	0x72, 0x6f, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x45, 0x6e, 0x64, 0x70, 0x6f,
   483  	0x69, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x0a, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x53,
   484  	0x74, 0x61, 0x74, 0x65, 0x12, 0x3c, 0x0a, 0x09, 0x62, 0x65, 0x74, 0x61, 0x53, 0x74, 0x61, 0x74,
   485  	0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x73, 0x79, 0x6e, 0x63, 0x68, 0x72,
   486  	0x6f, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69,
   487  	0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x09, 0x62, 0x65, 0x74, 0x61, 0x53, 0x74, 0x61,
   488  	0x74, 0x65, 0x2a, 0x97, 0x02, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x10, 0x0a,
   489  	0x0c, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x65, 0x64, 0x10, 0x00, 0x12,
   490  	0x17, 0x0a, 0x13, 0x48, 0x61, 0x6c, 0x74, 0x65, 0x64, 0x4f, 0x6e, 0x52, 0x6f, 0x6f, 0x74, 0x45,
   491  	0x6d, 0x70, 0x74, 0x69, 0x65, 0x64, 0x10, 0x01, 0x12, 0x18, 0x0a, 0x14, 0x48, 0x61, 0x6c, 0x74,
   492  	0x65, 0x64, 0x4f, 0x6e, 0x52, 0x6f, 0x6f, 0x74, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e,
   493  	0x10, 0x02, 0x12, 0x1a, 0x0a, 0x16, 0x48, 0x61, 0x6c, 0x74, 0x65, 0x64, 0x4f, 0x6e, 0x52, 0x6f,
   494  	0x6f, 0x74, 0x54, 0x79, 0x70, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x10, 0x03, 0x12, 0x13,
   495  	0x0a, 0x0f, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6e, 0x67, 0x41, 0x6c, 0x70, 0x68,
   496  	0x61, 0x10, 0x04, 0x12, 0x12, 0x0a, 0x0e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6e,
   497  	0x67, 0x42, 0x65, 0x74, 0x61, 0x10, 0x05, 0x12, 0x0c, 0x0a, 0x08, 0x57, 0x61, 0x74, 0x63, 0x68,
   498  	0x69, 0x6e, 0x67, 0x10, 0x06, 0x12, 0x0c, 0x0a, 0x08, 0x53, 0x63, 0x61, 0x6e, 0x6e, 0x69, 0x6e,
   499  	0x67, 0x10, 0x07, 0x12, 0x14, 0x0a, 0x10, 0x57, 0x61, 0x69, 0x74, 0x69, 0x6e, 0x67, 0x46, 0x6f,
   500  	0x72, 0x52, 0x65, 0x73, 0x63, 0x61, 0x6e, 0x10, 0x08, 0x12, 0x0f, 0x0a, 0x0b, 0x52, 0x65, 0x63,
   501  	0x6f, 0x6e, 0x63, 0x69, 0x6c, 0x69, 0x6e, 0x67, 0x10, 0x09, 0x12, 0x10, 0x0a, 0x0c, 0x53, 0x74,
   502  	0x61, 0x67, 0x69, 0x6e, 0x67, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x10, 0x0a, 0x12, 0x0f, 0x0a, 0x0b,
   503  	0x53, 0x74, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x42, 0x65, 0x74, 0x61, 0x10, 0x0b, 0x12, 0x11, 0x0a,
   504  	0x0d, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x10, 0x0c,
   505  	0x12, 0x0a, 0x0a, 0x06, 0x53, 0x61, 0x76, 0x69, 0x6e, 0x67, 0x10, 0x0d, 0x42, 0x33, 0x5a, 0x31,
   506  	0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6d, 0x75, 0x74, 0x61, 0x67,
   507  	0x65, 0x6e, 0x2d, 0x69, 0x6f, 0x2f, 0x6d, 0x75, 0x74, 0x61, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x6b,
   508  	0x67, 0x2f, 0x73, 0x79, 0x6e, 0x63, 0x68, 0x72, 0x6f, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f,
   509  	0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   510  }
   511  
   512  var (
   513  	file_synchronization_state_proto_rawDescOnce sync.Once
   514  	file_synchronization_state_proto_rawDescData = file_synchronization_state_proto_rawDesc
   515  )
   516  
   517  func file_synchronization_state_proto_rawDescGZIP() []byte {
   518  	file_synchronization_state_proto_rawDescOnce.Do(func() {
   519  		file_synchronization_state_proto_rawDescData = protoimpl.X.CompressGZIP(file_synchronization_state_proto_rawDescData)
   520  	})
   521  	return file_synchronization_state_proto_rawDescData
   522  }
   523  
   524  var file_synchronization_state_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
   525  var file_synchronization_state_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
   526  var file_synchronization_state_proto_goTypes = []interface{}{
   527  	(Status)(0),                 // 0: synchronization.Status
   528  	(*EndpointState)(nil),       // 1: synchronization.EndpointState
   529  	(*State)(nil),               // 2: synchronization.State
   530  	(*core.Problem)(nil),        // 3: core.Problem
   531  	(*rsync.ReceiverState)(nil), // 4: rsync.ReceiverState
   532  	(*Session)(nil),             // 5: synchronization.Session
   533  	(*core.Conflict)(nil),       // 6: core.Conflict
   534  }
   535  var file_synchronization_state_proto_depIdxs = []int32{
   536  	3, // 0: synchronization.EndpointState.scanProblems:type_name -> core.Problem
   537  	3, // 1: synchronization.EndpointState.transitionProblems:type_name -> core.Problem
   538  	4, // 2: synchronization.EndpointState.stagingProgress:type_name -> rsync.ReceiverState
   539  	5, // 3: synchronization.State.session:type_name -> synchronization.Session
   540  	0, // 4: synchronization.State.status:type_name -> synchronization.Status
   541  	6, // 5: synchronization.State.conflicts:type_name -> core.Conflict
   542  	1, // 6: synchronization.State.alphaState:type_name -> synchronization.EndpointState
   543  	1, // 7: synchronization.State.betaState:type_name -> synchronization.EndpointState
   544  	8, // [8:8] is the sub-list for method output_type
   545  	8, // [8:8] is the sub-list for method input_type
   546  	8, // [8:8] is the sub-list for extension type_name
   547  	8, // [8:8] is the sub-list for extension extendee
   548  	0, // [0:8] is the sub-list for field type_name
   549  }
   550  
   551  func init() { file_synchronization_state_proto_init() }
   552  func file_synchronization_state_proto_init() {
   553  	if File_synchronization_state_proto != nil {
   554  		return
   555  	}
   556  	file_synchronization_session_proto_init()
   557  	if !protoimpl.UnsafeEnabled {
   558  		file_synchronization_state_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   559  			switch v := v.(*EndpointState); i {
   560  			case 0:
   561  				return &v.state
   562  			case 1:
   563  				return &v.sizeCache
   564  			case 2:
   565  				return &v.unknownFields
   566  			default:
   567  				return nil
   568  			}
   569  		}
   570  		file_synchronization_state_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   571  			switch v := v.(*State); i {
   572  			case 0:
   573  				return &v.state
   574  			case 1:
   575  				return &v.sizeCache
   576  			case 2:
   577  				return &v.unknownFields
   578  			default:
   579  				return nil
   580  			}
   581  		}
   582  	}
   583  	type x struct{}
   584  	out := protoimpl.TypeBuilder{
   585  		File: protoimpl.DescBuilder{
   586  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   587  			RawDescriptor: file_synchronization_state_proto_rawDesc,
   588  			NumEnums:      1,
   589  			NumMessages:   2,
   590  			NumExtensions: 0,
   591  			NumServices:   0,
   592  		},
   593  		GoTypes:           file_synchronization_state_proto_goTypes,
   594  		DependencyIndexes: file_synchronization_state_proto_depIdxs,
   595  		EnumInfos:         file_synchronization_state_proto_enumTypes,
   596  		MessageInfos:      file_synchronization_state_proto_msgTypes,
   597  	}.Build()
   598  	File_synchronization_state_proto = out.File
   599  	file_synchronization_state_proto_rawDesc = nil
   600  	file_synchronization_state_proto_goTypes = nil
   601  	file_synchronization_state_proto_depIdxs = nil
   602  }