command.pb.go 42 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079
  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 PrincipleTargetInfo struct {
  295. state protoimpl.MessageState
  296. sizeCache protoimpl.SizeCache
  297. unknownFields protoimpl.UnknownFields
  298. Tag []string `protobuf:"bytes,1,rep,name=tag,proto3" json:"tag,omitempty"`
  299. }
  300. func (x *PrincipleTargetInfo) Reset() {
  301. *x = PrincipleTargetInfo{}
  302. if protoimpl.UnsafeEnabled {
  303. mi := &file_app_router_command_command_proto_msgTypes[4]
  304. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  305. ms.StoreMessageInfo(mi)
  306. }
  307. }
  308. func (x *PrincipleTargetInfo) String() string {
  309. return protoimpl.X.MessageStringOf(x)
  310. }
  311. func (*PrincipleTargetInfo) ProtoMessage() {}
  312. func (x *PrincipleTargetInfo) ProtoReflect() protoreflect.Message {
  313. mi := &file_app_router_command_command_proto_msgTypes[4]
  314. if protoimpl.UnsafeEnabled && x != nil {
  315. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  316. if ms.LoadMessageInfo() == nil {
  317. ms.StoreMessageInfo(mi)
  318. }
  319. return ms
  320. }
  321. return mi.MessageOf(x)
  322. }
  323. // Deprecated: Use PrincipleTargetInfo.ProtoReflect.Descriptor instead.
  324. func (*PrincipleTargetInfo) Descriptor() ([]byte, []int) {
  325. return file_app_router_command_command_proto_rawDescGZIP(), []int{4}
  326. }
  327. func (x *PrincipleTargetInfo) GetTag() []string {
  328. if x != nil {
  329. return x.Tag
  330. }
  331. return nil
  332. }
  333. type OverrideInfo struct {
  334. state protoimpl.MessageState
  335. sizeCache protoimpl.SizeCache
  336. unknownFields protoimpl.UnknownFields
  337. Target string `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"`
  338. }
  339. func (x *OverrideInfo) Reset() {
  340. *x = OverrideInfo{}
  341. if protoimpl.UnsafeEnabled {
  342. mi := &file_app_router_command_command_proto_msgTypes[5]
  343. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  344. ms.StoreMessageInfo(mi)
  345. }
  346. }
  347. func (x *OverrideInfo) String() string {
  348. return protoimpl.X.MessageStringOf(x)
  349. }
  350. func (*OverrideInfo) ProtoMessage() {}
  351. func (x *OverrideInfo) ProtoReflect() protoreflect.Message {
  352. mi := &file_app_router_command_command_proto_msgTypes[5]
  353. if protoimpl.UnsafeEnabled && x != nil {
  354. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  355. if ms.LoadMessageInfo() == nil {
  356. ms.StoreMessageInfo(mi)
  357. }
  358. return ms
  359. }
  360. return mi.MessageOf(x)
  361. }
  362. // Deprecated: Use OverrideInfo.ProtoReflect.Descriptor instead.
  363. func (*OverrideInfo) Descriptor() ([]byte, []int) {
  364. return file_app_router_command_command_proto_rawDescGZIP(), []int{5}
  365. }
  366. func (x *OverrideInfo) GetTarget() string {
  367. if x != nil {
  368. return x.Target
  369. }
  370. return ""
  371. }
  372. type BalancerMsg struct {
  373. state protoimpl.MessageState
  374. sizeCache protoimpl.SizeCache
  375. unknownFields protoimpl.UnknownFields
  376. Override *OverrideInfo `protobuf:"bytes,5,opt,name=override,proto3" json:"override,omitempty"`
  377. PrincipleTarget *PrincipleTargetInfo `protobuf:"bytes,6,opt,name=principle_target,json=principleTarget,proto3" json:"principle_target,omitempty"`
  378. }
  379. func (x *BalancerMsg) Reset() {
  380. *x = BalancerMsg{}
  381. if protoimpl.UnsafeEnabled {
  382. mi := &file_app_router_command_command_proto_msgTypes[6]
  383. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  384. ms.StoreMessageInfo(mi)
  385. }
  386. }
  387. func (x *BalancerMsg) String() string {
  388. return protoimpl.X.MessageStringOf(x)
  389. }
  390. func (*BalancerMsg) ProtoMessage() {}
  391. func (x *BalancerMsg) ProtoReflect() protoreflect.Message {
  392. mi := &file_app_router_command_command_proto_msgTypes[6]
  393. if protoimpl.UnsafeEnabled && x != nil {
  394. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  395. if ms.LoadMessageInfo() == nil {
  396. ms.StoreMessageInfo(mi)
  397. }
  398. return ms
  399. }
  400. return mi.MessageOf(x)
  401. }
  402. // Deprecated: Use BalancerMsg.ProtoReflect.Descriptor instead.
  403. func (*BalancerMsg) Descriptor() ([]byte, []int) {
  404. return file_app_router_command_command_proto_rawDescGZIP(), []int{6}
  405. }
  406. func (x *BalancerMsg) GetOverride() *OverrideInfo {
  407. if x != nil {
  408. return x.Override
  409. }
  410. return nil
  411. }
  412. func (x *BalancerMsg) GetPrincipleTarget() *PrincipleTargetInfo {
  413. if x != nil {
  414. return x.PrincipleTarget
  415. }
  416. return nil
  417. }
  418. type GetBalancerInfoRequest struct {
  419. state protoimpl.MessageState
  420. sizeCache protoimpl.SizeCache
  421. unknownFields protoimpl.UnknownFields
  422. Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
  423. }
  424. func (x *GetBalancerInfoRequest) Reset() {
  425. *x = GetBalancerInfoRequest{}
  426. if protoimpl.UnsafeEnabled {
  427. mi := &file_app_router_command_command_proto_msgTypes[7]
  428. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  429. ms.StoreMessageInfo(mi)
  430. }
  431. }
  432. func (x *GetBalancerInfoRequest) String() string {
  433. return protoimpl.X.MessageStringOf(x)
  434. }
  435. func (*GetBalancerInfoRequest) ProtoMessage() {}
  436. func (x *GetBalancerInfoRequest) ProtoReflect() protoreflect.Message {
  437. mi := &file_app_router_command_command_proto_msgTypes[7]
  438. if protoimpl.UnsafeEnabled && x != nil {
  439. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  440. if ms.LoadMessageInfo() == nil {
  441. ms.StoreMessageInfo(mi)
  442. }
  443. return ms
  444. }
  445. return mi.MessageOf(x)
  446. }
  447. // Deprecated: Use GetBalancerInfoRequest.ProtoReflect.Descriptor instead.
  448. func (*GetBalancerInfoRequest) Descriptor() ([]byte, []int) {
  449. return file_app_router_command_command_proto_rawDescGZIP(), []int{7}
  450. }
  451. func (x *GetBalancerInfoRequest) GetTag() string {
  452. if x != nil {
  453. return x.Tag
  454. }
  455. return ""
  456. }
  457. type GetBalancerInfoResponse struct {
  458. state protoimpl.MessageState
  459. sizeCache protoimpl.SizeCache
  460. unknownFields protoimpl.UnknownFields
  461. Balancer *BalancerMsg `protobuf:"bytes,1,opt,name=balancer,proto3" json:"balancer,omitempty"`
  462. }
  463. func (x *GetBalancerInfoResponse) Reset() {
  464. *x = GetBalancerInfoResponse{}
  465. if protoimpl.UnsafeEnabled {
  466. mi := &file_app_router_command_command_proto_msgTypes[8]
  467. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  468. ms.StoreMessageInfo(mi)
  469. }
  470. }
  471. func (x *GetBalancerInfoResponse) String() string {
  472. return protoimpl.X.MessageStringOf(x)
  473. }
  474. func (*GetBalancerInfoResponse) ProtoMessage() {}
  475. func (x *GetBalancerInfoResponse) ProtoReflect() protoreflect.Message {
  476. mi := &file_app_router_command_command_proto_msgTypes[8]
  477. if protoimpl.UnsafeEnabled && x != nil {
  478. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  479. if ms.LoadMessageInfo() == nil {
  480. ms.StoreMessageInfo(mi)
  481. }
  482. return ms
  483. }
  484. return mi.MessageOf(x)
  485. }
  486. // Deprecated: Use GetBalancerInfoResponse.ProtoReflect.Descriptor instead.
  487. func (*GetBalancerInfoResponse) Descriptor() ([]byte, []int) {
  488. return file_app_router_command_command_proto_rawDescGZIP(), []int{8}
  489. }
  490. func (x *GetBalancerInfoResponse) GetBalancer() *BalancerMsg {
  491. if x != nil {
  492. return x.Balancer
  493. }
  494. return nil
  495. }
  496. type OverrideBalancerTargetRequest struct {
  497. state protoimpl.MessageState
  498. sizeCache protoimpl.SizeCache
  499. unknownFields protoimpl.UnknownFields
  500. BalancerTag string `protobuf:"bytes,1,opt,name=balancerTag,proto3" json:"balancerTag,omitempty"`
  501. Target string `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"`
  502. }
  503. func (x *OverrideBalancerTargetRequest) Reset() {
  504. *x = OverrideBalancerTargetRequest{}
  505. if protoimpl.UnsafeEnabled {
  506. mi := &file_app_router_command_command_proto_msgTypes[9]
  507. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  508. ms.StoreMessageInfo(mi)
  509. }
  510. }
  511. func (x *OverrideBalancerTargetRequest) String() string {
  512. return protoimpl.X.MessageStringOf(x)
  513. }
  514. func (*OverrideBalancerTargetRequest) ProtoMessage() {}
  515. func (x *OverrideBalancerTargetRequest) ProtoReflect() protoreflect.Message {
  516. mi := &file_app_router_command_command_proto_msgTypes[9]
  517. if protoimpl.UnsafeEnabled && x != nil {
  518. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  519. if ms.LoadMessageInfo() == nil {
  520. ms.StoreMessageInfo(mi)
  521. }
  522. return ms
  523. }
  524. return mi.MessageOf(x)
  525. }
  526. // Deprecated: Use OverrideBalancerTargetRequest.ProtoReflect.Descriptor instead.
  527. func (*OverrideBalancerTargetRequest) Descriptor() ([]byte, []int) {
  528. return file_app_router_command_command_proto_rawDescGZIP(), []int{9}
  529. }
  530. func (x *OverrideBalancerTargetRequest) GetBalancerTag() string {
  531. if x != nil {
  532. return x.BalancerTag
  533. }
  534. return ""
  535. }
  536. func (x *OverrideBalancerTargetRequest) GetTarget() string {
  537. if x != nil {
  538. return x.Target
  539. }
  540. return ""
  541. }
  542. type OverrideBalancerTargetResponse struct {
  543. state protoimpl.MessageState
  544. sizeCache protoimpl.SizeCache
  545. unknownFields protoimpl.UnknownFields
  546. }
  547. func (x *OverrideBalancerTargetResponse) Reset() {
  548. *x = OverrideBalancerTargetResponse{}
  549. if protoimpl.UnsafeEnabled {
  550. mi := &file_app_router_command_command_proto_msgTypes[10]
  551. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  552. ms.StoreMessageInfo(mi)
  553. }
  554. }
  555. func (x *OverrideBalancerTargetResponse) String() string {
  556. return protoimpl.X.MessageStringOf(x)
  557. }
  558. func (*OverrideBalancerTargetResponse) ProtoMessage() {}
  559. func (x *OverrideBalancerTargetResponse) ProtoReflect() protoreflect.Message {
  560. mi := &file_app_router_command_command_proto_msgTypes[10]
  561. if protoimpl.UnsafeEnabled && x != nil {
  562. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  563. if ms.LoadMessageInfo() == nil {
  564. ms.StoreMessageInfo(mi)
  565. }
  566. return ms
  567. }
  568. return mi.MessageOf(x)
  569. }
  570. // Deprecated: Use OverrideBalancerTargetResponse.ProtoReflect.Descriptor instead.
  571. func (*OverrideBalancerTargetResponse) Descriptor() ([]byte, []int) {
  572. return file_app_router_command_command_proto_rawDescGZIP(), []int{10}
  573. }
  574. type Config struct {
  575. state protoimpl.MessageState
  576. sizeCache protoimpl.SizeCache
  577. unknownFields protoimpl.UnknownFields
  578. }
  579. func (x *Config) Reset() {
  580. *x = Config{}
  581. if protoimpl.UnsafeEnabled {
  582. mi := &file_app_router_command_command_proto_msgTypes[11]
  583. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  584. ms.StoreMessageInfo(mi)
  585. }
  586. }
  587. func (x *Config) String() string {
  588. return protoimpl.X.MessageStringOf(x)
  589. }
  590. func (*Config) ProtoMessage() {}
  591. func (x *Config) ProtoReflect() protoreflect.Message {
  592. mi := &file_app_router_command_command_proto_msgTypes[11]
  593. if protoimpl.UnsafeEnabled && x != nil {
  594. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  595. if ms.LoadMessageInfo() == nil {
  596. ms.StoreMessageInfo(mi)
  597. }
  598. return ms
  599. }
  600. return mi.MessageOf(x)
  601. }
  602. // Deprecated: Use Config.ProtoReflect.Descriptor instead.
  603. func (*Config) Descriptor() ([]byte, []int) {
  604. return file_app_router_command_command_proto_rawDescGZIP(), []int{11}
  605. }
  606. var File_app_router_command_command_proto protoreflect.FileDescriptor
  607. var file_app_router_command_command_proto_rawDesc = []byte{
  608. 0x0a, 0x20, 0x61, 0x70, 0x70, 0x2f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2f, 0x63, 0x6f, 0x6d,
  609. 0x6d, 0x61, 0x6e, 0x64, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x70, 0x72, 0x6f,
  610. 0x74, 0x6f, 0x12, 0x1d, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61,
  611. 0x70, 0x70, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e,
  612. 0x64, 0x1a, 0x18, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x6e, 0x65, 0x74, 0x2f, 0x6e, 0x65,
  613. 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa8, 0x04, 0x0a, 0x0e,
  614. 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x1e,
  615. 0x0a, 0x0a, 0x49, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x54, 0x61, 0x67, 0x18, 0x01, 0x20, 0x01,
  616. 0x28, 0x09, 0x52, 0x0a, 0x49, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x54, 0x61, 0x67, 0x12, 0x38,
  617. 0x0a, 0x07, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32,
  618. 0x1e, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x6f, 0x6d,
  619. 0x6d, 0x6f, 0x6e, 0x2e, 0x6e, 0x65, 0x74, 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52,
  620. 0x07, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x12, 0x1c, 0x0a, 0x09, 0x53, 0x6f, 0x75, 0x72,
  621. 0x63, 0x65, 0x49, 0x50, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x09, 0x53, 0x6f, 0x75,
  622. 0x72, 0x63, 0x65, 0x49, 0x50, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74,
  623. 0x49, 0x50, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x09, 0x54, 0x61, 0x72, 0x67, 0x65,
  624. 0x74, 0x49, 0x50, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x6f,
  625. 0x72, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65,
  626. 0x50, 0x6f, 0x72, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f,
  627. 0x72, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74,
  628. 0x50, 0x6f, 0x72, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x44, 0x6f,
  629. 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x54, 0x61, 0x72, 0x67,
  630. 0x65, 0x74, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x50, 0x72, 0x6f, 0x74,
  631. 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x50, 0x72, 0x6f, 0x74,
  632. 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x55, 0x73, 0x65, 0x72, 0x18, 0x09, 0x20, 0x01,
  633. 0x28, 0x09, 0x52, 0x04, 0x55, 0x73, 0x65, 0x72, 0x12, 0x5d, 0x0a, 0x0a, 0x41, 0x74, 0x74, 0x72,
  634. 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x76,
  635. 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x6f,
  636. 0x75, 0x74, 0x65, 0x72, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x52, 0x6f, 0x75,
  637. 0x74, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x2e, 0x41, 0x74, 0x74, 0x72,
  638. 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x41, 0x74, 0x74,
  639. 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, 0x2c, 0x0a, 0x11, 0x4f, 0x75, 0x74, 0x62, 0x6f,
  640. 0x75, 0x6e, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x54, 0x61, 0x67, 0x73, 0x18, 0x0b, 0x20, 0x03,
  641. 0x28, 0x09, 0x52, 0x11, 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x47, 0x72, 0x6f, 0x75,
  642. 0x70, 0x54, 0x61, 0x67, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e,
  643. 0x64, 0x54, 0x61, 0x67, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x4f, 0x75, 0x74, 0x62,
  644. 0x6f, 0x75, 0x6e, 0x64, 0x54, 0x61, 0x67, 0x1a, 0x3d, 0x0a, 0x0f, 0x41, 0x74, 0x74, 0x72, 0x69,
  645. 0x62, 0x75, 0x74, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65,
  646. 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05,
  647. 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c,
  648. 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x46, 0x0a, 0x1c, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72,
  649. 0x69, 0x62, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52,
  650. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x53,
  651. 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0e,
  652. 0x46, 0x69, 0x65, 0x6c, 0x64, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x73, 0x22, 0xb7,
  653. 0x01, 0x0a, 0x10, 0x54, 0x65, 0x73, 0x74, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75,
  654. 0x65, 0x73, 0x74, 0x12, 0x55, 0x0a, 0x0e, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x43, 0x6f,
  655. 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x76, 0x32,
  656. 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x6f, 0x75,
  657. 0x74, 0x65, 0x72, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x52, 0x6f, 0x75, 0x74,
  658. 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x0e, 0x52, 0x6f, 0x75, 0x74,
  659. 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x46, 0x69,
  660. 0x65, 0x6c, 0x64, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03,
  661. 0x28, 0x09, 0x52, 0x0e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f,
  662. 0x72, 0x73, 0x12, 0x24, 0x0a, 0x0d, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x52, 0x65, 0x73,
  663. 0x75, 0x6c, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x50, 0x75, 0x62, 0x6c, 0x69,
  664. 0x73, 0x68, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x39, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x42,
  665. 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
  666. 0x22, 0x0a, 0x0c, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x54, 0x61, 0x67, 0x73, 0x18,
  667. 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x54,
  668. 0x61, 0x67, 0x73, 0x22, 0x27, 0x0a, 0x13, 0x50, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x6c, 0x65,
  669. 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x61,
  670. 0x67, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x03, 0x74, 0x61, 0x67, 0x22, 0x26, 0x0a, 0x0c,
  671. 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x0a, 0x06,
  672. 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x61,
  673. 0x72, 0x67, 0x65, 0x74, 0x22, 0xb5, 0x01, 0x0a, 0x0b, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65,
  674. 0x72, 0x4d, 0x73, 0x67, 0x12, 0x47, 0x0a, 0x08, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65,
  675. 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63,
  676. 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2e, 0x63,
  677. 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x49,
  678. 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x12, 0x5d, 0x0a,
  679. 0x10, 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x6c, 0x65, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65,
  680. 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e,
  681. 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2e,
  682. 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x50, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x6c,
  683. 0x65, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0f, 0x70, 0x72, 0x69,
  684. 0x6e, 0x63, 0x69, 0x70, 0x6c, 0x65, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x22, 0x2a, 0x0a, 0x16,
  685. 0x47, 0x65, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52,
  686. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x61, 0x67, 0x18, 0x01, 0x20,
  687. 0x01, 0x28, 0x09, 0x52, 0x03, 0x74, 0x61, 0x67, 0x22, 0x61, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x42,
  688. 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f,
  689. 0x6e, 0x73, 0x65, 0x12, 0x46, 0x0a, 0x08, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x18,
  690. 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f,
  691. 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2e, 0x63, 0x6f,
  692. 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x4d, 0x73,
  693. 0x67, 0x52, 0x08, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x22, 0x59, 0x0a, 0x1d, 0x4f,
  694. 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x54,
  695. 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x0b,
  696. 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x54, 0x61, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28,
  697. 0x09, 0x52, 0x0b, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x54, 0x61, 0x67, 0x12, 0x16,
  698. 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,
  699. 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x22, 0x20, 0x0a, 0x1e, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69,
  700. 0x64, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74,
  701. 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x08, 0x0a, 0x06, 0x43, 0x6f, 0x6e, 0x66,
  702. 0x69, 0x67, 0x32, 0xa8, 0x04, 0x0a, 0x0e, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x53, 0x65,
  703. 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x87, 0x01, 0x0a, 0x15, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72,
  704. 0x69, 0x62, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12,
  705. 0x3b, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70,
  706. 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e,
  707. 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67,
  708. 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x76,
  709. 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x6f,
  710. 0x75, 0x74, 0x65, 0x72, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x52, 0x6f, 0x75,
  711. 0x74, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x22, 0x00, 0x30, 0x01, 0x12,
  712. 0x6d, 0x0a, 0x09, 0x54, 0x65, 0x73, 0x74, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x12, 0x2f, 0x2e, 0x76,
  713. 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x6f,
  714. 0x75, 0x74, 0x65, 0x72, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x54, 0x65, 0x73,
  715. 0x74, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e,
  716. 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72,
  717. 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x52, 0x6f,
  718. 0x75, 0x74, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x22, 0x00, 0x12, 0x82,
  719. 0x01, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x49, 0x6e,
  720. 0x66, 0x6f, 0x12, 0x35, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e,
  721. 0x61, 0x70, 0x70, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61,
  722. 0x6e, 0x64, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x49, 0x6e,
  723. 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x76, 0x32, 0x72, 0x61,
  724. 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65,
  725. 0x72, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x61, 0x6c,
  726. 0x61, 0x6e, 0x63, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
  727. 0x65, 0x22, 0x00, 0x12, 0x97, 0x01, 0x0a, 0x16, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65,
  728. 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x3c,
  729. 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e,
  730. 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x4f,
  731. 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x54,
  732. 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3d, 0x2e, 0x76,
  733. 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x6f,
  734. 0x75, 0x74, 0x65, 0x72, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x4f, 0x76, 0x65,
  735. 0x72, 0x72, 0x69, 0x64, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x54, 0x61, 0x72,
  736. 0x67, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x78, 0x0a,
  737. 0x21, 0x63, 0x6f, 0x6d, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e,
  738. 0x61, 0x70, 0x70, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61,
  739. 0x6e, 0x64, 0x50, 0x01, 0x5a, 0x31, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d,
  740. 0x2f, 0x76, 0x32, 0x66, 0x6c, 0x79, 0x2f, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2d, 0x63, 0x6f, 0x72,
  741. 0x65, 0x2f, 0x76, 0x34, 0x2f, 0x61, 0x70, 0x70, 0x2f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2f,
  742. 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0xaa, 0x02, 0x1d, 0x56, 0x32, 0x52, 0x61, 0x79, 0x2e,
  743. 0x43, 0x6f, 0x72, 0x65, 0x2e, 0x41, 0x70, 0x70, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2e,
  744. 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  745. }
  746. var (
  747. file_app_router_command_command_proto_rawDescOnce sync.Once
  748. file_app_router_command_command_proto_rawDescData = file_app_router_command_command_proto_rawDesc
  749. )
  750. func file_app_router_command_command_proto_rawDescGZIP() []byte {
  751. file_app_router_command_command_proto_rawDescOnce.Do(func() {
  752. file_app_router_command_command_proto_rawDescData = protoimpl.X.CompressGZIP(file_app_router_command_command_proto_rawDescData)
  753. })
  754. return file_app_router_command_command_proto_rawDescData
  755. }
  756. var file_app_router_command_command_proto_msgTypes = make([]protoimpl.MessageInfo, 13)
  757. var file_app_router_command_command_proto_goTypes = []interface{}{
  758. (*RoutingContext)(nil), // 0: v2ray.core.app.router.command.RoutingContext
  759. (*SubscribeRoutingStatsRequest)(nil), // 1: v2ray.core.app.router.command.SubscribeRoutingStatsRequest
  760. (*TestRouteRequest)(nil), // 2: v2ray.core.app.router.command.TestRouteRequest
  761. (*GetBalancersRequest)(nil), // 3: v2ray.core.app.router.command.GetBalancersRequest
  762. (*PrincipleTargetInfo)(nil), // 4: v2ray.core.app.router.command.PrincipleTargetInfo
  763. (*OverrideInfo)(nil), // 5: v2ray.core.app.router.command.OverrideInfo
  764. (*BalancerMsg)(nil), // 6: v2ray.core.app.router.command.BalancerMsg
  765. (*GetBalancerInfoRequest)(nil), // 7: v2ray.core.app.router.command.GetBalancerInfoRequest
  766. (*GetBalancerInfoResponse)(nil), // 8: v2ray.core.app.router.command.GetBalancerInfoResponse
  767. (*OverrideBalancerTargetRequest)(nil), // 9: v2ray.core.app.router.command.OverrideBalancerTargetRequest
  768. (*OverrideBalancerTargetResponse)(nil), // 10: v2ray.core.app.router.command.OverrideBalancerTargetResponse
  769. (*Config)(nil), // 11: v2ray.core.app.router.command.Config
  770. nil, // 12: v2ray.core.app.router.command.RoutingContext.AttributesEntry
  771. (net.Network)(0), // 13: v2ray.core.common.net.Network
  772. }
  773. var file_app_router_command_command_proto_depIdxs = []int32{
  774. 13, // 0: v2ray.core.app.router.command.RoutingContext.Network:type_name -> v2ray.core.common.net.Network
  775. 12, // 1: v2ray.core.app.router.command.RoutingContext.Attributes:type_name -> v2ray.core.app.router.command.RoutingContext.AttributesEntry
  776. 0, // 2: v2ray.core.app.router.command.TestRouteRequest.RoutingContext:type_name -> v2ray.core.app.router.command.RoutingContext
  777. 5, // 3: v2ray.core.app.router.command.BalancerMsg.override:type_name -> v2ray.core.app.router.command.OverrideInfo
  778. 4, // 4: v2ray.core.app.router.command.BalancerMsg.principle_target:type_name -> v2ray.core.app.router.command.PrincipleTargetInfo
  779. 6, // 5: v2ray.core.app.router.command.GetBalancerInfoResponse.balancer:type_name -> v2ray.core.app.router.command.BalancerMsg
  780. 1, // 6: v2ray.core.app.router.command.RoutingService.SubscribeRoutingStats:input_type -> v2ray.core.app.router.command.SubscribeRoutingStatsRequest
  781. 2, // 7: v2ray.core.app.router.command.RoutingService.TestRoute:input_type -> v2ray.core.app.router.command.TestRouteRequest
  782. 7, // 8: v2ray.core.app.router.command.RoutingService.GetBalancerInfo:input_type -> v2ray.core.app.router.command.GetBalancerInfoRequest
  783. 9, // 9: v2ray.core.app.router.command.RoutingService.OverrideBalancerTarget:input_type -> v2ray.core.app.router.command.OverrideBalancerTargetRequest
  784. 0, // 10: v2ray.core.app.router.command.RoutingService.SubscribeRoutingStats:output_type -> v2ray.core.app.router.command.RoutingContext
  785. 0, // 11: v2ray.core.app.router.command.RoutingService.TestRoute:output_type -> v2ray.core.app.router.command.RoutingContext
  786. 8, // 12: v2ray.core.app.router.command.RoutingService.GetBalancerInfo:output_type -> v2ray.core.app.router.command.GetBalancerInfoResponse
  787. 10, // 13: v2ray.core.app.router.command.RoutingService.OverrideBalancerTarget:output_type -> v2ray.core.app.router.command.OverrideBalancerTargetResponse
  788. 10, // [10:14] is the sub-list for method output_type
  789. 6, // [6:10] is the sub-list for method input_type
  790. 6, // [6:6] is the sub-list for extension type_name
  791. 6, // [6:6] is the sub-list for extension extendee
  792. 0, // [0:6] is the sub-list for field type_name
  793. }
  794. func init() { file_app_router_command_command_proto_init() }
  795. func file_app_router_command_command_proto_init() {
  796. if File_app_router_command_command_proto != nil {
  797. return
  798. }
  799. if !protoimpl.UnsafeEnabled {
  800. file_app_router_command_command_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  801. switch v := v.(*RoutingContext); i {
  802. case 0:
  803. return &v.state
  804. case 1:
  805. return &v.sizeCache
  806. case 2:
  807. return &v.unknownFields
  808. default:
  809. return nil
  810. }
  811. }
  812. file_app_router_command_command_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  813. switch v := v.(*SubscribeRoutingStatsRequest); i {
  814. case 0:
  815. return &v.state
  816. case 1:
  817. return &v.sizeCache
  818. case 2:
  819. return &v.unknownFields
  820. default:
  821. return nil
  822. }
  823. }
  824. file_app_router_command_command_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  825. switch v := v.(*TestRouteRequest); i {
  826. case 0:
  827. return &v.state
  828. case 1:
  829. return &v.sizeCache
  830. case 2:
  831. return &v.unknownFields
  832. default:
  833. return nil
  834. }
  835. }
  836. file_app_router_command_command_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  837. switch v := v.(*GetBalancersRequest); i {
  838. case 0:
  839. return &v.state
  840. case 1:
  841. return &v.sizeCache
  842. case 2:
  843. return &v.unknownFields
  844. default:
  845. return nil
  846. }
  847. }
  848. file_app_router_command_command_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  849. switch v := v.(*PrincipleTargetInfo); i {
  850. case 0:
  851. return &v.state
  852. case 1:
  853. return &v.sizeCache
  854. case 2:
  855. return &v.unknownFields
  856. default:
  857. return nil
  858. }
  859. }
  860. file_app_router_command_command_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  861. switch v := v.(*OverrideInfo); i {
  862. case 0:
  863. return &v.state
  864. case 1:
  865. return &v.sizeCache
  866. case 2:
  867. return &v.unknownFields
  868. default:
  869. return nil
  870. }
  871. }
  872. file_app_router_command_command_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  873. switch v := v.(*BalancerMsg); i {
  874. case 0:
  875. return &v.state
  876. case 1:
  877. return &v.sizeCache
  878. case 2:
  879. return &v.unknownFields
  880. default:
  881. return nil
  882. }
  883. }
  884. file_app_router_command_command_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  885. switch v := v.(*GetBalancerInfoRequest); i {
  886. case 0:
  887. return &v.state
  888. case 1:
  889. return &v.sizeCache
  890. case 2:
  891. return &v.unknownFields
  892. default:
  893. return nil
  894. }
  895. }
  896. file_app_router_command_command_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  897. switch v := v.(*GetBalancerInfoResponse); i {
  898. case 0:
  899. return &v.state
  900. case 1:
  901. return &v.sizeCache
  902. case 2:
  903. return &v.unknownFields
  904. default:
  905. return nil
  906. }
  907. }
  908. file_app_router_command_command_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  909. switch v := v.(*OverrideBalancerTargetRequest); 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[10].Exporter = func(v interface{}, i int) interface{} {
  921. switch v := v.(*OverrideBalancerTargetResponse); 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[11].Exporter = func(v interface{}, i int) interface{} {
  933. switch v := v.(*Config); 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. }
  945. type x struct{}
  946. out := protoimpl.TypeBuilder{
  947. File: protoimpl.DescBuilder{
  948. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  949. RawDescriptor: file_app_router_command_command_proto_rawDesc,
  950. NumEnums: 0,
  951. NumMessages: 13,
  952. NumExtensions: 0,
  953. NumServices: 1,
  954. },
  955. GoTypes: file_app_router_command_command_proto_goTypes,
  956. DependencyIndexes: file_app_router_command_command_proto_depIdxs,
  957. MessageInfos: file_app_router_command_command_proto_msgTypes,
  958. }.Build()
  959. File_app_router_command_command_proto = out.File
  960. file_app_router_command_command_proto_rawDesc = nil
  961. file_app_router_command_command_proto_goTypes = nil
  962. file_app_router_command_command_proto_depIdxs = nil
  963. }