folderconfiguration.pb.go 76 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600
  1. // Code generated by protoc-gen-gogo. DO NOT EDIT.
  2. // source: lib/config/folderconfiguration.proto
  3. package config
  4. import (
  5. encoding_binary "encoding/binary"
  6. fmt "fmt"
  7. proto "github.com/gogo/protobuf/proto"
  8. fs "github.com/syncthing/syncthing/lib/fs"
  9. github_com_syncthing_syncthing_lib_protocol "github.com/syncthing/syncthing/lib/protocol"
  10. _ "github.com/syncthing/syncthing/proto/ext"
  11. io "io"
  12. math "math"
  13. math_bits "math/bits"
  14. )
  15. // Reference imports to suppress errors if they are not otherwise used.
  16. var _ = proto.Marshal
  17. var _ = fmt.Errorf
  18. var _ = math.Inf
  19. // This is a compile-time assertion to ensure that this generated file
  20. // is compatible with the proto package it is being compiled against.
  21. // A compilation error at this line likely means your copy of the
  22. // proto package needs to be updated.
  23. const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
  24. type FolderDeviceConfiguration struct {
  25. DeviceID github_com_syncthing_syncthing_lib_protocol.DeviceID `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3,customtype=github.com/syncthing/syncthing/lib/protocol.DeviceID" json:"deviceID" xml:"id,attr"`
  26. IntroducedBy github_com_syncthing_syncthing_lib_protocol.DeviceID `protobuf:"bytes,2,opt,name=introduced_by,json=introducedBy,proto3,customtype=github.com/syncthing/syncthing/lib/protocol.DeviceID" json:"introducedBy" xml:"introducedBy,attr"`
  27. EncryptionPassword string `protobuf:"bytes,3,opt,name=encryption_password,json=encryptionPassword,proto3" json:"encryptionPassword" xml:"encryptionPassword"`
  28. }
  29. func (m *FolderDeviceConfiguration) Reset() { *m = FolderDeviceConfiguration{} }
  30. func (m *FolderDeviceConfiguration) String() string { return proto.CompactTextString(m) }
  31. func (*FolderDeviceConfiguration) ProtoMessage() {}
  32. func (*FolderDeviceConfiguration) Descriptor() ([]byte, []int) {
  33. return fileDescriptor_44a9785876ed3afa, []int{0}
  34. }
  35. func (m *FolderDeviceConfiguration) XXX_Unmarshal(b []byte) error {
  36. return m.Unmarshal(b)
  37. }
  38. func (m *FolderDeviceConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  39. if deterministic {
  40. return xxx_messageInfo_FolderDeviceConfiguration.Marshal(b, m, deterministic)
  41. } else {
  42. b = b[:cap(b)]
  43. n, err := m.MarshalToSizedBuffer(b)
  44. if err != nil {
  45. return nil, err
  46. }
  47. return b[:n], nil
  48. }
  49. }
  50. func (m *FolderDeviceConfiguration) XXX_Merge(src proto.Message) {
  51. xxx_messageInfo_FolderDeviceConfiguration.Merge(m, src)
  52. }
  53. func (m *FolderDeviceConfiguration) XXX_Size() int {
  54. return m.ProtoSize()
  55. }
  56. func (m *FolderDeviceConfiguration) XXX_DiscardUnknown() {
  57. xxx_messageInfo_FolderDeviceConfiguration.DiscardUnknown(m)
  58. }
  59. var xxx_messageInfo_FolderDeviceConfiguration proto.InternalMessageInfo
  60. type FolderConfiguration struct {
  61. ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" xml:"id,attr" nodefault:"true"`
  62. Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label" xml:"label,attr" restart:"false"`
  63. FilesystemType fs.FilesystemType `protobuf:"varint,3,opt,name=filesystem_type,json=filesystemType,proto3,enum=fs.FilesystemType" json:"filesystemType" xml:"filesystemType"`
  64. Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path" xml:"path,attr" default:"~"`
  65. Type FolderType `protobuf:"varint,5,opt,name=type,proto3,enum=config.FolderType" json:"type" xml:"type,attr"`
  66. Devices []FolderDeviceConfiguration `protobuf:"bytes,6,rep,name=devices,proto3" json:"devices" xml:"device"`
  67. RescanIntervalS int `protobuf:"varint,7,opt,name=rescan_interval_s,json=rescanIntervalS,proto3,casttype=int" json:"rescanIntervalS" xml:"rescanIntervalS,attr" default:"3600"`
  68. FSWatcherEnabled bool `protobuf:"varint,8,opt,name=fs_watcher_enabled,json=fsWatcherEnabled,proto3" json:"fsWatcherEnabled" xml:"fsWatcherEnabled,attr" default:"true"`
  69. FSWatcherDelayS float64 `protobuf:"fixed64,9,opt,name=fs_watcher_delay_s,json=fsWatcherDelayS,proto3" json:"fsWatcherDelayS" xml:"fsWatcherDelayS,attr" default:"10"`
  70. IgnorePerms bool `protobuf:"varint,10,opt,name=ignore_perms,json=ignorePerms,proto3" json:"ignorePerms" xml:"ignorePerms,attr"`
  71. AutoNormalize bool `protobuf:"varint,11,opt,name=auto_normalize,json=autoNormalize,proto3" json:"autoNormalize" xml:"autoNormalize,attr" default:"true"`
  72. MinDiskFree Size `protobuf:"bytes,12,opt,name=min_disk_free,json=minDiskFree,proto3" json:"minDiskFree" xml:"minDiskFree" default:"1 %"`
  73. Versioning VersioningConfiguration `protobuf:"bytes,13,opt,name=versioning,proto3" json:"versioning" xml:"versioning"`
  74. Copiers int `protobuf:"varint,14,opt,name=copiers,proto3,casttype=int" json:"copiers" xml:"copiers"`
  75. PullerMaxPendingKiB int `protobuf:"varint,15,opt,name=puller_max_pending_kib,json=pullerMaxPendingKib,proto3,casttype=int" json:"pullerMaxPendingKiB" xml:"pullerMaxPendingKiB"`
  76. Hashers int `protobuf:"varint,16,opt,name=hashers,proto3,casttype=int" json:"hashers" xml:"hashers"`
  77. Order PullOrder `protobuf:"varint,17,opt,name=order,proto3,enum=config.PullOrder" json:"order" xml:"order"`
  78. IgnoreDelete bool `protobuf:"varint,18,opt,name=ignore_delete,json=ignoreDelete,proto3" json:"ignoreDelete" xml:"ignoreDelete"`
  79. ScanProgressIntervalS int `protobuf:"varint,19,opt,name=scan_progress_interval_s,json=scanProgressIntervalS,proto3,casttype=int" json:"scanProgressIntervalS" xml:"scanProgressIntervalS"`
  80. PullerPauseS int `protobuf:"varint,20,opt,name=puller_pause_s,json=pullerPauseS,proto3,casttype=int" json:"pullerPauseS" xml:"pullerPauseS"`
  81. MaxConflicts int `protobuf:"varint,21,opt,name=max_conflicts,json=maxConflicts,proto3,casttype=int" json:"maxConflicts" xml:"maxConflicts" default:"10"`
  82. DisableSparseFiles bool `protobuf:"varint,22,opt,name=disable_sparse_files,json=disableSparseFiles,proto3" json:"disableSparseFiles" xml:"disableSparseFiles"`
  83. DisableTempIndexes bool `protobuf:"varint,23,opt,name=disable_temp_indexes,json=disableTempIndexes,proto3" json:"disableTempIndexes" xml:"disableTempIndexes"`
  84. Paused bool `protobuf:"varint,24,opt,name=paused,proto3" json:"paused" xml:"paused"`
  85. WeakHashThresholdPct int `protobuf:"varint,25,opt,name=weak_hash_threshold_pct,json=weakHashThresholdPct,proto3,casttype=int" json:"weakHashThresholdPct" xml:"weakHashThresholdPct"`
  86. MarkerName string `protobuf:"bytes,26,opt,name=marker_name,json=markerName,proto3" json:"markerName" xml:"markerName"`
  87. CopyOwnershipFromParent bool `protobuf:"varint,27,opt,name=copy_ownership_from_parent,json=copyOwnershipFromParent,proto3" json:"copyOwnershipFromParent" xml:"copyOwnershipFromParent"`
  88. RawModTimeWindowS int `protobuf:"varint,28,opt,name=mod_time_window_s,json=modTimeWindowS,proto3,casttype=int" json:"modTimeWindowS" xml:"modTimeWindowS"`
  89. MaxConcurrentWrites int `protobuf:"varint,29,opt,name=max_concurrent_writes,json=maxConcurrentWrites,proto3,casttype=int" json:"maxConcurrentWrites" xml:"maxConcurrentWrites" default:"2"`
  90. DisableFsync bool `protobuf:"varint,30,opt,name=disable_fsync,json=disableFsync,proto3" json:"disableFsync" xml:"disableFsync"`
  91. BlockPullOrder BlockPullOrder `protobuf:"varint,31,opt,name=block_pull_order,json=blockPullOrder,proto3,enum=config.BlockPullOrder" json:"blockPullOrder" xml:"blockPullOrder"`
  92. CopyRangeMethod fs.CopyRangeMethod `protobuf:"varint,32,opt,name=copy_range_method,json=copyRangeMethod,proto3,enum=fs.CopyRangeMethod" json:"copyRangeMethod" xml:"copyRangeMethod" default:"standard"`
  93. CaseSensitiveFS bool `protobuf:"varint,33,opt,name=case_sensitive_fs,json=caseSensitiveFs,proto3" json:"caseSensitiveFS" xml:"caseSensitiveFS"`
  94. JunctionsAsDirs bool `protobuf:"varint,34,opt,name=follow_junctions,json=followJunctions,proto3" json:"junctionsAsDirs" xml:"junctionsAsDirs"`
  95. SyncOwnership bool `protobuf:"varint,35,opt,name=sync_ownership,json=syncOwnership,proto3" json:"syncOwnership" xml:"syncOwnership"`
  96. SendOwnership bool `protobuf:"varint,36,opt,name=send_ownership,json=sendOwnership,proto3" json:"sendOwnership" xml:"sendOwnership"`
  97. SyncXattrs bool `protobuf:"varint,37,opt,name=sync_xattrs,json=syncXattrs,proto3" json:"syncXattrs" xml:"syncXattrs"`
  98. SendXattrs bool `protobuf:"varint,38,opt,name=send_xattrs,json=sendXattrs,proto3" json:"sendXattrs" xml:"sendXattrs"`
  99. XattrFilter XattrFilter `protobuf:"bytes,39,opt,name=xattr_filter,json=xattrFilter,proto3" json:"xattrFilter" xml:"xattrFilter"`
  100. // Legacy deprecated
  101. DeprecatedReadOnly bool `protobuf:"varint,9000,opt,name=read_only,json=readOnly,proto3" json:"-" xml:"ro,attr,omitempty"` // Deprecated: Do not use.
  102. DeprecatedMinDiskFreePct float64 `protobuf:"fixed64,9001,opt,name=min_disk_free_pct,json=minDiskFreePct,proto3" json:"-" xml:"minDiskFreePct,omitempty"` // Deprecated: Do not use.
  103. DeprecatedPullers int `protobuf:"varint,9002,opt,name=pullers,proto3,casttype=int" json:"-" xml:"pullers,omitempty"` // Deprecated: Do not use.
  104. DeprecatedScanOwnership bool `protobuf:"varint,9003,opt,name=scan_ownership,json=scanOwnership,proto3" json:"-" xml:"scanOwnership,omitempty"` // Deprecated: Do not use.
  105. }
  106. func (m *FolderConfiguration) Reset() { *m = FolderConfiguration{} }
  107. func (m *FolderConfiguration) String() string { return proto.CompactTextString(m) }
  108. func (*FolderConfiguration) ProtoMessage() {}
  109. func (*FolderConfiguration) Descriptor() ([]byte, []int) {
  110. return fileDescriptor_44a9785876ed3afa, []int{1}
  111. }
  112. func (m *FolderConfiguration) XXX_Unmarshal(b []byte) error {
  113. return m.Unmarshal(b)
  114. }
  115. func (m *FolderConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  116. if deterministic {
  117. return xxx_messageInfo_FolderConfiguration.Marshal(b, m, deterministic)
  118. } else {
  119. b = b[:cap(b)]
  120. n, err := m.MarshalToSizedBuffer(b)
  121. if err != nil {
  122. return nil, err
  123. }
  124. return b[:n], nil
  125. }
  126. }
  127. func (m *FolderConfiguration) XXX_Merge(src proto.Message) {
  128. xxx_messageInfo_FolderConfiguration.Merge(m, src)
  129. }
  130. func (m *FolderConfiguration) XXX_Size() int {
  131. return m.ProtoSize()
  132. }
  133. func (m *FolderConfiguration) XXX_DiscardUnknown() {
  134. xxx_messageInfo_FolderConfiguration.DiscardUnknown(m)
  135. }
  136. var xxx_messageInfo_FolderConfiguration proto.InternalMessageInfo
  137. // Extended attribute filter. This is a list of patterns to match (glob
  138. // style), each with an action (permit or deny). First match is used. If the
  139. // filter is empty, all strings are permitted. If the filter is non-empty,
  140. // the default action becomes deny. To counter this, you can use the "*"
  141. // pattern to match all strings at the end of the filter. There are also
  142. // limits on the size of accepted attributes.
  143. type XattrFilter struct {
  144. Entries []XattrFilterEntry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries" xml:"entry"`
  145. MaxSingleEntrySize int `protobuf:"varint,2,opt,name=max_single_entry_size,json=maxSingleEntrySize,proto3,casttype=int" json:"maxSingleEntrySize" xml:"maxSingleEntrySize" default:"1024"`
  146. MaxTotalSize int `protobuf:"varint,3,opt,name=max_total_size,json=maxTotalSize,proto3,casttype=int" json:"maxTotalSize" xml:"maxTotalSize" default:"4096"`
  147. }
  148. func (m *XattrFilter) Reset() { *m = XattrFilter{} }
  149. func (m *XattrFilter) String() string { return proto.CompactTextString(m) }
  150. func (*XattrFilter) ProtoMessage() {}
  151. func (*XattrFilter) Descriptor() ([]byte, []int) {
  152. return fileDescriptor_44a9785876ed3afa, []int{2}
  153. }
  154. func (m *XattrFilter) XXX_Unmarshal(b []byte) error {
  155. return m.Unmarshal(b)
  156. }
  157. func (m *XattrFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  158. if deterministic {
  159. return xxx_messageInfo_XattrFilter.Marshal(b, m, deterministic)
  160. } else {
  161. b = b[:cap(b)]
  162. n, err := m.MarshalToSizedBuffer(b)
  163. if err != nil {
  164. return nil, err
  165. }
  166. return b[:n], nil
  167. }
  168. }
  169. func (m *XattrFilter) XXX_Merge(src proto.Message) {
  170. xxx_messageInfo_XattrFilter.Merge(m, src)
  171. }
  172. func (m *XattrFilter) XXX_Size() int {
  173. return m.ProtoSize()
  174. }
  175. func (m *XattrFilter) XXX_DiscardUnknown() {
  176. xxx_messageInfo_XattrFilter.DiscardUnknown(m)
  177. }
  178. var xxx_messageInfo_XattrFilter proto.InternalMessageInfo
  179. type XattrFilterEntry struct {
  180. Match string `protobuf:"bytes,1,opt,name=match,proto3" json:"match" xml:"match,attr"`
  181. Permit bool `protobuf:"varint,2,opt,name=permit,proto3" json:"permit" xml:"permit,attr"`
  182. }
  183. func (m *XattrFilterEntry) Reset() { *m = XattrFilterEntry{} }
  184. func (m *XattrFilterEntry) String() string { return proto.CompactTextString(m) }
  185. func (*XattrFilterEntry) ProtoMessage() {}
  186. func (*XattrFilterEntry) Descriptor() ([]byte, []int) {
  187. return fileDescriptor_44a9785876ed3afa, []int{3}
  188. }
  189. func (m *XattrFilterEntry) XXX_Unmarshal(b []byte) error {
  190. return m.Unmarshal(b)
  191. }
  192. func (m *XattrFilterEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  193. if deterministic {
  194. return xxx_messageInfo_XattrFilterEntry.Marshal(b, m, deterministic)
  195. } else {
  196. b = b[:cap(b)]
  197. n, err := m.MarshalToSizedBuffer(b)
  198. if err != nil {
  199. return nil, err
  200. }
  201. return b[:n], nil
  202. }
  203. }
  204. func (m *XattrFilterEntry) XXX_Merge(src proto.Message) {
  205. xxx_messageInfo_XattrFilterEntry.Merge(m, src)
  206. }
  207. func (m *XattrFilterEntry) XXX_Size() int {
  208. return m.ProtoSize()
  209. }
  210. func (m *XattrFilterEntry) XXX_DiscardUnknown() {
  211. xxx_messageInfo_XattrFilterEntry.DiscardUnknown(m)
  212. }
  213. var xxx_messageInfo_XattrFilterEntry proto.InternalMessageInfo
  214. func init() {
  215. proto.RegisterType((*FolderDeviceConfiguration)(nil), "config.FolderDeviceConfiguration")
  216. proto.RegisterType((*FolderConfiguration)(nil), "config.FolderConfiguration")
  217. proto.RegisterType((*XattrFilter)(nil), "config.XattrFilter")
  218. proto.RegisterType((*XattrFilterEntry)(nil), "config.XattrFilterEntry")
  219. }
  220. func init() {
  221. proto.RegisterFile("lib/config/folderconfiguration.proto", fileDescriptor_44a9785876ed3afa)
  222. }
  223. var fileDescriptor_44a9785876ed3afa = []byte{
  224. // 2413 bytes of a gzipped FileDescriptorProto
  225. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x58, 0xcf, 0x6f, 0x24, 0x47,
  226. 0xf5, 0x77, 0xdb, 0xbb, 0x6b, 0xbb, 0xfc, 0xbb, 0x6c, 0xef, 0x76, 0x9c, 0xc4, 0x35, 0xe9, 0xcc,
  227. 0x26, 0x4e, 0xbe, 0x89, 0x77, 0xe3, 0x44, 0x91, 0x12, 0x7d, 0x03, 0x64, 0xec, 0x8c, 0x58, 0x16,
  228. 0x67, 0xad, 0x1e, 0x43, 0x20, 0x41, 0x6a, 0xda, 0xdd, 0x35, 0x33, 0x1d, 0xf7, 0x8f, 0xa1, 0xab,
  229. 0xbd, 0xf6, 0xec, 0x21, 0x0a, 0x39, 0x20, 0x24, 0x72, 0x40, 0xe6, 0x80, 0x38, 0x20, 0x45, 0x02,
  230. 0x21, 0x08, 0x17, 0xce, 0xfc, 0x05, 0xb9, 0x20, 0xfb, 0x84, 0x10, 0x87, 0x92, 0xe2, 0xbd, 0xcd,
  231. 0x71, 0x8e, 0x7b, 0x42, 0xef, 0xf5, 0x8f, 0xa9, 0x9e, 0x99, 0x48, 0x48, 0xdc, 0xa6, 0x3e, 0x9f,
  232. 0x57, 0xef, 0x7d, 0xfa, 0x55, 0xd5, 0xab, 0x57, 0x43, 0xaa, 0xbe, 0x77, 0x74, 0xc7, 0x89, 0xc2,
  233. 0xa6, 0xd7, 0xba, 0xd3, 0x8c, 0x7c, 0x97, 0xc7, 0xe9, 0xe0, 0x24, 0xb6, 0x13, 0x2f, 0x0a, 0xb7,
  234. 0x3b, 0x71, 0x94, 0x44, 0xf4, 0x46, 0x0a, 0x6e, 0x3c, 0x3d, 0x62, 0x9d, 0x74, 0x3b, 0x3c, 0x35,
  235. 0xda, 0x58, 0x57, 0x48, 0xe1, 0x3d, 0xca, 0xe1, 0x0d, 0x05, 0xee, 0x9c, 0xf8, 0x7e, 0x14, 0xbb,
  236. 0x3c, 0xce, 0xb8, 0x2d, 0x85, 0x7b, 0xc8, 0x63, 0xe1, 0x45, 0xa1, 0x17, 0xb6, 0xc6, 0x28, 0xd8,
  237. 0x60, 0x8a, 0xe5, 0x91, 0x1f, 0x39, 0xc7, 0xc3, 0xae, 0x28, 0x18, 0x34, 0xc5, 0x1d, 0x10, 0x24,
  238. 0x32, 0xec, 0x99, 0x0c, 0x73, 0xa2, 0x4e, 0x37, 0xb6, 0xc3, 0x16, 0x0f, 0x78, 0xd2, 0x8e, 0xdc,
  239. 0x8c, 0x9d, 0xe5, 0x67, 0x49, 0xfa, 0xd3, 0xf8, 0xe7, 0x14, 0x79, 0xaa, 0x8e, 0xdf, 0xb3, 0xc7,
  240. 0x1f, 0x7a, 0x0e, 0xdf, 0x55, 0x15, 0xd0, 0x2f, 0x35, 0x32, 0xeb, 0x22, 0x6e, 0x79, 0xae, 0xae,
  241. 0x55, 0xb4, 0xad, 0xf9, 0xda, 0xe7, 0xda, 0x57, 0x92, 0x4d, 0xfc, 0x5b, 0xb2, 0x37, 0x5a, 0x5e,
  242. 0xd2, 0x3e, 0x39, 0xda, 0x76, 0xa2, 0xe0, 0x8e, 0xe8, 0x86, 0x4e, 0xd2, 0xf6, 0xc2, 0x96, 0xf2,
  243. 0x0b, 0x24, 0x60, 0x10, 0x27, 0xf2, 0xb7, 0x53, 0xef, 0xf7, 0xf6, 0xae, 0x24, 0x9b, 0xc9, 0x7f,
  244. 0xf7, 0x24, 0x9b, 0x71, 0xb3, 0xdf, 0x7d, 0xc9, 0x16, 0xce, 0x02, 0xff, 0x6d, 0xc3, 0x73, 0x5f,
  245. 0xb1, 0x93, 0x24, 0x36, 0x7a, 0x17, 0xd5, 0xe9, 0xec, 0x77, 0xff, 0xa2, 0x5a, 0xd8, 0xfd, 0xf2,
  246. 0xb2, 0xaa, 0x9d, 0x5f, 0x56, 0x0b, 0x1f, 0x66, 0xce, 0xb8, 0xf4, 0x4f, 0x1a, 0x59, 0xf0, 0xc2,
  247. 0x24, 0x8e, 0xdc, 0x13, 0x87, 0xbb, 0xd6, 0x51, 0x57, 0x9f, 0x44, 0xc1, 0x9f, 0xfe, 0x4f, 0x82,
  248. 0x7b, 0x92, 0xcd, 0x0f, 0xbc, 0xd6, 0xba, 0x7d, 0xc9, 0x6e, 0xa5, 0x42, 0x15, 0xb0, 0x90, 0xbc,
  249. 0x32, 0x82, 0x82, 0x60, 0xb3, 0xe4, 0x81, 0x3a, 0x64, 0x95, 0x87, 0x4e, 0xdc, 0xed, 0x40, 0x8e,
  250. 0xad, 0x8e, 0x2d, 0xc4, 0x69, 0x14, 0xbb, 0xfa, 0x54, 0x45, 0xdb, 0x9a, 0xad, 0xed, 0xf4, 0x24,
  251. 0xa3, 0x03, 0xfa, 0x20, 0x63, 0xfb, 0x92, 0xe9, 0x18, 0x76, 0x94, 0x32, 0xcc, 0x31, 0xf6, 0xc6,
  252. 0x79, 0x95, 0xac, 0xa6, 0x0b, 0x5b, 0x5e, 0xd2, 0x06, 0x99, 0xcc, 0x96, 0x72, 0xb6, 0xb6, 0x7b,
  253. 0x25, 0xd9, 0x24, 0x7e, 0xe2, 0xa4, 0x07, 0x11, 0x36, 0x4b, 0x2b, 0x50, 0x09, 0x23, 0x97, 0x37,
  254. 0xed, 0x13, 0x3f, 0x79, 0xdb, 0x48, 0xe2, 0x13, 0xae, 0x2e, 0xc9, 0xf9, 0x65, 0x75, 0xf2, 0xde,
  255. 0xde, 0x17, 0xf0, 0x6d, 0x93, 0x9e, 0x4b, 0x7f, 0x40, 0xae, 0xfb, 0xf6, 0x11, 0xf7, 0x31, 0xe3,
  256. 0xb3, 0xb5, 0x6f, 0xf7, 0x24, 0x4b, 0x81, 0xbe, 0x64, 0x15, 0x74, 0x8a, 0xa3, 0xcc, 0x6f, 0xcc,
  257. 0x45, 0x62, 0xc7, 0xc9, 0xdb, 0x46, 0xd3, 0xf6, 0x05, 0xba, 0x25, 0x03, 0xfa, 0xd3, 0xcb, 0xea,
  258. 0x84, 0x99, 0x4e, 0xa6, 0x2d, 0xb2, 0xd4, 0xf4, 0x7c, 0x2e, 0xba, 0x22, 0xe1, 0x81, 0x05, 0xfb,
  259. 0x1b, 0x93, 0xb4, 0xb8, 0x43, 0xb7, 0x9b, 0x62, 0xbb, 0x5e, 0x50, 0x87, 0xdd, 0x0e, 0xaf, 0xbd,
  260. 0xdc, 0x93, 0x6c, 0xb1, 0x59, 0xc2, 0xfa, 0x92, 0xad, 0x61, 0xf4, 0x32, 0x6c, 0x98, 0x43, 0x76,
  261. 0x74, 0x9f, 0x5c, 0xeb, 0xd8, 0x49, 0x5b, 0xbf, 0x86, 0xf2, 0xdf, 0xea, 0x49, 0x86, 0xe3, 0xbe,
  262. 0x64, 0x4f, 0xe3, 0x7c, 0x18, 0x64, 0xe2, 0x8b, 0x94, 0x7c, 0x02, 0xc2, 0x67, 0x0b, 0xe6, 0xc9,
  263. 0x45, 0x55, 0xfb, 0xc4, 0xc4, 0x69, 0xf4, 0x80, 0x5c, 0x43, 0xb1, 0xd7, 0x33, 0xb1, 0xe9, 0xe9,
  264. 0xdd, 0x4e, 0x97, 0x03, 0xc5, 0x6e, 0x41, 0x88, 0x24, 0x95, 0xb8, 0x84, 0x21, 0x60, 0x50, 0x6c,
  265. 0xa3, 0xd9, 0x62, 0x64, 0xa2, 0x15, 0xfd, 0x09, 0x99, 0x4e, 0xf7, 0xb9, 0xd0, 0x6f, 0x54, 0xa6,
  266. 0xb6, 0xe6, 0x76, 0x9e, 0x2b, 0x3b, 0x1d, 0x73, 0x78, 0x6b, 0x0c, 0xb6, 0x7d, 0x4f, 0xb2, 0x7c,
  267. 0x66, 0x5f, 0xb2, 0x79, 0x0c, 0x95, 0x8e, 0x0d, 0x33, 0x27, 0xe8, 0x6f, 0x34, 0xb2, 0x12, 0x73,
  268. 0xe1, 0xd8, 0xa1, 0xe5, 0x85, 0x09, 0x8f, 0x1f, 0xda, 0xbe, 0x25, 0xf4, 0xe9, 0x8a, 0xb6, 0x75,
  269. 0xbd, 0xd6, 0xea, 0x49, 0xb6, 0x94, 0x92, 0xf7, 0x32, 0xae, 0xd1, 0x97, 0xec, 0x25, 0xf4, 0x34,
  270. 0x84, 0x0f, 0xa7, 0xe8, 0xf5, 0x37, 0xef, 0xde, 0x35, 0x9e, 0x48, 0x36, 0xe5, 0x85, 0x49, 0xef,
  271. 0xa2, 0xba, 0x36, 0xce, 0xfc, 0xc9, 0x45, 0xf5, 0x1a, 0xd8, 0x99, 0xc3, 0x41, 0xe8, 0xdf, 0x35,
  272. 0x42, 0x9b, 0xc2, 0x3a, 0xb5, 0x13, 0xa7, 0xcd, 0x63, 0x8b, 0x87, 0xf6, 0x91, 0xcf, 0x5d, 0x7d,
  273. 0xa6, 0xa2, 0x6d, 0xcd, 0xd4, 0x7e, 0xa5, 0x5d, 0x49, 0xb6, 0x5c, 0x6f, 0x7c, 0x90, 0xb2, 0xef,
  274. 0xa5, 0x64, 0x4f, 0xb2, 0xe5, 0xa6, 0x28, 0x63, 0x7d, 0xc9, 0x5e, 0x4e, 0x37, 0xc1, 0x10, 0x31,
  275. 0xac, 0x36, 0xdf, 0xe3, 0xeb, 0x63, 0x0d, 0x41, 0x27, 0x58, 0x9c, 0x5f, 0x56, 0x47, 0xc2, 0x9a,
  276. 0x23, 0x41, 0xe9, 0xdf, 0xca, 0xe2, 0x5d, 0xee, 0xdb, 0x5d, 0x4b, 0xe8, 0xb3, 0x15, 0x6d, 0x4b,
  277. 0xab, 0x7d, 0x06, 0xe2, 0x97, 0x0a, 0x2f, 0x7b, 0x40, 0x36, 0x20, 0xcf, 0x85, 0x9b, 0x14, 0xea,
  278. 0x4b, 0xf6, 0x62, 0x59, 0x7a, 0x8a, 0x0f, 0x2b, 0x7f, 0xed, 0x2e, 0xe8, 0x5e, 0x1b, 0x67, 0xf5,
  279. 0xe4, 0xa2, 0x3a, 0xf9, 0xda, 0xdd, 0xf3, 0xcb, 0xea, 0x70, 0x38, 0x73, 0x38, 0x18, 0xfd, 0x29,
  280. 0x99, 0xf7, 0x5a, 0x61, 0x14, 0x73, 0xab, 0xc3, 0xe3, 0x40, 0xe8, 0x04, 0x13, 0xfd, 0x4e, 0x4f,
  281. 0xb2, 0xb9, 0x14, 0x3f, 0x00, 0xb8, 0x2f, 0xd9, 0xcd, 0xb4, 0x4c, 0x0c, 0xb0, 0x62, 0xdf, 0x2e,
  282. 0x0f, 0x83, 0xa6, 0x3a, 0x95, 0xfe, 0x5c, 0x23, 0x8b, 0xf6, 0x49, 0x12, 0x59, 0x61, 0x14, 0x07,
  283. 0xb6, 0xef, 0x3d, 0xe2, 0xfa, 0x1c, 0x06, 0xf9, 0xb0, 0x27, 0xd9, 0x02, 0x30, 0xef, 0xe7, 0x44,
  284. 0xf1, 0xe9, 0x25, 0xf4, 0x9b, 0x96, 0x8c, 0x8e, 0x5a, 0xe5, 0xeb, 0x65, 0x96, 0xfd, 0xd2, 0x88,
  285. 0x2c, 0x04, 0x5e, 0x68, 0xb9, 0x9e, 0x38, 0xb6, 0x9a, 0x31, 0xe7, 0xfa, 0x7c, 0x45, 0xdb, 0x9a,
  286. 0xdb, 0x99, 0xcf, 0xcf, 0x53, 0xc3, 0x7b, 0xc4, 0x6b, 0xef, 0x64, 0x47, 0x67, 0x2e, 0xf0, 0xc2,
  287. 0x3d, 0x4f, 0x1c, 0xd7, 0x63, 0x0e, 0x8a, 0x18, 0x2a, 0x52, 0x30, 0x75, 0x0d, 0x2a, 0xb7, 0x8d,
  288. 0x27, 0x17, 0xd5, 0xa9, 0xd7, 0x2a, 0xb7, 0x4d, 0x75, 0x1a, 0x6d, 0x11, 0x32, 0xb8, 0xe0, 0xf5,
  289. 0x05, 0x8c, 0xc6, 0xf2, 0x68, 0x3f, 0x2c, 0x98, 0xf2, 0xd9, 0x7d, 0x21, 0x13, 0xa0, 0x4c, 0xed,
  290. 0x4b, 0xb6, 0x8c, 0xf1, 0x07, 0x90, 0x61, 0x2a, 0x3c, 0x7d, 0x87, 0x4c, 0x3b, 0x51, 0xc7, 0xe3,
  291. 0xb1, 0xd0, 0x17, 0xf1, 0xe8, 0x3e, 0x0f, 0x87, 0x3f, 0x83, 0x8a, 0xfb, 0x35, 0x1b, 0xe7, 0xc7,
  292. 0xd2, 0xcc, 0x0d, 0xe8, 0x3f, 0x34, 0x72, 0x13, 0x5a, 0x0b, 0x1e, 0x5b, 0x81, 0x7d, 0x66, 0x75,
  293. 0x78, 0xe8, 0x7a, 0x61, 0xcb, 0x3a, 0xf6, 0x8e, 0xf4, 0x25, 0x74, 0xf7, 0x5b, 0xd8, 0xb5, 0xab,
  294. 0x07, 0x68, 0xb2, 0x6f, 0x9f, 0x1d, 0xa4, 0x06, 0xf7, 0xbd, 0x5a, 0x4f, 0xb2, 0xd5, 0xce, 0x28,
  295. 0xdc, 0x97, 0xec, 0xa9, 0xb4, 0x7a, 0x8e, 0x72, 0x4a, 0x55, 0x18, 0x3b, 0x75, 0x3c, 0x7c, 0x7e,
  296. 0x59, 0x1d, 0x17, 0xdf, 0x1c, 0x63, 0x7b, 0x04, 0xe9, 0x68, 0xdb, 0xa2, 0x0d, 0xe9, 0x58, 0x1e,
  297. 0xa4, 0x23, 0x83, 0x8a, 0x74, 0x64, 0xe3, 0x41, 0x3a, 0x32, 0x80, 0xbe, 0x4b, 0xae, 0x63, 0x93,
  298. 0xa5, 0xaf, 0x60, 0x11, 0x5f, 0xc9, 0x57, 0x0c, 0xe2, 0x3f, 0x00, 0xa2, 0xa6, 0xc3, 0x2d, 0x87,
  299. 0x36, 0x7d, 0xc9, 0xe6, 0xd0, 0x1b, 0x8e, 0x0c, 0x33, 0x45, 0xe9, 0x7d, 0xb2, 0x90, 0x1d, 0x28,
  300. 0x97, 0xfb, 0x3c, 0xe1, 0x3a, 0xc5, 0xcd, 0xfe, 0x02, 0xb6, 0x14, 0x48, 0xec, 0x21, 0xde, 0x97,
  301. 0x8c, 0x2a, 0x47, 0x2a, 0x05, 0x0d, 0xb3, 0x64, 0x43, 0xcf, 0x88, 0x8e, 0x05, 0xba, 0x13, 0x47,
  302. 0xad, 0x98, 0x0b, 0xa1, 0x56, 0xea, 0x55, 0xfc, 0x3e, 0xb8, 0x75, 0xd7, 0xc1, 0xe6, 0x20, 0x33,
  303. 0x51, 0xeb, 0x75, 0x7a, 0x8f, 0x8d, 0x65, 0x8b, 0x6f, 0x1f, 0x3f, 0x99, 0x36, 0xc8, 0x62, 0xb6,
  304. 0x2f, 0x3a, 0xf6, 0x89, 0xe0, 0x96, 0xd0, 0xd7, 0x30, 0xde, 0xab, 0xf0, 0x1d, 0x29, 0x73, 0x00,
  305. 0x44, 0xa3, 0xf8, 0x0e, 0x15, 0x2c, 0xbc, 0x97, 0x4c, 0x29, 0x27, 0x0b, 0xb0, 0xcb, 0x20, 0xa9,
  306. 0xbe, 0xe7, 0x24, 0x42, 0x5f, 0x47, 0x9f, 0xdf, 0x01, 0x9f, 0x81, 0x7d, 0xb6, 0x9b, 0xe3, 0x83,
  307. 0x53, 0xa7, 0x80, 0xe5, 0xd2, 0x97, 0x05, 0x48, 0x2b, 0x9d, 0x59, 0x9a, 0x4d, 0x5d, 0xb2, 0xe6,
  308. 0x7a, 0x02, 0x4a, 0xb2, 0x25, 0x3a, 0x76, 0x2c, 0xb8, 0x85, 0x37, 0xbf, 0x7e, 0x13, 0x57, 0x02,
  309. 0x7b, 0xad, 0x8c, 0x6f, 0x20, 0x8d, 0x3d, 0x45, 0xd1, 0x6b, 0x8d, 0x52, 0x86, 0x39, 0xc6, 0x5e,
  310. 0x8d, 0x92, 0xf0, 0xa0, 0x63, 0x79, 0xa1, 0xcb, 0xcf, 0xb8, 0xd0, 0x6f, 0x8d, 0x44, 0x39, 0xe4,
  311. 0x41, 0xe7, 0x5e, 0xca, 0x0e, 0x47, 0x51, 0xa8, 0x41, 0x14, 0x05, 0xa4, 0x3b, 0xe4, 0x06, 0x2e,
  312. 0x80, 0xab, 0xeb, 0xe8, 0x77, 0xa3, 0x27, 0x59, 0x86, 0x14, 0x57, 0x7b, 0x3a, 0x34, 0xcc, 0x0c,
  313. 0xa7, 0x09, 0xb9, 0x75, 0xca, 0xed, 0x63, 0x0b, 0x76, 0xb5, 0x95, 0xb4, 0x63, 0x2e, 0xda, 0x91,
  314. 0xef, 0x5a, 0x1d, 0x27, 0xd1, 0x9f, 0xc2, 0x84, 0x43, 0x79, 0x5f, 0x03, 0x93, 0xef, 0xda, 0xa2,
  315. 0x7d, 0x98, 0x1b, 0x1c, 0x38, 0x49, 0x5f, 0xb2, 0x0d, 0x74, 0x39, 0x8e, 0x2c, 0x16, 0x75, 0xec,
  316. 0x54, 0xba, 0x4b, 0xe6, 0x02, 0x3b, 0x3e, 0xe6, 0xb1, 0x15, 0xda, 0x01, 0xd7, 0x37, 0xb0, 0xab,
  317. 0x32, 0xa0, 0x9c, 0xa5, 0xf0, 0xfb, 0x76, 0xc0, 0x8b, 0x72, 0x36, 0x80, 0x0c, 0x53, 0xe1, 0x69,
  318. 0x97, 0x6c, 0xc0, 0xeb, 0xc5, 0x8a, 0x4e, 0x43, 0x1e, 0x8b, 0xb6, 0xd7, 0xb1, 0x9a, 0x71, 0x14,
  319. 0x58, 0x1d, 0x3b, 0xe6, 0x61, 0xa2, 0x3f, 0x8d, 0x29, 0xf8, 0xff, 0x9e, 0x64, 0xb7, 0xc0, 0xea,
  320. 0x41, 0x6e, 0x54, 0x8f, 0xa3, 0xe0, 0x00, 0x4d, 0xfa, 0x92, 0x3d, 0x9b, 0x57, 0xbc, 0x71, 0xbc,
  321. 0x61, 0x7e, 0xd3, 0x4c, 0xfa, 0x0b, 0x8d, 0xac, 0x04, 0x91, 0x6b, 0x25, 0x5e, 0xc0, 0xad, 0x53,
  322. 0x2f, 0x74, 0xa3, 0x53, 0x4b, 0xe8, 0xcf, 0x60, 0xc2, 0x3e, 0xba, 0x92, 0x6c, 0xc5, 0xb4, 0x4f,
  323. 0xf7, 0x23, 0xf7, 0xd0, 0x0b, 0xf8, 0x07, 0xc8, 0xc2, 0xe5, 0xbd, 0x18, 0x94, 0x90, 0xa2, 0xf7,
  324. 0x2c, 0xc3, 0x79, 0xe6, 0xce, 0x2f, 0xab, 0xa3, 0x5e, 0xcc, 0x21, 0x1f, 0xf4, 0x53, 0x8d, 0xac,
  325. 0x67, 0xc7, 0xc4, 0x39, 0x89, 0x41, 0x9b, 0x75, 0x1a, 0x7b, 0x09, 0x17, 0xfa, 0xb3, 0x28, 0xe6,
  326. 0xfb, 0x50, 0x7a, 0xd3, 0x0d, 0x9f, 0xf1, 0x1f, 0x20, 0xdd, 0x97, 0xec, 0xb6, 0x72, 0x6a, 0x4a,
  327. 0x9c, 0x72, 0x78, 0x76, 0x94, 0xb3, 0xa3, 0xed, 0x98, 0xe3, 0x3c, 0x41, 0x11, 0xcb, 0xf7, 0x76,
  328. 0x13, 0x9e, 0x4a, 0xfa, 0xe6, 0xa0, 0x88, 0x65, 0x44, 0x1d, 0xf0, 0xe2, 0xf0, 0xab, 0xa0, 0x61,
  329. 0x96, 0x6c, 0xa8, 0x4f, 0x96, 0xf1, 0x09, 0x6b, 0x41, 0x2d, 0xb0, 0xd2, 0xfa, 0xca, 0xb0, 0xbe,
  330. 0xde, 0xcc, 0xeb, 0x6b, 0x0d, 0xf8, 0x41, 0x91, 0xc5, 0xae, 0xfe, 0xa8, 0x84, 0x15, 0x99, 0x2d,
  331. 0xc3, 0x86, 0x39, 0x64, 0x47, 0x3f, 0xd7, 0xc8, 0x0a, 0x6e, 0x21, 0x7c, 0x01, 0x5b, 0xe9, 0x13,
  332. 0x58, 0xaf, 0x60, 0xbc, 0x55, 0x78, 0x41, 0xec, 0x46, 0x9d, 0xae, 0x09, 0xdc, 0x3e, 0x52, 0xb5,
  333. 0xfb, 0xd0, 0x83, 0x39, 0x65, 0xb0, 0x2f, 0xd9, 0x56, 0xb1, 0x8d, 0x14, 0x5c, 0x49, 0xa3, 0x48,
  334. 0xec, 0xd0, 0xb5, 0x63, 0x17, 0xee, 0xff, 0x99, 0x7c, 0x60, 0x0e, 0x3b, 0xa2, 0x7f, 0x04, 0x39,
  335. 0x36, 0x14, 0x50, 0x1e, 0x0a, 0x2f, 0xf1, 0x1e, 0x42, 0x46, 0xf5, 0xe7, 0x30, 0x9d, 0x67, 0xd0,
  336. 0x10, 0xee, 0xda, 0x82, 0x37, 0x72, 0xae, 0x8e, 0x0d, 0xa1, 0x53, 0x86, 0xfa, 0x92, 0xad, 0xa7,
  337. 0x62, 0xca, 0x38, 0xf4, 0x40, 0x23, 0xb6, 0xa3, 0x10, 0xb4, 0x81, 0x43, 0x41, 0xcc, 0x21, 0x1b,
  338. 0x41, 0xff, 0xa0, 0x91, 0xe5, 0x66, 0xe4, 0xfb, 0xd1, 0xa9, 0xf5, 0xf1, 0x49, 0xe8, 0x40, 0x3b,
  339. 0x22, 0x74, 0x63, 0xa0, 0xf2, 0x7b, 0x39, 0xf8, 0xae, 0xd8, 0xf3, 0x62, 0x01, 0x2a, 0x3f, 0x2e,
  340. 0x43, 0x85, 0xca, 0x21, 0x1c, 0x55, 0x0e, 0xdb, 0x8e, 0x42, 0xa0, 0x72, 0x28, 0x88, 0xb9, 0x94,
  341. 0x2a, 0x2a, 0x60, 0xfa, 0x80, 0x2c, 0xc2, 0x8e, 0x1a, 0x54, 0x07, 0xfd, 0x79, 0x94, 0x08, 0x0f,
  342. 0xab, 0x05, 0x60, 0x8a, 0x73, 0xdd, 0x97, 0x6c, 0x35, 0xbd, 0xfc, 0x54, 0xd4, 0x30, 0xcb, 0x56,
  343. 0xe8, 0x90, 0x87, 0xae, 0xe2, 0xb0, 0xaa, 0x38, 0xe4, 0xa1, 0x3b, 0xc6, 0xa1, 0x8a, 0x82, 0x43,
  344. 0x75, 0x0c, 0x45, 0x10, 0x15, 0x9e, 0x41, 0x37, 0x2a, 0xf4, 0xdb, 0xe8, 0x0d, 0x8b, 0x20, 0xc0,
  345. 0x3f, 0x42, 0xb4, 0x28, 0x82, 0x03, 0xc8, 0x30, 0x15, 0x1e, 0x9d, 0x80, 0xaa, 0xcc, 0xc9, 0x0b,
  346. 0x8a, 0x13, 0x1e, 0xba, 0xc3, 0x4e, 0x0a, 0x08, 0x9c, 0x14, 0x03, 0x68, 0xec, 0x71, 0x3e, 0xdc,
  347. 0x7d, 0x09, 0x8f, 0xf5, 0x17, 0xb1, 0x07, 0x5d, 0xcd, 0x4f, 0x1c, 0x5a, 0xd5, 0x91, 0xaa, 0x6d,
  348. 0xe5, 0x8d, 0xef, 0xd9, 0x00, 0xec, 0x4b, 0xb6, 0x82, 0xfe, 0x15, 0xcc, 0x30, 0x55, 0x0b, 0x7a,
  349. 0x4c, 0x66, 0x63, 0x6e, 0xbb, 0x56, 0x14, 0xfa, 0x5d, 0xfd, 0xcf, 0x75, 0x54, 0xb9, 0x7f, 0x25,
  350. 0x19, 0xdd, 0xe3, 0x9d, 0x98, 0x3b, 0x76, 0xc2, 0x5d, 0x93, 0xdb, 0xee, 0x83, 0xd0, 0xef, 0xf6,
  351. 0x24, 0xd3, 0x5e, 0x2d, 0xfe, 0x44, 0x89, 0x23, 0x6c, 0xd6, 0x5f, 0x89, 0x02, 0x0f, 0x6e, 0xce,
  352. 0xa4, 0x8b, 0x7f, 0xa2, 0x8c, 0xa0, 0xba, 0x66, 0xce, 0xc4, 0x99, 0x03, 0xfa, 0x33, 0xb2, 0x52,
  353. 0xea, 0xe0, 0xf1, 0x36, 0xfb, 0x4b, 0x1d, 0x5f, 0x56, 0xef, 0x5d, 0x49, 0xa6, 0x0f, 0x82, 0xee,
  354. 0x0f, 0xfa, 0xf0, 0x03, 0x27, 0xc9, 0x43, 0x6f, 0x0e, 0xb7, 0xf1, 0x07, 0x4e, 0xa2, 0x28, 0xd0,
  355. 0x35, 0x73, 0xb1, 0x4c, 0xd2, 0x1f, 0x93, 0xe9, 0xb4, 0x7b, 0x11, 0xfa, 0x97, 0x75, 0xac, 0xbc,
  356. 0xdf, 0x82, 0x6b, 0x60, 0x10, 0x28, 0xed, 0x4a, 0x45, 0xf9, 0xe3, 0xb2, 0x29, 0x8a, 0xeb, 0xac,
  357. 0xdc, 0xea, 0x9a, 0x99, 0xfb, 0xa3, 0xc7, 0x64, 0x11, 0xfb, 0xba, 0xc1, 0xbe, 0xfb, 0x6b, 0x9a,
  358. 0xbf, 0xdd, 0x2b, 0xc9, 0x6e, 0x0d, 0x22, 0x34, 0x1c, 0x3b, 0x2c, 0x36, 0x57, 0x1e, 0xe7, 0xd9,
  359. 0xa2, 0xab, 0x2b, 0xa8, 0xf2, 0x87, 0x2c, 0x94, 0x38, 0xe3, 0xb3, 0x29, 0x32, 0xa7, 0x2c, 0x37,
  360. 0xfd, 0x88, 0x4c, 0xf3, 0x30, 0x89, 0x3d, 0x2e, 0x74, 0x0d, 0xff, 0x56, 0xd0, 0xc7, 0x6c, 0x8a,
  361. 0xf7, 0xc2, 0x24, 0xee, 0xd6, 0x5e, 0xcc, 0xff, 0x4d, 0xc8, 0x26, 0x14, 0x3d, 0x2f, 0x8c, 0x71,
  362. 0xd9, 0xae, 0xe3, 0x2f, 0x33, 0x37, 0xa0, 0xbf, 0xcb, 0x2e, 0x2f, 0xe1, 0x85, 0x2d, 0x9f, 0x5b,
  363. 0xc8, 0x5a, 0x02, 0x1e, 0x7d, 0x93, 0x98, 0xc2, 0x26, 0xf4, 0x45, 0x81, 0x7d, 0xd6, 0x40, 0x1e,
  364. 0xa3, 0x34, 0xd4, 0x97, 0xdf, 0x28, 0x55, 0xea, 0xfb, 0x76, 0xde, 0x50, 0x1e, 0x11, 0x63, 0xfc,
  365. 0xc0, 0x03, 0x10, 0xac, 0xcc, 0x31, 0x1c, 0x7d, 0x44, 0x16, 0x41, 0x5a, 0x12, 0x25, 0xd0, 0x40,
  366. 0x83, 0xa6, 0x29, 0xd4, 0x74, 0x98, 0xf5, 0x9f, 0x87, 0x40, 0x64, 0x6a, 0x9e, 0xcb, 0xd5, 0x14,
  367. 0xa0, 0xa2, 0xe3, 0x8d, 0xbb, 0x6f, 0xbd, 0xa9, 0xe8, 0x28, 0xcd, 0x05, 0x05, 0xc0, 0x9b, 0x25,
  368. 0xd4, 0xf8, 0xbd, 0x46, 0x96, 0x87, 0xd3, 0x0b, 0xcf, 0x8d, 0x00, 0x5e, 0xe3, 0xd9, 0x3f, 0x73,
  369. 0xff, 0x07, 0x6f, 0x0b, 0x04, 0x94, 0x3e, 0x29, 0x71, 0xda, 0xc5, 0x4b, 0x9b, 0x0c, 0x86, 0x66,
  370. 0x6a, 0x48, 0xeb, 0xe4, 0x06, 0x3c, 0xdc, 0xbd, 0x04, 0xf3, 0x3b, 0x53, 0xdb, 0xc6, 0xfe, 0x10,
  371. 0x91, 0xe2, 0x08, 0xa7, 0xc3, 0xc2, 0xcb, 0x9c, 0x32, 0x36, 0x33, 0xdb, 0xda, 0xfd, 0xaf, 0xbe,
  372. 0xde, 0x9c, 0xb8, 0xfc, 0x7a, 0x73, 0xe2, 0xab, 0xab, 0x4d, 0xed, 0xf2, 0x6a, 0x53, 0xfb, 0xf5,
  373. 0xe3, 0xcd, 0x89, 0x2f, 0x1e, 0x6f, 0x6a, 0x97, 0x8f, 0x37, 0x27, 0xfe, 0xf5, 0x78, 0x73, 0xe2,
  374. 0xc3, 0x97, 0xfe, 0x8b, 0x3f, 0x52, 0xd3, 0x7d, 0x74, 0x74, 0x03, 0xff, 0x50, 0x7d, 0xfd, 0x3f,
  375. 0x01, 0x00, 0x00, 0xff, 0xff, 0xe3, 0x79, 0xd7, 0x43, 0x6e, 0x17, 0x00, 0x00,
  376. }
  377. func (m *FolderDeviceConfiguration) Marshal() (dAtA []byte, err error) {
  378. size := m.ProtoSize()
  379. dAtA = make([]byte, size)
  380. n, err := m.MarshalToSizedBuffer(dAtA[:size])
  381. if err != nil {
  382. return nil, err
  383. }
  384. return dAtA[:n], nil
  385. }
  386. func (m *FolderDeviceConfiguration) MarshalTo(dAtA []byte) (int, error) {
  387. size := m.ProtoSize()
  388. return m.MarshalToSizedBuffer(dAtA[:size])
  389. }
  390. func (m *FolderDeviceConfiguration) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  391. i := len(dAtA)
  392. _ = i
  393. var l int
  394. _ = l
  395. if len(m.EncryptionPassword) > 0 {
  396. i -= len(m.EncryptionPassword)
  397. copy(dAtA[i:], m.EncryptionPassword)
  398. i = encodeVarintFolderconfiguration(dAtA, i, uint64(len(m.EncryptionPassword)))
  399. i--
  400. dAtA[i] = 0x1a
  401. }
  402. {
  403. size := m.IntroducedBy.ProtoSize()
  404. i -= size
  405. if _, err := m.IntroducedBy.MarshalTo(dAtA[i:]); err != nil {
  406. return 0, err
  407. }
  408. i = encodeVarintFolderconfiguration(dAtA, i, uint64(size))
  409. }
  410. i--
  411. dAtA[i] = 0x12
  412. {
  413. size := m.DeviceID.ProtoSize()
  414. i -= size
  415. if _, err := m.DeviceID.MarshalTo(dAtA[i:]); err != nil {
  416. return 0, err
  417. }
  418. i = encodeVarintFolderconfiguration(dAtA, i, uint64(size))
  419. }
  420. i--
  421. dAtA[i] = 0xa
  422. return len(dAtA) - i, nil
  423. }
  424. func (m *FolderConfiguration) Marshal() (dAtA []byte, err error) {
  425. size := m.ProtoSize()
  426. dAtA = make([]byte, size)
  427. n, err := m.MarshalToSizedBuffer(dAtA[:size])
  428. if err != nil {
  429. return nil, err
  430. }
  431. return dAtA[:n], nil
  432. }
  433. func (m *FolderConfiguration) MarshalTo(dAtA []byte) (int, error) {
  434. size := m.ProtoSize()
  435. return m.MarshalToSizedBuffer(dAtA[:size])
  436. }
  437. func (m *FolderConfiguration) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  438. i := len(dAtA)
  439. _ = i
  440. var l int
  441. _ = l
  442. if m.DeprecatedScanOwnership {
  443. i--
  444. if m.DeprecatedScanOwnership {
  445. dAtA[i] = 1
  446. } else {
  447. dAtA[i] = 0
  448. }
  449. i--
  450. dAtA[i] = 0x4
  451. i--
  452. dAtA[i] = 0xb2
  453. i--
  454. dAtA[i] = 0xd8
  455. }
  456. if m.DeprecatedPullers != 0 {
  457. i = encodeVarintFolderconfiguration(dAtA, i, uint64(m.DeprecatedPullers))
  458. i--
  459. dAtA[i] = 0x4
  460. i--
  461. dAtA[i] = 0xb2
  462. i--
  463. dAtA[i] = 0xd0
  464. }
  465. if m.DeprecatedMinDiskFreePct != 0 {
  466. i -= 8
  467. encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.DeprecatedMinDiskFreePct))))
  468. i--
  469. dAtA[i] = 0x4
  470. i--
  471. dAtA[i] = 0xb2
  472. i--
  473. dAtA[i] = 0xc9
  474. }
  475. if m.DeprecatedReadOnly {
  476. i--
  477. if m.DeprecatedReadOnly {
  478. dAtA[i] = 1
  479. } else {
  480. dAtA[i] = 0
  481. }
  482. i--
  483. dAtA[i] = 0x4
  484. i--
  485. dAtA[i] = 0xb2
  486. i--
  487. dAtA[i] = 0xc0
  488. }
  489. {
  490. size, err := m.XattrFilter.MarshalToSizedBuffer(dAtA[:i])
  491. if err != nil {
  492. return 0, err
  493. }
  494. i -= size
  495. i = encodeVarintFolderconfiguration(dAtA, i, uint64(size))
  496. }
  497. i--
  498. dAtA[i] = 0x2
  499. i--
  500. dAtA[i] = 0xba
  501. if m.SendXattrs {
  502. i--
  503. if m.SendXattrs {
  504. dAtA[i] = 1
  505. } else {
  506. dAtA[i] = 0
  507. }
  508. i--
  509. dAtA[i] = 0x2
  510. i--
  511. dAtA[i] = 0xb0
  512. }
  513. if m.SyncXattrs {
  514. i--
  515. if m.SyncXattrs {
  516. dAtA[i] = 1
  517. } else {
  518. dAtA[i] = 0
  519. }
  520. i--
  521. dAtA[i] = 0x2
  522. i--
  523. dAtA[i] = 0xa8
  524. }
  525. if m.SendOwnership {
  526. i--
  527. if m.SendOwnership {
  528. dAtA[i] = 1
  529. } else {
  530. dAtA[i] = 0
  531. }
  532. i--
  533. dAtA[i] = 0x2
  534. i--
  535. dAtA[i] = 0xa0
  536. }
  537. if m.SyncOwnership {
  538. i--
  539. if m.SyncOwnership {
  540. dAtA[i] = 1
  541. } else {
  542. dAtA[i] = 0
  543. }
  544. i--
  545. dAtA[i] = 0x2
  546. i--
  547. dAtA[i] = 0x98
  548. }
  549. if m.JunctionsAsDirs {
  550. i--
  551. if m.JunctionsAsDirs {
  552. dAtA[i] = 1
  553. } else {
  554. dAtA[i] = 0
  555. }
  556. i--
  557. dAtA[i] = 0x2
  558. i--
  559. dAtA[i] = 0x90
  560. }
  561. if m.CaseSensitiveFS {
  562. i--
  563. if m.CaseSensitiveFS {
  564. dAtA[i] = 1
  565. } else {
  566. dAtA[i] = 0
  567. }
  568. i--
  569. dAtA[i] = 0x2
  570. i--
  571. dAtA[i] = 0x88
  572. }
  573. if m.CopyRangeMethod != 0 {
  574. i = encodeVarintFolderconfiguration(dAtA, i, uint64(m.CopyRangeMethod))
  575. i--
  576. dAtA[i] = 0x2
  577. i--
  578. dAtA[i] = 0x80
  579. }
  580. if m.BlockPullOrder != 0 {
  581. i = encodeVarintFolderconfiguration(dAtA, i, uint64(m.BlockPullOrder))
  582. i--
  583. dAtA[i] = 0x1
  584. i--
  585. dAtA[i] = 0xf8
  586. }
  587. if m.DisableFsync {
  588. i--
  589. if m.DisableFsync {
  590. dAtA[i] = 1
  591. } else {
  592. dAtA[i] = 0
  593. }
  594. i--
  595. dAtA[i] = 0x1
  596. i--
  597. dAtA[i] = 0xf0
  598. }
  599. if m.MaxConcurrentWrites != 0 {
  600. i = encodeVarintFolderconfiguration(dAtA, i, uint64(m.MaxConcurrentWrites))
  601. i--
  602. dAtA[i] = 0x1
  603. i--
  604. dAtA[i] = 0xe8
  605. }
  606. if m.RawModTimeWindowS != 0 {
  607. i = encodeVarintFolderconfiguration(dAtA, i, uint64(m.RawModTimeWindowS))
  608. i--
  609. dAtA[i] = 0x1
  610. i--
  611. dAtA[i] = 0xe0
  612. }
  613. if m.CopyOwnershipFromParent {
  614. i--
  615. if m.CopyOwnershipFromParent {
  616. dAtA[i] = 1
  617. } else {
  618. dAtA[i] = 0
  619. }
  620. i--
  621. dAtA[i] = 0x1
  622. i--
  623. dAtA[i] = 0xd8
  624. }
  625. if len(m.MarkerName) > 0 {
  626. i -= len(m.MarkerName)
  627. copy(dAtA[i:], m.MarkerName)
  628. i = encodeVarintFolderconfiguration(dAtA, i, uint64(len(m.MarkerName)))
  629. i--
  630. dAtA[i] = 0x1
  631. i--
  632. dAtA[i] = 0xd2
  633. }
  634. if m.WeakHashThresholdPct != 0 {
  635. i = encodeVarintFolderconfiguration(dAtA, i, uint64(m.WeakHashThresholdPct))
  636. i--
  637. dAtA[i] = 0x1
  638. i--
  639. dAtA[i] = 0xc8
  640. }
  641. if m.Paused {
  642. i--
  643. if m.Paused {
  644. dAtA[i] = 1
  645. } else {
  646. dAtA[i] = 0
  647. }
  648. i--
  649. dAtA[i] = 0x1
  650. i--
  651. dAtA[i] = 0xc0
  652. }
  653. if m.DisableTempIndexes {
  654. i--
  655. if m.DisableTempIndexes {
  656. dAtA[i] = 1
  657. } else {
  658. dAtA[i] = 0
  659. }
  660. i--
  661. dAtA[i] = 0x1
  662. i--
  663. dAtA[i] = 0xb8
  664. }
  665. if m.DisableSparseFiles {
  666. i--
  667. if m.DisableSparseFiles {
  668. dAtA[i] = 1
  669. } else {
  670. dAtA[i] = 0
  671. }
  672. i--
  673. dAtA[i] = 0x1
  674. i--
  675. dAtA[i] = 0xb0
  676. }
  677. if m.MaxConflicts != 0 {
  678. i = encodeVarintFolderconfiguration(dAtA, i, uint64(m.MaxConflicts))
  679. i--
  680. dAtA[i] = 0x1
  681. i--
  682. dAtA[i] = 0xa8
  683. }
  684. if m.PullerPauseS != 0 {
  685. i = encodeVarintFolderconfiguration(dAtA, i, uint64(m.PullerPauseS))
  686. i--
  687. dAtA[i] = 0x1
  688. i--
  689. dAtA[i] = 0xa0
  690. }
  691. if m.ScanProgressIntervalS != 0 {
  692. i = encodeVarintFolderconfiguration(dAtA, i, uint64(m.ScanProgressIntervalS))
  693. i--
  694. dAtA[i] = 0x1
  695. i--
  696. dAtA[i] = 0x98
  697. }
  698. if m.IgnoreDelete {
  699. i--
  700. if m.IgnoreDelete {
  701. dAtA[i] = 1
  702. } else {
  703. dAtA[i] = 0
  704. }
  705. i--
  706. dAtA[i] = 0x1
  707. i--
  708. dAtA[i] = 0x90
  709. }
  710. if m.Order != 0 {
  711. i = encodeVarintFolderconfiguration(dAtA, i, uint64(m.Order))
  712. i--
  713. dAtA[i] = 0x1
  714. i--
  715. dAtA[i] = 0x88
  716. }
  717. if m.Hashers != 0 {
  718. i = encodeVarintFolderconfiguration(dAtA, i, uint64(m.Hashers))
  719. i--
  720. dAtA[i] = 0x1
  721. i--
  722. dAtA[i] = 0x80
  723. }
  724. if m.PullerMaxPendingKiB != 0 {
  725. i = encodeVarintFolderconfiguration(dAtA, i, uint64(m.PullerMaxPendingKiB))
  726. i--
  727. dAtA[i] = 0x78
  728. }
  729. if m.Copiers != 0 {
  730. i = encodeVarintFolderconfiguration(dAtA, i, uint64(m.Copiers))
  731. i--
  732. dAtA[i] = 0x70
  733. }
  734. {
  735. size, err := m.Versioning.MarshalToSizedBuffer(dAtA[:i])
  736. if err != nil {
  737. return 0, err
  738. }
  739. i -= size
  740. i = encodeVarintFolderconfiguration(dAtA, i, uint64(size))
  741. }
  742. i--
  743. dAtA[i] = 0x6a
  744. {
  745. size, err := m.MinDiskFree.MarshalToSizedBuffer(dAtA[:i])
  746. if err != nil {
  747. return 0, err
  748. }
  749. i -= size
  750. i = encodeVarintFolderconfiguration(dAtA, i, uint64(size))
  751. }
  752. i--
  753. dAtA[i] = 0x62
  754. if m.AutoNormalize {
  755. i--
  756. if m.AutoNormalize {
  757. dAtA[i] = 1
  758. } else {
  759. dAtA[i] = 0
  760. }
  761. i--
  762. dAtA[i] = 0x58
  763. }
  764. if m.IgnorePerms {
  765. i--
  766. if m.IgnorePerms {
  767. dAtA[i] = 1
  768. } else {
  769. dAtA[i] = 0
  770. }
  771. i--
  772. dAtA[i] = 0x50
  773. }
  774. if m.FSWatcherDelayS != 0 {
  775. i -= 8
  776. encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.FSWatcherDelayS))))
  777. i--
  778. dAtA[i] = 0x49
  779. }
  780. if m.FSWatcherEnabled {
  781. i--
  782. if m.FSWatcherEnabled {
  783. dAtA[i] = 1
  784. } else {
  785. dAtA[i] = 0
  786. }
  787. i--
  788. dAtA[i] = 0x40
  789. }
  790. if m.RescanIntervalS != 0 {
  791. i = encodeVarintFolderconfiguration(dAtA, i, uint64(m.RescanIntervalS))
  792. i--
  793. dAtA[i] = 0x38
  794. }
  795. if len(m.Devices) > 0 {
  796. for iNdEx := len(m.Devices) - 1; iNdEx >= 0; iNdEx-- {
  797. {
  798. size, err := m.Devices[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  799. if err != nil {
  800. return 0, err
  801. }
  802. i -= size
  803. i = encodeVarintFolderconfiguration(dAtA, i, uint64(size))
  804. }
  805. i--
  806. dAtA[i] = 0x32
  807. }
  808. }
  809. if m.Type != 0 {
  810. i = encodeVarintFolderconfiguration(dAtA, i, uint64(m.Type))
  811. i--
  812. dAtA[i] = 0x28
  813. }
  814. if len(m.Path) > 0 {
  815. i -= len(m.Path)
  816. copy(dAtA[i:], m.Path)
  817. i = encodeVarintFolderconfiguration(dAtA, i, uint64(len(m.Path)))
  818. i--
  819. dAtA[i] = 0x22
  820. }
  821. if m.FilesystemType != 0 {
  822. i = encodeVarintFolderconfiguration(dAtA, i, uint64(m.FilesystemType))
  823. i--
  824. dAtA[i] = 0x18
  825. }
  826. if len(m.Label) > 0 {
  827. i -= len(m.Label)
  828. copy(dAtA[i:], m.Label)
  829. i = encodeVarintFolderconfiguration(dAtA, i, uint64(len(m.Label)))
  830. i--
  831. dAtA[i] = 0x12
  832. }
  833. if len(m.ID) > 0 {
  834. i -= len(m.ID)
  835. copy(dAtA[i:], m.ID)
  836. i = encodeVarintFolderconfiguration(dAtA, i, uint64(len(m.ID)))
  837. i--
  838. dAtA[i] = 0xa
  839. }
  840. return len(dAtA) - i, nil
  841. }
  842. func (m *XattrFilter) Marshal() (dAtA []byte, err error) {
  843. size := m.ProtoSize()
  844. dAtA = make([]byte, size)
  845. n, err := m.MarshalToSizedBuffer(dAtA[:size])
  846. if err != nil {
  847. return nil, err
  848. }
  849. return dAtA[:n], nil
  850. }
  851. func (m *XattrFilter) MarshalTo(dAtA []byte) (int, error) {
  852. size := m.ProtoSize()
  853. return m.MarshalToSizedBuffer(dAtA[:size])
  854. }
  855. func (m *XattrFilter) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  856. i := len(dAtA)
  857. _ = i
  858. var l int
  859. _ = l
  860. if m.MaxTotalSize != 0 {
  861. i = encodeVarintFolderconfiguration(dAtA, i, uint64(m.MaxTotalSize))
  862. i--
  863. dAtA[i] = 0x18
  864. }
  865. if m.MaxSingleEntrySize != 0 {
  866. i = encodeVarintFolderconfiguration(dAtA, i, uint64(m.MaxSingleEntrySize))
  867. i--
  868. dAtA[i] = 0x10
  869. }
  870. if len(m.Entries) > 0 {
  871. for iNdEx := len(m.Entries) - 1; iNdEx >= 0; iNdEx-- {
  872. {
  873. size, err := m.Entries[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  874. if err != nil {
  875. return 0, err
  876. }
  877. i -= size
  878. i = encodeVarintFolderconfiguration(dAtA, i, uint64(size))
  879. }
  880. i--
  881. dAtA[i] = 0xa
  882. }
  883. }
  884. return len(dAtA) - i, nil
  885. }
  886. func (m *XattrFilterEntry) Marshal() (dAtA []byte, err error) {
  887. size := m.ProtoSize()
  888. dAtA = make([]byte, size)
  889. n, err := m.MarshalToSizedBuffer(dAtA[:size])
  890. if err != nil {
  891. return nil, err
  892. }
  893. return dAtA[:n], nil
  894. }
  895. func (m *XattrFilterEntry) MarshalTo(dAtA []byte) (int, error) {
  896. size := m.ProtoSize()
  897. return m.MarshalToSizedBuffer(dAtA[:size])
  898. }
  899. func (m *XattrFilterEntry) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  900. i := len(dAtA)
  901. _ = i
  902. var l int
  903. _ = l
  904. if m.Permit {
  905. i--
  906. if m.Permit {
  907. dAtA[i] = 1
  908. } else {
  909. dAtA[i] = 0
  910. }
  911. i--
  912. dAtA[i] = 0x10
  913. }
  914. if len(m.Match) > 0 {
  915. i -= len(m.Match)
  916. copy(dAtA[i:], m.Match)
  917. i = encodeVarintFolderconfiguration(dAtA, i, uint64(len(m.Match)))
  918. i--
  919. dAtA[i] = 0xa
  920. }
  921. return len(dAtA) - i, nil
  922. }
  923. func encodeVarintFolderconfiguration(dAtA []byte, offset int, v uint64) int {
  924. offset -= sovFolderconfiguration(v)
  925. base := offset
  926. for v >= 1<<7 {
  927. dAtA[offset] = uint8(v&0x7f | 0x80)
  928. v >>= 7
  929. offset++
  930. }
  931. dAtA[offset] = uint8(v)
  932. return base
  933. }
  934. func (m *FolderDeviceConfiguration) ProtoSize() (n int) {
  935. if m == nil {
  936. return 0
  937. }
  938. var l int
  939. _ = l
  940. l = m.DeviceID.ProtoSize()
  941. n += 1 + l + sovFolderconfiguration(uint64(l))
  942. l = m.IntroducedBy.ProtoSize()
  943. n += 1 + l + sovFolderconfiguration(uint64(l))
  944. l = len(m.EncryptionPassword)
  945. if l > 0 {
  946. n += 1 + l + sovFolderconfiguration(uint64(l))
  947. }
  948. return n
  949. }
  950. func (m *FolderConfiguration) ProtoSize() (n int) {
  951. if m == nil {
  952. return 0
  953. }
  954. var l int
  955. _ = l
  956. l = len(m.ID)
  957. if l > 0 {
  958. n += 1 + l + sovFolderconfiguration(uint64(l))
  959. }
  960. l = len(m.Label)
  961. if l > 0 {
  962. n += 1 + l + sovFolderconfiguration(uint64(l))
  963. }
  964. if m.FilesystemType != 0 {
  965. n += 1 + sovFolderconfiguration(uint64(m.FilesystemType))
  966. }
  967. l = len(m.Path)
  968. if l > 0 {
  969. n += 1 + l + sovFolderconfiguration(uint64(l))
  970. }
  971. if m.Type != 0 {
  972. n += 1 + sovFolderconfiguration(uint64(m.Type))
  973. }
  974. if len(m.Devices) > 0 {
  975. for _, e := range m.Devices {
  976. l = e.ProtoSize()
  977. n += 1 + l + sovFolderconfiguration(uint64(l))
  978. }
  979. }
  980. if m.RescanIntervalS != 0 {
  981. n += 1 + sovFolderconfiguration(uint64(m.RescanIntervalS))
  982. }
  983. if m.FSWatcherEnabled {
  984. n += 2
  985. }
  986. if m.FSWatcherDelayS != 0 {
  987. n += 9
  988. }
  989. if m.IgnorePerms {
  990. n += 2
  991. }
  992. if m.AutoNormalize {
  993. n += 2
  994. }
  995. l = m.MinDiskFree.ProtoSize()
  996. n += 1 + l + sovFolderconfiguration(uint64(l))
  997. l = m.Versioning.ProtoSize()
  998. n += 1 + l + sovFolderconfiguration(uint64(l))
  999. if m.Copiers != 0 {
  1000. n += 1 + sovFolderconfiguration(uint64(m.Copiers))
  1001. }
  1002. if m.PullerMaxPendingKiB != 0 {
  1003. n += 1 + sovFolderconfiguration(uint64(m.PullerMaxPendingKiB))
  1004. }
  1005. if m.Hashers != 0 {
  1006. n += 2 + sovFolderconfiguration(uint64(m.Hashers))
  1007. }
  1008. if m.Order != 0 {
  1009. n += 2 + sovFolderconfiguration(uint64(m.Order))
  1010. }
  1011. if m.IgnoreDelete {
  1012. n += 3
  1013. }
  1014. if m.ScanProgressIntervalS != 0 {
  1015. n += 2 + sovFolderconfiguration(uint64(m.ScanProgressIntervalS))
  1016. }
  1017. if m.PullerPauseS != 0 {
  1018. n += 2 + sovFolderconfiguration(uint64(m.PullerPauseS))
  1019. }
  1020. if m.MaxConflicts != 0 {
  1021. n += 2 + sovFolderconfiguration(uint64(m.MaxConflicts))
  1022. }
  1023. if m.DisableSparseFiles {
  1024. n += 3
  1025. }
  1026. if m.DisableTempIndexes {
  1027. n += 3
  1028. }
  1029. if m.Paused {
  1030. n += 3
  1031. }
  1032. if m.WeakHashThresholdPct != 0 {
  1033. n += 2 + sovFolderconfiguration(uint64(m.WeakHashThresholdPct))
  1034. }
  1035. l = len(m.MarkerName)
  1036. if l > 0 {
  1037. n += 2 + l + sovFolderconfiguration(uint64(l))
  1038. }
  1039. if m.CopyOwnershipFromParent {
  1040. n += 3
  1041. }
  1042. if m.RawModTimeWindowS != 0 {
  1043. n += 2 + sovFolderconfiguration(uint64(m.RawModTimeWindowS))
  1044. }
  1045. if m.MaxConcurrentWrites != 0 {
  1046. n += 2 + sovFolderconfiguration(uint64(m.MaxConcurrentWrites))
  1047. }
  1048. if m.DisableFsync {
  1049. n += 3
  1050. }
  1051. if m.BlockPullOrder != 0 {
  1052. n += 2 + sovFolderconfiguration(uint64(m.BlockPullOrder))
  1053. }
  1054. if m.CopyRangeMethod != 0 {
  1055. n += 2 + sovFolderconfiguration(uint64(m.CopyRangeMethod))
  1056. }
  1057. if m.CaseSensitiveFS {
  1058. n += 3
  1059. }
  1060. if m.JunctionsAsDirs {
  1061. n += 3
  1062. }
  1063. if m.SyncOwnership {
  1064. n += 3
  1065. }
  1066. if m.SendOwnership {
  1067. n += 3
  1068. }
  1069. if m.SyncXattrs {
  1070. n += 3
  1071. }
  1072. if m.SendXattrs {
  1073. n += 3
  1074. }
  1075. l = m.XattrFilter.ProtoSize()
  1076. n += 2 + l + sovFolderconfiguration(uint64(l))
  1077. if m.DeprecatedReadOnly {
  1078. n += 4
  1079. }
  1080. if m.DeprecatedMinDiskFreePct != 0 {
  1081. n += 11
  1082. }
  1083. if m.DeprecatedPullers != 0 {
  1084. n += 3 + sovFolderconfiguration(uint64(m.DeprecatedPullers))
  1085. }
  1086. if m.DeprecatedScanOwnership {
  1087. n += 4
  1088. }
  1089. return n
  1090. }
  1091. func (m *XattrFilter) ProtoSize() (n int) {
  1092. if m == nil {
  1093. return 0
  1094. }
  1095. var l int
  1096. _ = l
  1097. if len(m.Entries) > 0 {
  1098. for _, e := range m.Entries {
  1099. l = e.ProtoSize()
  1100. n += 1 + l + sovFolderconfiguration(uint64(l))
  1101. }
  1102. }
  1103. if m.MaxSingleEntrySize != 0 {
  1104. n += 1 + sovFolderconfiguration(uint64(m.MaxSingleEntrySize))
  1105. }
  1106. if m.MaxTotalSize != 0 {
  1107. n += 1 + sovFolderconfiguration(uint64(m.MaxTotalSize))
  1108. }
  1109. return n
  1110. }
  1111. func (m *XattrFilterEntry) ProtoSize() (n int) {
  1112. if m == nil {
  1113. return 0
  1114. }
  1115. var l int
  1116. _ = l
  1117. l = len(m.Match)
  1118. if l > 0 {
  1119. n += 1 + l + sovFolderconfiguration(uint64(l))
  1120. }
  1121. if m.Permit {
  1122. n += 2
  1123. }
  1124. return n
  1125. }
  1126. func sovFolderconfiguration(x uint64) (n int) {
  1127. return (math_bits.Len64(x|1) + 6) / 7
  1128. }
  1129. func sozFolderconfiguration(x uint64) (n int) {
  1130. return sovFolderconfiguration(uint64((x << 1) ^ uint64((int64(x) >> 63))))
  1131. }
  1132. func (m *FolderDeviceConfiguration) Unmarshal(dAtA []byte) error {
  1133. l := len(dAtA)
  1134. iNdEx := 0
  1135. for iNdEx < l {
  1136. preIndex := iNdEx
  1137. var wire uint64
  1138. for shift := uint(0); ; shift += 7 {
  1139. if shift >= 64 {
  1140. return ErrIntOverflowFolderconfiguration
  1141. }
  1142. if iNdEx >= l {
  1143. return io.ErrUnexpectedEOF
  1144. }
  1145. b := dAtA[iNdEx]
  1146. iNdEx++
  1147. wire |= uint64(b&0x7F) << shift
  1148. if b < 0x80 {
  1149. break
  1150. }
  1151. }
  1152. fieldNum := int32(wire >> 3)
  1153. wireType := int(wire & 0x7)
  1154. if wireType == 4 {
  1155. return fmt.Errorf("proto: FolderDeviceConfiguration: wiretype end group for non-group")
  1156. }
  1157. if fieldNum <= 0 {
  1158. return fmt.Errorf("proto: FolderDeviceConfiguration: illegal tag %d (wire type %d)", fieldNum, wire)
  1159. }
  1160. switch fieldNum {
  1161. case 1:
  1162. if wireType != 2 {
  1163. return fmt.Errorf("proto: wrong wireType = %d for field DeviceID", wireType)
  1164. }
  1165. var byteLen int
  1166. for shift := uint(0); ; shift += 7 {
  1167. if shift >= 64 {
  1168. return ErrIntOverflowFolderconfiguration
  1169. }
  1170. if iNdEx >= l {
  1171. return io.ErrUnexpectedEOF
  1172. }
  1173. b := dAtA[iNdEx]
  1174. iNdEx++
  1175. byteLen |= int(b&0x7F) << shift
  1176. if b < 0x80 {
  1177. break
  1178. }
  1179. }
  1180. if byteLen < 0 {
  1181. return ErrInvalidLengthFolderconfiguration
  1182. }
  1183. postIndex := iNdEx + byteLen
  1184. if postIndex < 0 {
  1185. return ErrInvalidLengthFolderconfiguration
  1186. }
  1187. if postIndex > l {
  1188. return io.ErrUnexpectedEOF
  1189. }
  1190. if err := m.DeviceID.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  1191. return err
  1192. }
  1193. iNdEx = postIndex
  1194. case 2:
  1195. if wireType != 2 {
  1196. return fmt.Errorf("proto: wrong wireType = %d for field IntroducedBy", wireType)
  1197. }
  1198. var byteLen int
  1199. for shift := uint(0); ; shift += 7 {
  1200. if shift >= 64 {
  1201. return ErrIntOverflowFolderconfiguration
  1202. }
  1203. if iNdEx >= l {
  1204. return io.ErrUnexpectedEOF
  1205. }
  1206. b := dAtA[iNdEx]
  1207. iNdEx++
  1208. byteLen |= int(b&0x7F) << shift
  1209. if b < 0x80 {
  1210. break
  1211. }
  1212. }
  1213. if byteLen < 0 {
  1214. return ErrInvalidLengthFolderconfiguration
  1215. }
  1216. postIndex := iNdEx + byteLen
  1217. if postIndex < 0 {
  1218. return ErrInvalidLengthFolderconfiguration
  1219. }
  1220. if postIndex > l {
  1221. return io.ErrUnexpectedEOF
  1222. }
  1223. if err := m.IntroducedBy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  1224. return err
  1225. }
  1226. iNdEx = postIndex
  1227. case 3:
  1228. if wireType != 2 {
  1229. return fmt.Errorf("proto: wrong wireType = %d for field EncryptionPassword", wireType)
  1230. }
  1231. var stringLen uint64
  1232. for shift := uint(0); ; shift += 7 {
  1233. if shift >= 64 {
  1234. return ErrIntOverflowFolderconfiguration
  1235. }
  1236. if iNdEx >= l {
  1237. return io.ErrUnexpectedEOF
  1238. }
  1239. b := dAtA[iNdEx]
  1240. iNdEx++
  1241. stringLen |= uint64(b&0x7F) << shift
  1242. if b < 0x80 {
  1243. break
  1244. }
  1245. }
  1246. intStringLen := int(stringLen)
  1247. if intStringLen < 0 {
  1248. return ErrInvalidLengthFolderconfiguration
  1249. }
  1250. postIndex := iNdEx + intStringLen
  1251. if postIndex < 0 {
  1252. return ErrInvalidLengthFolderconfiguration
  1253. }
  1254. if postIndex > l {
  1255. return io.ErrUnexpectedEOF
  1256. }
  1257. m.EncryptionPassword = string(dAtA[iNdEx:postIndex])
  1258. iNdEx = postIndex
  1259. default:
  1260. iNdEx = preIndex
  1261. skippy, err := skipFolderconfiguration(dAtA[iNdEx:])
  1262. if err != nil {
  1263. return err
  1264. }
  1265. if (skippy < 0) || (iNdEx+skippy) < 0 {
  1266. return ErrInvalidLengthFolderconfiguration
  1267. }
  1268. if (iNdEx + skippy) > l {
  1269. return io.ErrUnexpectedEOF
  1270. }
  1271. iNdEx += skippy
  1272. }
  1273. }
  1274. if iNdEx > l {
  1275. return io.ErrUnexpectedEOF
  1276. }
  1277. return nil
  1278. }
  1279. func (m *FolderConfiguration) Unmarshal(dAtA []byte) error {
  1280. l := len(dAtA)
  1281. iNdEx := 0
  1282. for iNdEx < l {
  1283. preIndex := iNdEx
  1284. var wire uint64
  1285. for shift := uint(0); ; shift += 7 {
  1286. if shift >= 64 {
  1287. return ErrIntOverflowFolderconfiguration
  1288. }
  1289. if iNdEx >= l {
  1290. return io.ErrUnexpectedEOF
  1291. }
  1292. b := dAtA[iNdEx]
  1293. iNdEx++
  1294. wire |= uint64(b&0x7F) << shift
  1295. if b < 0x80 {
  1296. break
  1297. }
  1298. }
  1299. fieldNum := int32(wire >> 3)
  1300. wireType := int(wire & 0x7)
  1301. if wireType == 4 {
  1302. return fmt.Errorf("proto: FolderConfiguration: wiretype end group for non-group")
  1303. }
  1304. if fieldNum <= 0 {
  1305. return fmt.Errorf("proto: FolderConfiguration: illegal tag %d (wire type %d)", fieldNum, wire)
  1306. }
  1307. switch fieldNum {
  1308. case 1:
  1309. if wireType != 2 {
  1310. return fmt.Errorf("proto: wrong wireType = %d for field ID", wireType)
  1311. }
  1312. var stringLen uint64
  1313. for shift := uint(0); ; shift += 7 {
  1314. if shift >= 64 {
  1315. return ErrIntOverflowFolderconfiguration
  1316. }
  1317. if iNdEx >= l {
  1318. return io.ErrUnexpectedEOF
  1319. }
  1320. b := dAtA[iNdEx]
  1321. iNdEx++
  1322. stringLen |= uint64(b&0x7F) << shift
  1323. if b < 0x80 {
  1324. break
  1325. }
  1326. }
  1327. intStringLen := int(stringLen)
  1328. if intStringLen < 0 {
  1329. return ErrInvalidLengthFolderconfiguration
  1330. }
  1331. postIndex := iNdEx + intStringLen
  1332. if postIndex < 0 {
  1333. return ErrInvalidLengthFolderconfiguration
  1334. }
  1335. if postIndex > l {
  1336. return io.ErrUnexpectedEOF
  1337. }
  1338. m.ID = string(dAtA[iNdEx:postIndex])
  1339. iNdEx = postIndex
  1340. case 2:
  1341. if wireType != 2 {
  1342. return fmt.Errorf("proto: wrong wireType = %d for field Label", wireType)
  1343. }
  1344. var stringLen uint64
  1345. for shift := uint(0); ; shift += 7 {
  1346. if shift >= 64 {
  1347. return ErrIntOverflowFolderconfiguration
  1348. }
  1349. if iNdEx >= l {
  1350. return io.ErrUnexpectedEOF
  1351. }
  1352. b := dAtA[iNdEx]
  1353. iNdEx++
  1354. stringLen |= uint64(b&0x7F) << shift
  1355. if b < 0x80 {
  1356. break
  1357. }
  1358. }
  1359. intStringLen := int(stringLen)
  1360. if intStringLen < 0 {
  1361. return ErrInvalidLengthFolderconfiguration
  1362. }
  1363. postIndex := iNdEx + intStringLen
  1364. if postIndex < 0 {
  1365. return ErrInvalidLengthFolderconfiguration
  1366. }
  1367. if postIndex > l {
  1368. return io.ErrUnexpectedEOF
  1369. }
  1370. m.Label = string(dAtA[iNdEx:postIndex])
  1371. iNdEx = postIndex
  1372. case 3:
  1373. if wireType != 0 {
  1374. return fmt.Errorf("proto: wrong wireType = %d for field FilesystemType", wireType)
  1375. }
  1376. m.FilesystemType = 0
  1377. for shift := uint(0); ; shift += 7 {
  1378. if shift >= 64 {
  1379. return ErrIntOverflowFolderconfiguration
  1380. }
  1381. if iNdEx >= l {
  1382. return io.ErrUnexpectedEOF
  1383. }
  1384. b := dAtA[iNdEx]
  1385. iNdEx++
  1386. m.FilesystemType |= fs.FilesystemType(b&0x7F) << shift
  1387. if b < 0x80 {
  1388. break
  1389. }
  1390. }
  1391. case 4:
  1392. if wireType != 2 {
  1393. return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType)
  1394. }
  1395. var stringLen uint64
  1396. for shift := uint(0); ; shift += 7 {
  1397. if shift >= 64 {
  1398. return ErrIntOverflowFolderconfiguration
  1399. }
  1400. if iNdEx >= l {
  1401. return io.ErrUnexpectedEOF
  1402. }
  1403. b := dAtA[iNdEx]
  1404. iNdEx++
  1405. stringLen |= uint64(b&0x7F) << shift
  1406. if b < 0x80 {
  1407. break
  1408. }
  1409. }
  1410. intStringLen := int(stringLen)
  1411. if intStringLen < 0 {
  1412. return ErrInvalidLengthFolderconfiguration
  1413. }
  1414. postIndex := iNdEx + intStringLen
  1415. if postIndex < 0 {
  1416. return ErrInvalidLengthFolderconfiguration
  1417. }
  1418. if postIndex > l {
  1419. return io.ErrUnexpectedEOF
  1420. }
  1421. m.Path = string(dAtA[iNdEx:postIndex])
  1422. iNdEx = postIndex
  1423. case 5:
  1424. if wireType != 0 {
  1425. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  1426. }
  1427. m.Type = 0
  1428. for shift := uint(0); ; shift += 7 {
  1429. if shift >= 64 {
  1430. return ErrIntOverflowFolderconfiguration
  1431. }
  1432. if iNdEx >= l {
  1433. return io.ErrUnexpectedEOF
  1434. }
  1435. b := dAtA[iNdEx]
  1436. iNdEx++
  1437. m.Type |= FolderType(b&0x7F) << shift
  1438. if b < 0x80 {
  1439. break
  1440. }
  1441. }
  1442. case 6:
  1443. if wireType != 2 {
  1444. return fmt.Errorf("proto: wrong wireType = %d for field Devices", wireType)
  1445. }
  1446. var msglen int
  1447. for shift := uint(0); ; shift += 7 {
  1448. if shift >= 64 {
  1449. return ErrIntOverflowFolderconfiguration
  1450. }
  1451. if iNdEx >= l {
  1452. return io.ErrUnexpectedEOF
  1453. }
  1454. b := dAtA[iNdEx]
  1455. iNdEx++
  1456. msglen |= int(b&0x7F) << shift
  1457. if b < 0x80 {
  1458. break
  1459. }
  1460. }
  1461. if msglen < 0 {
  1462. return ErrInvalidLengthFolderconfiguration
  1463. }
  1464. postIndex := iNdEx + msglen
  1465. if postIndex < 0 {
  1466. return ErrInvalidLengthFolderconfiguration
  1467. }
  1468. if postIndex > l {
  1469. return io.ErrUnexpectedEOF
  1470. }
  1471. m.Devices = append(m.Devices, FolderDeviceConfiguration{})
  1472. if err := m.Devices[len(m.Devices)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  1473. return err
  1474. }
  1475. iNdEx = postIndex
  1476. case 7:
  1477. if wireType != 0 {
  1478. return fmt.Errorf("proto: wrong wireType = %d for field RescanIntervalS", wireType)
  1479. }
  1480. m.RescanIntervalS = 0
  1481. for shift := uint(0); ; shift += 7 {
  1482. if shift >= 64 {
  1483. return ErrIntOverflowFolderconfiguration
  1484. }
  1485. if iNdEx >= l {
  1486. return io.ErrUnexpectedEOF
  1487. }
  1488. b := dAtA[iNdEx]
  1489. iNdEx++
  1490. m.RescanIntervalS |= int(b&0x7F) << shift
  1491. if b < 0x80 {
  1492. break
  1493. }
  1494. }
  1495. case 8:
  1496. if wireType != 0 {
  1497. return fmt.Errorf("proto: wrong wireType = %d for field FSWatcherEnabled", wireType)
  1498. }
  1499. var v int
  1500. for shift := uint(0); ; shift += 7 {
  1501. if shift >= 64 {
  1502. return ErrIntOverflowFolderconfiguration
  1503. }
  1504. if iNdEx >= l {
  1505. return io.ErrUnexpectedEOF
  1506. }
  1507. b := dAtA[iNdEx]
  1508. iNdEx++
  1509. v |= int(b&0x7F) << shift
  1510. if b < 0x80 {
  1511. break
  1512. }
  1513. }
  1514. m.FSWatcherEnabled = bool(v != 0)
  1515. case 9:
  1516. if wireType != 1 {
  1517. return fmt.Errorf("proto: wrong wireType = %d for field FSWatcherDelayS", wireType)
  1518. }
  1519. var v uint64
  1520. if (iNdEx + 8) > l {
  1521. return io.ErrUnexpectedEOF
  1522. }
  1523. v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:]))
  1524. iNdEx += 8
  1525. m.FSWatcherDelayS = float64(math.Float64frombits(v))
  1526. case 10:
  1527. if wireType != 0 {
  1528. return fmt.Errorf("proto: wrong wireType = %d for field IgnorePerms", wireType)
  1529. }
  1530. var v int
  1531. for shift := uint(0); ; shift += 7 {
  1532. if shift >= 64 {
  1533. return ErrIntOverflowFolderconfiguration
  1534. }
  1535. if iNdEx >= l {
  1536. return io.ErrUnexpectedEOF
  1537. }
  1538. b := dAtA[iNdEx]
  1539. iNdEx++
  1540. v |= int(b&0x7F) << shift
  1541. if b < 0x80 {
  1542. break
  1543. }
  1544. }
  1545. m.IgnorePerms = bool(v != 0)
  1546. case 11:
  1547. if wireType != 0 {
  1548. return fmt.Errorf("proto: wrong wireType = %d for field AutoNormalize", wireType)
  1549. }
  1550. var v int
  1551. for shift := uint(0); ; shift += 7 {
  1552. if shift >= 64 {
  1553. return ErrIntOverflowFolderconfiguration
  1554. }
  1555. if iNdEx >= l {
  1556. return io.ErrUnexpectedEOF
  1557. }
  1558. b := dAtA[iNdEx]
  1559. iNdEx++
  1560. v |= int(b&0x7F) << shift
  1561. if b < 0x80 {
  1562. break
  1563. }
  1564. }
  1565. m.AutoNormalize = bool(v != 0)
  1566. case 12:
  1567. if wireType != 2 {
  1568. return fmt.Errorf("proto: wrong wireType = %d for field MinDiskFree", wireType)
  1569. }
  1570. var msglen int
  1571. for shift := uint(0); ; shift += 7 {
  1572. if shift >= 64 {
  1573. return ErrIntOverflowFolderconfiguration
  1574. }
  1575. if iNdEx >= l {
  1576. return io.ErrUnexpectedEOF
  1577. }
  1578. b := dAtA[iNdEx]
  1579. iNdEx++
  1580. msglen |= int(b&0x7F) << shift
  1581. if b < 0x80 {
  1582. break
  1583. }
  1584. }
  1585. if msglen < 0 {
  1586. return ErrInvalidLengthFolderconfiguration
  1587. }
  1588. postIndex := iNdEx + msglen
  1589. if postIndex < 0 {
  1590. return ErrInvalidLengthFolderconfiguration
  1591. }
  1592. if postIndex > l {
  1593. return io.ErrUnexpectedEOF
  1594. }
  1595. if err := m.MinDiskFree.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  1596. return err
  1597. }
  1598. iNdEx = postIndex
  1599. case 13:
  1600. if wireType != 2 {
  1601. return fmt.Errorf("proto: wrong wireType = %d for field Versioning", wireType)
  1602. }
  1603. var msglen int
  1604. for shift := uint(0); ; shift += 7 {
  1605. if shift >= 64 {
  1606. return ErrIntOverflowFolderconfiguration
  1607. }
  1608. if iNdEx >= l {
  1609. return io.ErrUnexpectedEOF
  1610. }
  1611. b := dAtA[iNdEx]
  1612. iNdEx++
  1613. msglen |= int(b&0x7F) << shift
  1614. if b < 0x80 {
  1615. break
  1616. }
  1617. }
  1618. if msglen < 0 {
  1619. return ErrInvalidLengthFolderconfiguration
  1620. }
  1621. postIndex := iNdEx + msglen
  1622. if postIndex < 0 {
  1623. return ErrInvalidLengthFolderconfiguration
  1624. }
  1625. if postIndex > l {
  1626. return io.ErrUnexpectedEOF
  1627. }
  1628. if err := m.Versioning.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  1629. return err
  1630. }
  1631. iNdEx = postIndex
  1632. case 14:
  1633. if wireType != 0 {
  1634. return fmt.Errorf("proto: wrong wireType = %d for field Copiers", wireType)
  1635. }
  1636. m.Copiers = 0
  1637. for shift := uint(0); ; shift += 7 {
  1638. if shift >= 64 {
  1639. return ErrIntOverflowFolderconfiguration
  1640. }
  1641. if iNdEx >= l {
  1642. return io.ErrUnexpectedEOF
  1643. }
  1644. b := dAtA[iNdEx]
  1645. iNdEx++
  1646. m.Copiers |= int(b&0x7F) << shift
  1647. if b < 0x80 {
  1648. break
  1649. }
  1650. }
  1651. case 15:
  1652. if wireType != 0 {
  1653. return fmt.Errorf("proto: wrong wireType = %d for field PullerMaxPendingKiB", wireType)
  1654. }
  1655. m.PullerMaxPendingKiB = 0
  1656. for shift := uint(0); ; shift += 7 {
  1657. if shift >= 64 {
  1658. return ErrIntOverflowFolderconfiguration
  1659. }
  1660. if iNdEx >= l {
  1661. return io.ErrUnexpectedEOF
  1662. }
  1663. b := dAtA[iNdEx]
  1664. iNdEx++
  1665. m.PullerMaxPendingKiB |= int(b&0x7F) << shift
  1666. if b < 0x80 {
  1667. break
  1668. }
  1669. }
  1670. case 16:
  1671. if wireType != 0 {
  1672. return fmt.Errorf("proto: wrong wireType = %d for field Hashers", wireType)
  1673. }
  1674. m.Hashers = 0
  1675. for shift := uint(0); ; shift += 7 {
  1676. if shift >= 64 {
  1677. return ErrIntOverflowFolderconfiguration
  1678. }
  1679. if iNdEx >= l {
  1680. return io.ErrUnexpectedEOF
  1681. }
  1682. b := dAtA[iNdEx]
  1683. iNdEx++
  1684. m.Hashers |= int(b&0x7F) << shift
  1685. if b < 0x80 {
  1686. break
  1687. }
  1688. }
  1689. case 17:
  1690. if wireType != 0 {
  1691. return fmt.Errorf("proto: wrong wireType = %d for field Order", wireType)
  1692. }
  1693. m.Order = 0
  1694. for shift := uint(0); ; shift += 7 {
  1695. if shift >= 64 {
  1696. return ErrIntOverflowFolderconfiguration
  1697. }
  1698. if iNdEx >= l {
  1699. return io.ErrUnexpectedEOF
  1700. }
  1701. b := dAtA[iNdEx]
  1702. iNdEx++
  1703. m.Order |= PullOrder(b&0x7F) << shift
  1704. if b < 0x80 {
  1705. break
  1706. }
  1707. }
  1708. case 18:
  1709. if wireType != 0 {
  1710. return fmt.Errorf("proto: wrong wireType = %d for field IgnoreDelete", wireType)
  1711. }
  1712. var v int
  1713. for shift := uint(0); ; shift += 7 {
  1714. if shift >= 64 {
  1715. return ErrIntOverflowFolderconfiguration
  1716. }
  1717. if iNdEx >= l {
  1718. return io.ErrUnexpectedEOF
  1719. }
  1720. b := dAtA[iNdEx]
  1721. iNdEx++
  1722. v |= int(b&0x7F) << shift
  1723. if b < 0x80 {
  1724. break
  1725. }
  1726. }
  1727. m.IgnoreDelete = bool(v != 0)
  1728. case 19:
  1729. if wireType != 0 {
  1730. return fmt.Errorf("proto: wrong wireType = %d for field ScanProgressIntervalS", wireType)
  1731. }
  1732. m.ScanProgressIntervalS = 0
  1733. for shift := uint(0); ; shift += 7 {
  1734. if shift >= 64 {
  1735. return ErrIntOverflowFolderconfiguration
  1736. }
  1737. if iNdEx >= l {
  1738. return io.ErrUnexpectedEOF
  1739. }
  1740. b := dAtA[iNdEx]
  1741. iNdEx++
  1742. m.ScanProgressIntervalS |= int(b&0x7F) << shift
  1743. if b < 0x80 {
  1744. break
  1745. }
  1746. }
  1747. case 20:
  1748. if wireType != 0 {
  1749. return fmt.Errorf("proto: wrong wireType = %d for field PullerPauseS", wireType)
  1750. }
  1751. m.PullerPauseS = 0
  1752. for shift := uint(0); ; shift += 7 {
  1753. if shift >= 64 {
  1754. return ErrIntOverflowFolderconfiguration
  1755. }
  1756. if iNdEx >= l {
  1757. return io.ErrUnexpectedEOF
  1758. }
  1759. b := dAtA[iNdEx]
  1760. iNdEx++
  1761. m.PullerPauseS |= int(b&0x7F) << shift
  1762. if b < 0x80 {
  1763. break
  1764. }
  1765. }
  1766. case 21:
  1767. if wireType != 0 {
  1768. return fmt.Errorf("proto: wrong wireType = %d for field MaxConflicts", wireType)
  1769. }
  1770. m.MaxConflicts = 0
  1771. for shift := uint(0); ; shift += 7 {
  1772. if shift >= 64 {
  1773. return ErrIntOverflowFolderconfiguration
  1774. }
  1775. if iNdEx >= l {
  1776. return io.ErrUnexpectedEOF
  1777. }
  1778. b := dAtA[iNdEx]
  1779. iNdEx++
  1780. m.MaxConflicts |= int(b&0x7F) << shift
  1781. if b < 0x80 {
  1782. break
  1783. }
  1784. }
  1785. case 22:
  1786. if wireType != 0 {
  1787. return fmt.Errorf("proto: wrong wireType = %d for field DisableSparseFiles", wireType)
  1788. }
  1789. var v int
  1790. for shift := uint(0); ; shift += 7 {
  1791. if shift >= 64 {
  1792. return ErrIntOverflowFolderconfiguration
  1793. }
  1794. if iNdEx >= l {
  1795. return io.ErrUnexpectedEOF
  1796. }
  1797. b := dAtA[iNdEx]
  1798. iNdEx++
  1799. v |= int(b&0x7F) << shift
  1800. if b < 0x80 {
  1801. break
  1802. }
  1803. }
  1804. m.DisableSparseFiles = bool(v != 0)
  1805. case 23:
  1806. if wireType != 0 {
  1807. return fmt.Errorf("proto: wrong wireType = %d for field DisableTempIndexes", wireType)
  1808. }
  1809. var v int
  1810. for shift := uint(0); ; shift += 7 {
  1811. if shift >= 64 {
  1812. return ErrIntOverflowFolderconfiguration
  1813. }
  1814. if iNdEx >= l {
  1815. return io.ErrUnexpectedEOF
  1816. }
  1817. b := dAtA[iNdEx]
  1818. iNdEx++
  1819. v |= int(b&0x7F) << shift
  1820. if b < 0x80 {
  1821. break
  1822. }
  1823. }
  1824. m.DisableTempIndexes = bool(v != 0)
  1825. case 24:
  1826. if wireType != 0 {
  1827. return fmt.Errorf("proto: wrong wireType = %d for field Paused", wireType)
  1828. }
  1829. var v int
  1830. for shift := uint(0); ; shift += 7 {
  1831. if shift >= 64 {
  1832. return ErrIntOverflowFolderconfiguration
  1833. }
  1834. if iNdEx >= l {
  1835. return io.ErrUnexpectedEOF
  1836. }
  1837. b := dAtA[iNdEx]
  1838. iNdEx++
  1839. v |= int(b&0x7F) << shift
  1840. if b < 0x80 {
  1841. break
  1842. }
  1843. }
  1844. m.Paused = bool(v != 0)
  1845. case 25:
  1846. if wireType != 0 {
  1847. return fmt.Errorf("proto: wrong wireType = %d for field WeakHashThresholdPct", wireType)
  1848. }
  1849. m.WeakHashThresholdPct = 0
  1850. for shift := uint(0); ; shift += 7 {
  1851. if shift >= 64 {
  1852. return ErrIntOverflowFolderconfiguration
  1853. }
  1854. if iNdEx >= l {
  1855. return io.ErrUnexpectedEOF
  1856. }
  1857. b := dAtA[iNdEx]
  1858. iNdEx++
  1859. m.WeakHashThresholdPct |= int(b&0x7F) << shift
  1860. if b < 0x80 {
  1861. break
  1862. }
  1863. }
  1864. case 26:
  1865. if wireType != 2 {
  1866. return fmt.Errorf("proto: wrong wireType = %d for field MarkerName", wireType)
  1867. }
  1868. var stringLen uint64
  1869. for shift := uint(0); ; shift += 7 {
  1870. if shift >= 64 {
  1871. return ErrIntOverflowFolderconfiguration
  1872. }
  1873. if iNdEx >= l {
  1874. return io.ErrUnexpectedEOF
  1875. }
  1876. b := dAtA[iNdEx]
  1877. iNdEx++
  1878. stringLen |= uint64(b&0x7F) << shift
  1879. if b < 0x80 {
  1880. break
  1881. }
  1882. }
  1883. intStringLen := int(stringLen)
  1884. if intStringLen < 0 {
  1885. return ErrInvalidLengthFolderconfiguration
  1886. }
  1887. postIndex := iNdEx + intStringLen
  1888. if postIndex < 0 {
  1889. return ErrInvalidLengthFolderconfiguration
  1890. }
  1891. if postIndex > l {
  1892. return io.ErrUnexpectedEOF
  1893. }
  1894. m.MarkerName = string(dAtA[iNdEx:postIndex])
  1895. iNdEx = postIndex
  1896. case 27:
  1897. if wireType != 0 {
  1898. return fmt.Errorf("proto: wrong wireType = %d for field CopyOwnershipFromParent", wireType)
  1899. }
  1900. var v int
  1901. for shift := uint(0); ; shift += 7 {
  1902. if shift >= 64 {
  1903. return ErrIntOverflowFolderconfiguration
  1904. }
  1905. if iNdEx >= l {
  1906. return io.ErrUnexpectedEOF
  1907. }
  1908. b := dAtA[iNdEx]
  1909. iNdEx++
  1910. v |= int(b&0x7F) << shift
  1911. if b < 0x80 {
  1912. break
  1913. }
  1914. }
  1915. m.CopyOwnershipFromParent = bool(v != 0)
  1916. case 28:
  1917. if wireType != 0 {
  1918. return fmt.Errorf("proto: wrong wireType = %d for field RawModTimeWindowS", wireType)
  1919. }
  1920. m.RawModTimeWindowS = 0
  1921. for shift := uint(0); ; shift += 7 {
  1922. if shift >= 64 {
  1923. return ErrIntOverflowFolderconfiguration
  1924. }
  1925. if iNdEx >= l {
  1926. return io.ErrUnexpectedEOF
  1927. }
  1928. b := dAtA[iNdEx]
  1929. iNdEx++
  1930. m.RawModTimeWindowS |= int(b&0x7F) << shift
  1931. if b < 0x80 {
  1932. break
  1933. }
  1934. }
  1935. case 29:
  1936. if wireType != 0 {
  1937. return fmt.Errorf("proto: wrong wireType = %d for field MaxConcurrentWrites", wireType)
  1938. }
  1939. m.MaxConcurrentWrites = 0
  1940. for shift := uint(0); ; shift += 7 {
  1941. if shift >= 64 {
  1942. return ErrIntOverflowFolderconfiguration
  1943. }
  1944. if iNdEx >= l {
  1945. return io.ErrUnexpectedEOF
  1946. }
  1947. b := dAtA[iNdEx]
  1948. iNdEx++
  1949. m.MaxConcurrentWrites |= int(b&0x7F) << shift
  1950. if b < 0x80 {
  1951. break
  1952. }
  1953. }
  1954. case 30:
  1955. if wireType != 0 {
  1956. return fmt.Errorf("proto: wrong wireType = %d for field DisableFsync", wireType)
  1957. }
  1958. var v int
  1959. for shift := uint(0); ; shift += 7 {
  1960. if shift >= 64 {
  1961. return ErrIntOverflowFolderconfiguration
  1962. }
  1963. if iNdEx >= l {
  1964. return io.ErrUnexpectedEOF
  1965. }
  1966. b := dAtA[iNdEx]
  1967. iNdEx++
  1968. v |= int(b&0x7F) << shift
  1969. if b < 0x80 {
  1970. break
  1971. }
  1972. }
  1973. m.DisableFsync = bool(v != 0)
  1974. case 31:
  1975. if wireType != 0 {
  1976. return fmt.Errorf("proto: wrong wireType = %d for field BlockPullOrder", wireType)
  1977. }
  1978. m.BlockPullOrder = 0
  1979. for shift := uint(0); ; shift += 7 {
  1980. if shift >= 64 {
  1981. return ErrIntOverflowFolderconfiguration
  1982. }
  1983. if iNdEx >= l {
  1984. return io.ErrUnexpectedEOF
  1985. }
  1986. b := dAtA[iNdEx]
  1987. iNdEx++
  1988. m.BlockPullOrder |= BlockPullOrder(b&0x7F) << shift
  1989. if b < 0x80 {
  1990. break
  1991. }
  1992. }
  1993. case 32:
  1994. if wireType != 0 {
  1995. return fmt.Errorf("proto: wrong wireType = %d for field CopyRangeMethod", wireType)
  1996. }
  1997. m.CopyRangeMethod = 0
  1998. for shift := uint(0); ; shift += 7 {
  1999. if shift >= 64 {
  2000. return ErrIntOverflowFolderconfiguration
  2001. }
  2002. if iNdEx >= l {
  2003. return io.ErrUnexpectedEOF
  2004. }
  2005. b := dAtA[iNdEx]
  2006. iNdEx++
  2007. m.CopyRangeMethod |= fs.CopyRangeMethod(b&0x7F) << shift
  2008. if b < 0x80 {
  2009. break
  2010. }
  2011. }
  2012. case 33:
  2013. if wireType != 0 {
  2014. return fmt.Errorf("proto: wrong wireType = %d for field CaseSensitiveFS", wireType)
  2015. }
  2016. var v int
  2017. for shift := uint(0); ; shift += 7 {
  2018. if shift >= 64 {
  2019. return ErrIntOverflowFolderconfiguration
  2020. }
  2021. if iNdEx >= l {
  2022. return io.ErrUnexpectedEOF
  2023. }
  2024. b := dAtA[iNdEx]
  2025. iNdEx++
  2026. v |= int(b&0x7F) << shift
  2027. if b < 0x80 {
  2028. break
  2029. }
  2030. }
  2031. m.CaseSensitiveFS = bool(v != 0)
  2032. case 34:
  2033. if wireType != 0 {
  2034. return fmt.Errorf("proto: wrong wireType = %d for field JunctionsAsDirs", wireType)
  2035. }
  2036. var v int
  2037. for shift := uint(0); ; shift += 7 {
  2038. if shift >= 64 {
  2039. return ErrIntOverflowFolderconfiguration
  2040. }
  2041. if iNdEx >= l {
  2042. return io.ErrUnexpectedEOF
  2043. }
  2044. b := dAtA[iNdEx]
  2045. iNdEx++
  2046. v |= int(b&0x7F) << shift
  2047. if b < 0x80 {
  2048. break
  2049. }
  2050. }
  2051. m.JunctionsAsDirs = bool(v != 0)
  2052. case 35:
  2053. if wireType != 0 {
  2054. return fmt.Errorf("proto: wrong wireType = %d for field SyncOwnership", wireType)
  2055. }
  2056. var v int
  2057. for shift := uint(0); ; shift += 7 {
  2058. if shift >= 64 {
  2059. return ErrIntOverflowFolderconfiguration
  2060. }
  2061. if iNdEx >= l {
  2062. return io.ErrUnexpectedEOF
  2063. }
  2064. b := dAtA[iNdEx]
  2065. iNdEx++
  2066. v |= int(b&0x7F) << shift
  2067. if b < 0x80 {
  2068. break
  2069. }
  2070. }
  2071. m.SyncOwnership = bool(v != 0)
  2072. case 36:
  2073. if wireType != 0 {
  2074. return fmt.Errorf("proto: wrong wireType = %d for field SendOwnership", wireType)
  2075. }
  2076. var v int
  2077. for shift := uint(0); ; shift += 7 {
  2078. if shift >= 64 {
  2079. return ErrIntOverflowFolderconfiguration
  2080. }
  2081. if iNdEx >= l {
  2082. return io.ErrUnexpectedEOF
  2083. }
  2084. b := dAtA[iNdEx]
  2085. iNdEx++
  2086. v |= int(b&0x7F) << shift
  2087. if b < 0x80 {
  2088. break
  2089. }
  2090. }
  2091. m.SendOwnership = bool(v != 0)
  2092. case 37:
  2093. if wireType != 0 {
  2094. return fmt.Errorf("proto: wrong wireType = %d for field SyncXattrs", wireType)
  2095. }
  2096. var v int
  2097. for shift := uint(0); ; shift += 7 {
  2098. if shift >= 64 {
  2099. return ErrIntOverflowFolderconfiguration
  2100. }
  2101. if iNdEx >= l {
  2102. return io.ErrUnexpectedEOF
  2103. }
  2104. b := dAtA[iNdEx]
  2105. iNdEx++
  2106. v |= int(b&0x7F) << shift
  2107. if b < 0x80 {
  2108. break
  2109. }
  2110. }
  2111. m.SyncXattrs = bool(v != 0)
  2112. case 38:
  2113. if wireType != 0 {
  2114. return fmt.Errorf("proto: wrong wireType = %d for field SendXattrs", wireType)
  2115. }
  2116. var v int
  2117. for shift := uint(0); ; shift += 7 {
  2118. if shift >= 64 {
  2119. return ErrIntOverflowFolderconfiguration
  2120. }
  2121. if iNdEx >= l {
  2122. return io.ErrUnexpectedEOF
  2123. }
  2124. b := dAtA[iNdEx]
  2125. iNdEx++
  2126. v |= int(b&0x7F) << shift
  2127. if b < 0x80 {
  2128. break
  2129. }
  2130. }
  2131. m.SendXattrs = bool(v != 0)
  2132. case 39:
  2133. if wireType != 2 {
  2134. return fmt.Errorf("proto: wrong wireType = %d for field XattrFilter", wireType)
  2135. }
  2136. var msglen int
  2137. for shift := uint(0); ; shift += 7 {
  2138. if shift >= 64 {
  2139. return ErrIntOverflowFolderconfiguration
  2140. }
  2141. if iNdEx >= l {
  2142. return io.ErrUnexpectedEOF
  2143. }
  2144. b := dAtA[iNdEx]
  2145. iNdEx++
  2146. msglen |= int(b&0x7F) << shift
  2147. if b < 0x80 {
  2148. break
  2149. }
  2150. }
  2151. if msglen < 0 {
  2152. return ErrInvalidLengthFolderconfiguration
  2153. }
  2154. postIndex := iNdEx + msglen
  2155. if postIndex < 0 {
  2156. return ErrInvalidLengthFolderconfiguration
  2157. }
  2158. if postIndex > l {
  2159. return io.ErrUnexpectedEOF
  2160. }
  2161. if err := m.XattrFilter.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2162. return err
  2163. }
  2164. iNdEx = postIndex
  2165. case 9000:
  2166. if wireType != 0 {
  2167. return fmt.Errorf("proto: wrong wireType = %d for field DeprecatedReadOnly", wireType)
  2168. }
  2169. var v int
  2170. for shift := uint(0); ; shift += 7 {
  2171. if shift >= 64 {
  2172. return ErrIntOverflowFolderconfiguration
  2173. }
  2174. if iNdEx >= l {
  2175. return io.ErrUnexpectedEOF
  2176. }
  2177. b := dAtA[iNdEx]
  2178. iNdEx++
  2179. v |= int(b&0x7F) << shift
  2180. if b < 0x80 {
  2181. break
  2182. }
  2183. }
  2184. m.DeprecatedReadOnly = bool(v != 0)
  2185. case 9001:
  2186. if wireType != 1 {
  2187. return fmt.Errorf("proto: wrong wireType = %d for field DeprecatedMinDiskFreePct", wireType)
  2188. }
  2189. var v uint64
  2190. if (iNdEx + 8) > l {
  2191. return io.ErrUnexpectedEOF
  2192. }
  2193. v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:]))
  2194. iNdEx += 8
  2195. m.DeprecatedMinDiskFreePct = float64(math.Float64frombits(v))
  2196. case 9002:
  2197. if wireType != 0 {
  2198. return fmt.Errorf("proto: wrong wireType = %d for field DeprecatedPullers", wireType)
  2199. }
  2200. m.DeprecatedPullers = 0
  2201. for shift := uint(0); ; shift += 7 {
  2202. if shift >= 64 {
  2203. return ErrIntOverflowFolderconfiguration
  2204. }
  2205. if iNdEx >= l {
  2206. return io.ErrUnexpectedEOF
  2207. }
  2208. b := dAtA[iNdEx]
  2209. iNdEx++
  2210. m.DeprecatedPullers |= int(b&0x7F) << shift
  2211. if b < 0x80 {
  2212. break
  2213. }
  2214. }
  2215. case 9003:
  2216. if wireType != 0 {
  2217. return fmt.Errorf("proto: wrong wireType = %d for field DeprecatedScanOwnership", wireType)
  2218. }
  2219. var v int
  2220. for shift := uint(0); ; shift += 7 {
  2221. if shift >= 64 {
  2222. return ErrIntOverflowFolderconfiguration
  2223. }
  2224. if iNdEx >= l {
  2225. return io.ErrUnexpectedEOF
  2226. }
  2227. b := dAtA[iNdEx]
  2228. iNdEx++
  2229. v |= int(b&0x7F) << shift
  2230. if b < 0x80 {
  2231. break
  2232. }
  2233. }
  2234. m.DeprecatedScanOwnership = bool(v != 0)
  2235. default:
  2236. iNdEx = preIndex
  2237. skippy, err := skipFolderconfiguration(dAtA[iNdEx:])
  2238. if err != nil {
  2239. return err
  2240. }
  2241. if (skippy < 0) || (iNdEx+skippy) < 0 {
  2242. return ErrInvalidLengthFolderconfiguration
  2243. }
  2244. if (iNdEx + skippy) > l {
  2245. return io.ErrUnexpectedEOF
  2246. }
  2247. iNdEx += skippy
  2248. }
  2249. }
  2250. if iNdEx > l {
  2251. return io.ErrUnexpectedEOF
  2252. }
  2253. return nil
  2254. }
  2255. func (m *XattrFilter) Unmarshal(dAtA []byte) error {
  2256. l := len(dAtA)
  2257. iNdEx := 0
  2258. for iNdEx < l {
  2259. preIndex := iNdEx
  2260. var wire uint64
  2261. for shift := uint(0); ; shift += 7 {
  2262. if shift >= 64 {
  2263. return ErrIntOverflowFolderconfiguration
  2264. }
  2265. if iNdEx >= l {
  2266. return io.ErrUnexpectedEOF
  2267. }
  2268. b := dAtA[iNdEx]
  2269. iNdEx++
  2270. wire |= uint64(b&0x7F) << shift
  2271. if b < 0x80 {
  2272. break
  2273. }
  2274. }
  2275. fieldNum := int32(wire >> 3)
  2276. wireType := int(wire & 0x7)
  2277. if wireType == 4 {
  2278. return fmt.Errorf("proto: XattrFilter: wiretype end group for non-group")
  2279. }
  2280. if fieldNum <= 0 {
  2281. return fmt.Errorf("proto: XattrFilter: illegal tag %d (wire type %d)", fieldNum, wire)
  2282. }
  2283. switch fieldNum {
  2284. case 1:
  2285. if wireType != 2 {
  2286. return fmt.Errorf("proto: wrong wireType = %d for field Entries", wireType)
  2287. }
  2288. var msglen int
  2289. for shift := uint(0); ; shift += 7 {
  2290. if shift >= 64 {
  2291. return ErrIntOverflowFolderconfiguration
  2292. }
  2293. if iNdEx >= l {
  2294. return io.ErrUnexpectedEOF
  2295. }
  2296. b := dAtA[iNdEx]
  2297. iNdEx++
  2298. msglen |= int(b&0x7F) << shift
  2299. if b < 0x80 {
  2300. break
  2301. }
  2302. }
  2303. if msglen < 0 {
  2304. return ErrInvalidLengthFolderconfiguration
  2305. }
  2306. postIndex := iNdEx + msglen
  2307. if postIndex < 0 {
  2308. return ErrInvalidLengthFolderconfiguration
  2309. }
  2310. if postIndex > l {
  2311. return io.ErrUnexpectedEOF
  2312. }
  2313. m.Entries = append(m.Entries, XattrFilterEntry{})
  2314. if err := m.Entries[len(m.Entries)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2315. return err
  2316. }
  2317. iNdEx = postIndex
  2318. case 2:
  2319. if wireType != 0 {
  2320. return fmt.Errorf("proto: wrong wireType = %d for field MaxSingleEntrySize", wireType)
  2321. }
  2322. m.MaxSingleEntrySize = 0
  2323. for shift := uint(0); ; shift += 7 {
  2324. if shift >= 64 {
  2325. return ErrIntOverflowFolderconfiguration
  2326. }
  2327. if iNdEx >= l {
  2328. return io.ErrUnexpectedEOF
  2329. }
  2330. b := dAtA[iNdEx]
  2331. iNdEx++
  2332. m.MaxSingleEntrySize |= int(b&0x7F) << shift
  2333. if b < 0x80 {
  2334. break
  2335. }
  2336. }
  2337. case 3:
  2338. if wireType != 0 {
  2339. return fmt.Errorf("proto: wrong wireType = %d for field MaxTotalSize", wireType)
  2340. }
  2341. m.MaxTotalSize = 0
  2342. for shift := uint(0); ; shift += 7 {
  2343. if shift >= 64 {
  2344. return ErrIntOverflowFolderconfiguration
  2345. }
  2346. if iNdEx >= l {
  2347. return io.ErrUnexpectedEOF
  2348. }
  2349. b := dAtA[iNdEx]
  2350. iNdEx++
  2351. m.MaxTotalSize |= int(b&0x7F) << shift
  2352. if b < 0x80 {
  2353. break
  2354. }
  2355. }
  2356. default:
  2357. iNdEx = preIndex
  2358. skippy, err := skipFolderconfiguration(dAtA[iNdEx:])
  2359. if err != nil {
  2360. return err
  2361. }
  2362. if (skippy < 0) || (iNdEx+skippy) < 0 {
  2363. return ErrInvalidLengthFolderconfiguration
  2364. }
  2365. if (iNdEx + skippy) > l {
  2366. return io.ErrUnexpectedEOF
  2367. }
  2368. iNdEx += skippy
  2369. }
  2370. }
  2371. if iNdEx > l {
  2372. return io.ErrUnexpectedEOF
  2373. }
  2374. return nil
  2375. }
  2376. func (m *XattrFilterEntry) Unmarshal(dAtA []byte) error {
  2377. l := len(dAtA)
  2378. iNdEx := 0
  2379. for iNdEx < l {
  2380. preIndex := iNdEx
  2381. var wire uint64
  2382. for shift := uint(0); ; shift += 7 {
  2383. if shift >= 64 {
  2384. return ErrIntOverflowFolderconfiguration
  2385. }
  2386. if iNdEx >= l {
  2387. return io.ErrUnexpectedEOF
  2388. }
  2389. b := dAtA[iNdEx]
  2390. iNdEx++
  2391. wire |= uint64(b&0x7F) << shift
  2392. if b < 0x80 {
  2393. break
  2394. }
  2395. }
  2396. fieldNum := int32(wire >> 3)
  2397. wireType := int(wire & 0x7)
  2398. if wireType == 4 {
  2399. return fmt.Errorf("proto: XattrFilterEntry: wiretype end group for non-group")
  2400. }
  2401. if fieldNum <= 0 {
  2402. return fmt.Errorf("proto: XattrFilterEntry: illegal tag %d (wire type %d)", fieldNum, wire)
  2403. }
  2404. switch fieldNum {
  2405. case 1:
  2406. if wireType != 2 {
  2407. return fmt.Errorf("proto: wrong wireType = %d for field Match", wireType)
  2408. }
  2409. var stringLen uint64
  2410. for shift := uint(0); ; shift += 7 {
  2411. if shift >= 64 {
  2412. return ErrIntOverflowFolderconfiguration
  2413. }
  2414. if iNdEx >= l {
  2415. return io.ErrUnexpectedEOF
  2416. }
  2417. b := dAtA[iNdEx]
  2418. iNdEx++
  2419. stringLen |= uint64(b&0x7F) << shift
  2420. if b < 0x80 {
  2421. break
  2422. }
  2423. }
  2424. intStringLen := int(stringLen)
  2425. if intStringLen < 0 {
  2426. return ErrInvalidLengthFolderconfiguration
  2427. }
  2428. postIndex := iNdEx + intStringLen
  2429. if postIndex < 0 {
  2430. return ErrInvalidLengthFolderconfiguration
  2431. }
  2432. if postIndex > l {
  2433. return io.ErrUnexpectedEOF
  2434. }
  2435. m.Match = string(dAtA[iNdEx:postIndex])
  2436. iNdEx = postIndex
  2437. case 2:
  2438. if wireType != 0 {
  2439. return fmt.Errorf("proto: wrong wireType = %d for field Permit", wireType)
  2440. }
  2441. var v int
  2442. for shift := uint(0); ; shift += 7 {
  2443. if shift >= 64 {
  2444. return ErrIntOverflowFolderconfiguration
  2445. }
  2446. if iNdEx >= l {
  2447. return io.ErrUnexpectedEOF
  2448. }
  2449. b := dAtA[iNdEx]
  2450. iNdEx++
  2451. v |= int(b&0x7F) << shift
  2452. if b < 0x80 {
  2453. break
  2454. }
  2455. }
  2456. m.Permit = bool(v != 0)
  2457. default:
  2458. iNdEx = preIndex
  2459. skippy, err := skipFolderconfiguration(dAtA[iNdEx:])
  2460. if err != nil {
  2461. return err
  2462. }
  2463. if (skippy < 0) || (iNdEx+skippy) < 0 {
  2464. return ErrInvalidLengthFolderconfiguration
  2465. }
  2466. if (iNdEx + skippy) > l {
  2467. return io.ErrUnexpectedEOF
  2468. }
  2469. iNdEx += skippy
  2470. }
  2471. }
  2472. if iNdEx > l {
  2473. return io.ErrUnexpectedEOF
  2474. }
  2475. return nil
  2476. }
  2477. func skipFolderconfiguration(dAtA []byte) (n int, err error) {
  2478. l := len(dAtA)
  2479. iNdEx := 0
  2480. depth := 0
  2481. for iNdEx < l {
  2482. var wire uint64
  2483. for shift := uint(0); ; shift += 7 {
  2484. if shift >= 64 {
  2485. return 0, ErrIntOverflowFolderconfiguration
  2486. }
  2487. if iNdEx >= l {
  2488. return 0, io.ErrUnexpectedEOF
  2489. }
  2490. b := dAtA[iNdEx]
  2491. iNdEx++
  2492. wire |= (uint64(b) & 0x7F) << shift
  2493. if b < 0x80 {
  2494. break
  2495. }
  2496. }
  2497. wireType := int(wire & 0x7)
  2498. switch wireType {
  2499. case 0:
  2500. for shift := uint(0); ; shift += 7 {
  2501. if shift >= 64 {
  2502. return 0, ErrIntOverflowFolderconfiguration
  2503. }
  2504. if iNdEx >= l {
  2505. return 0, io.ErrUnexpectedEOF
  2506. }
  2507. iNdEx++
  2508. if dAtA[iNdEx-1] < 0x80 {
  2509. break
  2510. }
  2511. }
  2512. case 1:
  2513. iNdEx += 8
  2514. case 2:
  2515. var length int
  2516. for shift := uint(0); ; shift += 7 {
  2517. if shift >= 64 {
  2518. return 0, ErrIntOverflowFolderconfiguration
  2519. }
  2520. if iNdEx >= l {
  2521. return 0, io.ErrUnexpectedEOF
  2522. }
  2523. b := dAtA[iNdEx]
  2524. iNdEx++
  2525. length |= (int(b) & 0x7F) << shift
  2526. if b < 0x80 {
  2527. break
  2528. }
  2529. }
  2530. if length < 0 {
  2531. return 0, ErrInvalidLengthFolderconfiguration
  2532. }
  2533. iNdEx += length
  2534. case 3:
  2535. depth++
  2536. case 4:
  2537. if depth == 0 {
  2538. return 0, ErrUnexpectedEndOfGroupFolderconfiguration
  2539. }
  2540. depth--
  2541. case 5:
  2542. iNdEx += 4
  2543. default:
  2544. return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
  2545. }
  2546. if iNdEx < 0 {
  2547. return 0, ErrInvalidLengthFolderconfiguration
  2548. }
  2549. if depth == 0 {
  2550. return iNdEx, nil
  2551. }
  2552. }
  2553. return 0, io.ErrUnexpectedEOF
  2554. }
  2555. var (
  2556. ErrInvalidLengthFolderconfiguration = fmt.Errorf("proto: negative length found during unmarshaling")
  2557. ErrIntOverflowFolderconfiguration = fmt.Errorf("proto: integer overflow")
  2558. ErrUnexpectedEndOfGroupFolderconfiguration = fmt.Errorf("proto: unexpected end of group")
  2559. )