// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.34.2 // protoc v3.21.12 // source: waServerSync/WAServerSync.proto package waServerSync import ( reflect "reflect" sync "sync" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "embed" ) const ( // Verify that this generated code is sufficiently up-to-date. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) // Verify that runtime/protoimpl is sufficiently up-to-date. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) type SyncdMutation_SyncdOperation int32 const ( SyncdMutation_SET SyncdMutation_SyncdOperation = 0 SyncdMutation_REMOVE SyncdMutation_SyncdOperation = 1 ) // Enum value maps for SyncdMutation_SyncdOperation. var ( SyncdMutation_SyncdOperation_name = map[int32]string{ 0: "SET", 1: "REMOVE", } SyncdMutation_SyncdOperation_value = map[string]int32{ "SET": 0, "REMOVE": 1, } ) func (x SyncdMutation_SyncdOperation) Enum() *SyncdMutation_SyncdOperation { p := new(SyncdMutation_SyncdOperation) *p = x return p } func (x SyncdMutation_SyncdOperation) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } func (SyncdMutation_SyncdOperation) Descriptor() protoreflect.EnumDescriptor { return file_waServerSync_WAServerSync_proto_enumTypes[0].Descriptor() } func (SyncdMutation_SyncdOperation) Type() protoreflect.EnumType { return &file_waServerSync_WAServerSync_proto_enumTypes[0] } func (x SyncdMutation_SyncdOperation) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } // Deprecated: Do not use. func (x *SyncdMutation_SyncdOperation) UnmarshalJSON(b []byte) error { num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) if err != nil { return err } *x = SyncdMutation_SyncdOperation(num) return nil } // Deprecated: Use SyncdMutation_SyncdOperation.Descriptor instead. func (SyncdMutation_SyncdOperation) EnumDescriptor() ([]byte, []int) { return file_waServerSync_WAServerSync_proto_rawDescGZIP(), []int{0, 0} } type SyncdMutation struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Operation *SyncdMutation_SyncdOperation `protobuf:"varint,1,opt,name=operation,enum=WAServerSync.SyncdMutation_SyncdOperation" json:"operation,omitempty"` Record *SyncdRecord `protobuf:"bytes,2,opt,name=record" json:"record,omitempty"` } func (x *SyncdMutation) Reset() { *x = SyncdMutation{} if protoimpl.UnsafeEnabled { mi := &file_waServerSync_WAServerSync_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *SyncdMutation) String() string { return protoimpl.X.MessageStringOf(x) } func (*SyncdMutation) ProtoMessage() {} func (x *SyncdMutation) ProtoReflect() protoreflect.Message { mi := &file_waServerSync_WAServerSync_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use SyncdMutation.ProtoReflect.Descriptor instead. func (*SyncdMutation) Descriptor() ([]byte, []int) { return file_waServerSync_WAServerSync_proto_rawDescGZIP(), []int{0} } func (x *SyncdMutation) GetOperation() SyncdMutation_SyncdOperation { if x != nil && x.Operation != nil { return *x.Operation } return SyncdMutation_SET } func (x *SyncdMutation) GetRecord() *SyncdRecord { if x != nil { return x.Record } return nil } type SyncdVersion struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Version *uint64 `protobuf:"varint,1,opt,name=version" json:"version,omitempty"` } func (x *SyncdVersion) Reset() { *x = SyncdVersion{} if protoimpl.UnsafeEnabled { mi := &file_waServerSync_WAServerSync_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *SyncdVersion) String() string { return protoimpl.X.MessageStringOf(x) } func (*SyncdVersion) ProtoMessage() {} func (x *SyncdVersion) ProtoReflect() protoreflect.Message { mi := &file_waServerSync_WAServerSync_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use SyncdVersion.ProtoReflect.Descriptor instead. func (*SyncdVersion) Descriptor() ([]byte, []int) { return file_waServerSync_WAServerSync_proto_rawDescGZIP(), []int{1} } func (x *SyncdVersion) GetVersion() uint64 { if x != nil && x.Version != nil { return *x.Version } return 0 } type ExitCode struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Code *uint64 `protobuf:"varint,1,opt,name=code" json:"code,omitempty"` Text *string `protobuf:"bytes,2,opt,name=text" json:"text,omitempty"` } func (x *ExitCode) Reset() { *x = ExitCode{} if protoimpl.UnsafeEnabled { mi := &file_waServerSync_WAServerSync_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ExitCode) String() string { return protoimpl.X.MessageStringOf(x) } func (*ExitCode) ProtoMessage() {} func (x *ExitCode) ProtoReflect() protoreflect.Message { mi := &file_waServerSync_WAServerSync_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ExitCode.ProtoReflect.Descriptor instead. func (*ExitCode) Descriptor() ([]byte, []int) { return file_waServerSync_WAServerSync_proto_rawDescGZIP(), []int{2} } func (x *ExitCode) GetCode() uint64 { if x != nil && x.Code != nil { return *x.Code } return 0 } func (x *ExitCode) GetText() string { if x != nil && x.Text != nil { return *x.Text } return "" } type SyncdIndex struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Blob []byte `protobuf:"bytes,1,opt,name=blob" json:"blob,omitempty"` } func (x *SyncdIndex) Reset() { *x = SyncdIndex{} if protoimpl.UnsafeEnabled { mi := &file_waServerSync_WAServerSync_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *SyncdIndex) String() string { return protoimpl.X.MessageStringOf(x) } func (*SyncdIndex) ProtoMessage() {} func (x *SyncdIndex) ProtoReflect() protoreflect.Message { mi := &file_waServerSync_WAServerSync_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use SyncdIndex.ProtoReflect.Descriptor instead. func (*SyncdIndex) Descriptor() ([]byte, []int) { return file_waServerSync_WAServerSync_proto_rawDescGZIP(), []int{3} } func (x *SyncdIndex) GetBlob() []byte { if x != nil { return x.Blob } return nil } type SyncdValue struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Blob []byte `protobuf:"bytes,1,opt,name=blob" json:"blob,omitempty"` } func (x *SyncdValue) Reset() { *x = SyncdValue{} if protoimpl.UnsafeEnabled { mi := &file_waServerSync_WAServerSync_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *SyncdValue) String() string { return protoimpl.X.MessageStringOf(x) } func (*SyncdValue) ProtoMessage() {} func (x *SyncdValue) ProtoReflect() protoreflect.Message { mi := &file_waServerSync_WAServerSync_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use SyncdValue.ProtoReflect.Descriptor instead. func (*SyncdValue) Descriptor() ([]byte, []int) { return file_waServerSync_WAServerSync_proto_rawDescGZIP(), []int{4} } func (x *SyncdValue) GetBlob() []byte { if x != nil { return x.Blob } return nil } type KeyId struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields ID []byte `protobuf:"bytes,1,opt,name=ID" json:"ID,omitempty"` } func (x *KeyId) Reset() { *x = KeyId{} if protoimpl.UnsafeEnabled { mi := &file_waServerSync_WAServerSync_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *KeyId) String() string { return protoimpl.X.MessageStringOf(x) } func (*KeyId) ProtoMessage() {} func (x *KeyId) ProtoReflect() protoreflect.Message { mi := &file_waServerSync_WAServerSync_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use KeyId.ProtoReflect.Descriptor instead. func (*KeyId) Descriptor() ([]byte, []int) { return file_waServerSync_WAServerSync_proto_rawDescGZIP(), []int{5} } func (x *KeyId) GetID() []byte { if x != nil { return x.ID } return nil } type SyncdRecord struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Index *SyncdIndex `protobuf:"bytes,1,opt,name=index" json:"index,omitempty"` Value *SyncdValue `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"` KeyID *KeyId `protobuf:"bytes,3,opt,name=keyID" json:"keyID,omitempty"` } func (x *SyncdRecord) Reset() { *x = SyncdRecord{} if protoimpl.UnsafeEnabled { mi := &file_waServerSync_WAServerSync_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *SyncdRecord) String() string { return protoimpl.X.MessageStringOf(x) } func (*SyncdRecord) ProtoMessage() {} func (x *SyncdRecord) ProtoReflect() protoreflect.Message { mi := &file_waServerSync_WAServerSync_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use SyncdRecord.ProtoReflect.Descriptor instead. func (*SyncdRecord) Descriptor() ([]byte, []int) { return file_waServerSync_WAServerSync_proto_rawDescGZIP(), []int{6} } func (x *SyncdRecord) GetIndex() *SyncdIndex { if x != nil { return x.Index } return nil } func (x *SyncdRecord) GetValue() *SyncdValue { if x != nil { return x.Value } return nil } func (x *SyncdRecord) GetKeyID() *KeyId { if x != nil { return x.KeyID } return nil } type ExternalBlobReference struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields MediaKey []byte `protobuf:"bytes,1,opt,name=mediaKey" json:"mediaKey,omitempty"` DirectPath *string `protobuf:"bytes,2,opt,name=directPath" json:"directPath,omitempty"` Handle *string `protobuf:"bytes,3,opt,name=handle" json:"handle,omitempty"` FileSizeBytes *uint64 `protobuf:"varint,4,opt,name=fileSizeBytes" json:"fileSizeBytes,omitempty"` FileSHA256 []byte `protobuf:"bytes,5,opt,name=fileSHA256" json:"fileSHA256,omitempty"` FileEncSHA256 []byte `protobuf:"bytes,6,opt,name=fileEncSHA256" json:"fileEncSHA256,omitempty"` } func (x *ExternalBlobReference) Reset() { *x = ExternalBlobReference{} if protoimpl.UnsafeEnabled { mi := &file_waServerSync_WAServerSync_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ExternalBlobReference) String() string { return protoimpl.X.MessageStringOf(x) } func (*ExternalBlobReference) ProtoMessage() {} func (x *ExternalBlobReference) ProtoReflect() protoreflect.Message { mi := &file_waServerSync_WAServerSync_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ExternalBlobReference.ProtoReflect.Descriptor instead. func (*ExternalBlobReference) Descriptor() ([]byte, []int) { return file_waServerSync_WAServerSync_proto_rawDescGZIP(), []int{7} } func (x *ExternalBlobReference) GetMediaKey() []byte { if x != nil { return x.MediaKey } return nil } func (x *ExternalBlobReference) GetDirectPath() string { if x != nil && x.DirectPath != nil { return *x.DirectPath } return "" } func (x *ExternalBlobReference) GetHandle() string { if x != nil && x.Handle != nil { return *x.Handle } return "" } func (x *ExternalBlobReference) GetFileSizeBytes() uint64 { if x != nil && x.FileSizeBytes != nil { return *x.FileSizeBytes } return 0 } func (x *ExternalBlobReference) GetFileSHA256() []byte { if x != nil { return x.FileSHA256 } return nil } func (x *ExternalBlobReference) GetFileEncSHA256() []byte { if x != nil { return x.FileEncSHA256 } return nil } type SyncdSnapshot struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Version *SyncdVersion `protobuf:"bytes,1,opt,name=version" json:"version,omitempty"` Records []*SyncdRecord `protobuf:"bytes,2,rep,name=records" json:"records,omitempty"` Mac []byte `protobuf:"bytes,3,opt,name=mac" json:"mac,omitempty"` KeyID *KeyId `protobuf:"bytes,4,opt,name=keyID" json:"keyID,omitempty"` } func (x *SyncdSnapshot) Reset() { *x = SyncdSnapshot{} if protoimpl.UnsafeEnabled { mi := &file_waServerSync_WAServerSync_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *SyncdSnapshot) String() string { return protoimpl.X.MessageStringOf(x) } func (*SyncdSnapshot) ProtoMessage() {} func (x *SyncdSnapshot) ProtoReflect() protoreflect.Message { mi := &file_waServerSync_WAServerSync_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use SyncdSnapshot.ProtoReflect.Descriptor instead. func (*SyncdSnapshot) Descriptor() ([]byte, []int) { return file_waServerSync_WAServerSync_proto_rawDescGZIP(), []int{8} } func (x *SyncdSnapshot) GetVersion() *SyncdVersion { if x != nil { return x.Version } return nil } func (x *SyncdSnapshot) GetRecords() []*SyncdRecord { if x != nil { return x.Records } return nil } func (x *SyncdSnapshot) GetMac() []byte { if x != nil { return x.Mac } return nil } func (x *SyncdSnapshot) GetKeyID() *KeyId { if x != nil { return x.KeyID } return nil } type SyncdMutations struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Mutations []*SyncdMutation `protobuf:"bytes,1,rep,name=mutations" json:"mutations,omitempty"` } func (x *SyncdMutations) Reset() { *x = SyncdMutations{} if protoimpl.UnsafeEnabled { mi := &file_waServerSync_WAServerSync_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *SyncdMutations) String() string { return protoimpl.X.MessageStringOf(x) } func (*SyncdMutations) ProtoMessage() {} func (x *SyncdMutations) ProtoReflect() protoreflect.Message { mi := &file_waServerSync_WAServerSync_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use SyncdMutations.ProtoReflect.Descriptor instead. func (*SyncdMutations) Descriptor() ([]byte, []int) { return file_waServerSync_WAServerSync_proto_rawDescGZIP(), []int{9} } func (x *SyncdMutations) GetMutations() []*SyncdMutation { if x != nil { return x.Mutations } return nil } type SyncdPatch struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Version *SyncdVersion `protobuf:"bytes,1,opt,name=version" json:"version,omitempty"` Mutations []*SyncdMutation `protobuf:"bytes,2,rep,name=mutations" json:"mutations,omitempty"` ExternalMutations *ExternalBlobReference `protobuf:"bytes,3,opt,name=externalMutations" json:"externalMutations,omitempty"` SnapshotMAC []byte `protobuf:"bytes,4,opt,name=snapshotMAC" json:"snapshotMAC,omitempty"` PatchMAC []byte `protobuf:"bytes,5,opt,name=patchMAC" json:"patchMAC,omitempty"` KeyID *KeyId `protobuf:"bytes,6,opt,name=keyID" json:"keyID,omitempty"` ExitCode *ExitCode `protobuf:"bytes,7,opt,name=exitCode" json:"exitCode,omitempty"` DeviceIndex *uint32 `protobuf:"varint,8,opt,name=deviceIndex" json:"deviceIndex,omitempty"` ClientDebugData []byte `protobuf:"bytes,9,opt,name=clientDebugData" json:"clientDebugData,omitempty"` } func (x *SyncdPatch) Reset() { *x = SyncdPatch{} if protoimpl.UnsafeEnabled { mi := &file_waServerSync_WAServerSync_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *SyncdPatch) String() string { return protoimpl.X.MessageStringOf(x) } func (*SyncdPatch) ProtoMessage() {} func (x *SyncdPatch) ProtoReflect() protoreflect.Message { mi := &file_waServerSync_WAServerSync_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use SyncdPatch.ProtoReflect.Descriptor instead. func (*SyncdPatch) Descriptor() ([]byte, []int) { return file_waServerSync_WAServerSync_proto_rawDescGZIP(), []int{10} } func (x *SyncdPatch) GetVersion() *SyncdVersion { if x != nil { return x.Version } return nil } func (x *SyncdPatch) GetMutations() []*SyncdMutation { if x != nil { return x.Mutations } return nil } func (x *SyncdPatch) GetExternalMutations() *ExternalBlobReference { if x != nil { return x.ExternalMutations } return nil } func (x *SyncdPatch) GetSnapshotMAC() []byte { if x != nil { return x.SnapshotMAC } return nil } func (x *SyncdPatch) GetPatchMAC() []byte { if x != nil { return x.PatchMAC } return nil } func (x *SyncdPatch) GetKeyID() *KeyId { if x != nil { return x.KeyID } return nil } func (x *SyncdPatch) GetExitCode() *ExitCode { if x != nil { return x.ExitCode } return nil } func (x *SyncdPatch) GetDeviceIndex() uint32 { if x != nil && x.DeviceIndex != nil { return *x.DeviceIndex } return 0 } func (x *SyncdPatch) GetClientDebugData() []byte { if x != nil { return x.ClientDebugData } return nil } var File_waServerSync_WAServerSync_proto protoreflect.FileDescriptor //go:embed WAServerSync.pb.raw var file_waServerSync_WAServerSync_proto_rawDesc []byte var ( file_waServerSync_WAServerSync_proto_rawDescOnce sync.Once file_waServerSync_WAServerSync_proto_rawDescData = file_waServerSync_WAServerSync_proto_rawDesc ) func file_waServerSync_WAServerSync_proto_rawDescGZIP() []byte { file_waServerSync_WAServerSync_proto_rawDescOnce.Do(func() { file_waServerSync_WAServerSync_proto_rawDescData = protoimpl.X.CompressGZIP(file_waServerSync_WAServerSync_proto_rawDescData) }) return file_waServerSync_WAServerSync_proto_rawDescData } var file_waServerSync_WAServerSync_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_waServerSync_WAServerSync_proto_msgTypes = make([]protoimpl.MessageInfo, 11) var file_waServerSync_WAServerSync_proto_goTypes = []any{ (SyncdMutation_SyncdOperation)(0), // 0: WAServerSync.SyncdMutation.SyncdOperation (*SyncdMutation)(nil), // 1: WAServerSync.SyncdMutation (*SyncdVersion)(nil), // 2: WAServerSync.SyncdVersion (*ExitCode)(nil), // 3: WAServerSync.ExitCode (*SyncdIndex)(nil), // 4: WAServerSync.SyncdIndex (*SyncdValue)(nil), // 5: WAServerSync.SyncdValue (*KeyId)(nil), // 6: WAServerSync.KeyId (*SyncdRecord)(nil), // 7: WAServerSync.SyncdRecord (*ExternalBlobReference)(nil), // 8: WAServerSync.ExternalBlobReference (*SyncdSnapshot)(nil), // 9: WAServerSync.SyncdSnapshot (*SyncdMutations)(nil), // 10: WAServerSync.SyncdMutations (*SyncdPatch)(nil), // 11: WAServerSync.SyncdPatch } var file_waServerSync_WAServerSync_proto_depIdxs = []int32{ 0, // 0: WAServerSync.SyncdMutation.operation:type_name -> WAServerSync.SyncdMutation.SyncdOperation 7, // 1: WAServerSync.SyncdMutation.record:type_name -> WAServerSync.SyncdRecord 4, // 2: WAServerSync.SyncdRecord.index:type_name -> WAServerSync.SyncdIndex 5, // 3: WAServerSync.SyncdRecord.value:type_name -> WAServerSync.SyncdValue 6, // 4: WAServerSync.SyncdRecord.keyID:type_name -> WAServerSync.KeyId 2, // 5: WAServerSync.SyncdSnapshot.version:type_name -> WAServerSync.SyncdVersion 7, // 6: WAServerSync.SyncdSnapshot.records:type_name -> WAServerSync.SyncdRecord 6, // 7: WAServerSync.SyncdSnapshot.keyID:type_name -> WAServerSync.KeyId 1, // 8: WAServerSync.SyncdMutations.mutations:type_name -> WAServerSync.SyncdMutation 2, // 9: WAServerSync.SyncdPatch.version:type_name -> WAServerSync.SyncdVersion 1, // 10: WAServerSync.SyncdPatch.mutations:type_name -> WAServerSync.SyncdMutation 8, // 11: WAServerSync.SyncdPatch.externalMutations:type_name -> WAServerSync.ExternalBlobReference 6, // 12: WAServerSync.SyncdPatch.keyID:type_name -> WAServerSync.KeyId 3, // 13: WAServerSync.SyncdPatch.exitCode:type_name -> WAServerSync.ExitCode 14, // [14:14] is the sub-list for method output_type 14, // [14:14] is the sub-list for method input_type 14, // [14:14] is the sub-list for extension type_name 14, // [14:14] is the sub-list for extension extendee 0, // [0:14] is the sub-list for field type_name } func init() { file_waServerSync_WAServerSync_proto_init() } func file_waServerSync_WAServerSync_proto_init() { if File_waServerSync_WAServerSync_proto != nil { return } if !protoimpl.UnsafeEnabled { file_waServerSync_WAServerSync_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*SyncdMutation); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_waServerSync_WAServerSync_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*SyncdVersion); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_waServerSync_WAServerSync_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*ExitCode); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_waServerSync_WAServerSync_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*SyncdIndex); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_waServerSync_WAServerSync_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*SyncdValue); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_waServerSync_WAServerSync_proto_msgTypes[5].Exporter = func(v any, i int) any { switch v := v.(*KeyId); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_waServerSync_WAServerSync_proto_msgTypes[6].Exporter = func(v any, i int) any { switch v := v.(*SyncdRecord); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_waServerSync_WAServerSync_proto_msgTypes[7].Exporter = func(v any, i int) any { switch v := v.(*ExternalBlobReference); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_waServerSync_WAServerSync_proto_msgTypes[8].Exporter = func(v any, i int) any { switch v := v.(*SyncdSnapshot); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_waServerSync_WAServerSync_proto_msgTypes[9].Exporter = func(v any, i int) any { switch v := v.(*SyncdMutations); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_waServerSync_WAServerSync_proto_msgTypes[10].Exporter = func(v any, i int) any { switch v := v.(*SyncdPatch); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_waServerSync_WAServerSync_proto_rawDesc, NumEnums: 1, NumMessages: 11, NumExtensions: 0, NumServices: 0, }, GoTypes: file_waServerSync_WAServerSync_proto_goTypes, DependencyIndexes: file_waServerSync_WAServerSync_proto_depIdxs, EnumInfos: file_waServerSync_WAServerSync_proto_enumTypes, MessageInfos: file_waServerSync_WAServerSync_proto_msgTypes, }.Build() File_waServerSync_WAServerSync_proto = out.File file_waServerSync_WAServerSync_proto_rawDesc = nil file_waServerSync_WAServerSync_proto_goTypes = nil file_waServerSync_WAServerSync_proto_depIdxs = nil }