config.pb.go 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510
  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/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. }
  254. func (x *Config) Reset() {
  255. *x = Config{}
  256. if protoimpl.UnsafeEnabled {
  257. mi := &file_app_observatory_config_proto_msgTypes[4]
  258. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  259. ms.StoreMessageInfo(mi)
  260. }
  261. }
  262. func (x *Config) String() string {
  263. return protoimpl.X.MessageStringOf(x)
  264. }
  265. func (*Config) ProtoMessage() {}
  266. func (x *Config) ProtoReflect() protoreflect.Message {
  267. mi := &file_app_observatory_config_proto_msgTypes[4]
  268. if protoimpl.UnsafeEnabled && x != nil {
  269. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  270. if ms.LoadMessageInfo() == nil {
  271. ms.StoreMessageInfo(mi)
  272. }
  273. return ms
  274. }
  275. return mi.MessageOf(x)
  276. }
  277. // Deprecated: Use Config.ProtoReflect.Descriptor instead.
  278. func (*Config) Descriptor() ([]byte, []int) {
  279. return file_app_observatory_config_proto_rawDescGZIP(), []int{4}
  280. }
  281. func (x *Config) GetSubjectSelector() []string {
  282. if x != nil {
  283. return x.SubjectSelector
  284. }
  285. return nil
  286. }
  287. func (x *Config) GetProbeUrl() string {
  288. if x != nil {
  289. return x.ProbeUrl
  290. }
  291. return ""
  292. }
  293. var File_app_observatory_config_proto protoreflect.FileDescriptor
  294. var file_app_observatory_config_proto_rawDesc = []byte{
  295. 0x0a, 0x1c, 0x61, 0x70, 0x70, 0x2f, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x6f, 0x72,
  296. 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1a,
  297. 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x6f,
  298. 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x6f, 0x72, 0x79, 0x22, 0x57, 0x0a, 0x11, 0x4f, 0x62,
  299. 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12,
  300. 0x42, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
  301. 0x2a, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70,
  302. 0x2e, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x4f, 0x75, 0x74,
  303. 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61,
  304. 0x74, 0x75, 0x73, 0x22, 0xd5, 0x01, 0x0a, 0x0e, 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64,
  305. 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x6c, 0x69, 0x76, 0x65, 0x18,
  306. 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x61, 0x6c, 0x69, 0x76, 0x65, 0x12, 0x14, 0x0a, 0x05,
  307. 0x64, 0x65, 0x6c, 0x61, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x64, 0x65, 0x6c,
  308. 0x61, 0x79, 0x12, 0x2a, 0x0a, 0x11, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72,
  309. 0x5f, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x6c,
  310. 0x61, 0x73, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x21,
  311. 0x0a, 0x0c, 0x6f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x74, 0x61, 0x67, 0x18, 0x04,
  312. 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x54, 0x61,
  313. 0x67, 0x12, 0x24, 0x0a, 0x0e, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x73, 0x65, 0x65, 0x6e, 0x5f, 0x74,
  314. 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x6c, 0x61, 0x73, 0x74, 0x53,
  315. 0x65, 0x65, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x22, 0x0a, 0x0d, 0x6c, 0x61, 0x73, 0x74, 0x5f,
  316. 0x74, 0x72, 0x79, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b,
  317. 0x6c, 0x61, 0x73, 0x74, 0x54, 0x72, 0x79, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x65, 0x0a, 0x0b, 0x50,
  318. 0x72, 0x6f, 0x62, 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x6c,
  319. 0x69, 0x76, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x61, 0x6c, 0x69, 0x76, 0x65,
  320. 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52,
  321. 0x05, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x12, 0x2a, 0x0a, 0x11, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x65,
  322. 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28,
  323. 0x09, 0x52, 0x0f, 0x6c, 0x61, 0x73, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x65, 0x61, 0x73,
  324. 0x6f, 0x6e, 0x22, 0x32, 0x0a, 0x09, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x74, 0x79, 0x12,
  325. 0x25, 0x0a, 0x0e, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61,
  326. 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x49, 0x6e,
  327. 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x22, 0x50, 0x0a, 0x06, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
  328. 0x12, 0x29, 0x0a, 0x10, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x73, 0x65, 0x6c, 0x65,
  329. 0x63, 0x74, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0f, 0x73, 0x75, 0x62, 0x6a,
  330. 0x65, 0x63, 0x74, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x70,
  331. 0x72, 0x6f, 0x62, 0x65, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,
  332. 0x70, 0x72, 0x6f, 0x62, 0x65, 0x55, 0x72, 0x6c, 0x42, 0x6f, 0x0a, 0x1e, 0x63, 0x6f, 0x6d, 0x2e,
  333. 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x6f,
  334. 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x6f, 0x72, 0x79, 0x50, 0x01, 0x5a, 0x2e, 0x67, 0x69,
  335. 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x76, 0x32, 0x66, 0x6c, 0x79, 0x2f, 0x76,
  336. 0x32, 0x72, 0x61, 0x79, 0x2d, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x34, 0x2f, 0x61, 0x70, 0x70,
  337. 0x2f, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x6f, 0x72, 0x79, 0xaa, 0x02, 0x1a, 0x56,
  338. 0x32, 0x52, 0x61, 0x79, 0x2e, 0x43, 0x6f, 0x72, 0x65, 0x2e, 0x41, 0x70, 0x70, 0x2e, 0x4f, 0x62,
  339. 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x6f, 0x72, 0x79, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  340. 0x33,
  341. }
  342. var (
  343. file_app_observatory_config_proto_rawDescOnce sync.Once
  344. file_app_observatory_config_proto_rawDescData = file_app_observatory_config_proto_rawDesc
  345. )
  346. func file_app_observatory_config_proto_rawDescGZIP() []byte {
  347. file_app_observatory_config_proto_rawDescOnce.Do(func() {
  348. file_app_observatory_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_app_observatory_config_proto_rawDescData)
  349. })
  350. return file_app_observatory_config_proto_rawDescData
  351. }
  352. var file_app_observatory_config_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
  353. var file_app_observatory_config_proto_goTypes = []interface{}{
  354. (*ObservationResult)(nil), // 0: v2ray.core.app.observatory.ObservationResult
  355. (*OutboundStatus)(nil), // 1: v2ray.core.app.observatory.OutboundStatus
  356. (*ProbeResult)(nil), // 2: v2ray.core.app.observatory.ProbeResult
  357. (*Intensity)(nil), // 3: v2ray.core.app.observatory.Intensity
  358. (*Config)(nil), // 4: v2ray.core.app.observatory.Config
  359. }
  360. var file_app_observatory_config_proto_depIdxs = []int32{
  361. 1, // 0: v2ray.core.app.observatory.ObservationResult.status:type_name -> v2ray.core.app.observatory.OutboundStatus
  362. 1, // [1:1] is the sub-list for method output_type
  363. 1, // [1:1] is the sub-list for method input_type
  364. 1, // [1:1] is the sub-list for extension type_name
  365. 1, // [1:1] is the sub-list for extension extendee
  366. 0, // [0:1] is the sub-list for field type_name
  367. }
  368. func init() { file_app_observatory_config_proto_init() }
  369. func file_app_observatory_config_proto_init() {
  370. if File_app_observatory_config_proto != nil {
  371. return
  372. }
  373. if !protoimpl.UnsafeEnabled {
  374. file_app_observatory_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  375. switch v := v.(*ObservationResult); i {
  376. case 0:
  377. return &v.state
  378. case 1:
  379. return &v.sizeCache
  380. case 2:
  381. return &v.unknownFields
  382. default:
  383. return nil
  384. }
  385. }
  386. file_app_observatory_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  387. switch v := v.(*OutboundStatus); i {
  388. case 0:
  389. return &v.state
  390. case 1:
  391. return &v.sizeCache
  392. case 2:
  393. return &v.unknownFields
  394. default:
  395. return nil
  396. }
  397. }
  398. file_app_observatory_config_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  399. switch v := v.(*ProbeResult); i {
  400. case 0:
  401. return &v.state
  402. case 1:
  403. return &v.sizeCache
  404. case 2:
  405. return &v.unknownFields
  406. default:
  407. return nil
  408. }
  409. }
  410. file_app_observatory_config_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  411. switch v := v.(*Intensity); i {
  412. case 0:
  413. return &v.state
  414. case 1:
  415. return &v.sizeCache
  416. case 2:
  417. return &v.unknownFields
  418. default:
  419. return nil
  420. }
  421. }
  422. file_app_observatory_config_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  423. switch v := v.(*Config); i {
  424. case 0:
  425. return &v.state
  426. case 1:
  427. return &v.sizeCache
  428. case 2:
  429. return &v.unknownFields
  430. default:
  431. return nil
  432. }
  433. }
  434. }
  435. type x struct{}
  436. out := protoimpl.TypeBuilder{
  437. File: protoimpl.DescBuilder{
  438. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  439. RawDescriptor: file_app_observatory_config_proto_rawDesc,
  440. NumEnums: 0,
  441. NumMessages: 5,
  442. NumExtensions: 0,
  443. NumServices: 0,
  444. },
  445. GoTypes: file_app_observatory_config_proto_goTypes,
  446. DependencyIndexes: file_app_observatory_config_proto_depIdxs,
  447. MessageInfos: file_app_observatory_config_proto_msgTypes,
  448. }.Build()
  449. File_app_observatory_config_proto = out.File
  450. file_app_observatory_config_proto_rawDesc = nil
  451. file_app_observatory_config_proto_goTypes = nil
  452. file_app_observatory_config_proto_depIdxs = nil
  453. }