command.pb.go 40 KB

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