command.pb.go 38 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.36.11
  4. // protoc v6.33.5
  5. // source: app/proxyman/command/command.proto
  6. package command
  7. import (
  8. protocol "github.com/xtls/xray-core/common/protocol"
  9. serial "github.com/xtls/xray-core/common/serial"
  10. core "github.com/xtls/xray-core/core"
  11. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  12. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  13. reflect "reflect"
  14. sync "sync"
  15. unsafe "unsafe"
  16. )
  17. const (
  18. // Verify that this generated code is sufficiently up-to-date.
  19. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  20. // Verify that runtime/protoimpl is sufficiently up-to-date.
  21. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  22. )
  23. type AddUserOperation struct {
  24. state protoimpl.MessageState `protogen:"open.v1"`
  25. User *protocol.User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
  26. unknownFields protoimpl.UnknownFields
  27. sizeCache protoimpl.SizeCache
  28. }
  29. func (x *AddUserOperation) Reset() {
  30. *x = AddUserOperation{}
  31. mi := &file_app_proxyman_command_command_proto_msgTypes[0]
  32. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  33. ms.StoreMessageInfo(mi)
  34. }
  35. func (x *AddUserOperation) String() string {
  36. return protoimpl.X.MessageStringOf(x)
  37. }
  38. func (*AddUserOperation) ProtoMessage() {}
  39. func (x *AddUserOperation) ProtoReflect() protoreflect.Message {
  40. mi := &file_app_proxyman_command_command_proto_msgTypes[0]
  41. if 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 AddUserOperation.ProtoReflect.Descriptor instead.
  51. func (*AddUserOperation) Descriptor() ([]byte, []int) {
  52. return file_app_proxyman_command_command_proto_rawDescGZIP(), []int{0}
  53. }
  54. func (x *AddUserOperation) GetUser() *protocol.User {
  55. if x != nil {
  56. return x.User
  57. }
  58. return nil
  59. }
  60. type RemoveUserOperation struct {
  61. state protoimpl.MessageState `protogen:"open.v1"`
  62. Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
  63. unknownFields protoimpl.UnknownFields
  64. sizeCache protoimpl.SizeCache
  65. }
  66. func (x *RemoveUserOperation) Reset() {
  67. *x = RemoveUserOperation{}
  68. mi := &file_app_proxyman_command_command_proto_msgTypes[1]
  69. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  70. ms.StoreMessageInfo(mi)
  71. }
  72. func (x *RemoveUserOperation) String() string {
  73. return protoimpl.X.MessageStringOf(x)
  74. }
  75. func (*RemoveUserOperation) ProtoMessage() {}
  76. func (x *RemoveUserOperation) ProtoReflect() protoreflect.Message {
  77. mi := &file_app_proxyman_command_command_proto_msgTypes[1]
  78. if x != nil {
  79. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  80. if ms.LoadMessageInfo() == nil {
  81. ms.StoreMessageInfo(mi)
  82. }
  83. return ms
  84. }
  85. return mi.MessageOf(x)
  86. }
  87. // Deprecated: Use RemoveUserOperation.ProtoReflect.Descriptor instead.
  88. func (*RemoveUserOperation) Descriptor() ([]byte, []int) {
  89. return file_app_proxyman_command_command_proto_rawDescGZIP(), []int{1}
  90. }
  91. func (x *RemoveUserOperation) GetEmail() string {
  92. if x != nil {
  93. return x.Email
  94. }
  95. return ""
  96. }
  97. type AddInboundRequest struct {
  98. state protoimpl.MessageState `protogen:"open.v1"`
  99. Inbound *core.InboundHandlerConfig `protobuf:"bytes,1,opt,name=inbound,proto3" json:"inbound,omitempty"`
  100. unknownFields protoimpl.UnknownFields
  101. sizeCache protoimpl.SizeCache
  102. }
  103. func (x *AddInboundRequest) Reset() {
  104. *x = AddInboundRequest{}
  105. mi := &file_app_proxyman_command_command_proto_msgTypes[2]
  106. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  107. ms.StoreMessageInfo(mi)
  108. }
  109. func (x *AddInboundRequest) String() string {
  110. return protoimpl.X.MessageStringOf(x)
  111. }
  112. func (*AddInboundRequest) ProtoMessage() {}
  113. func (x *AddInboundRequest) ProtoReflect() protoreflect.Message {
  114. mi := &file_app_proxyman_command_command_proto_msgTypes[2]
  115. if x != nil {
  116. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  117. if ms.LoadMessageInfo() == nil {
  118. ms.StoreMessageInfo(mi)
  119. }
  120. return ms
  121. }
  122. return mi.MessageOf(x)
  123. }
  124. // Deprecated: Use AddInboundRequest.ProtoReflect.Descriptor instead.
  125. func (*AddInboundRequest) Descriptor() ([]byte, []int) {
  126. return file_app_proxyman_command_command_proto_rawDescGZIP(), []int{2}
  127. }
  128. func (x *AddInboundRequest) GetInbound() *core.InboundHandlerConfig {
  129. if x != nil {
  130. return x.Inbound
  131. }
  132. return nil
  133. }
  134. type AddInboundResponse struct {
  135. state protoimpl.MessageState `protogen:"open.v1"`
  136. unknownFields protoimpl.UnknownFields
  137. sizeCache protoimpl.SizeCache
  138. }
  139. func (x *AddInboundResponse) Reset() {
  140. *x = AddInboundResponse{}
  141. mi := &file_app_proxyman_command_command_proto_msgTypes[3]
  142. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  143. ms.StoreMessageInfo(mi)
  144. }
  145. func (x *AddInboundResponse) String() string {
  146. return protoimpl.X.MessageStringOf(x)
  147. }
  148. func (*AddInboundResponse) ProtoMessage() {}
  149. func (x *AddInboundResponse) ProtoReflect() protoreflect.Message {
  150. mi := &file_app_proxyman_command_command_proto_msgTypes[3]
  151. if x != nil {
  152. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  153. if ms.LoadMessageInfo() == nil {
  154. ms.StoreMessageInfo(mi)
  155. }
  156. return ms
  157. }
  158. return mi.MessageOf(x)
  159. }
  160. // Deprecated: Use AddInboundResponse.ProtoReflect.Descriptor instead.
  161. func (*AddInboundResponse) Descriptor() ([]byte, []int) {
  162. return file_app_proxyman_command_command_proto_rawDescGZIP(), []int{3}
  163. }
  164. type RemoveInboundRequest struct {
  165. state protoimpl.MessageState `protogen:"open.v1"`
  166. Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
  167. unknownFields protoimpl.UnknownFields
  168. sizeCache protoimpl.SizeCache
  169. }
  170. func (x *RemoveInboundRequest) Reset() {
  171. *x = RemoveInboundRequest{}
  172. mi := &file_app_proxyman_command_command_proto_msgTypes[4]
  173. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  174. ms.StoreMessageInfo(mi)
  175. }
  176. func (x *RemoveInboundRequest) String() string {
  177. return protoimpl.X.MessageStringOf(x)
  178. }
  179. func (*RemoveInboundRequest) ProtoMessage() {}
  180. func (x *RemoveInboundRequest) ProtoReflect() protoreflect.Message {
  181. mi := &file_app_proxyman_command_command_proto_msgTypes[4]
  182. if x != nil {
  183. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  184. if ms.LoadMessageInfo() == nil {
  185. ms.StoreMessageInfo(mi)
  186. }
  187. return ms
  188. }
  189. return mi.MessageOf(x)
  190. }
  191. // Deprecated: Use RemoveInboundRequest.ProtoReflect.Descriptor instead.
  192. func (*RemoveInboundRequest) Descriptor() ([]byte, []int) {
  193. return file_app_proxyman_command_command_proto_rawDescGZIP(), []int{4}
  194. }
  195. func (x *RemoveInboundRequest) GetTag() string {
  196. if x != nil {
  197. return x.Tag
  198. }
  199. return ""
  200. }
  201. type RemoveInboundResponse struct {
  202. state protoimpl.MessageState `protogen:"open.v1"`
  203. unknownFields protoimpl.UnknownFields
  204. sizeCache protoimpl.SizeCache
  205. }
  206. func (x *RemoveInboundResponse) Reset() {
  207. *x = RemoveInboundResponse{}
  208. mi := &file_app_proxyman_command_command_proto_msgTypes[5]
  209. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  210. ms.StoreMessageInfo(mi)
  211. }
  212. func (x *RemoveInboundResponse) String() string {
  213. return protoimpl.X.MessageStringOf(x)
  214. }
  215. func (*RemoveInboundResponse) ProtoMessage() {}
  216. func (x *RemoveInboundResponse) ProtoReflect() protoreflect.Message {
  217. mi := &file_app_proxyman_command_command_proto_msgTypes[5]
  218. if x != nil {
  219. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  220. if ms.LoadMessageInfo() == nil {
  221. ms.StoreMessageInfo(mi)
  222. }
  223. return ms
  224. }
  225. return mi.MessageOf(x)
  226. }
  227. // Deprecated: Use RemoveInboundResponse.ProtoReflect.Descriptor instead.
  228. func (*RemoveInboundResponse) Descriptor() ([]byte, []int) {
  229. return file_app_proxyman_command_command_proto_rawDescGZIP(), []int{5}
  230. }
  231. type AlterInboundRequest struct {
  232. state protoimpl.MessageState `protogen:"open.v1"`
  233. Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
  234. Operation *serial.TypedMessage `protobuf:"bytes,2,opt,name=operation,proto3" json:"operation,omitempty"`
  235. unknownFields protoimpl.UnknownFields
  236. sizeCache protoimpl.SizeCache
  237. }
  238. func (x *AlterInboundRequest) Reset() {
  239. *x = AlterInboundRequest{}
  240. mi := &file_app_proxyman_command_command_proto_msgTypes[6]
  241. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  242. ms.StoreMessageInfo(mi)
  243. }
  244. func (x *AlterInboundRequest) String() string {
  245. return protoimpl.X.MessageStringOf(x)
  246. }
  247. func (*AlterInboundRequest) ProtoMessage() {}
  248. func (x *AlterInboundRequest) ProtoReflect() protoreflect.Message {
  249. mi := &file_app_proxyman_command_command_proto_msgTypes[6]
  250. if 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 AlterInboundRequest.ProtoReflect.Descriptor instead.
  260. func (*AlterInboundRequest) Descriptor() ([]byte, []int) {
  261. return file_app_proxyman_command_command_proto_rawDescGZIP(), []int{6}
  262. }
  263. func (x *AlterInboundRequest) GetTag() string {
  264. if x != nil {
  265. return x.Tag
  266. }
  267. return ""
  268. }
  269. func (x *AlterInboundRequest) GetOperation() *serial.TypedMessage {
  270. if x != nil {
  271. return x.Operation
  272. }
  273. return nil
  274. }
  275. type AlterInboundResponse struct {
  276. state protoimpl.MessageState `protogen:"open.v1"`
  277. unknownFields protoimpl.UnknownFields
  278. sizeCache protoimpl.SizeCache
  279. }
  280. func (x *AlterInboundResponse) Reset() {
  281. *x = AlterInboundResponse{}
  282. mi := &file_app_proxyman_command_command_proto_msgTypes[7]
  283. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  284. ms.StoreMessageInfo(mi)
  285. }
  286. func (x *AlterInboundResponse) String() string {
  287. return protoimpl.X.MessageStringOf(x)
  288. }
  289. func (*AlterInboundResponse) ProtoMessage() {}
  290. func (x *AlterInboundResponse) ProtoReflect() protoreflect.Message {
  291. mi := &file_app_proxyman_command_command_proto_msgTypes[7]
  292. if x != nil {
  293. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  294. if ms.LoadMessageInfo() == nil {
  295. ms.StoreMessageInfo(mi)
  296. }
  297. return ms
  298. }
  299. return mi.MessageOf(x)
  300. }
  301. // Deprecated: Use AlterInboundResponse.ProtoReflect.Descriptor instead.
  302. func (*AlterInboundResponse) Descriptor() ([]byte, []int) {
  303. return file_app_proxyman_command_command_proto_rawDescGZIP(), []int{7}
  304. }
  305. type ListInboundsRequest struct {
  306. state protoimpl.MessageState `protogen:"open.v1"`
  307. IsOnlyTags bool `protobuf:"varint,1,opt,name=isOnlyTags,proto3" json:"isOnlyTags,omitempty"`
  308. unknownFields protoimpl.UnknownFields
  309. sizeCache protoimpl.SizeCache
  310. }
  311. func (x *ListInboundsRequest) Reset() {
  312. *x = ListInboundsRequest{}
  313. mi := &file_app_proxyman_command_command_proto_msgTypes[8]
  314. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  315. ms.StoreMessageInfo(mi)
  316. }
  317. func (x *ListInboundsRequest) String() string {
  318. return protoimpl.X.MessageStringOf(x)
  319. }
  320. func (*ListInboundsRequest) ProtoMessage() {}
  321. func (x *ListInboundsRequest) ProtoReflect() protoreflect.Message {
  322. mi := &file_app_proxyman_command_command_proto_msgTypes[8]
  323. if 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 ListInboundsRequest.ProtoReflect.Descriptor instead.
  333. func (*ListInboundsRequest) Descriptor() ([]byte, []int) {
  334. return file_app_proxyman_command_command_proto_rawDescGZIP(), []int{8}
  335. }
  336. func (x *ListInboundsRequest) GetIsOnlyTags() bool {
  337. if x != nil {
  338. return x.IsOnlyTags
  339. }
  340. return false
  341. }
  342. type ListInboundsResponse struct {
  343. state protoimpl.MessageState `protogen:"open.v1"`
  344. Inbounds []*core.InboundHandlerConfig `protobuf:"bytes,1,rep,name=inbounds,proto3" json:"inbounds,omitempty"`
  345. unknownFields protoimpl.UnknownFields
  346. sizeCache protoimpl.SizeCache
  347. }
  348. func (x *ListInboundsResponse) Reset() {
  349. *x = ListInboundsResponse{}
  350. mi := &file_app_proxyman_command_command_proto_msgTypes[9]
  351. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  352. ms.StoreMessageInfo(mi)
  353. }
  354. func (x *ListInboundsResponse) String() string {
  355. return protoimpl.X.MessageStringOf(x)
  356. }
  357. func (*ListInboundsResponse) ProtoMessage() {}
  358. func (x *ListInboundsResponse) ProtoReflect() protoreflect.Message {
  359. mi := &file_app_proxyman_command_command_proto_msgTypes[9]
  360. if x != nil {
  361. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  362. if ms.LoadMessageInfo() == nil {
  363. ms.StoreMessageInfo(mi)
  364. }
  365. return ms
  366. }
  367. return mi.MessageOf(x)
  368. }
  369. // Deprecated: Use ListInboundsResponse.ProtoReflect.Descriptor instead.
  370. func (*ListInboundsResponse) Descriptor() ([]byte, []int) {
  371. return file_app_proxyman_command_command_proto_rawDescGZIP(), []int{9}
  372. }
  373. func (x *ListInboundsResponse) GetInbounds() []*core.InboundHandlerConfig {
  374. if x != nil {
  375. return x.Inbounds
  376. }
  377. return nil
  378. }
  379. type GetInboundUserRequest struct {
  380. state protoimpl.MessageState `protogen:"open.v1"`
  381. Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
  382. Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
  383. unknownFields protoimpl.UnknownFields
  384. sizeCache protoimpl.SizeCache
  385. }
  386. func (x *GetInboundUserRequest) Reset() {
  387. *x = GetInboundUserRequest{}
  388. mi := &file_app_proxyman_command_command_proto_msgTypes[10]
  389. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  390. ms.StoreMessageInfo(mi)
  391. }
  392. func (x *GetInboundUserRequest) String() string {
  393. return protoimpl.X.MessageStringOf(x)
  394. }
  395. func (*GetInboundUserRequest) ProtoMessage() {}
  396. func (x *GetInboundUserRequest) ProtoReflect() protoreflect.Message {
  397. mi := &file_app_proxyman_command_command_proto_msgTypes[10]
  398. if x != nil {
  399. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  400. if ms.LoadMessageInfo() == nil {
  401. ms.StoreMessageInfo(mi)
  402. }
  403. return ms
  404. }
  405. return mi.MessageOf(x)
  406. }
  407. // Deprecated: Use GetInboundUserRequest.ProtoReflect.Descriptor instead.
  408. func (*GetInboundUserRequest) Descriptor() ([]byte, []int) {
  409. return file_app_proxyman_command_command_proto_rawDescGZIP(), []int{10}
  410. }
  411. func (x *GetInboundUserRequest) GetTag() string {
  412. if x != nil {
  413. return x.Tag
  414. }
  415. return ""
  416. }
  417. func (x *GetInboundUserRequest) GetEmail() string {
  418. if x != nil {
  419. return x.Email
  420. }
  421. return ""
  422. }
  423. type GetInboundUserResponse struct {
  424. state protoimpl.MessageState `protogen:"open.v1"`
  425. Users []*protocol.User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
  426. unknownFields protoimpl.UnknownFields
  427. sizeCache protoimpl.SizeCache
  428. }
  429. func (x *GetInboundUserResponse) Reset() {
  430. *x = GetInboundUserResponse{}
  431. mi := &file_app_proxyman_command_command_proto_msgTypes[11]
  432. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  433. ms.StoreMessageInfo(mi)
  434. }
  435. func (x *GetInboundUserResponse) String() string {
  436. return protoimpl.X.MessageStringOf(x)
  437. }
  438. func (*GetInboundUserResponse) ProtoMessage() {}
  439. func (x *GetInboundUserResponse) ProtoReflect() protoreflect.Message {
  440. mi := &file_app_proxyman_command_command_proto_msgTypes[11]
  441. if 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 GetInboundUserResponse.ProtoReflect.Descriptor instead.
  451. func (*GetInboundUserResponse) Descriptor() ([]byte, []int) {
  452. return file_app_proxyman_command_command_proto_rawDescGZIP(), []int{11}
  453. }
  454. func (x *GetInboundUserResponse) GetUsers() []*protocol.User {
  455. if x != nil {
  456. return x.Users
  457. }
  458. return nil
  459. }
  460. type GetInboundUsersCountResponse struct {
  461. state protoimpl.MessageState `protogen:"open.v1"`
  462. Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
  463. unknownFields protoimpl.UnknownFields
  464. sizeCache protoimpl.SizeCache
  465. }
  466. func (x *GetInboundUsersCountResponse) Reset() {
  467. *x = GetInboundUsersCountResponse{}
  468. mi := &file_app_proxyman_command_command_proto_msgTypes[12]
  469. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  470. ms.StoreMessageInfo(mi)
  471. }
  472. func (x *GetInboundUsersCountResponse) String() string {
  473. return protoimpl.X.MessageStringOf(x)
  474. }
  475. func (*GetInboundUsersCountResponse) ProtoMessage() {}
  476. func (x *GetInboundUsersCountResponse) ProtoReflect() protoreflect.Message {
  477. mi := &file_app_proxyman_command_command_proto_msgTypes[12]
  478. if x != nil {
  479. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  480. if ms.LoadMessageInfo() == nil {
  481. ms.StoreMessageInfo(mi)
  482. }
  483. return ms
  484. }
  485. return mi.MessageOf(x)
  486. }
  487. // Deprecated: Use GetInboundUsersCountResponse.ProtoReflect.Descriptor instead.
  488. func (*GetInboundUsersCountResponse) Descriptor() ([]byte, []int) {
  489. return file_app_proxyman_command_command_proto_rawDescGZIP(), []int{12}
  490. }
  491. func (x *GetInboundUsersCountResponse) GetCount() int64 {
  492. if x != nil {
  493. return x.Count
  494. }
  495. return 0
  496. }
  497. type AddOutboundRequest struct {
  498. state protoimpl.MessageState `protogen:"open.v1"`
  499. Outbound *core.OutboundHandlerConfig `protobuf:"bytes,1,opt,name=outbound,proto3" json:"outbound,omitempty"`
  500. unknownFields protoimpl.UnknownFields
  501. sizeCache protoimpl.SizeCache
  502. }
  503. func (x *AddOutboundRequest) Reset() {
  504. *x = AddOutboundRequest{}
  505. mi := &file_app_proxyman_command_command_proto_msgTypes[13]
  506. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  507. ms.StoreMessageInfo(mi)
  508. }
  509. func (x *AddOutboundRequest) String() string {
  510. return protoimpl.X.MessageStringOf(x)
  511. }
  512. func (*AddOutboundRequest) ProtoMessage() {}
  513. func (x *AddOutboundRequest) ProtoReflect() protoreflect.Message {
  514. mi := &file_app_proxyman_command_command_proto_msgTypes[13]
  515. if x != nil {
  516. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  517. if ms.LoadMessageInfo() == nil {
  518. ms.StoreMessageInfo(mi)
  519. }
  520. return ms
  521. }
  522. return mi.MessageOf(x)
  523. }
  524. // Deprecated: Use AddOutboundRequest.ProtoReflect.Descriptor instead.
  525. func (*AddOutboundRequest) Descriptor() ([]byte, []int) {
  526. return file_app_proxyman_command_command_proto_rawDescGZIP(), []int{13}
  527. }
  528. func (x *AddOutboundRequest) GetOutbound() *core.OutboundHandlerConfig {
  529. if x != nil {
  530. return x.Outbound
  531. }
  532. return nil
  533. }
  534. type AddOutboundResponse struct {
  535. state protoimpl.MessageState `protogen:"open.v1"`
  536. unknownFields protoimpl.UnknownFields
  537. sizeCache protoimpl.SizeCache
  538. }
  539. func (x *AddOutboundResponse) Reset() {
  540. *x = AddOutboundResponse{}
  541. mi := &file_app_proxyman_command_command_proto_msgTypes[14]
  542. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  543. ms.StoreMessageInfo(mi)
  544. }
  545. func (x *AddOutboundResponse) String() string {
  546. return protoimpl.X.MessageStringOf(x)
  547. }
  548. func (*AddOutboundResponse) ProtoMessage() {}
  549. func (x *AddOutboundResponse) ProtoReflect() protoreflect.Message {
  550. mi := &file_app_proxyman_command_command_proto_msgTypes[14]
  551. if x != nil {
  552. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  553. if ms.LoadMessageInfo() == nil {
  554. ms.StoreMessageInfo(mi)
  555. }
  556. return ms
  557. }
  558. return mi.MessageOf(x)
  559. }
  560. // Deprecated: Use AddOutboundResponse.ProtoReflect.Descriptor instead.
  561. func (*AddOutboundResponse) Descriptor() ([]byte, []int) {
  562. return file_app_proxyman_command_command_proto_rawDescGZIP(), []int{14}
  563. }
  564. type RemoveOutboundRequest struct {
  565. state protoimpl.MessageState `protogen:"open.v1"`
  566. Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
  567. unknownFields protoimpl.UnknownFields
  568. sizeCache protoimpl.SizeCache
  569. }
  570. func (x *RemoveOutboundRequest) Reset() {
  571. *x = RemoveOutboundRequest{}
  572. mi := &file_app_proxyman_command_command_proto_msgTypes[15]
  573. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  574. ms.StoreMessageInfo(mi)
  575. }
  576. func (x *RemoveOutboundRequest) String() string {
  577. return protoimpl.X.MessageStringOf(x)
  578. }
  579. func (*RemoveOutboundRequest) ProtoMessage() {}
  580. func (x *RemoveOutboundRequest) ProtoReflect() protoreflect.Message {
  581. mi := &file_app_proxyman_command_command_proto_msgTypes[15]
  582. if x != nil {
  583. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  584. if ms.LoadMessageInfo() == nil {
  585. ms.StoreMessageInfo(mi)
  586. }
  587. return ms
  588. }
  589. return mi.MessageOf(x)
  590. }
  591. // Deprecated: Use RemoveOutboundRequest.ProtoReflect.Descriptor instead.
  592. func (*RemoveOutboundRequest) Descriptor() ([]byte, []int) {
  593. return file_app_proxyman_command_command_proto_rawDescGZIP(), []int{15}
  594. }
  595. func (x *RemoveOutboundRequest) GetTag() string {
  596. if x != nil {
  597. return x.Tag
  598. }
  599. return ""
  600. }
  601. type RemoveOutboundResponse struct {
  602. state protoimpl.MessageState `protogen:"open.v1"`
  603. unknownFields protoimpl.UnknownFields
  604. sizeCache protoimpl.SizeCache
  605. }
  606. func (x *RemoveOutboundResponse) Reset() {
  607. *x = RemoveOutboundResponse{}
  608. mi := &file_app_proxyman_command_command_proto_msgTypes[16]
  609. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  610. ms.StoreMessageInfo(mi)
  611. }
  612. func (x *RemoveOutboundResponse) String() string {
  613. return protoimpl.X.MessageStringOf(x)
  614. }
  615. func (*RemoveOutboundResponse) ProtoMessage() {}
  616. func (x *RemoveOutboundResponse) ProtoReflect() protoreflect.Message {
  617. mi := &file_app_proxyman_command_command_proto_msgTypes[16]
  618. if x != nil {
  619. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  620. if ms.LoadMessageInfo() == nil {
  621. ms.StoreMessageInfo(mi)
  622. }
  623. return ms
  624. }
  625. return mi.MessageOf(x)
  626. }
  627. // Deprecated: Use RemoveOutboundResponse.ProtoReflect.Descriptor instead.
  628. func (*RemoveOutboundResponse) Descriptor() ([]byte, []int) {
  629. return file_app_proxyman_command_command_proto_rawDescGZIP(), []int{16}
  630. }
  631. type AlterOutboundRequest struct {
  632. state protoimpl.MessageState `protogen:"open.v1"`
  633. Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
  634. Operation *serial.TypedMessage `protobuf:"bytes,2,opt,name=operation,proto3" json:"operation,omitempty"`
  635. unknownFields protoimpl.UnknownFields
  636. sizeCache protoimpl.SizeCache
  637. }
  638. func (x *AlterOutboundRequest) Reset() {
  639. *x = AlterOutboundRequest{}
  640. mi := &file_app_proxyman_command_command_proto_msgTypes[17]
  641. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  642. ms.StoreMessageInfo(mi)
  643. }
  644. func (x *AlterOutboundRequest) String() string {
  645. return protoimpl.X.MessageStringOf(x)
  646. }
  647. func (*AlterOutboundRequest) ProtoMessage() {}
  648. func (x *AlterOutboundRequest) ProtoReflect() protoreflect.Message {
  649. mi := &file_app_proxyman_command_command_proto_msgTypes[17]
  650. if x != nil {
  651. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  652. if ms.LoadMessageInfo() == nil {
  653. ms.StoreMessageInfo(mi)
  654. }
  655. return ms
  656. }
  657. return mi.MessageOf(x)
  658. }
  659. // Deprecated: Use AlterOutboundRequest.ProtoReflect.Descriptor instead.
  660. func (*AlterOutboundRequest) Descriptor() ([]byte, []int) {
  661. return file_app_proxyman_command_command_proto_rawDescGZIP(), []int{17}
  662. }
  663. func (x *AlterOutboundRequest) GetTag() string {
  664. if x != nil {
  665. return x.Tag
  666. }
  667. return ""
  668. }
  669. func (x *AlterOutboundRequest) GetOperation() *serial.TypedMessage {
  670. if x != nil {
  671. return x.Operation
  672. }
  673. return nil
  674. }
  675. type AlterOutboundResponse struct {
  676. state protoimpl.MessageState `protogen:"open.v1"`
  677. unknownFields protoimpl.UnknownFields
  678. sizeCache protoimpl.SizeCache
  679. }
  680. func (x *AlterOutboundResponse) Reset() {
  681. *x = AlterOutboundResponse{}
  682. mi := &file_app_proxyman_command_command_proto_msgTypes[18]
  683. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  684. ms.StoreMessageInfo(mi)
  685. }
  686. func (x *AlterOutboundResponse) String() string {
  687. return protoimpl.X.MessageStringOf(x)
  688. }
  689. func (*AlterOutboundResponse) ProtoMessage() {}
  690. func (x *AlterOutboundResponse) ProtoReflect() protoreflect.Message {
  691. mi := &file_app_proxyman_command_command_proto_msgTypes[18]
  692. if x != nil {
  693. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  694. if ms.LoadMessageInfo() == nil {
  695. ms.StoreMessageInfo(mi)
  696. }
  697. return ms
  698. }
  699. return mi.MessageOf(x)
  700. }
  701. // Deprecated: Use AlterOutboundResponse.ProtoReflect.Descriptor instead.
  702. func (*AlterOutboundResponse) Descriptor() ([]byte, []int) {
  703. return file_app_proxyman_command_command_proto_rawDescGZIP(), []int{18}
  704. }
  705. type ListOutboundsRequest struct {
  706. state protoimpl.MessageState `protogen:"open.v1"`
  707. unknownFields protoimpl.UnknownFields
  708. sizeCache protoimpl.SizeCache
  709. }
  710. func (x *ListOutboundsRequest) Reset() {
  711. *x = ListOutboundsRequest{}
  712. mi := &file_app_proxyman_command_command_proto_msgTypes[19]
  713. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  714. ms.StoreMessageInfo(mi)
  715. }
  716. func (x *ListOutboundsRequest) String() string {
  717. return protoimpl.X.MessageStringOf(x)
  718. }
  719. func (*ListOutboundsRequest) ProtoMessage() {}
  720. func (x *ListOutboundsRequest) ProtoReflect() protoreflect.Message {
  721. mi := &file_app_proxyman_command_command_proto_msgTypes[19]
  722. if x != nil {
  723. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  724. if ms.LoadMessageInfo() == nil {
  725. ms.StoreMessageInfo(mi)
  726. }
  727. return ms
  728. }
  729. return mi.MessageOf(x)
  730. }
  731. // Deprecated: Use ListOutboundsRequest.ProtoReflect.Descriptor instead.
  732. func (*ListOutboundsRequest) Descriptor() ([]byte, []int) {
  733. return file_app_proxyman_command_command_proto_rawDescGZIP(), []int{19}
  734. }
  735. type ListOutboundsResponse struct {
  736. state protoimpl.MessageState `protogen:"open.v1"`
  737. Outbounds []*core.OutboundHandlerConfig `protobuf:"bytes,1,rep,name=outbounds,proto3" json:"outbounds,omitempty"`
  738. unknownFields protoimpl.UnknownFields
  739. sizeCache protoimpl.SizeCache
  740. }
  741. func (x *ListOutboundsResponse) Reset() {
  742. *x = ListOutboundsResponse{}
  743. mi := &file_app_proxyman_command_command_proto_msgTypes[20]
  744. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  745. ms.StoreMessageInfo(mi)
  746. }
  747. func (x *ListOutboundsResponse) String() string {
  748. return protoimpl.X.MessageStringOf(x)
  749. }
  750. func (*ListOutboundsResponse) ProtoMessage() {}
  751. func (x *ListOutboundsResponse) ProtoReflect() protoreflect.Message {
  752. mi := &file_app_proxyman_command_command_proto_msgTypes[20]
  753. if x != nil {
  754. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  755. if ms.LoadMessageInfo() == nil {
  756. ms.StoreMessageInfo(mi)
  757. }
  758. return ms
  759. }
  760. return mi.MessageOf(x)
  761. }
  762. // Deprecated: Use ListOutboundsResponse.ProtoReflect.Descriptor instead.
  763. func (*ListOutboundsResponse) Descriptor() ([]byte, []int) {
  764. return file_app_proxyman_command_command_proto_rawDescGZIP(), []int{20}
  765. }
  766. func (x *ListOutboundsResponse) GetOutbounds() []*core.OutboundHandlerConfig {
  767. if x != nil {
  768. return x.Outbounds
  769. }
  770. return nil
  771. }
  772. type Config struct {
  773. state protoimpl.MessageState `protogen:"open.v1"`
  774. unknownFields protoimpl.UnknownFields
  775. sizeCache protoimpl.SizeCache
  776. }
  777. func (x *Config) Reset() {
  778. *x = Config{}
  779. mi := &file_app_proxyman_command_command_proto_msgTypes[21]
  780. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  781. ms.StoreMessageInfo(mi)
  782. }
  783. func (x *Config) String() string {
  784. return protoimpl.X.MessageStringOf(x)
  785. }
  786. func (*Config) ProtoMessage() {}
  787. func (x *Config) ProtoReflect() protoreflect.Message {
  788. mi := &file_app_proxyman_command_command_proto_msgTypes[21]
  789. if x != nil {
  790. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  791. if ms.LoadMessageInfo() == nil {
  792. ms.StoreMessageInfo(mi)
  793. }
  794. return ms
  795. }
  796. return mi.MessageOf(x)
  797. }
  798. // Deprecated: Use Config.ProtoReflect.Descriptor instead.
  799. func (*Config) Descriptor() ([]byte, []int) {
  800. return file_app_proxyman_command_command_proto_rawDescGZIP(), []int{21}
  801. }
  802. var File_app_proxyman_command_command_proto protoreflect.FileDescriptor
  803. const file_app_proxyman_command_command_proto_rawDesc = "" +
  804. "\n" +
  805. "\"app/proxyman/command/command.proto\x12\x19xray.app.proxyman.command\x1a\x1acommon/protocol/user.proto\x1a!common/serial/typed_message.proto\x1a\x11core/config.proto\"B\n" +
  806. "\x10AddUserOperation\x12.\n" +
  807. "\x04user\x18\x01 \x01(\v2\x1a.xray.common.protocol.UserR\x04user\"+\n" +
  808. "\x13RemoveUserOperation\x12\x14\n" +
  809. "\x05email\x18\x01 \x01(\tR\x05email\"N\n" +
  810. "\x11AddInboundRequest\x129\n" +
  811. "\ainbound\x18\x01 \x01(\v2\x1f.xray.core.InboundHandlerConfigR\ainbound\"\x14\n" +
  812. "\x12AddInboundResponse\"(\n" +
  813. "\x14RemoveInboundRequest\x12\x10\n" +
  814. "\x03tag\x18\x01 \x01(\tR\x03tag\"\x17\n" +
  815. "\x15RemoveInboundResponse\"g\n" +
  816. "\x13AlterInboundRequest\x12\x10\n" +
  817. "\x03tag\x18\x01 \x01(\tR\x03tag\x12>\n" +
  818. "\toperation\x18\x02 \x01(\v2 .xray.common.serial.TypedMessageR\toperation\"\x16\n" +
  819. "\x14AlterInboundResponse\"5\n" +
  820. "\x13ListInboundsRequest\x12\x1e\n" +
  821. "\n" +
  822. "isOnlyTags\x18\x01 \x01(\bR\n" +
  823. "isOnlyTags\"S\n" +
  824. "\x14ListInboundsResponse\x12;\n" +
  825. "\binbounds\x18\x01 \x03(\v2\x1f.xray.core.InboundHandlerConfigR\binbounds\"?\n" +
  826. "\x15GetInboundUserRequest\x12\x10\n" +
  827. "\x03tag\x18\x01 \x01(\tR\x03tag\x12\x14\n" +
  828. "\x05email\x18\x02 \x01(\tR\x05email\"J\n" +
  829. "\x16GetInboundUserResponse\x120\n" +
  830. "\x05users\x18\x01 \x03(\v2\x1a.xray.common.protocol.UserR\x05users\"4\n" +
  831. "\x1cGetInboundUsersCountResponse\x12\x14\n" +
  832. "\x05count\x18\x01 \x01(\x03R\x05count\"R\n" +
  833. "\x12AddOutboundRequest\x12<\n" +
  834. "\boutbound\x18\x01 \x01(\v2 .xray.core.OutboundHandlerConfigR\boutbound\"\x15\n" +
  835. "\x13AddOutboundResponse\")\n" +
  836. "\x15RemoveOutboundRequest\x12\x10\n" +
  837. "\x03tag\x18\x01 \x01(\tR\x03tag\"\x18\n" +
  838. "\x16RemoveOutboundResponse\"h\n" +
  839. "\x14AlterOutboundRequest\x12\x10\n" +
  840. "\x03tag\x18\x01 \x01(\tR\x03tag\x12>\n" +
  841. "\toperation\x18\x02 \x01(\v2 .xray.common.serial.TypedMessageR\toperation\"\x17\n" +
  842. "\x15AlterOutboundResponse\"\x16\n" +
  843. "\x14ListOutboundsRequest\"W\n" +
  844. "\x15ListOutboundsResponse\x12>\n" +
  845. "\toutbounds\x18\x01 \x03(\v2 .xray.core.OutboundHandlerConfigR\toutbounds\"\b\n" +
  846. "\x06Config2\xae\t\n" +
  847. "\x0eHandlerService\x12k\n" +
  848. "\n" +
  849. "AddInbound\x12,.xray.app.proxyman.command.AddInboundRequest\x1a-.xray.app.proxyman.command.AddInboundResponse\"\x00\x12t\n" +
  850. "\rRemoveInbound\x12/.xray.app.proxyman.command.RemoveInboundRequest\x1a0.xray.app.proxyman.command.RemoveInboundResponse\"\x00\x12q\n" +
  851. "\fAlterInbound\x12..xray.app.proxyman.command.AlterInboundRequest\x1a/.xray.app.proxyman.command.AlterInboundResponse\"\x00\x12q\n" +
  852. "\fListInbounds\x12..xray.app.proxyman.command.ListInboundsRequest\x1a/.xray.app.proxyman.command.ListInboundsResponse\"\x00\x12x\n" +
  853. "\x0fGetInboundUsers\x120.xray.app.proxyman.command.GetInboundUserRequest\x1a1.xray.app.proxyman.command.GetInboundUserResponse\"\x00\x12\x83\x01\n" +
  854. "\x14GetInboundUsersCount\x120.xray.app.proxyman.command.GetInboundUserRequest\x1a7.xray.app.proxyman.command.GetInboundUsersCountResponse\"\x00\x12n\n" +
  855. "\vAddOutbound\x12-.xray.app.proxyman.command.AddOutboundRequest\x1a..xray.app.proxyman.command.AddOutboundResponse\"\x00\x12w\n" +
  856. "\x0eRemoveOutbound\x120.xray.app.proxyman.command.RemoveOutboundRequest\x1a1.xray.app.proxyman.command.RemoveOutboundResponse\"\x00\x12t\n" +
  857. "\rAlterOutbound\x12/.xray.app.proxyman.command.AlterOutboundRequest\x1a0.xray.app.proxyman.command.AlterOutboundResponse\"\x00\x12t\n" +
  858. "\rListOutbounds\x12/.xray.app.proxyman.command.ListOutboundsRequest\x1a0.xray.app.proxyman.command.ListOutboundsResponse\"\x00Bm\n" +
  859. "\x1dcom.xray.app.proxyman.commandP\x01Z.github.com/xtls/xray-core/app/proxyman/command\xaa\x02\x19Xray.App.Proxyman.Commandb\x06proto3"
  860. var (
  861. file_app_proxyman_command_command_proto_rawDescOnce sync.Once
  862. file_app_proxyman_command_command_proto_rawDescData []byte
  863. )
  864. func file_app_proxyman_command_command_proto_rawDescGZIP() []byte {
  865. file_app_proxyman_command_command_proto_rawDescOnce.Do(func() {
  866. file_app_proxyman_command_command_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_app_proxyman_command_command_proto_rawDesc), len(file_app_proxyman_command_command_proto_rawDesc)))
  867. })
  868. return file_app_proxyman_command_command_proto_rawDescData
  869. }
  870. var file_app_proxyman_command_command_proto_msgTypes = make([]protoimpl.MessageInfo, 22)
  871. var file_app_proxyman_command_command_proto_goTypes = []any{
  872. (*AddUserOperation)(nil), // 0: xray.app.proxyman.command.AddUserOperation
  873. (*RemoveUserOperation)(nil), // 1: xray.app.proxyman.command.RemoveUserOperation
  874. (*AddInboundRequest)(nil), // 2: xray.app.proxyman.command.AddInboundRequest
  875. (*AddInboundResponse)(nil), // 3: xray.app.proxyman.command.AddInboundResponse
  876. (*RemoveInboundRequest)(nil), // 4: xray.app.proxyman.command.RemoveInboundRequest
  877. (*RemoveInboundResponse)(nil), // 5: xray.app.proxyman.command.RemoveInboundResponse
  878. (*AlterInboundRequest)(nil), // 6: xray.app.proxyman.command.AlterInboundRequest
  879. (*AlterInboundResponse)(nil), // 7: xray.app.proxyman.command.AlterInboundResponse
  880. (*ListInboundsRequest)(nil), // 8: xray.app.proxyman.command.ListInboundsRequest
  881. (*ListInboundsResponse)(nil), // 9: xray.app.proxyman.command.ListInboundsResponse
  882. (*GetInboundUserRequest)(nil), // 10: xray.app.proxyman.command.GetInboundUserRequest
  883. (*GetInboundUserResponse)(nil), // 11: xray.app.proxyman.command.GetInboundUserResponse
  884. (*GetInboundUsersCountResponse)(nil), // 12: xray.app.proxyman.command.GetInboundUsersCountResponse
  885. (*AddOutboundRequest)(nil), // 13: xray.app.proxyman.command.AddOutboundRequest
  886. (*AddOutboundResponse)(nil), // 14: xray.app.proxyman.command.AddOutboundResponse
  887. (*RemoveOutboundRequest)(nil), // 15: xray.app.proxyman.command.RemoveOutboundRequest
  888. (*RemoveOutboundResponse)(nil), // 16: xray.app.proxyman.command.RemoveOutboundResponse
  889. (*AlterOutboundRequest)(nil), // 17: xray.app.proxyman.command.AlterOutboundRequest
  890. (*AlterOutboundResponse)(nil), // 18: xray.app.proxyman.command.AlterOutboundResponse
  891. (*ListOutboundsRequest)(nil), // 19: xray.app.proxyman.command.ListOutboundsRequest
  892. (*ListOutboundsResponse)(nil), // 20: xray.app.proxyman.command.ListOutboundsResponse
  893. (*Config)(nil), // 21: xray.app.proxyman.command.Config
  894. (*protocol.User)(nil), // 22: xray.common.protocol.User
  895. (*core.InboundHandlerConfig)(nil), // 23: xray.core.InboundHandlerConfig
  896. (*serial.TypedMessage)(nil), // 24: xray.common.serial.TypedMessage
  897. (*core.OutboundHandlerConfig)(nil), // 25: xray.core.OutboundHandlerConfig
  898. }
  899. var file_app_proxyman_command_command_proto_depIdxs = []int32{
  900. 22, // 0: xray.app.proxyman.command.AddUserOperation.user:type_name -> xray.common.protocol.User
  901. 23, // 1: xray.app.proxyman.command.AddInboundRequest.inbound:type_name -> xray.core.InboundHandlerConfig
  902. 24, // 2: xray.app.proxyman.command.AlterInboundRequest.operation:type_name -> xray.common.serial.TypedMessage
  903. 23, // 3: xray.app.proxyman.command.ListInboundsResponse.inbounds:type_name -> xray.core.InboundHandlerConfig
  904. 22, // 4: xray.app.proxyman.command.GetInboundUserResponse.users:type_name -> xray.common.protocol.User
  905. 25, // 5: xray.app.proxyman.command.AddOutboundRequest.outbound:type_name -> xray.core.OutboundHandlerConfig
  906. 24, // 6: xray.app.proxyman.command.AlterOutboundRequest.operation:type_name -> xray.common.serial.TypedMessage
  907. 25, // 7: xray.app.proxyman.command.ListOutboundsResponse.outbounds:type_name -> xray.core.OutboundHandlerConfig
  908. 2, // 8: xray.app.proxyman.command.HandlerService.AddInbound:input_type -> xray.app.proxyman.command.AddInboundRequest
  909. 4, // 9: xray.app.proxyman.command.HandlerService.RemoveInbound:input_type -> xray.app.proxyman.command.RemoveInboundRequest
  910. 6, // 10: xray.app.proxyman.command.HandlerService.AlterInbound:input_type -> xray.app.proxyman.command.AlterInboundRequest
  911. 8, // 11: xray.app.proxyman.command.HandlerService.ListInbounds:input_type -> xray.app.proxyman.command.ListInboundsRequest
  912. 10, // 12: xray.app.proxyman.command.HandlerService.GetInboundUsers:input_type -> xray.app.proxyman.command.GetInboundUserRequest
  913. 10, // 13: xray.app.proxyman.command.HandlerService.GetInboundUsersCount:input_type -> xray.app.proxyman.command.GetInboundUserRequest
  914. 13, // 14: xray.app.proxyman.command.HandlerService.AddOutbound:input_type -> xray.app.proxyman.command.AddOutboundRequest
  915. 15, // 15: xray.app.proxyman.command.HandlerService.RemoveOutbound:input_type -> xray.app.proxyman.command.RemoveOutboundRequest
  916. 17, // 16: xray.app.proxyman.command.HandlerService.AlterOutbound:input_type -> xray.app.proxyman.command.AlterOutboundRequest
  917. 19, // 17: xray.app.proxyman.command.HandlerService.ListOutbounds:input_type -> xray.app.proxyman.command.ListOutboundsRequest
  918. 3, // 18: xray.app.proxyman.command.HandlerService.AddInbound:output_type -> xray.app.proxyman.command.AddInboundResponse
  919. 5, // 19: xray.app.proxyman.command.HandlerService.RemoveInbound:output_type -> xray.app.proxyman.command.RemoveInboundResponse
  920. 7, // 20: xray.app.proxyman.command.HandlerService.AlterInbound:output_type -> xray.app.proxyman.command.AlterInboundResponse
  921. 9, // 21: xray.app.proxyman.command.HandlerService.ListInbounds:output_type -> xray.app.proxyman.command.ListInboundsResponse
  922. 11, // 22: xray.app.proxyman.command.HandlerService.GetInboundUsers:output_type -> xray.app.proxyman.command.GetInboundUserResponse
  923. 12, // 23: xray.app.proxyman.command.HandlerService.GetInboundUsersCount:output_type -> xray.app.proxyman.command.GetInboundUsersCountResponse
  924. 14, // 24: xray.app.proxyman.command.HandlerService.AddOutbound:output_type -> xray.app.proxyman.command.AddOutboundResponse
  925. 16, // 25: xray.app.proxyman.command.HandlerService.RemoveOutbound:output_type -> xray.app.proxyman.command.RemoveOutboundResponse
  926. 18, // 26: xray.app.proxyman.command.HandlerService.AlterOutbound:output_type -> xray.app.proxyman.command.AlterOutboundResponse
  927. 20, // 27: xray.app.proxyman.command.HandlerService.ListOutbounds:output_type -> xray.app.proxyman.command.ListOutboundsResponse
  928. 18, // [18:28] is the sub-list for method output_type
  929. 8, // [8:18] is the sub-list for method input_type
  930. 8, // [8:8] is the sub-list for extension type_name
  931. 8, // [8:8] is the sub-list for extension extendee
  932. 0, // [0:8] is the sub-list for field type_name
  933. }
  934. func init() { file_app_proxyman_command_command_proto_init() }
  935. func file_app_proxyman_command_command_proto_init() {
  936. if File_app_proxyman_command_command_proto != nil {
  937. return
  938. }
  939. type x struct{}
  940. out := protoimpl.TypeBuilder{
  941. File: protoimpl.DescBuilder{
  942. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  943. RawDescriptor: unsafe.Slice(unsafe.StringData(file_app_proxyman_command_command_proto_rawDesc), len(file_app_proxyman_command_command_proto_rawDesc)),
  944. NumEnums: 0,
  945. NumMessages: 22,
  946. NumExtensions: 0,
  947. NumServices: 1,
  948. },
  949. GoTypes: file_app_proxyman_command_command_proto_goTypes,
  950. DependencyIndexes: file_app_proxyman_command_command_proto_depIdxs,
  951. MessageInfos: file_app_proxyman_command_command_proto_msgTypes,
  952. }.Build()
  953. File_app_proxyman_command_command_proto = out.File
  954. file_app_proxyman_command_command_proto_goTypes = nil
  955. file_app_proxyman_command_command_proto_depIdxs = nil
  956. }