command.pb.go 39 KB

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