command.pb.go 40 KB

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