command.pb.go 48 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.34.1
  4. // protoc v5.27.0
  5. // source: app/router/command/command.proto
  6. package command
  7. import (
  8. net "github.com/xtls/xray-core/common/net"
  9. serial "github.com/xtls/xray-core/common/serial"
  10. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  11. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  12. reflect "reflect"
  13. sync "sync"
  14. )
  15. const (
  16. // Verify that this generated code is sufficiently up-to-date.
  17. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  18. // Verify that runtime/protoimpl is sufficiently up-to-date.
  19. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  20. )
  21. // RoutingContext is the context with information relative to routing process.
  22. // It conforms to the structure of xray.features.routing.Context and
  23. // xray.features.routing.Route.
  24. type RoutingContext struct {
  25. state protoimpl.MessageState
  26. sizeCache protoimpl.SizeCache
  27. unknownFields protoimpl.UnknownFields
  28. InboundTag string `protobuf:"bytes,1,opt,name=InboundTag,proto3" json:"InboundTag,omitempty"`
  29. Network net.Network `protobuf:"varint,2,opt,name=Network,proto3,enum=xray.common.net.Network" json:"Network,omitempty"`
  30. SourceIPs [][]byte `protobuf:"bytes,3,rep,name=SourceIPs,proto3" json:"SourceIPs,omitempty"`
  31. TargetIPs [][]byte `protobuf:"bytes,4,rep,name=TargetIPs,proto3" json:"TargetIPs,omitempty"`
  32. SourcePort uint32 `protobuf:"varint,5,opt,name=SourcePort,proto3" json:"SourcePort,omitempty"`
  33. TargetPort uint32 `protobuf:"varint,6,opt,name=TargetPort,proto3" json:"TargetPort,omitempty"`
  34. TargetDomain string `protobuf:"bytes,7,opt,name=TargetDomain,proto3" json:"TargetDomain,omitempty"`
  35. Protocol string `protobuf:"bytes,8,opt,name=Protocol,proto3" json:"Protocol,omitempty"`
  36. User string `protobuf:"bytes,9,opt,name=User,proto3" json:"User,omitempty"`
  37. Attributes map[string]string `protobuf:"bytes,10,rep,name=Attributes,proto3" json:"Attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
  38. OutboundGroupTags []string `protobuf:"bytes,11,rep,name=OutboundGroupTags,proto3" json:"OutboundGroupTags,omitempty"`
  39. OutboundTag string `protobuf:"bytes,12,opt,name=OutboundTag,proto3" json:"OutboundTag,omitempty"`
  40. }
  41. func (x *RoutingContext) Reset() {
  42. *x = RoutingContext{}
  43. if protoimpl.UnsafeEnabled {
  44. mi := &file_app_router_command_command_proto_msgTypes[0]
  45. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  46. ms.StoreMessageInfo(mi)
  47. }
  48. }
  49. func (x *RoutingContext) String() string {
  50. return protoimpl.X.MessageStringOf(x)
  51. }
  52. func (*RoutingContext) ProtoMessage() {}
  53. func (x *RoutingContext) ProtoReflect() protoreflect.Message {
  54. mi := &file_app_router_command_command_proto_msgTypes[0]
  55. if protoimpl.UnsafeEnabled && x != nil {
  56. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  57. if ms.LoadMessageInfo() == nil {
  58. ms.StoreMessageInfo(mi)
  59. }
  60. return ms
  61. }
  62. return mi.MessageOf(x)
  63. }
  64. // Deprecated: Use RoutingContext.ProtoReflect.Descriptor instead.
  65. func (*RoutingContext) Descriptor() ([]byte, []int) {
  66. return file_app_router_command_command_proto_rawDescGZIP(), []int{0}
  67. }
  68. func (x *RoutingContext) GetInboundTag() string {
  69. if x != nil {
  70. return x.InboundTag
  71. }
  72. return ""
  73. }
  74. func (x *RoutingContext) GetNetwork() net.Network {
  75. if x != nil {
  76. return x.Network
  77. }
  78. return net.Network(0)
  79. }
  80. func (x *RoutingContext) GetSourceIPs() [][]byte {
  81. if x != nil {
  82. return x.SourceIPs
  83. }
  84. return nil
  85. }
  86. func (x *RoutingContext) GetTargetIPs() [][]byte {
  87. if x != nil {
  88. return x.TargetIPs
  89. }
  90. return nil
  91. }
  92. func (x *RoutingContext) GetSourcePort() uint32 {
  93. if x != nil {
  94. return x.SourcePort
  95. }
  96. return 0
  97. }
  98. func (x *RoutingContext) GetTargetPort() uint32 {
  99. if x != nil {
  100. return x.TargetPort
  101. }
  102. return 0
  103. }
  104. func (x *RoutingContext) GetTargetDomain() string {
  105. if x != nil {
  106. return x.TargetDomain
  107. }
  108. return ""
  109. }
  110. func (x *RoutingContext) GetProtocol() string {
  111. if x != nil {
  112. return x.Protocol
  113. }
  114. return ""
  115. }
  116. func (x *RoutingContext) GetUser() string {
  117. if x != nil {
  118. return x.User
  119. }
  120. return ""
  121. }
  122. func (x *RoutingContext) GetAttributes() map[string]string {
  123. if x != nil {
  124. return x.Attributes
  125. }
  126. return nil
  127. }
  128. func (x *RoutingContext) GetOutboundGroupTags() []string {
  129. if x != nil {
  130. return x.OutboundGroupTags
  131. }
  132. return nil
  133. }
  134. func (x *RoutingContext) GetOutboundTag() string {
  135. if x != nil {
  136. return x.OutboundTag
  137. }
  138. return ""
  139. }
  140. // SubscribeRoutingStatsRequest subscribes to routing statistics channel if
  141. // opened by xray-core.
  142. // * FieldSelectors selects a subset of fields in routing statistics to return.
  143. // Valid selectors:
  144. // - inbound: Selects connection's inbound tag.
  145. // - network: Selects connection's network.
  146. // - ip: Equivalent as "ip_source" and "ip_target", selects both source and
  147. // target IP.
  148. // - port: Equivalent as "port_source" and "port_target", selects both source
  149. // and target port.
  150. // - domain: Selects target domain.
  151. // - protocol: Select connection's protocol.
  152. // - user: Select connection's inbound user email.
  153. // - attributes: Select connection's additional attributes.
  154. // - outbound: Equivalent as "outbound" and "outbound_group", select both
  155. // outbound tag and outbound group tags.
  156. //
  157. // * If FieldSelectors is left empty, all fields will be returned.
  158. type SubscribeRoutingStatsRequest struct {
  159. state protoimpl.MessageState
  160. sizeCache protoimpl.SizeCache
  161. unknownFields protoimpl.UnknownFields
  162. FieldSelectors []string `protobuf:"bytes,1,rep,name=FieldSelectors,proto3" json:"FieldSelectors,omitempty"`
  163. }
  164. func (x *SubscribeRoutingStatsRequest) Reset() {
  165. *x = SubscribeRoutingStatsRequest{}
  166. if protoimpl.UnsafeEnabled {
  167. mi := &file_app_router_command_command_proto_msgTypes[1]
  168. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  169. ms.StoreMessageInfo(mi)
  170. }
  171. }
  172. func (x *SubscribeRoutingStatsRequest) String() string {
  173. return protoimpl.X.MessageStringOf(x)
  174. }
  175. func (*SubscribeRoutingStatsRequest) ProtoMessage() {}
  176. func (x *SubscribeRoutingStatsRequest) ProtoReflect() protoreflect.Message {
  177. mi := &file_app_router_command_command_proto_msgTypes[1]
  178. if protoimpl.UnsafeEnabled && x != nil {
  179. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  180. if ms.LoadMessageInfo() == nil {
  181. ms.StoreMessageInfo(mi)
  182. }
  183. return ms
  184. }
  185. return mi.MessageOf(x)
  186. }
  187. // Deprecated: Use SubscribeRoutingStatsRequest.ProtoReflect.Descriptor instead.
  188. func (*SubscribeRoutingStatsRequest) Descriptor() ([]byte, []int) {
  189. return file_app_router_command_command_proto_rawDescGZIP(), []int{1}
  190. }
  191. func (x *SubscribeRoutingStatsRequest) GetFieldSelectors() []string {
  192. if x != nil {
  193. return x.FieldSelectors
  194. }
  195. return nil
  196. }
  197. // TestRouteRequest manually tests a routing result according to the routing
  198. // context message.
  199. // * RoutingContext is the routing message without outbound information.
  200. // * FieldSelectors selects the fields to return in the routing result. All
  201. // fields are returned if left empty.
  202. // * PublishResult broadcasts the routing result to routing statistics channel
  203. // if set true.
  204. type TestRouteRequest struct {
  205. state protoimpl.MessageState
  206. sizeCache protoimpl.SizeCache
  207. unknownFields protoimpl.UnknownFields
  208. RoutingContext *RoutingContext `protobuf:"bytes,1,opt,name=RoutingContext,proto3" json:"RoutingContext,omitempty"`
  209. FieldSelectors []string `protobuf:"bytes,2,rep,name=FieldSelectors,proto3" json:"FieldSelectors,omitempty"`
  210. PublishResult bool `protobuf:"varint,3,opt,name=PublishResult,proto3" json:"PublishResult,omitempty"`
  211. }
  212. func (x *TestRouteRequest) Reset() {
  213. *x = TestRouteRequest{}
  214. if protoimpl.UnsafeEnabled {
  215. mi := &file_app_router_command_command_proto_msgTypes[2]
  216. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  217. ms.StoreMessageInfo(mi)
  218. }
  219. }
  220. func (x *TestRouteRequest) String() string {
  221. return protoimpl.X.MessageStringOf(x)
  222. }
  223. func (*TestRouteRequest) ProtoMessage() {}
  224. func (x *TestRouteRequest) ProtoReflect() protoreflect.Message {
  225. mi := &file_app_router_command_command_proto_msgTypes[2]
  226. if protoimpl.UnsafeEnabled && x != nil {
  227. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  228. if ms.LoadMessageInfo() == nil {
  229. ms.StoreMessageInfo(mi)
  230. }
  231. return ms
  232. }
  233. return mi.MessageOf(x)
  234. }
  235. // Deprecated: Use TestRouteRequest.ProtoReflect.Descriptor instead.
  236. func (*TestRouteRequest) Descriptor() ([]byte, []int) {
  237. return file_app_router_command_command_proto_rawDescGZIP(), []int{2}
  238. }
  239. func (x *TestRouteRequest) GetRoutingContext() *RoutingContext {
  240. if x != nil {
  241. return x.RoutingContext
  242. }
  243. return nil
  244. }
  245. func (x *TestRouteRequest) GetFieldSelectors() []string {
  246. if x != nil {
  247. return x.FieldSelectors
  248. }
  249. return nil
  250. }
  251. func (x *TestRouteRequest) GetPublishResult() bool {
  252. if x != nil {
  253. return x.PublishResult
  254. }
  255. return false
  256. }
  257. type PrincipleTargetInfo struct {
  258. state protoimpl.MessageState
  259. sizeCache protoimpl.SizeCache
  260. unknownFields protoimpl.UnknownFields
  261. Tag []string `protobuf:"bytes,1,rep,name=tag,proto3" json:"tag,omitempty"`
  262. }
  263. func (x *PrincipleTargetInfo) Reset() {
  264. *x = PrincipleTargetInfo{}
  265. if protoimpl.UnsafeEnabled {
  266. mi := &file_app_router_command_command_proto_msgTypes[3]
  267. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  268. ms.StoreMessageInfo(mi)
  269. }
  270. }
  271. func (x *PrincipleTargetInfo) String() string {
  272. return protoimpl.X.MessageStringOf(x)
  273. }
  274. func (*PrincipleTargetInfo) ProtoMessage() {}
  275. func (x *PrincipleTargetInfo) ProtoReflect() protoreflect.Message {
  276. mi := &file_app_router_command_command_proto_msgTypes[3]
  277. if protoimpl.UnsafeEnabled && x != nil {
  278. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  279. if ms.LoadMessageInfo() == nil {
  280. ms.StoreMessageInfo(mi)
  281. }
  282. return ms
  283. }
  284. return mi.MessageOf(x)
  285. }
  286. // Deprecated: Use PrincipleTargetInfo.ProtoReflect.Descriptor instead.
  287. func (*PrincipleTargetInfo) Descriptor() ([]byte, []int) {
  288. return file_app_router_command_command_proto_rawDescGZIP(), []int{3}
  289. }
  290. func (x *PrincipleTargetInfo) GetTag() []string {
  291. if x != nil {
  292. return x.Tag
  293. }
  294. return nil
  295. }
  296. type OverrideInfo struct {
  297. state protoimpl.MessageState
  298. sizeCache protoimpl.SizeCache
  299. unknownFields protoimpl.UnknownFields
  300. Target string `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"`
  301. }
  302. func (x *OverrideInfo) Reset() {
  303. *x = OverrideInfo{}
  304. if protoimpl.UnsafeEnabled {
  305. mi := &file_app_router_command_command_proto_msgTypes[4]
  306. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  307. ms.StoreMessageInfo(mi)
  308. }
  309. }
  310. func (x *OverrideInfo) String() string {
  311. return protoimpl.X.MessageStringOf(x)
  312. }
  313. func (*OverrideInfo) ProtoMessage() {}
  314. func (x *OverrideInfo) ProtoReflect() protoreflect.Message {
  315. mi := &file_app_router_command_command_proto_msgTypes[4]
  316. if protoimpl.UnsafeEnabled && x != nil {
  317. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  318. if ms.LoadMessageInfo() == nil {
  319. ms.StoreMessageInfo(mi)
  320. }
  321. return ms
  322. }
  323. return mi.MessageOf(x)
  324. }
  325. // Deprecated: Use OverrideInfo.ProtoReflect.Descriptor instead.
  326. func (*OverrideInfo) Descriptor() ([]byte, []int) {
  327. return file_app_router_command_command_proto_rawDescGZIP(), []int{4}
  328. }
  329. func (x *OverrideInfo) GetTarget() string {
  330. if x != nil {
  331. return x.Target
  332. }
  333. return ""
  334. }
  335. type BalancerMsg struct {
  336. state protoimpl.MessageState
  337. sizeCache protoimpl.SizeCache
  338. unknownFields protoimpl.UnknownFields
  339. Override *OverrideInfo `protobuf:"bytes,5,opt,name=override,proto3" json:"override,omitempty"`
  340. PrincipleTarget *PrincipleTargetInfo `protobuf:"bytes,6,opt,name=principle_target,json=principleTarget,proto3" json:"principle_target,omitempty"`
  341. }
  342. func (x *BalancerMsg) Reset() {
  343. *x = BalancerMsg{}
  344. if protoimpl.UnsafeEnabled {
  345. mi := &file_app_router_command_command_proto_msgTypes[5]
  346. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  347. ms.StoreMessageInfo(mi)
  348. }
  349. }
  350. func (x *BalancerMsg) String() string {
  351. return protoimpl.X.MessageStringOf(x)
  352. }
  353. func (*BalancerMsg) ProtoMessage() {}
  354. func (x *BalancerMsg) ProtoReflect() protoreflect.Message {
  355. mi := &file_app_router_command_command_proto_msgTypes[5]
  356. if protoimpl.UnsafeEnabled && x != nil {
  357. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  358. if ms.LoadMessageInfo() == nil {
  359. ms.StoreMessageInfo(mi)
  360. }
  361. return ms
  362. }
  363. return mi.MessageOf(x)
  364. }
  365. // Deprecated: Use BalancerMsg.ProtoReflect.Descriptor instead.
  366. func (*BalancerMsg) Descriptor() ([]byte, []int) {
  367. return file_app_router_command_command_proto_rawDescGZIP(), []int{5}
  368. }
  369. func (x *BalancerMsg) GetOverride() *OverrideInfo {
  370. if x != nil {
  371. return x.Override
  372. }
  373. return nil
  374. }
  375. func (x *BalancerMsg) GetPrincipleTarget() *PrincipleTargetInfo {
  376. if x != nil {
  377. return x.PrincipleTarget
  378. }
  379. return nil
  380. }
  381. type GetBalancerInfoRequest struct {
  382. state protoimpl.MessageState
  383. sizeCache protoimpl.SizeCache
  384. unknownFields protoimpl.UnknownFields
  385. Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
  386. }
  387. func (x *GetBalancerInfoRequest) Reset() {
  388. *x = GetBalancerInfoRequest{}
  389. if protoimpl.UnsafeEnabled {
  390. mi := &file_app_router_command_command_proto_msgTypes[6]
  391. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  392. ms.StoreMessageInfo(mi)
  393. }
  394. }
  395. func (x *GetBalancerInfoRequest) String() string {
  396. return protoimpl.X.MessageStringOf(x)
  397. }
  398. func (*GetBalancerInfoRequest) ProtoMessage() {}
  399. func (x *GetBalancerInfoRequest) ProtoReflect() protoreflect.Message {
  400. mi := &file_app_router_command_command_proto_msgTypes[6]
  401. if protoimpl.UnsafeEnabled && x != nil {
  402. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  403. if ms.LoadMessageInfo() == nil {
  404. ms.StoreMessageInfo(mi)
  405. }
  406. return ms
  407. }
  408. return mi.MessageOf(x)
  409. }
  410. // Deprecated: Use GetBalancerInfoRequest.ProtoReflect.Descriptor instead.
  411. func (*GetBalancerInfoRequest) Descriptor() ([]byte, []int) {
  412. return file_app_router_command_command_proto_rawDescGZIP(), []int{6}
  413. }
  414. func (x *GetBalancerInfoRequest) GetTag() string {
  415. if x != nil {
  416. return x.Tag
  417. }
  418. return ""
  419. }
  420. type GetBalancerInfoResponse struct {
  421. state protoimpl.MessageState
  422. sizeCache protoimpl.SizeCache
  423. unknownFields protoimpl.UnknownFields
  424. Balancer *BalancerMsg `protobuf:"bytes,1,opt,name=balancer,proto3" json:"balancer,omitempty"`
  425. }
  426. func (x *GetBalancerInfoResponse) Reset() {
  427. *x = GetBalancerInfoResponse{}
  428. if protoimpl.UnsafeEnabled {
  429. mi := &file_app_router_command_command_proto_msgTypes[7]
  430. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  431. ms.StoreMessageInfo(mi)
  432. }
  433. }
  434. func (x *GetBalancerInfoResponse) String() string {
  435. return protoimpl.X.MessageStringOf(x)
  436. }
  437. func (*GetBalancerInfoResponse) ProtoMessage() {}
  438. func (x *GetBalancerInfoResponse) ProtoReflect() protoreflect.Message {
  439. mi := &file_app_router_command_command_proto_msgTypes[7]
  440. if protoimpl.UnsafeEnabled && x != nil {
  441. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  442. if ms.LoadMessageInfo() == nil {
  443. ms.StoreMessageInfo(mi)
  444. }
  445. return ms
  446. }
  447. return mi.MessageOf(x)
  448. }
  449. // Deprecated: Use GetBalancerInfoResponse.ProtoReflect.Descriptor instead.
  450. func (*GetBalancerInfoResponse) Descriptor() ([]byte, []int) {
  451. return file_app_router_command_command_proto_rawDescGZIP(), []int{7}
  452. }
  453. func (x *GetBalancerInfoResponse) GetBalancer() *BalancerMsg {
  454. if x != nil {
  455. return x.Balancer
  456. }
  457. return nil
  458. }
  459. type OverrideBalancerTargetRequest struct {
  460. state protoimpl.MessageState
  461. sizeCache protoimpl.SizeCache
  462. unknownFields protoimpl.UnknownFields
  463. BalancerTag string `protobuf:"bytes,1,opt,name=balancerTag,proto3" json:"balancerTag,omitempty"`
  464. Target string `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"`
  465. }
  466. func (x *OverrideBalancerTargetRequest) Reset() {
  467. *x = OverrideBalancerTargetRequest{}
  468. if protoimpl.UnsafeEnabled {
  469. mi := &file_app_router_command_command_proto_msgTypes[8]
  470. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  471. ms.StoreMessageInfo(mi)
  472. }
  473. }
  474. func (x *OverrideBalancerTargetRequest) String() string {
  475. return protoimpl.X.MessageStringOf(x)
  476. }
  477. func (*OverrideBalancerTargetRequest) ProtoMessage() {}
  478. func (x *OverrideBalancerTargetRequest) ProtoReflect() protoreflect.Message {
  479. mi := &file_app_router_command_command_proto_msgTypes[8]
  480. if protoimpl.UnsafeEnabled && x != nil {
  481. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  482. if ms.LoadMessageInfo() == nil {
  483. ms.StoreMessageInfo(mi)
  484. }
  485. return ms
  486. }
  487. return mi.MessageOf(x)
  488. }
  489. // Deprecated: Use OverrideBalancerTargetRequest.ProtoReflect.Descriptor instead.
  490. func (*OverrideBalancerTargetRequest) Descriptor() ([]byte, []int) {
  491. return file_app_router_command_command_proto_rawDescGZIP(), []int{8}
  492. }
  493. func (x *OverrideBalancerTargetRequest) GetBalancerTag() string {
  494. if x != nil {
  495. return x.BalancerTag
  496. }
  497. return ""
  498. }
  499. func (x *OverrideBalancerTargetRequest) GetTarget() string {
  500. if x != nil {
  501. return x.Target
  502. }
  503. return ""
  504. }
  505. type OverrideBalancerTargetResponse struct {
  506. state protoimpl.MessageState
  507. sizeCache protoimpl.SizeCache
  508. unknownFields protoimpl.UnknownFields
  509. }
  510. func (x *OverrideBalancerTargetResponse) Reset() {
  511. *x = OverrideBalancerTargetResponse{}
  512. if protoimpl.UnsafeEnabled {
  513. mi := &file_app_router_command_command_proto_msgTypes[9]
  514. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  515. ms.StoreMessageInfo(mi)
  516. }
  517. }
  518. func (x *OverrideBalancerTargetResponse) String() string {
  519. return protoimpl.X.MessageStringOf(x)
  520. }
  521. func (*OverrideBalancerTargetResponse) ProtoMessage() {}
  522. func (x *OverrideBalancerTargetResponse) ProtoReflect() protoreflect.Message {
  523. mi := &file_app_router_command_command_proto_msgTypes[9]
  524. if protoimpl.UnsafeEnabled && x != nil {
  525. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  526. if ms.LoadMessageInfo() == nil {
  527. ms.StoreMessageInfo(mi)
  528. }
  529. return ms
  530. }
  531. return mi.MessageOf(x)
  532. }
  533. // Deprecated: Use OverrideBalancerTargetResponse.ProtoReflect.Descriptor instead.
  534. func (*OverrideBalancerTargetResponse) Descriptor() ([]byte, []int) {
  535. return file_app_router_command_command_proto_rawDescGZIP(), []int{9}
  536. }
  537. type AddRuleRequest struct {
  538. state protoimpl.MessageState
  539. sizeCache protoimpl.SizeCache
  540. unknownFields protoimpl.UnknownFields
  541. Config *serial.TypedMessage `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
  542. ShouldAppend bool `protobuf:"varint,2,opt,name=shouldAppend,proto3" json:"shouldAppend,omitempty"`
  543. }
  544. func (x *AddRuleRequest) Reset() {
  545. *x = AddRuleRequest{}
  546. if protoimpl.UnsafeEnabled {
  547. mi := &file_app_router_command_command_proto_msgTypes[10]
  548. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  549. ms.StoreMessageInfo(mi)
  550. }
  551. }
  552. func (x *AddRuleRequest) String() string {
  553. return protoimpl.X.MessageStringOf(x)
  554. }
  555. func (*AddRuleRequest) ProtoMessage() {}
  556. func (x *AddRuleRequest) ProtoReflect() protoreflect.Message {
  557. mi := &file_app_router_command_command_proto_msgTypes[10]
  558. if protoimpl.UnsafeEnabled && x != nil {
  559. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  560. if ms.LoadMessageInfo() == nil {
  561. ms.StoreMessageInfo(mi)
  562. }
  563. return ms
  564. }
  565. return mi.MessageOf(x)
  566. }
  567. // Deprecated: Use AddRuleRequest.ProtoReflect.Descriptor instead.
  568. func (*AddRuleRequest) Descriptor() ([]byte, []int) {
  569. return file_app_router_command_command_proto_rawDescGZIP(), []int{10}
  570. }
  571. func (x *AddRuleRequest) GetConfig() *serial.TypedMessage {
  572. if x != nil {
  573. return x.Config
  574. }
  575. return nil
  576. }
  577. func (x *AddRuleRequest) GetShouldAppend() bool {
  578. if x != nil {
  579. return x.ShouldAppend
  580. }
  581. return false
  582. }
  583. type AddRuleResponse struct {
  584. state protoimpl.MessageState
  585. sizeCache protoimpl.SizeCache
  586. unknownFields protoimpl.UnknownFields
  587. }
  588. func (x *AddRuleResponse) Reset() {
  589. *x = AddRuleResponse{}
  590. if protoimpl.UnsafeEnabled {
  591. mi := &file_app_router_command_command_proto_msgTypes[11]
  592. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  593. ms.StoreMessageInfo(mi)
  594. }
  595. }
  596. func (x *AddRuleResponse) String() string {
  597. return protoimpl.X.MessageStringOf(x)
  598. }
  599. func (*AddRuleResponse) ProtoMessage() {}
  600. func (x *AddRuleResponse) ProtoReflect() protoreflect.Message {
  601. mi := &file_app_router_command_command_proto_msgTypes[11]
  602. if protoimpl.UnsafeEnabled && x != nil {
  603. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  604. if ms.LoadMessageInfo() == nil {
  605. ms.StoreMessageInfo(mi)
  606. }
  607. return ms
  608. }
  609. return mi.MessageOf(x)
  610. }
  611. // Deprecated: Use AddRuleResponse.ProtoReflect.Descriptor instead.
  612. func (*AddRuleResponse) Descriptor() ([]byte, []int) {
  613. return file_app_router_command_command_proto_rawDescGZIP(), []int{11}
  614. }
  615. type RemoveRuleRequest struct {
  616. state protoimpl.MessageState
  617. sizeCache protoimpl.SizeCache
  618. unknownFields protoimpl.UnknownFields
  619. RuleTag string `protobuf:"bytes,1,opt,name=ruleTag,proto3" json:"ruleTag,omitempty"`
  620. }
  621. func (x *RemoveRuleRequest) Reset() {
  622. *x = RemoveRuleRequest{}
  623. if protoimpl.UnsafeEnabled {
  624. mi := &file_app_router_command_command_proto_msgTypes[12]
  625. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  626. ms.StoreMessageInfo(mi)
  627. }
  628. }
  629. func (x *RemoveRuleRequest) String() string {
  630. return protoimpl.X.MessageStringOf(x)
  631. }
  632. func (*RemoveRuleRequest) ProtoMessage() {}
  633. func (x *RemoveRuleRequest) ProtoReflect() protoreflect.Message {
  634. mi := &file_app_router_command_command_proto_msgTypes[12]
  635. if protoimpl.UnsafeEnabled && x != nil {
  636. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  637. if ms.LoadMessageInfo() == nil {
  638. ms.StoreMessageInfo(mi)
  639. }
  640. return ms
  641. }
  642. return mi.MessageOf(x)
  643. }
  644. // Deprecated: Use RemoveRuleRequest.ProtoReflect.Descriptor instead.
  645. func (*RemoveRuleRequest) Descriptor() ([]byte, []int) {
  646. return file_app_router_command_command_proto_rawDescGZIP(), []int{12}
  647. }
  648. func (x *RemoveRuleRequest) GetRuleTag() string {
  649. if x != nil {
  650. return x.RuleTag
  651. }
  652. return ""
  653. }
  654. type RemoveRuleResponse struct {
  655. state protoimpl.MessageState
  656. sizeCache protoimpl.SizeCache
  657. unknownFields protoimpl.UnknownFields
  658. }
  659. func (x *RemoveRuleResponse) Reset() {
  660. *x = RemoveRuleResponse{}
  661. if protoimpl.UnsafeEnabled {
  662. mi := &file_app_router_command_command_proto_msgTypes[13]
  663. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  664. ms.StoreMessageInfo(mi)
  665. }
  666. }
  667. func (x *RemoveRuleResponse) String() string {
  668. return protoimpl.X.MessageStringOf(x)
  669. }
  670. func (*RemoveRuleResponse) ProtoMessage() {}
  671. func (x *RemoveRuleResponse) ProtoReflect() protoreflect.Message {
  672. mi := &file_app_router_command_command_proto_msgTypes[13]
  673. if protoimpl.UnsafeEnabled && x != nil {
  674. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  675. if ms.LoadMessageInfo() == nil {
  676. ms.StoreMessageInfo(mi)
  677. }
  678. return ms
  679. }
  680. return mi.MessageOf(x)
  681. }
  682. // Deprecated: Use RemoveRuleResponse.ProtoReflect.Descriptor instead.
  683. func (*RemoveRuleResponse) Descriptor() ([]byte, []int) {
  684. return file_app_router_command_command_proto_rawDescGZIP(), []int{13}
  685. }
  686. type Config struct {
  687. state protoimpl.MessageState
  688. sizeCache protoimpl.SizeCache
  689. unknownFields protoimpl.UnknownFields
  690. }
  691. func (x *Config) Reset() {
  692. *x = Config{}
  693. if protoimpl.UnsafeEnabled {
  694. mi := &file_app_router_command_command_proto_msgTypes[14]
  695. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  696. ms.StoreMessageInfo(mi)
  697. }
  698. }
  699. func (x *Config) String() string {
  700. return protoimpl.X.MessageStringOf(x)
  701. }
  702. func (*Config) ProtoMessage() {}
  703. func (x *Config) ProtoReflect() protoreflect.Message {
  704. mi := &file_app_router_command_command_proto_msgTypes[14]
  705. if protoimpl.UnsafeEnabled && x != nil {
  706. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  707. if ms.LoadMessageInfo() == nil {
  708. ms.StoreMessageInfo(mi)
  709. }
  710. return ms
  711. }
  712. return mi.MessageOf(x)
  713. }
  714. // Deprecated: Use Config.ProtoReflect.Descriptor instead.
  715. func (*Config) Descriptor() ([]byte, []int) {
  716. return file_app_router_command_command_proto_rawDescGZIP(), []int{14}
  717. }
  718. var File_app_router_command_command_proto protoreflect.FileDescriptor
  719. var file_app_router_command_command_proto_rawDesc = []byte{
  720. 0x0a, 0x20, 0x61, 0x70, 0x70, 0x2f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2f, 0x63, 0x6f, 0x6d,
  721. 0x6d, 0x61, 0x6e, 0x64, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x70, 0x72, 0x6f,
  722. 0x74, 0x6f, 0x12, 0x17, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x6f, 0x75,
  723. 0x74, 0x65, 0x72, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x1a, 0x18, 0x63, 0x6f, 0x6d,
  724. 0x6d, 0x6f, 0x6e, 0x2f, 0x6e, 0x65, 0x74, 0x2f, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2e,
  725. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x73, 0x65,
  726. 0x72, 0x69, 0x61, 0x6c, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x64, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61,
  727. 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9c, 0x04, 0x0a, 0x0e, 0x52, 0x6f, 0x75,
  728. 0x74, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x49,
  729. 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x54, 0x61, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
  730. 0x0a, 0x49, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x54, 0x61, 0x67, 0x12, 0x32, 0x0a, 0x07, 0x4e,
  731. 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x78,
  732. 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x6e, 0x65, 0x74, 0x2e, 0x4e,
  733. 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x07, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x12,
  734. 0x1c, 0x0a, 0x09, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x50, 0x73, 0x18, 0x03, 0x20, 0x03,
  735. 0x28, 0x0c, 0x52, 0x09, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x50, 0x73, 0x12, 0x1c, 0x0a,
  736. 0x09, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x49, 0x50, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0c,
  737. 0x52, 0x09, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x49, 0x50, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x53,
  738. 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x6f, 0x72, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52,
  739. 0x0a, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x54,
  740. 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52,
  741. 0x0a, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x54,
  742. 0x61, 0x72, 0x67, 0x65, 0x74, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28,
  743. 0x09, 0x52, 0x0c, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12,
  744. 0x1a, 0x0a, 0x08, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x08, 0x20, 0x01, 0x28,
  745. 0x09, 0x52, 0x08, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x55,
  746. 0x73, 0x65, 0x72, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x55, 0x73, 0x65, 0x72, 0x12,
  747. 0x57, 0x0a, 0x0a, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, 0x0a, 0x20,
  748. 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72,
  749. 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x52, 0x6f,
  750. 0x75, 0x74, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x2e, 0x41, 0x74, 0x74,
  751. 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x41, 0x74,
  752. 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, 0x2c, 0x0a, 0x11, 0x4f, 0x75, 0x74, 0x62,
  753. 0x6f, 0x75, 0x6e, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x54, 0x61, 0x67, 0x73, 0x18, 0x0b, 0x20,
  754. 0x03, 0x28, 0x09, 0x52, 0x11, 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x47, 0x72, 0x6f,
  755. 0x75, 0x70, 0x54, 0x61, 0x67, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75,
  756. 0x6e, 0x64, 0x54, 0x61, 0x67, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x4f, 0x75, 0x74,
  757. 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x54, 0x61, 0x67, 0x1a, 0x3d, 0x0a, 0x0f, 0x41, 0x74, 0x74, 0x72,
  758. 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b,
  759. 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a,
  760. 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61,
  761. 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x46, 0x0a, 0x1c, 0x53, 0x75, 0x62, 0x73, 0x63,
  762. 0x72, 0x69, 0x62, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x73,
  763. 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x46, 0x69, 0x65, 0x6c, 0x64,
  764. 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52,
  765. 0x0e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x73, 0x22,
  766. 0xb1, 0x01, 0x0a, 0x10, 0x54, 0x65, 0x73, 0x74, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71,
  767. 0x75, 0x65, 0x73, 0x74, 0x12, 0x4f, 0x0a, 0x0e, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x43,
  768. 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x78,
  769. 0x72, 0x61, 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2e, 0x63,
  770. 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x43, 0x6f,
  771. 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x0e, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x43, 0x6f,
  772. 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x53, 0x65,
  773. 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0e, 0x46,
  774. 0x69, 0x65, 0x6c, 0x64, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x73, 0x12, 0x24, 0x0a,
  775. 0x0d, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x03,
  776. 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x52, 0x65, 0x73,
  777. 0x75, 0x6c, 0x74, 0x22, 0x27, 0x0a, 0x13, 0x50, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x6c, 0x65,
  778. 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x61,
  779. 0x67, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x03, 0x74, 0x61, 0x67, 0x22, 0x26, 0x0a, 0x0c,
  780. 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x0a, 0x06,
  781. 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x61,
  782. 0x72, 0x67, 0x65, 0x74, 0x22, 0xa9, 0x01, 0x0a, 0x0b, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65,
  783. 0x72, 0x4d, 0x73, 0x67, 0x12, 0x41, 0x0a, 0x08, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65,
  784. 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61, 0x70,
  785. 0x70, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64,
  786. 0x2e, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x6f,
  787. 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x12, 0x57, 0x0a, 0x10, 0x70, 0x72, 0x69, 0x6e, 0x63,
  788. 0x69, 0x70, 0x6c, 0x65, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28,
  789. 0x0b, 0x32, 0x2c, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x6f, 0x75,
  790. 0x74, 0x65, 0x72, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x50, 0x72, 0x69, 0x6e,
  791. 0x63, 0x69, 0x70, 0x6c, 0x65, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52,
  792. 0x0f, 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x6c, 0x65, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74,
  793. 0x22, 0x2a, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x49,
  794. 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x61,
  795. 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x74, 0x61, 0x67, 0x22, 0x5b, 0x0a, 0x17,
  796. 0x47, 0x65, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52,
  797. 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x40, 0x0a, 0x08, 0x62, 0x61, 0x6c, 0x61, 0x6e,
  798. 0x63, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x78, 0x72, 0x61, 0x79,
  799. 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2e, 0x63, 0x6f, 0x6d, 0x6d,
  800. 0x61, 0x6e, 0x64, 0x2e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x4d, 0x73, 0x67, 0x52,
  801. 0x08, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x22, 0x59, 0x0a, 0x1d, 0x4f, 0x76, 0x65,
  802. 0x72, 0x72, 0x69, 0x64, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x54, 0x61, 0x72,
  803. 0x67, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x62, 0x61,
  804. 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x54, 0x61, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
  805. 0x0b, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x54, 0x61, 0x67, 0x12, 0x16, 0x0a, 0x06,
  806. 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x61,
  807. 0x72, 0x67, 0x65, 0x74, 0x22, 0x20, 0x0a, 0x1e, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65,
  808. 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65,
  809. 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x6e, 0x0a, 0x0e, 0x41, 0x64, 0x64, 0x52, 0x75, 0x6c,
  810. 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66,
  811. 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e,
  812. 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x2e, 0x54, 0x79,
  813. 0x70, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66,
  814. 0x69, 0x67, 0x12, 0x22, 0x0a, 0x0c, 0x73, 0x68, 0x6f, 0x75, 0x6c, 0x64, 0x41, 0x70, 0x70, 0x65,
  815. 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x73, 0x68, 0x6f, 0x75, 0x6c, 0x64,
  816. 0x41, 0x70, 0x70, 0x65, 0x6e, 0x64, 0x22, 0x11, 0x0a, 0x0f, 0x41, 0x64, 0x64, 0x52, 0x75, 0x6c,
  817. 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2d, 0x0a, 0x11, 0x52, 0x65, 0x6d,
  818. 0x6f, 0x76, 0x65, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18,
  819. 0x0a, 0x07, 0x72, 0x75, 0x6c, 0x65, 0x54, 0x61, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
  820. 0x07, 0x72, 0x75, 0x6c, 0x65, 0x54, 0x61, 0x67, 0x22, 0x14, 0x0a, 0x12, 0x52, 0x65, 0x6d, 0x6f,
  821. 0x76, 0x65, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x08,
  822. 0x0a, 0x06, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x32, 0xbf, 0x05, 0x0a, 0x0e, 0x52, 0x6f, 0x75,
  823. 0x74, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x7b, 0x0a, 0x15, 0x53,
  824. 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x53,
  825. 0x74, 0x61, 0x74, 0x73, 0x12, 0x35, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e,
  826. 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x53,
  827. 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x53,
  828. 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x78, 0x72,
  829. 0x61, 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2e, 0x63, 0x6f,
  830. 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e,
  831. 0x74, 0x65, 0x78, 0x74, 0x22, 0x00, 0x30, 0x01, 0x12, 0x61, 0x0a, 0x09, 0x54, 0x65, 0x73, 0x74,
  832. 0x52, 0x6f, 0x75, 0x74, 0x65, 0x12, 0x29, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61, 0x70, 0x70,
  833. 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e,
  834. 0x54, 0x65, 0x73, 0x74, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
  835. 0x1a, 0x27, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x6f, 0x75, 0x74,
  836. 0x65, 0x72, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x69,
  837. 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x22, 0x00, 0x12, 0x76, 0x0a, 0x0f, 0x47,
  838. 0x65, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x2f,
  839. 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72,
  840. 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x61, 0x6c, 0x61,
  841. 0x6e, 0x63, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
  842. 0x30, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65,
  843. 0x72, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x61, 0x6c,
  844. 0x61, 0x6e, 0x63, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
  845. 0x65, 0x22, 0x00, 0x12, 0x8b, 0x01, 0x0a, 0x16, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65,
  846. 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x36,
  847. 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72,
  848. 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64,
  849. 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52,
  850. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x37, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61, 0x70,
  851. 0x70, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64,
  852. 0x2e, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65,
  853. 0x72, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
  854. 0x00, 0x12, 0x5e, 0x0a, 0x07, 0x41, 0x64, 0x64, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x27, 0x2e, 0x78,
  855. 0x72, 0x61, 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2e, 0x63,
  856. 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x41, 0x64, 0x64, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x65,
  857. 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61, 0x70, 0x70,
  858. 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e,
  859. 0x41, 0x64, 0x64, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
  860. 0x00, 0x12, 0x67, 0x0a, 0x0a, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x52, 0x75, 0x6c, 0x65, 0x12,
  861. 0x2a, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65,
  862. 0x72, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65,
  863. 0x52, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x78, 0x72,
  864. 0x61, 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2e, 0x63, 0x6f,
  865. 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x52, 0x75, 0x6c, 0x65,
  866. 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x67, 0x0a, 0x1b, 0x63, 0x6f,
  867. 0x6d, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65,
  868. 0x72, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x50, 0x01, 0x5a, 0x2c, 0x67, 0x69, 0x74,
  869. 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x78, 0x74, 0x6c, 0x73, 0x2f, 0x78, 0x72, 0x61,
  870. 0x79, 0x2d, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x61, 0x70, 0x70, 0x2f, 0x72, 0x6f, 0x75, 0x74, 0x65,
  871. 0x72, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0xaa, 0x02, 0x17, 0x58, 0x72, 0x61, 0x79,
  872. 0x2e, 0x41, 0x70, 0x70, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2e, 0x43, 0x6f, 0x6d, 0x6d,
  873. 0x61, 0x6e, 0x64, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  874. }
  875. var (
  876. file_app_router_command_command_proto_rawDescOnce sync.Once
  877. file_app_router_command_command_proto_rawDescData = file_app_router_command_command_proto_rawDesc
  878. )
  879. func file_app_router_command_command_proto_rawDescGZIP() []byte {
  880. file_app_router_command_command_proto_rawDescOnce.Do(func() {
  881. file_app_router_command_command_proto_rawDescData = protoimpl.X.CompressGZIP(file_app_router_command_command_proto_rawDescData)
  882. })
  883. return file_app_router_command_command_proto_rawDescData
  884. }
  885. var file_app_router_command_command_proto_msgTypes = make([]protoimpl.MessageInfo, 16)
  886. var file_app_router_command_command_proto_goTypes = []interface{}{
  887. (*RoutingContext)(nil), // 0: xray.app.router.command.RoutingContext
  888. (*SubscribeRoutingStatsRequest)(nil), // 1: xray.app.router.command.SubscribeRoutingStatsRequest
  889. (*TestRouteRequest)(nil), // 2: xray.app.router.command.TestRouteRequest
  890. (*PrincipleTargetInfo)(nil), // 3: xray.app.router.command.PrincipleTargetInfo
  891. (*OverrideInfo)(nil), // 4: xray.app.router.command.OverrideInfo
  892. (*BalancerMsg)(nil), // 5: xray.app.router.command.BalancerMsg
  893. (*GetBalancerInfoRequest)(nil), // 6: xray.app.router.command.GetBalancerInfoRequest
  894. (*GetBalancerInfoResponse)(nil), // 7: xray.app.router.command.GetBalancerInfoResponse
  895. (*OverrideBalancerTargetRequest)(nil), // 8: xray.app.router.command.OverrideBalancerTargetRequest
  896. (*OverrideBalancerTargetResponse)(nil), // 9: xray.app.router.command.OverrideBalancerTargetResponse
  897. (*AddRuleRequest)(nil), // 10: xray.app.router.command.AddRuleRequest
  898. (*AddRuleResponse)(nil), // 11: xray.app.router.command.AddRuleResponse
  899. (*RemoveRuleRequest)(nil), // 12: xray.app.router.command.RemoveRuleRequest
  900. (*RemoveRuleResponse)(nil), // 13: xray.app.router.command.RemoveRuleResponse
  901. (*Config)(nil), // 14: xray.app.router.command.Config
  902. nil, // 15: xray.app.router.command.RoutingContext.AttributesEntry
  903. (net.Network)(0), // 16: xray.common.net.Network
  904. (*serial.TypedMessage)(nil), // 17: xray.common.serial.TypedMessage
  905. }
  906. var file_app_router_command_command_proto_depIdxs = []int32{
  907. 16, // 0: xray.app.router.command.RoutingContext.Network:type_name -> xray.common.net.Network
  908. 15, // 1: xray.app.router.command.RoutingContext.Attributes:type_name -> xray.app.router.command.RoutingContext.AttributesEntry
  909. 0, // 2: xray.app.router.command.TestRouteRequest.RoutingContext:type_name -> xray.app.router.command.RoutingContext
  910. 4, // 3: xray.app.router.command.BalancerMsg.override:type_name -> xray.app.router.command.OverrideInfo
  911. 3, // 4: xray.app.router.command.BalancerMsg.principle_target:type_name -> xray.app.router.command.PrincipleTargetInfo
  912. 5, // 5: xray.app.router.command.GetBalancerInfoResponse.balancer:type_name -> xray.app.router.command.BalancerMsg
  913. 17, // 6: xray.app.router.command.AddRuleRequest.config:type_name -> xray.common.serial.TypedMessage
  914. 1, // 7: xray.app.router.command.RoutingService.SubscribeRoutingStats:input_type -> xray.app.router.command.SubscribeRoutingStatsRequest
  915. 2, // 8: xray.app.router.command.RoutingService.TestRoute:input_type -> xray.app.router.command.TestRouteRequest
  916. 6, // 9: xray.app.router.command.RoutingService.GetBalancerInfo:input_type -> xray.app.router.command.GetBalancerInfoRequest
  917. 8, // 10: xray.app.router.command.RoutingService.OverrideBalancerTarget:input_type -> xray.app.router.command.OverrideBalancerTargetRequest
  918. 10, // 11: xray.app.router.command.RoutingService.AddRule:input_type -> xray.app.router.command.AddRuleRequest
  919. 12, // 12: xray.app.router.command.RoutingService.RemoveRule:input_type -> xray.app.router.command.RemoveRuleRequest
  920. 0, // 13: xray.app.router.command.RoutingService.SubscribeRoutingStats:output_type -> xray.app.router.command.RoutingContext
  921. 0, // 14: xray.app.router.command.RoutingService.TestRoute:output_type -> xray.app.router.command.RoutingContext
  922. 7, // 15: xray.app.router.command.RoutingService.GetBalancerInfo:output_type -> xray.app.router.command.GetBalancerInfoResponse
  923. 9, // 16: xray.app.router.command.RoutingService.OverrideBalancerTarget:output_type -> xray.app.router.command.OverrideBalancerTargetResponse
  924. 11, // 17: xray.app.router.command.RoutingService.AddRule:output_type -> xray.app.router.command.AddRuleResponse
  925. 13, // 18: xray.app.router.command.RoutingService.RemoveRule:output_type -> xray.app.router.command.RemoveRuleResponse
  926. 13, // [13:19] is the sub-list for method output_type
  927. 7, // [7:13] is the sub-list for method input_type
  928. 7, // [7:7] is the sub-list for extension type_name
  929. 7, // [7:7] is the sub-list for extension extendee
  930. 0, // [0:7] is the sub-list for field type_name
  931. }
  932. func init() { file_app_router_command_command_proto_init() }
  933. func file_app_router_command_command_proto_init() {
  934. if File_app_router_command_command_proto != nil {
  935. return
  936. }
  937. if !protoimpl.UnsafeEnabled {
  938. file_app_router_command_command_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  939. switch v := v.(*RoutingContext); i {
  940. case 0:
  941. return &v.state
  942. case 1:
  943. return &v.sizeCache
  944. case 2:
  945. return &v.unknownFields
  946. default:
  947. return nil
  948. }
  949. }
  950. file_app_router_command_command_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  951. switch v := v.(*SubscribeRoutingStatsRequest); i {
  952. case 0:
  953. return &v.state
  954. case 1:
  955. return &v.sizeCache
  956. case 2:
  957. return &v.unknownFields
  958. default:
  959. return nil
  960. }
  961. }
  962. file_app_router_command_command_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  963. switch v := v.(*TestRouteRequest); i {
  964. case 0:
  965. return &v.state
  966. case 1:
  967. return &v.sizeCache
  968. case 2:
  969. return &v.unknownFields
  970. default:
  971. return nil
  972. }
  973. }
  974. file_app_router_command_command_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  975. switch v := v.(*PrincipleTargetInfo); i {
  976. case 0:
  977. return &v.state
  978. case 1:
  979. return &v.sizeCache
  980. case 2:
  981. return &v.unknownFields
  982. default:
  983. return nil
  984. }
  985. }
  986. file_app_router_command_command_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  987. switch v := v.(*OverrideInfo); i {
  988. case 0:
  989. return &v.state
  990. case 1:
  991. return &v.sizeCache
  992. case 2:
  993. return &v.unknownFields
  994. default:
  995. return nil
  996. }
  997. }
  998. file_app_router_command_command_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  999. switch v := v.(*BalancerMsg); i {
  1000. case 0:
  1001. return &v.state
  1002. case 1:
  1003. return &v.sizeCache
  1004. case 2:
  1005. return &v.unknownFields
  1006. default:
  1007. return nil
  1008. }
  1009. }
  1010. file_app_router_command_command_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  1011. switch v := v.(*GetBalancerInfoRequest); i {
  1012. case 0:
  1013. return &v.state
  1014. case 1:
  1015. return &v.sizeCache
  1016. case 2:
  1017. return &v.unknownFields
  1018. default:
  1019. return nil
  1020. }
  1021. }
  1022. file_app_router_command_command_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  1023. switch v := v.(*GetBalancerInfoResponse); i {
  1024. case 0:
  1025. return &v.state
  1026. case 1:
  1027. return &v.sizeCache
  1028. case 2:
  1029. return &v.unknownFields
  1030. default:
  1031. return nil
  1032. }
  1033. }
  1034. file_app_router_command_command_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  1035. switch v := v.(*OverrideBalancerTargetRequest); i {
  1036. case 0:
  1037. return &v.state
  1038. case 1:
  1039. return &v.sizeCache
  1040. case 2:
  1041. return &v.unknownFields
  1042. default:
  1043. return nil
  1044. }
  1045. }
  1046. file_app_router_command_command_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  1047. switch v := v.(*OverrideBalancerTargetResponse); i {
  1048. case 0:
  1049. return &v.state
  1050. case 1:
  1051. return &v.sizeCache
  1052. case 2:
  1053. return &v.unknownFields
  1054. default:
  1055. return nil
  1056. }
  1057. }
  1058. file_app_router_command_command_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  1059. switch v := v.(*AddRuleRequest); i {
  1060. case 0:
  1061. return &v.state
  1062. case 1:
  1063. return &v.sizeCache
  1064. case 2:
  1065. return &v.unknownFields
  1066. default:
  1067. return nil
  1068. }
  1069. }
  1070. file_app_router_command_command_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
  1071. switch v := v.(*AddRuleResponse); i {
  1072. case 0:
  1073. return &v.state
  1074. case 1:
  1075. return &v.sizeCache
  1076. case 2:
  1077. return &v.unknownFields
  1078. default:
  1079. return nil
  1080. }
  1081. }
  1082. file_app_router_command_command_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
  1083. switch v := v.(*RemoveRuleRequest); i {
  1084. case 0:
  1085. return &v.state
  1086. case 1:
  1087. return &v.sizeCache
  1088. case 2:
  1089. return &v.unknownFields
  1090. default:
  1091. return nil
  1092. }
  1093. }
  1094. file_app_router_command_command_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
  1095. switch v := v.(*RemoveRuleResponse); i {
  1096. case 0:
  1097. return &v.state
  1098. case 1:
  1099. return &v.sizeCache
  1100. case 2:
  1101. return &v.unknownFields
  1102. default:
  1103. return nil
  1104. }
  1105. }
  1106. file_app_router_command_command_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
  1107. switch v := v.(*Config); i {
  1108. case 0:
  1109. return &v.state
  1110. case 1:
  1111. return &v.sizeCache
  1112. case 2:
  1113. return &v.unknownFields
  1114. default:
  1115. return nil
  1116. }
  1117. }
  1118. }
  1119. type x struct{}
  1120. out := protoimpl.TypeBuilder{
  1121. File: protoimpl.DescBuilder{
  1122. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  1123. RawDescriptor: file_app_router_command_command_proto_rawDesc,
  1124. NumEnums: 0,
  1125. NumMessages: 16,
  1126. NumExtensions: 0,
  1127. NumServices: 1,
  1128. },
  1129. GoTypes: file_app_router_command_command_proto_goTypes,
  1130. DependencyIndexes: file_app_router_command_command_proto_depIdxs,
  1131. MessageInfos: file_app_router_command_command_proto_msgTypes,
  1132. }.Build()
  1133. File_app_router_command_command_proto = out.File
  1134. file_app_router_command_command_proto_rawDesc = nil
  1135. file_app_router_command_command_proto_goTypes = nil
  1136. file_app_router_command_command_proto_depIdxs = nil
  1137. }