command.pb.go 37 KB

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