signalling.pb.go 79 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.27.1
  4. // protoc v3.19.1
  5. // source: signalling.proto
  6. // TODO: We're using proto2 because it's the default on Ubuntu 16.04.
  7. // At some point we will want to migrate to proto3, but we are not
  8. // using any proto3 features yet.
  9. package tdproto
  10. import (
  11. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  12. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  13. reflect "reflect"
  14. sync "sync"
  15. )
  16. const (
  17. // Verify that this generated code is sufficiently up-to-date.
  18. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  19. // Verify that runtime/protoimpl is sufficiently up-to-date.
  20. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  21. )
  22. type KeyType int32
  23. const (
  24. KeyType_AES_GCM_128 KeyType = 90
  25. KeyType_AES_GCM_256 KeyType = 91 // not supported atm
  26. )
  27. // Enum value maps for KeyType.
  28. var (
  29. KeyType_name = map[int32]string{
  30. 90: "AES_GCM_128",
  31. 91: "AES_GCM_256",
  32. }
  33. KeyType_value = map[string]int32{
  34. "AES_GCM_128": 90,
  35. "AES_GCM_256": 91,
  36. }
  37. )
  38. func (x KeyType) Enum() *KeyType {
  39. p := new(KeyType)
  40. *p = x
  41. return p
  42. }
  43. func (x KeyType) String() string {
  44. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  45. }
  46. func (KeyType) Descriptor() protoreflect.EnumDescriptor {
  47. return file_signalling_proto_enumTypes[0].Descriptor()
  48. }
  49. func (KeyType) Type() protoreflect.EnumType {
  50. return &file_signalling_proto_enumTypes[0]
  51. }
  52. func (x KeyType) Number() protoreflect.EnumNumber {
  53. return protoreflect.EnumNumber(x)
  54. }
  55. // Deprecated: Do not use.
  56. func (x *KeyType) UnmarshalJSON(b []byte) error {
  57. num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
  58. if err != nil {
  59. return err
  60. }
  61. *x = KeyType(num)
  62. return nil
  63. }
  64. // Deprecated: Use KeyType.Descriptor instead.
  65. func (KeyType) EnumDescriptor() ([]byte, []int) {
  66. return file_signalling_proto_rawDescGZIP(), []int{0}
  67. }
  68. // State transitions of the client
  69. type C2S_Transition int32
  70. const (
  71. C2S_Transition_C2S_NO_CHANGE C2S_Transition = 0
  72. C2S_Transition_C2S_SESSION_INIT C2S_Transition = 1 // connect me to squid
  73. C2S_Transition_C2S_SESSION_COVERT_INIT C2S_Transition = 11 // connect me to provided covert
  74. C2S_Transition_C2S_EXPECT_RECONNECT C2S_Transition = 2
  75. C2S_Transition_C2S_SESSION_CLOSE C2S_Transition = 3
  76. C2S_Transition_C2S_YIELD_UPLOAD C2S_Transition = 4
  77. C2S_Transition_C2S_ACQUIRE_UPLOAD C2S_Transition = 5
  78. C2S_Transition_C2S_EXPECT_UPLOADONLY_RECONN C2S_Transition = 6
  79. C2S_Transition_C2S_ERROR C2S_Transition = 255
  80. )
  81. // Enum value maps for C2S_Transition.
  82. var (
  83. C2S_Transition_name = map[int32]string{
  84. 0: "C2S_NO_CHANGE",
  85. 1: "C2S_SESSION_INIT",
  86. 11: "C2S_SESSION_COVERT_INIT",
  87. 2: "C2S_EXPECT_RECONNECT",
  88. 3: "C2S_SESSION_CLOSE",
  89. 4: "C2S_YIELD_UPLOAD",
  90. 5: "C2S_ACQUIRE_UPLOAD",
  91. 6: "C2S_EXPECT_UPLOADONLY_RECONN",
  92. 255: "C2S_ERROR",
  93. }
  94. C2S_Transition_value = map[string]int32{
  95. "C2S_NO_CHANGE": 0,
  96. "C2S_SESSION_INIT": 1,
  97. "C2S_SESSION_COVERT_INIT": 11,
  98. "C2S_EXPECT_RECONNECT": 2,
  99. "C2S_SESSION_CLOSE": 3,
  100. "C2S_YIELD_UPLOAD": 4,
  101. "C2S_ACQUIRE_UPLOAD": 5,
  102. "C2S_EXPECT_UPLOADONLY_RECONN": 6,
  103. "C2S_ERROR": 255,
  104. }
  105. )
  106. func (x C2S_Transition) Enum() *C2S_Transition {
  107. p := new(C2S_Transition)
  108. *p = x
  109. return p
  110. }
  111. func (x C2S_Transition) String() string {
  112. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  113. }
  114. func (C2S_Transition) Descriptor() protoreflect.EnumDescriptor {
  115. return file_signalling_proto_enumTypes[1].Descriptor()
  116. }
  117. func (C2S_Transition) Type() protoreflect.EnumType {
  118. return &file_signalling_proto_enumTypes[1]
  119. }
  120. func (x C2S_Transition) Number() protoreflect.EnumNumber {
  121. return protoreflect.EnumNumber(x)
  122. }
  123. // Deprecated: Do not use.
  124. func (x *C2S_Transition) UnmarshalJSON(b []byte) error {
  125. num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
  126. if err != nil {
  127. return err
  128. }
  129. *x = C2S_Transition(num)
  130. return nil
  131. }
  132. // Deprecated: Use C2S_Transition.Descriptor instead.
  133. func (C2S_Transition) EnumDescriptor() ([]byte, []int) {
  134. return file_signalling_proto_rawDescGZIP(), []int{1}
  135. }
  136. // State transitions of the server
  137. type S2C_Transition int32
  138. const (
  139. S2C_Transition_S2C_NO_CHANGE S2C_Transition = 0
  140. S2C_Transition_S2C_SESSION_INIT S2C_Transition = 1 // connected to squid
  141. S2C_Transition_S2C_SESSION_COVERT_INIT S2C_Transition = 11 // connected to covert host
  142. S2C_Transition_S2C_CONFIRM_RECONNECT S2C_Transition = 2
  143. S2C_Transition_S2C_SESSION_CLOSE S2C_Transition = 3
  144. // TODO should probably also allow EXPECT_RECONNECT here, for DittoTap
  145. S2C_Transition_S2C_ERROR S2C_Transition = 255
  146. )
  147. // Enum value maps for S2C_Transition.
  148. var (
  149. S2C_Transition_name = map[int32]string{
  150. 0: "S2C_NO_CHANGE",
  151. 1: "S2C_SESSION_INIT",
  152. 11: "S2C_SESSION_COVERT_INIT",
  153. 2: "S2C_CONFIRM_RECONNECT",
  154. 3: "S2C_SESSION_CLOSE",
  155. 255: "S2C_ERROR",
  156. }
  157. S2C_Transition_value = map[string]int32{
  158. "S2C_NO_CHANGE": 0,
  159. "S2C_SESSION_INIT": 1,
  160. "S2C_SESSION_COVERT_INIT": 11,
  161. "S2C_CONFIRM_RECONNECT": 2,
  162. "S2C_SESSION_CLOSE": 3,
  163. "S2C_ERROR": 255,
  164. }
  165. )
  166. func (x S2C_Transition) Enum() *S2C_Transition {
  167. p := new(S2C_Transition)
  168. *p = x
  169. return p
  170. }
  171. func (x S2C_Transition) String() string {
  172. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  173. }
  174. func (S2C_Transition) Descriptor() protoreflect.EnumDescriptor {
  175. return file_signalling_proto_enumTypes[2].Descriptor()
  176. }
  177. func (S2C_Transition) Type() protoreflect.EnumType {
  178. return &file_signalling_proto_enumTypes[2]
  179. }
  180. func (x S2C_Transition) Number() protoreflect.EnumNumber {
  181. return protoreflect.EnumNumber(x)
  182. }
  183. // Deprecated: Do not use.
  184. func (x *S2C_Transition) UnmarshalJSON(b []byte) error {
  185. num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
  186. if err != nil {
  187. return err
  188. }
  189. *x = S2C_Transition(num)
  190. return nil
  191. }
  192. // Deprecated: Use S2C_Transition.Descriptor instead.
  193. func (S2C_Transition) EnumDescriptor() ([]byte, []int) {
  194. return file_signalling_proto_rawDescGZIP(), []int{2}
  195. }
  196. // Should accompany all S2C_ERROR messages.
  197. type ErrorReasonS2C int32
  198. const (
  199. ErrorReasonS2C_NO_ERROR ErrorReasonS2C = 0
  200. ErrorReasonS2C_COVERT_STREAM ErrorReasonS2C = 1 // Squid TCP connection broke
  201. ErrorReasonS2C_CLIENT_REPORTED ErrorReasonS2C = 2 // You told me something was wrong, client
  202. ErrorReasonS2C_CLIENT_PROTOCOL ErrorReasonS2C = 3 // You messed up, client (e.g. sent a bad protobuf)
  203. ErrorReasonS2C_STATION_INTERNAL ErrorReasonS2C = 4 // I broke
  204. ErrorReasonS2C_DECOY_OVERLOAD ErrorReasonS2C = 5 // Everything's fine, but don't use this decoy right now
  205. ErrorReasonS2C_CLIENT_STREAM ErrorReasonS2C = 100 // My stream to you broke. (This is impossible to send)
  206. ErrorReasonS2C_CLIENT_TIMEOUT ErrorReasonS2C = 101 // You never came back. (This is impossible to send)
  207. )
  208. // Enum value maps for ErrorReasonS2C.
  209. var (
  210. ErrorReasonS2C_name = map[int32]string{
  211. 0: "NO_ERROR",
  212. 1: "COVERT_STREAM",
  213. 2: "CLIENT_REPORTED",
  214. 3: "CLIENT_PROTOCOL",
  215. 4: "STATION_INTERNAL",
  216. 5: "DECOY_OVERLOAD",
  217. 100: "CLIENT_STREAM",
  218. 101: "CLIENT_TIMEOUT",
  219. }
  220. ErrorReasonS2C_value = map[string]int32{
  221. "NO_ERROR": 0,
  222. "COVERT_STREAM": 1,
  223. "CLIENT_REPORTED": 2,
  224. "CLIENT_PROTOCOL": 3,
  225. "STATION_INTERNAL": 4,
  226. "DECOY_OVERLOAD": 5,
  227. "CLIENT_STREAM": 100,
  228. "CLIENT_TIMEOUT": 101,
  229. }
  230. )
  231. func (x ErrorReasonS2C) Enum() *ErrorReasonS2C {
  232. p := new(ErrorReasonS2C)
  233. *p = x
  234. return p
  235. }
  236. func (x ErrorReasonS2C) String() string {
  237. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  238. }
  239. func (ErrorReasonS2C) Descriptor() protoreflect.EnumDescriptor {
  240. return file_signalling_proto_enumTypes[3].Descriptor()
  241. }
  242. func (ErrorReasonS2C) Type() protoreflect.EnumType {
  243. return &file_signalling_proto_enumTypes[3]
  244. }
  245. func (x ErrorReasonS2C) Number() protoreflect.EnumNumber {
  246. return protoreflect.EnumNumber(x)
  247. }
  248. // Deprecated: Do not use.
  249. func (x *ErrorReasonS2C) UnmarshalJSON(b []byte) error {
  250. num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
  251. if err != nil {
  252. return err
  253. }
  254. *x = ErrorReasonS2C(num)
  255. return nil
  256. }
  257. // Deprecated: Use ErrorReasonS2C.Descriptor instead.
  258. func (ErrorReasonS2C) EnumDescriptor() ([]byte, []int) {
  259. return file_signalling_proto_rawDescGZIP(), []int{3}
  260. }
  261. type TransportType int32
  262. const (
  263. TransportType_Null TransportType = 0
  264. TransportType_Min TransportType = 1 // Send a 32-byte HMAC id to let the station distinguish registrations to same host
  265. TransportType_Obfs4 TransportType = 2 // Not implemented yet?
  266. TransportType_Webrtc TransportType = 99 // UDP transport: WebRTC DataChannel
  267. )
  268. // Enum value maps for TransportType.
  269. var (
  270. TransportType_name = map[int32]string{
  271. 0: "Null",
  272. 1: "Min",
  273. 2: "Obfs4",
  274. 99: "Webrtc",
  275. }
  276. TransportType_value = map[string]int32{
  277. "Null": 0,
  278. "Min": 1,
  279. "Obfs4": 2,
  280. "Webrtc": 99,
  281. }
  282. )
  283. func (x TransportType) Enum() *TransportType {
  284. p := new(TransportType)
  285. *p = x
  286. return p
  287. }
  288. func (x TransportType) String() string {
  289. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  290. }
  291. func (TransportType) Descriptor() protoreflect.EnumDescriptor {
  292. return file_signalling_proto_enumTypes[4].Descriptor()
  293. }
  294. func (TransportType) Type() protoreflect.EnumType {
  295. return &file_signalling_proto_enumTypes[4]
  296. }
  297. func (x TransportType) Number() protoreflect.EnumNumber {
  298. return protoreflect.EnumNumber(x)
  299. }
  300. // Deprecated: Do not use.
  301. func (x *TransportType) UnmarshalJSON(b []byte) error {
  302. num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
  303. if err != nil {
  304. return err
  305. }
  306. *x = TransportType(num)
  307. return nil
  308. }
  309. // Deprecated: Use TransportType.Descriptor instead.
  310. func (TransportType) EnumDescriptor() ([]byte, []int) {
  311. return file_signalling_proto_rawDescGZIP(), []int{4}
  312. }
  313. type RegistrationSource int32
  314. const (
  315. RegistrationSource_Unspecified RegistrationSource = 0
  316. RegistrationSource_Detector RegistrationSource = 1
  317. RegistrationSource_API RegistrationSource = 2
  318. RegistrationSource_DetectorPrescan RegistrationSource = 3
  319. RegistrationSource_BidirectionalAPI RegistrationSource = 4
  320. )
  321. // Enum value maps for RegistrationSource.
  322. var (
  323. RegistrationSource_name = map[int32]string{
  324. 0: "Unspecified",
  325. 1: "Detector",
  326. 2: "API",
  327. 3: "DetectorPrescan",
  328. 4: "BidirectionalAPI",
  329. }
  330. RegistrationSource_value = map[string]int32{
  331. "Unspecified": 0,
  332. "Detector": 1,
  333. "API": 2,
  334. "DetectorPrescan": 3,
  335. "BidirectionalAPI": 4,
  336. }
  337. )
  338. func (x RegistrationSource) Enum() *RegistrationSource {
  339. p := new(RegistrationSource)
  340. *p = x
  341. return p
  342. }
  343. func (x RegistrationSource) String() string {
  344. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  345. }
  346. func (RegistrationSource) Descriptor() protoreflect.EnumDescriptor {
  347. return file_signalling_proto_enumTypes[5].Descriptor()
  348. }
  349. func (RegistrationSource) Type() protoreflect.EnumType {
  350. return &file_signalling_proto_enumTypes[5]
  351. }
  352. func (x RegistrationSource) Number() protoreflect.EnumNumber {
  353. return protoreflect.EnumNumber(x)
  354. }
  355. // Deprecated: Do not use.
  356. func (x *RegistrationSource) UnmarshalJSON(b []byte) error {
  357. num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
  358. if err != nil {
  359. return err
  360. }
  361. *x = RegistrationSource(num)
  362. return nil
  363. }
  364. // Deprecated: Use RegistrationSource.Descriptor instead.
  365. func (RegistrationSource) EnumDescriptor() ([]byte, []int) {
  366. return file_signalling_proto_rawDescGZIP(), []int{5}
  367. }
  368. type PubKey struct {
  369. state protoimpl.MessageState
  370. sizeCache protoimpl.SizeCache
  371. unknownFields protoimpl.UnknownFields
  372. // A public key, as used by the station.
  373. Key []byte `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"`
  374. Type *KeyType `protobuf:"varint,2,opt,name=type,enum=tapdance.KeyType" json:"type,omitempty"`
  375. }
  376. func (x *PubKey) Reset() {
  377. *x = PubKey{}
  378. if protoimpl.UnsafeEnabled {
  379. mi := &file_signalling_proto_msgTypes[0]
  380. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  381. ms.StoreMessageInfo(mi)
  382. }
  383. }
  384. func (x *PubKey) String() string {
  385. return protoimpl.X.MessageStringOf(x)
  386. }
  387. func (*PubKey) ProtoMessage() {}
  388. func (x *PubKey) ProtoReflect() protoreflect.Message {
  389. mi := &file_signalling_proto_msgTypes[0]
  390. if protoimpl.UnsafeEnabled && x != nil {
  391. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  392. if ms.LoadMessageInfo() == nil {
  393. ms.StoreMessageInfo(mi)
  394. }
  395. return ms
  396. }
  397. return mi.MessageOf(x)
  398. }
  399. // Deprecated: Use PubKey.ProtoReflect.Descriptor instead.
  400. func (*PubKey) Descriptor() ([]byte, []int) {
  401. return file_signalling_proto_rawDescGZIP(), []int{0}
  402. }
  403. func (x *PubKey) GetKey() []byte {
  404. if x != nil {
  405. return x.Key
  406. }
  407. return nil
  408. }
  409. func (x *PubKey) GetType() KeyType {
  410. if x != nil && x.Type != nil {
  411. return *x.Type
  412. }
  413. return KeyType_AES_GCM_128
  414. }
  415. type TLSDecoySpec struct {
  416. state protoimpl.MessageState
  417. sizeCache protoimpl.SizeCache
  418. unknownFields protoimpl.UnknownFields
  419. // The hostname/SNI to use for this host
  420. //
  421. // The hostname is the only required field, although other
  422. // fields are expected to be present in most cases.
  423. Hostname *string `protobuf:"bytes,1,opt,name=hostname" json:"hostname,omitempty"`
  424. // The 32-bit ipv4 address, in network byte order
  425. //
  426. // If the IPv4 address is absent, then it may be resolved via
  427. // DNS by the client, or the client may discard this decoy spec
  428. // if local DNS is untrusted, or the service may be multihomed.
  429. Ipv4Addr *uint32 `protobuf:"fixed32,2,opt,name=ipv4addr" json:"ipv4addr,omitempty"`
  430. // The 128-bit ipv6 address, in network byte order
  431. Ipv6Addr []byte `protobuf:"bytes,6,opt,name=ipv6addr" json:"ipv6addr,omitempty"`
  432. // The Tapdance station public key to use when contacting this
  433. // decoy
  434. //
  435. // If omitted, the default station public key (if any) is used.
  436. Pubkey *PubKey `protobuf:"bytes,3,opt,name=pubkey" json:"pubkey,omitempty"`
  437. // The maximum duration, in milliseconds, to maintain an open
  438. // connection to this decoy (because the decoy may close the
  439. // connection itself after this length of time)
  440. //
  441. // If omitted, a default of 30,000 milliseconds is assumed.
  442. Timeout *uint32 `protobuf:"varint,4,opt,name=timeout" json:"timeout,omitempty"`
  443. // The maximum TCP window size to attempt to use for this decoy.
  444. //
  445. // If omitted, a default of 15360 is assumed.
  446. //
  447. // TODO: the default is based on the current heuristic of only
  448. // using decoys that permit windows of 15KB or larger. If this
  449. // heuristic changes, then this default doesn't make sense.
  450. Tcpwin *uint32 `protobuf:"varint,5,opt,name=tcpwin" json:"tcpwin,omitempty"`
  451. }
  452. func (x *TLSDecoySpec) Reset() {
  453. *x = TLSDecoySpec{}
  454. if protoimpl.UnsafeEnabled {
  455. mi := &file_signalling_proto_msgTypes[1]
  456. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  457. ms.StoreMessageInfo(mi)
  458. }
  459. }
  460. func (x *TLSDecoySpec) String() string {
  461. return protoimpl.X.MessageStringOf(x)
  462. }
  463. func (*TLSDecoySpec) ProtoMessage() {}
  464. func (x *TLSDecoySpec) ProtoReflect() protoreflect.Message {
  465. mi := &file_signalling_proto_msgTypes[1]
  466. if protoimpl.UnsafeEnabled && x != nil {
  467. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  468. if ms.LoadMessageInfo() == nil {
  469. ms.StoreMessageInfo(mi)
  470. }
  471. return ms
  472. }
  473. return mi.MessageOf(x)
  474. }
  475. // Deprecated: Use TLSDecoySpec.ProtoReflect.Descriptor instead.
  476. func (*TLSDecoySpec) Descriptor() ([]byte, []int) {
  477. return file_signalling_proto_rawDescGZIP(), []int{1}
  478. }
  479. func (x *TLSDecoySpec) GetHostname() string {
  480. if x != nil && x.Hostname != nil {
  481. return *x.Hostname
  482. }
  483. return ""
  484. }
  485. func (x *TLSDecoySpec) GetIpv4Addr() uint32 {
  486. if x != nil && x.Ipv4Addr != nil {
  487. return *x.Ipv4Addr
  488. }
  489. return 0
  490. }
  491. func (x *TLSDecoySpec) GetIpv6Addr() []byte {
  492. if x != nil {
  493. return x.Ipv6Addr
  494. }
  495. return nil
  496. }
  497. func (x *TLSDecoySpec) GetPubkey() *PubKey {
  498. if x != nil {
  499. return x.Pubkey
  500. }
  501. return nil
  502. }
  503. func (x *TLSDecoySpec) GetTimeout() uint32 {
  504. if x != nil && x.Timeout != nil {
  505. return *x.Timeout
  506. }
  507. return 0
  508. }
  509. func (x *TLSDecoySpec) GetTcpwin() uint32 {
  510. if x != nil && x.Tcpwin != nil {
  511. return *x.Tcpwin
  512. }
  513. return 0
  514. }
  515. type ClientConf struct {
  516. state protoimpl.MessageState
  517. sizeCache protoimpl.SizeCache
  518. unknownFields protoimpl.UnknownFields
  519. DecoyList *DecoyList `protobuf:"bytes,1,opt,name=decoy_list,json=decoyList" json:"decoy_list,omitempty"`
  520. Generation *uint32 `protobuf:"varint,2,opt,name=generation" json:"generation,omitempty"`
  521. DefaultPubkey *PubKey `protobuf:"bytes,3,opt,name=default_pubkey,json=defaultPubkey" json:"default_pubkey,omitempty"`
  522. PhantomSubnetsList *PhantomSubnetsList `protobuf:"bytes,4,opt,name=phantom_subnets_list,json=phantomSubnetsList" json:"phantom_subnets_list,omitempty"`
  523. ConjurePubkey *PubKey `protobuf:"bytes,5,opt,name=conjure_pubkey,json=conjurePubkey" json:"conjure_pubkey,omitempty"`
  524. }
  525. func (x *ClientConf) Reset() {
  526. *x = ClientConf{}
  527. if protoimpl.UnsafeEnabled {
  528. mi := &file_signalling_proto_msgTypes[2]
  529. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  530. ms.StoreMessageInfo(mi)
  531. }
  532. }
  533. func (x *ClientConf) String() string {
  534. return protoimpl.X.MessageStringOf(x)
  535. }
  536. func (*ClientConf) ProtoMessage() {}
  537. func (x *ClientConf) ProtoReflect() protoreflect.Message {
  538. mi := &file_signalling_proto_msgTypes[2]
  539. if protoimpl.UnsafeEnabled && x != nil {
  540. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  541. if ms.LoadMessageInfo() == nil {
  542. ms.StoreMessageInfo(mi)
  543. }
  544. return ms
  545. }
  546. return mi.MessageOf(x)
  547. }
  548. // Deprecated: Use ClientConf.ProtoReflect.Descriptor instead.
  549. func (*ClientConf) Descriptor() ([]byte, []int) {
  550. return file_signalling_proto_rawDescGZIP(), []int{2}
  551. }
  552. func (x *ClientConf) GetDecoyList() *DecoyList {
  553. if x != nil {
  554. return x.DecoyList
  555. }
  556. return nil
  557. }
  558. func (x *ClientConf) GetGeneration() uint32 {
  559. if x != nil && x.Generation != nil {
  560. return *x.Generation
  561. }
  562. return 0
  563. }
  564. func (x *ClientConf) GetDefaultPubkey() *PubKey {
  565. if x != nil {
  566. return x.DefaultPubkey
  567. }
  568. return nil
  569. }
  570. func (x *ClientConf) GetPhantomSubnetsList() *PhantomSubnetsList {
  571. if x != nil {
  572. return x.PhantomSubnetsList
  573. }
  574. return nil
  575. }
  576. func (x *ClientConf) GetConjurePubkey() *PubKey {
  577. if x != nil {
  578. return x.ConjurePubkey
  579. }
  580. return nil
  581. }
  582. type DecoyList struct {
  583. state protoimpl.MessageState
  584. sizeCache protoimpl.SizeCache
  585. unknownFields protoimpl.UnknownFields
  586. TlsDecoys []*TLSDecoySpec `protobuf:"bytes,1,rep,name=tls_decoys,json=tlsDecoys" json:"tls_decoys,omitempty"`
  587. }
  588. func (x *DecoyList) Reset() {
  589. *x = DecoyList{}
  590. if protoimpl.UnsafeEnabled {
  591. mi := &file_signalling_proto_msgTypes[3]
  592. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  593. ms.StoreMessageInfo(mi)
  594. }
  595. }
  596. func (x *DecoyList) String() string {
  597. return protoimpl.X.MessageStringOf(x)
  598. }
  599. func (*DecoyList) ProtoMessage() {}
  600. func (x *DecoyList) ProtoReflect() protoreflect.Message {
  601. mi := &file_signalling_proto_msgTypes[3]
  602. if protoimpl.UnsafeEnabled && x != nil {
  603. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  604. if ms.LoadMessageInfo() == nil {
  605. ms.StoreMessageInfo(mi)
  606. }
  607. return ms
  608. }
  609. return mi.MessageOf(x)
  610. }
  611. // Deprecated: Use DecoyList.ProtoReflect.Descriptor instead.
  612. func (*DecoyList) Descriptor() ([]byte, []int) {
  613. return file_signalling_proto_rawDescGZIP(), []int{3}
  614. }
  615. func (x *DecoyList) GetTlsDecoys() []*TLSDecoySpec {
  616. if x != nil {
  617. return x.TlsDecoys
  618. }
  619. return nil
  620. }
  621. type PhantomSubnetsList struct {
  622. state protoimpl.MessageState
  623. sizeCache protoimpl.SizeCache
  624. unknownFields protoimpl.UnknownFields
  625. WeightedSubnets []*PhantomSubnets `protobuf:"bytes,1,rep,name=weighted_subnets,json=weightedSubnets" json:"weighted_subnets,omitempty"`
  626. }
  627. func (x *PhantomSubnetsList) Reset() {
  628. *x = PhantomSubnetsList{}
  629. if protoimpl.UnsafeEnabled {
  630. mi := &file_signalling_proto_msgTypes[4]
  631. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  632. ms.StoreMessageInfo(mi)
  633. }
  634. }
  635. func (x *PhantomSubnetsList) String() string {
  636. return protoimpl.X.MessageStringOf(x)
  637. }
  638. func (*PhantomSubnetsList) ProtoMessage() {}
  639. func (x *PhantomSubnetsList) ProtoReflect() protoreflect.Message {
  640. mi := &file_signalling_proto_msgTypes[4]
  641. if protoimpl.UnsafeEnabled && x != nil {
  642. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  643. if ms.LoadMessageInfo() == nil {
  644. ms.StoreMessageInfo(mi)
  645. }
  646. return ms
  647. }
  648. return mi.MessageOf(x)
  649. }
  650. // Deprecated: Use PhantomSubnetsList.ProtoReflect.Descriptor instead.
  651. func (*PhantomSubnetsList) Descriptor() ([]byte, []int) {
  652. return file_signalling_proto_rawDescGZIP(), []int{4}
  653. }
  654. func (x *PhantomSubnetsList) GetWeightedSubnets() []*PhantomSubnets {
  655. if x != nil {
  656. return x.WeightedSubnets
  657. }
  658. return nil
  659. }
  660. type PhantomSubnets struct {
  661. state protoimpl.MessageState
  662. sizeCache protoimpl.SizeCache
  663. unknownFields protoimpl.UnknownFields
  664. Weight *uint32 `protobuf:"varint,1,opt,name=weight" json:"weight,omitempty"`
  665. Subnets []string `protobuf:"bytes,2,rep,name=subnets" json:"subnets,omitempty"`
  666. }
  667. func (x *PhantomSubnets) Reset() {
  668. *x = PhantomSubnets{}
  669. if protoimpl.UnsafeEnabled {
  670. mi := &file_signalling_proto_msgTypes[5]
  671. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  672. ms.StoreMessageInfo(mi)
  673. }
  674. }
  675. func (x *PhantomSubnets) String() string {
  676. return protoimpl.X.MessageStringOf(x)
  677. }
  678. func (*PhantomSubnets) ProtoMessage() {}
  679. func (x *PhantomSubnets) ProtoReflect() protoreflect.Message {
  680. mi := &file_signalling_proto_msgTypes[5]
  681. if protoimpl.UnsafeEnabled && x != nil {
  682. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  683. if ms.LoadMessageInfo() == nil {
  684. ms.StoreMessageInfo(mi)
  685. }
  686. return ms
  687. }
  688. return mi.MessageOf(x)
  689. }
  690. // Deprecated: Use PhantomSubnets.ProtoReflect.Descriptor instead.
  691. func (*PhantomSubnets) Descriptor() ([]byte, []int) {
  692. return file_signalling_proto_rawDescGZIP(), []int{5}
  693. }
  694. func (x *PhantomSubnets) GetWeight() uint32 {
  695. if x != nil && x.Weight != nil {
  696. return *x.Weight
  697. }
  698. return 0
  699. }
  700. func (x *PhantomSubnets) GetSubnets() []string {
  701. if x != nil {
  702. return x.Subnets
  703. }
  704. return nil
  705. }
  706. // Deflated ICE Candidate by seed2sdp package
  707. type WebRTCICECandidate struct {
  708. state protoimpl.MessageState
  709. sizeCache protoimpl.SizeCache
  710. unknownFields protoimpl.UnknownFields
  711. // IP is represented in its 16-byte form
  712. IpUpper *uint64 `protobuf:"varint,1,req,name=ip_upper,json=ipUpper" json:"ip_upper,omitempty"`
  713. IpLower *uint64 `protobuf:"varint,2,req,name=ip_lower,json=ipLower" json:"ip_lower,omitempty"`
  714. // Composed info includes port, tcptype (unset if not tcp), candidate type (host, srflx, prflx), protocol (TCP/UDP), and component (RTP/RTCP)
  715. ComposedInfo *uint32 `protobuf:"varint,3,req,name=composed_info,json=composedInfo" json:"composed_info,omitempty"`
  716. }
  717. func (x *WebRTCICECandidate) Reset() {
  718. *x = WebRTCICECandidate{}
  719. if protoimpl.UnsafeEnabled {
  720. mi := &file_signalling_proto_msgTypes[6]
  721. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  722. ms.StoreMessageInfo(mi)
  723. }
  724. }
  725. func (x *WebRTCICECandidate) String() string {
  726. return protoimpl.X.MessageStringOf(x)
  727. }
  728. func (*WebRTCICECandidate) ProtoMessage() {}
  729. func (x *WebRTCICECandidate) ProtoReflect() protoreflect.Message {
  730. mi := &file_signalling_proto_msgTypes[6]
  731. if protoimpl.UnsafeEnabled && x != nil {
  732. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  733. if ms.LoadMessageInfo() == nil {
  734. ms.StoreMessageInfo(mi)
  735. }
  736. return ms
  737. }
  738. return mi.MessageOf(x)
  739. }
  740. // Deprecated: Use WebRTCICECandidate.ProtoReflect.Descriptor instead.
  741. func (*WebRTCICECandidate) Descriptor() ([]byte, []int) {
  742. return file_signalling_proto_rawDescGZIP(), []int{6}
  743. }
  744. func (x *WebRTCICECandidate) GetIpUpper() uint64 {
  745. if x != nil && x.IpUpper != nil {
  746. return *x.IpUpper
  747. }
  748. return 0
  749. }
  750. func (x *WebRTCICECandidate) GetIpLower() uint64 {
  751. if x != nil && x.IpLower != nil {
  752. return *x.IpLower
  753. }
  754. return 0
  755. }
  756. func (x *WebRTCICECandidate) GetComposedInfo() uint32 {
  757. if x != nil && x.ComposedInfo != nil {
  758. return *x.ComposedInfo
  759. }
  760. return 0
  761. }
  762. // Deflated SDP for WebRTC by seed2sdp package
  763. type WebRTCSDP struct {
  764. state protoimpl.MessageState
  765. sizeCache protoimpl.SizeCache
  766. unknownFields protoimpl.UnknownFields
  767. Type *uint32 `protobuf:"varint,1,req,name=type" json:"type,omitempty"`
  768. Candidates []*WebRTCICECandidate `protobuf:"bytes,2,rep,name=candidates" json:"candidates,omitempty"` // there could be multiple candidates
  769. }
  770. func (x *WebRTCSDP) Reset() {
  771. *x = WebRTCSDP{}
  772. if protoimpl.UnsafeEnabled {
  773. mi := &file_signalling_proto_msgTypes[7]
  774. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  775. ms.StoreMessageInfo(mi)
  776. }
  777. }
  778. func (x *WebRTCSDP) String() string {
  779. return protoimpl.X.MessageStringOf(x)
  780. }
  781. func (*WebRTCSDP) ProtoMessage() {}
  782. func (x *WebRTCSDP) ProtoReflect() protoreflect.Message {
  783. mi := &file_signalling_proto_msgTypes[7]
  784. if protoimpl.UnsafeEnabled && x != nil {
  785. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  786. if ms.LoadMessageInfo() == nil {
  787. ms.StoreMessageInfo(mi)
  788. }
  789. return ms
  790. }
  791. return mi.MessageOf(x)
  792. }
  793. // Deprecated: Use WebRTCSDP.ProtoReflect.Descriptor instead.
  794. func (*WebRTCSDP) Descriptor() ([]byte, []int) {
  795. return file_signalling_proto_rawDescGZIP(), []int{7}
  796. }
  797. func (x *WebRTCSDP) GetType() uint32 {
  798. if x != nil && x.Type != nil {
  799. return *x.Type
  800. }
  801. return 0
  802. }
  803. func (x *WebRTCSDP) GetCandidates() []*WebRTCICECandidate {
  804. if x != nil {
  805. return x.Candidates
  806. }
  807. return nil
  808. }
  809. // WebRTCSignal includes a deflated SDP and a seed
  810. type WebRTCSignal struct {
  811. state protoimpl.MessageState
  812. sizeCache protoimpl.SizeCache
  813. unknownFields protoimpl.UnknownFields
  814. Seed *string `protobuf:"bytes,1,req,name=seed" json:"seed,omitempty"`
  815. Sdp *WebRTCSDP `protobuf:"bytes,2,req,name=sdp" json:"sdp,omitempty"`
  816. }
  817. func (x *WebRTCSignal) Reset() {
  818. *x = WebRTCSignal{}
  819. if protoimpl.UnsafeEnabled {
  820. mi := &file_signalling_proto_msgTypes[8]
  821. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  822. ms.StoreMessageInfo(mi)
  823. }
  824. }
  825. func (x *WebRTCSignal) String() string {
  826. return protoimpl.X.MessageStringOf(x)
  827. }
  828. func (*WebRTCSignal) ProtoMessage() {}
  829. func (x *WebRTCSignal) ProtoReflect() protoreflect.Message {
  830. mi := &file_signalling_proto_msgTypes[8]
  831. if protoimpl.UnsafeEnabled && x != nil {
  832. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  833. if ms.LoadMessageInfo() == nil {
  834. ms.StoreMessageInfo(mi)
  835. }
  836. return ms
  837. }
  838. return mi.MessageOf(x)
  839. }
  840. // Deprecated: Use WebRTCSignal.ProtoReflect.Descriptor instead.
  841. func (*WebRTCSignal) Descriptor() ([]byte, []int) {
  842. return file_signalling_proto_rawDescGZIP(), []int{8}
  843. }
  844. func (x *WebRTCSignal) GetSeed() string {
  845. if x != nil && x.Seed != nil {
  846. return *x.Seed
  847. }
  848. return ""
  849. }
  850. func (x *WebRTCSignal) GetSdp() *WebRTCSDP {
  851. if x != nil {
  852. return x.Sdp
  853. }
  854. return nil
  855. }
  856. type StationToClient struct {
  857. state protoimpl.MessageState
  858. sizeCache protoimpl.SizeCache
  859. unknownFields protoimpl.UnknownFields
  860. // Should accompany (at least) SESSION_INIT and CONFIRM_RECONNECT.
  861. ProtocolVersion *uint32 `protobuf:"varint,1,opt,name=protocol_version,json=protocolVersion" json:"protocol_version,omitempty"`
  862. // There might be a state transition. May be absent; absence should be
  863. // treated identically to NO_CHANGE.
  864. StateTransition *S2C_Transition `protobuf:"varint,2,opt,name=state_transition,json=stateTransition,enum=tapdance.S2C_Transition" json:"state_transition,omitempty"`
  865. // The station can send client config info piggybacked
  866. // on any message, as it sees fit
  867. ConfigInfo *ClientConf `protobuf:"bytes,3,opt,name=config_info,json=configInfo" json:"config_info,omitempty"`
  868. // If state_transition == S2C_ERROR, this field is the explanation.
  869. ErrReason *ErrorReasonS2C `protobuf:"varint,4,opt,name=err_reason,json=errReason,enum=tapdance.ErrorReasonS2C" json:"err_reason,omitempty"`
  870. // Signals client to stop connecting for following amount of seconds
  871. TmpBackoff *uint32 `protobuf:"varint,5,opt,name=tmp_backoff,json=tmpBackoff" json:"tmp_backoff,omitempty"`
  872. // Sent in SESSION_INIT, identifies the station that picked up
  873. StationId *string `protobuf:"bytes,6,opt,name=station_id,json=stationId" json:"station_id,omitempty"`
  874. // Random-sized junk to defeat packet size fingerprinting.
  875. Padding []byte `protobuf:"bytes,100,opt,name=padding" json:"padding,omitempty"`
  876. }
  877. func (x *StationToClient) Reset() {
  878. *x = StationToClient{}
  879. if protoimpl.UnsafeEnabled {
  880. mi := &file_signalling_proto_msgTypes[9]
  881. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  882. ms.StoreMessageInfo(mi)
  883. }
  884. }
  885. func (x *StationToClient) String() string {
  886. return protoimpl.X.MessageStringOf(x)
  887. }
  888. func (*StationToClient) ProtoMessage() {}
  889. func (x *StationToClient) ProtoReflect() protoreflect.Message {
  890. mi := &file_signalling_proto_msgTypes[9]
  891. if protoimpl.UnsafeEnabled && x != nil {
  892. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  893. if ms.LoadMessageInfo() == nil {
  894. ms.StoreMessageInfo(mi)
  895. }
  896. return ms
  897. }
  898. return mi.MessageOf(x)
  899. }
  900. // Deprecated: Use StationToClient.ProtoReflect.Descriptor instead.
  901. func (*StationToClient) Descriptor() ([]byte, []int) {
  902. return file_signalling_proto_rawDescGZIP(), []int{9}
  903. }
  904. func (x *StationToClient) GetProtocolVersion() uint32 {
  905. if x != nil && x.ProtocolVersion != nil {
  906. return *x.ProtocolVersion
  907. }
  908. return 0
  909. }
  910. func (x *StationToClient) GetStateTransition() S2C_Transition {
  911. if x != nil && x.StateTransition != nil {
  912. return *x.StateTransition
  913. }
  914. return S2C_Transition_S2C_NO_CHANGE
  915. }
  916. func (x *StationToClient) GetConfigInfo() *ClientConf {
  917. if x != nil {
  918. return x.ConfigInfo
  919. }
  920. return nil
  921. }
  922. func (x *StationToClient) GetErrReason() ErrorReasonS2C {
  923. if x != nil && x.ErrReason != nil {
  924. return *x.ErrReason
  925. }
  926. return ErrorReasonS2C_NO_ERROR
  927. }
  928. func (x *StationToClient) GetTmpBackoff() uint32 {
  929. if x != nil && x.TmpBackoff != nil {
  930. return *x.TmpBackoff
  931. }
  932. return 0
  933. }
  934. func (x *StationToClient) GetStationId() string {
  935. if x != nil && x.StationId != nil {
  936. return *x.StationId
  937. }
  938. return ""
  939. }
  940. func (x *StationToClient) GetPadding() []byte {
  941. if x != nil {
  942. return x.Padding
  943. }
  944. return nil
  945. }
  946. type RegistrationFlags struct {
  947. state protoimpl.MessageState
  948. sizeCache protoimpl.SizeCache
  949. unknownFields protoimpl.UnknownFields
  950. UploadOnly *bool `protobuf:"varint,1,opt,name=upload_only,json=uploadOnly" json:"upload_only,omitempty"`
  951. DarkDecoy *bool `protobuf:"varint,2,opt,name=dark_decoy,json=darkDecoy" json:"dark_decoy,omitempty"`
  952. ProxyHeader *bool `protobuf:"varint,3,opt,name=proxy_header,json=proxyHeader" json:"proxy_header,omitempty"`
  953. Use_TIL *bool `protobuf:"varint,4,opt,name=use_TIL,json=useTIL" json:"use_TIL,omitempty"`
  954. Prescanned *bool `protobuf:"varint,5,opt,name=prescanned" json:"prescanned,omitempty"`
  955. }
  956. func (x *RegistrationFlags) Reset() {
  957. *x = RegistrationFlags{}
  958. if protoimpl.UnsafeEnabled {
  959. mi := &file_signalling_proto_msgTypes[10]
  960. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  961. ms.StoreMessageInfo(mi)
  962. }
  963. }
  964. func (x *RegistrationFlags) String() string {
  965. return protoimpl.X.MessageStringOf(x)
  966. }
  967. func (*RegistrationFlags) ProtoMessage() {}
  968. func (x *RegistrationFlags) ProtoReflect() protoreflect.Message {
  969. mi := &file_signalling_proto_msgTypes[10]
  970. if protoimpl.UnsafeEnabled && x != nil {
  971. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  972. if ms.LoadMessageInfo() == nil {
  973. ms.StoreMessageInfo(mi)
  974. }
  975. return ms
  976. }
  977. return mi.MessageOf(x)
  978. }
  979. // Deprecated: Use RegistrationFlags.ProtoReflect.Descriptor instead.
  980. func (*RegistrationFlags) Descriptor() ([]byte, []int) {
  981. return file_signalling_proto_rawDescGZIP(), []int{10}
  982. }
  983. func (x *RegistrationFlags) GetUploadOnly() bool {
  984. if x != nil && x.UploadOnly != nil {
  985. return *x.UploadOnly
  986. }
  987. return false
  988. }
  989. func (x *RegistrationFlags) GetDarkDecoy() bool {
  990. if x != nil && x.DarkDecoy != nil {
  991. return *x.DarkDecoy
  992. }
  993. return false
  994. }
  995. func (x *RegistrationFlags) GetProxyHeader() bool {
  996. if x != nil && x.ProxyHeader != nil {
  997. return *x.ProxyHeader
  998. }
  999. return false
  1000. }
  1001. func (x *RegistrationFlags) GetUse_TIL() bool {
  1002. if x != nil && x.Use_TIL != nil {
  1003. return *x.Use_TIL
  1004. }
  1005. return false
  1006. }
  1007. func (x *RegistrationFlags) GetPrescanned() bool {
  1008. if x != nil && x.Prescanned != nil {
  1009. return *x.Prescanned
  1010. }
  1011. return false
  1012. }
  1013. type ClientToStation struct {
  1014. state protoimpl.MessageState
  1015. sizeCache protoimpl.SizeCache
  1016. unknownFields protoimpl.UnknownFields
  1017. ProtocolVersion *uint32 `protobuf:"varint,1,opt,name=protocol_version,json=protocolVersion" json:"protocol_version,omitempty"`
  1018. // The client reports its decoy list's version number here, which the
  1019. // station can use to decide whether to send an updated one. The station
  1020. // should always send a list if this field is set to 0.
  1021. DecoyListGeneration *uint32 `protobuf:"varint,2,opt,name=decoy_list_generation,json=decoyListGeneration" json:"decoy_list_generation,omitempty"`
  1022. StateTransition *C2S_Transition `protobuf:"varint,3,opt,name=state_transition,json=stateTransition,enum=tapdance.C2S_Transition" json:"state_transition,omitempty"`
  1023. // The position in the overall session's upload sequence where the current
  1024. // YIELD=>ACQUIRE switchover is happening.
  1025. UploadSync *uint64 `protobuf:"varint,4,opt,name=upload_sync,json=uploadSync" json:"upload_sync,omitempty"`
  1026. // List of decoys that client have unsuccessfully tried in current session.
  1027. // Could be sent in chunks
  1028. FailedDecoys []string `protobuf:"bytes,10,rep,name=failed_decoys,json=failedDecoys" json:"failed_decoys,omitempty"`
  1029. Stats *SessionStats `protobuf:"bytes,11,opt,name=stats" json:"stats,omitempty"`
  1030. // NullTransport, MinTransport, Obfs4Transport, etc. Transport type we want from phantom proxy
  1031. Transport *TransportType `protobuf:"varint,12,opt,name=transport,enum=tapdance.TransportType" json:"transport,omitempty"`
  1032. // Station is only required to check this variable during session initialization.
  1033. // If set, station must facilitate connection to said target by itself, i.e. write into squid
  1034. // socket an HTTP/SOCKS/any other connection request.
  1035. // covert_address must have exactly one ':' colon, that separates host (literal IP address or
  1036. // resolvable hostname) and port
  1037. // TODO: make it required for initialization, and stop connecting any client straight to squid?
  1038. CovertAddress *string `protobuf:"bytes,20,opt,name=covert_address,json=covertAddress" json:"covert_address,omitempty"`
  1039. // Used in dark decoys to signal which dark decoy it will connect to.
  1040. MaskedDecoyServerName *string `protobuf:"bytes,21,opt,name=masked_decoy_server_name,json=maskedDecoyServerName" json:"masked_decoy_server_name,omitempty"`
  1041. // Used to indicate to server if client is registering v4, v6 or both
  1042. V6Support *bool `protobuf:"varint,22,opt,name=v6_support,json=v6Support" json:"v6_support,omitempty"`
  1043. V4Support *bool `protobuf:"varint,23,opt,name=v4_support,json=v4Support" json:"v4_support,omitempty"`
  1044. // A collection of optional flags for the registration.
  1045. Flags *RegistrationFlags `protobuf:"bytes,24,opt,name=flags" json:"flags,omitempty"`
  1046. // Transport Extensions
  1047. WebrtcSignal *WebRTCSignal `protobuf:"bytes,31,opt,name=webrtc_signal,json=webrtcSignal" json:"webrtc_signal,omitempty"`
  1048. // Random-sized junk to defeat packet size fingerprinting.
  1049. Padding []byte `protobuf:"bytes,100,opt,name=padding" json:"padding,omitempty"`
  1050. }
  1051. func (x *ClientToStation) Reset() {
  1052. *x = ClientToStation{}
  1053. if protoimpl.UnsafeEnabled {
  1054. mi := &file_signalling_proto_msgTypes[11]
  1055. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1056. ms.StoreMessageInfo(mi)
  1057. }
  1058. }
  1059. func (x *ClientToStation) String() string {
  1060. return protoimpl.X.MessageStringOf(x)
  1061. }
  1062. func (*ClientToStation) ProtoMessage() {}
  1063. func (x *ClientToStation) ProtoReflect() protoreflect.Message {
  1064. mi := &file_signalling_proto_msgTypes[11]
  1065. if protoimpl.UnsafeEnabled && x != nil {
  1066. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1067. if ms.LoadMessageInfo() == nil {
  1068. ms.StoreMessageInfo(mi)
  1069. }
  1070. return ms
  1071. }
  1072. return mi.MessageOf(x)
  1073. }
  1074. // Deprecated: Use ClientToStation.ProtoReflect.Descriptor instead.
  1075. func (*ClientToStation) Descriptor() ([]byte, []int) {
  1076. return file_signalling_proto_rawDescGZIP(), []int{11}
  1077. }
  1078. func (x *ClientToStation) GetProtocolVersion() uint32 {
  1079. if x != nil && x.ProtocolVersion != nil {
  1080. return *x.ProtocolVersion
  1081. }
  1082. return 0
  1083. }
  1084. func (x *ClientToStation) GetDecoyListGeneration() uint32 {
  1085. if x != nil && x.DecoyListGeneration != nil {
  1086. return *x.DecoyListGeneration
  1087. }
  1088. return 0
  1089. }
  1090. func (x *ClientToStation) GetStateTransition() C2S_Transition {
  1091. if x != nil && x.StateTransition != nil {
  1092. return *x.StateTransition
  1093. }
  1094. return C2S_Transition_C2S_NO_CHANGE
  1095. }
  1096. func (x *ClientToStation) GetUploadSync() uint64 {
  1097. if x != nil && x.UploadSync != nil {
  1098. return *x.UploadSync
  1099. }
  1100. return 0
  1101. }
  1102. func (x *ClientToStation) GetFailedDecoys() []string {
  1103. if x != nil {
  1104. return x.FailedDecoys
  1105. }
  1106. return nil
  1107. }
  1108. func (x *ClientToStation) GetStats() *SessionStats {
  1109. if x != nil {
  1110. return x.Stats
  1111. }
  1112. return nil
  1113. }
  1114. func (x *ClientToStation) GetTransport() TransportType {
  1115. if x != nil && x.Transport != nil {
  1116. return *x.Transport
  1117. }
  1118. return TransportType_Null
  1119. }
  1120. func (x *ClientToStation) GetCovertAddress() string {
  1121. if x != nil && x.CovertAddress != nil {
  1122. return *x.CovertAddress
  1123. }
  1124. return ""
  1125. }
  1126. func (x *ClientToStation) GetMaskedDecoyServerName() string {
  1127. if x != nil && x.MaskedDecoyServerName != nil {
  1128. return *x.MaskedDecoyServerName
  1129. }
  1130. return ""
  1131. }
  1132. func (x *ClientToStation) GetV6Support() bool {
  1133. if x != nil && x.V6Support != nil {
  1134. return *x.V6Support
  1135. }
  1136. return false
  1137. }
  1138. func (x *ClientToStation) GetV4Support() bool {
  1139. if x != nil && x.V4Support != nil {
  1140. return *x.V4Support
  1141. }
  1142. return false
  1143. }
  1144. func (x *ClientToStation) GetFlags() *RegistrationFlags {
  1145. if x != nil {
  1146. return x.Flags
  1147. }
  1148. return nil
  1149. }
  1150. func (x *ClientToStation) GetWebrtcSignal() *WebRTCSignal {
  1151. if x != nil {
  1152. return x.WebrtcSignal
  1153. }
  1154. return nil
  1155. }
  1156. func (x *ClientToStation) GetPadding() []byte {
  1157. if x != nil {
  1158. return x.Padding
  1159. }
  1160. return nil
  1161. }
  1162. type C2SWrapper struct {
  1163. state protoimpl.MessageState
  1164. sizeCache protoimpl.SizeCache
  1165. unknownFields protoimpl.UnknownFields
  1166. SharedSecret []byte `protobuf:"bytes,1,opt,name=shared_secret,json=sharedSecret" json:"shared_secret,omitempty"`
  1167. RegistrationPayload *ClientToStation `protobuf:"bytes,3,opt,name=registration_payload,json=registrationPayload" json:"registration_payload,omitempty"`
  1168. RegistrationSource *RegistrationSource `protobuf:"varint,4,opt,name=registration_source,json=registrationSource,enum=tapdance.RegistrationSource" json:"registration_source,omitempty"`
  1169. // client source address when receiving a registration
  1170. RegistrationAddress []byte `protobuf:"bytes,6,opt,name=registration_address,json=registrationAddress" json:"registration_address,omitempty"`
  1171. // Decoy address used when registering over Decoy registrar
  1172. DecoyAddress []byte `protobuf:"bytes,7,opt,name=decoy_address,json=decoyAddress" json:"decoy_address,omitempty"`
  1173. RegistrationResponse *RegistrationResponse `protobuf:"bytes,8,opt,name=registration_response,json=registrationResponse" json:"registration_response,omitempty"`
  1174. }
  1175. func (x *C2SWrapper) Reset() {
  1176. *x = C2SWrapper{}
  1177. if protoimpl.UnsafeEnabled {
  1178. mi := &file_signalling_proto_msgTypes[12]
  1179. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1180. ms.StoreMessageInfo(mi)
  1181. }
  1182. }
  1183. func (x *C2SWrapper) String() string {
  1184. return protoimpl.X.MessageStringOf(x)
  1185. }
  1186. func (*C2SWrapper) ProtoMessage() {}
  1187. func (x *C2SWrapper) ProtoReflect() protoreflect.Message {
  1188. mi := &file_signalling_proto_msgTypes[12]
  1189. if protoimpl.UnsafeEnabled && x != nil {
  1190. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1191. if ms.LoadMessageInfo() == nil {
  1192. ms.StoreMessageInfo(mi)
  1193. }
  1194. return ms
  1195. }
  1196. return mi.MessageOf(x)
  1197. }
  1198. // Deprecated: Use C2SWrapper.ProtoReflect.Descriptor instead.
  1199. func (*C2SWrapper) Descriptor() ([]byte, []int) {
  1200. return file_signalling_proto_rawDescGZIP(), []int{12}
  1201. }
  1202. func (x *C2SWrapper) GetSharedSecret() []byte {
  1203. if x != nil {
  1204. return x.SharedSecret
  1205. }
  1206. return nil
  1207. }
  1208. func (x *C2SWrapper) GetRegistrationPayload() *ClientToStation {
  1209. if x != nil {
  1210. return x.RegistrationPayload
  1211. }
  1212. return nil
  1213. }
  1214. func (x *C2SWrapper) GetRegistrationSource() RegistrationSource {
  1215. if x != nil && x.RegistrationSource != nil {
  1216. return *x.RegistrationSource
  1217. }
  1218. return RegistrationSource_Unspecified
  1219. }
  1220. func (x *C2SWrapper) GetRegistrationAddress() []byte {
  1221. if x != nil {
  1222. return x.RegistrationAddress
  1223. }
  1224. return nil
  1225. }
  1226. func (x *C2SWrapper) GetDecoyAddress() []byte {
  1227. if x != nil {
  1228. return x.DecoyAddress
  1229. }
  1230. return nil
  1231. }
  1232. func (x *C2SWrapper) GetRegistrationResponse() *RegistrationResponse {
  1233. if x != nil {
  1234. return x.RegistrationResponse
  1235. }
  1236. return nil
  1237. }
  1238. type SessionStats struct {
  1239. state protoimpl.MessageState
  1240. sizeCache protoimpl.SizeCache
  1241. unknownFields protoimpl.UnknownFields
  1242. FailedDecoysAmount *uint32 `protobuf:"varint,20,opt,name=failed_decoys_amount,json=failedDecoysAmount" json:"failed_decoys_amount,omitempty"` // how many decoys were tried before success
  1243. // Applicable to whole session:
  1244. TotalTimeToConnect *uint32 `protobuf:"varint,31,opt,name=total_time_to_connect,json=totalTimeToConnect" json:"total_time_to_connect,omitempty"` // includes failed attempts
  1245. // Last (i.e. successful) decoy:
  1246. RttToStation *uint32 `protobuf:"varint,33,opt,name=rtt_to_station,json=rttToStation" json:"rtt_to_station,omitempty"` // measured during initial handshake
  1247. TlsToDecoy *uint32 `protobuf:"varint,38,opt,name=tls_to_decoy,json=tlsToDecoy" json:"tls_to_decoy,omitempty"` // includes tcp to decoy
  1248. TcpToDecoy *uint32 `protobuf:"varint,39,opt,name=tcp_to_decoy,json=tcpToDecoy" json:"tcp_to_decoy,omitempty"` // measured when establishing tcp connection to decot
  1249. }
  1250. func (x *SessionStats) Reset() {
  1251. *x = SessionStats{}
  1252. if protoimpl.UnsafeEnabled {
  1253. mi := &file_signalling_proto_msgTypes[13]
  1254. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1255. ms.StoreMessageInfo(mi)
  1256. }
  1257. }
  1258. func (x *SessionStats) String() string {
  1259. return protoimpl.X.MessageStringOf(x)
  1260. }
  1261. func (*SessionStats) ProtoMessage() {}
  1262. func (x *SessionStats) ProtoReflect() protoreflect.Message {
  1263. mi := &file_signalling_proto_msgTypes[13]
  1264. if protoimpl.UnsafeEnabled && x != nil {
  1265. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1266. if ms.LoadMessageInfo() == nil {
  1267. ms.StoreMessageInfo(mi)
  1268. }
  1269. return ms
  1270. }
  1271. return mi.MessageOf(x)
  1272. }
  1273. // Deprecated: Use SessionStats.ProtoReflect.Descriptor instead.
  1274. func (*SessionStats) Descriptor() ([]byte, []int) {
  1275. return file_signalling_proto_rawDescGZIP(), []int{13}
  1276. }
  1277. func (x *SessionStats) GetFailedDecoysAmount() uint32 {
  1278. if x != nil && x.FailedDecoysAmount != nil {
  1279. return *x.FailedDecoysAmount
  1280. }
  1281. return 0
  1282. }
  1283. func (x *SessionStats) GetTotalTimeToConnect() uint32 {
  1284. if x != nil && x.TotalTimeToConnect != nil {
  1285. return *x.TotalTimeToConnect
  1286. }
  1287. return 0
  1288. }
  1289. func (x *SessionStats) GetRttToStation() uint32 {
  1290. if x != nil && x.RttToStation != nil {
  1291. return *x.RttToStation
  1292. }
  1293. return 0
  1294. }
  1295. func (x *SessionStats) GetTlsToDecoy() uint32 {
  1296. if x != nil && x.TlsToDecoy != nil {
  1297. return *x.TlsToDecoy
  1298. }
  1299. return 0
  1300. }
  1301. func (x *SessionStats) GetTcpToDecoy() uint32 {
  1302. if x != nil && x.TcpToDecoy != nil {
  1303. return *x.TcpToDecoy
  1304. }
  1305. return 0
  1306. }
  1307. type StationToDetector struct {
  1308. state protoimpl.MessageState
  1309. sizeCache protoimpl.SizeCache
  1310. unknownFields protoimpl.UnknownFields
  1311. PhantomIp *string `protobuf:"bytes,1,opt,name=phantom_ip,json=phantomIp" json:"phantom_ip,omitempty"`
  1312. ClientIp *string `protobuf:"bytes,2,opt,name=client_ip,json=clientIp" json:"client_ip,omitempty"`
  1313. TimeoutNs *uint64 `protobuf:"varint,3,opt,name=timeout_ns,json=timeoutNs" json:"timeout_ns,omitempty"`
  1314. }
  1315. func (x *StationToDetector) Reset() {
  1316. *x = StationToDetector{}
  1317. if protoimpl.UnsafeEnabled {
  1318. mi := &file_signalling_proto_msgTypes[14]
  1319. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1320. ms.StoreMessageInfo(mi)
  1321. }
  1322. }
  1323. func (x *StationToDetector) String() string {
  1324. return protoimpl.X.MessageStringOf(x)
  1325. }
  1326. func (*StationToDetector) ProtoMessage() {}
  1327. func (x *StationToDetector) ProtoReflect() protoreflect.Message {
  1328. mi := &file_signalling_proto_msgTypes[14]
  1329. if protoimpl.UnsafeEnabled && x != nil {
  1330. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1331. if ms.LoadMessageInfo() == nil {
  1332. ms.StoreMessageInfo(mi)
  1333. }
  1334. return ms
  1335. }
  1336. return mi.MessageOf(x)
  1337. }
  1338. // Deprecated: Use StationToDetector.ProtoReflect.Descriptor instead.
  1339. func (*StationToDetector) Descriptor() ([]byte, []int) {
  1340. return file_signalling_proto_rawDescGZIP(), []int{14}
  1341. }
  1342. func (x *StationToDetector) GetPhantomIp() string {
  1343. if x != nil && x.PhantomIp != nil {
  1344. return *x.PhantomIp
  1345. }
  1346. return ""
  1347. }
  1348. func (x *StationToDetector) GetClientIp() string {
  1349. if x != nil && x.ClientIp != nil {
  1350. return *x.ClientIp
  1351. }
  1352. return ""
  1353. }
  1354. func (x *StationToDetector) GetTimeoutNs() uint64 {
  1355. if x != nil && x.TimeoutNs != nil {
  1356. return *x.TimeoutNs
  1357. }
  1358. return 0
  1359. }
  1360. // Adding message response from Station to Client for birdirectional API
  1361. type RegistrationResponse struct {
  1362. state protoimpl.MessageState
  1363. sizeCache protoimpl.SizeCache
  1364. unknownFields protoimpl.UnknownFields
  1365. Ipv4Addr *uint32 `protobuf:"fixed32,1,opt,name=ipv4addr" json:"ipv4addr,omitempty"`
  1366. // The 128-bit ipv6 address, in network byte order
  1367. Ipv6Addr []byte `protobuf:"bytes,2,opt,name=ipv6addr" json:"ipv6addr,omitempty"`
  1368. // Respond with randomized port
  1369. Port *uint32 `protobuf:"varint,3,opt,name=port" json:"port,omitempty"`
  1370. // Future: station provides client with secret, want chanel present
  1371. // Leave null for now
  1372. ServerRandom []byte `protobuf:"bytes,4,opt,name=serverRandom" json:"serverRandom,omitempty"`
  1373. // If registration wrong, populate this error string
  1374. Error *string `protobuf:"bytes,5,opt,name=error" json:"error,omitempty"`
  1375. // ClientConf field (optional)
  1376. ClientConf *ClientConf `protobuf:"bytes,6,opt,name=clientConf" json:"clientConf,omitempty"`
  1377. }
  1378. func (x *RegistrationResponse) Reset() {
  1379. *x = RegistrationResponse{}
  1380. if protoimpl.UnsafeEnabled {
  1381. mi := &file_signalling_proto_msgTypes[15]
  1382. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1383. ms.StoreMessageInfo(mi)
  1384. }
  1385. }
  1386. func (x *RegistrationResponse) String() string {
  1387. return protoimpl.X.MessageStringOf(x)
  1388. }
  1389. func (*RegistrationResponse) ProtoMessage() {}
  1390. func (x *RegistrationResponse) ProtoReflect() protoreflect.Message {
  1391. mi := &file_signalling_proto_msgTypes[15]
  1392. if protoimpl.UnsafeEnabled && x != nil {
  1393. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1394. if ms.LoadMessageInfo() == nil {
  1395. ms.StoreMessageInfo(mi)
  1396. }
  1397. return ms
  1398. }
  1399. return mi.MessageOf(x)
  1400. }
  1401. // Deprecated: Use RegistrationResponse.ProtoReflect.Descriptor instead.
  1402. func (*RegistrationResponse) Descriptor() ([]byte, []int) {
  1403. return file_signalling_proto_rawDescGZIP(), []int{15}
  1404. }
  1405. func (x *RegistrationResponse) GetIpv4Addr() uint32 {
  1406. if x != nil && x.Ipv4Addr != nil {
  1407. return *x.Ipv4Addr
  1408. }
  1409. return 0
  1410. }
  1411. func (x *RegistrationResponse) GetIpv6Addr() []byte {
  1412. if x != nil {
  1413. return x.Ipv6Addr
  1414. }
  1415. return nil
  1416. }
  1417. func (x *RegistrationResponse) GetPort() uint32 {
  1418. if x != nil && x.Port != nil {
  1419. return *x.Port
  1420. }
  1421. return 0
  1422. }
  1423. func (x *RegistrationResponse) GetServerRandom() []byte {
  1424. if x != nil {
  1425. return x.ServerRandom
  1426. }
  1427. return nil
  1428. }
  1429. func (x *RegistrationResponse) GetError() string {
  1430. if x != nil && x.Error != nil {
  1431. return *x.Error
  1432. }
  1433. return ""
  1434. }
  1435. func (x *RegistrationResponse) GetClientConf() *ClientConf {
  1436. if x != nil {
  1437. return x.ClientConf
  1438. }
  1439. return nil
  1440. }
  1441. var File_signalling_proto protoreflect.FileDescriptor
  1442. var file_signalling_proto_rawDesc = []byte{
  1443. 0x0a, 0x10, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f,
  1444. 0x74, 0x6f, 0x12, 0x08, 0x74, 0x61, 0x70, 0x64, 0x61, 0x6e, 0x63, 0x65, 0x22, 0x41, 0x0a, 0x06,
  1445. 0x50, 0x75, 0x62, 0x4b, 0x65, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20,
  1446. 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x25, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65,
  1447. 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x11, 0x2e, 0x74, 0x61, 0x70, 0x64, 0x61, 0x6e, 0x63,
  1448. 0x65, 0x2e, 0x4b, 0x65, 0x79, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22,
  1449. 0xbe, 0x01, 0x0a, 0x0c, 0x54, 0x4c, 0x53, 0x44, 0x65, 0x63, 0x6f, 0x79, 0x53, 0x70, 0x65, 0x63,
  1450. 0x12, 0x1a, 0x0a, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
  1451. 0x28, 0x09, 0x52, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08,
  1452. 0x69, 0x70, 0x76, 0x34, 0x61, 0x64, 0x64, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x07, 0x52, 0x08,
  1453. 0x69, 0x70, 0x76, 0x34, 0x61, 0x64, 0x64, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x70, 0x76, 0x36,
  1454. 0x61, 0x64, 0x64, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x69, 0x70, 0x76, 0x36,
  1455. 0x61, 0x64, 0x64, 0x72, 0x12, 0x28, 0x0a, 0x06, 0x70, 0x75, 0x62, 0x6b, 0x65, 0x79, 0x18, 0x03,
  1456. 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x74, 0x61, 0x70, 0x64, 0x61, 0x6e, 0x63, 0x65, 0x2e,
  1457. 0x50, 0x75, 0x62, 0x4b, 0x65, 0x79, 0x52, 0x06, 0x70, 0x75, 0x62, 0x6b, 0x65, 0x79, 0x12, 0x18,
  1458. 0x0a, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52,
  1459. 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x63, 0x70, 0x77,
  1460. 0x69, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x74, 0x63, 0x70, 0x77, 0x69, 0x6e,
  1461. 0x22, 0xa2, 0x02, 0x0a, 0x0a, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x12,
  1462. 0x32, 0x0a, 0x0a, 0x64, 0x65, 0x63, 0x6f, 0x79, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20,
  1463. 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x74, 0x61, 0x70, 0x64, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x44,
  1464. 0x65, 0x63, 0x6f, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x09, 0x64, 0x65, 0x63, 0x6f, 0x79, 0x4c,
  1465. 0x69, 0x73, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f,
  1466. 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74,
  1467. 0x69, 0x6f, 0x6e, 0x12, 0x37, 0x0a, 0x0e, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x70,
  1468. 0x75, 0x62, 0x6b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x74, 0x61,
  1469. 0x70, 0x64, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x50, 0x75, 0x62, 0x4b, 0x65, 0x79, 0x52, 0x0d, 0x64,
  1470. 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x50, 0x75, 0x62, 0x6b, 0x65, 0x79, 0x12, 0x4e, 0x0a, 0x14,
  1471. 0x70, 0x68, 0x61, 0x6e, 0x74, 0x6f, 0x6d, 0x5f, 0x73, 0x75, 0x62, 0x6e, 0x65, 0x74, 0x73, 0x5f,
  1472. 0x6c, 0x69, 0x73, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x74, 0x61, 0x70,
  1473. 0x64, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x50, 0x68, 0x61, 0x6e, 0x74, 0x6f, 0x6d, 0x53, 0x75, 0x62,
  1474. 0x6e, 0x65, 0x74, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x12, 0x70, 0x68, 0x61, 0x6e, 0x74, 0x6f,
  1475. 0x6d, 0x53, 0x75, 0x62, 0x6e, 0x65, 0x74, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x37, 0x0a, 0x0e,
  1476. 0x63, 0x6f, 0x6e, 0x6a, 0x75, 0x72, 0x65, 0x5f, 0x70, 0x75, 0x62, 0x6b, 0x65, 0x79, 0x18, 0x05,
  1477. 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x74, 0x61, 0x70, 0x64, 0x61, 0x6e, 0x63, 0x65, 0x2e,
  1478. 0x50, 0x75, 0x62, 0x4b, 0x65, 0x79, 0x52, 0x0d, 0x63, 0x6f, 0x6e, 0x6a, 0x75, 0x72, 0x65, 0x50,
  1479. 0x75, 0x62, 0x6b, 0x65, 0x79, 0x22, 0x42, 0x0a, 0x09, 0x44, 0x65, 0x63, 0x6f, 0x79, 0x4c, 0x69,
  1480. 0x73, 0x74, 0x12, 0x35, 0x0a, 0x0a, 0x74, 0x6c, 0x73, 0x5f, 0x64, 0x65, 0x63, 0x6f, 0x79, 0x73,
  1481. 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x74, 0x61, 0x70, 0x64, 0x61, 0x6e, 0x63,
  1482. 0x65, 0x2e, 0x54, 0x4c, 0x53, 0x44, 0x65, 0x63, 0x6f, 0x79, 0x53, 0x70, 0x65, 0x63, 0x52, 0x09,
  1483. 0x74, 0x6c, 0x73, 0x44, 0x65, 0x63, 0x6f, 0x79, 0x73, 0x22, 0x59, 0x0a, 0x12, 0x50, 0x68, 0x61,
  1484. 0x6e, 0x74, 0x6f, 0x6d, 0x53, 0x75, 0x62, 0x6e, 0x65, 0x74, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x12,
  1485. 0x43, 0x0a, 0x10, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x65, 0x64, 0x5f, 0x73, 0x75, 0x62, 0x6e,
  1486. 0x65, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x74, 0x61, 0x70, 0x64,
  1487. 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x50, 0x68, 0x61, 0x6e, 0x74, 0x6f, 0x6d, 0x53, 0x75, 0x62, 0x6e,
  1488. 0x65, 0x74, 0x73, 0x52, 0x0f, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x65, 0x64, 0x53, 0x75, 0x62,
  1489. 0x6e, 0x65, 0x74, 0x73, 0x22, 0x42, 0x0a, 0x0e, 0x50, 0x68, 0x61, 0x6e, 0x74, 0x6f, 0x6d, 0x53,
  1490. 0x75, 0x62, 0x6e, 0x65, 0x74, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74,
  1491. 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x18,
  1492. 0x0a, 0x07, 0x73, 0x75, 0x62, 0x6e, 0x65, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52,
  1493. 0x07, 0x73, 0x75, 0x62, 0x6e, 0x65, 0x74, 0x73, 0x22, 0x6f, 0x0a, 0x12, 0x57, 0x65, 0x62, 0x52,
  1494. 0x54, 0x43, 0x49, 0x43, 0x45, 0x43, 0x61, 0x6e, 0x64, 0x69, 0x64, 0x61, 0x74, 0x65, 0x12, 0x19,
  1495. 0x0a, 0x08, 0x69, 0x70, 0x5f, 0x75, 0x70, 0x70, 0x65, 0x72, 0x18, 0x01, 0x20, 0x02, 0x28, 0x04,
  1496. 0x52, 0x07, 0x69, 0x70, 0x55, 0x70, 0x70, 0x65, 0x72, 0x12, 0x19, 0x0a, 0x08, 0x69, 0x70, 0x5f,
  1497. 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x18, 0x02, 0x20, 0x02, 0x28, 0x04, 0x52, 0x07, 0x69, 0x70, 0x4c,
  1498. 0x6f, 0x77, 0x65, 0x72, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x73, 0x65, 0x64,
  1499. 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x03, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x0c, 0x63, 0x6f, 0x6d,
  1500. 0x70, 0x6f, 0x73, 0x65, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x5d, 0x0a, 0x09, 0x57, 0x65, 0x62,
  1501. 0x52, 0x54, 0x43, 0x53, 0x44, 0x50, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01,
  1502. 0x20, 0x02, 0x28, 0x0d, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x3c, 0x0a, 0x0a, 0x63, 0x61,
  1503. 0x6e, 0x64, 0x69, 0x64, 0x61, 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c,
  1504. 0x2e, 0x74, 0x61, 0x70, 0x64, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x57, 0x65, 0x62, 0x52, 0x54, 0x43,
  1505. 0x49, 0x43, 0x45, 0x43, 0x61, 0x6e, 0x64, 0x69, 0x64, 0x61, 0x74, 0x65, 0x52, 0x0a, 0x63, 0x61,
  1506. 0x6e, 0x64, 0x69, 0x64, 0x61, 0x74, 0x65, 0x73, 0x22, 0x49, 0x0a, 0x0c, 0x57, 0x65, 0x62, 0x52,
  1507. 0x54, 0x43, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x65, 0x65, 0x64,
  1508. 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x04, 0x73, 0x65, 0x65, 0x64, 0x12, 0x25, 0x0a, 0x03,
  1509. 0x73, 0x64, 0x70, 0x18, 0x02, 0x20, 0x02, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x74, 0x61, 0x70, 0x64,
  1510. 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x57, 0x65, 0x62, 0x52, 0x54, 0x43, 0x53, 0x44, 0x50, 0x52, 0x03,
  1511. 0x73, 0x64, 0x70, 0x22, 0xcb, 0x02, 0x0a, 0x0f, 0x53, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54,
  1512. 0x6f, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x12, 0x29, 0x0a, 0x10, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  1513. 0x63, 0x6f, 0x6c, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28,
  1514. 0x0d, 0x52, 0x0f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69,
  1515. 0x6f, 0x6e, 0x12, 0x43, 0x0a, 0x10, 0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x72, 0x61, 0x6e,
  1516. 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x74,
  1517. 0x61, 0x70, 0x64, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x53, 0x32, 0x43, 0x5f, 0x54, 0x72, 0x61, 0x6e,
  1518. 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x54, 0x72, 0x61,
  1519. 0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x35, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x66, 0x69,
  1520. 0x67, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x74,
  1521. 0x61, 0x70, 0x64, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x43, 0x6f,
  1522. 0x6e, 0x66, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x37,
  1523. 0x0a, 0x0a, 0x65, 0x72, 0x72, 0x5f, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01,
  1524. 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x74, 0x61, 0x70, 0x64, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x45, 0x72,
  1525. 0x72, 0x6f, 0x72, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x53, 0x32, 0x43, 0x52, 0x09, 0x65, 0x72,
  1526. 0x72, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x6d, 0x70, 0x5f, 0x62,
  1527. 0x61, 0x63, 0x6b, 0x6f, 0x66, 0x66, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x74, 0x6d,
  1528. 0x70, 0x42, 0x61, 0x63, 0x6b, 0x6f, 0x66, 0x66, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x74,
  1529. 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x74,
  1530. 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x64, 0x64, 0x69,
  1531. 0x6e, 0x67, 0x18, 0x64, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x70, 0x61, 0x64, 0x64, 0x69, 0x6e,
  1532. 0x67, 0x22, 0xaf, 0x01, 0x0a, 0x11, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69,
  1533. 0x6f, 0x6e, 0x46, 0x6c, 0x61, 0x67, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x75, 0x70, 0x6c, 0x6f, 0x61,
  1534. 0x64, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x75, 0x70,
  1535. 0x6c, 0x6f, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x64, 0x61, 0x72, 0x6b,
  1536. 0x5f, 0x64, 0x65, 0x63, 0x6f, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x64, 0x61,
  1537. 0x72, 0x6b, 0x44, 0x65, 0x63, 0x6f, 0x79, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x72, 0x6f, 0x78, 0x79,
  1538. 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x70,
  1539. 0x72, 0x6f, 0x78, 0x79, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73,
  1540. 0x65, 0x5f, 0x54, 0x49, 0x4c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x75, 0x73, 0x65,
  1541. 0x54, 0x49, 0x4c, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x72, 0x65, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x65,
  1542. 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x70, 0x72, 0x65, 0x73, 0x63, 0x61, 0x6e,
  1543. 0x6e, 0x65, 0x64, 0x22, 0x88, 0x05, 0x0a, 0x0f, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x54, 0x6f,
  1544. 0x53, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x29, 0x0a, 0x10, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  1545. 0x63, 0x6f, 0x6c, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28,
  1546. 0x0d, 0x52, 0x0f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69,
  1547. 0x6f, 0x6e, 0x12, 0x32, 0x0a, 0x15, 0x64, 0x65, 0x63, 0x6f, 0x79, 0x5f, 0x6c, 0x69, 0x73, 0x74,
  1548. 0x5f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28,
  1549. 0x0d, 0x52, 0x13, 0x64, 0x65, 0x63, 0x6f, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x47, 0x65, 0x6e, 0x65,
  1550. 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x43, 0x0a, 0x10, 0x73, 0x74, 0x61, 0x74, 0x65, 0x5f,
  1551. 0x74, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e,
  1552. 0x32, 0x18, 0x2e, 0x74, 0x61, 0x70, 0x64, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x43, 0x32, 0x53, 0x5f,
  1553. 0x54, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0f, 0x73, 0x74, 0x61, 0x74,
  1554. 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x75,
  1555. 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x73, 0x79, 0x6e, 0x63, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04,
  1556. 0x52, 0x0a, 0x75, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x79, 0x6e, 0x63, 0x12, 0x23, 0x0a, 0x0d,
  1557. 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x5f, 0x64, 0x65, 0x63, 0x6f, 0x79, 0x73, 0x18, 0x0a, 0x20,
  1558. 0x03, 0x28, 0x09, 0x52, 0x0c, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x44, 0x65, 0x63, 0x6f, 0x79,
  1559. 0x73, 0x12, 0x2c, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b,
  1560. 0x32, 0x16, 0x2e, 0x74, 0x61, 0x70, 0x64, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x53, 0x65, 0x73, 0x73,
  1561. 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, 0x12,
  1562. 0x35, 0x0a, 0x09, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x0c, 0x20, 0x01,
  1563. 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x74, 0x61, 0x70, 0x64, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x54, 0x72,
  1564. 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x74, 0x72, 0x61,
  1565. 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x74,
  1566. 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x14, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d,
  1567. 0x63, 0x6f, 0x76, 0x65, 0x72, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x37, 0x0a,
  1568. 0x18, 0x6d, 0x61, 0x73, 0x6b, 0x65, 0x64, 0x5f, 0x64, 0x65, 0x63, 0x6f, 0x79, 0x5f, 0x73, 0x65,
  1569. 0x72, 0x76, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x15, 0x20, 0x01, 0x28, 0x09, 0x52,
  1570. 0x15, 0x6d, 0x61, 0x73, 0x6b, 0x65, 0x64, 0x44, 0x65, 0x63, 0x6f, 0x79, 0x53, 0x65, 0x72, 0x76,
  1571. 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x76, 0x36, 0x5f, 0x73, 0x75, 0x70,
  1572. 0x70, 0x6f, 0x72, 0x74, 0x18, 0x16, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x76, 0x36, 0x53, 0x75,
  1573. 0x70, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x76, 0x34, 0x5f, 0x73, 0x75, 0x70, 0x70,
  1574. 0x6f, 0x72, 0x74, 0x18, 0x17, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x76, 0x34, 0x53, 0x75, 0x70,
  1575. 0x70, 0x6f, 0x72, 0x74, 0x12, 0x31, 0x0a, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x18, 0x18, 0x20,
  1576. 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x74, 0x61, 0x70, 0x64, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x52,
  1577. 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x6c, 0x61, 0x67, 0x73,
  1578. 0x52, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x12, 0x3b, 0x0a, 0x0d, 0x77, 0x65, 0x62, 0x72, 0x74,
  1579. 0x63, 0x5f, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x18, 0x1f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16,
  1580. 0x2e, 0x74, 0x61, 0x70, 0x64, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x57, 0x65, 0x62, 0x52, 0x54, 0x43,
  1581. 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x52, 0x0c, 0x77, 0x65, 0x62, 0x72, 0x74, 0x63, 0x53, 0x69,
  1582. 0x67, 0x6e, 0x61, 0x6c, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x64, 0x64, 0x69, 0x6e, 0x67, 0x18,
  1583. 0x64, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x70, 0x61, 0x64, 0x64, 0x69, 0x6e, 0x67, 0x22, 0xfb,
  1584. 0x02, 0x0a, 0x0a, 0x43, 0x32, 0x53, 0x57, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x12, 0x23, 0x0a,
  1585. 0x0d, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x5f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x18, 0x01,
  1586. 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x53, 0x65, 0x63, 0x72,
  1587. 0x65, 0x74, 0x12, 0x4c, 0x0a, 0x14, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69,
  1588. 0x6f, 0x6e, 0x5f, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b,
  1589. 0x32, 0x19, 0x2e, 0x74, 0x61, 0x70, 0x64, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x43, 0x6c, 0x69, 0x65,
  1590. 0x6e, 0x74, 0x54, 0x6f, 0x53, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x72, 0x65, 0x67,
  1591. 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64,
  1592. 0x12, 0x4d, 0x0a, 0x13, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
  1593. 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1c, 0x2e,
  1594. 0x74, 0x61, 0x70, 0x64, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72,
  1595. 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x12, 0x72, 0x65, 0x67,
  1596. 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12,
  1597. 0x31, 0x0a, 0x14, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f,
  1598. 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x13, 0x72,
  1599. 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x64, 0x64, 0x72, 0x65,
  1600. 0x73, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x64, 0x65, 0x63, 0x6f, 0x79, 0x5f, 0x61, 0x64, 0x64, 0x72,
  1601. 0x65, 0x73, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x64, 0x65, 0x63, 0x6f, 0x79,
  1602. 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x53, 0x0a, 0x15, 0x72, 0x65, 0x67, 0x69, 0x73,
  1603. 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
  1604. 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x74, 0x61, 0x70, 0x64, 0x61, 0x6e, 0x63,
  1605. 0x65, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65,
  1606. 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x14, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61,
  1607. 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xdd, 0x01, 0x0a,
  1608. 0x0c, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x30, 0x0a,
  1609. 0x14, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x5f, 0x64, 0x65, 0x63, 0x6f, 0x79, 0x73, 0x5f, 0x61,
  1610. 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x66, 0x61, 0x69,
  1611. 0x6c, 0x65, 0x64, 0x44, 0x65, 0x63, 0x6f, 0x79, 0x73, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12,
  1612. 0x31, 0x0a, 0x15, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x74, 0x6f,
  1613. 0x5f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x18, 0x1f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12,
  1614. 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x54, 0x69, 0x6d, 0x65, 0x54, 0x6f, 0x43, 0x6f, 0x6e, 0x6e, 0x65,
  1615. 0x63, 0x74, 0x12, 0x24, 0x0a, 0x0e, 0x72, 0x74, 0x74, 0x5f, 0x74, 0x6f, 0x5f, 0x73, 0x74, 0x61,
  1616. 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x21, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x72, 0x74, 0x74, 0x54,
  1617. 0x6f, 0x53, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x20, 0x0a, 0x0c, 0x74, 0x6c, 0x73, 0x5f,
  1618. 0x74, 0x6f, 0x5f, 0x64, 0x65, 0x63, 0x6f, 0x79, 0x18, 0x26, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a,
  1619. 0x74, 0x6c, 0x73, 0x54, 0x6f, 0x44, 0x65, 0x63, 0x6f, 0x79, 0x12, 0x20, 0x0a, 0x0c, 0x74, 0x63,
  1620. 0x70, 0x5f, 0x74, 0x6f, 0x5f, 0x64, 0x65, 0x63, 0x6f, 0x79, 0x18, 0x27, 0x20, 0x01, 0x28, 0x0d,
  1621. 0x52, 0x0a, 0x74, 0x63, 0x70, 0x54, 0x6f, 0x44, 0x65, 0x63, 0x6f, 0x79, 0x22, 0x6e, 0x0a, 0x11,
  1622. 0x53, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x6f, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x6f,
  1623. 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x68, 0x61, 0x6e, 0x74, 0x6f, 0x6d, 0x5f, 0x69, 0x70, 0x18,
  1624. 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x68, 0x61, 0x6e, 0x74, 0x6f, 0x6d, 0x49, 0x70,
  1625. 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x70, 0x18, 0x02, 0x20,
  1626. 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x70, 0x12, 0x1d, 0x0a,
  1627. 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x5f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28,
  1628. 0x04, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x4e, 0x73, 0x22, 0xd2, 0x01, 0x0a,
  1629. 0x14, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73,
  1630. 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x70, 0x76, 0x34, 0x61, 0x64, 0x64,
  1631. 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x07, 0x52, 0x08, 0x69, 0x70, 0x76, 0x34, 0x61, 0x64, 0x64,
  1632. 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x70, 0x76, 0x36, 0x61, 0x64, 0x64, 0x72, 0x18, 0x02, 0x20,
  1633. 0x01, 0x28, 0x0c, 0x52, 0x08, 0x69, 0x70, 0x76, 0x36, 0x61, 0x64, 0x64, 0x72, 0x12, 0x12, 0x0a,
  1634. 0x04, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x70, 0x6f, 0x72,
  1635. 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x61, 0x6e, 0x64, 0x6f,
  1636. 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52,
  1637. 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x05,
  1638. 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x34, 0x0a, 0x0a, 0x63,
  1639. 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32,
  1640. 0x14, 0x2e, 0x74, 0x61, 0x70, 0x64, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e,
  1641. 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x52, 0x0a, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e,
  1642. 0x66, 0x2a, 0x2b, 0x0a, 0x07, 0x4b, 0x65, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0f, 0x0a, 0x0b,
  1643. 0x41, 0x45, 0x53, 0x5f, 0x47, 0x43, 0x4d, 0x5f, 0x31, 0x32, 0x38, 0x10, 0x5a, 0x12, 0x0f, 0x0a,
  1644. 0x0b, 0x41, 0x45, 0x53, 0x5f, 0x47, 0x43, 0x4d, 0x5f, 0x32, 0x35, 0x36, 0x10, 0x5b, 0x2a, 0xe7,
  1645. 0x01, 0x0a, 0x0e, 0x43, 0x32, 0x53, 0x5f, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f,
  1646. 0x6e, 0x12, 0x11, 0x0a, 0x0d, 0x43, 0x32, 0x53, 0x5f, 0x4e, 0x4f, 0x5f, 0x43, 0x48, 0x41, 0x4e,
  1647. 0x47, 0x45, 0x10, 0x00, 0x12, 0x14, 0x0a, 0x10, 0x43, 0x32, 0x53, 0x5f, 0x53, 0x45, 0x53, 0x53,
  1648. 0x49, 0x4f, 0x4e, 0x5f, 0x49, 0x4e, 0x49, 0x54, 0x10, 0x01, 0x12, 0x1b, 0x0a, 0x17, 0x43, 0x32,
  1649. 0x53, 0x5f, 0x53, 0x45, 0x53, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x43, 0x4f, 0x56, 0x45, 0x52, 0x54,
  1650. 0x5f, 0x49, 0x4e, 0x49, 0x54, 0x10, 0x0b, 0x12, 0x18, 0x0a, 0x14, 0x43, 0x32, 0x53, 0x5f, 0x45,
  1651. 0x58, 0x50, 0x45, 0x43, 0x54, 0x5f, 0x52, 0x45, 0x43, 0x4f, 0x4e, 0x4e, 0x45, 0x43, 0x54, 0x10,
  1652. 0x02, 0x12, 0x15, 0x0a, 0x11, 0x43, 0x32, 0x53, 0x5f, 0x53, 0x45, 0x53, 0x53, 0x49, 0x4f, 0x4e,
  1653. 0x5f, 0x43, 0x4c, 0x4f, 0x53, 0x45, 0x10, 0x03, 0x12, 0x14, 0x0a, 0x10, 0x43, 0x32, 0x53, 0x5f,
  1654. 0x59, 0x49, 0x45, 0x4c, 0x44, 0x5f, 0x55, 0x50, 0x4c, 0x4f, 0x41, 0x44, 0x10, 0x04, 0x12, 0x16,
  1655. 0x0a, 0x12, 0x43, 0x32, 0x53, 0x5f, 0x41, 0x43, 0x51, 0x55, 0x49, 0x52, 0x45, 0x5f, 0x55, 0x50,
  1656. 0x4c, 0x4f, 0x41, 0x44, 0x10, 0x05, 0x12, 0x20, 0x0a, 0x1c, 0x43, 0x32, 0x53, 0x5f, 0x45, 0x58,
  1657. 0x50, 0x45, 0x43, 0x54, 0x5f, 0x55, 0x50, 0x4c, 0x4f, 0x41, 0x44, 0x4f, 0x4e, 0x4c, 0x59, 0x5f,
  1658. 0x52, 0x45, 0x43, 0x4f, 0x4e, 0x4e, 0x10, 0x06, 0x12, 0x0e, 0x0a, 0x09, 0x43, 0x32, 0x53, 0x5f,
  1659. 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0xff, 0x01, 0x2a, 0x98, 0x01, 0x0a, 0x0e, 0x53, 0x32, 0x43,
  1660. 0x5f, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x11, 0x0a, 0x0d, 0x53,
  1661. 0x32, 0x43, 0x5f, 0x4e, 0x4f, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x10, 0x00, 0x12, 0x14,
  1662. 0x0a, 0x10, 0x53, 0x32, 0x43, 0x5f, 0x53, 0x45, 0x53, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x49, 0x4e,
  1663. 0x49, 0x54, 0x10, 0x01, 0x12, 0x1b, 0x0a, 0x17, 0x53, 0x32, 0x43, 0x5f, 0x53, 0x45, 0x53, 0x53,
  1664. 0x49, 0x4f, 0x4e, 0x5f, 0x43, 0x4f, 0x56, 0x45, 0x52, 0x54, 0x5f, 0x49, 0x4e, 0x49, 0x54, 0x10,
  1665. 0x0b, 0x12, 0x19, 0x0a, 0x15, 0x53, 0x32, 0x43, 0x5f, 0x43, 0x4f, 0x4e, 0x46, 0x49, 0x52, 0x4d,
  1666. 0x5f, 0x52, 0x45, 0x43, 0x4f, 0x4e, 0x4e, 0x45, 0x43, 0x54, 0x10, 0x02, 0x12, 0x15, 0x0a, 0x11,
  1667. 0x53, 0x32, 0x43, 0x5f, 0x53, 0x45, 0x53, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x43, 0x4c, 0x4f, 0x53,
  1668. 0x45, 0x10, 0x03, 0x12, 0x0e, 0x0a, 0x09, 0x53, 0x32, 0x43, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52,
  1669. 0x10, 0xff, 0x01, 0x2a, 0xac, 0x01, 0x0a, 0x0e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x65, 0x61,
  1670. 0x73, 0x6f, 0x6e, 0x53, 0x32, 0x43, 0x12, 0x0c, 0x0a, 0x08, 0x4e, 0x4f, 0x5f, 0x45, 0x52, 0x52,
  1671. 0x4f, 0x52, 0x10, 0x00, 0x12, 0x11, 0x0a, 0x0d, 0x43, 0x4f, 0x56, 0x45, 0x52, 0x54, 0x5f, 0x53,
  1672. 0x54, 0x52, 0x45, 0x41, 0x4d, 0x10, 0x01, 0x12, 0x13, 0x0a, 0x0f, 0x43, 0x4c, 0x49, 0x45, 0x4e,
  1673. 0x54, 0x5f, 0x52, 0x45, 0x50, 0x4f, 0x52, 0x54, 0x45, 0x44, 0x10, 0x02, 0x12, 0x13, 0x0a, 0x0f,
  1674. 0x43, 0x4c, 0x49, 0x45, 0x4e, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x54, 0x4f, 0x43, 0x4f, 0x4c, 0x10,
  1675. 0x03, 0x12, 0x14, 0x0a, 0x10, 0x53, 0x54, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x49, 0x4e, 0x54,
  1676. 0x45, 0x52, 0x4e, 0x41, 0x4c, 0x10, 0x04, 0x12, 0x12, 0x0a, 0x0e, 0x44, 0x45, 0x43, 0x4f, 0x59,
  1677. 0x5f, 0x4f, 0x56, 0x45, 0x52, 0x4c, 0x4f, 0x41, 0x44, 0x10, 0x05, 0x12, 0x11, 0x0a, 0x0d, 0x43,
  1678. 0x4c, 0x49, 0x45, 0x4e, 0x54, 0x5f, 0x53, 0x54, 0x52, 0x45, 0x41, 0x4d, 0x10, 0x64, 0x12, 0x12,
  1679. 0x0a, 0x0e, 0x43, 0x4c, 0x49, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x49, 0x4d, 0x45, 0x4f, 0x55, 0x54,
  1680. 0x10, 0x65, 0x2a, 0x39, 0x0a, 0x0d, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x54,
  1681. 0x79, 0x70, 0x65, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x75, 0x6c, 0x6c, 0x10, 0x00, 0x12, 0x07, 0x0a,
  1682. 0x03, 0x4d, 0x69, 0x6e, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x4f, 0x62, 0x66, 0x73, 0x34, 0x10,
  1683. 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x57, 0x65, 0x62, 0x72, 0x74, 0x63, 0x10, 0x63, 0x2a, 0x67, 0x0a,
  1684. 0x12, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x6f, 0x75,
  1685. 0x72, 0x63, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69,
  1686. 0x65, 0x64, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x6f, 0x72,
  1687. 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x41, 0x50, 0x49, 0x10, 0x02, 0x12, 0x13, 0x0a, 0x0f, 0x44,
  1688. 0x65, 0x74, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x65, 0x73, 0x63, 0x61, 0x6e, 0x10, 0x03,
  1689. 0x12, 0x14, 0x0a, 0x10, 0x42, 0x69, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x61,
  1690. 0x6c, 0x41, 0x50, 0x49, 0x10, 0x04,
  1691. }
  1692. var (
  1693. file_signalling_proto_rawDescOnce sync.Once
  1694. file_signalling_proto_rawDescData = file_signalling_proto_rawDesc
  1695. )
  1696. func file_signalling_proto_rawDescGZIP() []byte {
  1697. file_signalling_proto_rawDescOnce.Do(func() {
  1698. file_signalling_proto_rawDescData = protoimpl.X.CompressGZIP(file_signalling_proto_rawDescData)
  1699. })
  1700. return file_signalling_proto_rawDescData
  1701. }
  1702. var file_signalling_proto_enumTypes = make([]protoimpl.EnumInfo, 6)
  1703. var file_signalling_proto_msgTypes = make([]protoimpl.MessageInfo, 16)
  1704. var file_signalling_proto_goTypes = []interface{}{
  1705. (KeyType)(0), // 0: tapdance.KeyType
  1706. (C2S_Transition)(0), // 1: tapdance.C2S_Transition
  1707. (S2C_Transition)(0), // 2: tapdance.S2C_Transition
  1708. (ErrorReasonS2C)(0), // 3: tapdance.ErrorReasonS2C
  1709. (TransportType)(0), // 4: tapdance.TransportType
  1710. (RegistrationSource)(0), // 5: tapdance.RegistrationSource
  1711. (*PubKey)(nil), // 6: tapdance.PubKey
  1712. (*TLSDecoySpec)(nil), // 7: tapdance.TLSDecoySpec
  1713. (*ClientConf)(nil), // 8: tapdance.ClientConf
  1714. (*DecoyList)(nil), // 9: tapdance.DecoyList
  1715. (*PhantomSubnetsList)(nil), // 10: tapdance.PhantomSubnetsList
  1716. (*PhantomSubnets)(nil), // 11: tapdance.PhantomSubnets
  1717. (*WebRTCICECandidate)(nil), // 12: tapdance.WebRTCICECandidate
  1718. (*WebRTCSDP)(nil), // 13: tapdance.WebRTCSDP
  1719. (*WebRTCSignal)(nil), // 14: tapdance.WebRTCSignal
  1720. (*StationToClient)(nil), // 15: tapdance.StationToClient
  1721. (*RegistrationFlags)(nil), // 16: tapdance.RegistrationFlags
  1722. (*ClientToStation)(nil), // 17: tapdance.ClientToStation
  1723. (*C2SWrapper)(nil), // 18: tapdance.C2SWrapper
  1724. (*SessionStats)(nil), // 19: tapdance.SessionStats
  1725. (*StationToDetector)(nil), // 20: tapdance.StationToDetector
  1726. (*RegistrationResponse)(nil), // 21: tapdance.RegistrationResponse
  1727. }
  1728. var file_signalling_proto_depIdxs = []int32{
  1729. 0, // 0: tapdance.PubKey.type:type_name -> tapdance.KeyType
  1730. 6, // 1: tapdance.TLSDecoySpec.pubkey:type_name -> tapdance.PubKey
  1731. 9, // 2: tapdance.ClientConf.decoy_list:type_name -> tapdance.DecoyList
  1732. 6, // 3: tapdance.ClientConf.default_pubkey:type_name -> tapdance.PubKey
  1733. 10, // 4: tapdance.ClientConf.phantom_subnets_list:type_name -> tapdance.PhantomSubnetsList
  1734. 6, // 5: tapdance.ClientConf.conjure_pubkey:type_name -> tapdance.PubKey
  1735. 7, // 6: tapdance.DecoyList.tls_decoys:type_name -> tapdance.TLSDecoySpec
  1736. 11, // 7: tapdance.PhantomSubnetsList.weighted_subnets:type_name -> tapdance.PhantomSubnets
  1737. 12, // 8: tapdance.WebRTCSDP.candidates:type_name -> tapdance.WebRTCICECandidate
  1738. 13, // 9: tapdance.WebRTCSignal.sdp:type_name -> tapdance.WebRTCSDP
  1739. 2, // 10: tapdance.StationToClient.state_transition:type_name -> tapdance.S2C_Transition
  1740. 8, // 11: tapdance.StationToClient.config_info:type_name -> tapdance.ClientConf
  1741. 3, // 12: tapdance.StationToClient.err_reason:type_name -> tapdance.ErrorReasonS2C
  1742. 1, // 13: tapdance.ClientToStation.state_transition:type_name -> tapdance.C2S_Transition
  1743. 19, // 14: tapdance.ClientToStation.stats:type_name -> tapdance.SessionStats
  1744. 4, // 15: tapdance.ClientToStation.transport:type_name -> tapdance.TransportType
  1745. 16, // 16: tapdance.ClientToStation.flags:type_name -> tapdance.RegistrationFlags
  1746. 14, // 17: tapdance.ClientToStation.webrtc_signal:type_name -> tapdance.WebRTCSignal
  1747. 17, // 18: tapdance.C2SWrapper.registration_payload:type_name -> tapdance.ClientToStation
  1748. 5, // 19: tapdance.C2SWrapper.registration_source:type_name -> tapdance.RegistrationSource
  1749. 21, // 20: tapdance.C2SWrapper.registration_response:type_name -> tapdance.RegistrationResponse
  1750. 8, // 21: tapdance.RegistrationResponse.clientConf:type_name -> tapdance.ClientConf
  1751. 22, // [22:22] is the sub-list for method output_type
  1752. 22, // [22:22] is the sub-list for method input_type
  1753. 22, // [22:22] is the sub-list for extension type_name
  1754. 22, // [22:22] is the sub-list for extension extendee
  1755. 0, // [0:22] is the sub-list for field type_name
  1756. }
  1757. func init() { file_signalling_proto_init() }
  1758. func file_signalling_proto_init() {
  1759. if File_signalling_proto != nil {
  1760. return
  1761. }
  1762. if !protoimpl.UnsafeEnabled {
  1763. file_signalling_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  1764. switch v := v.(*PubKey); i {
  1765. case 0:
  1766. return &v.state
  1767. case 1:
  1768. return &v.sizeCache
  1769. case 2:
  1770. return &v.unknownFields
  1771. default:
  1772. return nil
  1773. }
  1774. }
  1775. file_signalling_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  1776. switch v := v.(*TLSDecoySpec); i {
  1777. case 0:
  1778. return &v.state
  1779. case 1:
  1780. return &v.sizeCache
  1781. case 2:
  1782. return &v.unknownFields
  1783. default:
  1784. return nil
  1785. }
  1786. }
  1787. file_signalling_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  1788. switch v := v.(*ClientConf); i {
  1789. case 0:
  1790. return &v.state
  1791. case 1:
  1792. return &v.sizeCache
  1793. case 2:
  1794. return &v.unknownFields
  1795. default:
  1796. return nil
  1797. }
  1798. }
  1799. file_signalling_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  1800. switch v := v.(*DecoyList); i {
  1801. case 0:
  1802. return &v.state
  1803. case 1:
  1804. return &v.sizeCache
  1805. case 2:
  1806. return &v.unknownFields
  1807. default:
  1808. return nil
  1809. }
  1810. }
  1811. file_signalling_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  1812. switch v := v.(*PhantomSubnetsList); i {
  1813. case 0:
  1814. return &v.state
  1815. case 1:
  1816. return &v.sizeCache
  1817. case 2:
  1818. return &v.unknownFields
  1819. default:
  1820. return nil
  1821. }
  1822. }
  1823. file_signalling_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  1824. switch v := v.(*PhantomSubnets); i {
  1825. case 0:
  1826. return &v.state
  1827. case 1:
  1828. return &v.sizeCache
  1829. case 2:
  1830. return &v.unknownFields
  1831. default:
  1832. return nil
  1833. }
  1834. }
  1835. file_signalling_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  1836. switch v := v.(*WebRTCICECandidate); i {
  1837. case 0:
  1838. return &v.state
  1839. case 1:
  1840. return &v.sizeCache
  1841. case 2:
  1842. return &v.unknownFields
  1843. default:
  1844. return nil
  1845. }
  1846. }
  1847. file_signalling_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  1848. switch v := v.(*WebRTCSDP); i {
  1849. case 0:
  1850. return &v.state
  1851. case 1:
  1852. return &v.sizeCache
  1853. case 2:
  1854. return &v.unknownFields
  1855. default:
  1856. return nil
  1857. }
  1858. }
  1859. file_signalling_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  1860. switch v := v.(*WebRTCSignal); i {
  1861. case 0:
  1862. return &v.state
  1863. case 1:
  1864. return &v.sizeCache
  1865. case 2:
  1866. return &v.unknownFields
  1867. default:
  1868. return nil
  1869. }
  1870. }
  1871. file_signalling_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  1872. switch v := v.(*StationToClient); i {
  1873. case 0:
  1874. return &v.state
  1875. case 1:
  1876. return &v.sizeCache
  1877. case 2:
  1878. return &v.unknownFields
  1879. default:
  1880. return nil
  1881. }
  1882. }
  1883. file_signalling_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  1884. switch v := v.(*RegistrationFlags); i {
  1885. case 0:
  1886. return &v.state
  1887. case 1:
  1888. return &v.sizeCache
  1889. case 2:
  1890. return &v.unknownFields
  1891. default:
  1892. return nil
  1893. }
  1894. }
  1895. file_signalling_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
  1896. switch v := v.(*ClientToStation); i {
  1897. case 0:
  1898. return &v.state
  1899. case 1:
  1900. return &v.sizeCache
  1901. case 2:
  1902. return &v.unknownFields
  1903. default:
  1904. return nil
  1905. }
  1906. }
  1907. file_signalling_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
  1908. switch v := v.(*C2SWrapper); i {
  1909. case 0:
  1910. return &v.state
  1911. case 1:
  1912. return &v.sizeCache
  1913. case 2:
  1914. return &v.unknownFields
  1915. default:
  1916. return nil
  1917. }
  1918. }
  1919. file_signalling_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
  1920. switch v := v.(*SessionStats); i {
  1921. case 0:
  1922. return &v.state
  1923. case 1:
  1924. return &v.sizeCache
  1925. case 2:
  1926. return &v.unknownFields
  1927. default:
  1928. return nil
  1929. }
  1930. }
  1931. file_signalling_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
  1932. switch v := v.(*StationToDetector); i {
  1933. case 0:
  1934. return &v.state
  1935. case 1:
  1936. return &v.sizeCache
  1937. case 2:
  1938. return &v.unknownFields
  1939. default:
  1940. return nil
  1941. }
  1942. }
  1943. file_signalling_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
  1944. switch v := v.(*RegistrationResponse); i {
  1945. case 0:
  1946. return &v.state
  1947. case 1:
  1948. return &v.sizeCache
  1949. case 2:
  1950. return &v.unknownFields
  1951. default:
  1952. return nil
  1953. }
  1954. }
  1955. }
  1956. type x struct{}
  1957. out := protoimpl.TypeBuilder{
  1958. File: protoimpl.DescBuilder{
  1959. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  1960. RawDescriptor: file_signalling_proto_rawDesc,
  1961. NumEnums: 6,
  1962. NumMessages: 16,
  1963. NumExtensions: 0,
  1964. NumServices: 0,
  1965. },
  1966. GoTypes: file_signalling_proto_goTypes,
  1967. DependencyIndexes: file_signalling_proto_depIdxs,
  1968. EnumInfos: file_signalling_proto_enumTypes,
  1969. MessageInfos: file_signalling_proto_msgTypes,
  1970. }.Build()
  1971. File_signalling_proto = out.File
  1972. file_signalling_proto_rawDesc = nil
  1973. file_signalling_proto_goTypes = nil
  1974. file_signalling_proto_depIdxs = nil
  1975. }