forwarder.pb.go 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676
  1. // Copyright 2019 Yunion
  2. //
  3. // Licensed under the Apache License, Version 2.0 (the "License");
  4. // you may not use this file except in compliance with the License.
  5. // You may obtain a copy of the License at
  6. //
  7. // http://www.apache.org/licenses/LICENSE-2.0
  8. //
  9. // Unless required by applicable law or agreed to in writing, software
  10. // distributed under the License is distributed on an "AS IS" BASIS,
  11. // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. // See the License for the specific language governing permissions and
  13. // limitations under the License.
  14. // Code generated by protoc-gen-go. DO NOT EDIT.
  15. // versions:
  16. // protoc-gen-go v1.25.0-devel
  17. // protoc v3.13.0
  18. // source: forwarder.proto
  19. package api
  20. import (
  21. reflect "reflect"
  22. sync "sync"
  23. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  24. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  25. )
  26. const (
  27. // Verify that this generated code is sufficiently up-to-date.
  28. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  29. // Verify that runtime/protoimpl is sufficiently up-to-date.
  30. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  31. )
  32. type OpenRequest struct {
  33. state protoimpl.MessageState
  34. sizeCache protoimpl.SizeCache
  35. unknownFields protoimpl.UnknownFields
  36. NetId string `protobuf:"bytes,1,opt,name=netId,proto3" json:"netId,omitempty"`
  37. Proto string `protobuf:"bytes,2,opt,name=proto,proto3" json:"proto,omitempty"`
  38. BindAddr string `protobuf:"bytes,3,opt,name=bindAddr,proto3" json:"bindAddr,omitempty"`
  39. BindPort uint32 `protobuf:"varint,4,opt,name=bindPort,proto3" json:"bindPort,omitempty"`
  40. RemoteAddr string `protobuf:"bytes,5,opt,name=remoteAddr,proto3" json:"remoteAddr,omitempty"`
  41. RemotePort uint32 `protobuf:"varint,6,opt,name=remotePort,proto3" json:"remotePort,omitempty"`
  42. }
  43. func (x *OpenRequest) Reset() {
  44. *x = OpenRequest{}
  45. if protoimpl.UnsafeEnabled {
  46. mi := &file_forwarder_proto_msgTypes[0]
  47. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  48. ms.StoreMessageInfo(mi)
  49. }
  50. }
  51. func (x *OpenRequest) String() string {
  52. return protoimpl.X.MessageStringOf(x)
  53. }
  54. func (*OpenRequest) ProtoMessage() {}
  55. func (x *OpenRequest) ProtoReflect() protoreflect.Message {
  56. mi := &file_forwarder_proto_msgTypes[0]
  57. if protoimpl.UnsafeEnabled && x != nil {
  58. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  59. if ms.LoadMessageInfo() == nil {
  60. ms.StoreMessageInfo(mi)
  61. }
  62. return ms
  63. }
  64. return mi.MessageOf(x)
  65. }
  66. // Deprecated: Use OpenRequest.ProtoReflect.Descriptor instead.
  67. func (*OpenRequest) Descriptor() ([]byte, []int) {
  68. return file_forwarder_proto_rawDescGZIP(), []int{0}
  69. }
  70. func (x *OpenRequest) GetNetId() string {
  71. if x != nil {
  72. return x.NetId
  73. }
  74. return ""
  75. }
  76. func (x *OpenRequest) GetProto() string {
  77. if x != nil {
  78. return x.Proto
  79. }
  80. return ""
  81. }
  82. func (x *OpenRequest) GetBindAddr() string {
  83. if x != nil {
  84. return x.BindAddr
  85. }
  86. return ""
  87. }
  88. func (x *OpenRequest) GetBindPort() uint32 {
  89. if x != nil {
  90. return x.BindPort
  91. }
  92. return 0
  93. }
  94. func (x *OpenRequest) GetRemoteAddr() string {
  95. if x != nil {
  96. return x.RemoteAddr
  97. }
  98. return ""
  99. }
  100. func (x *OpenRequest) GetRemotePort() uint32 {
  101. if x != nil {
  102. return x.RemotePort
  103. }
  104. return 0
  105. }
  106. type OpenResponse struct {
  107. state protoimpl.MessageState
  108. sizeCache protoimpl.SizeCache
  109. unknownFields protoimpl.UnknownFields
  110. NetId string `protobuf:"bytes,1,opt,name=netId,proto3" json:"netId,omitempty"`
  111. Proto string `protobuf:"bytes,2,opt,name=proto,proto3" json:"proto,omitempty"`
  112. BindAddr string `protobuf:"bytes,3,opt,name=bindAddr,proto3" json:"bindAddr,omitempty"`
  113. BindPort uint32 `protobuf:"varint,4,opt,name=bindPort,proto3" json:"bindPort,omitempty"`
  114. RemoteAddr string `protobuf:"bytes,5,opt,name=remoteAddr,proto3" json:"remoteAddr,omitempty"`
  115. RemotePort uint32 `protobuf:"varint,6,opt,name=remotePort,proto3" json:"remotePort,omitempty"`
  116. }
  117. func (x *OpenResponse) Reset() {
  118. *x = OpenResponse{}
  119. if protoimpl.UnsafeEnabled {
  120. mi := &file_forwarder_proto_msgTypes[1]
  121. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  122. ms.StoreMessageInfo(mi)
  123. }
  124. }
  125. func (x *OpenResponse) String() string {
  126. return protoimpl.X.MessageStringOf(x)
  127. }
  128. func (*OpenResponse) ProtoMessage() {}
  129. func (x *OpenResponse) ProtoReflect() protoreflect.Message {
  130. mi := &file_forwarder_proto_msgTypes[1]
  131. if protoimpl.UnsafeEnabled && x != nil {
  132. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  133. if ms.LoadMessageInfo() == nil {
  134. ms.StoreMessageInfo(mi)
  135. }
  136. return ms
  137. }
  138. return mi.MessageOf(x)
  139. }
  140. // Deprecated: Use OpenResponse.ProtoReflect.Descriptor instead.
  141. func (*OpenResponse) Descriptor() ([]byte, []int) {
  142. return file_forwarder_proto_rawDescGZIP(), []int{1}
  143. }
  144. func (x *OpenResponse) GetNetId() string {
  145. if x != nil {
  146. return x.NetId
  147. }
  148. return ""
  149. }
  150. func (x *OpenResponse) GetProto() string {
  151. if x != nil {
  152. return x.Proto
  153. }
  154. return ""
  155. }
  156. func (x *OpenResponse) GetBindAddr() string {
  157. if x != nil {
  158. return x.BindAddr
  159. }
  160. return ""
  161. }
  162. func (x *OpenResponse) GetBindPort() uint32 {
  163. if x != nil {
  164. return x.BindPort
  165. }
  166. return 0
  167. }
  168. func (x *OpenResponse) GetRemoteAddr() string {
  169. if x != nil {
  170. return x.RemoteAddr
  171. }
  172. return ""
  173. }
  174. func (x *OpenResponse) GetRemotePort() uint32 {
  175. if x != nil {
  176. return x.RemotePort
  177. }
  178. return 0
  179. }
  180. type CloseRequest struct {
  181. state protoimpl.MessageState
  182. sizeCache protoimpl.SizeCache
  183. unknownFields protoimpl.UnknownFields
  184. NetId string `protobuf:"bytes,1,opt,name=netId,proto3" json:"netId,omitempty"`
  185. Proto string `protobuf:"bytes,2,opt,name=proto,proto3" json:"proto,omitempty"`
  186. BindAddr string `protobuf:"bytes,3,opt,name=bindAddr,proto3" json:"bindAddr,omitempty"`
  187. BindPort uint32 `protobuf:"varint,4,opt,name=bindPort,proto3" json:"bindPort,omitempty"`
  188. }
  189. func (x *CloseRequest) Reset() {
  190. *x = CloseRequest{}
  191. if protoimpl.UnsafeEnabled {
  192. mi := &file_forwarder_proto_msgTypes[2]
  193. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  194. ms.StoreMessageInfo(mi)
  195. }
  196. }
  197. func (x *CloseRequest) String() string {
  198. return protoimpl.X.MessageStringOf(x)
  199. }
  200. func (*CloseRequest) ProtoMessage() {}
  201. func (x *CloseRequest) ProtoReflect() protoreflect.Message {
  202. mi := &file_forwarder_proto_msgTypes[2]
  203. if protoimpl.UnsafeEnabled && x != nil {
  204. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  205. if ms.LoadMessageInfo() == nil {
  206. ms.StoreMessageInfo(mi)
  207. }
  208. return ms
  209. }
  210. return mi.MessageOf(x)
  211. }
  212. // Deprecated: Use CloseRequest.ProtoReflect.Descriptor instead.
  213. func (*CloseRequest) Descriptor() ([]byte, []int) {
  214. return file_forwarder_proto_rawDescGZIP(), []int{2}
  215. }
  216. func (x *CloseRequest) GetNetId() string {
  217. if x != nil {
  218. return x.NetId
  219. }
  220. return ""
  221. }
  222. func (x *CloseRequest) GetProto() string {
  223. if x != nil {
  224. return x.Proto
  225. }
  226. return ""
  227. }
  228. func (x *CloseRequest) GetBindAddr() string {
  229. if x != nil {
  230. return x.BindAddr
  231. }
  232. return ""
  233. }
  234. func (x *CloseRequest) GetBindPort() uint32 {
  235. if x != nil {
  236. return x.BindPort
  237. }
  238. return 0
  239. }
  240. type CloseResponse struct {
  241. state protoimpl.MessageState
  242. sizeCache protoimpl.SizeCache
  243. unknownFields protoimpl.UnknownFields
  244. NetId string `protobuf:"bytes,1,opt,name=netId,proto3" json:"netId,omitempty"`
  245. Proto string `protobuf:"bytes,2,opt,name=proto,proto3" json:"proto,omitempty"`
  246. BindAddr string `protobuf:"bytes,3,opt,name=bindAddr,proto3" json:"bindAddr,omitempty"`
  247. BindPort uint32 `protobuf:"varint,4,opt,name=bindPort,proto3" json:"bindPort,omitempty"`
  248. }
  249. func (x *CloseResponse) Reset() {
  250. *x = CloseResponse{}
  251. if protoimpl.UnsafeEnabled {
  252. mi := &file_forwarder_proto_msgTypes[3]
  253. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  254. ms.StoreMessageInfo(mi)
  255. }
  256. }
  257. func (x *CloseResponse) String() string {
  258. return protoimpl.X.MessageStringOf(x)
  259. }
  260. func (*CloseResponse) ProtoMessage() {}
  261. func (x *CloseResponse) ProtoReflect() protoreflect.Message {
  262. mi := &file_forwarder_proto_msgTypes[3]
  263. if protoimpl.UnsafeEnabled && x != nil {
  264. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  265. if ms.LoadMessageInfo() == nil {
  266. ms.StoreMessageInfo(mi)
  267. }
  268. return ms
  269. }
  270. return mi.MessageOf(x)
  271. }
  272. // Deprecated: Use CloseResponse.ProtoReflect.Descriptor instead.
  273. func (*CloseResponse) Descriptor() ([]byte, []int) {
  274. return file_forwarder_proto_rawDescGZIP(), []int{3}
  275. }
  276. func (x *CloseResponse) GetNetId() string {
  277. if x != nil {
  278. return x.NetId
  279. }
  280. return ""
  281. }
  282. func (x *CloseResponse) GetProto() string {
  283. if x != nil {
  284. return x.Proto
  285. }
  286. return ""
  287. }
  288. func (x *CloseResponse) GetBindAddr() string {
  289. if x != nil {
  290. return x.BindAddr
  291. }
  292. return ""
  293. }
  294. func (x *CloseResponse) GetBindPort() uint32 {
  295. if x != nil {
  296. return x.BindPort
  297. }
  298. return 0
  299. }
  300. type ListByRemoteRequest struct {
  301. state protoimpl.MessageState
  302. sizeCache protoimpl.SizeCache
  303. unknownFields protoimpl.UnknownFields
  304. NetId string `protobuf:"bytes,1,opt,name=netId,proto3" json:"netId,omitempty"`
  305. Proto string `protobuf:"bytes,2,opt,name=proto,proto3" json:"proto,omitempty"`
  306. RemoteAddr string `protobuf:"bytes,3,opt,name=remoteAddr,proto3" json:"remoteAddr,omitempty"`
  307. RemotePort uint32 `protobuf:"varint,4,opt,name=remotePort,proto3" json:"remotePort,omitempty"`
  308. }
  309. func (x *ListByRemoteRequest) Reset() {
  310. *x = ListByRemoteRequest{}
  311. if protoimpl.UnsafeEnabled {
  312. mi := &file_forwarder_proto_msgTypes[4]
  313. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  314. ms.StoreMessageInfo(mi)
  315. }
  316. }
  317. func (x *ListByRemoteRequest) String() string {
  318. return protoimpl.X.MessageStringOf(x)
  319. }
  320. func (*ListByRemoteRequest) ProtoMessage() {}
  321. func (x *ListByRemoteRequest) ProtoReflect() protoreflect.Message {
  322. mi := &file_forwarder_proto_msgTypes[4]
  323. if protoimpl.UnsafeEnabled && x != nil {
  324. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  325. if ms.LoadMessageInfo() == nil {
  326. ms.StoreMessageInfo(mi)
  327. }
  328. return ms
  329. }
  330. return mi.MessageOf(x)
  331. }
  332. // Deprecated: Use ListByRemoteRequest.ProtoReflect.Descriptor instead.
  333. func (*ListByRemoteRequest) Descriptor() ([]byte, []int) {
  334. return file_forwarder_proto_rawDescGZIP(), []int{4}
  335. }
  336. func (x *ListByRemoteRequest) GetNetId() string {
  337. if x != nil {
  338. return x.NetId
  339. }
  340. return ""
  341. }
  342. func (x *ListByRemoteRequest) GetProto() string {
  343. if x != nil {
  344. return x.Proto
  345. }
  346. return ""
  347. }
  348. func (x *ListByRemoteRequest) GetRemoteAddr() string {
  349. if x != nil {
  350. return x.RemoteAddr
  351. }
  352. return ""
  353. }
  354. func (x *ListByRemoteRequest) GetRemotePort() uint32 {
  355. if x != nil {
  356. return x.RemotePort
  357. }
  358. return 0
  359. }
  360. type ListByRemoteResponse struct {
  361. state protoimpl.MessageState
  362. sizeCache protoimpl.SizeCache
  363. unknownFields protoimpl.UnknownFields
  364. Forwards []*OpenResponse `protobuf:"bytes,1,rep,name=Forwards,proto3" json:"Forwards,omitempty"`
  365. }
  366. func (x *ListByRemoteResponse) Reset() {
  367. *x = ListByRemoteResponse{}
  368. if protoimpl.UnsafeEnabled {
  369. mi := &file_forwarder_proto_msgTypes[5]
  370. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  371. ms.StoreMessageInfo(mi)
  372. }
  373. }
  374. func (x *ListByRemoteResponse) String() string {
  375. return protoimpl.X.MessageStringOf(x)
  376. }
  377. func (*ListByRemoteResponse) ProtoMessage() {}
  378. func (x *ListByRemoteResponse) ProtoReflect() protoreflect.Message {
  379. mi := &file_forwarder_proto_msgTypes[5]
  380. if protoimpl.UnsafeEnabled && x != nil {
  381. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  382. if ms.LoadMessageInfo() == nil {
  383. ms.StoreMessageInfo(mi)
  384. }
  385. return ms
  386. }
  387. return mi.MessageOf(x)
  388. }
  389. // Deprecated: Use ListByRemoteResponse.ProtoReflect.Descriptor instead.
  390. func (*ListByRemoteResponse) Descriptor() ([]byte, []int) {
  391. return file_forwarder_proto_rawDescGZIP(), []int{5}
  392. }
  393. func (x *ListByRemoteResponse) GetForwards() []*OpenResponse {
  394. if x != nil {
  395. return x.Forwards
  396. }
  397. return nil
  398. }
  399. var File_forwarder_proto protoreflect.FileDescriptor
  400. var file_forwarder_proto_rawDesc = []byte{
  401. 0x0a, 0x0f, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  402. 0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0xb1, 0x01, 0x0a, 0x0b, 0x4f, 0x70, 0x65, 0x6e, 0x52, 0x65,
  403. 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x6e, 0x65, 0x74, 0x49, 0x64, 0x18, 0x01,
  404. 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6e, 0x65, 0x74, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x70,
  405. 0x72, 0x6f, 0x74, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x72, 0x6f, 0x74,
  406. 0x6f, 0x12, 0x1a, 0x0a, 0x08, 0x62, 0x69, 0x6e, 0x64, 0x41, 0x64, 0x64, 0x72, 0x18, 0x03, 0x20,
  407. 0x01, 0x28, 0x09, 0x52, 0x08, 0x62, 0x69, 0x6e, 0x64, 0x41, 0x64, 0x64, 0x72, 0x12, 0x1a, 0x0a,
  408. 0x08, 0x62, 0x69, 0x6e, 0x64, 0x50, 0x6f, 0x72, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52,
  409. 0x08, 0x62, 0x69, 0x6e, 0x64, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x72, 0x65, 0x6d,
  410. 0x6f, 0x74, 0x65, 0x41, 0x64, 0x64, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72,
  411. 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x41, 0x64, 0x64, 0x72, 0x12, 0x1e, 0x0a, 0x0a, 0x72, 0x65, 0x6d,
  412. 0x6f, 0x74, 0x65, 0x50, 0x6f, 0x72, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x72,
  413. 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x50, 0x6f, 0x72, 0x74, 0x22, 0xb2, 0x01, 0x0a, 0x0c, 0x4f, 0x70,
  414. 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6e, 0x65,
  415. 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6e, 0x65, 0x74, 0x49, 0x64,
  416. 0x12, 0x14, 0x0a, 0x05, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
  417. 0x05, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1a, 0x0a, 0x08, 0x62, 0x69, 0x6e, 0x64, 0x41, 0x64,
  418. 0x64, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x62, 0x69, 0x6e, 0x64, 0x41, 0x64,
  419. 0x64, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x62, 0x69, 0x6e, 0x64, 0x50, 0x6f, 0x72, 0x74, 0x18, 0x04,
  420. 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x62, 0x69, 0x6e, 0x64, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x1e,
  421. 0x0a, 0x0a, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x41, 0x64, 0x64, 0x72, 0x18, 0x05, 0x20, 0x01,
  422. 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x41, 0x64, 0x64, 0x72, 0x12, 0x1e,
  423. 0x0a, 0x0a, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x50, 0x6f, 0x72, 0x74, 0x18, 0x06, 0x20, 0x01,
  424. 0x28, 0x0d, 0x52, 0x0a, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x50, 0x6f, 0x72, 0x74, 0x22, 0x72,
  425. 0x0a, 0x0c, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14,
  426. 0x0a, 0x05, 0x6e, 0x65, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6e,
  427. 0x65, 0x74, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x18, 0x02, 0x20,
  428. 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1a, 0x0a, 0x08, 0x62, 0x69,
  429. 0x6e, 0x64, 0x41, 0x64, 0x64, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x62, 0x69,
  430. 0x6e, 0x64, 0x41, 0x64, 0x64, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x62, 0x69, 0x6e, 0x64, 0x50, 0x6f,
  431. 0x72, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x62, 0x69, 0x6e, 0x64, 0x50, 0x6f,
  432. 0x72, 0x74, 0x22, 0x73, 0x0a, 0x0d, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f,
  433. 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6e, 0x65, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01,
  434. 0x28, 0x09, 0x52, 0x05, 0x6e, 0x65, 0x74, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x72, 0x6f,
  435. 0x74, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
  436. 0x1a, 0x0a, 0x08, 0x62, 0x69, 0x6e, 0x64, 0x41, 0x64, 0x64, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28,
  437. 0x09, 0x52, 0x08, 0x62, 0x69, 0x6e, 0x64, 0x41, 0x64, 0x64, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x62,
  438. 0x69, 0x6e, 0x64, 0x50, 0x6f, 0x72, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x62,
  439. 0x69, 0x6e, 0x64, 0x50, 0x6f, 0x72, 0x74, 0x22, 0x81, 0x01, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74,
  440. 0x42, 0x79, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
  441. 0x14, 0x0a, 0x05, 0x6e, 0x65, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
  442. 0x6e, 0x65, 0x74, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x18, 0x02,
  443. 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e, 0x0a, 0x0a, 0x72,
  444. 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x41, 0x64, 0x64, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
  445. 0x0a, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x41, 0x64, 0x64, 0x72, 0x12, 0x1e, 0x0a, 0x0a, 0x72,
  446. 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x50, 0x6f, 0x72, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52,
  447. 0x0a, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x50, 0x6f, 0x72, 0x74, 0x22, 0x44, 0x0a, 0x14, 0x4c,
  448. 0x69, 0x73, 0x74, 0x42, 0x79, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f,
  449. 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x08, 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x73, 0x18,
  450. 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x62, 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x52,
  451. 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x08, 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64,
  452. 0x73, 0x32, 0xa7, 0x01, 0x0a, 0x09, 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x65, 0x72, 0x12,
  453. 0x29, 0x0a, 0x04, 0x4f, 0x70, 0x65, 0x6e, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x4f, 0x70, 0x65,
  454. 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x10, 0x2e, 0x70, 0x62, 0x2e, 0x4f, 0x70,
  455. 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x05, 0x43, 0x6c,
  456. 0x6f, 0x73, 0x65, 0x12, 0x10, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x52, 0x65,
  457. 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x11, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6c, 0x6f, 0x73, 0x65,
  458. 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, 0x0c, 0x4c, 0x69, 0x73, 0x74,
  459. 0x42, 0x79, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x12, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69,
  460. 0x73, 0x74, 0x42, 0x79, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
  461. 0x74, 0x1a, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x79, 0x52, 0x65, 0x6d,
  462. 0x6f, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x39, 0x5a, 0x37, 0x79,
  463. 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x2e, 0x69, 0x6f, 0x2f, 0x78, 0x2f, 0x6f, 0x6e, 0x65, 0x63, 0x6c,
  464. 0x6f, 0x75, 0x64, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x68, 0x6f, 0x73, 0x74, 0x6d, 0x61, 0x6e, 0x2f,
  465. 0x67, 0x75, 0x65, 0x73, 0x74, 0x6d, 0x61, 0x6e, 0x2f, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64,
  466. 0x65, 0x72, 0x2f, 0x61, 0x70, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  467. }
  468. var (
  469. file_forwarder_proto_rawDescOnce sync.Once
  470. file_forwarder_proto_rawDescData = file_forwarder_proto_rawDesc
  471. )
  472. func file_forwarder_proto_rawDescGZIP() []byte {
  473. file_forwarder_proto_rawDescOnce.Do(func() {
  474. file_forwarder_proto_rawDescData = protoimpl.X.CompressGZIP(file_forwarder_proto_rawDescData)
  475. })
  476. return file_forwarder_proto_rawDescData
  477. }
  478. var file_forwarder_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
  479. var file_forwarder_proto_goTypes = []interface{}{
  480. (*OpenRequest)(nil), // 0: pb.OpenRequest
  481. (*OpenResponse)(nil), // 1: pb.OpenResponse
  482. (*CloseRequest)(nil), // 2: pb.CloseRequest
  483. (*CloseResponse)(nil), // 3: pb.CloseResponse
  484. (*ListByRemoteRequest)(nil), // 4: pb.ListByRemoteRequest
  485. (*ListByRemoteResponse)(nil), // 5: pb.ListByRemoteResponse
  486. }
  487. var file_forwarder_proto_depIdxs = []int32{
  488. 1, // 0: pb.ListByRemoteResponse.Forwards:type_name -> pb.OpenResponse
  489. 0, // 1: pb.Forwarder.Open:input_type -> pb.OpenRequest
  490. 2, // 2: pb.Forwarder.Close:input_type -> pb.CloseRequest
  491. 4, // 3: pb.Forwarder.ListByRemote:input_type -> pb.ListByRemoteRequest
  492. 1, // 4: pb.Forwarder.Open:output_type -> pb.OpenResponse
  493. 3, // 5: pb.Forwarder.Close:output_type -> pb.CloseResponse
  494. 5, // 6: pb.Forwarder.ListByRemote:output_type -> pb.ListByRemoteResponse
  495. 4, // [4:7] is the sub-list for method output_type
  496. 1, // [1:4] is the sub-list for method input_type
  497. 1, // [1:1] is the sub-list for extension type_name
  498. 1, // [1:1] is the sub-list for extension extendee
  499. 0, // [0:1] is the sub-list for field type_name
  500. }
  501. func init() { file_forwarder_proto_init() }
  502. func file_forwarder_proto_init() {
  503. if File_forwarder_proto != nil {
  504. return
  505. }
  506. if !protoimpl.UnsafeEnabled {
  507. file_forwarder_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  508. switch v := v.(*OpenRequest); i {
  509. case 0:
  510. return &v.state
  511. case 1:
  512. return &v.sizeCache
  513. case 2:
  514. return &v.unknownFields
  515. default:
  516. return nil
  517. }
  518. }
  519. file_forwarder_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  520. switch v := v.(*OpenResponse); i {
  521. case 0:
  522. return &v.state
  523. case 1:
  524. return &v.sizeCache
  525. case 2:
  526. return &v.unknownFields
  527. default:
  528. return nil
  529. }
  530. }
  531. file_forwarder_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  532. switch v := v.(*CloseRequest); i {
  533. case 0:
  534. return &v.state
  535. case 1:
  536. return &v.sizeCache
  537. case 2:
  538. return &v.unknownFields
  539. default:
  540. return nil
  541. }
  542. }
  543. file_forwarder_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  544. switch v := v.(*CloseResponse); i {
  545. case 0:
  546. return &v.state
  547. case 1:
  548. return &v.sizeCache
  549. case 2:
  550. return &v.unknownFields
  551. default:
  552. return nil
  553. }
  554. }
  555. file_forwarder_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  556. switch v := v.(*ListByRemoteRequest); i {
  557. case 0:
  558. return &v.state
  559. case 1:
  560. return &v.sizeCache
  561. case 2:
  562. return &v.unknownFields
  563. default:
  564. return nil
  565. }
  566. }
  567. file_forwarder_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  568. switch v := v.(*ListByRemoteResponse); i {
  569. case 0:
  570. return &v.state
  571. case 1:
  572. return &v.sizeCache
  573. case 2:
  574. return &v.unknownFields
  575. default:
  576. return nil
  577. }
  578. }
  579. }
  580. type x struct{}
  581. out := protoimpl.TypeBuilder{
  582. File: protoimpl.DescBuilder{
  583. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  584. RawDescriptor: file_forwarder_proto_rawDesc,
  585. NumEnums: 0,
  586. NumMessages: 6,
  587. NumExtensions: 0,
  588. NumServices: 1,
  589. },
  590. GoTypes: file_forwarder_proto_goTypes,
  591. DependencyIndexes: file_forwarder_proto_depIdxs,
  592. MessageInfos: file_forwarder_proto_msgTypes,
  593. }.Build()
  594. File_forwarder_proto = out.File
  595. file_forwarder_proto_rawDesc = nil
  596. file_forwarder_proto_goTypes = nil
  597. file_forwarder_proto_depIdxs = nil
  598. }