optionsconfiguration.pb.go 82 KB

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