optionsconfiguration.pb.go 82 KB

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