metrics.pb.go 51 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399
  1. // Copyright 2013 Prometheus Team
  2. // Licensed under the Apache License, Version 2.0 (the "License");
  3. // you may not use this file except in compliance with the License.
  4. // You may obtain a copy of the License at
  5. //
  6. // http://www.apache.org/licenses/LICENSE-2.0
  7. //
  8. // Unless required by applicable law or agreed to in writing, software
  9. // distributed under the License is distributed on an "AS IS" BASIS,
  10. // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  11. // See the License for the specific language governing permissions and
  12. // limitations under the License.
  13. // Code generated by protoc-gen-go. DO NOT EDIT.
  14. // versions:
  15. // protoc-gen-go v1.30.0
  16. // protoc v3.20.3
  17. // source: io/prometheus/client/metrics.proto
  18. package io_prometheus_client
  19. import (
  20. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  21. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  22. timestamppb "google.golang.org/protobuf/types/known/timestamppb"
  23. reflect "reflect"
  24. sync "sync"
  25. )
  26. const (
  27. // Verify that this generated code is sufficiently up-to-date.
  28. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  29. // Verify that runtime/protoimpl is sufficiently up-to-date.
  30. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  31. )
  32. type MetricType int32
  33. const (
  34. // COUNTER must use the Metric field "counter".
  35. MetricType_COUNTER MetricType = 0
  36. // GAUGE must use the Metric field "gauge".
  37. MetricType_GAUGE MetricType = 1
  38. // SUMMARY must use the Metric field "summary".
  39. MetricType_SUMMARY MetricType = 2
  40. // UNTYPED must use the Metric field "untyped".
  41. MetricType_UNTYPED MetricType = 3
  42. // HISTOGRAM must use the Metric field "histogram".
  43. MetricType_HISTOGRAM MetricType = 4
  44. // GAUGE_HISTOGRAM must use the Metric field "histogram".
  45. MetricType_GAUGE_HISTOGRAM MetricType = 5
  46. )
  47. // Enum value maps for MetricType.
  48. var (
  49. MetricType_name = map[int32]string{
  50. 0: "COUNTER",
  51. 1: "GAUGE",
  52. 2: "SUMMARY",
  53. 3: "UNTYPED",
  54. 4: "HISTOGRAM",
  55. 5: "GAUGE_HISTOGRAM",
  56. }
  57. MetricType_value = map[string]int32{
  58. "COUNTER": 0,
  59. "GAUGE": 1,
  60. "SUMMARY": 2,
  61. "UNTYPED": 3,
  62. "HISTOGRAM": 4,
  63. "GAUGE_HISTOGRAM": 5,
  64. }
  65. )
  66. func (x MetricType) Enum() *MetricType {
  67. p := new(MetricType)
  68. *p = x
  69. return p
  70. }
  71. func (x MetricType) String() string {
  72. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  73. }
  74. func (MetricType) Descriptor() protoreflect.EnumDescriptor {
  75. return file_io_prometheus_client_metrics_proto_enumTypes[0].Descriptor()
  76. }
  77. func (MetricType) Type() protoreflect.EnumType {
  78. return &file_io_prometheus_client_metrics_proto_enumTypes[0]
  79. }
  80. func (x MetricType) Number() protoreflect.EnumNumber {
  81. return protoreflect.EnumNumber(x)
  82. }
  83. // Deprecated: Do not use.
  84. func (x *MetricType) UnmarshalJSON(b []byte) error {
  85. num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
  86. if err != nil {
  87. return err
  88. }
  89. *x = MetricType(num)
  90. return nil
  91. }
  92. // Deprecated: Use MetricType.Descriptor instead.
  93. func (MetricType) EnumDescriptor() ([]byte, []int) {
  94. return file_io_prometheus_client_metrics_proto_rawDescGZIP(), []int{0}
  95. }
  96. type LabelPair struct {
  97. state protoimpl.MessageState
  98. sizeCache protoimpl.SizeCache
  99. unknownFields protoimpl.UnknownFields
  100. Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
  101. Value *string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"`
  102. }
  103. func (x *LabelPair) Reset() {
  104. *x = LabelPair{}
  105. if protoimpl.UnsafeEnabled {
  106. mi := &file_io_prometheus_client_metrics_proto_msgTypes[0]
  107. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  108. ms.StoreMessageInfo(mi)
  109. }
  110. }
  111. func (x *LabelPair) String() string {
  112. return protoimpl.X.MessageStringOf(x)
  113. }
  114. func (*LabelPair) ProtoMessage() {}
  115. func (x *LabelPair) ProtoReflect() protoreflect.Message {
  116. mi := &file_io_prometheus_client_metrics_proto_msgTypes[0]
  117. if protoimpl.UnsafeEnabled && x != nil {
  118. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  119. if ms.LoadMessageInfo() == nil {
  120. ms.StoreMessageInfo(mi)
  121. }
  122. return ms
  123. }
  124. return mi.MessageOf(x)
  125. }
  126. // Deprecated: Use LabelPair.ProtoReflect.Descriptor instead.
  127. func (*LabelPair) Descriptor() ([]byte, []int) {
  128. return file_io_prometheus_client_metrics_proto_rawDescGZIP(), []int{0}
  129. }
  130. func (x *LabelPair) GetName() string {
  131. if x != nil && x.Name != nil {
  132. return *x.Name
  133. }
  134. return ""
  135. }
  136. func (x *LabelPair) GetValue() string {
  137. if x != nil && x.Value != nil {
  138. return *x.Value
  139. }
  140. return ""
  141. }
  142. type Gauge struct {
  143. state protoimpl.MessageState
  144. sizeCache protoimpl.SizeCache
  145. unknownFields protoimpl.UnknownFields
  146. Value *float64 `protobuf:"fixed64,1,opt,name=value" json:"value,omitempty"`
  147. }
  148. func (x *Gauge) Reset() {
  149. *x = Gauge{}
  150. if protoimpl.UnsafeEnabled {
  151. mi := &file_io_prometheus_client_metrics_proto_msgTypes[1]
  152. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  153. ms.StoreMessageInfo(mi)
  154. }
  155. }
  156. func (x *Gauge) String() string {
  157. return protoimpl.X.MessageStringOf(x)
  158. }
  159. func (*Gauge) ProtoMessage() {}
  160. func (x *Gauge) ProtoReflect() protoreflect.Message {
  161. mi := &file_io_prometheus_client_metrics_proto_msgTypes[1]
  162. if protoimpl.UnsafeEnabled && x != nil {
  163. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  164. if ms.LoadMessageInfo() == nil {
  165. ms.StoreMessageInfo(mi)
  166. }
  167. return ms
  168. }
  169. return mi.MessageOf(x)
  170. }
  171. // Deprecated: Use Gauge.ProtoReflect.Descriptor instead.
  172. func (*Gauge) Descriptor() ([]byte, []int) {
  173. return file_io_prometheus_client_metrics_proto_rawDescGZIP(), []int{1}
  174. }
  175. func (x *Gauge) GetValue() float64 {
  176. if x != nil && x.Value != nil {
  177. return *x.Value
  178. }
  179. return 0
  180. }
  181. type Counter struct {
  182. state protoimpl.MessageState
  183. sizeCache protoimpl.SizeCache
  184. unknownFields protoimpl.UnknownFields
  185. Value *float64 `protobuf:"fixed64,1,opt,name=value" json:"value,omitempty"`
  186. Exemplar *Exemplar `protobuf:"bytes,2,opt,name=exemplar" json:"exemplar,omitempty"`
  187. CreatedTimestamp *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_timestamp,json=createdTimestamp" json:"created_timestamp,omitempty"`
  188. }
  189. func (x *Counter) Reset() {
  190. *x = Counter{}
  191. if protoimpl.UnsafeEnabled {
  192. mi := &file_io_prometheus_client_metrics_proto_msgTypes[2]
  193. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  194. ms.StoreMessageInfo(mi)
  195. }
  196. }
  197. func (x *Counter) String() string {
  198. return protoimpl.X.MessageStringOf(x)
  199. }
  200. func (*Counter) ProtoMessage() {}
  201. func (x *Counter) ProtoReflect() protoreflect.Message {
  202. mi := &file_io_prometheus_client_metrics_proto_msgTypes[2]
  203. if protoimpl.UnsafeEnabled && x != nil {
  204. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  205. if ms.LoadMessageInfo() == nil {
  206. ms.StoreMessageInfo(mi)
  207. }
  208. return ms
  209. }
  210. return mi.MessageOf(x)
  211. }
  212. // Deprecated: Use Counter.ProtoReflect.Descriptor instead.
  213. func (*Counter) Descriptor() ([]byte, []int) {
  214. return file_io_prometheus_client_metrics_proto_rawDescGZIP(), []int{2}
  215. }
  216. func (x *Counter) GetValue() float64 {
  217. if x != nil && x.Value != nil {
  218. return *x.Value
  219. }
  220. return 0
  221. }
  222. func (x *Counter) GetExemplar() *Exemplar {
  223. if x != nil {
  224. return x.Exemplar
  225. }
  226. return nil
  227. }
  228. func (x *Counter) GetCreatedTimestamp() *timestamppb.Timestamp {
  229. if x != nil {
  230. return x.CreatedTimestamp
  231. }
  232. return nil
  233. }
  234. type Quantile struct {
  235. state protoimpl.MessageState
  236. sizeCache protoimpl.SizeCache
  237. unknownFields protoimpl.UnknownFields
  238. Quantile *float64 `protobuf:"fixed64,1,opt,name=quantile" json:"quantile,omitempty"`
  239. Value *float64 `protobuf:"fixed64,2,opt,name=value" json:"value,omitempty"`
  240. }
  241. func (x *Quantile) Reset() {
  242. *x = Quantile{}
  243. if protoimpl.UnsafeEnabled {
  244. mi := &file_io_prometheus_client_metrics_proto_msgTypes[3]
  245. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  246. ms.StoreMessageInfo(mi)
  247. }
  248. }
  249. func (x *Quantile) String() string {
  250. return protoimpl.X.MessageStringOf(x)
  251. }
  252. func (*Quantile) ProtoMessage() {}
  253. func (x *Quantile) ProtoReflect() protoreflect.Message {
  254. mi := &file_io_prometheus_client_metrics_proto_msgTypes[3]
  255. if protoimpl.UnsafeEnabled && x != nil {
  256. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  257. if ms.LoadMessageInfo() == nil {
  258. ms.StoreMessageInfo(mi)
  259. }
  260. return ms
  261. }
  262. return mi.MessageOf(x)
  263. }
  264. // Deprecated: Use Quantile.ProtoReflect.Descriptor instead.
  265. func (*Quantile) Descriptor() ([]byte, []int) {
  266. return file_io_prometheus_client_metrics_proto_rawDescGZIP(), []int{3}
  267. }
  268. func (x *Quantile) GetQuantile() float64 {
  269. if x != nil && x.Quantile != nil {
  270. return *x.Quantile
  271. }
  272. return 0
  273. }
  274. func (x *Quantile) GetValue() float64 {
  275. if x != nil && x.Value != nil {
  276. return *x.Value
  277. }
  278. return 0
  279. }
  280. type Summary struct {
  281. state protoimpl.MessageState
  282. sizeCache protoimpl.SizeCache
  283. unknownFields protoimpl.UnknownFields
  284. SampleCount *uint64 `protobuf:"varint,1,opt,name=sample_count,json=sampleCount" json:"sample_count,omitempty"`
  285. SampleSum *float64 `protobuf:"fixed64,2,opt,name=sample_sum,json=sampleSum" json:"sample_sum,omitempty"`
  286. Quantile []*Quantile `protobuf:"bytes,3,rep,name=quantile" json:"quantile,omitempty"`
  287. CreatedTimestamp *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_timestamp,json=createdTimestamp" json:"created_timestamp,omitempty"`
  288. }
  289. func (x *Summary) Reset() {
  290. *x = Summary{}
  291. if protoimpl.UnsafeEnabled {
  292. mi := &file_io_prometheus_client_metrics_proto_msgTypes[4]
  293. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  294. ms.StoreMessageInfo(mi)
  295. }
  296. }
  297. func (x *Summary) String() string {
  298. return protoimpl.X.MessageStringOf(x)
  299. }
  300. func (*Summary) ProtoMessage() {}
  301. func (x *Summary) ProtoReflect() protoreflect.Message {
  302. mi := &file_io_prometheus_client_metrics_proto_msgTypes[4]
  303. if protoimpl.UnsafeEnabled && x != nil {
  304. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  305. if ms.LoadMessageInfo() == nil {
  306. ms.StoreMessageInfo(mi)
  307. }
  308. return ms
  309. }
  310. return mi.MessageOf(x)
  311. }
  312. // Deprecated: Use Summary.ProtoReflect.Descriptor instead.
  313. func (*Summary) Descriptor() ([]byte, []int) {
  314. return file_io_prometheus_client_metrics_proto_rawDescGZIP(), []int{4}
  315. }
  316. func (x *Summary) GetSampleCount() uint64 {
  317. if x != nil && x.SampleCount != nil {
  318. return *x.SampleCount
  319. }
  320. return 0
  321. }
  322. func (x *Summary) GetSampleSum() float64 {
  323. if x != nil && x.SampleSum != nil {
  324. return *x.SampleSum
  325. }
  326. return 0
  327. }
  328. func (x *Summary) GetQuantile() []*Quantile {
  329. if x != nil {
  330. return x.Quantile
  331. }
  332. return nil
  333. }
  334. func (x *Summary) GetCreatedTimestamp() *timestamppb.Timestamp {
  335. if x != nil {
  336. return x.CreatedTimestamp
  337. }
  338. return nil
  339. }
  340. type Untyped struct {
  341. state protoimpl.MessageState
  342. sizeCache protoimpl.SizeCache
  343. unknownFields protoimpl.UnknownFields
  344. Value *float64 `protobuf:"fixed64,1,opt,name=value" json:"value,omitempty"`
  345. }
  346. func (x *Untyped) Reset() {
  347. *x = Untyped{}
  348. if protoimpl.UnsafeEnabled {
  349. mi := &file_io_prometheus_client_metrics_proto_msgTypes[5]
  350. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  351. ms.StoreMessageInfo(mi)
  352. }
  353. }
  354. func (x *Untyped) String() string {
  355. return protoimpl.X.MessageStringOf(x)
  356. }
  357. func (*Untyped) ProtoMessage() {}
  358. func (x *Untyped) ProtoReflect() protoreflect.Message {
  359. mi := &file_io_prometheus_client_metrics_proto_msgTypes[5]
  360. if protoimpl.UnsafeEnabled && x != nil {
  361. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  362. if ms.LoadMessageInfo() == nil {
  363. ms.StoreMessageInfo(mi)
  364. }
  365. return ms
  366. }
  367. return mi.MessageOf(x)
  368. }
  369. // Deprecated: Use Untyped.ProtoReflect.Descriptor instead.
  370. func (*Untyped) Descriptor() ([]byte, []int) {
  371. return file_io_prometheus_client_metrics_proto_rawDescGZIP(), []int{5}
  372. }
  373. func (x *Untyped) GetValue() float64 {
  374. if x != nil && x.Value != nil {
  375. return *x.Value
  376. }
  377. return 0
  378. }
  379. type Histogram struct {
  380. state protoimpl.MessageState
  381. sizeCache protoimpl.SizeCache
  382. unknownFields protoimpl.UnknownFields
  383. SampleCount *uint64 `protobuf:"varint,1,opt,name=sample_count,json=sampleCount" json:"sample_count,omitempty"`
  384. SampleCountFloat *float64 `protobuf:"fixed64,4,opt,name=sample_count_float,json=sampleCountFloat" json:"sample_count_float,omitempty"` // Overrides sample_count if > 0.
  385. SampleSum *float64 `protobuf:"fixed64,2,opt,name=sample_sum,json=sampleSum" json:"sample_sum,omitempty"`
  386. // Buckets for the conventional histogram.
  387. Bucket []*Bucket `protobuf:"bytes,3,rep,name=bucket" json:"bucket,omitempty"` // Ordered in increasing order of upper_bound, +Inf bucket is optional.
  388. CreatedTimestamp *timestamppb.Timestamp `protobuf:"bytes,15,opt,name=created_timestamp,json=createdTimestamp" json:"created_timestamp,omitempty"`
  389. // schema defines the bucket schema. Currently, valid numbers are -4 <= n <= 8.
  390. // They are all for base-2 bucket schemas, where 1 is a bucket boundary in each case, and
  391. // then each power of two is divided into 2^n logarithmic buckets.
  392. // Or in other words, each bucket boundary is the previous boundary times 2^(2^-n).
  393. // In the future, more bucket schemas may be added using numbers < -4 or > 8.
  394. Schema *int32 `protobuf:"zigzag32,5,opt,name=schema" json:"schema,omitempty"`
  395. ZeroThreshold *float64 `protobuf:"fixed64,6,opt,name=zero_threshold,json=zeroThreshold" json:"zero_threshold,omitempty"` // Breadth of the zero bucket.
  396. ZeroCount *uint64 `protobuf:"varint,7,opt,name=zero_count,json=zeroCount" json:"zero_count,omitempty"` // Count in zero bucket.
  397. ZeroCountFloat *float64 `protobuf:"fixed64,8,opt,name=zero_count_float,json=zeroCountFloat" json:"zero_count_float,omitempty"` // Overrides sb_zero_count if > 0.
  398. // Negative buckets for the native histogram.
  399. NegativeSpan []*BucketSpan `protobuf:"bytes,9,rep,name=negative_span,json=negativeSpan" json:"negative_span,omitempty"`
  400. // Use either "negative_delta" or "negative_count", the former for
  401. // regular histograms with integer counts, the latter for float
  402. // histograms.
  403. NegativeDelta []int64 `protobuf:"zigzag64,10,rep,name=negative_delta,json=negativeDelta" json:"negative_delta,omitempty"` // Count delta of each bucket compared to previous one (or to zero for 1st bucket).
  404. NegativeCount []float64 `protobuf:"fixed64,11,rep,name=negative_count,json=negativeCount" json:"negative_count,omitempty"` // Absolute count of each bucket.
  405. // Positive buckets for the native histogram.
  406. // Use a no-op span (offset 0, length 0) for a native histogram without any
  407. // observations yet and with a zero_threshold of 0. Otherwise, it would be
  408. // indistinguishable from a classic histogram.
  409. PositiveSpan []*BucketSpan `protobuf:"bytes,12,rep,name=positive_span,json=positiveSpan" json:"positive_span,omitempty"`
  410. // Use either "positive_delta" or "positive_count", the former for
  411. // regular histograms with integer counts, the latter for float
  412. // histograms.
  413. PositiveDelta []int64 `protobuf:"zigzag64,13,rep,name=positive_delta,json=positiveDelta" json:"positive_delta,omitempty"` // Count delta of each bucket compared to previous one (or to zero for 1st bucket).
  414. PositiveCount []float64 `protobuf:"fixed64,14,rep,name=positive_count,json=positiveCount" json:"positive_count,omitempty"` // Absolute count of each bucket.
  415. // Only used for native histograms. These exemplars MUST have a timestamp.
  416. Exemplars []*Exemplar `protobuf:"bytes,16,rep,name=exemplars" json:"exemplars,omitempty"`
  417. }
  418. func (x *Histogram) Reset() {
  419. *x = Histogram{}
  420. if protoimpl.UnsafeEnabled {
  421. mi := &file_io_prometheus_client_metrics_proto_msgTypes[6]
  422. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  423. ms.StoreMessageInfo(mi)
  424. }
  425. }
  426. func (x *Histogram) String() string {
  427. return protoimpl.X.MessageStringOf(x)
  428. }
  429. func (*Histogram) ProtoMessage() {}
  430. func (x *Histogram) ProtoReflect() protoreflect.Message {
  431. mi := &file_io_prometheus_client_metrics_proto_msgTypes[6]
  432. if protoimpl.UnsafeEnabled && x != nil {
  433. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  434. if ms.LoadMessageInfo() == nil {
  435. ms.StoreMessageInfo(mi)
  436. }
  437. return ms
  438. }
  439. return mi.MessageOf(x)
  440. }
  441. // Deprecated: Use Histogram.ProtoReflect.Descriptor instead.
  442. func (*Histogram) Descriptor() ([]byte, []int) {
  443. return file_io_prometheus_client_metrics_proto_rawDescGZIP(), []int{6}
  444. }
  445. func (x *Histogram) GetSampleCount() uint64 {
  446. if x != nil && x.SampleCount != nil {
  447. return *x.SampleCount
  448. }
  449. return 0
  450. }
  451. func (x *Histogram) GetSampleCountFloat() float64 {
  452. if x != nil && x.SampleCountFloat != nil {
  453. return *x.SampleCountFloat
  454. }
  455. return 0
  456. }
  457. func (x *Histogram) GetSampleSum() float64 {
  458. if x != nil && x.SampleSum != nil {
  459. return *x.SampleSum
  460. }
  461. return 0
  462. }
  463. func (x *Histogram) GetBucket() []*Bucket {
  464. if x != nil {
  465. return x.Bucket
  466. }
  467. return nil
  468. }
  469. func (x *Histogram) GetCreatedTimestamp() *timestamppb.Timestamp {
  470. if x != nil {
  471. return x.CreatedTimestamp
  472. }
  473. return nil
  474. }
  475. func (x *Histogram) GetSchema() int32 {
  476. if x != nil && x.Schema != nil {
  477. return *x.Schema
  478. }
  479. return 0
  480. }
  481. func (x *Histogram) GetZeroThreshold() float64 {
  482. if x != nil && x.ZeroThreshold != nil {
  483. return *x.ZeroThreshold
  484. }
  485. return 0
  486. }
  487. func (x *Histogram) GetZeroCount() uint64 {
  488. if x != nil && x.ZeroCount != nil {
  489. return *x.ZeroCount
  490. }
  491. return 0
  492. }
  493. func (x *Histogram) GetZeroCountFloat() float64 {
  494. if x != nil && x.ZeroCountFloat != nil {
  495. return *x.ZeroCountFloat
  496. }
  497. return 0
  498. }
  499. func (x *Histogram) GetNegativeSpan() []*BucketSpan {
  500. if x != nil {
  501. return x.NegativeSpan
  502. }
  503. return nil
  504. }
  505. func (x *Histogram) GetNegativeDelta() []int64 {
  506. if x != nil {
  507. return x.NegativeDelta
  508. }
  509. return nil
  510. }
  511. func (x *Histogram) GetNegativeCount() []float64 {
  512. if x != nil {
  513. return x.NegativeCount
  514. }
  515. return nil
  516. }
  517. func (x *Histogram) GetPositiveSpan() []*BucketSpan {
  518. if x != nil {
  519. return x.PositiveSpan
  520. }
  521. return nil
  522. }
  523. func (x *Histogram) GetPositiveDelta() []int64 {
  524. if x != nil {
  525. return x.PositiveDelta
  526. }
  527. return nil
  528. }
  529. func (x *Histogram) GetPositiveCount() []float64 {
  530. if x != nil {
  531. return x.PositiveCount
  532. }
  533. return nil
  534. }
  535. func (x *Histogram) GetExemplars() []*Exemplar {
  536. if x != nil {
  537. return x.Exemplars
  538. }
  539. return nil
  540. }
  541. // A Bucket of a conventional histogram, each of which is treated as
  542. // an individual counter-like time series by Prometheus.
  543. type Bucket struct {
  544. state protoimpl.MessageState
  545. sizeCache protoimpl.SizeCache
  546. unknownFields protoimpl.UnknownFields
  547. CumulativeCount *uint64 `protobuf:"varint,1,opt,name=cumulative_count,json=cumulativeCount" json:"cumulative_count,omitempty"` // Cumulative in increasing order.
  548. CumulativeCountFloat *float64 `protobuf:"fixed64,4,opt,name=cumulative_count_float,json=cumulativeCountFloat" json:"cumulative_count_float,omitempty"` // Overrides cumulative_count if > 0.
  549. UpperBound *float64 `protobuf:"fixed64,2,opt,name=upper_bound,json=upperBound" json:"upper_bound,omitempty"` // Inclusive.
  550. Exemplar *Exemplar `protobuf:"bytes,3,opt,name=exemplar" json:"exemplar,omitempty"`
  551. }
  552. func (x *Bucket) Reset() {
  553. *x = Bucket{}
  554. if protoimpl.UnsafeEnabled {
  555. mi := &file_io_prometheus_client_metrics_proto_msgTypes[7]
  556. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  557. ms.StoreMessageInfo(mi)
  558. }
  559. }
  560. func (x *Bucket) String() string {
  561. return protoimpl.X.MessageStringOf(x)
  562. }
  563. func (*Bucket) ProtoMessage() {}
  564. func (x *Bucket) ProtoReflect() protoreflect.Message {
  565. mi := &file_io_prometheus_client_metrics_proto_msgTypes[7]
  566. if protoimpl.UnsafeEnabled && x != nil {
  567. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  568. if ms.LoadMessageInfo() == nil {
  569. ms.StoreMessageInfo(mi)
  570. }
  571. return ms
  572. }
  573. return mi.MessageOf(x)
  574. }
  575. // Deprecated: Use Bucket.ProtoReflect.Descriptor instead.
  576. func (*Bucket) Descriptor() ([]byte, []int) {
  577. return file_io_prometheus_client_metrics_proto_rawDescGZIP(), []int{7}
  578. }
  579. func (x *Bucket) GetCumulativeCount() uint64 {
  580. if x != nil && x.CumulativeCount != nil {
  581. return *x.CumulativeCount
  582. }
  583. return 0
  584. }
  585. func (x *Bucket) GetCumulativeCountFloat() float64 {
  586. if x != nil && x.CumulativeCountFloat != nil {
  587. return *x.CumulativeCountFloat
  588. }
  589. return 0
  590. }
  591. func (x *Bucket) GetUpperBound() float64 {
  592. if x != nil && x.UpperBound != nil {
  593. return *x.UpperBound
  594. }
  595. return 0
  596. }
  597. func (x *Bucket) GetExemplar() *Exemplar {
  598. if x != nil {
  599. return x.Exemplar
  600. }
  601. return nil
  602. }
  603. // A BucketSpan defines a number of consecutive buckets in a native
  604. // histogram with their offset. Logically, it would be more
  605. // straightforward to include the bucket counts in the Span. However,
  606. // the protobuf representation is more compact in the way the data is
  607. // structured here (with all the buckets in a single array separate
  608. // from the Spans).
  609. type BucketSpan struct {
  610. state protoimpl.MessageState
  611. sizeCache protoimpl.SizeCache
  612. unknownFields protoimpl.UnknownFields
  613. Offset *int32 `protobuf:"zigzag32,1,opt,name=offset" json:"offset,omitempty"` // Gap to previous span, or starting point for 1st span (which can be negative).
  614. Length *uint32 `protobuf:"varint,2,opt,name=length" json:"length,omitempty"` // Length of consecutive buckets.
  615. }
  616. func (x *BucketSpan) Reset() {
  617. *x = BucketSpan{}
  618. if protoimpl.UnsafeEnabled {
  619. mi := &file_io_prometheus_client_metrics_proto_msgTypes[8]
  620. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  621. ms.StoreMessageInfo(mi)
  622. }
  623. }
  624. func (x *BucketSpan) String() string {
  625. return protoimpl.X.MessageStringOf(x)
  626. }
  627. func (*BucketSpan) ProtoMessage() {}
  628. func (x *BucketSpan) ProtoReflect() protoreflect.Message {
  629. mi := &file_io_prometheus_client_metrics_proto_msgTypes[8]
  630. if protoimpl.UnsafeEnabled && x != nil {
  631. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  632. if ms.LoadMessageInfo() == nil {
  633. ms.StoreMessageInfo(mi)
  634. }
  635. return ms
  636. }
  637. return mi.MessageOf(x)
  638. }
  639. // Deprecated: Use BucketSpan.ProtoReflect.Descriptor instead.
  640. func (*BucketSpan) Descriptor() ([]byte, []int) {
  641. return file_io_prometheus_client_metrics_proto_rawDescGZIP(), []int{8}
  642. }
  643. func (x *BucketSpan) GetOffset() int32 {
  644. if x != nil && x.Offset != nil {
  645. return *x.Offset
  646. }
  647. return 0
  648. }
  649. func (x *BucketSpan) GetLength() uint32 {
  650. if x != nil && x.Length != nil {
  651. return *x.Length
  652. }
  653. return 0
  654. }
  655. type Exemplar struct {
  656. state protoimpl.MessageState
  657. sizeCache protoimpl.SizeCache
  658. unknownFields protoimpl.UnknownFields
  659. Label []*LabelPair `protobuf:"bytes,1,rep,name=label" json:"label,omitempty"`
  660. Value *float64 `protobuf:"fixed64,2,opt,name=value" json:"value,omitempty"`
  661. Timestamp *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=timestamp" json:"timestamp,omitempty"` // OpenMetrics-style.
  662. }
  663. func (x *Exemplar) Reset() {
  664. *x = Exemplar{}
  665. if protoimpl.UnsafeEnabled {
  666. mi := &file_io_prometheus_client_metrics_proto_msgTypes[9]
  667. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  668. ms.StoreMessageInfo(mi)
  669. }
  670. }
  671. func (x *Exemplar) String() string {
  672. return protoimpl.X.MessageStringOf(x)
  673. }
  674. func (*Exemplar) ProtoMessage() {}
  675. func (x *Exemplar) ProtoReflect() protoreflect.Message {
  676. mi := &file_io_prometheus_client_metrics_proto_msgTypes[9]
  677. if protoimpl.UnsafeEnabled && x != nil {
  678. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  679. if ms.LoadMessageInfo() == nil {
  680. ms.StoreMessageInfo(mi)
  681. }
  682. return ms
  683. }
  684. return mi.MessageOf(x)
  685. }
  686. // Deprecated: Use Exemplar.ProtoReflect.Descriptor instead.
  687. func (*Exemplar) Descriptor() ([]byte, []int) {
  688. return file_io_prometheus_client_metrics_proto_rawDescGZIP(), []int{9}
  689. }
  690. func (x *Exemplar) GetLabel() []*LabelPair {
  691. if x != nil {
  692. return x.Label
  693. }
  694. return nil
  695. }
  696. func (x *Exemplar) GetValue() float64 {
  697. if x != nil && x.Value != nil {
  698. return *x.Value
  699. }
  700. return 0
  701. }
  702. func (x *Exemplar) GetTimestamp() *timestamppb.Timestamp {
  703. if x != nil {
  704. return x.Timestamp
  705. }
  706. return nil
  707. }
  708. type Metric struct {
  709. state protoimpl.MessageState
  710. sizeCache protoimpl.SizeCache
  711. unknownFields protoimpl.UnknownFields
  712. Label []*LabelPair `protobuf:"bytes,1,rep,name=label" json:"label,omitempty"`
  713. Gauge *Gauge `protobuf:"bytes,2,opt,name=gauge" json:"gauge,omitempty"`
  714. Counter *Counter `protobuf:"bytes,3,opt,name=counter" json:"counter,omitempty"`
  715. Summary *Summary `protobuf:"bytes,4,opt,name=summary" json:"summary,omitempty"`
  716. Untyped *Untyped `protobuf:"bytes,5,opt,name=untyped" json:"untyped,omitempty"`
  717. Histogram *Histogram `protobuf:"bytes,7,opt,name=histogram" json:"histogram,omitempty"`
  718. TimestampMs *int64 `protobuf:"varint,6,opt,name=timestamp_ms,json=timestampMs" json:"timestamp_ms,omitempty"`
  719. }
  720. func (x *Metric) Reset() {
  721. *x = Metric{}
  722. if protoimpl.UnsafeEnabled {
  723. mi := &file_io_prometheus_client_metrics_proto_msgTypes[10]
  724. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  725. ms.StoreMessageInfo(mi)
  726. }
  727. }
  728. func (x *Metric) String() string {
  729. return protoimpl.X.MessageStringOf(x)
  730. }
  731. func (*Metric) ProtoMessage() {}
  732. func (x *Metric) ProtoReflect() protoreflect.Message {
  733. mi := &file_io_prometheus_client_metrics_proto_msgTypes[10]
  734. if protoimpl.UnsafeEnabled && x != nil {
  735. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  736. if ms.LoadMessageInfo() == nil {
  737. ms.StoreMessageInfo(mi)
  738. }
  739. return ms
  740. }
  741. return mi.MessageOf(x)
  742. }
  743. // Deprecated: Use Metric.ProtoReflect.Descriptor instead.
  744. func (*Metric) Descriptor() ([]byte, []int) {
  745. return file_io_prometheus_client_metrics_proto_rawDescGZIP(), []int{10}
  746. }
  747. func (x *Metric) GetLabel() []*LabelPair {
  748. if x != nil {
  749. return x.Label
  750. }
  751. return nil
  752. }
  753. func (x *Metric) GetGauge() *Gauge {
  754. if x != nil {
  755. return x.Gauge
  756. }
  757. return nil
  758. }
  759. func (x *Metric) GetCounter() *Counter {
  760. if x != nil {
  761. return x.Counter
  762. }
  763. return nil
  764. }
  765. func (x *Metric) GetSummary() *Summary {
  766. if x != nil {
  767. return x.Summary
  768. }
  769. return nil
  770. }
  771. func (x *Metric) GetUntyped() *Untyped {
  772. if x != nil {
  773. return x.Untyped
  774. }
  775. return nil
  776. }
  777. func (x *Metric) GetHistogram() *Histogram {
  778. if x != nil {
  779. return x.Histogram
  780. }
  781. return nil
  782. }
  783. func (x *Metric) GetTimestampMs() int64 {
  784. if x != nil && x.TimestampMs != nil {
  785. return *x.TimestampMs
  786. }
  787. return 0
  788. }
  789. type MetricFamily struct {
  790. state protoimpl.MessageState
  791. sizeCache protoimpl.SizeCache
  792. unknownFields protoimpl.UnknownFields
  793. Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
  794. Help *string `protobuf:"bytes,2,opt,name=help" json:"help,omitempty"`
  795. Type *MetricType `protobuf:"varint,3,opt,name=type,enum=io.prometheus.client.MetricType" json:"type,omitempty"`
  796. Metric []*Metric `protobuf:"bytes,4,rep,name=metric" json:"metric,omitempty"`
  797. Unit *string `protobuf:"bytes,5,opt,name=unit" json:"unit,omitempty"`
  798. }
  799. func (x *MetricFamily) Reset() {
  800. *x = MetricFamily{}
  801. if protoimpl.UnsafeEnabled {
  802. mi := &file_io_prometheus_client_metrics_proto_msgTypes[11]
  803. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  804. ms.StoreMessageInfo(mi)
  805. }
  806. }
  807. func (x *MetricFamily) String() string {
  808. return protoimpl.X.MessageStringOf(x)
  809. }
  810. func (*MetricFamily) ProtoMessage() {}
  811. func (x *MetricFamily) ProtoReflect() protoreflect.Message {
  812. mi := &file_io_prometheus_client_metrics_proto_msgTypes[11]
  813. if protoimpl.UnsafeEnabled && x != nil {
  814. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  815. if ms.LoadMessageInfo() == nil {
  816. ms.StoreMessageInfo(mi)
  817. }
  818. return ms
  819. }
  820. return mi.MessageOf(x)
  821. }
  822. // Deprecated: Use MetricFamily.ProtoReflect.Descriptor instead.
  823. func (*MetricFamily) Descriptor() ([]byte, []int) {
  824. return file_io_prometheus_client_metrics_proto_rawDescGZIP(), []int{11}
  825. }
  826. func (x *MetricFamily) GetName() string {
  827. if x != nil && x.Name != nil {
  828. return *x.Name
  829. }
  830. return ""
  831. }
  832. func (x *MetricFamily) GetHelp() string {
  833. if x != nil && x.Help != nil {
  834. return *x.Help
  835. }
  836. return ""
  837. }
  838. func (x *MetricFamily) GetType() MetricType {
  839. if x != nil && x.Type != nil {
  840. return *x.Type
  841. }
  842. return MetricType_COUNTER
  843. }
  844. func (x *MetricFamily) GetMetric() []*Metric {
  845. if x != nil {
  846. return x.Metric
  847. }
  848. return nil
  849. }
  850. func (x *MetricFamily) GetUnit() string {
  851. if x != nil && x.Unit != nil {
  852. return *x.Unit
  853. }
  854. return ""
  855. }
  856. var File_io_prometheus_client_metrics_proto protoreflect.FileDescriptor
  857. var file_io_prometheus_client_metrics_proto_rawDesc = []byte{
  858. 0x0a, 0x22, 0x69, 0x6f, 0x2f, 0x70, 0x72, 0x6f, 0x6d, 0x65, 0x74, 0x68, 0x65, 0x75, 0x73, 0x2f,
  859. 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x70,
  860. 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x14, 0x69, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x6d, 0x65, 0x74, 0x68,
  861. 0x65, 0x75, 0x73, 0x2e, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67,
  862. 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65,
  863. 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x35, 0x0a, 0x09, 0x4c,
  864. 0x61, 0x62, 0x65, 0x6c, 0x50, 0x61, 0x69, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
  865. 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05,
  866. 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c,
  867. 0x75, 0x65, 0x22, 0x1d, 0x0a, 0x05, 0x47, 0x61, 0x75, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76,
  868. 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x01, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,
  869. 0x65, 0x22, 0xa4, 0x01, 0x0a, 0x07, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x12, 0x14, 0x0a,
  870. 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x01, 0x52, 0x05, 0x76, 0x61,
  871. 0x6c, 0x75, 0x65, 0x12, 0x3a, 0x0a, 0x08, 0x65, 0x78, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x72, 0x18,
  872. 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x69, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x6d, 0x65,
  873. 0x74, 0x68, 0x65, 0x75, 0x73, 0x2e, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x45, 0x78, 0x65,
  874. 0x6d, 0x70, 0x6c, 0x61, 0x72, 0x52, 0x08, 0x65, 0x78, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x72, 0x12,
  875. 0x47, 0x0a, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73,
  876. 0x74, 0x61, 0x6d, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f,
  877. 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d,
  878. 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x10, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x54,
  879. 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0x3c, 0x0a, 0x08, 0x51, 0x75, 0x61, 0x6e,
  880. 0x74, 0x69, 0x6c, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x6c, 0x65,
  881. 0x18, 0x01, 0x20, 0x01, 0x28, 0x01, 0x52, 0x08, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x6c, 0x65,
  882. 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52,
  883. 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0xd0, 0x01, 0x0a, 0x07, 0x53, 0x75, 0x6d, 0x6d, 0x61,
  884. 0x72, 0x79, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x5f, 0x63, 0x6f, 0x75,
  885. 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65,
  886. 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x5f,
  887. 0x73, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x09, 0x73, 0x61, 0x6d, 0x70, 0x6c,
  888. 0x65, 0x53, 0x75, 0x6d, 0x12, 0x3a, 0x0a, 0x08, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x6c, 0x65,
  889. 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x69, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x6d,
  890. 0x65, 0x74, 0x68, 0x65, 0x75, 0x73, 0x2e, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x51, 0x75,
  891. 0x61, 0x6e, 0x74, 0x69, 0x6c, 0x65, 0x52, 0x08, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x6c, 0x65,
  892. 0x12, 0x47, 0x0a, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65,
  893. 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f,
  894. 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69,
  895. 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x10, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64,
  896. 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0x1f, 0x0a, 0x07, 0x55, 0x6e, 0x74,
  897. 0x79, 0x70, 0x65, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20,
  898. 0x01, 0x28, 0x01, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0xea, 0x05, 0x0a, 0x09, 0x48,
  899. 0x69, 0x73, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x61, 0x6d, 0x70,
  900. 0x6c, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b,
  901. 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2c, 0x0a, 0x12, 0x73,
  902. 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x66, 0x6c, 0x6f, 0x61,
  903. 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x01, 0x52, 0x10, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x43,
  904. 0x6f, 0x75, 0x6e, 0x74, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x61, 0x6d,
  905. 0x70, 0x6c, 0x65, 0x5f, 0x73, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x09, 0x73,
  906. 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x53, 0x75, 0x6d, 0x12, 0x34, 0x0a, 0x06, 0x62, 0x75, 0x63, 0x6b,
  907. 0x65, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x69, 0x6f, 0x2e, 0x70, 0x72,
  908. 0x6f, 0x6d, 0x65, 0x74, 0x68, 0x65, 0x75, 0x73, 0x2e, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e,
  909. 0x42, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x52, 0x06, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x12, 0x47,
  910. 0x0a, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74,
  911. 0x61, 0x6d, 0x70, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
  912. 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65,
  913. 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x10, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x54, 0x69,
  914. 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d,
  915. 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x11, 0x52, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12,
  916. 0x25, 0x0a, 0x0e, 0x7a, 0x65, 0x72, 0x6f, 0x5f, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c,
  917. 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0d, 0x7a, 0x65, 0x72, 0x6f, 0x54, 0x68, 0x72,
  918. 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x7a, 0x65, 0x72, 0x6f, 0x5f, 0x63,
  919. 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x7a, 0x65, 0x72, 0x6f,
  920. 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x7a, 0x65, 0x72, 0x6f, 0x5f, 0x63, 0x6f,
  921. 0x75, 0x6e, 0x74, 0x5f, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x01, 0x52,
  922. 0x0e, 0x7a, 0x65, 0x72, 0x6f, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x12,
  923. 0x45, 0x0a, 0x0d, 0x6e, 0x65, 0x67, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70, 0x61, 0x6e,
  924. 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x69, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x6d,
  925. 0x65, 0x74, 0x68, 0x65, 0x75, 0x73, 0x2e, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x42, 0x75,
  926. 0x63, 0x6b, 0x65, 0x74, 0x53, 0x70, 0x61, 0x6e, 0x52, 0x0c, 0x6e, 0x65, 0x67, 0x61, 0x74, 0x69,
  927. 0x76, 0x65, 0x53, 0x70, 0x61, 0x6e, 0x12, 0x25, 0x0a, 0x0e, 0x6e, 0x65, 0x67, 0x61, 0x74, 0x69,
  928. 0x76, 0x65, 0x5f, 0x64, 0x65, 0x6c, 0x74, 0x61, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x12, 0x52, 0x0d,
  929. 0x6e, 0x65, 0x67, 0x61, 0x74, 0x69, 0x76, 0x65, 0x44, 0x65, 0x6c, 0x74, 0x61, 0x12, 0x25, 0x0a,
  930. 0x0e, 0x6e, 0x65, 0x67, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18,
  931. 0x0b, 0x20, 0x03, 0x28, 0x01, 0x52, 0x0d, 0x6e, 0x65, 0x67, 0x61, 0x74, 0x69, 0x76, 0x65, 0x43,
  932. 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x45, 0x0a, 0x0d, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65,
  933. 0x5f, 0x73, 0x70, 0x61, 0x6e, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x69, 0x6f,
  934. 0x2e, 0x70, 0x72, 0x6f, 0x6d, 0x65, 0x74, 0x68, 0x65, 0x75, 0x73, 0x2e, 0x63, 0x6c, 0x69, 0x65,
  935. 0x6e, 0x74, 0x2e, 0x42, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x53, 0x70, 0x61, 0x6e, 0x52, 0x0c, 0x70,
  936. 0x6f, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x53, 0x70, 0x61, 0x6e, 0x12, 0x25, 0x0a, 0x0e, 0x70,
  937. 0x6f, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x6c, 0x74, 0x61, 0x18, 0x0d, 0x20,
  938. 0x03, 0x28, 0x12, 0x52, 0x0d, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x44, 0x65, 0x6c,
  939. 0x74, 0x61, 0x12, 0x25, 0x0a, 0x0e, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x63,
  940. 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x01, 0x52, 0x0d, 0x70, 0x6f, 0x73, 0x69,
  941. 0x74, 0x69, 0x76, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x3c, 0x0a, 0x09, 0x65, 0x78, 0x65,
  942. 0x6d, 0x70, 0x6c, 0x61, 0x72, 0x73, 0x18, 0x10, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x69,
  943. 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x6d, 0x65, 0x74, 0x68, 0x65, 0x75, 0x73, 0x2e, 0x63, 0x6c, 0x69,
  944. 0x65, 0x6e, 0x74, 0x2e, 0x45, 0x78, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x72, 0x52, 0x09, 0x65, 0x78,
  945. 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x72, 0x73, 0x22, 0xc6, 0x01, 0x0a, 0x06, 0x42, 0x75, 0x63, 0x6b,
  946. 0x65, 0x74, 0x12, 0x29, 0x0a, 0x10, 0x63, 0x75, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65,
  947. 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x63, 0x75,
  948. 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x34, 0x0a,
  949. 0x16, 0x63, 0x75, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e,
  950. 0x74, 0x5f, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x01, 0x52, 0x14, 0x63,
  951. 0x75, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x46, 0x6c,
  952. 0x6f, 0x61, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x75, 0x70, 0x70, 0x65, 0x72, 0x5f, 0x62, 0x6f, 0x75,
  953. 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0a, 0x75, 0x70, 0x70, 0x65, 0x72, 0x42,
  954. 0x6f, 0x75, 0x6e, 0x64, 0x12, 0x3a, 0x0a, 0x08, 0x65, 0x78, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x72,
  955. 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x69, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x6d,
  956. 0x65, 0x74, 0x68, 0x65, 0x75, 0x73, 0x2e, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x45, 0x78,
  957. 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x72, 0x52, 0x08, 0x65, 0x78, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x72,
  958. 0x22, 0x3c, 0x0a, 0x0a, 0x42, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x53, 0x70, 0x61, 0x6e, 0x12, 0x16,
  959. 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x11, 0x52, 0x06,
  960. 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68,
  961. 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x22, 0x91,
  962. 0x01, 0x0a, 0x08, 0x45, 0x78, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x72, 0x12, 0x35, 0x0a, 0x05, 0x6c,
  963. 0x61, 0x62, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x69, 0x6f, 0x2e,
  964. 0x70, 0x72, 0x6f, 0x6d, 0x65, 0x74, 0x68, 0x65, 0x75, 0x73, 0x2e, 0x63, 0x6c, 0x69, 0x65, 0x6e,
  965. 0x74, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x50, 0x61, 0x69, 0x72, 0x52, 0x05, 0x6c, 0x61, 0x62,
  966. 0x65, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
  967. 0x01, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x38, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65,
  968. 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f,
  969. 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69,
  970. 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61,
  971. 0x6d, 0x70, 0x22, 0xff, 0x02, 0x0a, 0x06, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x12, 0x35, 0x0a,
  972. 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x69,
  973. 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x6d, 0x65, 0x74, 0x68, 0x65, 0x75, 0x73, 0x2e, 0x63, 0x6c, 0x69,
  974. 0x65, 0x6e, 0x74, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x50, 0x61, 0x69, 0x72, 0x52, 0x05, 0x6c,
  975. 0x61, 0x62, 0x65, 0x6c, 0x12, 0x31, 0x0a, 0x05, 0x67, 0x61, 0x75, 0x67, 0x65, 0x18, 0x02, 0x20,
  976. 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x69, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x6d, 0x65, 0x74, 0x68,
  977. 0x65, 0x75, 0x73, 0x2e, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x47, 0x61, 0x75, 0x67, 0x65,
  978. 0x52, 0x05, 0x67, 0x61, 0x75, 0x67, 0x65, 0x12, 0x37, 0x0a, 0x07, 0x63, 0x6f, 0x75, 0x6e, 0x74,
  979. 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x69, 0x6f, 0x2e, 0x70, 0x72,
  980. 0x6f, 0x6d, 0x65, 0x74, 0x68, 0x65, 0x75, 0x73, 0x2e, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e,
  981. 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x52, 0x07, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72,
  982. 0x12, 0x37, 0x0a, 0x07, 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28,
  983. 0x0b, 0x32, 0x1d, 0x2e, 0x69, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x6d, 0x65, 0x74, 0x68, 0x65, 0x75,
  984. 0x73, 0x2e, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79,
  985. 0x52, 0x07, 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x12, 0x37, 0x0a, 0x07, 0x75, 0x6e, 0x74,
  986. 0x79, 0x70, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x69, 0x6f, 0x2e,
  987. 0x70, 0x72, 0x6f, 0x6d, 0x65, 0x74, 0x68, 0x65, 0x75, 0x73, 0x2e, 0x63, 0x6c, 0x69, 0x65, 0x6e,
  988. 0x74, 0x2e, 0x55, 0x6e, 0x74, 0x79, 0x70, 0x65, 0x64, 0x52, 0x07, 0x75, 0x6e, 0x74, 0x79, 0x70,
  989. 0x65, 0x64, 0x12, 0x3d, 0x0a, 0x09, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x18,
  990. 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x69, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x6d, 0x65,
  991. 0x74, 0x68, 0x65, 0x75, 0x73, 0x2e, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x48, 0x69, 0x73,
  992. 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x52, 0x09, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x67, 0x72, 0x61,
  993. 0x6d, 0x12, 0x21, 0x0a, 0x0c, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x5f, 0x6d,
  994. 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61,
  995. 0x6d, 0x70, 0x4d, 0x73, 0x22, 0xb6, 0x01, 0x0a, 0x0c, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x46,
  996. 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
  997. 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x65, 0x6c,
  998. 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x65, 0x6c, 0x70, 0x12, 0x34, 0x0a,
  999. 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x20, 0x2e, 0x69, 0x6f,
  1000. 0x2e, 0x70, 0x72, 0x6f, 0x6d, 0x65, 0x74, 0x68, 0x65, 0x75, 0x73, 0x2e, 0x63, 0x6c, 0x69, 0x65,
  1001. 0x6e, 0x74, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74,
  1002. 0x79, 0x70, 0x65, 0x12, 0x34, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x18, 0x04, 0x20,
  1003. 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x69, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x6d, 0x65, 0x74, 0x68,
  1004. 0x65, 0x75, 0x73, 0x2e, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69,
  1005. 0x63, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x6e, 0x69,
  1006. 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x6e, 0x69, 0x74, 0x2a, 0x62, 0x0a,
  1007. 0x0a, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x43,
  1008. 0x4f, 0x55, 0x4e, 0x54, 0x45, 0x52, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x47, 0x41, 0x55, 0x47,
  1009. 0x45, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x55, 0x4d, 0x4d, 0x41, 0x52, 0x59, 0x10, 0x02,
  1010. 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x54, 0x59, 0x50, 0x45, 0x44, 0x10, 0x03, 0x12, 0x0d, 0x0a,
  1011. 0x09, 0x48, 0x49, 0x53, 0x54, 0x4f, 0x47, 0x52, 0x41, 0x4d, 0x10, 0x04, 0x12, 0x13, 0x0a, 0x0f,
  1012. 0x47, 0x41, 0x55, 0x47, 0x45, 0x5f, 0x48, 0x49, 0x53, 0x54, 0x4f, 0x47, 0x52, 0x41, 0x4d, 0x10,
  1013. 0x05, 0x42, 0x52, 0x0a, 0x14, 0x69, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x6d, 0x65, 0x74, 0x68, 0x65,
  1014. 0x75, 0x73, 0x2e, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5a, 0x3a, 0x67, 0x69, 0x74, 0x68, 0x75,
  1015. 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x6f, 0x6d, 0x65, 0x74, 0x68, 0x65, 0x75, 0x73,
  1016. 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f, 0x67, 0x6f,
  1017. 0x3b, 0x69, 0x6f, 0x5f, 0x70, 0x72, 0x6f, 0x6d, 0x65, 0x74, 0x68, 0x65, 0x75, 0x73, 0x5f, 0x63,
  1018. 0x6c, 0x69, 0x65, 0x6e, 0x74,
  1019. }
  1020. var (
  1021. file_io_prometheus_client_metrics_proto_rawDescOnce sync.Once
  1022. file_io_prometheus_client_metrics_proto_rawDescData = file_io_prometheus_client_metrics_proto_rawDesc
  1023. )
  1024. func file_io_prometheus_client_metrics_proto_rawDescGZIP() []byte {
  1025. file_io_prometheus_client_metrics_proto_rawDescOnce.Do(func() {
  1026. file_io_prometheus_client_metrics_proto_rawDescData = protoimpl.X.CompressGZIP(file_io_prometheus_client_metrics_proto_rawDescData)
  1027. })
  1028. return file_io_prometheus_client_metrics_proto_rawDescData
  1029. }
  1030. var file_io_prometheus_client_metrics_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
  1031. var file_io_prometheus_client_metrics_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
  1032. var file_io_prometheus_client_metrics_proto_goTypes = []interface{}{
  1033. (MetricType)(0), // 0: io.prometheus.client.MetricType
  1034. (*LabelPair)(nil), // 1: io.prometheus.client.LabelPair
  1035. (*Gauge)(nil), // 2: io.prometheus.client.Gauge
  1036. (*Counter)(nil), // 3: io.prometheus.client.Counter
  1037. (*Quantile)(nil), // 4: io.prometheus.client.Quantile
  1038. (*Summary)(nil), // 5: io.prometheus.client.Summary
  1039. (*Untyped)(nil), // 6: io.prometheus.client.Untyped
  1040. (*Histogram)(nil), // 7: io.prometheus.client.Histogram
  1041. (*Bucket)(nil), // 8: io.prometheus.client.Bucket
  1042. (*BucketSpan)(nil), // 9: io.prometheus.client.BucketSpan
  1043. (*Exemplar)(nil), // 10: io.prometheus.client.Exemplar
  1044. (*Metric)(nil), // 11: io.prometheus.client.Metric
  1045. (*MetricFamily)(nil), // 12: io.prometheus.client.MetricFamily
  1046. (*timestamppb.Timestamp)(nil), // 13: google.protobuf.Timestamp
  1047. }
  1048. var file_io_prometheus_client_metrics_proto_depIdxs = []int32{
  1049. 10, // 0: io.prometheus.client.Counter.exemplar:type_name -> io.prometheus.client.Exemplar
  1050. 13, // 1: io.prometheus.client.Counter.created_timestamp:type_name -> google.protobuf.Timestamp
  1051. 4, // 2: io.prometheus.client.Summary.quantile:type_name -> io.prometheus.client.Quantile
  1052. 13, // 3: io.prometheus.client.Summary.created_timestamp:type_name -> google.protobuf.Timestamp
  1053. 8, // 4: io.prometheus.client.Histogram.bucket:type_name -> io.prometheus.client.Bucket
  1054. 13, // 5: io.prometheus.client.Histogram.created_timestamp:type_name -> google.protobuf.Timestamp
  1055. 9, // 6: io.prometheus.client.Histogram.negative_span:type_name -> io.prometheus.client.BucketSpan
  1056. 9, // 7: io.prometheus.client.Histogram.positive_span:type_name -> io.prometheus.client.BucketSpan
  1057. 10, // 8: io.prometheus.client.Histogram.exemplars:type_name -> io.prometheus.client.Exemplar
  1058. 10, // 9: io.prometheus.client.Bucket.exemplar:type_name -> io.prometheus.client.Exemplar
  1059. 1, // 10: io.prometheus.client.Exemplar.label:type_name -> io.prometheus.client.LabelPair
  1060. 13, // 11: io.prometheus.client.Exemplar.timestamp:type_name -> google.protobuf.Timestamp
  1061. 1, // 12: io.prometheus.client.Metric.label:type_name -> io.prometheus.client.LabelPair
  1062. 2, // 13: io.prometheus.client.Metric.gauge:type_name -> io.prometheus.client.Gauge
  1063. 3, // 14: io.prometheus.client.Metric.counter:type_name -> io.prometheus.client.Counter
  1064. 5, // 15: io.prometheus.client.Metric.summary:type_name -> io.prometheus.client.Summary
  1065. 6, // 16: io.prometheus.client.Metric.untyped:type_name -> io.prometheus.client.Untyped
  1066. 7, // 17: io.prometheus.client.Metric.histogram:type_name -> io.prometheus.client.Histogram
  1067. 0, // 18: io.prometheus.client.MetricFamily.type:type_name -> io.prometheus.client.MetricType
  1068. 11, // 19: io.prometheus.client.MetricFamily.metric:type_name -> io.prometheus.client.Metric
  1069. 20, // [20:20] is the sub-list for method output_type
  1070. 20, // [20:20] is the sub-list for method input_type
  1071. 20, // [20:20] is the sub-list for extension type_name
  1072. 20, // [20:20] is the sub-list for extension extendee
  1073. 0, // [0:20] is the sub-list for field type_name
  1074. }
  1075. func init() { file_io_prometheus_client_metrics_proto_init() }
  1076. func file_io_prometheus_client_metrics_proto_init() {
  1077. if File_io_prometheus_client_metrics_proto != nil {
  1078. return
  1079. }
  1080. if !protoimpl.UnsafeEnabled {
  1081. file_io_prometheus_client_metrics_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  1082. switch v := v.(*LabelPair); i {
  1083. case 0:
  1084. return &v.state
  1085. case 1:
  1086. return &v.sizeCache
  1087. case 2:
  1088. return &v.unknownFields
  1089. default:
  1090. return nil
  1091. }
  1092. }
  1093. file_io_prometheus_client_metrics_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  1094. switch v := v.(*Gauge); i {
  1095. case 0:
  1096. return &v.state
  1097. case 1:
  1098. return &v.sizeCache
  1099. case 2:
  1100. return &v.unknownFields
  1101. default:
  1102. return nil
  1103. }
  1104. }
  1105. file_io_prometheus_client_metrics_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  1106. switch v := v.(*Counter); i {
  1107. case 0:
  1108. return &v.state
  1109. case 1:
  1110. return &v.sizeCache
  1111. case 2:
  1112. return &v.unknownFields
  1113. default:
  1114. return nil
  1115. }
  1116. }
  1117. file_io_prometheus_client_metrics_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  1118. switch v := v.(*Quantile); i {
  1119. case 0:
  1120. return &v.state
  1121. case 1:
  1122. return &v.sizeCache
  1123. case 2:
  1124. return &v.unknownFields
  1125. default:
  1126. return nil
  1127. }
  1128. }
  1129. file_io_prometheus_client_metrics_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  1130. switch v := v.(*Summary); i {
  1131. case 0:
  1132. return &v.state
  1133. case 1:
  1134. return &v.sizeCache
  1135. case 2:
  1136. return &v.unknownFields
  1137. default:
  1138. return nil
  1139. }
  1140. }
  1141. file_io_prometheus_client_metrics_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  1142. switch v := v.(*Untyped); i {
  1143. case 0:
  1144. return &v.state
  1145. case 1:
  1146. return &v.sizeCache
  1147. case 2:
  1148. return &v.unknownFields
  1149. default:
  1150. return nil
  1151. }
  1152. }
  1153. file_io_prometheus_client_metrics_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  1154. switch v := v.(*Histogram); i {
  1155. case 0:
  1156. return &v.state
  1157. case 1:
  1158. return &v.sizeCache
  1159. case 2:
  1160. return &v.unknownFields
  1161. default:
  1162. return nil
  1163. }
  1164. }
  1165. file_io_prometheus_client_metrics_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  1166. switch v := v.(*Bucket); i {
  1167. case 0:
  1168. return &v.state
  1169. case 1:
  1170. return &v.sizeCache
  1171. case 2:
  1172. return &v.unknownFields
  1173. default:
  1174. return nil
  1175. }
  1176. }
  1177. file_io_prometheus_client_metrics_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  1178. switch v := v.(*BucketSpan); i {
  1179. case 0:
  1180. return &v.state
  1181. case 1:
  1182. return &v.sizeCache
  1183. case 2:
  1184. return &v.unknownFields
  1185. default:
  1186. return nil
  1187. }
  1188. }
  1189. file_io_prometheus_client_metrics_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  1190. switch v := v.(*Exemplar); i {
  1191. case 0:
  1192. return &v.state
  1193. case 1:
  1194. return &v.sizeCache
  1195. case 2:
  1196. return &v.unknownFields
  1197. default:
  1198. return nil
  1199. }
  1200. }
  1201. file_io_prometheus_client_metrics_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  1202. switch v := v.(*Metric); i {
  1203. case 0:
  1204. return &v.state
  1205. case 1:
  1206. return &v.sizeCache
  1207. case 2:
  1208. return &v.unknownFields
  1209. default:
  1210. return nil
  1211. }
  1212. }
  1213. file_io_prometheus_client_metrics_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
  1214. switch v := v.(*MetricFamily); i {
  1215. case 0:
  1216. return &v.state
  1217. case 1:
  1218. return &v.sizeCache
  1219. case 2:
  1220. return &v.unknownFields
  1221. default:
  1222. return nil
  1223. }
  1224. }
  1225. }
  1226. type x struct{}
  1227. out := protoimpl.TypeBuilder{
  1228. File: protoimpl.DescBuilder{
  1229. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  1230. RawDescriptor: file_io_prometheus_client_metrics_proto_rawDesc,
  1231. NumEnums: 1,
  1232. NumMessages: 12,
  1233. NumExtensions: 0,
  1234. NumServices: 0,
  1235. },
  1236. GoTypes: file_io_prometheus_client_metrics_proto_goTypes,
  1237. DependencyIndexes: file_io_prometheus_client_metrics_proto_depIdxs,
  1238. EnumInfos: file_io_prometheus_client_metrics_proto_enumTypes,
  1239. MessageInfos: file_io_prometheus_client_metrics_proto_msgTypes,
  1240. }.Build()
  1241. File_io_prometheus_client_metrics_proto = out.File
  1242. file_io_prometheus_client_metrics_proto_rawDesc = nil
  1243. file_io_prometheus_client_metrics_proto_goTypes = nil
  1244. file_io_prometheus_client_metrics_proto_depIdxs = nil
  1245. }