node.pb.go 52 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.25.0-devel
  4. // protoc v3.14.0
  5. // source: grpc/node.proto
  6. package nodepb
  7. import (
  8. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  9. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  10. reflect "reflect"
  11. sync "sync"
  12. )
  13. const (
  14. // Verify that this generated code is sufficiently up-to-date.
  15. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  16. // Verify that runtime/protoimpl is sufficiently up-to-date.
  17. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  18. )
  19. type LoginRequest struct {
  20. state protoimpl.MessageState
  21. sizeCache protoimpl.SizeCache
  22. unknownFields protoimpl.UnknownFields
  23. Macaddress string `protobuf:"bytes,1,opt,name=macaddress,proto3" json:"macaddress,omitempty"`
  24. Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
  25. Network string `protobuf:"bytes,3,opt,name=network,proto3" json:"network,omitempty"`
  26. }
  27. func (x *LoginRequest) Reset() {
  28. *x = LoginRequest{}
  29. if protoimpl.UnsafeEnabled {
  30. mi := &file_grpc_node_proto_msgTypes[0]
  31. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  32. ms.StoreMessageInfo(mi)
  33. }
  34. }
  35. func (x *LoginRequest) String() string {
  36. return protoimpl.X.MessageStringOf(x)
  37. }
  38. func (*LoginRequest) ProtoMessage() {}
  39. func (x *LoginRequest) ProtoReflect() protoreflect.Message {
  40. mi := &file_grpc_node_proto_msgTypes[0]
  41. if protoimpl.UnsafeEnabled && x != nil {
  42. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  43. if ms.LoadMessageInfo() == nil {
  44. ms.StoreMessageInfo(mi)
  45. }
  46. return ms
  47. }
  48. return mi.MessageOf(x)
  49. }
  50. // Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead.
  51. func (*LoginRequest) Descriptor() ([]byte, []int) {
  52. return file_grpc_node_proto_rawDescGZIP(), []int{0}
  53. }
  54. func (x *LoginRequest) GetMacaddress() string {
  55. if x != nil {
  56. return x.Macaddress
  57. }
  58. return ""
  59. }
  60. func (x *LoginRequest) GetPassword() string {
  61. if x != nil {
  62. return x.Password
  63. }
  64. return ""
  65. }
  66. func (x *LoginRequest) GetNetwork() string {
  67. if x != nil {
  68. return x.Network
  69. }
  70. return ""
  71. }
  72. type LoginResponse struct {
  73. state protoimpl.MessageState
  74. sizeCache protoimpl.SizeCache
  75. unknownFields protoimpl.UnknownFields
  76. Accesstoken string `protobuf:"bytes,1,opt,name=accesstoken,proto3" json:"accesstoken,omitempty"`
  77. }
  78. func (x *LoginResponse) Reset() {
  79. *x = LoginResponse{}
  80. if protoimpl.UnsafeEnabled {
  81. mi := &file_grpc_node_proto_msgTypes[1]
  82. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  83. ms.StoreMessageInfo(mi)
  84. }
  85. }
  86. func (x *LoginResponse) String() string {
  87. return protoimpl.X.MessageStringOf(x)
  88. }
  89. func (*LoginResponse) ProtoMessage() {}
  90. func (x *LoginResponse) ProtoReflect() protoreflect.Message {
  91. mi := &file_grpc_node_proto_msgTypes[1]
  92. if protoimpl.UnsafeEnabled && x != nil {
  93. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  94. if ms.LoadMessageInfo() == nil {
  95. ms.StoreMessageInfo(mi)
  96. }
  97. return ms
  98. }
  99. return mi.MessageOf(x)
  100. }
  101. // Deprecated: Use LoginResponse.ProtoReflect.Descriptor instead.
  102. func (*LoginResponse) Descriptor() ([]byte, []int) {
  103. return file_grpc_node_proto_rawDescGZIP(), []int{1}
  104. }
  105. func (x *LoginResponse) GetAccesstoken() string {
  106. if x != nil {
  107. return x.Accesstoken
  108. }
  109. return ""
  110. }
  111. type Node struct {
  112. state protoimpl.MessageState
  113. sizeCache protoimpl.SizeCache
  114. unknownFields protoimpl.UnknownFields
  115. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
  116. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
  117. Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
  118. Address6 string `protobuf:"bytes,26,opt,name=address6,proto3" json:"address6,omitempty"`
  119. Listenport int32 `protobuf:"varint,4,opt,name=listenport,proto3" json:"listenport,omitempty"`
  120. Publickey string `protobuf:"bytes,5,opt,name=publickey,proto3" json:"publickey,omitempty"`
  121. Endpoint string `protobuf:"bytes,6,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
  122. Macaddress string `protobuf:"bytes,7,opt,name=macaddress,proto3" json:"macaddress,omitempty"`
  123. Password string `protobuf:"bytes,8,opt,name=password,proto3" json:"password,omitempty"`
  124. Nodenetwork string `protobuf:"bytes,9,opt,name=nodenetwork,proto3" json:"nodenetwork,omitempty"`
  125. Ispending bool `protobuf:"varint,10,opt,name=ispending,proto3" json:"ispending,omitempty"`
  126. Postup string `protobuf:"bytes,11,opt,name=postup,proto3" json:"postup,omitempty"`
  127. Postdown string `protobuf:"bytes,12,opt,name=postdown,proto3" json:"postdown,omitempty"`
  128. Keepalive int32 `protobuf:"varint,13,opt,name=keepalive,proto3" json:"keepalive,omitempty"`
  129. Saveconfig bool `protobuf:"varint,14,opt,name=saveconfig,proto3" json:"saveconfig,omitempty"`
  130. Accesskey string `protobuf:"bytes,15,opt,name=accesskey,proto3" json:"accesskey,omitempty"`
  131. Interface string `protobuf:"bytes,16,opt,name=interface,proto3" json:"interface,omitempty"`
  132. Lastcheckin string `protobuf:"bytes,17,opt,name=lastcheckin,proto3" json:"lastcheckin,omitempty"`
  133. Lastmodified string `protobuf:"bytes,18,opt,name=lastmodified,proto3" json:"lastmodified,omitempty"`
  134. Checkininterval int32 `protobuf:"varint,19,opt,name=checkininterval,proto3" json:"checkininterval,omitempty"`
  135. Localaddress string `protobuf:"bytes,20,opt,name=localaddress,proto3" json:"localaddress,omitempty"`
  136. Postchanges string `protobuf:"bytes,21,opt,name=postchanges,proto3" json:"postchanges,omitempty"`
  137. Allowedips string `protobuf:"bytes,22,opt,name=allowedips,proto3" json:"allowedips,omitempty"`
  138. Islocal bool `protobuf:"varint,23,opt,name=islocal,proto3" json:"islocal,omitempty"`
  139. Isdualstack bool `protobuf:"varint,27,opt,name=isdualstack,proto3" json:"isdualstack,omitempty"`
  140. Dnsoff bool `protobuf:"varint,24,opt,name=dnsoff,proto3" json:"dnsoff,omitempty"`
  141. Localrange string `protobuf:"bytes,25,opt,name=localrange,proto3" json:"localrange,omitempty"`
  142. }
  143. func (x *Node) Reset() {
  144. *x = Node{}
  145. if protoimpl.UnsafeEnabled {
  146. mi := &file_grpc_node_proto_msgTypes[2]
  147. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  148. ms.StoreMessageInfo(mi)
  149. }
  150. }
  151. func (x *Node) String() string {
  152. return protoimpl.X.MessageStringOf(x)
  153. }
  154. func (*Node) ProtoMessage() {}
  155. func (x *Node) ProtoReflect() protoreflect.Message {
  156. mi := &file_grpc_node_proto_msgTypes[2]
  157. if protoimpl.UnsafeEnabled && x != nil {
  158. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  159. if ms.LoadMessageInfo() == nil {
  160. ms.StoreMessageInfo(mi)
  161. }
  162. return ms
  163. }
  164. return mi.MessageOf(x)
  165. }
  166. // Deprecated: Use Node.ProtoReflect.Descriptor instead.
  167. func (*Node) Descriptor() ([]byte, []int) {
  168. return file_grpc_node_proto_rawDescGZIP(), []int{2}
  169. }
  170. func (x *Node) GetId() string {
  171. if x != nil {
  172. return x.Id
  173. }
  174. return ""
  175. }
  176. func (x *Node) GetName() string {
  177. if x != nil {
  178. return x.Name
  179. }
  180. return ""
  181. }
  182. func (x *Node) GetAddress() string {
  183. if x != nil {
  184. return x.Address
  185. }
  186. return ""
  187. }
  188. func (x *Node) GetAddress6() string {
  189. if x != nil {
  190. return x.Address6
  191. }
  192. return ""
  193. }
  194. func (x *Node) GetListenport() int32 {
  195. if x != nil {
  196. return x.Listenport
  197. }
  198. return 0
  199. }
  200. func (x *Node) GetPublickey() string {
  201. if x != nil {
  202. return x.Publickey
  203. }
  204. return ""
  205. }
  206. func (x *Node) GetEndpoint() string {
  207. if x != nil {
  208. return x.Endpoint
  209. }
  210. return ""
  211. }
  212. func (x *Node) GetMacaddress() string {
  213. if x != nil {
  214. return x.Macaddress
  215. }
  216. return ""
  217. }
  218. func (x *Node) GetPassword() string {
  219. if x != nil {
  220. return x.Password
  221. }
  222. return ""
  223. }
  224. func (x *Node) GetNodenetwork() string {
  225. if x != nil {
  226. return x.Nodenetwork
  227. }
  228. return ""
  229. }
  230. func (x *Node) GetIspending() bool {
  231. if x != nil {
  232. return x.Ispending
  233. }
  234. return false
  235. }
  236. func (x *Node) GetPostup() string {
  237. if x != nil {
  238. return x.Postup
  239. }
  240. return ""
  241. }
  242. func (x *Node) GetPostdown() string {
  243. if x != nil {
  244. return x.Postdown
  245. }
  246. return ""
  247. }
  248. func (x *Node) GetKeepalive() int32 {
  249. if x != nil {
  250. return x.Keepalive
  251. }
  252. return 0
  253. }
  254. func (x *Node) GetSaveconfig() bool {
  255. if x != nil {
  256. return x.Saveconfig
  257. }
  258. return false
  259. }
  260. func (x *Node) GetAccesskey() string {
  261. if x != nil {
  262. return x.Accesskey
  263. }
  264. return ""
  265. }
  266. func (x *Node) GetInterface() string {
  267. if x != nil {
  268. return x.Interface
  269. }
  270. return ""
  271. }
  272. func (x *Node) GetLastcheckin() string {
  273. if x != nil {
  274. return x.Lastcheckin
  275. }
  276. return ""
  277. }
  278. func (x *Node) GetLastmodified() string {
  279. if x != nil {
  280. return x.Lastmodified
  281. }
  282. return ""
  283. }
  284. func (x *Node) GetCheckininterval() int32 {
  285. if x != nil {
  286. return x.Checkininterval
  287. }
  288. return 0
  289. }
  290. func (x *Node) GetLocaladdress() string {
  291. if x != nil {
  292. return x.Localaddress
  293. }
  294. return ""
  295. }
  296. func (x *Node) GetPostchanges() string {
  297. if x != nil {
  298. return x.Postchanges
  299. }
  300. return ""
  301. }
  302. func (x *Node) GetAllowedips() string {
  303. if x != nil {
  304. return x.Allowedips
  305. }
  306. return ""
  307. }
  308. func (x *Node) GetIslocal() bool {
  309. if x != nil {
  310. return x.Islocal
  311. }
  312. return false
  313. }
  314. func (x *Node) GetIsdualstack() bool {
  315. if x != nil {
  316. return x.Isdualstack
  317. }
  318. return false
  319. }
  320. func (x *Node) GetDnsoff() bool {
  321. if x != nil {
  322. return x.Dnsoff
  323. }
  324. return false
  325. }
  326. func (x *Node) GetLocalrange() string {
  327. if x != nil {
  328. return x.Localrange
  329. }
  330. return ""
  331. }
  332. type CheckInResponse struct {
  333. state protoimpl.MessageState
  334. sizeCache protoimpl.SizeCache
  335. unknownFields protoimpl.UnknownFields
  336. Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
  337. Needpeerupdate bool `protobuf:"varint,2,opt,name=needpeerupdate,proto3" json:"needpeerupdate,omitempty"`
  338. Needconfigupdate bool `protobuf:"varint,3,opt,name=needconfigupdate,proto3" json:"needconfigupdate,omitempty"`
  339. Nodemessage string `protobuf:"bytes,4,opt,name=nodemessage,proto3" json:"nodemessage,omitempty"`
  340. Ispending bool `protobuf:"varint,5,opt,name=ispending,proto3" json:"ispending,omitempty"`
  341. Needkeyupdate bool `protobuf:"varint,6,opt,name=needkeyupdate,proto3" json:"needkeyupdate,omitempty"`
  342. Needdelete bool `protobuf:"varint,7,opt,name=needdelete,proto3" json:"needdelete,omitempty"`
  343. }
  344. func (x *CheckInResponse) Reset() {
  345. *x = CheckInResponse{}
  346. if protoimpl.UnsafeEnabled {
  347. mi := &file_grpc_node_proto_msgTypes[3]
  348. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  349. ms.StoreMessageInfo(mi)
  350. }
  351. }
  352. func (x *CheckInResponse) String() string {
  353. return protoimpl.X.MessageStringOf(x)
  354. }
  355. func (*CheckInResponse) ProtoMessage() {}
  356. func (x *CheckInResponse) ProtoReflect() protoreflect.Message {
  357. mi := &file_grpc_node_proto_msgTypes[3]
  358. if protoimpl.UnsafeEnabled && x != nil {
  359. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  360. if ms.LoadMessageInfo() == nil {
  361. ms.StoreMessageInfo(mi)
  362. }
  363. return ms
  364. }
  365. return mi.MessageOf(x)
  366. }
  367. // Deprecated: Use CheckInResponse.ProtoReflect.Descriptor instead.
  368. func (*CheckInResponse) Descriptor() ([]byte, []int) {
  369. return file_grpc_node_proto_rawDescGZIP(), []int{3}
  370. }
  371. func (x *CheckInResponse) GetSuccess() bool {
  372. if x != nil {
  373. return x.Success
  374. }
  375. return false
  376. }
  377. func (x *CheckInResponse) GetNeedpeerupdate() bool {
  378. if x != nil {
  379. return x.Needpeerupdate
  380. }
  381. return false
  382. }
  383. func (x *CheckInResponse) GetNeedconfigupdate() bool {
  384. if x != nil {
  385. return x.Needconfigupdate
  386. }
  387. return false
  388. }
  389. func (x *CheckInResponse) GetNodemessage() string {
  390. if x != nil {
  391. return x.Nodemessage
  392. }
  393. return ""
  394. }
  395. func (x *CheckInResponse) GetIspending() bool {
  396. if x != nil {
  397. return x.Ispending
  398. }
  399. return false
  400. }
  401. func (x *CheckInResponse) GetNeedkeyupdate() bool {
  402. if x != nil {
  403. return x.Needkeyupdate
  404. }
  405. return false
  406. }
  407. func (x *CheckInResponse) GetNeeddelete() bool {
  408. if x != nil {
  409. return x.Needdelete
  410. }
  411. return false
  412. }
  413. type PeersResponse struct {
  414. state protoimpl.MessageState
  415. sizeCache protoimpl.SizeCache
  416. unknownFields protoimpl.UnknownFields
  417. Isgateway bool `protobuf:"varint,1,opt,name=isgateway,proto3" json:"isgateway,omitempty"`
  418. Gatewayrange string `protobuf:"bytes,2,opt,name=gatewayrange,proto3" json:"gatewayrange,omitempty"`
  419. Publickey string `protobuf:"bytes,5,opt,name=publickey,proto3" json:"publickey,omitempty"`
  420. Endpoint string `protobuf:"bytes,6,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
  421. Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
  422. Address6 string `protobuf:"bytes,8,opt,name=address6,proto3" json:"address6,omitempty"`
  423. Listenport int32 `protobuf:"varint,4,opt,name=listenport,proto3" json:"listenport,omitempty"`
  424. Localaddress string `protobuf:"bytes,7,opt,name=localaddress,proto3" json:"localaddress,omitempty"`
  425. Keepalive int32 `protobuf:"varint,13,opt,name=keepalive,proto3" json:"keepalive,omitempty"`
  426. }
  427. func (x *PeersResponse) Reset() {
  428. *x = PeersResponse{}
  429. if protoimpl.UnsafeEnabled {
  430. mi := &file_grpc_node_proto_msgTypes[4]
  431. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  432. ms.StoreMessageInfo(mi)
  433. }
  434. }
  435. func (x *PeersResponse) String() string {
  436. return protoimpl.X.MessageStringOf(x)
  437. }
  438. func (*PeersResponse) ProtoMessage() {}
  439. func (x *PeersResponse) ProtoReflect() protoreflect.Message {
  440. mi := &file_grpc_node_proto_msgTypes[4]
  441. if protoimpl.UnsafeEnabled && x != nil {
  442. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  443. if ms.LoadMessageInfo() == nil {
  444. ms.StoreMessageInfo(mi)
  445. }
  446. return ms
  447. }
  448. return mi.MessageOf(x)
  449. }
  450. // Deprecated: Use PeersResponse.ProtoReflect.Descriptor instead.
  451. func (*PeersResponse) Descriptor() ([]byte, []int) {
  452. return file_grpc_node_proto_rawDescGZIP(), []int{4}
  453. }
  454. func (x *PeersResponse) GetIsgateway() bool {
  455. if x != nil {
  456. return x.Isgateway
  457. }
  458. return false
  459. }
  460. func (x *PeersResponse) GetGatewayrange() string {
  461. if x != nil {
  462. return x.Gatewayrange
  463. }
  464. return ""
  465. }
  466. func (x *PeersResponse) GetPublickey() string {
  467. if x != nil {
  468. return x.Publickey
  469. }
  470. return ""
  471. }
  472. func (x *PeersResponse) GetEndpoint() string {
  473. if x != nil {
  474. return x.Endpoint
  475. }
  476. return ""
  477. }
  478. func (x *PeersResponse) GetAddress() string {
  479. if x != nil {
  480. return x.Address
  481. }
  482. return ""
  483. }
  484. func (x *PeersResponse) GetAddress6() string {
  485. if x != nil {
  486. return x.Address6
  487. }
  488. return ""
  489. }
  490. func (x *PeersResponse) GetListenport() int32 {
  491. if x != nil {
  492. return x.Listenport
  493. }
  494. return 0
  495. }
  496. func (x *PeersResponse) GetLocaladdress() string {
  497. if x != nil {
  498. return x.Localaddress
  499. }
  500. return ""
  501. }
  502. func (x *PeersResponse) GetKeepalive() int32 {
  503. if x != nil {
  504. return x.Keepalive
  505. }
  506. return 0
  507. }
  508. type CreateNodeReq struct {
  509. state protoimpl.MessageState
  510. sizeCache protoimpl.SizeCache
  511. unknownFields protoimpl.UnknownFields
  512. Node *Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"` // Node id blank
  513. }
  514. func (x *CreateNodeReq) Reset() {
  515. *x = CreateNodeReq{}
  516. if protoimpl.UnsafeEnabled {
  517. mi := &file_grpc_node_proto_msgTypes[5]
  518. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  519. ms.StoreMessageInfo(mi)
  520. }
  521. }
  522. func (x *CreateNodeReq) String() string {
  523. return protoimpl.X.MessageStringOf(x)
  524. }
  525. func (*CreateNodeReq) ProtoMessage() {}
  526. func (x *CreateNodeReq) ProtoReflect() protoreflect.Message {
  527. mi := &file_grpc_node_proto_msgTypes[5]
  528. if protoimpl.UnsafeEnabled && x != nil {
  529. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  530. if ms.LoadMessageInfo() == nil {
  531. ms.StoreMessageInfo(mi)
  532. }
  533. return ms
  534. }
  535. return mi.MessageOf(x)
  536. }
  537. // Deprecated: Use CreateNodeReq.ProtoReflect.Descriptor instead.
  538. func (*CreateNodeReq) Descriptor() ([]byte, []int) {
  539. return file_grpc_node_proto_rawDescGZIP(), []int{5}
  540. }
  541. func (x *CreateNodeReq) GetNode() *Node {
  542. if x != nil {
  543. return x.Node
  544. }
  545. return nil
  546. }
  547. type CreateNodeRes struct {
  548. state protoimpl.MessageState
  549. sizeCache protoimpl.SizeCache
  550. unknownFields protoimpl.UnknownFields
  551. Node *Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"` // Node id filled in
  552. }
  553. func (x *CreateNodeRes) Reset() {
  554. *x = CreateNodeRes{}
  555. if protoimpl.UnsafeEnabled {
  556. mi := &file_grpc_node_proto_msgTypes[6]
  557. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  558. ms.StoreMessageInfo(mi)
  559. }
  560. }
  561. func (x *CreateNodeRes) String() string {
  562. return protoimpl.X.MessageStringOf(x)
  563. }
  564. func (*CreateNodeRes) ProtoMessage() {}
  565. func (x *CreateNodeRes) ProtoReflect() protoreflect.Message {
  566. mi := &file_grpc_node_proto_msgTypes[6]
  567. if protoimpl.UnsafeEnabled && x != nil {
  568. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  569. if ms.LoadMessageInfo() == nil {
  570. ms.StoreMessageInfo(mi)
  571. }
  572. return ms
  573. }
  574. return mi.MessageOf(x)
  575. }
  576. // Deprecated: Use CreateNodeRes.ProtoReflect.Descriptor instead.
  577. func (*CreateNodeRes) Descriptor() ([]byte, []int) {
  578. return file_grpc_node_proto_rawDescGZIP(), []int{6}
  579. }
  580. func (x *CreateNodeRes) GetNode() *Node {
  581. if x != nil {
  582. return x.Node
  583. }
  584. return nil
  585. }
  586. type UpdateNodeReq struct {
  587. state protoimpl.MessageState
  588. sizeCache protoimpl.SizeCache
  589. unknownFields protoimpl.UnknownFields
  590. Node *Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
  591. }
  592. func (x *UpdateNodeReq) Reset() {
  593. *x = UpdateNodeReq{}
  594. if protoimpl.UnsafeEnabled {
  595. mi := &file_grpc_node_proto_msgTypes[7]
  596. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  597. ms.StoreMessageInfo(mi)
  598. }
  599. }
  600. func (x *UpdateNodeReq) String() string {
  601. return protoimpl.X.MessageStringOf(x)
  602. }
  603. func (*UpdateNodeReq) ProtoMessage() {}
  604. func (x *UpdateNodeReq) ProtoReflect() protoreflect.Message {
  605. mi := &file_grpc_node_proto_msgTypes[7]
  606. if protoimpl.UnsafeEnabled && x != nil {
  607. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  608. if ms.LoadMessageInfo() == nil {
  609. ms.StoreMessageInfo(mi)
  610. }
  611. return ms
  612. }
  613. return mi.MessageOf(x)
  614. }
  615. // Deprecated: Use UpdateNodeReq.ProtoReflect.Descriptor instead.
  616. func (*UpdateNodeReq) Descriptor() ([]byte, []int) {
  617. return file_grpc_node_proto_rawDescGZIP(), []int{7}
  618. }
  619. func (x *UpdateNodeReq) GetNode() *Node {
  620. if x != nil {
  621. return x.Node
  622. }
  623. return nil
  624. }
  625. type UpdateNodeRes struct {
  626. state protoimpl.MessageState
  627. sizeCache protoimpl.SizeCache
  628. unknownFields protoimpl.UnknownFields
  629. Node *Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
  630. }
  631. func (x *UpdateNodeRes) Reset() {
  632. *x = UpdateNodeRes{}
  633. if protoimpl.UnsafeEnabled {
  634. mi := &file_grpc_node_proto_msgTypes[8]
  635. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  636. ms.StoreMessageInfo(mi)
  637. }
  638. }
  639. func (x *UpdateNodeRes) String() string {
  640. return protoimpl.X.MessageStringOf(x)
  641. }
  642. func (*UpdateNodeRes) ProtoMessage() {}
  643. func (x *UpdateNodeRes) ProtoReflect() protoreflect.Message {
  644. mi := &file_grpc_node_proto_msgTypes[8]
  645. if protoimpl.UnsafeEnabled && x != nil {
  646. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  647. if ms.LoadMessageInfo() == nil {
  648. ms.StoreMessageInfo(mi)
  649. }
  650. return ms
  651. }
  652. return mi.MessageOf(x)
  653. }
  654. // Deprecated: Use UpdateNodeRes.ProtoReflect.Descriptor instead.
  655. func (*UpdateNodeRes) Descriptor() ([]byte, []int) {
  656. return file_grpc_node_proto_rawDescGZIP(), []int{8}
  657. }
  658. func (x *UpdateNodeRes) GetNode() *Node {
  659. if x != nil {
  660. return x.Node
  661. }
  662. return nil
  663. }
  664. type ReadNodeReq struct {
  665. state protoimpl.MessageState
  666. sizeCache protoimpl.SizeCache
  667. unknownFields protoimpl.UnknownFields
  668. Macaddress string `protobuf:"bytes,1,opt,name=macaddress,proto3" json:"macaddress,omitempty"`
  669. Network string `protobuf:"bytes,2,opt,name=network,proto3" json:"network,omitempty"`
  670. }
  671. func (x *ReadNodeReq) Reset() {
  672. *x = ReadNodeReq{}
  673. if protoimpl.UnsafeEnabled {
  674. mi := &file_grpc_node_proto_msgTypes[9]
  675. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  676. ms.StoreMessageInfo(mi)
  677. }
  678. }
  679. func (x *ReadNodeReq) String() string {
  680. return protoimpl.X.MessageStringOf(x)
  681. }
  682. func (*ReadNodeReq) ProtoMessage() {}
  683. func (x *ReadNodeReq) ProtoReflect() protoreflect.Message {
  684. mi := &file_grpc_node_proto_msgTypes[9]
  685. if protoimpl.UnsafeEnabled && x != nil {
  686. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  687. if ms.LoadMessageInfo() == nil {
  688. ms.StoreMessageInfo(mi)
  689. }
  690. return ms
  691. }
  692. return mi.MessageOf(x)
  693. }
  694. // Deprecated: Use ReadNodeReq.ProtoReflect.Descriptor instead.
  695. func (*ReadNodeReq) Descriptor() ([]byte, []int) {
  696. return file_grpc_node_proto_rawDescGZIP(), []int{9}
  697. }
  698. func (x *ReadNodeReq) GetMacaddress() string {
  699. if x != nil {
  700. return x.Macaddress
  701. }
  702. return ""
  703. }
  704. func (x *ReadNodeReq) GetNetwork() string {
  705. if x != nil {
  706. return x.Network
  707. }
  708. return ""
  709. }
  710. type ReadNodeRes struct {
  711. state protoimpl.MessageState
  712. sizeCache protoimpl.SizeCache
  713. unknownFields protoimpl.UnknownFields
  714. Node *Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
  715. }
  716. func (x *ReadNodeRes) Reset() {
  717. *x = ReadNodeRes{}
  718. if protoimpl.UnsafeEnabled {
  719. mi := &file_grpc_node_proto_msgTypes[10]
  720. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  721. ms.StoreMessageInfo(mi)
  722. }
  723. }
  724. func (x *ReadNodeRes) String() string {
  725. return protoimpl.X.MessageStringOf(x)
  726. }
  727. func (*ReadNodeRes) ProtoMessage() {}
  728. func (x *ReadNodeRes) ProtoReflect() protoreflect.Message {
  729. mi := &file_grpc_node_proto_msgTypes[10]
  730. if protoimpl.UnsafeEnabled && x != nil {
  731. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  732. if ms.LoadMessageInfo() == nil {
  733. ms.StoreMessageInfo(mi)
  734. }
  735. return ms
  736. }
  737. return mi.MessageOf(x)
  738. }
  739. // Deprecated: Use ReadNodeRes.ProtoReflect.Descriptor instead.
  740. func (*ReadNodeRes) Descriptor() ([]byte, []int) {
  741. return file_grpc_node_proto_rawDescGZIP(), []int{10}
  742. }
  743. func (x *ReadNodeRes) GetNode() *Node {
  744. if x != nil {
  745. return x.Node
  746. }
  747. return nil
  748. }
  749. type DeleteNodeReq struct {
  750. state protoimpl.MessageState
  751. sizeCache protoimpl.SizeCache
  752. unknownFields protoimpl.UnknownFields
  753. Macaddress string `protobuf:"bytes,1,opt,name=macaddress,proto3" json:"macaddress,omitempty"`
  754. NetworkName string `protobuf:"bytes,2,opt,name=networkName,proto3" json:"networkName,omitempty"`
  755. }
  756. func (x *DeleteNodeReq) Reset() {
  757. *x = DeleteNodeReq{}
  758. if protoimpl.UnsafeEnabled {
  759. mi := &file_grpc_node_proto_msgTypes[11]
  760. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  761. ms.StoreMessageInfo(mi)
  762. }
  763. }
  764. func (x *DeleteNodeReq) String() string {
  765. return protoimpl.X.MessageStringOf(x)
  766. }
  767. func (*DeleteNodeReq) ProtoMessage() {}
  768. func (x *DeleteNodeReq) ProtoReflect() protoreflect.Message {
  769. mi := &file_grpc_node_proto_msgTypes[11]
  770. if protoimpl.UnsafeEnabled && x != nil {
  771. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  772. if ms.LoadMessageInfo() == nil {
  773. ms.StoreMessageInfo(mi)
  774. }
  775. return ms
  776. }
  777. return mi.MessageOf(x)
  778. }
  779. // Deprecated: Use DeleteNodeReq.ProtoReflect.Descriptor instead.
  780. func (*DeleteNodeReq) Descriptor() ([]byte, []int) {
  781. return file_grpc_node_proto_rawDescGZIP(), []int{11}
  782. }
  783. func (x *DeleteNodeReq) GetMacaddress() string {
  784. if x != nil {
  785. return x.Macaddress
  786. }
  787. return ""
  788. }
  789. func (x *DeleteNodeReq) GetNetworkName() string {
  790. if x != nil {
  791. return x.NetworkName
  792. }
  793. return ""
  794. }
  795. type DeleteNodeRes struct {
  796. state protoimpl.MessageState
  797. sizeCache protoimpl.SizeCache
  798. unknownFields protoimpl.UnknownFields
  799. Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
  800. }
  801. func (x *DeleteNodeRes) Reset() {
  802. *x = DeleteNodeRes{}
  803. if protoimpl.UnsafeEnabled {
  804. mi := &file_grpc_node_proto_msgTypes[12]
  805. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  806. ms.StoreMessageInfo(mi)
  807. }
  808. }
  809. func (x *DeleteNodeRes) String() string {
  810. return protoimpl.X.MessageStringOf(x)
  811. }
  812. func (*DeleteNodeRes) ProtoMessage() {}
  813. func (x *DeleteNodeRes) ProtoReflect() protoreflect.Message {
  814. mi := &file_grpc_node_proto_msgTypes[12]
  815. if protoimpl.UnsafeEnabled && x != nil {
  816. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  817. if ms.LoadMessageInfo() == nil {
  818. ms.StoreMessageInfo(mi)
  819. }
  820. return ms
  821. }
  822. return mi.MessageOf(x)
  823. }
  824. // Deprecated: Use DeleteNodeRes.ProtoReflect.Descriptor instead.
  825. func (*DeleteNodeRes) Descriptor() ([]byte, []int) {
  826. return file_grpc_node_proto_rawDescGZIP(), []int{12}
  827. }
  828. func (x *DeleteNodeRes) GetSuccess() bool {
  829. if x != nil {
  830. return x.Success
  831. }
  832. return false
  833. }
  834. type GetPeersReq struct {
  835. state protoimpl.MessageState
  836. sizeCache protoimpl.SizeCache
  837. unknownFields protoimpl.UnknownFields
  838. Macaddress string `protobuf:"bytes,1,opt,name=macaddress,proto3" json:"macaddress,omitempty"`
  839. Network string `protobuf:"bytes,2,opt,name=network,proto3" json:"network,omitempty"`
  840. }
  841. func (x *GetPeersReq) Reset() {
  842. *x = GetPeersReq{}
  843. if protoimpl.UnsafeEnabled {
  844. mi := &file_grpc_node_proto_msgTypes[13]
  845. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  846. ms.StoreMessageInfo(mi)
  847. }
  848. }
  849. func (x *GetPeersReq) String() string {
  850. return protoimpl.X.MessageStringOf(x)
  851. }
  852. func (*GetPeersReq) ProtoMessage() {}
  853. func (x *GetPeersReq) ProtoReflect() protoreflect.Message {
  854. mi := &file_grpc_node_proto_msgTypes[13]
  855. if protoimpl.UnsafeEnabled && x != nil {
  856. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  857. if ms.LoadMessageInfo() == nil {
  858. ms.StoreMessageInfo(mi)
  859. }
  860. return ms
  861. }
  862. return mi.MessageOf(x)
  863. }
  864. // Deprecated: Use GetPeersReq.ProtoReflect.Descriptor instead.
  865. func (*GetPeersReq) Descriptor() ([]byte, []int) {
  866. return file_grpc_node_proto_rawDescGZIP(), []int{13}
  867. }
  868. func (x *GetPeersReq) GetMacaddress() string {
  869. if x != nil {
  870. return x.Macaddress
  871. }
  872. return ""
  873. }
  874. func (x *GetPeersReq) GetNetwork() string {
  875. if x != nil {
  876. return x.Network
  877. }
  878. return ""
  879. }
  880. type GetPeersRes struct {
  881. state protoimpl.MessageState
  882. sizeCache protoimpl.SizeCache
  883. unknownFields protoimpl.UnknownFields
  884. Peers *PeersResponse `protobuf:"bytes,1,opt,name=peers,proto3" json:"peers,omitempty"`
  885. }
  886. func (x *GetPeersRes) Reset() {
  887. *x = GetPeersRes{}
  888. if protoimpl.UnsafeEnabled {
  889. mi := &file_grpc_node_proto_msgTypes[14]
  890. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  891. ms.StoreMessageInfo(mi)
  892. }
  893. }
  894. func (x *GetPeersRes) String() string {
  895. return protoimpl.X.MessageStringOf(x)
  896. }
  897. func (*GetPeersRes) ProtoMessage() {}
  898. func (x *GetPeersRes) ProtoReflect() protoreflect.Message {
  899. mi := &file_grpc_node_proto_msgTypes[14]
  900. if protoimpl.UnsafeEnabled && x != nil {
  901. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  902. if ms.LoadMessageInfo() == nil {
  903. ms.StoreMessageInfo(mi)
  904. }
  905. return ms
  906. }
  907. return mi.MessageOf(x)
  908. }
  909. // Deprecated: Use GetPeersRes.ProtoReflect.Descriptor instead.
  910. func (*GetPeersRes) Descriptor() ([]byte, []int) {
  911. return file_grpc_node_proto_rawDescGZIP(), []int{14}
  912. }
  913. func (x *GetPeersRes) GetPeers() *PeersResponse {
  914. if x != nil {
  915. return x.Peers
  916. }
  917. return nil
  918. }
  919. type CheckInReq struct {
  920. state protoimpl.MessageState
  921. sizeCache protoimpl.SizeCache
  922. unknownFields protoimpl.UnknownFields
  923. Node *Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"` // bool postchanges = 2;
  924. }
  925. func (x *CheckInReq) Reset() {
  926. *x = CheckInReq{}
  927. if protoimpl.UnsafeEnabled {
  928. mi := &file_grpc_node_proto_msgTypes[15]
  929. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  930. ms.StoreMessageInfo(mi)
  931. }
  932. }
  933. func (x *CheckInReq) String() string {
  934. return protoimpl.X.MessageStringOf(x)
  935. }
  936. func (*CheckInReq) ProtoMessage() {}
  937. func (x *CheckInReq) ProtoReflect() protoreflect.Message {
  938. mi := &file_grpc_node_proto_msgTypes[15]
  939. if protoimpl.UnsafeEnabled && x != nil {
  940. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  941. if ms.LoadMessageInfo() == nil {
  942. ms.StoreMessageInfo(mi)
  943. }
  944. return ms
  945. }
  946. return mi.MessageOf(x)
  947. }
  948. // Deprecated: Use CheckInReq.ProtoReflect.Descriptor instead.
  949. func (*CheckInReq) Descriptor() ([]byte, []int) {
  950. return file_grpc_node_proto_rawDescGZIP(), []int{15}
  951. }
  952. func (x *CheckInReq) GetNode() *Node {
  953. if x != nil {
  954. return x.Node
  955. }
  956. return nil
  957. }
  958. type CheckInRes struct {
  959. state protoimpl.MessageState
  960. sizeCache protoimpl.SizeCache
  961. unknownFields protoimpl.UnknownFields
  962. Checkinresponse *CheckInResponse `protobuf:"bytes,1,opt,name=checkinresponse,proto3" json:"checkinresponse,omitempty"`
  963. }
  964. func (x *CheckInRes) Reset() {
  965. *x = CheckInRes{}
  966. if protoimpl.UnsafeEnabled {
  967. mi := &file_grpc_node_proto_msgTypes[16]
  968. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  969. ms.StoreMessageInfo(mi)
  970. }
  971. }
  972. func (x *CheckInRes) String() string {
  973. return protoimpl.X.MessageStringOf(x)
  974. }
  975. func (*CheckInRes) ProtoMessage() {}
  976. func (x *CheckInRes) ProtoReflect() protoreflect.Message {
  977. mi := &file_grpc_node_proto_msgTypes[16]
  978. if protoimpl.UnsafeEnabled && x != nil {
  979. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  980. if ms.LoadMessageInfo() == nil {
  981. ms.StoreMessageInfo(mi)
  982. }
  983. return ms
  984. }
  985. return mi.MessageOf(x)
  986. }
  987. // Deprecated: Use CheckInRes.ProtoReflect.Descriptor instead.
  988. func (*CheckInRes) Descriptor() ([]byte, []int) {
  989. return file_grpc_node_proto_rawDescGZIP(), []int{16}
  990. }
  991. func (x *CheckInRes) GetCheckinresponse() *CheckInResponse {
  992. if x != nil {
  993. return x.Checkinresponse
  994. }
  995. return nil
  996. }
  997. var File_grpc_node_proto protoreflect.FileDescriptor
  998. var file_grpc_node_proto_rawDesc = []byte{
  999. 0x0a, 0x0f, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  1000. 0x6f, 0x12, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x22, 0x64, 0x0a, 0x0c, 0x4c, 0x6f, 0x67, 0x69, 0x6e,
  1001. 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x6d, 0x61, 0x63, 0x61, 0x64,
  1002. 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6d, 0x61, 0x63,
  1003. 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77,
  1004. 0x6f, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77,
  1005. 0x6f, 0x72, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x18, 0x03,
  1006. 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x22, 0x31, 0x0a,
  1007. 0x0d, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x20,
  1008. 0x0a, 0x0b, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20,
  1009. 0x01, 0x28, 0x09, 0x52, 0x0b, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x74, 0x6f, 0x6b, 0x65, 0x6e,
  1010. 0x22, 0xae, 0x06, 0x0a, 0x04, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18,
  1011. 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d,
  1012. 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a,
  1013. 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
  1014. 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x61, 0x64, 0x64, 0x72, 0x65,
  1015. 0x73, 0x73, 0x36, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x61, 0x64, 0x64, 0x72, 0x65,
  1016. 0x73, 0x73, 0x36, 0x12, 0x1e, 0x0a, 0x0a, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x70, 0x6f, 0x72,
  1017. 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x70,
  1018. 0x6f, 0x72, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x6b, 0x65, 0x79,
  1019. 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x6b, 0x65,
  1020. 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x06, 0x20,
  1021. 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x1e, 0x0a,
  1022. 0x0a, 0x6d, 0x61, 0x63, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28,
  1023. 0x09, 0x52, 0x0a, 0x6d, 0x61, 0x63, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1a, 0x0a,
  1024. 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52,
  1025. 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x6e, 0x6f, 0x64,
  1026. 0x65, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b,
  1027. 0x6e, 0x6f, 0x64, 0x65, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x12, 0x1c, 0x0a, 0x09, 0x69,
  1028. 0x73, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09,
  1029. 0x69, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x6f, 0x73,
  1030. 0x74, 0x75, 0x70, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x6f, 0x73, 0x74, 0x75,
  1031. 0x70, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x18, 0x0c, 0x20,
  1032. 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x12, 0x1c, 0x0a,
  1033. 0x09, 0x6b, 0x65, 0x65, 0x70, 0x61, 0x6c, 0x69, 0x76, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x05,
  1034. 0x52, 0x09, 0x6b, 0x65, 0x65, 0x70, 0x61, 0x6c, 0x69, 0x76, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x73,
  1035. 0x61, 0x76, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x08, 0x52,
  1036. 0x0a, 0x73, 0x61, 0x76, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1c, 0x0a, 0x09, 0x61,
  1037. 0x63, 0x63, 0x65, 0x73, 0x73, 0x6b, 0x65, 0x79, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
  1038. 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x6b, 0x65, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x69, 0x6e, 0x74,
  1039. 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x18, 0x10, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x69, 0x6e,
  1040. 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x6c, 0x61, 0x73, 0x74, 0x63,
  1041. 0x68, 0x65, 0x63, 0x6b, 0x69, 0x6e, 0x18, 0x11, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6c, 0x61,
  1042. 0x73, 0x74, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x69, 0x6e, 0x12, 0x22, 0x0a, 0x0c, 0x6c, 0x61, 0x73,
  1043. 0x74, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x64, 0x18, 0x12, 0x20, 0x01, 0x28, 0x09, 0x52,
  1044. 0x0c, 0x6c, 0x61, 0x73, 0x74, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x64, 0x12, 0x28, 0x0a,
  1045. 0x0f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x69, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c,
  1046. 0x18, 0x13, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x69, 0x6e, 0x69,
  1047. 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x12, 0x22, 0x0a, 0x0c, 0x6c, 0x6f, 0x63, 0x61, 0x6c,
  1048. 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x14, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6c,
  1049. 0x6f, 0x63, 0x61, 0x6c, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x70,
  1050. 0x6f, 0x73, 0x74, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x18, 0x15, 0x20, 0x01, 0x28, 0x09,
  1051. 0x52, 0x0b, 0x70, 0x6f, 0x73, 0x74, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x12, 0x1e, 0x0a,
  1052. 0x0a, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x69, 0x70, 0x73, 0x18, 0x16, 0x20, 0x01, 0x28,
  1053. 0x09, 0x52, 0x0a, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x69, 0x70, 0x73, 0x12, 0x18, 0x0a,
  1054. 0x07, 0x69, 0x73, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x18, 0x17, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07,
  1055. 0x69, 0x73, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x12, 0x20, 0x0a, 0x0b, 0x69, 0x73, 0x64, 0x75, 0x61,
  1056. 0x6c, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x73,
  1057. 0x64, 0x75, 0x61, 0x6c, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x6e, 0x73,
  1058. 0x6f, 0x66, 0x66, 0x18, 0x18, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x64, 0x6e, 0x73, 0x6f, 0x66,
  1059. 0x66, 0x12, 0x1e, 0x0a, 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x18,
  1060. 0x19, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x72, 0x61, 0x6e, 0x67,
  1061. 0x65, 0x22, 0x85, 0x02, 0x0a, 0x0f, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x49, 0x6e, 0x52, 0x65, 0x73,
  1062. 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73,
  1063. 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12,
  1064. 0x26, 0x0a, 0x0e, 0x6e, 0x65, 0x65, 0x64, 0x70, 0x65, 0x65, 0x72, 0x75, 0x70, 0x64, 0x61, 0x74,
  1065. 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x6e, 0x65, 0x65, 0x64, 0x70, 0x65, 0x65,
  1066. 0x72, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x2a, 0x0a, 0x10, 0x6e, 0x65, 0x65, 0x64, 0x63,
  1067. 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
  1068. 0x08, 0x52, 0x10, 0x6e, 0x65, 0x65, 0x64, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x70, 0x64,
  1069. 0x61, 0x74, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x6e, 0x6f, 0x64, 0x65, 0x6d, 0x65, 0x73, 0x73, 0x61,
  1070. 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6e, 0x6f, 0x64, 0x65, 0x6d, 0x65,
  1071. 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x69, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x69,
  1072. 0x6e, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x70, 0x65, 0x6e, 0x64,
  1073. 0x69, 0x6e, 0x67, 0x12, 0x24, 0x0a, 0x0d, 0x6e, 0x65, 0x65, 0x64, 0x6b, 0x65, 0x79, 0x75, 0x70,
  1074. 0x64, 0x61, 0x74, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x6e, 0x65, 0x65, 0x64,
  1075. 0x6b, 0x65, 0x79, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x6e, 0x65, 0x65,
  1076. 0x64, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x6e,
  1077. 0x65, 0x65, 0x64, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x22, 0xa3, 0x02, 0x0a, 0x0d, 0x50, 0x65,
  1078. 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x69,
  1079. 0x73, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09,
  1080. 0x69, 0x73, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x12, 0x22, 0x0a, 0x0c, 0x67, 0x61, 0x74,
  1081. 0x65, 0x77, 0x61, 0x79, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
  1082. 0x0c, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x1c, 0x0a,
  1083. 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x6b, 0x65, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09,
  1084. 0x52, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x6b, 0x65, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x65,
  1085. 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65,
  1086. 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65,
  1087. 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73,
  1088. 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x36, 0x18, 0x08, 0x20,
  1089. 0x01, 0x28, 0x09, 0x52, 0x08, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x36, 0x12, 0x1e, 0x0a,
  1090. 0x0a, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28,
  1091. 0x05, 0x52, 0x0a, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x22, 0x0a,
  1092. 0x0c, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x07, 0x20,
  1093. 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73,
  1094. 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x6b, 0x65, 0x65, 0x70, 0x61, 0x6c, 0x69, 0x76, 0x65, 0x18, 0x0d,
  1095. 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x6b, 0x65, 0x65, 0x70, 0x61, 0x6c, 0x69, 0x76, 0x65, 0x22,
  1096. 0x2f, 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71,
  1097. 0x12, 0x1e, 0x0a, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a,
  1098. 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x6e, 0x6f, 0x64, 0x65,
  1099. 0x22, 0x2f, 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65,
  1100. 0x73, 0x12, 0x1e, 0x0a, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
  1101. 0x0a, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x6e, 0x6f, 0x64,
  1102. 0x65, 0x22, 0x2f, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x52,
  1103. 0x65, 0x71, 0x12, 0x1e, 0x0a, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
  1104. 0x32, 0x0a, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x6e, 0x6f,
  1105. 0x64, 0x65, 0x22, 0x2f, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65,
  1106. 0x52, 0x65, 0x73, 0x12, 0x1e, 0x0a, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
  1107. 0x0b, 0x32, 0x0a, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x6e,
  1108. 0x6f, 0x64, 0x65, 0x22, 0x47, 0x0a, 0x0b, 0x52, 0x65, 0x61, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x52,
  1109. 0x65, 0x71, 0x12, 0x1e, 0x0a, 0x0a, 0x6d, 0x61, 0x63, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73,
  1110. 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6d, 0x61, 0x63, 0x61, 0x64, 0x64, 0x72, 0x65,
  1111. 0x73, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x18, 0x02, 0x20,
  1112. 0x01, 0x28, 0x09, 0x52, 0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x22, 0x2d, 0x0a, 0x0b,
  1113. 0x52, 0x65, 0x61, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x12, 0x1e, 0x0a, 0x04, 0x6e,
  1114. 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x6e, 0x6f, 0x64, 0x65,
  1115. 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x22, 0x51, 0x0a, 0x0d, 0x44,
  1116. 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x12, 0x1e, 0x0a, 0x0a,
  1117. 0x6d, 0x61, 0x63, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
  1118. 0x52, 0x0a, 0x6d, 0x61, 0x63, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x20, 0x0a, 0x0b,
  1119. 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
  1120. 0x09, 0x52, 0x0b, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x29,
  1121. 0x0a, 0x0d, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x12,
  1122. 0x18, 0x0a, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08,
  1123. 0x52, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x22, 0x47, 0x0a, 0x0b, 0x47, 0x65, 0x74,
  1124. 0x50, 0x65, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x12, 0x1e, 0x0a, 0x0a, 0x6d, 0x61, 0x63, 0x61,
  1125. 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6d, 0x61,
  1126. 0x63, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x6e, 0x65, 0x74, 0x77,
  1127. 0x6f, 0x72, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f,
  1128. 0x72, 0x6b, 0x22, 0x38, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x50, 0x65, 0x65, 0x72, 0x73, 0x52, 0x65,
  1129. 0x73, 0x12, 0x29, 0x0a, 0x05, 0x70, 0x65, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
  1130. 0x32, 0x13, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x50, 0x65, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73,
  1131. 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x05, 0x70, 0x65, 0x65, 0x72, 0x73, 0x22, 0x2c, 0x0a, 0x0a,
  1132. 0x43, 0x68, 0x65, 0x63, 0x6b, 0x49, 0x6e, 0x52, 0x65, 0x71, 0x12, 0x1e, 0x0a, 0x04, 0x6e, 0x6f,
  1133. 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e,
  1134. 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x22, 0x4d, 0x0a, 0x0a, 0x43, 0x68,
  1135. 0x65, 0x63, 0x6b, 0x49, 0x6e, 0x52, 0x65, 0x73, 0x12, 0x3f, 0x0a, 0x0f, 0x63, 0x68, 0x65, 0x63,
  1136. 0x6b, 0x69, 0x6e, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
  1137. 0x0b, 0x32, 0x15, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x49, 0x6e,
  1138. 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x0f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x69,
  1139. 0x6e, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xfc, 0x02, 0x0a, 0x0b, 0x4e, 0x6f,
  1140. 0x64, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x30, 0x0a, 0x05, 0x4c, 0x6f, 0x67,
  1141. 0x69, 0x6e, 0x12, 0x12, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52,
  1142. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x4c, 0x6f,
  1143. 0x67, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x36, 0x0a, 0x0a, 0x43,
  1144. 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x13, 0x2e, 0x6e, 0x6f, 0x64, 0x65,
  1145. 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x13,
  1146. 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65,
  1147. 0x52, 0x65, 0x73, 0x12, 0x30, 0x0a, 0x08, 0x52, 0x65, 0x61, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x12,
  1148. 0x11, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x52,
  1149. 0x65, 0x71, 0x1a, 0x11, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x4e, 0x6f,
  1150. 0x64, 0x65, 0x52, 0x65, 0x73, 0x12, 0x36, 0x0a, 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e,
  1151. 0x6f, 0x64, 0x65, 0x12, 0x13, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74,
  1152. 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x13, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e,
  1153. 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x12, 0x36, 0x0a,
  1154. 0x0a, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x13, 0x2e, 0x6e, 0x6f,
  1155. 0x64, 0x65, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71,
  1156. 0x1a, 0x13, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x6f,
  1157. 0x64, 0x65, 0x52, 0x65, 0x73, 0x12, 0x32, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x50, 0x65, 0x65, 0x72,
  1158. 0x73, 0x12, 0x11, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x65, 0x65, 0x72,
  1159. 0x73, 0x52, 0x65, 0x71, 0x1a, 0x11, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x50,
  1160. 0x65, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x30, 0x01, 0x12, 0x2d, 0x0a, 0x07, 0x43, 0x68, 0x65,
  1161. 0x63, 0x6b, 0x49, 0x6e, 0x12, 0x10, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x43, 0x68, 0x65, 0x63,
  1162. 0x6b, 0x49, 0x6e, 0x52, 0x65, 0x71, 0x1a, 0x10, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x43, 0x68,
  1163. 0x65, 0x63, 0x6b, 0x49, 0x6e, 0x52, 0x65, 0x73, 0x42, 0x2f, 0x5a, 0x2d, 0x67, 0x6f, 0x6f, 0x67,
  1164. 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x72,
  1165. 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x6b, 0x6e, 0x6f,
  1166. 0x77, 0x6e, 0x2f, 0x6e, 0x6f, 0x64, 0x65, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  1167. 0x33,
  1168. }
  1169. var (
  1170. file_grpc_node_proto_rawDescOnce sync.Once
  1171. file_grpc_node_proto_rawDescData = file_grpc_node_proto_rawDesc
  1172. )
  1173. func file_grpc_node_proto_rawDescGZIP() []byte {
  1174. file_grpc_node_proto_rawDescOnce.Do(func() {
  1175. file_grpc_node_proto_rawDescData = protoimpl.X.CompressGZIP(file_grpc_node_proto_rawDescData)
  1176. })
  1177. return file_grpc_node_proto_rawDescData
  1178. }
  1179. var file_grpc_node_proto_msgTypes = make([]protoimpl.MessageInfo, 17)
  1180. var file_grpc_node_proto_goTypes = []interface{}{
  1181. (*LoginRequest)(nil), // 0: node.LoginRequest
  1182. (*LoginResponse)(nil), // 1: node.LoginResponse
  1183. (*Node)(nil), // 2: node.Node
  1184. (*CheckInResponse)(nil), // 3: node.CheckInResponse
  1185. (*PeersResponse)(nil), // 4: node.PeersResponse
  1186. (*CreateNodeReq)(nil), // 5: node.CreateNodeReq
  1187. (*CreateNodeRes)(nil), // 6: node.CreateNodeRes
  1188. (*UpdateNodeReq)(nil), // 7: node.UpdateNodeReq
  1189. (*UpdateNodeRes)(nil), // 8: node.UpdateNodeRes
  1190. (*ReadNodeReq)(nil), // 9: node.ReadNodeReq
  1191. (*ReadNodeRes)(nil), // 10: node.ReadNodeRes
  1192. (*DeleteNodeReq)(nil), // 11: node.DeleteNodeReq
  1193. (*DeleteNodeRes)(nil), // 12: node.DeleteNodeRes
  1194. (*GetPeersReq)(nil), // 13: node.GetPeersReq
  1195. (*GetPeersRes)(nil), // 14: node.GetPeersRes
  1196. (*CheckInReq)(nil), // 15: node.CheckInReq
  1197. (*CheckInRes)(nil), // 16: node.CheckInRes
  1198. }
  1199. var file_grpc_node_proto_depIdxs = []int32{
  1200. 2, // 0: node.CreateNodeReq.node:type_name -> node.Node
  1201. 2, // 1: node.CreateNodeRes.node:type_name -> node.Node
  1202. 2, // 2: node.UpdateNodeReq.node:type_name -> node.Node
  1203. 2, // 3: node.UpdateNodeRes.node:type_name -> node.Node
  1204. 2, // 4: node.ReadNodeRes.node:type_name -> node.Node
  1205. 4, // 5: node.GetPeersRes.peers:type_name -> node.PeersResponse
  1206. 2, // 6: node.CheckInReq.node:type_name -> node.Node
  1207. 3, // 7: node.CheckInRes.checkinresponse:type_name -> node.CheckInResponse
  1208. 0, // 8: node.NodeService.Login:input_type -> node.LoginRequest
  1209. 5, // 9: node.NodeService.CreateNode:input_type -> node.CreateNodeReq
  1210. 9, // 10: node.NodeService.ReadNode:input_type -> node.ReadNodeReq
  1211. 7, // 11: node.NodeService.UpdateNode:input_type -> node.UpdateNodeReq
  1212. 11, // 12: node.NodeService.DeleteNode:input_type -> node.DeleteNodeReq
  1213. 13, // 13: node.NodeService.GetPeers:input_type -> node.GetPeersReq
  1214. 15, // 14: node.NodeService.CheckIn:input_type -> node.CheckInReq
  1215. 1, // 15: node.NodeService.Login:output_type -> node.LoginResponse
  1216. 6, // 16: node.NodeService.CreateNode:output_type -> node.CreateNodeRes
  1217. 10, // 17: node.NodeService.ReadNode:output_type -> node.ReadNodeRes
  1218. 8, // 18: node.NodeService.UpdateNode:output_type -> node.UpdateNodeRes
  1219. 12, // 19: node.NodeService.DeleteNode:output_type -> node.DeleteNodeRes
  1220. 14, // 20: node.NodeService.GetPeers:output_type -> node.GetPeersRes
  1221. 16, // 21: node.NodeService.CheckIn:output_type -> node.CheckInRes
  1222. 15, // [15:22] is the sub-list for method output_type
  1223. 8, // [8:15] is the sub-list for method input_type
  1224. 8, // [8:8] is the sub-list for extension type_name
  1225. 8, // [8:8] is the sub-list for extension extendee
  1226. 0, // [0:8] is the sub-list for field type_name
  1227. }
  1228. func init() { file_grpc_node_proto_init() }
  1229. func file_grpc_node_proto_init() {
  1230. if File_grpc_node_proto != nil {
  1231. return
  1232. }
  1233. if !protoimpl.UnsafeEnabled {
  1234. file_grpc_node_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  1235. switch v := v.(*LoginRequest); i {
  1236. case 0:
  1237. return &v.state
  1238. case 1:
  1239. return &v.sizeCache
  1240. case 2:
  1241. return &v.unknownFields
  1242. default:
  1243. return nil
  1244. }
  1245. }
  1246. file_grpc_node_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  1247. switch v := v.(*LoginResponse); i {
  1248. case 0:
  1249. return &v.state
  1250. case 1:
  1251. return &v.sizeCache
  1252. case 2:
  1253. return &v.unknownFields
  1254. default:
  1255. return nil
  1256. }
  1257. }
  1258. file_grpc_node_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  1259. switch v := v.(*Node); i {
  1260. case 0:
  1261. return &v.state
  1262. case 1:
  1263. return &v.sizeCache
  1264. case 2:
  1265. return &v.unknownFields
  1266. default:
  1267. return nil
  1268. }
  1269. }
  1270. file_grpc_node_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  1271. switch v := v.(*CheckInResponse); i {
  1272. case 0:
  1273. return &v.state
  1274. case 1:
  1275. return &v.sizeCache
  1276. case 2:
  1277. return &v.unknownFields
  1278. default:
  1279. return nil
  1280. }
  1281. }
  1282. file_grpc_node_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  1283. switch v := v.(*PeersResponse); i {
  1284. case 0:
  1285. return &v.state
  1286. case 1:
  1287. return &v.sizeCache
  1288. case 2:
  1289. return &v.unknownFields
  1290. default:
  1291. return nil
  1292. }
  1293. }
  1294. file_grpc_node_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  1295. switch v := v.(*CreateNodeReq); i {
  1296. case 0:
  1297. return &v.state
  1298. case 1:
  1299. return &v.sizeCache
  1300. case 2:
  1301. return &v.unknownFields
  1302. default:
  1303. return nil
  1304. }
  1305. }
  1306. file_grpc_node_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  1307. switch v := v.(*CreateNodeRes); i {
  1308. case 0:
  1309. return &v.state
  1310. case 1:
  1311. return &v.sizeCache
  1312. case 2:
  1313. return &v.unknownFields
  1314. default:
  1315. return nil
  1316. }
  1317. }
  1318. file_grpc_node_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  1319. switch v := v.(*UpdateNodeReq); i {
  1320. case 0:
  1321. return &v.state
  1322. case 1:
  1323. return &v.sizeCache
  1324. case 2:
  1325. return &v.unknownFields
  1326. default:
  1327. return nil
  1328. }
  1329. }
  1330. file_grpc_node_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  1331. switch v := v.(*UpdateNodeRes); i {
  1332. case 0:
  1333. return &v.state
  1334. case 1:
  1335. return &v.sizeCache
  1336. case 2:
  1337. return &v.unknownFields
  1338. default:
  1339. return nil
  1340. }
  1341. }
  1342. file_grpc_node_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  1343. switch v := v.(*ReadNodeReq); i {
  1344. case 0:
  1345. return &v.state
  1346. case 1:
  1347. return &v.sizeCache
  1348. case 2:
  1349. return &v.unknownFields
  1350. default:
  1351. return nil
  1352. }
  1353. }
  1354. file_grpc_node_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  1355. switch v := v.(*ReadNodeRes); i {
  1356. case 0:
  1357. return &v.state
  1358. case 1:
  1359. return &v.sizeCache
  1360. case 2:
  1361. return &v.unknownFields
  1362. default:
  1363. return nil
  1364. }
  1365. }
  1366. file_grpc_node_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
  1367. switch v := v.(*DeleteNodeReq); i {
  1368. case 0:
  1369. return &v.state
  1370. case 1:
  1371. return &v.sizeCache
  1372. case 2:
  1373. return &v.unknownFields
  1374. default:
  1375. return nil
  1376. }
  1377. }
  1378. file_grpc_node_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
  1379. switch v := v.(*DeleteNodeRes); i {
  1380. case 0:
  1381. return &v.state
  1382. case 1:
  1383. return &v.sizeCache
  1384. case 2:
  1385. return &v.unknownFields
  1386. default:
  1387. return nil
  1388. }
  1389. }
  1390. file_grpc_node_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
  1391. switch v := v.(*GetPeersReq); i {
  1392. case 0:
  1393. return &v.state
  1394. case 1:
  1395. return &v.sizeCache
  1396. case 2:
  1397. return &v.unknownFields
  1398. default:
  1399. return nil
  1400. }
  1401. }
  1402. file_grpc_node_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
  1403. switch v := v.(*GetPeersRes); i {
  1404. case 0:
  1405. return &v.state
  1406. case 1:
  1407. return &v.sizeCache
  1408. case 2:
  1409. return &v.unknownFields
  1410. default:
  1411. return nil
  1412. }
  1413. }
  1414. file_grpc_node_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
  1415. switch v := v.(*CheckInReq); i {
  1416. case 0:
  1417. return &v.state
  1418. case 1:
  1419. return &v.sizeCache
  1420. case 2:
  1421. return &v.unknownFields
  1422. default:
  1423. return nil
  1424. }
  1425. }
  1426. file_grpc_node_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
  1427. switch v := v.(*CheckInRes); i {
  1428. case 0:
  1429. return &v.state
  1430. case 1:
  1431. return &v.sizeCache
  1432. case 2:
  1433. return &v.unknownFields
  1434. default:
  1435. return nil
  1436. }
  1437. }
  1438. }
  1439. type x struct{}
  1440. out := protoimpl.TypeBuilder{
  1441. File: protoimpl.DescBuilder{
  1442. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  1443. RawDescriptor: file_grpc_node_proto_rawDesc,
  1444. NumEnums: 0,
  1445. NumMessages: 17,
  1446. NumExtensions: 0,
  1447. NumServices: 1,
  1448. },
  1449. GoTypes: file_grpc_node_proto_goTypes,
  1450. DependencyIndexes: file_grpc_node_proto_depIdxs,
  1451. MessageInfos: file_grpc_node_proto_msgTypes,
  1452. }.Build()
  1453. File_grpc_node_proto = out.File
  1454. file_grpc_node_proto_rawDesc = nil
  1455. file_grpc_node_proto_goTypes = nil
  1456. file_grpc_node_proto_depIdxs = nil
  1457. }