config.pb.go 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.27.1
  4. // protoc v3.17.3
  5. // source: app/observatory/config.proto
  6. package observatory
  7. import (
  8. _ "github.com/v2fly/v2ray-core/v5/common/protoext"
  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. type ObservationResult struct {
  21. state protoimpl.MessageState
  22. sizeCache protoimpl.SizeCache
  23. unknownFields protoimpl.UnknownFields
  24. Status []*OutboundStatus `protobuf:"bytes,1,rep,name=status,proto3" json:"status,omitempty"`
  25. }
  26. func (x *ObservationResult) Reset() {
  27. *x = ObservationResult{}
  28. if protoimpl.UnsafeEnabled {
  29. mi := &file_app_observatory_config_proto_msgTypes[0]
  30. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  31. ms.StoreMessageInfo(mi)
  32. }
  33. }
  34. func (x *ObservationResult) String() string {
  35. return protoimpl.X.MessageStringOf(x)
  36. }
  37. func (*ObservationResult) ProtoMessage() {}
  38. func (x *ObservationResult) ProtoReflect() protoreflect.Message {
  39. mi := &file_app_observatory_config_proto_msgTypes[0]
  40. if protoimpl.UnsafeEnabled && x != nil {
  41. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  42. if ms.LoadMessageInfo() == nil {
  43. ms.StoreMessageInfo(mi)
  44. }
  45. return ms
  46. }
  47. return mi.MessageOf(x)
  48. }
  49. // Deprecated: Use ObservationResult.ProtoReflect.Descriptor instead.
  50. func (*ObservationResult) Descriptor() ([]byte, []int) {
  51. return file_app_observatory_config_proto_rawDescGZIP(), []int{0}
  52. }
  53. func (x *ObservationResult) GetStatus() []*OutboundStatus {
  54. if x != nil {
  55. return x.Status
  56. }
  57. return nil
  58. }
  59. type HealthPingMeasurementResult struct {
  60. state protoimpl.MessageState
  61. sizeCache protoimpl.SizeCache
  62. unknownFields protoimpl.UnknownFields
  63. All int64 `protobuf:"varint,1,opt,name=all,proto3" json:"all,omitempty"`
  64. Fail int64 `protobuf:"varint,2,opt,name=fail,proto3" json:"fail,omitempty"`
  65. Deviation int64 `protobuf:"varint,3,opt,name=deviation,proto3" json:"deviation,omitempty"`
  66. Average int64 `protobuf:"varint,4,opt,name=average,proto3" json:"average,omitempty"`
  67. Max int64 `protobuf:"varint,5,opt,name=max,proto3" json:"max,omitempty"`
  68. Min int64 `protobuf:"varint,6,opt,name=min,proto3" json:"min,omitempty"`
  69. }
  70. func (x *HealthPingMeasurementResult) Reset() {
  71. *x = HealthPingMeasurementResult{}
  72. if protoimpl.UnsafeEnabled {
  73. mi := &file_app_observatory_config_proto_msgTypes[1]
  74. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  75. ms.StoreMessageInfo(mi)
  76. }
  77. }
  78. func (x *HealthPingMeasurementResult) String() string {
  79. return protoimpl.X.MessageStringOf(x)
  80. }
  81. func (*HealthPingMeasurementResult) ProtoMessage() {}
  82. func (x *HealthPingMeasurementResult) ProtoReflect() protoreflect.Message {
  83. mi := &file_app_observatory_config_proto_msgTypes[1]
  84. if protoimpl.UnsafeEnabled && x != nil {
  85. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  86. if ms.LoadMessageInfo() == nil {
  87. ms.StoreMessageInfo(mi)
  88. }
  89. return ms
  90. }
  91. return mi.MessageOf(x)
  92. }
  93. // Deprecated: Use HealthPingMeasurementResult.ProtoReflect.Descriptor instead.
  94. func (*HealthPingMeasurementResult) Descriptor() ([]byte, []int) {
  95. return file_app_observatory_config_proto_rawDescGZIP(), []int{1}
  96. }
  97. func (x *HealthPingMeasurementResult) GetAll() int64 {
  98. if x != nil {
  99. return x.All
  100. }
  101. return 0
  102. }
  103. func (x *HealthPingMeasurementResult) GetFail() int64 {
  104. if x != nil {
  105. return x.Fail
  106. }
  107. return 0
  108. }
  109. func (x *HealthPingMeasurementResult) GetDeviation() int64 {
  110. if x != nil {
  111. return x.Deviation
  112. }
  113. return 0
  114. }
  115. func (x *HealthPingMeasurementResult) GetAverage() int64 {
  116. if x != nil {
  117. return x.Average
  118. }
  119. return 0
  120. }
  121. func (x *HealthPingMeasurementResult) GetMax() int64 {
  122. if x != nil {
  123. return x.Max
  124. }
  125. return 0
  126. }
  127. func (x *HealthPingMeasurementResult) GetMin() int64 {
  128. if x != nil {
  129. return x.Min
  130. }
  131. return 0
  132. }
  133. type OutboundStatus struct {
  134. state protoimpl.MessageState
  135. sizeCache protoimpl.SizeCache
  136. unknownFields protoimpl.UnknownFields
  137. // @Document Whether this outbound is usable
  138. //@Restriction ReadOnlyForUser
  139. Alive bool `protobuf:"varint,1,opt,name=alive,proto3" json:"alive,omitempty"`
  140. // @Document The time for probe request to finish.
  141. //@Type time.ms
  142. //@Restriction ReadOnlyForUser
  143. Delay int64 `protobuf:"varint,2,opt,name=delay,proto3" json:"delay,omitempty"`
  144. // @Document The last error caused this outbound failed to relay probe request
  145. //@Restriction NotMachineReadable
  146. LastErrorReason string `protobuf:"bytes,3,opt,name=last_error_reason,json=lastErrorReason,proto3" json:"last_error_reason,omitempty"`
  147. // @Document The outbound tag for this Server
  148. //@Type id.outboundTag
  149. OutboundTag string `protobuf:"bytes,4,opt,name=outbound_tag,json=outboundTag,proto3" json:"outbound_tag,omitempty"`
  150. // @Document The time this outbound is known to be alive
  151. //@Type id.outboundTag
  152. LastSeenTime int64 `protobuf:"varint,5,opt,name=last_seen_time,json=lastSeenTime,proto3" json:"last_seen_time,omitempty"`
  153. // @Document The time this outbound is tried
  154. //@Type id.outboundTag
  155. LastTryTime int64 `protobuf:"varint,6,opt,name=last_try_time,json=lastTryTime,proto3" json:"last_try_time,omitempty"`
  156. HealthPing *HealthPingMeasurementResult `protobuf:"bytes,7,opt,name=health_ping,json=healthPing,proto3" json:"health_ping,omitempty"`
  157. }
  158. func (x *OutboundStatus) Reset() {
  159. *x = OutboundStatus{}
  160. if protoimpl.UnsafeEnabled {
  161. mi := &file_app_observatory_config_proto_msgTypes[2]
  162. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  163. ms.StoreMessageInfo(mi)
  164. }
  165. }
  166. func (x *OutboundStatus) String() string {
  167. return protoimpl.X.MessageStringOf(x)
  168. }
  169. func (*OutboundStatus) ProtoMessage() {}
  170. func (x *OutboundStatus) ProtoReflect() protoreflect.Message {
  171. mi := &file_app_observatory_config_proto_msgTypes[2]
  172. if protoimpl.UnsafeEnabled && x != nil {
  173. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  174. if ms.LoadMessageInfo() == nil {
  175. ms.StoreMessageInfo(mi)
  176. }
  177. return ms
  178. }
  179. return mi.MessageOf(x)
  180. }
  181. // Deprecated: Use OutboundStatus.ProtoReflect.Descriptor instead.
  182. func (*OutboundStatus) Descriptor() ([]byte, []int) {
  183. return file_app_observatory_config_proto_rawDescGZIP(), []int{2}
  184. }
  185. func (x *OutboundStatus) GetAlive() bool {
  186. if x != nil {
  187. return x.Alive
  188. }
  189. return false
  190. }
  191. func (x *OutboundStatus) GetDelay() int64 {
  192. if x != nil {
  193. return x.Delay
  194. }
  195. return 0
  196. }
  197. func (x *OutboundStatus) GetLastErrorReason() string {
  198. if x != nil {
  199. return x.LastErrorReason
  200. }
  201. return ""
  202. }
  203. func (x *OutboundStatus) GetOutboundTag() string {
  204. if x != nil {
  205. return x.OutboundTag
  206. }
  207. return ""
  208. }
  209. func (x *OutboundStatus) GetLastSeenTime() int64 {
  210. if x != nil {
  211. return x.LastSeenTime
  212. }
  213. return 0
  214. }
  215. func (x *OutboundStatus) GetLastTryTime() int64 {
  216. if x != nil {
  217. return x.LastTryTime
  218. }
  219. return 0
  220. }
  221. func (x *OutboundStatus) GetHealthPing() *HealthPingMeasurementResult {
  222. if x != nil {
  223. return x.HealthPing
  224. }
  225. return nil
  226. }
  227. type ProbeResult struct {
  228. state protoimpl.MessageState
  229. sizeCache protoimpl.SizeCache
  230. unknownFields protoimpl.UnknownFields
  231. // @Document Whether this outbound is usable
  232. //@Restriction ReadOnlyForUser
  233. Alive bool `protobuf:"varint,1,opt,name=alive,proto3" json:"alive,omitempty"`
  234. // @Document The time for probe request to finish.
  235. //@Type time.ms
  236. //@Restriction ReadOnlyForUser
  237. Delay int64 `protobuf:"varint,2,opt,name=delay,proto3" json:"delay,omitempty"`
  238. // @Document The error caused this outbound failed to relay probe request
  239. //@Restriction NotMachineReadable
  240. LastErrorReason string `protobuf:"bytes,3,opt,name=last_error_reason,json=lastErrorReason,proto3" json:"last_error_reason,omitempty"`
  241. }
  242. func (x *ProbeResult) Reset() {
  243. *x = ProbeResult{}
  244. if protoimpl.UnsafeEnabled {
  245. mi := &file_app_observatory_config_proto_msgTypes[3]
  246. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  247. ms.StoreMessageInfo(mi)
  248. }
  249. }
  250. func (x *ProbeResult) String() string {
  251. return protoimpl.X.MessageStringOf(x)
  252. }
  253. func (*ProbeResult) ProtoMessage() {}
  254. func (x *ProbeResult) ProtoReflect() protoreflect.Message {
  255. mi := &file_app_observatory_config_proto_msgTypes[3]
  256. if protoimpl.UnsafeEnabled && x != nil {
  257. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  258. if ms.LoadMessageInfo() == nil {
  259. ms.StoreMessageInfo(mi)
  260. }
  261. return ms
  262. }
  263. return mi.MessageOf(x)
  264. }
  265. // Deprecated: Use ProbeResult.ProtoReflect.Descriptor instead.
  266. func (*ProbeResult) Descriptor() ([]byte, []int) {
  267. return file_app_observatory_config_proto_rawDescGZIP(), []int{3}
  268. }
  269. func (x *ProbeResult) GetAlive() bool {
  270. if x != nil {
  271. return x.Alive
  272. }
  273. return false
  274. }
  275. func (x *ProbeResult) GetDelay() int64 {
  276. if x != nil {
  277. return x.Delay
  278. }
  279. return 0
  280. }
  281. func (x *ProbeResult) GetLastErrorReason() string {
  282. if x != nil {
  283. return x.LastErrorReason
  284. }
  285. return ""
  286. }
  287. type Intensity struct {
  288. state protoimpl.MessageState
  289. sizeCache protoimpl.SizeCache
  290. unknownFields protoimpl.UnknownFields
  291. // @Document The time interval for a probe request in ms.
  292. //@Type time.ms
  293. ProbeInterval uint32 `protobuf:"varint,1,opt,name=probe_interval,json=probeInterval,proto3" json:"probe_interval,omitempty"`
  294. }
  295. func (x *Intensity) Reset() {
  296. *x = Intensity{}
  297. if protoimpl.UnsafeEnabled {
  298. mi := &file_app_observatory_config_proto_msgTypes[4]
  299. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  300. ms.StoreMessageInfo(mi)
  301. }
  302. }
  303. func (x *Intensity) String() string {
  304. return protoimpl.X.MessageStringOf(x)
  305. }
  306. func (*Intensity) ProtoMessage() {}
  307. func (x *Intensity) ProtoReflect() protoreflect.Message {
  308. mi := &file_app_observatory_config_proto_msgTypes[4]
  309. if protoimpl.UnsafeEnabled && x != nil {
  310. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  311. if ms.LoadMessageInfo() == nil {
  312. ms.StoreMessageInfo(mi)
  313. }
  314. return ms
  315. }
  316. return mi.MessageOf(x)
  317. }
  318. // Deprecated: Use Intensity.ProtoReflect.Descriptor instead.
  319. func (*Intensity) Descriptor() ([]byte, []int) {
  320. return file_app_observatory_config_proto_rawDescGZIP(), []int{4}
  321. }
  322. func (x *Intensity) GetProbeInterval() uint32 {
  323. if x != nil {
  324. return x.ProbeInterval
  325. }
  326. return 0
  327. }
  328. type Config struct {
  329. state protoimpl.MessageState
  330. sizeCache protoimpl.SizeCache
  331. unknownFields protoimpl.UnknownFields
  332. // @Document The selectors for outbound under observation
  333. SubjectSelector []string `protobuf:"bytes,2,rep,name=subject_selector,json=subjectSelector,proto3" json:"subject_selector,omitempty"`
  334. ProbeUrl string `protobuf:"bytes,3,opt,name=probe_url,json=probeUrl,proto3" json:"probe_url,omitempty"`
  335. ProbeInterval int64 `protobuf:"varint,4,opt,name=probe_interval,json=probeInterval,proto3" json:"probe_interval,omitempty"`
  336. }
  337. func (x *Config) Reset() {
  338. *x = Config{}
  339. if protoimpl.UnsafeEnabled {
  340. mi := &file_app_observatory_config_proto_msgTypes[5]
  341. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  342. ms.StoreMessageInfo(mi)
  343. }
  344. }
  345. func (x *Config) String() string {
  346. return protoimpl.X.MessageStringOf(x)
  347. }
  348. func (*Config) ProtoMessage() {}
  349. func (x *Config) ProtoReflect() protoreflect.Message {
  350. mi := &file_app_observatory_config_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 Config.ProtoReflect.Descriptor instead.
  361. func (*Config) Descriptor() ([]byte, []int) {
  362. return file_app_observatory_config_proto_rawDescGZIP(), []int{5}
  363. }
  364. func (x *Config) GetSubjectSelector() []string {
  365. if x != nil {
  366. return x.SubjectSelector
  367. }
  368. return nil
  369. }
  370. func (x *Config) GetProbeUrl() string {
  371. if x != nil {
  372. return x.ProbeUrl
  373. }
  374. return ""
  375. }
  376. func (x *Config) GetProbeInterval() int64 {
  377. if x != nil {
  378. return x.ProbeInterval
  379. }
  380. return 0
  381. }
  382. var File_app_observatory_config_proto protoreflect.FileDescriptor
  383. var file_app_observatory_config_proto_rawDesc = []byte{
  384. 0x0a, 0x1c, 0x61, 0x70, 0x70, 0x2f, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x6f, 0x72,
  385. 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1a,
  386. 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x6f,
  387. 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x6f, 0x72, 0x79, 0x1a, 0x20, 0x63, 0x6f, 0x6d, 0x6d,
  388. 0x6f, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x65, 0x78, 0x74, 0x2f, 0x65, 0x78, 0x74, 0x65,
  389. 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x57, 0x0a, 0x11,
  390. 0x4f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c,
  391. 0x74, 0x12, 0x42, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,
  392. 0x0b, 0x32, 0x2a, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61,
  393. 0x70, 0x70, 0x2e, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x4f,
  394. 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73,
  395. 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x9f, 0x01, 0x0a, 0x1b, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68,
  396. 0x50, 0x69, 0x6e, 0x67, 0x4d, 0x65, 0x61, 0x73, 0x75, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52,
  397. 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x6c, 0x6c, 0x18, 0x01, 0x20, 0x01,
  398. 0x28, 0x03, 0x52, 0x03, 0x61, 0x6c, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x61, 0x69, 0x6c, 0x18,
  399. 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x66, 0x61, 0x69, 0x6c, 0x12, 0x1c, 0x0a, 0x09, 0x64,
  400. 0x65, 0x76, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09,
  401. 0x64, 0x65, 0x76, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x76, 0x65,
  402. 0x72, 0x61, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x61, 0x76, 0x65, 0x72,
  403. 0x61, 0x67, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x61, 0x78, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03,
  404. 0x52, 0x03, 0x6d, 0x61, 0x78, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x69, 0x6e, 0x18, 0x06, 0x20, 0x01,
  405. 0x28, 0x03, 0x52, 0x03, 0x6d, 0x69, 0x6e, 0x22, 0xaf, 0x02, 0x0a, 0x0e, 0x4f, 0x75, 0x74, 0x62,
  406. 0x6f, 0x75, 0x6e, 0x64, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x6c,
  407. 0x69, 0x76, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x61, 0x6c, 0x69, 0x76, 0x65,
  408. 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52,
  409. 0x05, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x12, 0x2a, 0x0a, 0x11, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x65,
  410. 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28,
  411. 0x09, 0x52, 0x0f, 0x6c, 0x61, 0x73, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x65, 0x61, 0x73,
  412. 0x6f, 0x6e, 0x12, 0x21, 0x0a, 0x0c, 0x6f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x74,
  413. 0x61, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x75, 0x74, 0x62, 0x6f, 0x75,
  414. 0x6e, 0x64, 0x54, 0x61, 0x67, 0x12, 0x24, 0x0a, 0x0e, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x73, 0x65,
  415. 0x65, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x6c,
  416. 0x61, 0x73, 0x74, 0x53, 0x65, 0x65, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x22, 0x0a, 0x0d, 0x6c,
  417. 0x61, 0x73, 0x74, 0x5f, 0x74, 0x72, 0x79, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01,
  418. 0x28, 0x03, 0x52, 0x0b, 0x6c, 0x61, 0x73, 0x74, 0x54, 0x72, 0x79, 0x54, 0x69, 0x6d, 0x65, 0x12,
  419. 0x58, 0x0a, 0x0b, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x5f, 0x70, 0x69, 0x6e, 0x67, 0x18, 0x07,
  420. 0x20, 0x01, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72,
  421. 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x6f, 0x72,
  422. 0x79, 0x2e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x50, 0x69, 0x6e, 0x67, 0x4d, 0x65, 0x61, 0x73,
  423. 0x75, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x0a, 0x68,
  424. 0x65, 0x61, 0x6c, 0x74, 0x68, 0x50, 0x69, 0x6e, 0x67, 0x22, 0x65, 0x0a, 0x0b, 0x50, 0x72, 0x6f,
  425. 0x62, 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x6c, 0x69, 0x76,
  426. 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x61, 0x6c, 0x69, 0x76, 0x65, 0x12, 0x14,
  427. 0x0a, 0x05, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x64,
  428. 0x65, 0x6c, 0x61, 0x79, 0x12, 0x2a, 0x0a, 0x11, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x65, 0x72, 0x72,
  429. 0x6f, 0x72, 0x5f, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
  430. 0x0f, 0x6c, 0x61, 0x73, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e,
  431. 0x22, 0x32, 0x0a, 0x09, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x74, 0x79, 0x12, 0x25, 0x0a,
  432. 0x0e, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18,
  433. 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x49, 0x6e, 0x74, 0x65,
  434. 0x72, 0x76, 0x61, 0x6c, 0x22, 0xa1, 0x01, 0x0a, 0x06, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12,
  435. 0x29, 0x0a, 0x10, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x73, 0x65, 0x6c, 0x65, 0x63,
  436. 0x74, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0f, 0x73, 0x75, 0x62, 0x6a, 0x65,
  437. 0x63, 0x74, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x72,
  438. 0x6f, 0x62, 0x65, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70,
  439. 0x72, 0x6f, 0x62, 0x65, 0x55, 0x72, 0x6c, 0x12, 0x25, 0x0a, 0x0e, 0x70, 0x72, 0x6f, 0x62, 0x65,
  440. 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52,
  441. 0x0d, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x3a, 0x28,
  442. 0x82, 0xb5, 0x18, 0x09, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x82, 0xb5, 0x18,
  443. 0x17, 0x12, 0x15, 0x62, 0x61, 0x63, 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x4f, 0x62, 0x73,
  444. 0x65, 0x72, 0x76, 0x61, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x6f, 0x0a, 0x1e, 0x63, 0x6f, 0x6d, 0x2e,
  445. 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x6f,
  446. 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x6f, 0x72, 0x79, 0x50, 0x01, 0x5a, 0x2e, 0x67, 0x69,
  447. 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x76, 0x32, 0x66, 0x6c, 0x79, 0x2f, 0x76,
  448. 0x32, 0x72, 0x61, 0x79, 0x2d, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x35, 0x2f, 0x61, 0x70, 0x70,
  449. 0x2f, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x6f, 0x72, 0x79, 0xaa, 0x02, 0x1a, 0x56,
  450. 0x32, 0x52, 0x61, 0x79, 0x2e, 0x43, 0x6f, 0x72, 0x65, 0x2e, 0x41, 0x70, 0x70, 0x2e, 0x4f, 0x62,
  451. 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x6f, 0x72, 0x79, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  452. 0x33,
  453. }
  454. var (
  455. file_app_observatory_config_proto_rawDescOnce sync.Once
  456. file_app_observatory_config_proto_rawDescData = file_app_observatory_config_proto_rawDesc
  457. )
  458. func file_app_observatory_config_proto_rawDescGZIP() []byte {
  459. file_app_observatory_config_proto_rawDescOnce.Do(func() {
  460. file_app_observatory_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_app_observatory_config_proto_rawDescData)
  461. })
  462. return file_app_observatory_config_proto_rawDescData
  463. }
  464. var file_app_observatory_config_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
  465. var file_app_observatory_config_proto_goTypes = []interface{}{
  466. (*ObservationResult)(nil), // 0: v2ray.core.app.observatory.ObservationResult
  467. (*HealthPingMeasurementResult)(nil), // 1: v2ray.core.app.observatory.HealthPingMeasurementResult
  468. (*OutboundStatus)(nil), // 2: v2ray.core.app.observatory.OutboundStatus
  469. (*ProbeResult)(nil), // 3: v2ray.core.app.observatory.ProbeResult
  470. (*Intensity)(nil), // 4: v2ray.core.app.observatory.Intensity
  471. (*Config)(nil), // 5: v2ray.core.app.observatory.Config
  472. }
  473. var file_app_observatory_config_proto_depIdxs = []int32{
  474. 2, // 0: v2ray.core.app.observatory.ObservationResult.status:type_name -> v2ray.core.app.observatory.OutboundStatus
  475. 1, // 1: v2ray.core.app.observatory.OutboundStatus.health_ping:type_name -> v2ray.core.app.observatory.HealthPingMeasurementResult
  476. 2, // [2:2] is the sub-list for method output_type
  477. 2, // [2:2] is the sub-list for method input_type
  478. 2, // [2:2] is the sub-list for extension type_name
  479. 2, // [2:2] is the sub-list for extension extendee
  480. 0, // [0:2] is the sub-list for field type_name
  481. }
  482. func init() { file_app_observatory_config_proto_init() }
  483. func file_app_observatory_config_proto_init() {
  484. if File_app_observatory_config_proto != nil {
  485. return
  486. }
  487. if !protoimpl.UnsafeEnabled {
  488. file_app_observatory_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  489. switch v := v.(*ObservationResult); i {
  490. case 0:
  491. return &v.state
  492. case 1:
  493. return &v.sizeCache
  494. case 2:
  495. return &v.unknownFields
  496. default:
  497. return nil
  498. }
  499. }
  500. file_app_observatory_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  501. switch v := v.(*HealthPingMeasurementResult); i {
  502. case 0:
  503. return &v.state
  504. case 1:
  505. return &v.sizeCache
  506. case 2:
  507. return &v.unknownFields
  508. default:
  509. return nil
  510. }
  511. }
  512. file_app_observatory_config_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  513. switch v := v.(*OutboundStatus); i {
  514. case 0:
  515. return &v.state
  516. case 1:
  517. return &v.sizeCache
  518. case 2:
  519. return &v.unknownFields
  520. default:
  521. return nil
  522. }
  523. }
  524. file_app_observatory_config_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  525. switch v := v.(*ProbeResult); i {
  526. case 0:
  527. return &v.state
  528. case 1:
  529. return &v.sizeCache
  530. case 2:
  531. return &v.unknownFields
  532. default:
  533. return nil
  534. }
  535. }
  536. file_app_observatory_config_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  537. switch v := v.(*Intensity); i {
  538. case 0:
  539. return &v.state
  540. case 1:
  541. return &v.sizeCache
  542. case 2:
  543. return &v.unknownFields
  544. default:
  545. return nil
  546. }
  547. }
  548. file_app_observatory_config_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  549. switch v := v.(*Config); i {
  550. case 0:
  551. return &v.state
  552. case 1:
  553. return &v.sizeCache
  554. case 2:
  555. return &v.unknownFields
  556. default:
  557. return nil
  558. }
  559. }
  560. }
  561. type x struct{}
  562. out := protoimpl.TypeBuilder{
  563. File: protoimpl.DescBuilder{
  564. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  565. RawDescriptor: file_app_observatory_config_proto_rawDesc,
  566. NumEnums: 0,
  567. NumMessages: 6,
  568. NumExtensions: 0,
  569. NumServices: 0,
  570. },
  571. GoTypes: file_app_observatory_config_proto_goTypes,
  572. DependencyIndexes: file_app_observatory_config_proto_depIdxs,
  573. MessageInfos: file_app_observatory_config_proto_msgTypes,
  574. }.Build()
  575. File_app_observatory_config_proto = out.File
  576. file_app_observatory_config_proto_rawDesc = nil
  577. file_app_observatory_config_proto_goTypes = nil
  578. file_app_observatory_config_proto_depIdxs = nil
  579. }