folderconfiguration.pb.go 76 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607
  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 int `protobuf:"varint,9,opt,name=fs_watcher_delay_s,json=fsWatcherDelayS,proto3,casttype=int" 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. // 2407 bytes of a gzipped FileDescriptorProto
  225. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x58, 0xcd, 0x6f, 0x1b, 0xc7,
  226. 0x15, 0xd7, 0x4a, 0xb6, 0x25, 0x8d, 0xbe, 0x47, 0x96, 0xbd, 0x51, 0x12, 0x8d, 0xb2, 0xa1, 0x63,
  227. 0x25, 0x4d, 0x64, 0x5b, 0x31, 0x02, 0xc4, 0xa8, 0xdb, 0x86, 0x92, 0x85, 0xba, 0xae, 0x62, 0x61,
  228. 0xa9, 0xd6, 0x6d, 0x52, 0x60, 0xbb, 0xda, 0x1d, 0x92, 0x1b, 0xed, 0x07, 0xbb, 0xb3, 0xb2, 0x44,
  229. 0x1f, 0x02, 0xb7, 0x87, 0xa2, 0x45, 0x73, 0x28, 0xd4, 0x43, 0x91, 0x43, 0x81, 0x00, 0x2d, 0x8a,
  230. 0x36, 0xfd, 0x03, 0x0a, 0xf4, 0x2f, 0xf0, 0xa5, 0x90, 0x4e, 0x45, 0xd1, 0xc3, 0x00, 0x91, 0x6f,
  231. 0x3c, 0xf2, 0xe8, 0x53, 0xf1, 0xde, 0x7e, 0x70, 0x96, 0x64, 0x80, 0x02, 0xbd, 0x71, 0x7e, 0xbf,
  232. 0x37, 0xef, 0xfd, 0xf6, 0xcd, 0xcc, 0x9b, 0x37, 0x24, 0x15, 0xdf, 0xdb, 0xbf, 0xe1, 0x44, 0x61,
  233. 0xdd, 0x6b, 0xdc, 0xa8, 0x47, 0xbe, 0xcb, 0xe3, 0x74, 0x70, 0x18, 0xdb, 0x89, 0x17, 0x85, 0xeb,
  234. 0xad, 0x38, 0x4a, 0x22, 0x7a, 0x29, 0x05, 0x97, 0x5f, 0x1e, 0xb0, 0x4e, 0xda, 0x2d, 0x9e, 0x1a,
  235. 0x2d, 0x2f, 0x29, 0xa4, 0xf0, 0x9e, 0xe4, 0xf0, 0xb2, 0x02, 0xb7, 0x0e, 0x7d, 0x3f, 0x8a, 0x5d,
  236. 0x1e, 0x67, 0xdc, 0x9a, 0xc2, 0x3d, 0xe6, 0xb1, 0xf0, 0xa2, 0xd0, 0x0b, 0x1b, 0x43, 0x14, 0x2c,
  237. 0x33, 0xc5, 0x72, 0xdf, 0x8f, 0x9c, 0x83, 0x7e, 0x57, 0x14, 0x0c, 0xea, 0xe2, 0x06, 0x08, 0x12,
  238. 0x19, 0xf6, 0x4a, 0x86, 0x39, 0x51, 0xab, 0x1d, 0xdb, 0x61, 0x83, 0x07, 0x3c, 0x69, 0x46, 0x6e,
  239. 0xc6, 0x4e, 0xf2, 0xe3, 0x24, 0xfd, 0x69, 0xfc, 0x6b, 0x8c, 0xbc, 0xb4, 0x8d, 0xdf, 0xb3, 0xc5,
  240. 0x1f, 0x7b, 0x0e, 0xdf, 0x54, 0x15, 0xd0, 0x2f, 0x35, 0x32, 0xe9, 0x22, 0x6e, 0x79, 0xae, 0xae,
  241. 0xad, 0x6a, 0x6b, 0xd3, 0xd5, 0xcf, 0xb4, 0x67, 0x92, 0x8d, 0xfc, 0x47, 0xb2, 0xdb, 0x0d, 0x2f,
  242. 0x69, 0x1e, 0xee, 0xaf, 0x3b, 0x51, 0x70, 0x43, 0xb4, 0x43, 0x27, 0x69, 0x7a, 0x61, 0x43, 0xf9,
  243. 0x05, 0x12, 0x30, 0x88, 0x13, 0xf9, 0xeb, 0xa9, 0xf7, 0xfb, 0x5b, 0xe7, 0x92, 0x4d, 0xe4, 0xbf,
  244. 0x3b, 0x92, 0x4d, 0xb8, 0xd9, 0xef, 0xae, 0x64, 0x33, 0xc7, 0x81, 0x7f, 0xc7, 0xf0, 0xdc, 0xb7,
  245. 0xed, 0x24, 0x89, 0x8d, 0xce, 0x69, 0x65, 0x3c, 0xfb, 0xdd, 0x3d, 0xad, 0x14, 0x76, 0xbf, 0x3a,
  246. 0xab, 0x68, 0x27, 0x67, 0x95, 0xc2, 0x87, 0x99, 0x33, 0x2e, 0xfd, 0xb3, 0x46, 0x66, 0xbc, 0x30,
  247. 0x89, 0x23, 0xf7, 0xd0, 0xe1, 0xae, 0xb5, 0xdf, 0xd6, 0x47, 0x51, 0xf0, 0xd3, 0xff, 0x4b, 0x70,
  248. 0x47, 0xb2, 0xe9, 0x9e, 0xd7, 0x6a, 0xbb, 0x2b, 0xd9, 0xd5, 0x54, 0xa8, 0x02, 0x16, 0x92, 0x17,
  249. 0x06, 0x50, 0x10, 0x6c, 0x96, 0x3c, 0x50, 0x87, 0x2c, 0xf2, 0xd0, 0x89, 0xdb, 0x2d, 0xc8, 0xb1,
  250. 0xd5, 0xb2, 0x85, 0x38, 0x8a, 0x62, 0x57, 0x1f, 0x5b, 0xd5, 0xd6, 0x26, 0xab, 0x1b, 0x1d, 0xc9,
  251. 0x68, 0x8f, 0xde, 0xcd, 0xd8, 0xae, 0x64, 0x3a, 0x86, 0x1d, 0xa4, 0x0c, 0x73, 0x88, 0xbd, 0xf1,
  252. 0x79, 0x85, 0x2c, 0xa6, 0x0b, 0x5b, 0x5e, 0xd2, 0x1a, 0x19, 0xcd, 0x96, 0x72, 0xb2, 0xba, 0x79,
  253. 0x2e, 0xd9, 0x28, 0x7e, 0xe2, 0xa8, 0x07, 0x11, 0x56, 0x4a, 0x2b, 0xb0, 0x1a, 0x46, 0x2e, 0xaf,
  254. 0xdb, 0x87, 0x7e, 0x72, 0xc7, 0x48, 0xe2, 0x43, 0xae, 0x2e, 0xc9, 0xc9, 0x59, 0x65, 0xf4, 0xfe,
  255. 0xd6, 0x17, 0xf0, 0x6d, 0xa3, 0x9e, 0x4b, 0x7f, 0x40, 0x2e, 0xfa, 0xf6, 0x3e, 0xf7, 0x31, 0xe3,
  256. 0x93, 0xd5, 0x6f, 0x77, 0x24, 0x4b, 0x81, 0xae, 0x64, 0xab, 0xe8, 0x14, 0x47, 0x99, 0xdf, 0x98,
  257. 0x8b, 0xc4, 0x8e, 0x93, 0x3b, 0x46, 0xdd, 0xf6, 0x05, 0xba, 0x25, 0x3d, 0xfa, 0xe9, 0x59, 0x65,
  258. 0xc4, 0x4c, 0x27, 0xd3, 0x06, 0x99, 0xab, 0x7b, 0x3e, 0x17, 0x6d, 0x91, 0xf0, 0xc0, 0x82, 0xfd,
  259. 0x8d, 0x49, 0x9a, 0xdd, 0xa0, 0xeb, 0x75, 0xb1, 0xbe, 0x5d, 0x50, 0x7b, 0xed, 0x16, 0xaf, 0xbe,
  260. 0xd5, 0x91, 0x6c, 0xb6, 0x5e, 0xc2, 0xba, 0x92, 0x5d, 0xc6, 0xe8, 0x65, 0xd8, 0x30, 0xfb, 0xec,
  261. 0xe8, 0x0e, 0xb9, 0xd0, 0xb2, 0x93, 0xa6, 0x7e, 0x01, 0xe5, 0xbf, 0xdf, 0x91, 0x0c, 0xc7, 0x5d,
  262. 0xc9, 0x5e, 0xc6, 0xf9, 0x30, 0xc8, 0xc4, 0x17, 0x29, 0xf9, 0x14, 0x84, 0x4f, 0x16, 0xcc, 0x8b,
  263. 0xd3, 0x8a, 0xf6, 0xa9, 0x89, 0xd3, 0xe8, 0x2e, 0xb9, 0x80, 0x62, 0x2f, 0x66, 0x62, 0xd3, 0xd3,
  264. 0xbb, 0x9e, 0x2e, 0x07, 0x8a, 0x5d, 0x83, 0x10, 0x49, 0x2a, 0x71, 0x0e, 0x43, 0xc0, 0xa0, 0xd8,
  265. 0x46, 0x93, 0xc5, 0xc8, 0x44, 0x2b, 0xfa, 0x13, 0x32, 0x9e, 0xee, 0x73, 0xa1, 0x5f, 0x5a, 0x1d,
  266. 0x5b, 0x9b, 0xda, 0x78, 0xad, 0xec, 0x74, 0xc8, 0xe1, 0xad, 0x32, 0xd8, 0xf6, 0x1d, 0xc9, 0xf2,
  267. 0x99, 0x5d, 0xc9, 0xa6, 0x31, 0x54, 0x3a, 0x36, 0xcc, 0x9c, 0xa0, 0xbf, 0xd3, 0xc8, 0x42, 0xcc,
  268. 0x85, 0x63, 0x87, 0x96, 0x17, 0x26, 0x3c, 0x7e, 0x6c, 0xfb, 0x96, 0xd0, 0xc7, 0x57, 0xb5, 0xb5,
  269. 0x8b, 0xd5, 0x46, 0x47, 0xb2, 0xb9, 0x94, 0xbc, 0x9f, 0x71, 0xb5, 0xae, 0x64, 0x6f, 0xa2, 0xa7,
  270. 0x3e, 0xbc, 0x3f, 0x45, 0xef, 0xbe, 0x77, 0xf3, 0xa6, 0xf1, 0x42, 0xb2, 0x31, 0x2f, 0x4c, 0x3a,
  271. 0xa7, 0x95, 0xcb, 0xc3, 0xcc, 0x5f, 0x9c, 0x56, 0x2e, 0x80, 0x9d, 0xd9, 0x1f, 0x84, 0xfe, 0x43,
  272. 0x23, 0xb4, 0x2e, 0xac, 0x23, 0x3b, 0x71, 0x9a, 0x3c, 0xb6, 0x78, 0x68, 0xef, 0xfb, 0xdc, 0xd5,
  273. 0x27, 0x56, 0xb5, 0xb5, 0x89, 0xea, 0x6f, 0xb4, 0x73, 0xc9, 0xe6, 0xb7, 0x6b, 0x8f, 0x52, 0xf6,
  274. 0x5e, 0x4a, 0x76, 0x24, 0x9b, 0xaf, 0x8b, 0x32, 0xd6, 0x95, 0xec, 0xad, 0x74, 0x13, 0xf4, 0x11,
  275. 0xfd, 0x6a, 0xf3, 0x3d, 0xbe, 0x34, 0xd4, 0x10, 0x74, 0x82, 0xc5, 0xc9, 0x59, 0x65, 0x20, 0xac,
  276. 0x39, 0x10, 0x94, 0xfe, 0xbd, 0x2c, 0xde, 0xe5, 0xbe, 0xdd, 0xb6, 0x84, 0x3e, 0x89, 0x39, 0xfd,
  277. 0x35, 0x88, 0x9f, 0x2b, 0xbc, 0x6c, 0x01, 0x59, 0x83, 0x3c, 0x17, 0x6e, 0x52, 0xa8, 0x2b, 0xd9,
  278. 0xf5, 0xb2, 0xf4, 0x14, 0xef, 0x57, 0x7e, 0xab, 0x94, 0xe5, 0x61, 0xc6, 0x2f, 0x4e, 0x2b, 0xa3,
  279. 0xb7, 0x6e, 0x9e, 0x9c, 0x55, 0xfa, 0xa3, 0x9a, 0xfd, 0x31, 0xe9, 0x4f, 0xc9, 0xb4, 0xd7, 0x08,
  280. 0xa3, 0x98, 0x5b, 0x2d, 0x1e, 0x07, 0x42, 0x27, 0x98, 0xef, 0xbb, 0x1d, 0xc9, 0xa6, 0x52, 0x7c,
  281. 0x17, 0xe0, 0xae, 0x64, 0x57, 0xd2, 0x6a, 0xd1, 0xc3, 0x8a, 0xed, 0x3b, 0xdf, 0x0f, 0x9a, 0xea,
  282. 0x54, 0xfa, 0x73, 0x8d, 0xcc, 0xda, 0x87, 0x49, 0x64, 0x85, 0x51, 0x1c, 0xd8, 0xbe, 0xf7, 0x84,
  283. 0xeb, 0x53, 0x18, 0xe4, 0xa3, 0x8e, 0x64, 0x33, 0xc0, 0x7c, 0x98, 0x13, 0x45, 0x06, 0x4a, 0xe8,
  284. 0xd7, 0xad, 0x1c, 0x1d, 0xb4, 0xca, 0x97, 0xcd, 0x2c, 0xfb, 0xa5, 0x11, 0x99, 0x09, 0xbc, 0xd0,
  285. 0x72, 0x3d, 0x71, 0x60, 0xd5, 0x63, 0xce, 0xf5, 0xe9, 0x55, 0x6d, 0x6d, 0x6a, 0x63, 0x3a, 0x3f,
  286. 0x56, 0x35, 0xef, 0x09, 0xaf, 0xde, 0xcd, 0x4e, 0xd0, 0x54, 0xe0, 0x85, 0x5b, 0x9e, 0x38, 0xd8,
  287. 0x8e, 0x39, 0x28, 0x62, 0xa8, 0x48, 0xc1, 0xd4, 0xa5, 0x58, 0xbd, 0x66, 0xbc, 0x38, 0xad, 0x8c,
  288. 0xdd, 0x5a, 0xbd, 0x66, 0xaa, 0xd3, 0x68, 0x83, 0x90, 0xde, 0x3d, 0xaf, 0xcf, 0x60, 0x34, 0x96,
  289. 0x47, 0xfb, 0x61, 0xc1, 0x94, 0x8f, 0xf0, 0x1b, 0x99, 0x00, 0x65, 0x6a, 0x57, 0xb2, 0x79, 0x8c,
  290. 0xdf, 0x83, 0x0c, 0x53, 0xe1, 0xe9, 0x5d, 0x32, 0xee, 0x44, 0x2d, 0x8f, 0xc7, 0x42, 0x9f, 0xc5,
  291. 0xdd, 0xf6, 0x3a, 0xd4, 0x80, 0x0c, 0x2a, 0xae, 0xd9, 0x6c, 0x9c, 0xef, 0x1b, 0x33, 0x37, 0xa0,
  292. 0xff, 0xd4, 0xc8, 0x15, 0xe8, 0x30, 0x78, 0x6c, 0x05, 0xf6, 0xb1, 0xd5, 0xe2, 0xa1, 0xeb, 0x85,
  293. 0x0d, 0xeb, 0xc0, 0xdb, 0xd7, 0xe7, 0xd0, 0xdd, 0xef, 0x61, 0xf3, 0x2e, 0xee, 0xa2, 0xc9, 0x8e,
  294. 0x7d, 0xbc, 0x9b, 0x1a, 0x3c, 0xf0, 0xaa, 0x1d, 0xc9, 0x16, 0x5b, 0x83, 0x70, 0x57, 0xb2, 0x97,
  295. 0xd2, 0x22, 0x3a, 0xc8, 0x29, 0xdb, 0x76, 0xe8, 0xd4, 0xe1, 0xf0, 0xc9, 0x59, 0x65, 0x58, 0x7c,
  296. 0x73, 0x88, 0xed, 0x3e, 0xa4, 0xa3, 0x69, 0x8b, 0x26, 0xa4, 0x63, 0xbe, 0x97, 0x8e, 0x0c, 0x2a,
  297. 0xd2, 0x91, 0x8d, 0x7b, 0xe9, 0xc8, 0x00, 0xfa, 0x01, 0xb9, 0x88, 0xbd, 0x96, 0xbe, 0x80, 0xb5,
  298. 0x7c, 0x21, 0x5f, 0x31, 0x88, 0xff, 0x10, 0x88, 0xaa, 0x0e, 0x97, 0x1d, 0xda, 0x74, 0x25, 0x9b,
  299. 0x42, 0x6f, 0x38, 0x32, 0xcc, 0x14, 0xa5, 0x0f, 0xc8, 0x4c, 0x76, 0xa0, 0x5c, 0xee, 0xf3, 0x84,
  300. 0xeb, 0x14, 0x37, 0xfb, 0x1b, 0xd8, 0x59, 0x20, 0xb1, 0x85, 0x78, 0x57, 0x32, 0xaa, 0x1c, 0xa9,
  301. 0x14, 0x34, 0xcc, 0x92, 0x0d, 0x3d, 0x26, 0x3a, 0xd6, 0xe9, 0x56, 0x1c, 0x35, 0x62, 0x2e, 0x84,
  302. 0x5a, 0xb0, 0x17, 0xf1, 0xfb, 0xe0, 0xf2, 0x5d, 0x02, 0x9b, 0xdd, 0xcc, 0x44, 0x2d, 0xdb, 0xe9,
  303. 0x75, 0x36, 0x94, 0x2d, 0xbe, 0x7d, 0xf8, 0x64, 0x5a, 0x23, 0xb3, 0xd9, 0xbe, 0x68, 0xd9, 0x87,
  304. 0x82, 0x5b, 0x42, 0xbf, 0x8c, 0xf1, 0xde, 0x81, 0xef, 0x48, 0x99, 0x5d, 0x20, 0x6a, 0xc5, 0x77,
  305. 0xa8, 0x60, 0xe1, 0xbd, 0x64, 0x4a, 0x39, 0x99, 0x81, 0x5d, 0x06, 0x49, 0xf5, 0x3d, 0x27, 0x11,
  306. 0xfa, 0x12, 0xfa, 0xfc, 0x0e, 0xf8, 0x0c, 0xec, 0xe3, 0xcd, 0x1c, 0xef, 0x9d, 0x3a, 0x05, 0x1c,
  307. 0x5a, 0x01, 0xd3, 0x4a, 0x67, 0x96, 0x66, 0x53, 0x97, 0x5c, 0x76, 0x3d, 0x01, 0x95, 0xd9, 0x12,
  308. 0x2d, 0x3b, 0x16, 0xdc, 0xc2, 0x06, 0x40, 0xbf, 0x82, 0x2b, 0x81, 0x2d, 0x57, 0xc6, 0xd7, 0x90,
  309. 0xc6, 0xd6, 0xa2, 0x68, 0xb9, 0x06, 0x29, 0xc3, 0x1c, 0x62, 0xaf, 0x46, 0x49, 0x78, 0xd0, 0xb2,
  310. 0xbc, 0xd0, 0xe5, 0xc7, 0x5c, 0xe8, 0x57, 0x07, 0xa2, 0xec, 0xf1, 0xa0, 0x75, 0x3f, 0x65, 0xfb,
  311. 0xa3, 0x28, 0x54, 0x2f, 0x8a, 0x02, 0xd2, 0x0d, 0x72, 0x09, 0x17, 0xc0, 0xd5, 0x75, 0xf4, 0xbb,
  312. 0xdc, 0x91, 0x2c, 0x43, 0x8a, 0x1b, 0x3e, 0x1d, 0x1a, 0x66, 0x86, 0xd3, 0x84, 0x5c, 0x3d, 0xe2,
  313. 0xf6, 0x81, 0x05, 0xbb, 0xda, 0x4a, 0x9a, 0x31, 0x17, 0xcd, 0xc8, 0x77, 0xad, 0x96, 0x93, 0xe8,
  314. 0x2f, 0x61, 0xc2, 0xa1, 0xbc, 0x5f, 0x06, 0x93, 0xef, 0xda, 0xa2, 0xb9, 0x97, 0x1b, 0xec, 0x3a,
  315. 0x49, 0x57, 0xb2, 0x65, 0x74, 0x39, 0x8c, 0x2c, 0x16, 0x75, 0xe8, 0x54, 0xba, 0x49, 0xa6, 0x02,
  316. 0x3b, 0x3e, 0xe0, 0xb1, 0x15, 0xda, 0x01, 0xd7, 0x97, 0xb1, 0xb9, 0x32, 0xa0, 0x9c, 0xa5, 0xf0,
  317. 0x87, 0x76, 0xc0, 0x8b, 0x72, 0xd6, 0x83, 0x0c, 0x53, 0xe1, 0x69, 0x9b, 0x2c, 0xc3, 0x23, 0xc6,
  318. 0x8a, 0x8e, 0x42, 0x1e, 0x8b, 0xa6, 0xd7, 0xb2, 0xea, 0x71, 0x14, 0x58, 0x2d, 0x3b, 0xe6, 0x61,
  319. 0xa2, 0xbf, 0x8c, 0x29, 0xf8, 0x66, 0x47, 0xb2, 0xab, 0x60, 0xf5, 0x30, 0x37, 0xda, 0x8e, 0xa3,
  320. 0x60, 0x17, 0x4d, 0xba, 0x92, 0xbd, 0x9a, 0x57, 0xbc, 0x61, 0xbc, 0x61, 0x7e, 0xdd, 0x4c, 0xfa,
  321. 0x4b, 0x8d, 0x2c, 0x04, 0x91, 0x6b, 0x25, 0x5e, 0xc0, 0xad, 0x23, 0x2f, 0x74, 0xa3, 0x23, 0x4b,
  322. 0xe8, 0xaf, 0x60, 0xc2, 0x3e, 0x3e, 0x97, 0x6c, 0xc1, 0xb4, 0x8f, 0x76, 0x22, 0x77, 0xcf, 0x0b,
  323. 0xf8, 0x23, 0x64, 0xe1, 0x0e, 0x9f, 0x0d, 0x4a, 0x48, 0xd1, 0x82, 0x96, 0xe1, 0x3c, 0x73, 0x27,
  324. 0x67, 0x95, 0x41, 0x2f, 0x66, 0x9f, 0x0f, 0xfa, 0x54, 0x23, 0x4b, 0xd9, 0x31, 0x71, 0x0e, 0x63,
  325. 0xd0, 0x66, 0x1d, 0xc5, 0x5e, 0xc2, 0x85, 0xfe, 0x2a, 0x8a, 0xf9, 0x3e, 0x94, 0xde, 0x74, 0xc3,
  326. 0x67, 0xfc, 0x23, 0xa4, 0xbb, 0x92, 0x5d, 0x53, 0x4e, 0x4d, 0x89, 0x53, 0x0e, 0xcf, 0x86, 0x72,
  327. 0x76, 0xb4, 0x0d, 0x73, 0x98, 0x27, 0x28, 0x62, 0xf9, 0xde, 0xae, 0xc3, 0x8b, 0x49, 0x5f, 0xe9,
  328. 0x15, 0xb1, 0x8c, 0xd8, 0x06, 0xbc, 0x38, 0xfc, 0x2a, 0x68, 0x98, 0x25, 0x1b, 0xea, 0x93, 0x79,
  329. 0x7c, 0xc9, 0x5a, 0x50, 0x0b, 0xac, 0xb4, 0xbe, 0x32, 0xac, 0xaf, 0x57, 0xf2, 0xfa, 0x5a, 0x05,
  330. 0xbe, 0x57, 0x64, 0xb1, 0xb9, 0xdf, 0x2f, 0x61, 0x45, 0x66, 0xcb, 0xb0, 0x61, 0xf6, 0xd9, 0xd1,
  331. 0xcf, 0x34, 0xb2, 0x80, 0x5b, 0x08, 0x1f, 0xc2, 0x56, 0xfa, 0x12, 0xd6, 0x57, 0x31, 0xde, 0x22,
  332. 0x3c, 0x24, 0x36, 0xa3, 0x56, 0xdb, 0x04, 0x6e, 0x07, 0xa9, 0xea, 0x03, 0x68, 0xc5, 0x9c, 0x32,
  333. 0xd8, 0x95, 0x6c, 0xad, 0xd8, 0x46, 0x0a, 0xae, 0xa4, 0x51, 0x24, 0x76, 0xe8, 0xda, 0xb1, 0x0b,
  334. 0xf7, 0xff, 0x44, 0x3e, 0x30, 0xfb, 0x1d, 0xd1, 0x3f, 0x81, 0x1c, 0x1b, 0x0a, 0x28, 0x0f, 0x85,
  335. 0x97, 0x78, 0x8f, 0x21, 0xa3, 0xfa, 0x6b, 0x98, 0xce, 0x63, 0xe8, 0x0b, 0x37, 0x6d, 0xc1, 0x6b,
  336. 0x39, 0xb7, 0x8d, 0x7d, 0xa1, 0x53, 0x86, 0xba, 0x92, 0x2d, 0xa5, 0x62, 0xca, 0x38, 0xf4, 0x40,
  337. 0x03, 0xb6, 0x83, 0x10, 0xb4, 0x81, 0x7d, 0x41, 0xcc, 0x3e, 0x1b, 0x41, 0xff, 0xa8, 0x91, 0xf9,
  338. 0x7a, 0xe4, 0xfb, 0xd1, 0x91, 0xf5, 0xc9, 0x61, 0xe8, 0x40, 0x3b, 0x22, 0x74, 0xa3, 0xa7, 0xf2,
  339. 0x7b, 0x39, 0xf8, 0x81, 0xd8, 0xf2, 0x62, 0x01, 0x2a, 0x3f, 0x29, 0x43, 0x85, 0xca, 0x3e, 0x1c,
  340. 0x55, 0xf6, 0xdb, 0x0e, 0x42, 0xa0, 0xb2, 0x2f, 0x88, 0x39, 0x97, 0x2a, 0x2a, 0x60, 0xfa, 0x90,
  341. 0xcc, 0xc2, 0x8e, 0xea, 0x55, 0x07, 0xfd, 0x75, 0x94, 0x08, 0xef, 0xab, 0x19, 0x60, 0x8a, 0x73,
  342. 0xdd, 0x95, 0x6c, 0x31, 0xbd, 0xfc, 0x54, 0xd4, 0x30, 0xcb, 0x56, 0xe8, 0x90, 0x87, 0xae, 0xe2,
  343. 0xb0, 0xa2, 0x38, 0xe4, 0xa1, 0x3b, 0xc4, 0xa1, 0x8a, 0x82, 0x43, 0x75, 0x0c, 0x45, 0x10, 0x15,
  344. 0x1e, 0x43, 0x37, 0x2a, 0xf4, 0x6b, 0xe8, 0x0d, 0x8b, 0x20, 0xc0, 0x3f, 0x42, 0xb4, 0x28, 0x82,
  345. 0x3d, 0xc8, 0x30, 0x15, 0x1e, 0x9d, 0x80, 0xaa, 0xcc, 0xc9, 0x1b, 0x8a, 0x13, 0x1e, 0xba, 0xfd,
  346. 0x4e, 0x0a, 0x08, 0x9c, 0x14, 0x03, 0x68, 0xec, 0x71, 0x3e, 0xdc, 0x7d, 0x09, 0x8f, 0xf5, 0xeb,
  347. 0xd8, 0x83, 0x2e, 0xe6, 0x27, 0x0e, 0xad, 0xb6, 0x91, 0xaa, 0xae, 0xe5, 0x8d, 0xef, 0x71, 0x0f,
  348. 0xec, 0x4a, 0xb6, 0x80, 0xfe, 0x15, 0xcc, 0x30, 0x55, 0x0b, 0x7a, 0x40, 0x26, 0x63, 0x6e, 0xbb,
  349. 0x56, 0x14, 0xfa, 0x6d, 0xfd, 0x2f, 0xdb, 0xa8, 0x72, 0xe7, 0x5c, 0x32, 0xba, 0xc5, 0x5b, 0x31,
  350. 0x77, 0xec, 0x84, 0xbb, 0x26, 0xb7, 0xdd, 0x87, 0xa1, 0xdf, 0xee, 0x48, 0xa6, 0xbd, 0x53, 0xfc,
  351. 0x97, 0x12, 0x47, 0xd8, 0xac, 0xbf, 0x1d, 0x05, 0x1e, 0xdc, 0x9c, 0x49, 0x1b, 0xff, 0x4b, 0x19,
  352. 0x40, 0x75, 0xcd, 0x9c, 0x88, 0x33, 0x07, 0xf4, 0x67, 0x64, 0xa1, 0xd4, 0xc1, 0xe3, 0x6d, 0xf6,
  353. 0x57, 0x08, 0xaa, 0x55, 0xef, 0x9d, 0x4b, 0xa6, 0xf7, 0x82, 0xee, 0xf4, 0xfa, 0xf0, 0x5d, 0x27,
  354. 0xc9, 0x43, 0xaf, 0xf4, 0xb7, 0xf1, 0xbb, 0x4e, 0xa2, 0x28, 0xd0, 0x35, 0x73, 0xb6, 0x4c, 0xd2,
  355. 0x1f, 0x93, 0xf1, 0xb4, 0x7b, 0x11, 0xfa, 0x97, 0xdb, 0x58, 0x79, 0xbf, 0x05, 0xd7, 0x40, 0x2f,
  356. 0x50, 0xda, 0x95, 0x8a, 0xf2, 0xc7, 0x65, 0x53, 0x14, 0xd7, 0x59, 0xb9, 0xd5, 0x35, 0x33, 0xf7,
  357. 0x47, 0x0f, 0xc8, 0x2c, 0xf6, 0x75, 0xbd, 0x7d, 0xf7, 0xb7, 0x34, 0x7f, 0x9b, 0xe7, 0x92, 0x5d,
  358. 0xed, 0x45, 0xa8, 0x39, 0x76, 0x58, 0x6c, 0xae, 0x3c, 0xce, 0xab, 0x45, 0x57, 0x57, 0x50, 0xe5,
  359. 0x0f, 0x99, 0x29, 0x71, 0xc6, 0x2f, 0xc6, 0xc8, 0x94, 0xb2, 0xdc, 0xf4, 0x63, 0x32, 0xce, 0xc3,
  360. 0x24, 0xf6, 0xb8, 0xd0, 0x35, 0xfc, 0x77, 0x41, 0x1f, 0xb2, 0x29, 0xee, 0x85, 0x49, 0xdc, 0xae,
  361. 0x5e, 0xcf, 0xff, 0x54, 0xc8, 0x26, 0x14, 0x3d, 0x2f, 0x8c, 0x71, 0xd9, 0x2e, 0xe2, 0x2f, 0x33,
  362. 0x37, 0xa0, 0x9f, 0x67, 0x97, 0x97, 0xf0, 0xc2, 0x86, 0xcf, 0x2d, 0x64, 0x2d, 0x01, 0x8f, 0xbe,
  363. 0x51, 0x4c, 0x61, 0x1d, 0xfa, 0xa2, 0xc0, 0x3e, 0xae, 0x21, 0x8f, 0x51, 0x6a, 0xea, 0xcb, 0x6f,
  364. 0x90, 0x2a, 0xf5, 0x7d, 0x1b, 0xb7, 0x95, 0x47, 0xc4, 0x10, 0x3f, 0xf0, 0x00, 0x04, 0x2b, 0x73,
  365. 0x08, 0x47, 0x9f, 0x90, 0x59, 0x90, 0x96, 0x44, 0x09, 0x34, 0xd0, 0xa0, 0x69, 0x0c, 0x35, 0xed,
  366. 0x65, 0xfd, 0xe7, 0x1e, 0x10, 0x99, 0x9a, 0xd7, 0x72, 0x35, 0x05, 0xa8, 0xe8, 0xb8, 0x7d, 0xf3,
  367. 0xfd, 0xf7, 0x14, 0x1d, 0xa5, 0xb9, 0xa0, 0x00, 0x78, 0xb3, 0x84, 0x1a, 0x7f, 0xd0, 0xc8, 0x7c,
  368. 0x7f, 0x7a, 0xe1, 0xb9, 0x11, 0xc0, 0x6b, 0x3c, 0xfb, 0x83, 0xee, 0x1b, 0xf0, 0xb6, 0x40, 0x40,
  369. 0xe9, 0x93, 0x12, 0xa7, 0x59, 0xbc, 0xb4, 0x49, 0x6f, 0x68, 0xa6, 0x86, 0x74, 0x9b, 0x5c, 0x82,
  370. 0x87, 0xbb, 0x97, 0x60, 0x7e, 0x27, 0xaa, 0xeb, 0xd8, 0x1f, 0x22, 0x52, 0x1c, 0xe1, 0x74, 0x58,
  371. 0x78, 0x99, 0x52, 0xc6, 0x66, 0x66, 0x5b, 0x7d, 0xf0, 0xec, 0xab, 0x95, 0x91, 0xb3, 0xaf, 0x56,
  372. 0x46, 0x9e, 0x9d, 0xaf, 0x68, 0x67, 0xe7, 0x2b, 0xda, 0x6f, 0x9f, 0xaf, 0x8c, 0x7c, 0xf1, 0x7c,
  373. 0x45, 0x3b, 0x7b, 0xbe, 0x32, 0xf2, 0xef, 0xe7, 0x2b, 0x23, 0x1f, 0xbd, 0xf9, 0x3f, 0xfc, 0x9f,
  374. 0x9a, 0xee, 0xa3, 0xfd, 0x4b, 0xf8, 0xbf, 0xea, 0xbb, 0xff, 0x0d, 0x00, 0x00, 0xff, 0xff, 0x9a,
  375. 0x47, 0x7c, 0xbb, 0x75, 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 = encodeVarintFolderconfiguration(dAtA, i, uint64(m.FSWatcherDelayS))
  776. i--
  777. dAtA[i] = 0x48
  778. }
  779. if m.FSWatcherEnabled {
  780. i--
  781. if m.FSWatcherEnabled {
  782. dAtA[i] = 1
  783. } else {
  784. dAtA[i] = 0
  785. }
  786. i--
  787. dAtA[i] = 0x40
  788. }
  789. if m.RescanIntervalS != 0 {
  790. i = encodeVarintFolderconfiguration(dAtA, i, uint64(m.RescanIntervalS))
  791. i--
  792. dAtA[i] = 0x38
  793. }
  794. if len(m.Devices) > 0 {
  795. for iNdEx := len(m.Devices) - 1; iNdEx >= 0; iNdEx-- {
  796. {
  797. size, err := m.Devices[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  798. if err != nil {
  799. return 0, err
  800. }
  801. i -= size
  802. i = encodeVarintFolderconfiguration(dAtA, i, uint64(size))
  803. }
  804. i--
  805. dAtA[i] = 0x32
  806. }
  807. }
  808. if m.Type != 0 {
  809. i = encodeVarintFolderconfiguration(dAtA, i, uint64(m.Type))
  810. i--
  811. dAtA[i] = 0x28
  812. }
  813. if len(m.Path) > 0 {
  814. i -= len(m.Path)
  815. copy(dAtA[i:], m.Path)
  816. i = encodeVarintFolderconfiguration(dAtA, i, uint64(len(m.Path)))
  817. i--
  818. dAtA[i] = 0x22
  819. }
  820. if m.FilesystemType != 0 {
  821. i = encodeVarintFolderconfiguration(dAtA, i, uint64(m.FilesystemType))
  822. i--
  823. dAtA[i] = 0x18
  824. }
  825. if len(m.Label) > 0 {
  826. i -= len(m.Label)
  827. copy(dAtA[i:], m.Label)
  828. i = encodeVarintFolderconfiguration(dAtA, i, uint64(len(m.Label)))
  829. i--
  830. dAtA[i] = 0x12
  831. }
  832. if len(m.ID) > 0 {
  833. i -= len(m.ID)
  834. copy(dAtA[i:], m.ID)
  835. i = encodeVarintFolderconfiguration(dAtA, i, uint64(len(m.ID)))
  836. i--
  837. dAtA[i] = 0xa
  838. }
  839. return len(dAtA) - i, nil
  840. }
  841. func (m *XattrFilter) Marshal() (dAtA []byte, err error) {
  842. size := m.ProtoSize()
  843. dAtA = make([]byte, size)
  844. n, err := m.MarshalToSizedBuffer(dAtA[:size])
  845. if err != nil {
  846. return nil, err
  847. }
  848. return dAtA[:n], nil
  849. }
  850. func (m *XattrFilter) MarshalTo(dAtA []byte) (int, error) {
  851. size := m.ProtoSize()
  852. return m.MarshalToSizedBuffer(dAtA[:size])
  853. }
  854. func (m *XattrFilter) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  855. i := len(dAtA)
  856. _ = i
  857. var l int
  858. _ = l
  859. if m.MaxTotalSize != 0 {
  860. i = encodeVarintFolderconfiguration(dAtA, i, uint64(m.MaxTotalSize))
  861. i--
  862. dAtA[i] = 0x18
  863. }
  864. if m.MaxSingleEntrySize != 0 {
  865. i = encodeVarintFolderconfiguration(dAtA, i, uint64(m.MaxSingleEntrySize))
  866. i--
  867. dAtA[i] = 0x10
  868. }
  869. if len(m.Entries) > 0 {
  870. for iNdEx := len(m.Entries) - 1; iNdEx >= 0; iNdEx-- {
  871. {
  872. size, err := m.Entries[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  873. if err != nil {
  874. return 0, err
  875. }
  876. i -= size
  877. i = encodeVarintFolderconfiguration(dAtA, i, uint64(size))
  878. }
  879. i--
  880. dAtA[i] = 0xa
  881. }
  882. }
  883. return len(dAtA) - i, nil
  884. }
  885. func (m *XattrFilterEntry) Marshal() (dAtA []byte, err error) {
  886. size := m.ProtoSize()
  887. dAtA = make([]byte, size)
  888. n, err := m.MarshalToSizedBuffer(dAtA[:size])
  889. if err != nil {
  890. return nil, err
  891. }
  892. return dAtA[:n], nil
  893. }
  894. func (m *XattrFilterEntry) MarshalTo(dAtA []byte) (int, error) {
  895. size := m.ProtoSize()
  896. return m.MarshalToSizedBuffer(dAtA[:size])
  897. }
  898. func (m *XattrFilterEntry) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  899. i := len(dAtA)
  900. _ = i
  901. var l int
  902. _ = l
  903. if m.Permit {
  904. i--
  905. if m.Permit {
  906. dAtA[i] = 1
  907. } else {
  908. dAtA[i] = 0
  909. }
  910. i--
  911. dAtA[i] = 0x10
  912. }
  913. if len(m.Match) > 0 {
  914. i -= len(m.Match)
  915. copy(dAtA[i:], m.Match)
  916. i = encodeVarintFolderconfiguration(dAtA, i, uint64(len(m.Match)))
  917. i--
  918. dAtA[i] = 0xa
  919. }
  920. return len(dAtA) - i, nil
  921. }
  922. func encodeVarintFolderconfiguration(dAtA []byte, offset int, v uint64) int {
  923. offset -= sovFolderconfiguration(v)
  924. base := offset
  925. for v >= 1<<7 {
  926. dAtA[offset] = uint8(v&0x7f | 0x80)
  927. v >>= 7
  928. offset++
  929. }
  930. dAtA[offset] = uint8(v)
  931. return base
  932. }
  933. func (m *FolderDeviceConfiguration) ProtoSize() (n int) {
  934. if m == nil {
  935. return 0
  936. }
  937. var l int
  938. _ = l
  939. l = m.DeviceID.ProtoSize()
  940. n += 1 + l + sovFolderconfiguration(uint64(l))
  941. l = m.IntroducedBy.ProtoSize()
  942. n += 1 + l + sovFolderconfiguration(uint64(l))
  943. l = len(m.EncryptionPassword)
  944. if l > 0 {
  945. n += 1 + l + sovFolderconfiguration(uint64(l))
  946. }
  947. return n
  948. }
  949. func (m *FolderConfiguration) ProtoSize() (n int) {
  950. if m == nil {
  951. return 0
  952. }
  953. var l int
  954. _ = l
  955. l = len(m.ID)
  956. if l > 0 {
  957. n += 1 + l + sovFolderconfiguration(uint64(l))
  958. }
  959. l = len(m.Label)
  960. if l > 0 {
  961. n += 1 + l + sovFolderconfiguration(uint64(l))
  962. }
  963. if m.FilesystemType != 0 {
  964. n += 1 + sovFolderconfiguration(uint64(m.FilesystemType))
  965. }
  966. l = len(m.Path)
  967. if l > 0 {
  968. n += 1 + l + sovFolderconfiguration(uint64(l))
  969. }
  970. if m.Type != 0 {
  971. n += 1 + sovFolderconfiguration(uint64(m.Type))
  972. }
  973. if len(m.Devices) > 0 {
  974. for _, e := range m.Devices {
  975. l = e.ProtoSize()
  976. n += 1 + l + sovFolderconfiguration(uint64(l))
  977. }
  978. }
  979. if m.RescanIntervalS != 0 {
  980. n += 1 + sovFolderconfiguration(uint64(m.RescanIntervalS))
  981. }
  982. if m.FSWatcherEnabled {
  983. n += 2
  984. }
  985. if m.FSWatcherDelayS != 0 {
  986. n += 1 + sovFolderconfiguration(uint64(m.FSWatcherDelayS))
  987. }
  988. if m.IgnorePerms {
  989. n += 2
  990. }
  991. if m.AutoNormalize {
  992. n += 2
  993. }
  994. l = m.MinDiskFree.ProtoSize()
  995. n += 1 + l + sovFolderconfiguration(uint64(l))
  996. l = m.Versioning.ProtoSize()
  997. n += 1 + l + sovFolderconfiguration(uint64(l))
  998. if m.Copiers != 0 {
  999. n += 1 + sovFolderconfiguration(uint64(m.Copiers))
  1000. }
  1001. if m.PullerMaxPendingKiB != 0 {
  1002. n += 1 + sovFolderconfiguration(uint64(m.PullerMaxPendingKiB))
  1003. }
  1004. if m.Hashers != 0 {
  1005. n += 2 + sovFolderconfiguration(uint64(m.Hashers))
  1006. }
  1007. if m.Order != 0 {
  1008. n += 2 + sovFolderconfiguration(uint64(m.Order))
  1009. }
  1010. if m.IgnoreDelete {
  1011. n += 3
  1012. }
  1013. if m.ScanProgressIntervalS != 0 {
  1014. n += 2 + sovFolderconfiguration(uint64(m.ScanProgressIntervalS))
  1015. }
  1016. if m.PullerPauseS != 0 {
  1017. n += 2 + sovFolderconfiguration(uint64(m.PullerPauseS))
  1018. }
  1019. if m.MaxConflicts != 0 {
  1020. n += 2 + sovFolderconfiguration(uint64(m.MaxConflicts))
  1021. }
  1022. if m.DisableSparseFiles {
  1023. n += 3
  1024. }
  1025. if m.DisableTempIndexes {
  1026. n += 3
  1027. }
  1028. if m.Paused {
  1029. n += 3
  1030. }
  1031. if m.WeakHashThresholdPct != 0 {
  1032. n += 2 + sovFolderconfiguration(uint64(m.WeakHashThresholdPct))
  1033. }
  1034. l = len(m.MarkerName)
  1035. if l > 0 {
  1036. n += 2 + l + sovFolderconfiguration(uint64(l))
  1037. }
  1038. if m.CopyOwnershipFromParent {
  1039. n += 3
  1040. }
  1041. if m.RawModTimeWindowS != 0 {
  1042. n += 2 + sovFolderconfiguration(uint64(m.RawModTimeWindowS))
  1043. }
  1044. if m.MaxConcurrentWrites != 0 {
  1045. n += 2 + sovFolderconfiguration(uint64(m.MaxConcurrentWrites))
  1046. }
  1047. if m.DisableFsync {
  1048. n += 3
  1049. }
  1050. if m.BlockPullOrder != 0 {
  1051. n += 2 + sovFolderconfiguration(uint64(m.BlockPullOrder))
  1052. }
  1053. if m.CopyRangeMethod != 0 {
  1054. n += 2 + sovFolderconfiguration(uint64(m.CopyRangeMethod))
  1055. }
  1056. if m.CaseSensitiveFS {
  1057. n += 3
  1058. }
  1059. if m.JunctionsAsDirs {
  1060. n += 3
  1061. }
  1062. if m.SyncOwnership {
  1063. n += 3
  1064. }
  1065. if m.SendOwnership {
  1066. n += 3
  1067. }
  1068. if m.SyncXattrs {
  1069. n += 3
  1070. }
  1071. if m.SendXattrs {
  1072. n += 3
  1073. }
  1074. l = m.XattrFilter.ProtoSize()
  1075. n += 2 + l + sovFolderconfiguration(uint64(l))
  1076. if m.DeprecatedReadOnly {
  1077. n += 4
  1078. }
  1079. if m.DeprecatedMinDiskFreePct != 0 {
  1080. n += 11
  1081. }
  1082. if m.DeprecatedPullers != 0 {
  1083. n += 3 + sovFolderconfiguration(uint64(m.DeprecatedPullers))
  1084. }
  1085. if m.DeprecatedScanOwnership {
  1086. n += 4
  1087. }
  1088. return n
  1089. }
  1090. func (m *XattrFilter) ProtoSize() (n int) {
  1091. if m == nil {
  1092. return 0
  1093. }
  1094. var l int
  1095. _ = l
  1096. if len(m.Entries) > 0 {
  1097. for _, e := range m.Entries {
  1098. l = e.ProtoSize()
  1099. n += 1 + l + sovFolderconfiguration(uint64(l))
  1100. }
  1101. }
  1102. if m.MaxSingleEntrySize != 0 {
  1103. n += 1 + sovFolderconfiguration(uint64(m.MaxSingleEntrySize))
  1104. }
  1105. if m.MaxTotalSize != 0 {
  1106. n += 1 + sovFolderconfiguration(uint64(m.MaxTotalSize))
  1107. }
  1108. return n
  1109. }
  1110. func (m *XattrFilterEntry) ProtoSize() (n int) {
  1111. if m == nil {
  1112. return 0
  1113. }
  1114. var l int
  1115. _ = l
  1116. l = len(m.Match)
  1117. if l > 0 {
  1118. n += 1 + l + sovFolderconfiguration(uint64(l))
  1119. }
  1120. if m.Permit {
  1121. n += 2
  1122. }
  1123. return n
  1124. }
  1125. func sovFolderconfiguration(x uint64) (n int) {
  1126. return (math_bits.Len64(x|1) + 6) / 7
  1127. }
  1128. func sozFolderconfiguration(x uint64) (n int) {
  1129. return sovFolderconfiguration(uint64((x << 1) ^ uint64((int64(x) >> 63))))
  1130. }
  1131. func (m *FolderDeviceConfiguration) Unmarshal(dAtA []byte) error {
  1132. l := len(dAtA)
  1133. iNdEx := 0
  1134. for iNdEx < l {
  1135. preIndex := iNdEx
  1136. var wire uint64
  1137. for shift := uint(0); ; shift += 7 {
  1138. if shift >= 64 {
  1139. return ErrIntOverflowFolderconfiguration
  1140. }
  1141. if iNdEx >= l {
  1142. return io.ErrUnexpectedEOF
  1143. }
  1144. b := dAtA[iNdEx]
  1145. iNdEx++
  1146. wire |= uint64(b&0x7F) << shift
  1147. if b < 0x80 {
  1148. break
  1149. }
  1150. }
  1151. fieldNum := int32(wire >> 3)
  1152. wireType := int(wire & 0x7)
  1153. if wireType == 4 {
  1154. return fmt.Errorf("proto: FolderDeviceConfiguration: wiretype end group for non-group")
  1155. }
  1156. if fieldNum <= 0 {
  1157. return fmt.Errorf("proto: FolderDeviceConfiguration: illegal tag %d (wire type %d)", fieldNum, wire)
  1158. }
  1159. switch fieldNum {
  1160. case 1:
  1161. if wireType != 2 {
  1162. return fmt.Errorf("proto: wrong wireType = %d for field DeviceID", wireType)
  1163. }
  1164. var byteLen int
  1165. for shift := uint(0); ; shift += 7 {
  1166. if shift >= 64 {
  1167. return ErrIntOverflowFolderconfiguration
  1168. }
  1169. if iNdEx >= l {
  1170. return io.ErrUnexpectedEOF
  1171. }
  1172. b := dAtA[iNdEx]
  1173. iNdEx++
  1174. byteLen |= int(b&0x7F) << shift
  1175. if b < 0x80 {
  1176. break
  1177. }
  1178. }
  1179. if byteLen < 0 {
  1180. return ErrInvalidLengthFolderconfiguration
  1181. }
  1182. postIndex := iNdEx + byteLen
  1183. if postIndex < 0 {
  1184. return ErrInvalidLengthFolderconfiguration
  1185. }
  1186. if postIndex > l {
  1187. return io.ErrUnexpectedEOF
  1188. }
  1189. if err := m.DeviceID.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  1190. return err
  1191. }
  1192. iNdEx = postIndex
  1193. case 2:
  1194. if wireType != 2 {
  1195. return fmt.Errorf("proto: wrong wireType = %d for field IntroducedBy", wireType)
  1196. }
  1197. var byteLen int
  1198. for shift := uint(0); ; shift += 7 {
  1199. if shift >= 64 {
  1200. return ErrIntOverflowFolderconfiguration
  1201. }
  1202. if iNdEx >= l {
  1203. return io.ErrUnexpectedEOF
  1204. }
  1205. b := dAtA[iNdEx]
  1206. iNdEx++
  1207. byteLen |= int(b&0x7F) << shift
  1208. if b < 0x80 {
  1209. break
  1210. }
  1211. }
  1212. if byteLen < 0 {
  1213. return ErrInvalidLengthFolderconfiguration
  1214. }
  1215. postIndex := iNdEx + byteLen
  1216. if postIndex < 0 {
  1217. return ErrInvalidLengthFolderconfiguration
  1218. }
  1219. if postIndex > l {
  1220. return io.ErrUnexpectedEOF
  1221. }
  1222. if err := m.IntroducedBy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  1223. return err
  1224. }
  1225. iNdEx = postIndex
  1226. case 3:
  1227. if wireType != 2 {
  1228. return fmt.Errorf("proto: wrong wireType = %d for field EncryptionPassword", wireType)
  1229. }
  1230. var stringLen uint64
  1231. for shift := uint(0); ; shift += 7 {
  1232. if shift >= 64 {
  1233. return ErrIntOverflowFolderconfiguration
  1234. }
  1235. if iNdEx >= l {
  1236. return io.ErrUnexpectedEOF
  1237. }
  1238. b := dAtA[iNdEx]
  1239. iNdEx++
  1240. stringLen |= uint64(b&0x7F) << shift
  1241. if b < 0x80 {
  1242. break
  1243. }
  1244. }
  1245. intStringLen := int(stringLen)
  1246. if intStringLen < 0 {
  1247. return ErrInvalidLengthFolderconfiguration
  1248. }
  1249. postIndex := iNdEx + intStringLen
  1250. if postIndex < 0 {
  1251. return ErrInvalidLengthFolderconfiguration
  1252. }
  1253. if postIndex > l {
  1254. return io.ErrUnexpectedEOF
  1255. }
  1256. m.EncryptionPassword = string(dAtA[iNdEx:postIndex])
  1257. iNdEx = postIndex
  1258. default:
  1259. iNdEx = preIndex
  1260. skippy, err := skipFolderconfiguration(dAtA[iNdEx:])
  1261. if err != nil {
  1262. return err
  1263. }
  1264. if (skippy < 0) || (iNdEx+skippy) < 0 {
  1265. return ErrInvalidLengthFolderconfiguration
  1266. }
  1267. if (iNdEx + skippy) > l {
  1268. return io.ErrUnexpectedEOF
  1269. }
  1270. iNdEx += skippy
  1271. }
  1272. }
  1273. if iNdEx > l {
  1274. return io.ErrUnexpectedEOF
  1275. }
  1276. return nil
  1277. }
  1278. func (m *FolderConfiguration) Unmarshal(dAtA []byte) error {
  1279. l := len(dAtA)
  1280. iNdEx := 0
  1281. for iNdEx < l {
  1282. preIndex := iNdEx
  1283. var wire uint64
  1284. for shift := uint(0); ; shift += 7 {
  1285. if shift >= 64 {
  1286. return ErrIntOverflowFolderconfiguration
  1287. }
  1288. if iNdEx >= l {
  1289. return io.ErrUnexpectedEOF
  1290. }
  1291. b := dAtA[iNdEx]
  1292. iNdEx++
  1293. wire |= uint64(b&0x7F) << shift
  1294. if b < 0x80 {
  1295. break
  1296. }
  1297. }
  1298. fieldNum := int32(wire >> 3)
  1299. wireType := int(wire & 0x7)
  1300. if wireType == 4 {
  1301. return fmt.Errorf("proto: FolderConfiguration: wiretype end group for non-group")
  1302. }
  1303. if fieldNum <= 0 {
  1304. return fmt.Errorf("proto: FolderConfiguration: illegal tag %d (wire type %d)", fieldNum, wire)
  1305. }
  1306. switch fieldNum {
  1307. case 1:
  1308. if wireType != 2 {
  1309. return fmt.Errorf("proto: wrong wireType = %d for field ID", wireType)
  1310. }
  1311. var stringLen uint64
  1312. for shift := uint(0); ; shift += 7 {
  1313. if shift >= 64 {
  1314. return ErrIntOverflowFolderconfiguration
  1315. }
  1316. if iNdEx >= l {
  1317. return io.ErrUnexpectedEOF
  1318. }
  1319. b := dAtA[iNdEx]
  1320. iNdEx++
  1321. stringLen |= uint64(b&0x7F) << shift
  1322. if b < 0x80 {
  1323. break
  1324. }
  1325. }
  1326. intStringLen := int(stringLen)
  1327. if intStringLen < 0 {
  1328. return ErrInvalidLengthFolderconfiguration
  1329. }
  1330. postIndex := iNdEx + intStringLen
  1331. if postIndex < 0 {
  1332. return ErrInvalidLengthFolderconfiguration
  1333. }
  1334. if postIndex > l {
  1335. return io.ErrUnexpectedEOF
  1336. }
  1337. m.ID = string(dAtA[iNdEx:postIndex])
  1338. iNdEx = postIndex
  1339. case 2:
  1340. if wireType != 2 {
  1341. return fmt.Errorf("proto: wrong wireType = %d for field Label", wireType)
  1342. }
  1343. var stringLen uint64
  1344. for shift := uint(0); ; shift += 7 {
  1345. if shift >= 64 {
  1346. return ErrIntOverflowFolderconfiguration
  1347. }
  1348. if iNdEx >= l {
  1349. return io.ErrUnexpectedEOF
  1350. }
  1351. b := dAtA[iNdEx]
  1352. iNdEx++
  1353. stringLen |= uint64(b&0x7F) << shift
  1354. if b < 0x80 {
  1355. break
  1356. }
  1357. }
  1358. intStringLen := int(stringLen)
  1359. if intStringLen < 0 {
  1360. return ErrInvalidLengthFolderconfiguration
  1361. }
  1362. postIndex := iNdEx + intStringLen
  1363. if postIndex < 0 {
  1364. return ErrInvalidLengthFolderconfiguration
  1365. }
  1366. if postIndex > l {
  1367. return io.ErrUnexpectedEOF
  1368. }
  1369. m.Label = string(dAtA[iNdEx:postIndex])
  1370. iNdEx = postIndex
  1371. case 3:
  1372. if wireType != 0 {
  1373. return fmt.Errorf("proto: wrong wireType = %d for field FilesystemType", wireType)
  1374. }
  1375. m.FilesystemType = 0
  1376. for shift := uint(0); ; shift += 7 {
  1377. if shift >= 64 {
  1378. return ErrIntOverflowFolderconfiguration
  1379. }
  1380. if iNdEx >= l {
  1381. return io.ErrUnexpectedEOF
  1382. }
  1383. b := dAtA[iNdEx]
  1384. iNdEx++
  1385. m.FilesystemType |= fs.FilesystemType(b&0x7F) << shift
  1386. if b < 0x80 {
  1387. break
  1388. }
  1389. }
  1390. case 4:
  1391. if wireType != 2 {
  1392. return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType)
  1393. }
  1394. var stringLen uint64
  1395. for shift := uint(0); ; shift += 7 {
  1396. if shift >= 64 {
  1397. return ErrIntOverflowFolderconfiguration
  1398. }
  1399. if iNdEx >= l {
  1400. return io.ErrUnexpectedEOF
  1401. }
  1402. b := dAtA[iNdEx]
  1403. iNdEx++
  1404. stringLen |= uint64(b&0x7F) << shift
  1405. if b < 0x80 {
  1406. break
  1407. }
  1408. }
  1409. intStringLen := int(stringLen)
  1410. if intStringLen < 0 {
  1411. return ErrInvalidLengthFolderconfiguration
  1412. }
  1413. postIndex := iNdEx + intStringLen
  1414. if postIndex < 0 {
  1415. return ErrInvalidLengthFolderconfiguration
  1416. }
  1417. if postIndex > l {
  1418. return io.ErrUnexpectedEOF
  1419. }
  1420. m.Path = string(dAtA[iNdEx:postIndex])
  1421. iNdEx = postIndex
  1422. case 5:
  1423. if wireType != 0 {
  1424. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  1425. }
  1426. m.Type = 0
  1427. for shift := uint(0); ; shift += 7 {
  1428. if shift >= 64 {
  1429. return ErrIntOverflowFolderconfiguration
  1430. }
  1431. if iNdEx >= l {
  1432. return io.ErrUnexpectedEOF
  1433. }
  1434. b := dAtA[iNdEx]
  1435. iNdEx++
  1436. m.Type |= FolderType(b&0x7F) << shift
  1437. if b < 0x80 {
  1438. break
  1439. }
  1440. }
  1441. case 6:
  1442. if wireType != 2 {
  1443. return fmt.Errorf("proto: wrong wireType = %d for field Devices", wireType)
  1444. }
  1445. var msglen int
  1446. for shift := uint(0); ; shift += 7 {
  1447. if shift >= 64 {
  1448. return ErrIntOverflowFolderconfiguration
  1449. }
  1450. if iNdEx >= l {
  1451. return io.ErrUnexpectedEOF
  1452. }
  1453. b := dAtA[iNdEx]
  1454. iNdEx++
  1455. msglen |= int(b&0x7F) << shift
  1456. if b < 0x80 {
  1457. break
  1458. }
  1459. }
  1460. if msglen < 0 {
  1461. return ErrInvalidLengthFolderconfiguration
  1462. }
  1463. postIndex := iNdEx + msglen
  1464. if postIndex < 0 {
  1465. return ErrInvalidLengthFolderconfiguration
  1466. }
  1467. if postIndex > l {
  1468. return io.ErrUnexpectedEOF
  1469. }
  1470. m.Devices = append(m.Devices, FolderDeviceConfiguration{})
  1471. if err := m.Devices[len(m.Devices)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  1472. return err
  1473. }
  1474. iNdEx = postIndex
  1475. case 7:
  1476. if wireType != 0 {
  1477. return fmt.Errorf("proto: wrong wireType = %d for field RescanIntervalS", wireType)
  1478. }
  1479. m.RescanIntervalS = 0
  1480. for shift := uint(0); ; shift += 7 {
  1481. if shift >= 64 {
  1482. return ErrIntOverflowFolderconfiguration
  1483. }
  1484. if iNdEx >= l {
  1485. return io.ErrUnexpectedEOF
  1486. }
  1487. b := dAtA[iNdEx]
  1488. iNdEx++
  1489. m.RescanIntervalS |= int(b&0x7F) << shift
  1490. if b < 0x80 {
  1491. break
  1492. }
  1493. }
  1494. case 8:
  1495. if wireType != 0 {
  1496. return fmt.Errorf("proto: wrong wireType = %d for field FSWatcherEnabled", wireType)
  1497. }
  1498. var v int
  1499. for shift := uint(0); ; shift += 7 {
  1500. if shift >= 64 {
  1501. return ErrIntOverflowFolderconfiguration
  1502. }
  1503. if iNdEx >= l {
  1504. return io.ErrUnexpectedEOF
  1505. }
  1506. b := dAtA[iNdEx]
  1507. iNdEx++
  1508. v |= int(b&0x7F) << shift
  1509. if b < 0x80 {
  1510. break
  1511. }
  1512. }
  1513. m.FSWatcherEnabled = bool(v != 0)
  1514. case 9:
  1515. if wireType != 0 {
  1516. return fmt.Errorf("proto: wrong wireType = %d for field FSWatcherDelayS", wireType)
  1517. }
  1518. m.FSWatcherDelayS = 0
  1519. for shift := uint(0); ; shift += 7 {
  1520. if shift >= 64 {
  1521. return ErrIntOverflowFolderconfiguration
  1522. }
  1523. if iNdEx >= l {
  1524. return io.ErrUnexpectedEOF
  1525. }
  1526. b := dAtA[iNdEx]
  1527. iNdEx++
  1528. m.FSWatcherDelayS |= int(b&0x7F) << shift
  1529. if b < 0x80 {
  1530. break
  1531. }
  1532. }
  1533. case 10:
  1534. if wireType != 0 {
  1535. return fmt.Errorf("proto: wrong wireType = %d for field IgnorePerms", wireType)
  1536. }
  1537. var v int
  1538. for shift := uint(0); ; shift += 7 {
  1539. if shift >= 64 {
  1540. return ErrIntOverflowFolderconfiguration
  1541. }
  1542. if iNdEx >= l {
  1543. return io.ErrUnexpectedEOF
  1544. }
  1545. b := dAtA[iNdEx]
  1546. iNdEx++
  1547. v |= int(b&0x7F) << shift
  1548. if b < 0x80 {
  1549. break
  1550. }
  1551. }
  1552. m.IgnorePerms = bool(v != 0)
  1553. case 11:
  1554. if wireType != 0 {
  1555. return fmt.Errorf("proto: wrong wireType = %d for field AutoNormalize", wireType)
  1556. }
  1557. var v int
  1558. for shift := uint(0); ; shift += 7 {
  1559. if shift >= 64 {
  1560. return ErrIntOverflowFolderconfiguration
  1561. }
  1562. if iNdEx >= l {
  1563. return io.ErrUnexpectedEOF
  1564. }
  1565. b := dAtA[iNdEx]
  1566. iNdEx++
  1567. v |= int(b&0x7F) << shift
  1568. if b < 0x80 {
  1569. break
  1570. }
  1571. }
  1572. m.AutoNormalize = bool(v != 0)
  1573. case 12:
  1574. if wireType != 2 {
  1575. return fmt.Errorf("proto: wrong wireType = %d for field MinDiskFree", wireType)
  1576. }
  1577. var msglen int
  1578. for shift := uint(0); ; shift += 7 {
  1579. if shift >= 64 {
  1580. return ErrIntOverflowFolderconfiguration
  1581. }
  1582. if iNdEx >= l {
  1583. return io.ErrUnexpectedEOF
  1584. }
  1585. b := dAtA[iNdEx]
  1586. iNdEx++
  1587. msglen |= int(b&0x7F) << shift
  1588. if b < 0x80 {
  1589. break
  1590. }
  1591. }
  1592. if msglen < 0 {
  1593. return ErrInvalidLengthFolderconfiguration
  1594. }
  1595. postIndex := iNdEx + msglen
  1596. if postIndex < 0 {
  1597. return ErrInvalidLengthFolderconfiguration
  1598. }
  1599. if postIndex > l {
  1600. return io.ErrUnexpectedEOF
  1601. }
  1602. if err := m.MinDiskFree.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  1603. return err
  1604. }
  1605. iNdEx = postIndex
  1606. case 13:
  1607. if wireType != 2 {
  1608. return fmt.Errorf("proto: wrong wireType = %d for field Versioning", wireType)
  1609. }
  1610. var msglen int
  1611. for shift := uint(0); ; shift += 7 {
  1612. if shift >= 64 {
  1613. return ErrIntOverflowFolderconfiguration
  1614. }
  1615. if iNdEx >= l {
  1616. return io.ErrUnexpectedEOF
  1617. }
  1618. b := dAtA[iNdEx]
  1619. iNdEx++
  1620. msglen |= int(b&0x7F) << shift
  1621. if b < 0x80 {
  1622. break
  1623. }
  1624. }
  1625. if msglen < 0 {
  1626. return ErrInvalidLengthFolderconfiguration
  1627. }
  1628. postIndex := iNdEx + msglen
  1629. if postIndex < 0 {
  1630. return ErrInvalidLengthFolderconfiguration
  1631. }
  1632. if postIndex > l {
  1633. return io.ErrUnexpectedEOF
  1634. }
  1635. if err := m.Versioning.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  1636. return err
  1637. }
  1638. iNdEx = postIndex
  1639. case 14:
  1640. if wireType != 0 {
  1641. return fmt.Errorf("proto: wrong wireType = %d for field Copiers", wireType)
  1642. }
  1643. m.Copiers = 0
  1644. for shift := uint(0); ; shift += 7 {
  1645. if shift >= 64 {
  1646. return ErrIntOverflowFolderconfiguration
  1647. }
  1648. if iNdEx >= l {
  1649. return io.ErrUnexpectedEOF
  1650. }
  1651. b := dAtA[iNdEx]
  1652. iNdEx++
  1653. m.Copiers |= int(b&0x7F) << shift
  1654. if b < 0x80 {
  1655. break
  1656. }
  1657. }
  1658. case 15:
  1659. if wireType != 0 {
  1660. return fmt.Errorf("proto: wrong wireType = %d for field PullerMaxPendingKiB", wireType)
  1661. }
  1662. m.PullerMaxPendingKiB = 0
  1663. for shift := uint(0); ; shift += 7 {
  1664. if shift >= 64 {
  1665. return ErrIntOverflowFolderconfiguration
  1666. }
  1667. if iNdEx >= l {
  1668. return io.ErrUnexpectedEOF
  1669. }
  1670. b := dAtA[iNdEx]
  1671. iNdEx++
  1672. m.PullerMaxPendingKiB |= int(b&0x7F) << shift
  1673. if b < 0x80 {
  1674. break
  1675. }
  1676. }
  1677. case 16:
  1678. if wireType != 0 {
  1679. return fmt.Errorf("proto: wrong wireType = %d for field Hashers", wireType)
  1680. }
  1681. m.Hashers = 0
  1682. for shift := uint(0); ; shift += 7 {
  1683. if shift >= 64 {
  1684. return ErrIntOverflowFolderconfiguration
  1685. }
  1686. if iNdEx >= l {
  1687. return io.ErrUnexpectedEOF
  1688. }
  1689. b := dAtA[iNdEx]
  1690. iNdEx++
  1691. m.Hashers |= int(b&0x7F) << shift
  1692. if b < 0x80 {
  1693. break
  1694. }
  1695. }
  1696. case 17:
  1697. if wireType != 0 {
  1698. return fmt.Errorf("proto: wrong wireType = %d for field Order", wireType)
  1699. }
  1700. m.Order = 0
  1701. for shift := uint(0); ; shift += 7 {
  1702. if shift >= 64 {
  1703. return ErrIntOverflowFolderconfiguration
  1704. }
  1705. if iNdEx >= l {
  1706. return io.ErrUnexpectedEOF
  1707. }
  1708. b := dAtA[iNdEx]
  1709. iNdEx++
  1710. m.Order |= PullOrder(b&0x7F) << shift
  1711. if b < 0x80 {
  1712. break
  1713. }
  1714. }
  1715. case 18:
  1716. if wireType != 0 {
  1717. return fmt.Errorf("proto: wrong wireType = %d for field IgnoreDelete", wireType)
  1718. }
  1719. var v int
  1720. for shift := uint(0); ; shift += 7 {
  1721. if shift >= 64 {
  1722. return ErrIntOverflowFolderconfiguration
  1723. }
  1724. if iNdEx >= l {
  1725. return io.ErrUnexpectedEOF
  1726. }
  1727. b := dAtA[iNdEx]
  1728. iNdEx++
  1729. v |= int(b&0x7F) << shift
  1730. if b < 0x80 {
  1731. break
  1732. }
  1733. }
  1734. m.IgnoreDelete = bool(v != 0)
  1735. case 19:
  1736. if wireType != 0 {
  1737. return fmt.Errorf("proto: wrong wireType = %d for field ScanProgressIntervalS", wireType)
  1738. }
  1739. m.ScanProgressIntervalS = 0
  1740. for shift := uint(0); ; shift += 7 {
  1741. if shift >= 64 {
  1742. return ErrIntOverflowFolderconfiguration
  1743. }
  1744. if iNdEx >= l {
  1745. return io.ErrUnexpectedEOF
  1746. }
  1747. b := dAtA[iNdEx]
  1748. iNdEx++
  1749. m.ScanProgressIntervalS |= int(b&0x7F) << shift
  1750. if b < 0x80 {
  1751. break
  1752. }
  1753. }
  1754. case 20:
  1755. if wireType != 0 {
  1756. return fmt.Errorf("proto: wrong wireType = %d for field PullerPauseS", wireType)
  1757. }
  1758. m.PullerPauseS = 0
  1759. for shift := uint(0); ; shift += 7 {
  1760. if shift >= 64 {
  1761. return ErrIntOverflowFolderconfiguration
  1762. }
  1763. if iNdEx >= l {
  1764. return io.ErrUnexpectedEOF
  1765. }
  1766. b := dAtA[iNdEx]
  1767. iNdEx++
  1768. m.PullerPauseS |= int(b&0x7F) << shift
  1769. if b < 0x80 {
  1770. break
  1771. }
  1772. }
  1773. case 21:
  1774. if wireType != 0 {
  1775. return fmt.Errorf("proto: wrong wireType = %d for field MaxConflicts", wireType)
  1776. }
  1777. m.MaxConflicts = 0
  1778. for shift := uint(0); ; shift += 7 {
  1779. if shift >= 64 {
  1780. return ErrIntOverflowFolderconfiguration
  1781. }
  1782. if iNdEx >= l {
  1783. return io.ErrUnexpectedEOF
  1784. }
  1785. b := dAtA[iNdEx]
  1786. iNdEx++
  1787. m.MaxConflicts |= int(b&0x7F) << shift
  1788. if b < 0x80 {
  1789. break
  1790. }
  1791. }
  1792. case 22:
  1793. if wireType != 0 {
  1794. return fmt.Errorf("proto: wrong wireType = %d for field DisableSparseFiles", wireType)
  1795. }
  1796. var v int
  1797. for shift := uint(0); ; shift += 7 {
  1798. if shift >= 64 {
  1799. return ErrIntOverflowFolderconfiguration
  1800. }
  1801. if iNdEx >= l {
  1802. return io.ErrUnexpectedEOF
  1803. }
  1804. b := dAtA[iNdEx]
  1805. iNdEx++
  1806. v |= int(b&0x7F) << shift
  1807. if b < 0x80 {
  1808. break
  1809. }
  1810. }
  1811. m.DisableSparseFiles = bool(v != 0)
  1812. case 23:
  1813. if wireType != 0 {
  1814. return fmt.Errorf("proto: wrong wireType = %d for field DisableTempIndexes", wireType)
  1815. }
  1816. var v int
  1817. for shift := uint(0); ; shift += 7 {
  1818. if shift >= 64 {
  1819. return ErrIntOverflowFolderconfiguration
  1820. }
  1821. if iNdEx >= l {
  1822. return io.ErrUnexpectedEOF
  1823. }
  1824. b := dAtA[iNdEx]
  1825. iNdEx++
  1826. v |= int(b&0x7F) << shift
  1827. if b < 0x80 {
  1828. break
  1829. }
  1830. }
  1831. m.DisableTempIndexes = bool(v != 0)
  1832. case 24:
  1833. if wireType != 0 {
  1834. return fmt.Errorf("proto: wrong wireType = %d for field Paused", wireType)
  1835. }
  1836. var v int
  1837. for shift := uint(0); ; shift += 7 {
  1838. if shift >= 64 {
  1839. return ErrIntOverflowFolderconfiguration
  1840. }
  1841. if iNdEx >= l {
  1842. return io.ErrUnexpectedEOF
  1843. }
  1844. b := dAtA[iNdEx]
  1845. iNdEx++
  1846. v |= int(b&0x7F) << shift
  1847. if b < 0x80 {
  1848. break
  1849. }
  1850. }
  1851. m.Paused = bool(v != 0)
  1852. case 25:
  1853. if wireType != 0 {
  1854. return fmt.Errorf("proto: wrong wireType = %d for field WeakHashThresholdPct", wireType)
  1855. }
  1856. m.WeakHashThresholdPct = 0
  1857. for shift := uint(0); ; shift += 7 {
  1858. if shift >= 64 {
  1859. return ErrIntOverflowFolderconfiguration
  1860. }
  1861. if iNdEx >= l {
  1862. return io.ErrUnexpectedEOF
  1863. }
  1864. b := dAtA[iNdEx]
  1865. iNdEx++
  1866. m.WeakHashThresholdPct |= int(b&0x7F) << shift
  1867. if b < 0x80 {
  1868. break
  1869. }
  1870. }
  1871. case 26:
  1872. if wireType != 2 {
  1873. return fmt.Errorf("proto: wrong wireType = %d for field MarkerName", wireType)
  1874. }
  1875. var stringLen uint64
  1876. for shift := uint(0); ; shift += 7 {
  1877. if shift >= 64 {
  1878. return ErrIntOverflowFolderconfiguration
  1879. }
  1880. if iNdEx >= l {
  1881. return io.ErrUnexpectedEOF
  1882. }
  1883. b := dAtA[iNdEx]
  1884. iNdEx++
  1885. stringLen |= uint64(b&0x7F) << shift
  1886. if b < 0x80 {
  1887. break
  1888. }
  1889. }
  1890. intStringLen := int(stringLen)
  1891. if intStringLen < 0 {
  1892. return ErrInvalidLengthFolderconfiguration
  1893. }
  1894. postIndex := iNdEx + intStringLen
  1895. if postIndex < 0 {
  1896. return ErrInvalidLengthFolderconfiguration
  1897. }
  1898. if postIndex > l {
  1899. return io.ErrUnexpectedEOF
  1900. }
  1901. m.MarkerName = string(dAtA[iNdEx:postIndex])
  1902. iNdEx = postIndex
  1903. case 27:
  1904. if wireType != 0 {
  1905. return fmt.Errorf("proto: wrong wireType = %d for field CopyOwnershipFromParent", wireType)
  1906. }
  1907. var v int
  1908. for shift := uint(0); ; shift += 7 {
  1909. if shift >= 64 {
  1910. return ErrIntOverflowFolderconfiguration
  1911. }
  1912. if iNdEx >= l {
  1913. return io.ErrUnexpectedEOF
  1914. }
  1915. b := dAtA[iNdEx]
  1916. iNdEx++
  1917. v |= int(b&0x7F) << shift
  1918. if b < 0x80 {
  1919. break
  1920. }
  1921. }
  1922. m.CopyOwnershipFromParent = bool(v != 0)
  1923. case 28:
  1924. if wireType != 0 {
  1925. return fmt.Errorf("proto: wrong wireType = %d for field RawModTimeWindowS", wireType)
  1926. }
  1927. m.RawModTimeWindowS = 0
  1928. for shift := uint(0); ; shift += 7 {
  1929. if shift >= 64 {
  1930. return ErrIntOverflowFolderconfiguration
  1931. }
  1932. if iNdEx >= l {
  1933. return io.ErrUnexpectedEOF
  1934. }
  1935. b := dAtA[iNdEx]
  1936. iNdEx++
  1937. m.RawModTimeWindowS |= int(b&0x7F) << shift
  1938. if b < 0x80 {
  1939. break
  1940. }
  1941. }
  1942. case 29:
  1943. if wireType != 0 {
  1944. return fmt.Errorf("proto: wrong wireType = %d for field MaxConcurrentWrites", wireType)
  1945. }
  1946. m.MaxConcurrentWrites = 0
  1947. for shift := uint(0); ; shift += 7 {
  1948. if shift >= 64 {
  1949. return ErrIntOverflowFolderconfiguration
  1950. }
  1951. if iNdEx >= l {
  1952. return io.ErrUnexpectedEOF
  1953. }
  1954. b := dAtA[iNdEx]
  1955. iNdEx++
  1956. m.MaxConcurrentWrites |= int(b&0x7F) << shift
  1957. if b < 0x80 {
  1958. break
  1959. }
  1960. }
  1961. case 30:
  1962. if wireType != 0 {
  1963. return fmt.Errorf("proto: wrong wireType = %d for field DisableFsync", wireType)
  1964. }
  1965. var v int
  1966. for shift := uint(0); ; shift += 7 {
  1967. if shift >= 64 {
  1968. return ErrIntOverflowFolderconfiguration
  1969. }
  1970. if iNdEx >= l {
  1971. return io.ErrUnexpectedEOF
  1972. }
  1973. b := dAtA[iNdEx]
  1974. iNdEx++
  1975. v |= int(b&0x7F) << shift
  1976. if b < 0x80 {
  1977. break
  1978. }
  1979. }
  1980. m.DisableFsync = bool(v != 0)
  1981. case 31:
  1982. if wireType != 0 {
  1983. return fmt.Errorf("proto: wrong wireType = %d for field BlockPullOrder", wireType)
  1984. }
  1985. m.BlockPullOrder = 0
  1986. for shift := uint(0); ; shift += 7 {
  1987. if shift >= 64 {
  1988. return ErrIntOverflowFolderconfiguration
  1989. }
  1990. if iNdEx >= l {
  1991. return io.ErrUnexpectedEOF
  1992. }
  1993. b := dAtA[iNdEx]
  1994. iNdEx++
  1995. m.BlockPullOrder |= BlockPullOrder(b&0x7F) << shift
  1996. if b < 0x80 {
  1997. break
  1998. }
  1999. }
  2000. case 32:
  2001. if wireType != 0 {
  2002. return fmt.Errorf("proto: wrong wireType = %d for field CopyRangeMethod", wireType)
  2003. }
  2004. m.CopyRangeMethod = 0
  2005. for shift := uint(0); ; shift += 7 {
  2006. if shift >= 64 {
  2007. return ErrIntOverflowFolderconfiguration
  2008. }
  2009. if iNdEx >= l {
  2010. return io.ErrUnexpectedEOF
  2011. }
  2012. b := dAtA[iNdEx]
  2013. iNdEx++
  2014. m.CopyRangeMethod |= fs.CopyRangeMethod(b&0x7F) << shift
  2015. if b < 0x80 {
  2016. break
  2017. }
  2018. }
  2019. case 33:
  2020. if wireType != 0 {
  2021. return fmt.Errorf("proto: wrong wireType = %d for field CaseSensitiveFS", wireType)
  2022. }
  2023. var v int
  2024. for shift := uint(0); ; shift += 7 {
  2025. if shift >= 64 {
  2026. return ErrIntOverflowFolderconfiguration
  2027. }
  2028. if iNdEx >= l {
  2029. return io.ErrUnexpectedEOF
  2030. }
  2031. b := dAtA[iNdEx]
  2032. iNdEx++
  2033. v |= int(b&0x7F) << shift
  2034. if b < 0x80 {
  2035. break
  2036. }
  2037. }
  2038. m.CaseSensitiveFS = bool(v != 0)
  2039. case 34:
  2040. if wireType != 0 {
  2041. return fmt.Errorf("proto: wrong wireType = %d for field JunctionsAsDirs", wireType)
  2042. }
  2043. var v int
  2044. for shift := uint(0); ; shift += 7 {
  2045. if shift >= 64 {
  2046. return ErrIntOverflowFolderconfiguration
  2047. }
  2048. if iNdEx >= l {
  2049. return io.ErrUnexpectedEOF
  2050. }
  2051. b := dAtA[iNdEx]
  2052. iNdEx++
  2053. v |= int(b&0x7F) << shift
  2054. if b < 0x80 {
  2055. break
  2056. }
  2057. }
  2058. m.JunctionsAsDirs = bool(v != 0)
  2059. case 35:
  2060. if wireType != 0 {
  2061. return fmt.Errorf("proto: wrong wireType = %d for field SyncOwnership", wireType)
  2062. }
  2063. var v int
  2064. for shift := uint(0); ; shift += 7 {
  2065. if shift >= 64 {
  2066. return ErrIntOverflowFolderconfiguration
  2067. }
  2068. if iNdEx >= l {
  2069. return io.ErrUnexpectedEOF
  2070. }
  2071. b := dAtA[iNdEx]
  2072. iNdEx++
  2073. v |= int(b&0x7F) << shift
  2074. if b < 0x80 {
  2075. break
  2076. }
  2077. }
  2078. m.SyncOwnership = bool(v != 0)
  2079. case 36:
  2080. if wireType != 0 {
  2081. return fmt.Errorf("proto: wrong wireType = %d for field SendOwnership", wireType)
  2082. }
  2083. var v int
  2084. for shift := uint(0); ; shift += 7 {
  2085. if shift >= 64 {
  2086. return ErrIntOverflowFolderconfiguration
  2087. }
  2088. if iNdEx >= l {
  2089. return io.ErrUnexpectedEOF
  2090. }
  2091. b := dAtA[iNdEx]
  2092. iNdEx++
  2093. v |= int(b&0x7F) << shift
  2094. if b < 0x80 {
  2095. break
  2096. }
  2097. }
  2098. m.SendOwnership = bool(v != 0)
  2099. case 37:
  2100. if wireType != 0 {
  2101. return fmt.Errorf("proto: wrong wireType = %d for field SyncXattrs", wireType)
  2102. }
  2103. var v int
  2104. for shift := uint(0); ; shift += 7 {
  2105. if shift >= 64 {
  2106. return ErrIntOverflowFolderconfiguration
  2107. }
  2108. if iNdEx >= l {
  2109. return io.ErrUnexpectedEOF
  2110. }
  2111. b := dAtA[iNdEx]
  2112. iNdEx++
  2113. v |= int(b&0x7F) << shift
  2114. if b < 0x80 {
  2115. break
  2116. }
  2117. }
  2118. m.SyncXattrs = bool(v != 0)
  2119. case 38:
  2120. if wireType != 0 {
  2121. return fmt.Errorf("proto: wrong wireType = %d for field SendXattrs", wireType)
  2122. }
  2123. var v int
  2124. for shift := uint(0); ; shift += 7 {
  2125. if shift >= 64 {
  2126. return ErrIntOverflowFolderconfiguration
  2127. }
  2128. if iNdEx >= l {
  2129. return io.ErrUnexpectedEOF
  2130. }
  2131. b := dAtA[iNdEx]
  2132. iNdEx++
  2133. v |= int(b&0x7F) << shift
  2134. if b < 0x80 {
  2135. break
  2136. }
  2137. }
  2138. m.SendXattrs = bool(v != 0)
  2139. case 39:
  2140. if wireType != 2 {
  2141. return fmt.Errorf("proto: wrong wireType = %d for field XattrFilter", wireType)
  2142. }
  2143. var msglen int
  2144. for shift := uint(0); ; shift += 7 {
  2145. if shift >= 64 {
  2146. return ErrIntOverflowFolderconfiguration
  2147. }
  2148. if iNdEx >= l {
  2149. return io.ErrUnexpectedEOF
  2150. }
  2151. b := dAtA[iNdEx]
  2152. iNdEx++
  2153. msglen |= int(b&0x7F) << shift
  2154. if b < 0x80 {
  2155. break
  2156. }
  2157. }
  2158. if msglen < 0 {
  2159. return ErrInvalidLengthFolderconfiguration
  2160. }
  2161. postIndex := iNdEx + msglen
  2162. if postIndex < 0 {
  2163. return ErrInvalidLengthFolderconfiguration
  2164. }
  2165. if postIndex > l {
  2166. return io.ErrUnexpectedEOF
  2167. }
  2168. if err := m.XattrFilter.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2169. return err
  2170. }
  2171. iNdEx = postIndex
  2172. case 9000:
  2173. if wireType != 0 {
  2174. return fmt.Errorf("proto: wrong wireType = %d for field DeprecatedReadOnly", wireType)
  2175. }
  2176. var v int
  2177. for shift := uint(0); ; shift += 7 {
  2178. if shift >= 64 {
  2179. return ErrIntOverflowFolderconfiguration
  2180. }
  2181. if iNdEx >= l {
  2182. return io.ErrUnexpectedEOF
  2183. }
  2184. b := dAtA[iNdEx]
  2185. iNdEx++
  2186. v |= int(b&0x7F) << shift
  2187. if b < 0x80 {
  2188. break
  2189. }
  2190. }
  2191. m.DeprecatedReadOnly = bool(v != 0)
  2192. case 9001:
  2193. if wireType != 1 {
  2194. return fmt.Errorf("proto: wrong wireType = %d for field DeprecatedMinDiskFreePct", wireType)
  2195. }
  2196. var v uint64
  2197. if (iNdEx + 8) > l {
  2198. return io.ErrUnexpectedEOF
  2199. }
  2200. v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:]))
  2201. iNdEx += 8
  2202. m.DeprecatedMinDiskFreePct = float64(math.Float64frombits(v))
  2203. case 9002:
  2204. if wireType != 0 {
  2205. return fmt.Errorf("proto: wrong wireType = %d for field DeprecatedPullers", wireType)
  2206. }
  2207. m.DeprecatedPullers = 0
  2208. for shift := uint(0); ; shift += 7 {
  2209. if shift >= 64 {
  2210. return ErrIntOverflowFolderconfiguration
  2211. }
  2212. if iNdEx >= l {
  2213. return io.ErrUnexpectedEOF
  2214. }
  2215. b := dAtA[iNdEx]
  2216. iNdEx++
  2217. m.DeprecatedPullers |= int(b&0x7F) << shift
  2218. if b < 0x80 {
  2219. break
  2220. }
  2221. }
  2222. case 9003:
  2223. if wireType != 0 {
  2224. return fmt.Errorf("proto: wrong wireType = %d for field DeprecatedScanOwnership", wireType)
  2225. }
  2226. var v int
  2227. for shift := uint(0); ; shift += 7 {
  2228. if shift >= 64 {
  2229. return ErrIntOverflowFolderconfiguration
  2230. }
  2231. if iNdEx >= l {
  2232. return io.ErrUnexpectedEOF
  2233. }
  2234. b := dAtA[iNdEx]
  2235. iNdEx++
  2236. v |= int(b&0x7F) << shift
  2237. if b < 0x80 {
  2238. break
  2239. }
  2240. }
  2241. m.DeprecatedScanOwnership = bool(v != 0)
  2242. default:
  2243. iNdEx = preIndex
  2244. skippy, err := skipFolderconfiguration(dAtA[iNdEx:])
  2245. if err != nil {
  2246. return err
  2247. }
  2248. if (skippy < 0) || (iNdEx+skippy) < 0 {
  2249. return ErrInvalidLengthFolderconfiguration
  2250. }
  2251. if (iNdEx + skippy) > l {
  2252. return io.ErrUnexpectedEOF
  2253. }
  2254. iNdEx += skippy
  2255. }
  2256. }
  2257. if iNdEx > l {
  2258. return io.ErrUnexpectedEOF
  2259. }
  2260. return nil
  2261. }
  2262. func (m *XattrFilter) Unmarshal(dAtA []byte) error {
  2263. l := len(dAtA)
  2264. iNdEx := 0
  2265. for iNdEx < l {
  2266. preIndex := iNdEx
  2267. var wire uint64
  2268. for shift := uint(0); ; shift += 7 {
  2269. if shift >= 64 {
  2270. return ErrIntOverflowFolderconfiguration
  2271. }
  2272. if iNdEx >= l {
  2273. return io.ErrUnexpectedEOF
  2274. }
  2275. b := dAtA[iNdEx]
  2276. iNdEx++
  2277. wire |= uint64(b&0x7F) << shift
  2278. if b < 0x80 {
  2279. break
  2280. }
  2281. }
  2282. fieldNum := int32(wire >> 3)
  2283. wireType := int(wire & 0x7)
  2284. if wireType == 4 {
  2285. return fmt.Errorf("proto: XattrFilter: wiretype end group for non-group")
  2286. }
  2287. if fieldNum <= 0 {
  2288. return fmt.Errorf("proto: XattrFilter: illegal tag %d (wire type %d)", fieldNum, wire)
  2289. }
  2290. switch fieldNum {
  2291. case 1:
  2292. if wireType != 2 {
  2293. return fmt.Errorf("proto: wrong wireType = %d for field Entries", wireType)
  2294. }
  2295. var msglen int
  2296. for shift := uint(0); ; shift += 7 {
  2297. if shift >= 64 {
  2298. return ErrIntOverflowFolderconfiguration
  2299. }
  2300. if iNdEx >= l {
  2301. return io.ErrUnexpectedEOF
  2302. }
  2303. b := dAtA[iNdEx]
  2304. iNdEx++
  2305. msglen |= int(b&0x7F) << shift
  2306. if b < 0x80 {
  2307. break
  2308. }
  2309. }
  2310. if msglen < 0 {
  2311. return ErrInvalidLengthFolderconfiguration
  2312. }
  2313. postIndex := iNdEx + msglen
  2314. if postIndex < 0 {
  2315. return ErrInvalidLengthFolderconfiguration
  2316. }
  2317. if postIndex > l {
  2318. return io.ErrUnexpectedEOF
  2319. }
  2320. m.Entries = append(m.Entries, XattrFilterEntry{})
  2321. if err := m.Entries[len(m.Entries)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2322. return err
  2323. }
  2324. iNdEx = postIndex
  2325. case 2:
  2326. if wireType != 0 {
  2327. return fmt.Errorf("proto: wrong wireType = %d for field MaxSingleEntrySize", wireType)
  2328. }
  2329. m.MaxSingleEntrySize = 0
  2330. for shift := uint(0); ; shift += 7 {
  2331. if shift >= 64 {
  2332. return ErrIntOverflowFolderconfiguration
  2333. }
  2334. if iNdEx >= l {
  2335. return io.ErrUnexpectedEOF
  2336. }
  2337. b := dAtA[iNdEx]
  2338. iNdEx++
  2339. m.MaxSingleEntrySize |= int(b&0x7F) << shift
  2340. if b < 0x80 {
  2341. break
  2342. }
  2343. }
  2344. case 3:
  2345. if wireType != 0 {
  2346. return fmt.Errorf("proto: wrong wireType = %d for field MaxTotalSize", wireType)
  2347. }
  2348. m.MaxTotalSize = 0
  2349. for shift := uint(0); ; shift += 7 {
  2350. if shift >= 64 {
  2351. return ErrIntOverflowFolderconfiguration
  2352. }
  2353. if iNdEx >= l {
  2354. return io.ErrUnexpectedEOF
  2355. }
  2356. b := dAtA[iNdEx]
  2357. iNdEx++
  2358. m.MaxTotalSize |= int(b&0x7F) << shift
  2359. if b < 0x80 {
  2360. break
  2361. }
  2362. }
  2363. default:
  2364. iNdEx = preIndex
  2365. skippy, err := skipFolderconfiguration(dAtA[iNdEx:])
  2366. if err != nil {
  2367. return err
  2368. }
  2369. if (skippy < 0) || (iNdEx+skippy) < 0 {
  2370. return ErrInvalidLengthFolderconfiguration
  2371. }
  2372. if (iNdEx + skippy) > l {
  2373. return io.ErrUnexpectedEOF
  2374. }
  2375. iNdEx += skippy
  2376. }
  2377. }
  2378. if iNdEx > l {
  2379. return io.ErrUnexpectedEOF
  2380. }
  2381. return nil
  2382. }
  2383. func (m *XattrFilterEntry) Unmarshal(dAtA []byte) error {
  2384. l := len(dAtA)
  2385. iNdEx := 0
  2386. for iNdEx < l {
  2387. preIndex := iNdEx
  2388. var wire uint64
  2389. for shift := uint(0); ; shift += 7 {
  2390. if shift >= 64 {
  2391. return ErrIntOverflowFolderconfiguration
  2392. }
  2393. if iNdEx >= l {
  2394. return io.ErrUnexpectedEOF
  2395. }
  2396. b := dAtA[iNdEx]
  2397. iNdEx++
  2398. wire |= uint64(b&0x7F) << shift
  2399. if b < 0x80 {
  2400. break
  2401. }
  2402. }
  2403. fieldNum := int32(wire >> 3)
  2404. wireType := int(wire & 0x7)
  2405. if wireType == 4 {
  2406. return fmt.Errorf("proto: XattrFilterEntry: wiretype end group for non-group")
  2407. }
  2408. if fieldNum <= 0 {
  2409. return fmt.Errorf("proto: XattrFilterEntry: illegal tag %d (wire type %d)", fieldNum, wire)
  2410. }
  2411. switch fieldNum {
  2412. case 1:
  2413. if wireType != 2 {
  2414. return fmt.Errorf("proto: wrong wireType = %d for field Match", wireType)
  2415. }
  2416. var stringLen uint64
  2417. for shift := uint(0); ; shift += 7 {
  2418. if shift >= 64 {
  2419. return ErrIntOverflowFolderconfiguration
  2420. }
  2421. if iNdEx >= l {
  2422. return io.ErrUnexpectedEOF
  2423. }
  2424. b := dAtA[iNdEx]
  2425. iNdEx++
  2426. stringLen |= uint64(b&0x7F) << shift
  2427. if b < 0x80 {
  2428. break
  2429. }
  2430. }
  2431. intStringLen := int(stringLen)
  2432. if intStringLen < 0 {
  2433. return ErrInvalidLengthFolderconfiguration
  2434. }
  2435. postIndex := iNdEx + intStringLen
  2436. if postIndex < 0 {
  2437. return ErrInvalidLengthFolderconfiguration
  2438. }
  2439. if postIndex > l {
  2440. return io.ErrUnexpectedEOF
  2441. }
  2442. m.Match = string(dAtA[iNdEx:postIndex])
  2443. iNdEx = postIndex
  2444. case 2:
  2445. if wireType != 0 {
  2446. return fmt.Errorf("proto: wrong wireType = %d for field Permit", wireType)
  2447. }
  2448. var v int
  2449. for shift := uint(0); ; shift += 7 {
  2450. if shift >= 64 {
  2451. return ErrIntOverflowFolderconfiguration
  2452. }
  2453. if iNdEx >= l {
  2454. return io.ErrUnexpectedEOF
  2455. }
  2456. b := dAtA[iNdEx]
  2457. iNdEx++
  2458. v |= int(b&0x7F) << shift
  2459. if b < 0x80 {
  2460. break
  2461. }
  2462. }
  2463. m.Permit = bool(v != 0)
  2464. default:
  2465. iNdEx = preIndex
  2466. skippy, err := skipFolderconfiguration(dAtA[iNdEx:])
  2467. if err != nil {
  2468. return err
  2469. }
  2470. if (skippy < 0) || (iNdEx+skippy) < 0 {
  2471. return ErrInvalidLengthFolderconfiguration
  2472. }
  2473. if (iNdEx + skippy) > l {
  2474. return io.ErrUnexpectedEOF
  2475. }
  2476. iNdEx += skippy
  2477. }
  2478. }
  2479. if iNdEx > l {
  2480. return io.ErrUnexpectedEOF
  2481. }
  2482. return nil
  2483. }
  2484. func skipFolderconfiguration(dAtA []byte) (n int, err error) {
  2485. l := len(dAtA)
  2486. iNdEx := 0
  2487. depth := 0
  2488. for iNdEx < l {
  2489. var wire uint64
  2490. for shift := uint(0); ; shift += 7 {
  2491. if shift >= 64 {
  2492. return 0, ErrIntOverflowFolderconfiguration
  2493. }
  2494. if iNdEx >= l {
  2495. return 0, io.ErrUnexpectedEOF
  2496. }
  2497. b := dAtA[iNdEx]
  2498. iNdEx++
  2499. wire |= (uint64(b) & 0x7F) << shift
  2500. if b < 0x80 {
  2501. break
  2502. }
  2503. }
  2504. wireType := int(wire & 0x7)
  2505. switch wireType {
  2506. case 0:
  2507. for shift := uint(0); ; shift += 7 {
  2508. if shift >= 64 {
  2509. return 0, ErrIntOverflowFolderconfiguration
  2510. }
  2511. if iNdEx >= l {
  2512. return 0, io.ErrUnexpectedEOF
  2513. }
  2514. iNdEx++
  2515. if dAtA[iNdEx-1] < 0x80 {
  2516. break
  2517. }
  2518. }
  2519. case 1:
  2520. iNdEx += 8
  2521. case 2:
  2522. var length int
  2523. for shift := uint(0); ; shift += 7 {
  2524. if shift >= 64 {
  2525. return 0, ErrIntOverflowFolderconfiguration
  2526. }
  2527. if iNdEx >= l {
  2528. return 0, io.ErrUnexpectedEOF
  2529. }
  2530. b := dAtA[iNdEx]
  2531. iNdEx++
  2532. length |= (int(b) & 0x7F) << shift
  2533. if b < 0x80 {
  2534. break
  2535. }
  2536. }
  2537. if length < 0 {
  2538. return 0, ErrInvalidLengthFolderconfiguration
  2539. }
  2540. iNdEx += length
  2541. case 3:
  2542. depth++
  2543. case 4:
  2544. if depth == 0 {
  2545. return 0, ErrUnexpectedEndOfGroupFolderconfiguration
  2546. }
  2547. depth--
  2548. case 5:
  2549. iNdEx += 4
  2550. default:
  2551. return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
  2552. }
  2553. if iNdEx < 0 {
  2554. return 0, ErrInvalidLengthFolderconfiguration
  2555. }
  2556. if depth == 0 {
  2557. return iNdEx, nil
  2558. }
  2559. }
  2560. return 0, io.ErrUnexpectedEOF
  2561. }
  2562. var (
  2563. ErrInvalidLengthFolderconfiguration = fmt.Errorf("proto: negative length found during unmarshaling")
  2564. ErrIntOverflowFolderconfiguration = fmt.Errorf("proto: integer overflow")
  2565. ErrUnexpectedEndOfGroupFolderconfiguration = fmt.Errorf("proto: unexpected end of group")
  2566. )