network.pb.go 41 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.26.0
  4. // protoc v3.12.4
  5. // source: network.proto
  6. package pb
  7. import (
  8. _ "google.golang.org/genproto/googleapis/api/annotations"
  9. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  10. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  11. reflect "reflect"
  12. sync "sync"
  13. )
  14. const (
  15. // Verify that this generated code is sufficiently up-to-date.
  16. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  17. // Verify that runtime/protoimpl is sufficiently up-to-date.
  18. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  19. )
  20. type NetworkCreateRequest struct {
  21. state protoimpl.MessageState
  22. sizeCache protoimpl.SizeCache
  23. unknownFields protoimpl.UnknownFields
  24. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  25. Cidr string `protobuf:"bytes,2,opt,name=cidr,proto3" json:"cidr,omitempty"`
  26. Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
  27. Via string `protobuf:"bytes,4,opt,name=via,proto3" json:"via,omitempty"`
  28. }
  29. func (x *NetworkCreateRequest) Reset() {
  30. *x = NetworkCreateRequest{}
  31. if protoimpl.UnsafeEnabled {
  32. mi := &file_network_proto_msgTypes[0]
  33. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  34. ms.StoreMessageInfo(mi)
  35. }
  36. }
  37. func (x *NetworkCreateRequest) String() string {
  38. return protoimpl.X.MessageStringOf(x)
  39. }
  40. func (*NetworkCreateRequest) ProtoMessage() {}
  41. func (x *NetworkCreateRequest) ProtoReflect() protoreflect.Message {
  42. mi := &file_network_proto_msgTypes[0]
  43. if protoimpl.UnsafeEnabled && x != nil {
  44. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  45. if ms.LoadMessageInfo() == nil {
  46. ms.StoreMessageInfo(mi)
  47. }
  48. return ms
  49. }
  50. return mi.MessageOf(x)
  51. }
  52. // Deprecated: Use NetworkCreateRequest.ProtoReflect.Descriptor instead.
  53. func (*NetworkCreateRequest) Descriptor() ([]byte, []int) {
  54. return file_network_proto_rawDescGZIP(), []int{0}
  55. }
  56. func (x *NetworkCreateRequest) GetName() string {
  57. if x != nil {
  58. return x.Name
  59. }
  60. return ""
  61. }
  62. func (x *NetworkCreateRequest) GetCidr() string {
  63. if x != nil {
  64. return x.Cidr
  65. }
  66. return ""
  67. }
  68. func (x *NetworkCreateRequest) GetType() string {
  69. if x != nil {
  70. return x.Type
  71. }
  72. return ""
  73. }
  74. func (x *NetworkCreateRequest) GetVia() string {
  75. if x != nil {
  76. return x.Via
  77. }
  78. return ""
  79. }
  80. type NetworkListRequest struct {
  81. state protoimpl.MessageState
  82. sizeCache protoimpl.SizeCache
  83. unknownFields protoimpl.UnknownFields
  84. }
  85. func (x *NetworkListRequest) Reset() {
  86. *x = NetworkListRequest{}
  87. if protoimpl.UnsafeEnabled {
  88. mi := &file_network_proto_msgTypes[1]
  89. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  90. ms.StoreMessageInfo(mi)
  91. }
  92. }
  93. func (x *NetworkListRequest) String() string {
  94. return protoimpl.X.MessageStringOf(x)
  95. }
  96. func (*NetworkListRequest) ProtoMessage() {}
  97. func (x *NetworkListRequest) ProtoReflect() protoreflect.Message {
  98. mi := &file_network_proto_msgTypes[1]
  99. if protoimpl.UnsafeEnabled && x != nil {
  100. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  101. if ms.LoadMessageInfo() == nil {
  102. ms.StoreMessageInfo(mi)
  103. }
  104. return ms
  105. }
  106. return mi.MessageOf(x)
  107. }
  108. // Deprecated: Use NetworkListRequest.ProtoReflect.Descriptor instead.
  109. func (*NetworkListRequest) Descriptor() ([]byte, []int) {
  110. return file_network_proto_rawDescGZIP(), []int{1}
  111. }
  112. type NetworkDeleteRequest struct {
  113. state protoimpl.MessageState
  114. sizeCache protoimpl.SizeCache
  115. unknownFields protoimpl.UnknownFields
  116. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  117. }
  118. func (x *NetworkDeleteRequest) Reset() {
  119. *x = NetworkDeleteRequest{}
  120. if protoimpl.UnsafeEnabled {
  121. mi := &file_network_proto_msgTypes[2]
  122. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  123. ms.StoreMessageInfo(mi)
  124. }
  125. }
  126. func (x *NetworkDeleteRequest) String() string {
  127. return protoimpl.X.MessageStringOf(x)
  128. }
  129. func (*NetworkDeleteRequest) ProtoMessage() {}
  130. func (x *NetworkDeleteRequest) ProtoReflect() protoreflect.Message {
  131. mi := &file_network_proto_msgTypes[2]
  132. if protoimpl.UnsafeEnabled && x != nil {
  133. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  134. if ms.LoadMessageInfo() == nil {
  135. ms.StoreMessageInfo(mi)
  136. }
  137. return ms
  138. }
  139. return mi.MessageOf(x)
  140. }
  141. // Deprecated: Use NetworkDeleteRequest.ProtoReflect.Descriptor instead.
  142. func (*NetworkDeleteRequest) Descriptor() ([]byte, []int) {
  143. return file_network_proto_rawDescGZIP(), []int{2}
  144. }
  145. func (x *NetworkDeleteRequest) GetName() string {
  146. if x != nil {
  147. return x.Name
  148. }
  149. return ""
  150. }
  151. type NetworkGetAllTypesRequest struct {
  152. state protoimpl.MessageState
  153. sizeCache protoimpl.SizeCache
  154. unknownFields protoimpl.UnknownFields
  155. }
  156. func (x *NetworkGetAllTypesRequest) Reset() {
  157. *x = NetworkGetAllTypesRequest{}
  158. if protoimpl.UnsafeEnabled {
  159. mi := &file_network_proto_msgTypes[3]
  160. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  161. ms.StoreMessageInfo(mi)
  162. }
  163. }
  164. func (x *NetworkGetAllTypesRequest) String() string {
  165. return protoimpl.X.MessageStringOf(x)
  166. }
  167. func (*NetworkGetAllTypesRequest) ProtoMessage() {}
  168. func (x *NetworkGetAllTypesRequest) ProtoReflect() protoreflect.Message {
  169. mi := &file_network_proto_msgTypes[3]
  170. if protoimpl.UnsafeEnabled && x != nil {
  171. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  172. if ms.LoadMessageInfo() == nil {
  173. ms.StoreMessageInfo(mi)
  174. }
  175. return ms
  176. }
  177. return mi.MessageOf(x)
  178. }
  179. // Deprecated: Use NetworkGetAllTypesRequest.ProtoReflect.Descriptor instead.
  180. func (*NetworkGetAllTypesRequest) Descriptor() ([]byte, []int) {
  181. return file_network_proto_rawDescGZIP(), []int{3}
  182. }
  183. type NetworkAssociateRequest struct {
  184. state protoimpl.MessageState
  185. sizeCache protoimpl.SizeCache
  186. unknownFields protoimpl.UnknownFields
  187. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  188. Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
  189. }
  190. func (x *NetworkAssociateRequest) Reset() {
  191. *x = NetworkAssociateRequest{}
  192. if protoimpl.UnsafeEnabled {
  193. mi := &file_network_proto_msgTypes[4]
  194. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  195. ms.StoreMessageInfo(mi)
  196. }
  197. }
  198. func (x *NetworkAssociateRequest) String() string {
  199. return protoimpl.X.MessageStringOf(x)
  200. }
  201. func (*NetworkAssociateRequest) ProtoMessage() {}
  202. func (x *NetworkAssociateRequest) ProtoReflect() protoreflect.Message {
  203. mi := &file_network_proto_msgTypes[4]
  204. if protoimpl.UnsafeEnabled && x != nil {
  205. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  206. if ms.LoadMessageInfo() == nil {
  207. ms.StoreMessageInfo(mi)
  208. }
  209. return ms
  210. }
  211. return mi.MessageOf(x)
  212. }
  213. // Deprecated: Use NetworkAssociateRequest.ProtoReflect.Descriptor instead.
  214. func (*NetworkAssociateRequest) Descriptor() ([]byte, []int) {
  215. return file_network_proto_rawDescGZIP(), []int{4}
  216. }
  217. func (x *NetworkAssociateRequest) GetName() string {
  218. if x != nil {
  219. return x.Name
  220. }
  221. return ""
  222. }
  223. func (x *NetworkAssociateRequest) GetUsername() string {
  224. if x != nil {
  225. return x.Username
  226. }
  227. return ""
  228. }
  229. type NetworkDissociateRequest struct {
  230. state protoimpl.MessageState
  231. sizeCache protoimpl.SizeCache
  232. unknownFields protoimpl.UnknownFields
  233. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  234. Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
  235. }
  236. func (x *NetworkDissociateRequest) Reset() {
  237. *x = NetworkDissociateRequest{}
  238. if protoimpl.UnsafeEnabled {
  239. mi := &file_network_proto_msgTypes[5]
  240. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  241. ms.StoreMessageInfo(mi)
  242. }
  243. }
  244. func (x *NetworkDissociateRequest) String() string {
  245. return protoimpl.X.MessageStringOf(x)
  246. }
  247. func (*NetworkDissociateRequest) ProtoMessage() {}
  248. func (x *NetworkDissociateRequest) ProtoReflect() protoreflect.Message {
  249. mi := &file_network_proto_msgTypes[5]
  250. if protoimpl.UnsafeEnabled && x != nil {
  251. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  252. if ms.LoadMessageInfo() == nil {
  253. ms.StoreMessageInfo(mi)
  254. }
  255. return ms
  256. }
  257. return mi.MessageOf(x)
  258. }
  259. // Deprecated: Use NetworkDissociateRequest.ProtoReflect.Descriptor instead.
  260. func (*NetworkDissociateRequest) Descriptor() ([]byte, []int) {
  261. return file_network_proto_rawDescGZIP(), []int{5}
  262. }
  263. func (x *NetworkDissociateRequest) GetName() string {
  264. if x != nil {
  265. return x.Name
  266. }
  267. return ""
  268. }
  269. func (x *NetworkDissociateRequest) GetUsername() string {
  270. if x != nil {
  271. return x.Username
  272. }
  273. return ""
  274. }
  275. type NetworkGetAssociatedUsersRequest struct {
  276. state protoimpl.MessageState
  277. sizeCache protoimpl.SizeCache
  278. unknownFields protoimpl.UnknownFields
  279. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  280. }
  281. func (x *NetworkGetAssociatedUsersRequest) Reset() {
  282. *x = NetworkGetAssociatedUsersRequest{}
  283. if protoimpl.UnsafeEnabled {
  284. mi := &file_network_proto_msgTypes[6]
  285. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  286. ms.StoreMessageInfo(mi)
  287. }
  288. }
  289. func (x *NetworkGetAssociatedUsersRequest) String() string {
  290. return protoimpl.X.MessageStringOf(x)
  291. }
  292. func (*NetworkGetAssociatedUsersRequest) ProtoMessage() {}
  293. func (x *NetworkGetAssociatedUsersRequest) ProtoReflect() protoreflect.Message {
  294. mi := &file_network_proto_msgTypes[6]
  295. if protoimpl.UnsafeEnabled && x != nil {
  296. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  297. if ms.LoadMessageInfo() == nil {
  298. ms.StoreMessageInfo(mi)
  299. }
  300. return ms
  301. }
  302. return mi.MessageOf(x)
  303. }
  304. // Deprecated: Use NetworkGetAssociatedUsersRequest.ProtoReflect.Descriptor instead.
  305. func (*NetworkGetAssociatedUsersRequest) Descriptor() ([]byte, []int) {
  306. return file_network_proto_rawDescGZIP(), []int{6}
  307. }
  308. func (x *NetworkGetAssociatedUsersRequest) GetName() string {
  309. if x != nil {
  310. return x.Name
  311. }
  312. return ""
  313. }
  314. type Network struct {
  315. state protoimpl.MessageState
  316. sizeCache protoimpl.SizeCache
  317. unknownFields protoimpl.UnknownFields
  318. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  319. Cidr string `protobuf:"bytes,2,opt,name=cidr,proto3" json:"cidr,omitempty"`
  320. Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
  321. CreatedAt string `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
  322. AssociatedUsernames []string `protobuf:"bytes,5,rep,name=associated_usernames,json=associatedUsernames,proto3" json:"associated_usernames,omitempty"`
  323. Via string `protobuf:"bytes,6,opt,name=via,proto3" json:"via,omitempty"`
  324. }
  325. func (x *Network) Reset() {
  326. *x = Network{}
  327. if protoimpl.UnsafeEnabled {
  328. mi := &file_network_proto_msgTypes[7]
  329. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  330. ms.StoreMessageInfo(mi)
  331. }
  332. }
  333. func (x *Network) String() string {
  334. return protoimpl.X.MessageStringOf(x)
  335. }
  336. func (*Network) ProtoMessage() {}
  337. func (x *Network) ProtoReflect() protoreflect.Message {
  338. mi := &file_network_proto_msgTypes[7]
  339. if protoimpl.UnsafeEnabled && x != nil {
  340. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  341. if ms.LoadMessageInfo() == nil {
  342. ms.StoreMessageInfo(mi)
  343. }
  344. return ms
  345. }
  346. return mi.MessageOf(x)
  347. }
  348. // Deprecated: Use Network.ProtoReflect.Descriptor instead.
  349. func (*Network) Descriptor() ([]byte, []int) {
  350. return file_network_proto_rawDescGZIP(), []int{7}
  351. }
  352. func (x *Network) GetName() string {
  353. if x != nil {
  354. return x.Name
  355. }
  356. return ""
  357. }
  358. func (x *Network) GetCidr() string {
  359. if x != nil {
  360. return x.Cidr
  361. }
  362. return ""
  363. }
  364. func (x *Network) GetType() string {
  365. if x != nil {
  366. return x.Type
  367. }
  368. return ""
  369. }
  370. func (x *Network) GetCreatedAt() string {
  371. if x != nil {
  372. return x.CreatedAt
  373. }
  374. return ""
  375. }
  376. func (x *Network) GetAssociatedUsernames() []string {
  377. if x != nil {
  378. return x.AssociatedUsernames
  379. }
  380. return nil
  381. }
  382. func (x *Network) GetVia() string {
  383. if x != nil {
  384. return x.Via
  385. }
  386. return ""
  387. }
  388. type NetworkType struct {
  389. state protoimpl.MessageState
  390. sizeCache protoimpl.SizeCache
  391. unknownFields protoimpl.UnknownFields
  392. Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
  393. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
  394. }
  395. func (x *NetworkType) Reset() {
  396. *x = NetworkType{}
  397. if protoimpl.UnsafeEnabled {
  398. mi := &file_network_proto_msgTypes[8]
  399. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  400. ms.StoreMessageInfo(mi)
  401. }
  402. }
  403. func (x *NetworkType) String() string {
  404. return protoimpl.X.MessageStringOf(x)
  405. }
  406. func (*NetworkType) ProtoMessage() {}
  407. func (x *NetworkType) ProtoReflect() protoreflect.Message {
  408. mi := &file_network_proto_msgTypes[8]
  409. if protoimpl.UnsafeEnabled && x != nil {
  410. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  411. if ms.LoadMessageInfo() == nil {
  412. ms.StoreMessageInfo(mi)
  413. }
  414. return ms
  415. }
  416. return mi.MessageOf(x)
  417. }
  418. // Deprecated: Use NetworkType.ProtoReflect.Descriptor instead.
  419. func (*NetworkType) Descriptor() ([]byte, []int) {
  420. return file_network_proto_rawDescGZIP(), []int{8}
  421. }
  422. func (x *NetworkType) GetType() string {
  423. if x != nil {
  424. return x.Type
  425. }
  426. return ""
  427. }
  428. func (x *NetworkType) GetDescription() string {
  429. if x != nil {
  430. return x.Description
  431. }
  432. return ""
  433. }
  434. type NetworkCreateResponse struct {
  435. state protoimpl.MessageState
  436. sizeCache protoimpl.SizeCache
  437. unknownFields protoimpl.UnknownFields
  438. Network *Network `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"`
  439. }
  440. func (x *NetworkCreateResponse) Reset() {
  441. *x = NetworkCreateResponse{}
  442. if protoimpl.UnsafeEnabled {
  443. mi := &file_network_proto_msgTypes[9]
  444. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  445. ms.StoreMessageInfo(mi)
  446. }
  447. }
  448. func (x *NetworkCreateResponse) String() string {
  449. return protoimpl.X.MessageStringOf(x)
  450. }
  451. func (*NetworkCreateResponse) ProtoMessage() {}
  452. func (x *NetworkCreateResponse) ProtoReflect() protoreflect.Message {
  453. mi := &file_network_proto_msgTypes[9]
  454. if protoimpl.UnsafeEnabled && x != nil {
  455. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  456. if ms.LoadMessageInfo() == nil {
  457. ms.StoreMessageInfo(mi)
  458. }
  459. return ms
  460. }
  461. return mi.MessageOf(x)
  462. }
  463. // Deprecated: Use NetworkCreateResponse.ProtoReflect.Descriptor instead.
  464. func (*NetworkCreateResponse) Descriptor() ([]byte, []int) {
  465. return file_network_proto_rawDescGZIP(), []int{9}
  466. }
  467. func (x *NetworkCreateResponse) GetNetwork() *Network {
  468. if x != nil {
  469. return x.Network
  470. }
  471. return nil
  472. }
  473. type NetworkListResponse struct {
  474. state protoimpl.MessageState
  475. sizeCache protoimpl.SizeCache
  476. unknownFields protoimpl.UnknownFields
  477. Networks []*Network `protobuf:"bytes,1,rep,name=networks,proto3" json:"networks,omitempty"`
  478. }
  479. func (x *NetworkListResponse) Reset() {
  480. *x = NetworkListResponse{}
  481. if protoimpl.UnsafeEnabled {
  482. mi := &file_network_proto_msgTypes[10]
  483. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  484. ms.StoreMessageInfo(mi)
  485. }
  486. }
  487. func (x *NetworkListResponse) String() string {
  488. return protoimpl.X.MessageStringOf(x)
  489. }
  490. func (*NetworkListResponse) ProtoMessage() {}
  491. func (x *NetworkListResponse) ProtoReflect() protoreflect.Message {
  492. mi := &file_network_proto_msgTypes[10]
  493. if protoimpl.UnsafeEnabled && x != nil {
  494. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  495. if ms.LoadMessageInfo() == nil {
  496. ms.StoreMessageInfo(mi)
  497. }
  498. return ms
  499. }
  500. return mi.MessageOf(x)
  501. }
  502. // Deprecated: Use NetworkListResponse.ProtoReflect.Descriptor instead.
  503. func (*NetworkListResponse) Descriptor() ([]byte, []int) {
  504. return file_network_proto_rawDescGZIP(), []int{10}
  505. }
  506. func (x *NetworkListResponse) GetNetworks() []*Network {
  507. if x != nil {
  508. return x.Networks
  509. }
  510. return nil
  511. }
  512. type NetworkDeleteResponse struct {
  513. state protoimpl.MessageState
  514. sizeCache protoimpl.SizeCache
  515. unknownFields protoimpl.UnknownFields
  516. Network *Network `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"`
  517. }
  518. func (x *NetworkDeleteResponse) Reset() {
  519. *x = NetworkDeleteResponse{}
  520. if protoimpl.UnsafeEnabled {
  521. mi := &file_network_proto_msgTypes[11]
  522. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  523. ms.StoreMessageInfo(mi)
  524. }
  525. }
  526. func (x *NetworkDeleteResponse) String() string {
  527. return protoimpl.X.MessageStringOf(x)
  528. }
  529. func (*NetworkDeleteResponse) ProtoMessage() {}
  530. func (x *NetworkDeleteResponse) ProtoReflect() protoreflect.Message {
  531. mi := &file_network_proto_msgTypes[11]
  532. if protoimpl.UnsafeEnabled && x != nil {
  533. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  534. if ms.LoadMessageInfo() == nil {
  535. ms.StoreMessageInfo(mi)
  536. }
  537. return ms
  538. }
  539. return mi.MessageOf(x)
  540. }
  541. // Deprecated: Use NetworkDeleteResponse.ProtoReflect.Descriptor instead.
  542. func (*NetworkDeleteResponse) Descriptor() ([]byte, []int) {
  543. return file_network_proto_rawDescGZIP(), []int{11}
  544. }
  545. func (x *NetworkDeleteResponse) GetNetwork() *Network {
  546. if x != nil {
  547. return x.Network
  548. }
  549. return nil
  550. }
  551. type NetworkGetAllTypesResponse struct {
  552. state protoimpl.MessageState
  553. sizeCache protoimpl.SizeCache
  554. unknownFields protoimpl.UnknownFields
  555. Types []*NetworkType `protobuf:"bytes,1,rep,name=types,proto3" json:"types,omitempty"`
  556. }
  557. func (x *NetworkGetAllTypesResponse) Reset() {
  558. *x = NetworkGetAllTypesResponse{}
  559. if protoimpl.UnsafeEnabled {
  560. mi := &file_network_proto_msgTypes[12]
  561. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  562. ms.StoreMessageInfo(mi)
  563. }
  564. }
  565. func (x *NetworkGetAllTypesResponse) String() string {
  566. return protoimpl.X.MessageStringOf(x)
  567. }
  568. func (*NetworkGetAllTypesResponse) ProtoMessage() {}
  569. func (x *NetworkGetAllTypesResponse) ProtoReflect() protoreflect.Message {
  570. mi := &file_network_proto_msgTypes[12]
  571. if protoimpl.UnsafeEnabled && x != nil {
  572. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  573. if ms.LoadMessageInfo() == nil {
  574. ms.StoreMessageInfo(mi)
  575. }
  576. return ms
  577. }
  578. return mi.MessageOf(x)
  579. }
  580. // Deprecated: Use NetworkGetAllTypesResponse.ProtoReflect.Descriptor instead.
  581. func (*NetworkGetAllTypesResponse) Descriptor() ([]byte, []int) {
  582. return file_network_proto_rawDescGZIP(), []int{12}
  583. }
  584. func (x *NetworkGetAllTypesResponse) GetTypes() []*NetworkType {
  585. if x != nil {
  586. return x.Types
  587. }
  588. return nil
  589. }
  590. type NetworkAssociateResponse struct {
  591. state protoimpl.MessageState
  592. sizeCache protoimpl.SizeCache
  593. unknownFields protoimpl.UnknownFields
  594. }
  595. func (x *NetworkAssociateResponse) Reset() {
  596. *x = NetworkAssociateResponse{}
  597. if protoimpl.UnsafeEnabled {
  598. mi := &file_network_proto_msgTypes[13]
  599. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  600. ms.StoreMessageInfo(mi)
  601. }
  602. }
  603. func (x *NetworkAssociateResponse) String() string {
  604. return protoimpl.X.MessageStringOf(x)
  605. }
  606. func (*NetworkAssociateResponse) ProtoMessage() {}
  607. func (x *NetworkAssociateResponse) ProtoReflect() protoreflect.Message {
  608. mi := &file_network_proto_msgTypes[13]
  609. if protoimpl.UnsafeEnabled && x != nil {
  610. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  611. if ms.LoadMessageInfo() == nil {
  612. ms.StoreMessageInfo(mi)
  613. }
  614. return ms
  615. }
  616. return mi.MessageOf(x)
  617. }
  618. // Deprecated: Use NetworkAssociateResponse.ProtoReflect.Descriptor instead.
  619. func (*NetworkAssociateResponse) Descriptor() ([]byte, []int) {
  620. return file_network_proto_rawDescGZIP(), []int{13}
  621. }
  622. type NetworkDissociateResponse struct {
  623. state protoimpl.MessageState
  624. sizeCache protoimpl.SizeCache
  625. unknownFields protoimpl.UnknownFields
  626. }
  627. func (x *NetworkDissociateResponse) Reset() {
  628. *x = NetworkDissociateResponse{}
  629. if protoimpl.UnsafeEnabled {
  630. mi := &file_network_proto_msgTypes[14]
  631. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  632. ms.StoreMessageInfo(mi)
  633. }
  634. }
  635. func (x *NetworkDissociateResponse) String() string {
  636. return protoimpl.X.MessageStringOf(x)
  637. }
  638. func (*NetworkDissociateResponse) ProtoMessage() {}
  639. func (x *NetworkDissociateResponse) ProtoReflect() protoreflect.Message {
  640. mi := &file_network_proto_msgTypes[14]
  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 NetworkDissociateResponse.ProtoReflect.Descriptor instead.
  651. func (*NetworkDissociateResponse) Descriptor() ([]byte, []int) {
  652. return file_network_proto_rawDescGZIP(), []int{14}
  653. }
  654. type NetworkGetAssociatedUsersResponse struct {
  655. state protoimpl.MessageState
  656. sizeCache protoimpl.SizeCache
  657. unknownFields protoimpl.UnknownFields
  658. Usernames []string `protobuf:"bytes,1,rep,name=usernames,proto3" json:"usernames,omitempty"`
  659. }
  660. func (x *NetworkGetAssociatedUsersResponse) Reset() {
  661. *x = NetworkGetAssociatedUsersResponse{}
  662. if protoimpl.UnsafeEnabled {
  663. mi := &file_network_proto_msgTypes[15]
  664. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  665. ms.StoreMessageInfo(mi)
  666. }
  667. }
  668. func (x *NetworkGetAssociatedUsersResponse) String() string {
  669. return protoimpl.X.MessageStringOf(x)
  670. }
  671. func (*NetworkGetAssociatedUsersResponse) ProtoMessage() {}
  672. func (x *NetworkGetAssociatedUsersResponse) ProtoReflect() protoreflect.Message {
  673. mi := &file_network_proto_msgTypes[15]
  674. if protoimpl.UnsafeEnabled && x != nil {
  675. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  676. if ms.LoadMessageInfo() == nil {
  677. ms.StoreMessageInfo(mi)
  678. }
  679. return ms
  680. }
  681. return mi.MessageOf(x)
  682. }
  683. // Deprecated: Use NetworkGetAssociatedUsersResponse.ProtoReflect.Descriptor instead.
  684. func (*NetworkGetAssociatedUsersResponse) Descriptor() ([]byte, []int) {
  685. return file_network_proto_rawDescGZIP(), []int{15}
  686. }
  687. func (x *NetworkGetAssociatedUsersResponse) GetUsernames() []string {
  688. if x != nil {
  689. return x.Usernames
  690. }
  691. return nil
  692. }
  693. var File_network_proto protoreflect.FileDescriptor
  694. var file_network_proto_rawDesc = []byte{
  695. 0x0a, 0x0d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
  696. 0x02, 0x70, 0x62, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f,
  697. 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  698. 0x6f, 0x22, 0x64, 0x0a, 0x14, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x43, 0x72, 0x65, 0x61,
  699. 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d,
  700. 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a,
  701. 0x04, 0x63, 0x69, 0x64, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x69, 0x64,
  702. 0x72, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
  703. 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x76, 0x69, 0x61, 0x18, 0x04, 0x20, 0x01,
  704. 0x28, 0x09, 0x52, 0x03, 0x76, 0x69, 0x61, 0x22, 0x14, 0x0a, 0x12, 0x4e, 0x65, 0x74, 0x77, 0x6f,
  705. 0x72, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x2a, 0x0a,
  706. 0x14, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65,
  707. 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
  708. 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x1b, 0x0a, 0x19, 0x4e, 0x65, 0x74,
  709. 0x77, 0x6f, 0x72, 0x6b, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x52,
  710. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x49, 0x0a, 0x17, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72,
  711. 0x6b, 0x41, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
  712. 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
  713. 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d,
  714. 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d,
  715. 0x65, 0x22, 0x4a, 0x0a, 0x18, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x44, 0x69, 0x73, 0x73,
  716. 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a,
  717. 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d,
  718. 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20,
  719. 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x36, 0x0a,
  720. 0x20, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x47, 0x65, 0x74, 0x41, 0x73, 0x73, 0x6f, 0x63,
  721. 0x69, 0x61, 0x74, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
  722. 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
  723. 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xa9, 0x01, 0x0a, 0x07, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72,
  724. 0x6b, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
  725. 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x69, 0x64, 0x72, 0x18, 0x02, 0x20,
  726. 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x69, 0x64, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70,
  727. 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1d, 0x0a,
  728. 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28,
  729. 0x09, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x31, 0x0a, 0x14,
  730. 0x61, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x6e,
  731. 0x61, 0x6d, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x13, 0x61, 0x73, 0x73, 0x6f,
  732. 0x63, 0x69, 0x61, 0x74, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x12,
  733. 0x10, 0x0a, 0x03, 0x76, 0x69, 0x61, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x76, 0x69,
  734. 0x61, 0x22, 0x43, 0x0a, 0x0b, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x54, 0x79, 0x70, 0x65,
  735. 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
  736. 0x74, 0x79, 0x70, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74,
  737. 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72,
  738. 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x3e, 0x0a, 0x15, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72,
  739. 0x6b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
  740. 0x25, 0x0a, 0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
  741. 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x07, 0x6e,
  742. 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x22, 0x3e, 0x0a, 0x13, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72,
  743. 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x27, 0x0a,
  744. 0x08, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
  745. 0x0b, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x08, 0x6e, 0x65,
  746. 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x22, 0x3e, 0x0a, 0x15, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72,
  747. 0x6b, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
  748. 0x25, 0x0a, 0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
  749. 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x07, 0x6e,
  750. 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x22, 0x43, 0x0a, 0x1a, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72,
  751. 0x6b, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70,
  752. 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x25, 0x0a, 0x05, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x01, 0x20,
  753. 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b,
  754. 0x54, 0x79, 0x70, 0x65, 0x52, 0x05, 0x74, 0x79, 0x70, 0x65, 0x73, 0x22, 0x1a, 0x0a, 0x18, 0x4e,
  755. 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x41, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x52,
  756. 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1b, 0x0a, 0x19, 0x4e, 0x65, 0x74, 0x77, 0x6f,
  757. 0x72, 0x6b, 0x44, 0x69, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70,
  758. 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x41, 0x0a, 0x21, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x47,
  759. 0x65, 0x74, 0x41, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72,
  760. 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x75, 0x73, 0x65,
  761. 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x75, 0x73,
  762. 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x32, 0x8e, 0x06, 0x0a, 0x0e, 0x4e, 0x65, 0x74, 0x77,
  763. 0x6f, 0x72, 0x6b, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x60, 0x0a, 0x06, 0x43, 0x72,
  764. 0x65, 0x61, 0x74, 0x65, 0x12, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72,
  765. 0x6b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19,
  766. 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x43, 0x72, 0x65, 0x61, 0x74,
  767. 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x21, 0x82, 0xd3, 0xe4, 0x93, 0x02,
  768. 0x1b, 0x22, 0x16, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x6e, 0x65, 0x74, 0x77, 0x6f,
  769. 0x72, 0x6b, 0x2f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x3a, 0x01, 0x2a, 0x12, 0x55, 0x0a, 0x04,
  770. 0x4c, 0x69, 0x73, 0x74, 0x12, 0x16, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72,
  771. 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x70,
  772. 0x62, 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73,
  773. 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x16, 0x12, 0x14, 0x2f,
  774. 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x6c,
  775. 0x69, 0x73, 0x74, 0x12, 0x60, 0x0a, 0x06, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x18, 0x2e,
  776. 0x70, 0x62, 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65,
  777. 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x65, 0x74,
  778. 0x77, 0x6f, 0x72, 0x6b, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
  779. 0x73, 0x65, 0x22, 0x21, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1b, 0x22, 0x16, 0x2f, 0x61, 0x70, 0x69,
  780. 0x2f, 0x76, 0x31, 0x2f, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x64, 0x65, 0x6c, 0x65,
  781. 0x74, 0x65, 0x3a, 0x01, 0x2a, 0x12, 0x71, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x54,
  782. 0x79, 0x70, 0x65, 0x73, 0x12, 0x1d, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72,
  783. 0x6b, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75,
  784. 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b,
  785. 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,
  786. 0x6e, 0x73, 0x65, 0x22, 0x23, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1d, 0x12, 0x1b, 0x2f, 0x61, 0x70,
  787. 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x67, 0x65, 0x74,
  788. 0x61, 0x6c, 0x6c, 0x74, 0x79, 0x70, 0x65, 0x73, 0x12, 0x8d, 0x01, 0x0a, 0x12, 0x47, 0x65, 0x74,
  789. 0x41, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x73, 0x12,
  790. 0x24, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x47, 0x65, 0x74, 0x41,
  791. 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65,
  792. 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f,
  793. 0x72, 0x6b, 0x47, 0x65, 0x74, 0x41, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x64, 0x55,
  794. 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2a, 0x82, 0xd3,
  795. 0xe4, 0x93, 0x02, 0x24, 0x12, 0x22, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x6e, 0x65,
  796. 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x67, 0x65, 0x74, 0x61, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61,
  797. 0x74, 0x65, 0x64, 0x75, 0x73, 0x65, 0x72, 0x73, 0x12, 0x6c, 0x0a, 0x09, 0x41, 0x73, 0x73, 0x6f,
  798. 0x63, 0x69, 0x61, 0x74, 0x65, 0x12, 0x1b, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f,
  799. 0x72, 0x6b, 0x41, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
  800. 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x41,
  801. 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
  802. 0x22, 0x24, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1e, 0x22, 0x19, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76,
  803. 0x31, 0x2f, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x73, 0x73, 0x6f, 0x63, 0x69,
  804. 0x61, 0x74, 0x65, 0x3a, 0x01, 0x2a, 0x12, 0x70, 0x0a, 0x0a, 0x44, 0x69, 0x73, 0x73, 0x6f, 0x63,
  805. 0x69, 0x61, 0x74, 0x65, 0x12, 0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72,
  806. 0x6b, 0x44, 0x69, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
  807. 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x44,
  808. 0x69, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
  809. 0x65, 0x22, 0x25, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1f, 0x22, 0x1a, 0x2f, 0x61, 0x70, 0x69, 0x2f,
  810. 0x76, 0x31, 0x2f, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x64, 0x69, 0x73, 0x73, 0x6f,
  811. 0x63, 0x69, 0x61, 0x74, 0x65, 0x3a, 0x01, 0x2a, 0x42, 0x1c, 0x5a, 0x1a, 0x67, 0x69, 0x74, 0x68,
  812. 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x61, 0x64, 0x2f, 0x6f, 0x76, 0x70, 0x6d, 0x2f,
  813. 0x61, 0x70, 0x69, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  814. }
  815. var (
  816. file_network_proto_rawDescOnce sync.Once
  817. file_network_proto_rawDescData = file_network_proto_rawDesc
  818. )
  819. func file_network_proto_rawDescGZIP() []byte {
  820. file_network_proto_rawDescOnce.Do(func() {
  821. file_network_proto_rawDescData = protoimpl.X.CompressGZIP(file_network_proto_rawDescData)
  822. })
  823. return file_network_proto_rawDescData
  824. }
  825. var file_network_proto_msgTypes = make([]protoimpl.MessageInfo, 16)
  826. var file_network_proto_goTypes = []interface{}{
  827. (*NetworkCreateRequest)(nil), // 0: pb.NetworkCreateRequest
  828. (*NetworkListRequest)(nil), // 1: pb.NetworkListRequest
  829. (*NetworkDeleteRequest)(nil), // 2: pb.NetworkDeleteRequest
  830. (*NetworkGetAllTypesRequest)(nil), // 3: pb.NetworkGetAllTypesRequest
  831. (*NetworkAssociateRequest)(nil), // 4: pb.NetworkAssociateRequest
  832. (*NetworkDissociateRequest)(nil), // 5: pb.NetworkDissociateRequest
  833. (*NetworkGetAssociatedUsersRequest)(nil), // 6: pb.NetworkGetAssociatedUsersRequest
  834. (*Network)(nil), // 7: pb.Network
  835. (*NetworkType)(nil), // 8: pb.NetworkType
  836. (*NetworkCreateResponse)(nil), // 9: pb.NetworkCreateResponse
  837. (*NetworkListResponse)(nil), // 10: pb.NetworkListResponse
  838. (*NetworkDeleteResponse)(nil), // 11: pb.NetworkDeleteResponse
  839. (*NetworkGetAllTypesResponse)(nil), // 12: pb.NetworkGetAllTypesResponse
  840. (*NetworkAssociateResponse)(nil), // 13: pb.NetworkAssociateResponse
  841. (*NetworkDissociateResponse)(nil), // 14: pb.NetworkDissociateResponse
  842. (*NetworkGetAssociatedUsersResponse)(nil), // 15: pb.NetworkGetAssociatedUsersResponse
  843. }
  844. var file_network_proto_depIdxs = []int32{
  845. 7, // 0: pb.NetworkCreateResponse.network:type_name -> pb.Network
  846. 7, // 1: pb.NetworkListResponse.networks:type_name -> pb.Network
  847. 7, // 2: pb.NetworkDeleteResponse.network:type_name -> pb.Network
  848. 8, // 3: pb.NetworkGetAllTypesResponse.types:type_name -> pb.NetworkType
  849. 0, // 4: pb.NetworkService.Create:input_type -> pb.NetworkCreateRequest
  850. 1, // 5: pb.NetworkService.List:input_type -> pb.NetworkListRequest
  851. 2, // 6: pb.NetworkService.Delete:input_type -> pb.NetworkDeleteRequest
  852. 3, // 7: pb.NetworkService.GetAllTypes:input_type -> pb.NetworkGetAllTypesRequest
  853. 6, // 8: pb.NetworkService.GetAssociatedUsers:input_type -> pb.NetworkGetAssociatedUsersRequest
  854. 4, // 9: pb.NetworkService.Associate:input_type -> pb.NetworkAssociateRequest
  855. 5, // 10: pb.NetworkService.Dissociate:input_type -> pb.NetworkDissociateRequest
  856. 9, // 11: pb.NetworkService.Create:output_type -> pb.NetworkCreateResponse
  857. 10, // 12: pb.NetworkService.List:output_type -> pb.NetworkListResponse
  858. 11, // 13: pb.NetworkService.Delete:output_type -> pb.NetworkDeleteResponse
  859. 12, // 14: pb.NetworkService.GetAllTypes:output_type -> pb.NetworkGetAllTypesResponse
  860. 15, // 15: pb.NetworkService.GetAssociatedUsers:output_type -> pb.NetworkGetAssociatedUsersResponse
  861. 13, // 16: pb.NetworkService.Associate:output_type -> pb.NetworkAssociateResponse
  862. 14, // 17: pb.NetworkService.Dissociate:output_type -> pb.NetworkDissociateResponse
  863. 11, // [11:18] is the sub-list for method output_type
  864. 4, // [4:11] is the sub-list for method input_type
  865. 4, // [4:4] is the sub-list for extension type_name
  866. 4, // [4:4] is the sub-list for extension extendee
  867. 0, // [0:4] is the sub-list for field type_name
  868. }
  869. func init() { file_network_proto_init() }
  870. func file_network_proto_init() {
  871. if File_network_proto != nil {
  872. return
  873. }
  874. if !protoimpl.UnsafeEnabled {
  875. file_network_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  876. switch v := v.(*NetworkCreateRequest); i {
  877. case 0:
  878. return &v.state
  879. case 1:
  880. return &v.sizeCache
  881. case 2:
  882. return &v.unknownFields
  883. default:
  884. return nil
  885. }
  886. }
  887. file_network_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  888. switch v := v.(*NetworkListRequest); i {
  889. case 0:
  890. return &v.state
  891. case 1:
  892. return &v.sizeCache
  893. case 2:
  894. return &v.unknownFields
  895. default:
  896. return nil
  897. }
  898. }
  899. file_network_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  900. switch v := v.(*NetworkDeleteRequest); i {
  901. case 0:
  902. return &v.state
  903. case 1:
  904. return &v.sizeCache
  905. case 2:
  906. return &v.unknownFields
  907. default:
  908. return nil
  909. }
  910. }
  911. file_network_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  912. switch v := v.(*NetworkGetAllTypesRequest); i {
  913. case 0:
  914. return &v.state
  915. case 1:
  916. return &v.sizeCache
  917. case 2:
  918. return &v.unknownFields
  919. default:
  920. return nil
  921. }
  922. }
  923. file_network_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  924. switch v := v.(*NetworkAssociateRequest); i {
  925. case 0:
  926. return &v.state
  927. case 1:
  928. return &v.sizeCache
  929. case 2:
  930. return &v.unknownFields
  931. default:
  932. return nil
  933. }
  934. }
  935. file_network_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  936. switch v := v.(*NetworkDissociateRequest); i {
  937. case 0:
  938. return &v.state
  939. case 1:
  940. return &v.sizeCache
  941. case 2:
  942. return &v.unknownFields
  943. default:
  944. return nil
  945. }
  946. }
  947. file_network_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  948. switch v := v.(*NetworkGetAssociatedUsersRequest); i {
  949. case 0:
  950. return &v.state
  951. case 1:
  952. return &v.sizeCache
  953. case 2:
  954. return &v.unknownFields
  955. default:
  956. return nil
  957. }
  958. }
  959. file_network_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  960. switch v := v.(*Network); i {
  961. case 0:
  962. return &v.state
  963. case 1:
  964. return &v.sizeCache
  965. case 2:
  966. return &v.unknownFields
  967. default:
  968. return nil
  969. }
  970. }
  971. file_network_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  972. switch v := v.(*NetworkType); i {
  973. case 0:
  974. return &v.state
  975. case 1:
  976. return &v.sizeCache
  977. case 2:
  978. return &v.unknownFields
  979. default:
  980. return nil
  981. }
  982. }
  983. file_network_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  984. switch v := v.(*NetworkCreateResponse); i {
  985. case 0:
  986. return &v.state
  987. case 1:
  988. return &v.sizeCache
  989. case 2:
  990. return &v.unknownFields
  991. default:
  992. return nil
  993. }
  994. }
  995. file_network_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  996. switch v := v.(*NetworkListResponse); i {
  997. case 0:
  998. return &v.state
  999. case 1:
  1000. return &v.sizeCache
  1001. case 2:
  1002. return &v.unknownFields
  1003. default:
  1004. return nil
  1005. }
  1006. }
  1007. file_network_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
  1008. switch v := v.(*NetworkDeleteResponse); i {
  1009. case 0:
  1010. return &v.state
  1011. case 1:
  1012. return &v.sizeCache
  1013. case 2:
  1014. return &v.unknownFields
  1015. default:
  1016. return nil
  1017. }
  1018. }
  1019. file_network_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
  1020. switch v := v.(*NetworkGetAllTypesResponse); i {
  1021. case 0:
  1022. return &v.state
  1023. case 1:
  1024. return &v.sizeCache
  1025. case 2:
  1026. return &v.unknownFields
  1027. default:
  1028. return nil
  1029. }
  1030. }
  1031. file_network_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
  1032. switch v := v.(*NetworkAssociateResponse); i {
  1033. case 0:
  1034. return &v.state
  1035. case 1:
  1036. return &v.sizeCache
  1037. case 2:
  1038. return &v.unknownFields
  1039. default:
  1040. return nil
  1041. }
  1042. }
  1043. file_network_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
  1044. switch v := v.(*NetworkDissociateResponse); i {
  1045. case 0:
  1046. return &v.state
  1047. case 1:
  1048. return &v.sizeCache
  1049. case 2:
  1050. return &v.unknownFields
  1051. default:
  1052. return nil
  1053. }
  1054. }
  1055. file_network_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
  1056. switch v := v.(*NetworkGetAssociatedUsersResponse); i {
  1057. case 0:
  1058. return &v.state
  1059. case 1:
  1060. return &v.sizeCache
  1061. case 2:
  1062. return &v.unknownFields
  1063. default:
  1064. return nil
  1065. }
  1066. }
  1067. }
  1068. type x struct{}
  1069. out := protoimpl.TypeBuilder{
  1070. File: protoimpl.DescBuilder{
  1071. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  1072. RawDescriptor: file_network_proto_rawDesc,
  1073. NumEnums: 0,
  1074. NumMessages: 16,
  1075. NumExtensions: 0,
  1076. NumServices: 1,
  1077. },
  1078. GoTypes: file_network_proto_goTypes,
  1079. DependencyIndexes: file_network_proto_depIdxs,
  1080. MessageInfos: file_network_proto_msgTypes,
  1081. }.Build()
  1082. File_network_proto = out.File
  1083. file_network_proto_rawDesc = nil
  1084. file_network_proto_goTypes = nil
  1085. file_network_proto_depIdxs = nil
  1086. }