config.pb.go 17 KB

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