config.pb.go 18 KB

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