command.pb.go 40 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.27.1
  4. // protoc v3.17.3
  5. // source: app/router/command/command.proto
  6. package command
  7. import (
  8. net "github.com/v2fly/v2ray-core/v5/common/net"
  9. _ "github.com/v2fly/v2ray-core/v5/common/protoext"
  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 v2ray.core.features.routing.Context and
  23. // v2ray.core.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=v2ray.core.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 v2ray-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. // * 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, 0x1d, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61,
  573. 0x70, 0x70, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e,
  574. 0x64, 0x1a, 0x20, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x65,
  575. 0x78, 0x74, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72,
  576. 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x6e, 0x65, 0x74, 0x2f,
  577. 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa8, 0x04,
  578. 0x0a, 0x0e, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74,
  579. 0x12, 0x1e, 0x0a, 0x0a, 0x49, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x54, 0x61, 0x67, 0x18, 0x01,
  580. 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x49, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x54, 0x61, 0x67,
  581. 0x12, 0x38, 0x0a, 0x07, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28,
  582. 0x0e, 0x32, 0x1e, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63,
  583. 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x6e, 0x65, 0x74, 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72,
  584. 0x6b, 0x52, 0x07, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x12, 0x1c, 0x0a, 0x09, 0x53, 0x6f,
  585. 0x75, 0x72, 0x63, 0x65, 0x49, 0x50, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x09, 0x53,
  586. 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x50, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x54, 0x61, 0x72, 0x67,
  587. 0x65, 0x74, 0x49, 0x50, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x09, 0x54, 0x61, 0x72,
  588. 0x67, 0x65, 0x74, 0x49, 0x50, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65,
  589. 0x50, 0x6f, 0x72, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x53, 0x6f, 0x75, 0x72,
  590. 0x63, 0x65, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74,
  591. 0x50, 0x6f, 0x72, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x54, 0x61, 0x72, 0x67,
  592. 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74,
  593. 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x54, 0x61,
  594. 0x72, 0x67, 0x65, 0x74, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x50, 0x72,
  595. 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x50, 0x72,
  596. 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x55, 0x73, 0x65, 0x72, 0x18, 0x09,
  597. 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x55, 0x73, 0x65, 0x72, 0x12, 0x5d, 0x0a, 0x0a, 0x41, 0x74,
  598. 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3d,
  599. 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e,
  600. 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x52,
  601. 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x2e, 0x41, 0x74,
  602. 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x41,
  603. 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, 0x2c, 0x0a, 0x11, 0x4f, 0x75, 0x74,
  604. 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x54, 0x61, 0x67, 0x73, 0x18, 0x0b,
  605. 0x20, 0x03, 0x28, 0x09, 0x52, 0x11, 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x47, 0x72,
  606. 0x6f, 0x75, 0x70, 0x54, 0x61, 0x67, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x4f, 0x75, 0x74, 0x62, 0x6f,
  607. 0x75, 0x6e, 0x64, 0x54, 0x61, 0x67, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x4f, 0x75,
  608. 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x54, 0x61, 0x67, 0x1a, 0x3d, 0x0a, 0x0f, 0x41, 0x74, 0x74,
  609. 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03,
  610. 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14,
  611. 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76,
  612. 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x46, 0x0a, 0x1c, 0x53, 0x75, 0x62, 0x73,
  613. 0x63, 0x72, 0x69, 0x62, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74,
  614. 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x46, 0x69, 0x65, 0x6c,
  615. 0x64, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09,
  616. 0x52, 0x0e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x73,
  617. 0x22, 0xb7, 0x01, 0x0a, 0x10, 0x54, 0x65, 0x73, 0x74, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x65,
  618. 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x55, 0x0a, 0x0e, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67,
  619. 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e,
  620. 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72,
  621. 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x52, 0x6f,
  622. 0x75, 0x74, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x0e, 0x52, 0x6f,
  623. 0x75, 0x74, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x26, 0x0a, 0x0e,
  624. 0x46, 0x69, 0x65, 0x6c, 0x64, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x73, 0x18, 0x02,
  625. 0x20, 0x03, 0x28, 0x09, 0x52, 0x0e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x53, 0x65, 0x6c, 0x65, 0x63,
  626. 0x74, 0x6f, 0x72, 0x73, 0x12, 0x24, 0x0a, 0x0d, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x52,
  627. 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x50, 0x75, 0x62,
  628. 0x6c, 0x69, 0x73, 0x68, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x27, 0x0a, 0x13, 0x50, 0x72,
  629. 0x69, 0x6e, 0x63, 0x69, 0x70, 0x6c, 0x65, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x49, 0x6e, 0x66,
  630. 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x61, 0x67, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x03,
  631. 0x74, 0x61, 0x67, 0x22, 0x26, 0x0a, 0x0c, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x49,
  632. 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x02, 0x20,
  633. 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x22, 0xb5, 0x01, 0x0a, 0x0b,
  634. 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x4d, 0x73, 0x67, 0x12, 0x47, 0x0a, 0x08, 0x6f,
  635. 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e,
  636. 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72,
  637. 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x4f, 0x76,
  638. 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x6f, 0x76, 0x65, 0x72,
  639. 0x72, 0x69, 0x64, 0x65, 0x12, 0x5d, 0x0a, 0x10, 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x6c,
  640. 0x65, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32,
  641. 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e,
  642. 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x50,
  643. 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x6c, 0x65, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x49, 0x6e,
  644. 0x66, 0x6f, 0x52, 0x0f, 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x6c, 0x65, 0x54, 0x61, 0x72,
  645. 0x67, 0x65, 0x74, 0x22, 0x2a, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63,
  646. 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a,
  647. 0x03, 0x74, 0x61, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x74, 0x61, 0x67, 0x22,
  648. 0x61, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x49, 0x6e,
  649. 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x46, 0x0a, 0x08, 0x62, 0x61,
  650. 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x76,
  651. 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x6f,
  652. 0x75, 0x74, 0x65, 0x72, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x42, 0x61, 0x6c,
  653. 0x61, 0x6e, 0x63, 0x65, 0x72, 0x4d, 0x73, 0x67, 0x52, 0x08, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63,
  654. 0x65, 0x72, 0x22, 0x59, 0x0a, 0x1d, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x42, 0x61,
  655. 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75,
  656. 0x65, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x54,
  657. 0x61, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63,
  658. 0x65, 0x72, 0x54, 0x61, 0x67, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18,
  659. 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x22, 0x20, 0x0a,
  660. 0x1e, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65,
  661. 0x72, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
  662. 0x27, 0x0a, 0x06, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x3a, 0x1d, 0x82, 0xb5, 0x18, 0x0d, 0x0a,
  663. 0x0b, 0x67, 0x72, 0x70, 0x63, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x82, 0xb5, 0x18, 0x08,
  664. 0x12, 0x06, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x32, 0xa8, 0x04, 0x0a, 0x0e, 0x52, 0x6f, 0x75,
  665. 0x74, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x87, 0x01, 0x0a, 0x15,
  666. 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67,
  667. 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x3b, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f,
  668. 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2e, 0x63, 0x6f,
  669. 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x52,
  670. 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
  671. 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e,
  672. 0x61, 0x70, 0x70, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61,
  673. 0x6e, 0x64, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78,
  674. 0x74, 0x22, 0x00, 0x30, 0x01, 0x12, 0x6d, 0x0a, 0x09, 0x54, 0x65, 0x73, 0x74, 0x52, 0x6f, 0x75,
  675. 0x74, 0x65, 0x12, 0x2f, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e,
  676. 0x61, 0x70, 0x70, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61,
  677. 0x6e, 0x64, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75,
  678. 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65,
  679. 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2e, 0x63, 0x6f, 0x6d, 0x6d,
  680. 0x61, 0x6e, 0x64, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x74, 0x65,
  681. 0x78, 0x74, 0x22, 0x00, 0x12, 0x82, 0x01, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x42, 0x61, 0x6c, 0x61,
  682. 0x6e, 0x63, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x35, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79,
  683. 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72,
  684. 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x61, 0x6c, 0x61,
  685. 0x6e, 0x63, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
  686. 0x36, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70,
  687. 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e,
  688. 0x47, 0x65, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52,
  689. 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x97, 0x01, 0x0a, 0x16, 0x4f, 0x76,
  690. 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x54, 0x61,
  691. 0x72, 0x67, 0x65, 0x74, 0x12, 0x3c, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72,
  692. 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2e, 0x63, 0x6f, 0x6d,
  693. 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x42, 0x61, 0x6c,
  694. 0x61, 0x6e, 0x63, 0x65, 0x72, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65,
  695. 0x73, 0x74, 0x1a, 0x3d, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e,
  696. 0x61, 0x70, 0x70, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61,
  697. 0x6e, 0x64, 0x2e, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e,
  698. 0x63, 0x65, 0x72, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
  699. 0x65, 0x22, 0x00, 0x42, 0x78, 0x0a, 0x21, 0x63, 0x6f, 0x6d, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79,
  700. 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72,
  701. 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x50, 0x01, 0x5a, 0x31, 0x67, 0x69, 0x74, 0x68,
  702. 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x76, 0x32, 0x66, 0x6c, 0x79, 0x2f, 0x76, 0x32, 0x72,
  703. 0x61, 0x79, 0x2d, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x35, 0x2f, 0x61, 0x70, 0x70, 0x2f, 0x72,
  704. 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0xaa, 0x02, 0x1d,
  705. 0x56, 0x32, 0x52, 0x61, 0x79, 0x2e, 0x43, 0x6f, 0x72, 0x65, 0x2e, 0x41, 0x70, 0x70, 0x2e, 0x52,
  706. 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x62, 0x06, 0x70,
  707. 0x72, 0x6f, 0x74, 0x6f, 0x33,
  708. }
  709. var (
  710. file_app_router_command_command_proto_rawDescOnce sync.Once
  711. file_app_router_command_command_proto_rawDescData = file_app_router_command_command_proto_rawDesc
  712. )
  713. func file_app_router_command_command_proto_rawDescGZIP() []byte {
  714. file_app_router_command_command_proto_rawDescOnce.Do(func() {
  715. file_app_router_command_command_proto_rawDescData = protoimpl.X.CompressGZIP(file_app_router_command_command_proto_rawDescData)
  716. })
  717. return file_app_router_command_command_proto_rawDescData
  718. }
  719. var file_app_router_command_command_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
  720. var file_app_router_command_command_proto_goTypes = []interface{}{
  721. (*RoutingContext)(nil), // 0: v2ray.core.app.router.command.RoutingContext
  722. (*SubscribeRoutingStatsRequest)(nil), // 1: v2ray.core.app.router.command.SubscribeRoutingStatsRequest
  723. (*TestRouteRequest)(nil), // 2: v2ray.core.app.router.command.TestRouteRequest
  724. (*PrincipleTargetInfo)(nil), // 3: v2ray.core.app.router.command.PrincipleTargetInfo
  725. (*OverrideInfo)(nil), // 4: v2ray.core.app.router.command.OverrideInfo
  726. (*BalancerMsg)(nil), // 5: v2ray.core.app.router.command.BalancerMsg
  727. (*GetBalancerInfoRequest)(nil), // 6: v2ray.core.app.router.command.GetBalancerInfoRequest
  728. (*GetBalancerInfoResponse)(nil), // 7: v2ray.core.app.router.command.GetBalancerInfoResponse
  729. (*OverrideBalancerTargetRequest)(nil), // 8: v2ray.core.app.router.command.OverrideBalancerTargetRequest
  730. (*OverrideBalancerTargetResponse)(nil), // 9: v2ray.core.app.router.command.OverrideBalancerTargetResponse
  731. (*Config)(nil), // 10: v2ray.core.app.router.command.Config
  732. nil, // 11: v2ray.core.app.router.command.RoutingContext.AttributesEntry
  733. (net.Network)(0), // 12: v2ray.core.common.net.Network
  734. }
  735. var file_app_router_command_command_proto_depIdxs = []int32{
  736. 12, // 0: v2ray.core.app.router.command.RoutingContext.Network:type_name -> v2ray.core.common.net.Network
  737. 11, // 1: v2ray.core.app.router.command.RoutingContext.Attributes:type_name -> v2ray.core.app.router.command.RoutingContext.AttributesEntry
  738. 0, // 2: v2ray.core.app.router.command.TestRouteRequest.RoutingContext:type_name -> v2ray.core.app.router.command.RoutingContext
  739. 4, // 3: v2ray.core.app.router.command.BalancerMsg.override:type_name -> v2ray.core.app.router.command.OverrideInfo
  740. 3, // 4: v2ray.core.app.router.command.BalancerMsg.principle_target:type_name -> v2ray.core.app.router.command.PrincipleTargetInfo
  741. 5, // 5: v2ray.core.app.router.command.GetBalancerInfoResponse.balancer:type_name -> v2ray.core.app.router.command.BalancerMsg
  742. 1, // 6: v2ray.core.app.router.command.RoutingService.SubscribeRoutingStats:input_type -> v2ray.core.app.router.command.SubscribeRoutingStatsRequest
  743. 2, // 7: v2ray.core.app.router.command.RoutingService.TestRoute:input_type -> v2ray.core.app.router.command.TestRouteRequest
  744. 6, // 8: v2ray.core.app.router.command.RoutingService.GetBalancerInfo:input_type -> v2ray.core.app.router.command.GetBalancerInfoRequest
  745. 8, // 9: v2ray.core.app.router.command.RoutingService.OverrideBalancerTarget:input_type -> v2ray.core.app.router.command.OverrideBalancerTargetRequest
  746. 0, // 10: v2ray.core.app.router.command.RoutingService.SubscribeRoutingStats:output_type -> v2ray.core.app.router.command.RoutingContext
  747. 0, // 11: v2ray.core.app.router.command.RoutingService.TestRoute:output_type -> v2ray.core.app.router.command.RoutingContext
  748. 7, // 12: v2ray.core.app.router.command.RoutingService.GetBalancerInfo:output_type -> v2ray.core.app.router.command.GetBalancerInfoResponse
  749. 9, // 13: v2ray.core.app.router.command.RoutingService.OverrideBalancerTarget:output_type -> v2ray.core.app.router.command.OverrideBalancerTargetResponse
  750. 10, // [10:14] is the sub-list for method output_type
  751. 6, // [6:10] is the sub-list for method input_type
  752. 6, // [6:6] is the sub-list for extension type_name
  753. 6, // [6:6] is the sub-list for extension extendee
  754. 0, // [0:6] is the sub-list for field type_name
  755. }
  756. func init() { file_app_router_command_command_proto_init() }
  757. func file_app_router_command_command_proto_init() {
  758. if File_app_router_command_command_proto != nil {
  759. return
  760. }
  761. if !protoimpl.UnsafeEnabled {
  762. file_app_router_command_command_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  763. switch v := v.(*RoutingContext); i {
  764. case 0:
  765. return &v.state
  766. case 1:
  767. return &v.sizeCache
  768. case 2:
  769. return &v.unknownFields
  770. default:
  771. return nil
  772. }
  773. }
  774. file_app_router_command_command_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  775. switch v := v.(*SubscribeRoutingStatsRequest); i {
  776. case 0:
  777. return &v.state
  778. case 1:
  779. return &v.sizeCache
  780. case 2:
  781. return &v.unknownFields
  782. default:
  783. return nil
  784. }
  785. }
  786. file_app_router_command_command_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  787. switch v := v.(*TestRouteRequest); i {
  788. case 0:
  789. return &v.state
  790. case 1:
  791. return &v.sizeCache
  792. case 2:
  793. return &v.unknownFields
  794. default:
  795. return nil
  796. }
  797. }
  798. file_app_router_command_command_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  799. switch v := v.(*PrincipleTargetInfo); i {
  800. case 0:
  801. return &v.state
  802. case 1:
  803. return &v.sizeCache
  804. case 2:
  805. return &v.unknownFields
  806. default:
  807. return nil
  808. }
  809. }
  810. file_app_router_command_command_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  811. switch v := v.(*OverrideInfo); i {
  812. case 0:
  813. return &v.state
  814. case 1:
  815. return &v.sizeCache
  816. case 2:
  817. return &v.unknownFields
  818. default:
  819. return nil
  820. }
  821. }
  822. file_app_router_command_command_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  823. switch v := v.(*BalancerMsg); i {
  824. case 0:
  825. return &v.state
  826. case 1:
  827. return &v.sizeCache
  828. case 2:
  829. return &v.unknownFields
  830. default:
  831. return nil
  832. }
  833. }
  834. file_app_router_command_command_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  835. switch v := v.(*GetBalancerInfoRequest); i {
  836. case 0:
  837. return &v.state
  838. case 1:
  839. return &v.sizeCache
  840. case 2:
  841. return &v.unknownFields
  842. default:
  843. return nil
  844. }
  845. }
  846. file_app_router_command_command_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  847. switch v := v.(*GetBalancerInfoResponse); i {
  848. case 0:
  849. return &v.state
  850. case 1:
  851. return &v.sizeCache
  852. case 2:
  853. return &v.unknownFields
  854. default:
  855. return nil
  856. }
  857. }
  858. file_app_router_command_command_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  859. switch v := v.(*OverrideBalancerTargetRequest); i {
  860. case 0:
  861. return &v.state
  862. case 1:
  863. return &v.sizeCache
  864. case 2:
  865. return &v.unknownFields
  866. default:
  867. return nil
  868. }
  869. }
  870. file_app_router_command_command_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  871. switch v := v.(*OverrideBalancerTargetResponse); i {
  872. case 0:
  873. return &v.state
  874. case 1:
  875. return &v.sizeCache
  876. case 2:
  877. return &v.unknownFields
  878. default:
  879. return nil
  880. }
  881. }
  882. file_app_router_command_command_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  883. switch v := v.(*Config); i {
  884. case 0:
  885. return &v.state
  886. case 1:
  887. return &v.sizeCache
  888. case 2:
  889. return &v.unknownFields
  890. default:
  891. return nil
  892. }
  893. }
  894. }
  895. type x struct{}
  896. out := protoimpl.TypeBuilder{
  897. File: protoimpl.DescBuilder{
  898. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  899. RawDescriptor: file_app_router_command_command_proto_rawDesc,
  900. NumEnums: 0,
  901. NumMessages: 12,
  902. NumExtensions: 0,
  903. NumServices: 1,
  904. },
  905. GoTypes: file_app_router_command_command_proto_goTypes,
  906. DependencyIndexes: file_app_router_command_command_proto_depIdxs,
  907. MessageInfos: file_app_router_command_command_proto_msgTypes,
  908. }.Build()
  909. File_app_router_command_command_proto = out.File
  910. file_app_router_command_command_proto_rawDesc = nil
  911. file_app_router_command_command_proto_goTypes = nil
  912. file_app_router_command_command_proto_depIdxs = nil
  913. }