config.pb.go 20 KB

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