command.pb.go 47 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212
  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/v4/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 v2ray.core.features.routing.Context and
  22. // v2ray.core.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=v2ray.core.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 v2ray-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. // * If FieldSelectors is left empty, all fields will be returned.
  156. type SubscribeRoutingStatsRequest struct {
  157. state protoimpl.MessageState
  158. sizeCache protoimpl.SizeCache
  159. unknownFields protoimpl.UnknownFields
  160. FieldSelectors []string `protobuf:"bytes,1,rep,name=FieldSelectors,proto3" json:"FieldSelectors,omitempty"`
  161. }
  162. func (x *SubscribeRoutingStatsRequest) Reset() {
  163. *x = SubscribeRoutingStatsRequest{}
  164. if protoimpl.UnsafeEnabled {
  165. mi := &file_app_router_command_command_proto_msgTypes[1]
  166. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  167. ms.StoreMessageInfo(mi)
  168. }
  169. }
  170. func (x *SubscribeRoutingStatsRequest) String() string {
  171. return protoimpl.X.MessageStringOf(x)
  172. }
  173. func (*SubscribeRoutingStatsRequest) ProtoMessage() {}
  174. func (x *SubscribeRoutingStatsRequest) ProtoReflect() protoreflect.Message {
  175. mi := &file_app_router_command_command_proto_msgTypes[1]
  176. if protoimpl.UnsafeEnabled && x != nil {
  177. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  178. if ms.LoadMessageInfo() == nil {
  179. ms.StoreMessageInfo(mi)
  180. }
  181. return ms
  182. }
  183. return mi.MessageOf(x)
  184. }
  185. // Deprecated: Use SubscribeRoutingStatsRequest.ProtoReflect.Descriptor instead.
  186. func (*SubscribeRoutingStatsRequest) Descriptor() ([]byte, []int) {
  187. return file_app_router_command_command_proto_rawDescGZIP(), []int{1}
  188. }
  189. func (x *SubscribeRoutingStatsRequest) GetFieldSelectors() []string {
  190. if x != nil {
  191. return x.FieldSelectors
  192. }
  193. return nil
  194. }
  195. // TestRouteRequest manually tests a routing result according to the routing
  196. // context message.
  197. // * RoutingContext is the routing message without outbound information.
  198. // * FieldSelectors selects the fields to return in the routing result. All
  199. // fields are returned if left empty.
  200. // * PublishResult broadcasts the routing result to routing statistics channel
  201. // if set true.
  202. type TestRouteRequest struct {
  203. state protoimpl.MessageState
  204. sizeCache protoimpl.SizeCache
  205. unknownFields protoimpl.UnknownFields
  206. RoutingContext *RoutingContext `protobuf:"bytes,1,opt,name=RoutingContext,proto3" json:"RoutingContext,omitempty"`
  207. FieldSelectors []string `protobuf:"bytes,2,rep,name=FieldSelectors,proto3" json:"FieldSelectors,omitempty"`
  208. PublishResult bool `protobuf:"varint,3,opt,name=PublishResult,proto3" json:"PublishResult,omitempty"`
  209. }
  210. func (x *TestRouteRequest) Reset() {
  211. *x = TestRouteRequest{}
  212. if protoimpl.UnsafeEnabled {
  213. mi := &file_app_router_command_command_proto_msgTypes[2]
  214. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  215. ms.StoreMessageInfo(mi)
  216. }
  217. }
  218. func (x *TestRouteRequest) String() string {
  219. return protoimpl.X.MessageStringOf(x)
  220. }
  221. func (*TestRouteRequest) ProtoMessage() {}
  222. func (x *TestRouteRequest) ProtoReflect() protoreflect.Message {
  223. mi := &file_app_router_command_command_proto_msgTypes[2]
  224. if protoimpl.UnsafeEnabled && x != nil {
  225. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  226. if ms.LoadMessageInfo() == nil {
  227. ms.StoreMessageInfo(mi)
  228. }
  229. return ms
  230. }
  231. return mi.MessageOf(x)
  232. }
  233. // Deprecated: Use TestRouteRequest.ProtoReflect.Descriptor instead.
  234. func (*TestRouteRequest) Descriptor() ([]byte, []int) {
  235. return file_app_router_command_command_proto_rawDescGZIP(), []int{2}
  236. }
  237. func (x *TestRouteRequest) GetRoutingContext() *RoutingContext {
  238. if x != nil {
  239. return x.RoutingContext
  240. }
  241. return nil
  242. }
  243. func (x *TestRouteRequest) GetFieldSelectors() []string {
  244. if x != nil {
  245. return x.FieldSelectors
  246. }
  247. return nil
  248. }
  249. func (x *TestRouteRequest) GetPublishResult() bool {
  250. if x != nil {
  251. return x.PublishResult
  252. }
  253. return false
  254. }
  255. type GetBalancersRequest struct {
  256. state protoimpl.MessageState
  257. sizeCache protoimpl.SizeCache
  258. unknownFields protoimpl.UnknownFields
  259. BalancerTags []string `protobuf:"bytes,1,rep,name=balancerTags,proto3" json:"balancerTags,omitempty"`
  260. }
  261. func (x *GetBalancersRequest) Reset() {
  262. *x = GetBalancersRequest{}
  263. if protoimpl.UnsafeEnabled {
  264. mi := &file_app_router_command_command_proto_msgTypes[3]
  265. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  266. ms.StoreMessageInfo(mi)
  267. }
  268. }
  269. func (x *GetBalancersRequest) String() string {
  270. return protoimpl.X.MessageStringOf(x)
  271. }
  272. func (*GetBalancersRequest) ProtoMessage() {}
  273. func (x *GetBalancersRequest) ProtoReflect() protoreflect.Message {
  274. mi := &file_app_router_command_command_proto_msgTypes[3]
  275. if protoimpl.UnsafeEnabled && x != nil {
  276. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  277. if ms.LoadMessageInfo() == nil {
  278. ms.StoreMessageInfo(mi)
  279. }
  280. return ms
  281. }
  282. return mi.MessageOf(x)
  283. }
  284. // Deprecated: Use GetBalancersRequest.ProtoReflect.Descriptor instead.
  285. func (*GetBalancersRequest) Descriptor() ([]byte, []int) {
  286. return file_app_router_command_command_proto_rawDescGZIP(), []int{3}
  287. }
  288. func (x *GetBalancersRequest) GetBalancerTags() []string {
  289. if x != nil {
  290. return x.BalancerTags
  291. }
  292. return nil
  293. }
  294. type OutboundMsg struct {
  295. state protoimpl.MessageState
  296. sizeCache protoimpl.SizeCache
  297. unknownFields protoimpl.UnknownFields
  298. Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
  299. Values []string `protobuf:"bytes,2,rep,name=values,proto3" json:"values,omitempty"`
  300. }
  301. func (x *OutboundMsg) Reset() {
  302. *x = OutboundMsg{}
  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 *OutboundMsg) String() string {
  310. return protoimpl.X.MessageStringOf(x)
  311. }
  312. func (*OutboundMsg) ProtoMessage() {}
  313. func (x *OutboundMsg) 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 OutboundMsg.ProtoReflect.Descriptor instead.
  325. func (*OutboundMsg) Descriptor() ([]byte, []int) {
  326. return file_app_router_command_command_proto_rawDescGZIP(), []int{4}
  327. }
  328. func (x *OutboundMsg) GetTag() string {
  329. if x != nil {
  330. return x.Tag
  331. }
  332. return ""
  333. }
  334. func (x *OutboundMsg) GetValues() []string {
  335. if x != nil {
  336. return x.Values
  337. }
  338. return nil
  339. }
  340. type OverrideSelectingMsg struct {
  341. state protoimpl.MessageState
  342. sizeCache protoimpl.SizeCache
  343. unknownFields protoimpl.UnknownFields
  344. Until string `protobuf:"bytes,1,opt,name=until,proto3" json:"until,omitempty"`
  345. Selects []string `protobuf:"bytes,2,rep,name=selects,proto3" json:"selects,omitempty"`
  346. }
  347. func (x *OverrideSelectingMsg) Reset() {
  348. *x = OverrideSelectingMsg{}
  349. if protoimpl.UnsafeEnabled {
  350. mi := &file_app_router_command_command_proto_msgTypes[5]
  351. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  352. ms.StoreMessageInfo(mi)
  353. }
  354. }
  355. func (x *OverrideSelectingMsg) String() string {
  356. return protoimpl.X.MessageStringOf(x)
  357. }
  358. func (*OverrideSelectingMsg) ProtoMessage() {}
  359. func (x *OverrideSelectingMsg) ProtoReflect() protoreflect.Message {
  360. mi := &file_app_router_command_command_proto_msgTypes[5]
  361. if protoimpl.UnsafeEnabled && x != nil {
  362. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  363. if ms.LoadMessageInfo() == nil {
  364. ms.StoreMessageInfo(mi)
  365. }
  366. return ms
  367. }
  368. return mi.MessageOf(x)
  369. }
  370. // Deprecated: Use OverrideSelectingMsg.ProtoReflect.Descriptor instead.
  371. func (*OverrideSelectingMsg) Descriptor() ([]byte, []int) {
  372. return file_app_router_command_command_proto_rawDescGZIP(), []int{5}
  373. }
  374. func (x *OverrideSelectingMsg) GetUntil() string {
  375. if x != nil {
  376. return x.Until
  377. }
  378. return ""
  379. }
  380. func (x *OverrideSelectingMsg) GetSelects() []string {
  381. if x != nil {
  382. return x.Selects
  383. }
  384. return nil
  385. }
  386. type BalancerMsg struct {
  387. state protoimpl.MessageState
  388. sizeCache protoimpl.SizeCache
  389. unknownFields protoimpl.UnknownFields
  390. Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
  391. StrategySettings []string `protobuf:"bytes,2,rep,name=strategySettings,proto3" json:"strategySettings,omitempty"`
  392. Titles []string `protobuf:"bytes,4,rep,name=titles,proto3" json:"titles,omitempty"`
  393. Override *OverrideSelectingMsg `protobuf:"bytes,5,opt,name=override,proto3" json:"override,omitempty"`
  394. Selects []*OutboundMsg `protobuf:"bytes,6,rep,name=selects,proto3" json:"selects,omitempty"`
  395. Others []*OutboundMsg `protobuf:"bytes,7,rep,name=others,proto3" json:"others,omitempty"`
  396. }
  397. func (x *BalancerMsg) Reset() {
  398. *x = BalancerMsg{}
  399. if protoimpl.UnsafeEnabled {
  400. mi := &file_app_router_command_command_proto_msgTypes[6]
  401. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  402. ms.StoreMessageInfo(mi)
  403. }
  404. }
  405. func (x *BalancerMsg) String() string {
  406. return protoimpl.X.MessageStringOf(x)
  407. }
  408. func (*BalancerMsg) ProtoMessage() {}
  409. func (x *BalancerMsg) ProtoReflect() protoreflect.Message {
  410. mi := &file_app_router_command_command_proto_msgTypes[6]
  411. if protoimpl.UnsafeEnabled && x != nil {
  412. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  413. if ms.LoadMessageInfo() == nil {
  414. ms.StoreMessageInfo(mi)
  415. }
  416. return ms
  417. }
  418. return mi.MessageOf(x)
  419. }
  420. // Deprecated: Use BalancerMsg.ProtoReflect.Descriptor instead.
  421. func (*BalancerMsg) Descriptor() ([]byte, []int) {
  422. return file_app_router_command_command_proto_rawDescGZIP(), []int{6}
  423. }
  424. func (x *BalancerMsg) GetTag() string {
  425. if x != nil {
  426. return x.Tag
  427. }
  428. return ""
  429. }
  430. func (x *BalancerMsg) GetStrategySettings() []string {
  431. if x != nil {
  432. return x.StrategySettings
  433. }
  434. return nil
  435. }
  436. func (x *BalancerMsg) GetTitles() []string {
  437. if x != nil {
  438. return x.Titles
  439. }
  440. return nil
  441. }
  442. func (x *BalancerMsg) GetOverride() *OverrideSelectingMsg {
  443. if x != nil {
  444. return x.Override
  445. }
  446. return nil
  447. }
  448. func (x *BalancerMsg) GetSelects() []*OutboundMsg {
  449. if x != nil {
  450. return x.Selects
  451. }
  452. return nil
  453. }
  454. func (x *BalancerMsg) GetOthers() []*OutboundMsg {
  455. if x != nil {
  456. return x.Others
  457. }
  458. return nil
  459. }
  460. type GetBalancersResponse struct {
  461. state protoimpl.MessageState
  462. sizeCache protoimpl.SizeCache
  463. unknownFields protoimpl.UnknownFields
  464. Balancers []*BalancerMsg `protobuf:"bytes,1,rep,name=balancers,proto3" json:"balancers,omitempty"`
  465. }
  466. func (x *GetBalancersResponse) Reset() {
  467. *x = GetBalancersResponse{}
  468. if protoimpl.UnsafeEnabled {
  469. mi := &file_app_router_command_command_proto_msgTypes[7]
  470. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  471. ms.StoreMessageInfo(mi)
  472. }
  473. }
  474. func (x *GetBalancersResponse) String() string {
  475. return protoimpl.X.MessageStringOf(x)
  476. }
  477. func (*GetBalancersResponse) ProtoMessage() {}
  478. func (x *GetBalancersResponse) ProtoReflect() protoreflect.Message {
  479. mi := &file_app_router_command_command_proto_msgTypes[7]
  480. if protoimpl.UnsafeEnabled && x != nil {
  481. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  482. if ms.LoadMessageInfo() == nil {
  483. ms.StoreMessageInfo(mi)
  484. }
  485. return ms
  486. }
  487. return mi.MessageOf(x)
  488. }
  489. // Deprecated: Use GetBalancersResponse.ProtoReflect.Descriptor instead.
  490. func (*GetBalancersResponse) Descriptor() ([]byte, []int) {
  491. return file_app_router_command_command_proto_rawDescGZIP(), []int{7}
  492. }
  493. func (x *GetBalancersResponse) GetBalancers() []*BalancerMsg {
  494. if x != nil {
  495. return x.Balancers
  496. }
  497. return nil
  498. }
  499. type CheckBalancersRequest struct {
  500. state protoimpl.MessageState
  501. sizeCache protoimpl.SizeCache
  502. unknownFields protoimpl.UnknownFields
  503. BalancerTags []string `protobuf:"bytes,1,rep,name=balancerTags,proto3" json:"balancerTags,omitempty"`
  504. }
  505. func (x *CheckBalancersRequest) Reset() {
  506. *x = CheckBalancersRequest{}
  507. if protoimpl.UnsafeEnabled {
  508. mi := &file_app_router_command_command_proto_msgTypes[8]
  509. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  510. ms.StoreMessageInfo(mi)
  511. }
  512. }
  513. func (x *CheckBalancersRequest) String() string {
  514. return protoimpl.X.MessageStringOf(x)
  515. }
  516. func (*CheckBalancersRequest) ProtoMessage() {}
  517. func (x *CheckBalancersRequest) ProtoReflect() protoreflect.Message {
  518. mi := &file_app_router_command_command_proto_msgTypes[8]
  519. if protoimpl.UnsafeEnabled && x != nil {
  520. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  521. if ms.LoadMessageInfo() == nil {
  522. ms.StoreMessageInfo(mi)
  523. }
  524. return ms
  525. }
  526. return mi.MessageOf(x)
  527. }
  528. // Deprecated: Use CheckBalancersRequest.ProtoReflect.Descriptor instead.
  529. func (*CheckBalancersRequest) Descriptor() ([]byte, []int) {
  530. return file_app_router_command_command_proto_rawDescGZIP(), []int{8}
  531. }
  532. func (x *CheckBalancersRequest) GetBalancerTags() []string {
  533. if x != nil {
  534. return x.BalancerTags
  535. }
  536. return nil
  537. }
  538. type CheckBalancersResponse struct {
  539. state protoimpl.MessageState
  540. sizeCache protoimpl.SizeCache
  541. unknownFields protoimpl.UnknownFields
  542. }
  543. func (x *CheckBalancersResponse) Reset() {
  544. *x = CheckBalancersResponse{}
  545. if protoimpl.UnsafeEnabled {
  546. mi := &file_app_router_command_command_proto_msgTypes[9]
  547. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  548. ms.StoreMessageInfo(mi)
  549. }
  550. }
  551. func (x *CheckBalancersResponse) String() string {
  552. return protoimpl.X.MessageStringOf(x)
  553. }
  554. func (*CheckBalancersResponse) ProtoMessage() {}
  555. func (x *CheckBalancersResponse) ProtoReflect() protoreflect.Message {
  556. mi := &file_app_router_command_command_proto_msgTypes[9]
  557. if protoimpl.UnsafeEnabled && x != nil {
  558. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  559. if ms.LoadMessageInfo() == nil {
  560. ms.StoreMessageInfo(mi)
  561. }
  562. return ms
  563. }
  564. return mi.MessageOf(x)
  565. }
  566. // Deprecated: Use CheckBalancersResponse.ProtoReflect.Descriptor instead.
  567. func (*CheckBalancersResponse) Descriptor() ([]byte, []int) {
  568. return file_app_router_command_command_proto_rawDescGZIP(), []int{9}
  569. }
  570. type OverrideSelectingRequest struct {
  571. state protoimpl.MessageState
  572. sizeCache protoimpl.SizeCache
  573. unknownFields protoimpl.UnknownFields
  574. BalancerTag string `protobuf:"bytes,1,opt,name=balancerTag,proto3" json:"balancerTag,omitempty"`
  575. Selectors []string `protobuf:"bytes,2,rep,name=selectors,proto3" json:"selectors,omitempty"`
  576. Validity int64 `protobuf:"varint,3,opt,name=validity,proto3" json:"validity,omitempty"`
  577. }
  578. func (x *OverrideSelectingRequest) Reset() {
  579. *x = OverrideSelectingRequest{}
  580. if protoimpl.UnsafeEnabled {
  581. mi := &file_app_router_command_command_proto_msgTypes[10]
  582. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  583. ms.StoreMessageInfo(mi)
  584. }
  585. }
  586. func (x *OverrideSelectingRequest) String() string {
  587. return protoimpl.X.MessageStringOf(x)
  588. }
  589. func (*OverrideSelectingRequest) ProtoMessage() {}
  590. func (x *OverrideSelectingRequest) ProtoReflect() protoreflect.Message {
  591. mi := &file_app_router_command_command_proto_msgTypes[10]
  592. if protoimpl.UnsafeEnabled && x != nil {
  593. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  594. if ms.LoadMessageInfo() == nil {
  595. ms.StoreMessageInfo(mi)
  596. }
  597. return ms
  598. }
  599. return mi.MessageOf(x)
  600. }
  601. // Deprecated: Use OverrideSelectingRequest.ProtoReflect.Descriptor instead.
  602. func (*OverrideSelectingRequest) Descriptor() ([]byte, []int) {
  603. return file_app_router_command_command_proto_rawDescGZIP(), []int{10}
  604. }
  605. func (x *OverrideSelectingRequest) GetBalancerTag() string {
  606. if x != nil {
  607. return x.BalancerTag
  608. }
  609. return ""
  610. }
  611. func (x *OverrideSelectingRequest) GetSelectors() []string {
  612. if x != nil {
  613. return x.Selectors
  614. }
  615. return nil
  616. }
  617. func (x *OverrideSelectingRequest) GetValidity() int64 {
  618. if x != nil {
  619. return x.Validity
  620. }
  621. return 0
  622. }
  623. type OverrideSelectingResponse struct {
  624. state protoimpl.MessageState
  625. sizeCache protoimpl.SizeCache
  626. unknownFields protoimpl.UnknownFields
  627. }
  628. func (x *OverrideSelectingResponse) Reset() {
  629. *x = OverrideSelectingResponse{}
  630. if protoimpl.UnsafeEnabled {
  631. mi := &file_app_router_command_command_proto_msgTypes[11]
  632. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  633. ms.StoreMessageInfo(mi)
  634. }
  635. }
  636. func (x *OverrideSelectingResponse) String() string {
  637. return protoimpl.X.MessageStringOf(x)
  638. }
  639. func (*OverrideSelectingResponse) ProtoMessage() {}
  640. func (x *OverrideSelectingResponse) ProtoReflect() protoreflect.Message {
  641. mi := &file_app_router_command_command_proto_msgTypes[11]
  642. if protoimpl.UnsafeEnabled && x != nil {
  643. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  644. if ms.LoadMessageInfo() == nil {
  645. ms.StoreMessageInfo(mi)
  646. }
  647. return ms
  648. }
  649. return mi.MessageOf(x)
  650. }
  651. // Deprecated: Use OverrideSelectingResponse.ProtoReflect.Descriptor instead.
  652. func (*OverrideSelectingResponse) Descriptor() ([]byte, []int) {
  653. return file_app_router_command_command_proto_rawDescGZIP(), []int{11}
  654. }
  655. type Config struct {
  656. state protoimpl.MessageState
  657. sizeCache protoimpl.SizeCache
  658. unknownFields protoimpl.UnknownFields
  659. }
  660. func (x *Config) Reset() {
  661. *x = Config{}
  662. if protoimpl.UnsafeEnabled {
  663. mi := &file_app_router_command_command_proto_msgTypes[12]
  664. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  665. ms.StoreMessageInfo(mi)
  666. }
  667. }
  668. func (x *Config) String() string {
  669. return protoimpl.X.MessageStringOf(x)
  670. }
  671. func (*Config) ProtoMessage() {}
  672. func (x *Config) ProtoReflect() protoreflect.Message {
  673. mi := &file_app_router_command_command_proto_msgTypes[12]
  674. if protoimpl.UnsafeEnabled && x != nil {
  675. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  676. if ms.LoadMessageInfo() == nil {
  677. ms.StoreMessageInfo(mi)
  678. }
  679. return ms
  680. }
  681. return mi.MessageOf(x)
  682. }
  683. // Deprecated: Use Config.ProtoReflect.Descriptor instead.
  684. func (*Config) Descriptor() ([]byte, []int) {
  685. return file_app_router_command_command_proto_rawDescGZIP(), []int{12}
  686. }
  687. var File_app_router_command_command_proto protoreflect.FileDescriptor
  688. var file_app_router_command_command_proto_rawDesc = []byte{
  689. 0x0a, 0x20, 0x61, 0x70, 0x70, 0x2f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2f, 0x63, 0x6f, 0x6d,
  690. 0x6d, 0x61, 0x6e, 0x64, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x70, 0x72, 0x6f,
  691. 0x74, 0x6f, 0x12, 0x1d, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61,
  692. 0x70, 0x70, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e,
  693. 0x64, 0x1a, 0x18, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x6e, 0x65, 0x74, 0x2f, 0x6e, 0x65,
  694. 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa8, 0x04, 0x0a, 0x0e,
  695. 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x1e,
  696. 0x0a, 0x0a, 0x49, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x54, 0x61, 0x67, 0x18, 0x01, 0x20, 0x01,
  697. 0x28, 0x09, 0x52, 0x0a, 0x49, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x54, 0x61, 0x67, 0x12, 0x38,
  698. 0x0a, 0x07, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32,
  699. 0x1e, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x6f, 0x6d,
  700. 0x6d, 0x6f, 0x6e, 0x2e, 0x6e, 0x65, 0x74, 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52,
  701. 0x07, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x12, 0x1c, 0x0a, 0x09, 0x53, 0x6f, 0x75, 0x72,
  702. 0x63, 0x65, 0x49, 0x50, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x09, 0x53, 0x6f, 0x75,
  703. 0x72, 0x63, 0x65, 0x49, 0x50, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74,
  704. 0x49, 0x50, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x09, 0x54, 0x61, 0x72, 0x67, 0x65,
  705. 0x74, 0x49, 0x50, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x6f,
  706. 0x72, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65,
  707. 0x50, 0x6f, 0x72, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f,
  708. 0x72, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74,
  709. 0x50, 0x6f, 0x72, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x44, 0x6f,
  710. 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x54, 0x61, 0x72, 0x67,
  711. 0x65, 0x74, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x50, 0x72, 0x6f, 0x74,
  712. 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x50, 0x72, 0x6f, 0x74,
  713. 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x55, 0x73, 0x65, 0x72, 0x18, 0x09, 0x20, 0x01,
  714. 0x28, 0x09, 0x52, 0x04, 0x55, 0x73, 0x65, 0x72, 0x12, 0x5d, 0x0a, 0x0a, 0x41, 0x74, 0x74, 0x72,
  715. 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x76,
  716. 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x6f,
  717. 0x75, 0x74, 0x65, 0x72, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x52, 0x6f, 0x75,
  718. 0x74, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x2e, 0x41, 0x74, 0x74, 0x72,
  719. 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x41, 0x74, 0x74,
  720. 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, 0x2c, 0x0a, 0x11, 0x4f, 0x75, 0x74, 0x62, 0x6f,
  721. 0x75, 0x6e, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x54, 0x61, 0x67, 0x73, 0x18, 0x0b, 0x20, 0x03,
  722. 0x28, 0x09, 0x52, 0x11, 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x47, 0x72, 0x6f, 0x75,
  723. 0x70, 0x54, 0x61, 0x67, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e,
  724. 0x64, 0x54, 0x61, 0x67, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x4f, 0x75, 0x74, 0x62,
  725. 0x6f, 0x75, 0x6e, 0x64, 0x54, 0x61, 0x67, 0x1a, 0x3d, 0x0a, 0x0f, 0x41, 0x74, 0x74, 0x72, 0x69,
  726. 0x62, 0x75, 0x74, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65,
  727. 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05,
  728. 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c,
  729. 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x46, 0x0a, 0x1c, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72,
  730. 0x69, 0x62, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52,
  731. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x53,
  732. 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0e,
  733. 0x46, 0x69, 0x65, 0x6c, 0x64, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x73, 0x22, 0xb7,
  734. 0x01, 0x0a, 0x10, 0x54, 0x65, 0x73, 0x74, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75,
  735. 0x65, 0x73, 0x74, 0x12, 0x55, 0x0a, 0x0e, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x43, 0x6f,
  736. 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x76, 0x32,
  737. 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x6f, 0x75,
  738. 0x74, 0x65, 0x72, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x52, 0x6f, 0x75, 0x74,
  739. 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x0e, 0x52, 0x6f, 0x75, 0x74,
  740. 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x46, 0x69,
  741. 0x65, 0x6c, 0x64, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03,
  742. 0x28, 0x09, 0x52, 0x0e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f,
  743. 0x72, 0x73, 0x12, 0x24, 0x0a, 0x0d, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x52, 0x65, 0x73,
  744. 0x75, 0x6c, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x50, 0x75, 0x62, 0x6c, 0x69,
  745. 0x73, 0x68, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x39, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x42,
  746. 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
  747. 0x22, 0x0a, 0x0c, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x54, 0x61, 0x67, 0x73, 0x18,
  748. 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x54,
  749. 0x61, 0x67, 0x73, 0x22, 0x37, 0x0a, 0x0b, 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x4d,
  750. 0x73, 0x67, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x61, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
  751. 0x03, 0x74, 0x61, 0x67, 0x12, 0x16, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x02,
  752. 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x22, 0x46, 0x0a, 0x14,
  753. 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6e,
  754. 0x67, 0x4d, 0x73, 0x67, 0x12, 0x14, 0x0a, 0x05, 0x75, 0x6e, 0x74, 0x69, 0x6c, 0x18, 0x01, 0x20,
  755. 0x01, 0x28, 0x09, 0x52, 0x05, 0x75, 0x6e, 0x74, 0x69, 0x6c, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x65,
  756. 0x6c, 0x65, 0x63, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x73, 0x65, 0x6c,
  757. 0x65, 0x63, 0x74, 0x73, 0x22, 0xbe, 0x02, 0x0a, 0x0b, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65,
  758. 0x72, 0x4d, 0x73, 0x67, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x61, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28,
  759. 0x09, 0x52, 0x03, 0x74, 0x61, 0x67, 0x12, 0x2a, 0x0a, 0x10, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65,
  760. 0x67, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09,
  761. 0x52, 0x10, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e,
  762. 0x67, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03,
  763. 0x28, 0x09, 0x52, 0x06, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x73, 0x12, 0x4f, 0x0a, 0x08, 0x6f, 0x76,
  764. 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x76,
  765. 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x6f,
  766. 0x75, 0x74, 0x65, 0x72, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x4f, 0x76, 0x65,
  767. 0x72, 0x72, 0x69, 0x64, 0x65, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6e, 0x67, 0x4d, 0x73,
  768. 0x67, 0x52, 0x08, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x12, 0x44, 0x0a, 0x07, 0x73,
  769. 0x65, 0x6c, 0x65, 0x63, 0x74, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x76,
  770. 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x6f,
  771. 0x75, 0x74, 0x65, 0x72, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x4f, 0x75, 0x74,
  772. 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x4d, 0x73, 0x67, 0x52, 0x07, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74,
  773. 0x73, 0x12, 0x42, 0x0a, 0x06, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28,
  774. 0x0b, 0x32, 0x2a, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61,
  775. 0x70, 0x70, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e,
  776. 0x64, 0x2e, 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x4d, 0x73, 0x67, 0x52, 0x06, 0x6f,
  777. 0x74, 0x68, 0x65, 0x72, 0x73, 0x22, 0x60, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x42, 0x61, 0x6c, 0x61,
  778. 0x6e, 0x63, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x48, 0x0a,
  779. 0x09, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
  780. 0x32, 0x2a, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70,
  781. 0x70, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64,
  782. 0x2e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x4d, 0x73, 0x67, 0x52, 0x09, 0x62, 0x61,
  783. 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x73, 0x22, 0x3b, 0x0a, 0x15, 0x43, 0x68, 0x65, 0x63, 0x6b,
  784. 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
  785. 0x12, 0x22, 0x0a, 0x0c, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x54, 0x61, 0x67, 0x73,
  786. 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72,
  787. 0x54, 0x61, 0x67, 0x73, 0x22, 0x18, 0x0a, 0x16, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x42, 0x61, 0x6c,
  788. 0x61, 0x6e, 0x63, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x76,
  789. 0x0a, 0x18, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74,
  790. 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x62, 0x61,
  791. 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x54, 0x61, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
  792. 0x0b, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x54, 0x61, 0x67, 0x12, 0x1c, 0x0a, 0x09,
  793. 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52,
  794. 0x09, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x76, 0x61,
  795. 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x76, 0x61,
  796. 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x22, 0x1b, 0x0a, 0x19, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69,
  797. 0x64, 0x65, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f,
  798. 0x6e, 0x73, 0x65, 0x22, 0x08, 0x0a, 0x06, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x32, 0x90, 0x05,
  799. 0x0a, 0x0e, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
  800. 0x12, 0x87, 0x01, 0x0a, 0x15, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x52, 0x6f,
  801. 0x75, 0x74, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x3b, 0x2e, 0x76, 0x32, 0x72,
  802. 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x6f, 0x75, 0x74,
  803. 0x65, 0x72, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x53, 0x75, 0x62, 0x73, 0x63,
  804. 0x72, 0x69, 0x62, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x73,
  805. 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e,
  806. 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2e,
  807. 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x43,
  808. 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x22, 0x00, 0x30, 0x01, 0x12, 0x6d, 0x0a, 0x09, 0x54, 0x65,
  809. 0x73, 0x74, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x12, 0x2f, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e,
  810. 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2e,
  811. 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x52, 0x6f, 0x75, 0x74,
  812. 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79,
  813. 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72,
  814. 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67,
  815. 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x22, 0x00, 0x12, 0x79, 0x0a, 0x0c, 0x47, 0x65, 0x74,
  816. 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x73, 0x12, 0x32, 0x2e, 0x76, 0x32, 0x72, 0x61,
  817. 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65,
  818. 0x72, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x61, 0x6c,
  819. 0x61, 0x6e, 0x63, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e,
  820. 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72,
  821. 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x47, 0x65,
  822. 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
  823. 0x73, 0x65, 0x22, 0x00, 0x12, 0x7f, 0x0a, 0x0e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x42, 0x61, 0x6c,
  824. 0x61, 0x6e, 0x63, 0x65, 0x72, 0x73, 0x12, 0x34, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63,
  825. 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2e, 0x63,
  826. 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x42, 0x61, 0x6c, 0x61,
  827. 0x6e, 0x63, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x76,
  828. 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x6f,
  829. 0x75, 0x74, 0x65, 0x72, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x43, 0x68, 0x65,
  830. 0x63, 0x6b, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,
  831. 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x88, 0x01, 0x0a, 0x11, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69,
  832. 0x64, 0x65, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x37, 0x2e, 0x76, 0x32,
  833. 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x6f, 0x75,
  834. 0x74, 0x65, 0x72, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x4f, 0x76, 0x65, 0x72,
  835. 0x72, 0x69, 0x64, 0x65, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71,
  836. 0x75, 0x65, 0x73, 0x74, 0x1a, 0x38, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72,
  837. 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2e, 0x63, 0x6f, 0x6d,
  838. 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x53, 0x65, 0x6c,
  839. 0x65, 0x63, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00,
  840. 0x42, 0x78, 0x0a, 0x21, 0x63, 0x6f, 0x6d, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f,
  841. 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2e, 0x63, 0x6f,
  842. 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x50, 0x01, 0x5a, 0x31, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e,
  843. 0x63, 0x6f, 0x6d, 0x2f, 0x76, 0x32, 0x66, 0x6c, 0x79, 0x2f, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2d,
  844. 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x34, 0x2f, 0x61, 0x70, 0x70, 0x2f, 0x72, 0x6f, 0x75, 0x74,
  845. 0x65, 0x72, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0xaa, 0x02, 0x1d, 0x56, 0x32, 0x52,
  846. 0x61, 0x79, 0x2e, 0x43, 0x6f, 0x72, 0x65, 0x2e, 0x41, 0x70, 0x70, 0x2e, 0x52, 0x6f, 0x75, 0x74,
  847. 0x65, 0x72, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
  848. 0x6f, 0x33,
  849. }
  850. var (
  851. file_app_router_command_command_proto_rawDescOnce sync.Once
  852. file_app_router_command_command_proto_rawDescData = file_app_router_command_command_proto_rawDesc
  853. )
  854. func file_app_router_command_command_proto_rawDescGZIP() []byte {
  855. file_app_router_command_command_proto_rawDescOnce.Do(func() {
  856. file_app_router_command_command_proto_rawDescData = protoimpl.X.CompressGZIP(file_app_router_command_command_proto_rawDescData)
  857. })
  858. return file_app_router_command_command_proto_rawDescData
  859. }
  860. var file_app_router_command_command_proto_msgTypes = make([]protoimpl.MessageInfo, 14)
  861. var file_app_router_command_command_proto_goTypes = []interface{}{
  862. (*RoutingContext)(nil), // 0: v2ray.core.app.router.command.RoutingContext
  863. (*SubscribeRoutingStatsRequest)(nil), // 1: v2ray.core.app.router.command.SubscribeRoutingStatsRequest
  864. (*TestRouteRequest)(nil), // 2: v2ray.core.app.router.command.TestRouteRequest
  865. (*GetBalancersRequest)(nil), // 3: v2ray.core.app.router.command.GetBalancersRequest
  866. (*OutboundMsg)(nil), // 4: v2ray.core.app.router.command.OutboundMsg
  867. (*OverrideSelectingMsg)(nil), // 5: v2ray.core.app.router.command.OverrideSelectingMsg
  868. (*BalancerMsg)(nil), // 6: v2ray.core.app.router.command.BalancerMsg
  869. (*GetBalancersResponse)(nil), // 7: v2ray.core.app.router.command.GetBalancersResponse
  870. (*CheckBalancersRequest)(nil), // 8: v2ray.core.app.router.command.CheckBalancersRequest
  871. (*CheckBalancersResponse)(nil), // 9: v2ray.core.app.router.command.CheckBalancersResponse
  872. (*OverrideSelectingRequest)(nil), // 10: v2ray.core.app.router.command.OverrideSelectingRequest
  873. (*OverrideSelectingResponse)(nil), // 11: v2ray.core.app.router.command.OverrideSelectingResponse
  874. (*Config)(nil), // 12: v2ray.core.app.router.command.Config
  875. nil, // 13: v2ray.core.app.router.command.RoutingContext.AttributesEntry
  876. (net.Network)(0), // 14: v2ray.core.common.net.Network
  877. }
  878. var file_app_router_command_command_proto_depIdxs = []int32{
  879. 14, // 0: v2ray.core.app.router.command.RoutingContext.Network:type_name -> v2ray.core.common.net.Network
  880. 13, // 1: v2ray.core.app.router.command.RoutingContext.Attributes:type_name -> v2ray.core.app.router.command.RoutingContext.AttributesEntry
  881. 0, // 2: v2ray.core.app.router.command.TestRouteRequest.RoutingContext:type_name -> v2ray.core.app.router.command.RoutingContext
  882. 5, // 3: v2ray.core.app.router.command.BalancerMsg.override:type_name -> v2ray.core.app.router.command.OverrideSelectingMsg
  883. 4, // 4: v2ray.core.app.router.command.BalancerMsg.selects:type_name -> v2ray.core.app.router.command.OutboundMsg
  884. 4, // 5: v2ray.core.app.router.command.BalancerMsg.others:type_name -> v2ray.core.app.router.command.OutboundMsg
  885. 6, // 6: v2ray.core.app.router.command.GetBalancersResponse.balancers:type_name -> v2ray.core.app.router.command.BalancerMsg
  886. 1, // 7: v2ray.core.app.router.command.RoutingService.SubscribeRoutingStats:input_type -> v2ray.core.app.router.command.SubscribeRoutingStatsRequest
  887. 2, // 8: v2ray.core.app.router.command.RoutingService.TestRoute:input_type -> v2ray.core.app.router.command.TestRouteRequest
  888. 3, // 9: v2ray.core.app.router.command.RoutingService.GetBalancers:input_type -> v2ray.core.app.router.command.GetBalancersRequest
  889. 8, // 10: v2ray.core.app.router.command.RoutingService.CheckBalancers:input_type -> v2ray.core.app.router.command.CheckBalancersRequest
  890. 10, // 11: v2ray.core.app.router.command.RoutingService.OverrideSelecting:input_type -> v2ray.core.app.router.command.OverrideSelectingRequest
  891. 0, // 12: v2ray.core.app.router.command.RoutingService.SubscribeRoutingStats:output_type -> v2ray.core.app.router.command.RoutingContext
  892. 0, // 13: v2ray.core.app.router.command.RoutingService.TestRoute:output_type -> v2ray.core.app.router.command.RoutingContext
  893. 7, // 14: v2ray.core.app.router.command.RoutingService.GetBalancers:output_type -> v2ray.core.app.router.command.GetBalancersResponse
  894. 9, // 15: v2ray.core.app.router.command.RoutingService.CheckBalancers:output_type -> v2ray.core.app.router.command.CheckBalancersResponse
  895. 11, // 16: v2ray.core.app.router.command.RoutingService.OverrideSelecting:output_type -> v2ray.core.app.router.command.OverrideSelectingResponse
  896. 12, // [12:17] is the sub-list for method output_type
  897. 7, // [7:12] is the sub-list for method input_type
  898. 7, // [7:7] is the sub-list for extension type_name
  899. 7, // [7:7] is the sub-list for extension extendee
  900. 0, // [0:7] is the sub-list for field type_name
  901. }
  902. func init() { file_app_router_command_command_proto_init() }
  903. func file_app_router_command_command_proto_init() {
  904. if File_app_router_command_command_proto != nil {
  905. return
  906. }
  907. if !protoimpl.UnsafeEnabled {
  908. file_app_router_command_command_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  909. switch v := v.(*RoutingContext); i {
  910. case 0:
  911. return &v.state
  912. case 1:
  913. return &v.sizeCache
  914. case 2:
  915. return &v.unknownFields
  916. default:
  917. return nil
  918. }
  919. }
  920. file_app_router_command_command_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  921. switch v := v.(*SubscribeRoutingStatsRequest); i {
  922. case 0:
  923. return &v.state
  924. case 1:
  925. return &v.sizeCache
  926. case 2:
  927. return &v.unknownFields
  928. default:
  929. return nil
  930. }
  931. }
  932. file_app_router_command_command_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  933. switch v := v.(*TestRouteRequest); i {
  934. case 0:
  935. return &v.state
  936. case 1:
  937. return &v.sizeCache
  938. case 2:
  939. return &v.unknownFields
  940. default:
  941. return nil
  942. }
  943. }
  944. file_app_router_command_command_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  945. switch v := v.(*GetBalancersRequest); i {
  946. case 0:
  947. return &v.state
  948. case 1:
  949. return &v.sizeCache
  950. case 2:
  951. return &v.unknownFields
  952. default:
  953. return nil
  954. }
  955. }
  956. file_app_router_command_command_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  957. switch v := v.(*OutboundMsg); i {
  958. case 0:
  959. return &v.state
  960. case 1:
  961. return &v.sizeCache
  962. case 2:
  963. return &v.unknownFields
  964. default:
  965. return nil
  966. }
  967. }
  968. file_app_router_command_command_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  969. switch v := v.(*OverrideSelectingMsg); i {
  970. case 0:
  971. return &v.state
  972. case 1:
  973. return &v.sizeCache
  974. case 2:
  975. return &v.unknownFields
  976. default:
  977. return nil
  978. }
  979. }
  980. file_app_router_command_command_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  981. switch v := v.(*BalancerMsg); i {
  982. case 0:
  983. return &v.state
  984. case 1:
  985. return &v.sizeCache
  986. case 2:
  987. return &v.unknownFields
  988. default:
  989. return nil
  990. }
  991. }
  992. file_app_router_command_command_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  993. switch v := v.(*GetBalancersResponse); i {
  994. case 0:
  995. return &v.state
  996. case 1:
  997. return &v.sizeCache
  998. case 2:
  999. return &v.unknownFields
  1000. default:
  1001. return nil
  1002. }
  1003. }
  1004. file_app_router_command_command_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  1005. switch v := v.(*CheckBalancersRequest); i {
  1006. case 0:
  1007. return &v.state
  1008. case 1:
  1009. return &v.sizeCache
  1010. case 2:
  1011. return &v.unknownFields
  1012. default:
  1013. return nil
  1014. }
  1015. }
  1016. file_app_router_command_command_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  1017. switch v := v.(*CheckBalancersResponse); i {
  1018. case 0:
  1019. return &v.state
  1020. case 1:
  1021. return &v.sizeCache
  1022. case 2:
  1023. return &v.unknownFields
  1024. default:
  1025. return nil
  1026. }
  1027. }
  1028. file_app_router_command_command_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  1029. switch v := v.(*OverrideSelectingRequest); i {
  1030. case 0:
  1031. return &v.state
  1032. case 1:
  1033. return &v.sizeCache
  1034. case 2:
  1035. return &v.unknownFields
  1036. default:
  1037. return nil
  1038. }
  1039. }
  1040. file_app_router_command_command_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
  1041. switch v := v.(*OverrideSelectingResponse); i {
  1042. case 0:
  1043. return &v.state
  1044. case 1:
  1045. return &v.sizeCache
  1046. case 2:
  1047. return &v.unknownFields
  1048. default:
  1049. return nil
  1050. }
  1051. }
  1052. file_app_router_command_command_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
  1053. switch v := v.(*Config); i {
  1054. case 0:
  1055. return &v.state
  1056. case 1:
  1057. return &v.sizeCache
  1058. case 2:
  1059. return &v.unknownFields
  1060. default:
  1061. return nil
  1062. }
  1063. }
  1064. }
  1065. type x struct{}
  1066. out := protoimpl.TypeBuilder{
  1067. File: protoimpl.DescBuilder{
  1068. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  1069. RawDescriptor: file_app_router_command_command_proto_rawDesc,
  1070. NumEnums: 0,
  1071. NumMessages: 14,
  1072. NumExtensions: 0,
  1073. NumServices: 1,
  1074. },
  1075. GoTypes: file_app_router_command_command_proto_goTypes,
  1076. DependencyIndexes: file_app_router_command_command_proto_depIdxs,
  1077. MessageInfos: file_app_router_command_command_proto_msgTypes,
  1078. }.Build()
  1079. File_app_router_command_command_proto = out.File
  1080. file_app_router_command_command_proto_rawDesc = nil
  1081. file_app_router_command_command_proto_goTypes = nil
  1082. file_app_router_command_command_proto_depIdxs = nil
  1083. }