config.pb.go 17 KB

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