Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

metrics.pb.go 50KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373
  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. PositiveSpan []*BucketSpan `protobuf:"bytes,12,rep,name=positive_span,json=positiveSpan" json:"positive_span,omitempty"`
  407. // Use either "positive_delta" or "positive_count", the former for
  408. // regular histograms with integer counts, the latter for float
  409. // histograms.
  410. 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).
  411. PositiveCount []float64 `protobuf:"fixed64,14,rep,name=positive_count,json=positiveCount" json:"positive_count,omitempty"` // Absolute count of each bucket.
  412. }
  413. func (x *Histogram) Reset() {
  414. *x = Histogram{}
  415. if protoimpl.UnsafeEnabled {
  416. mi := &file_io_prometheus_client_metrics_proto_msgTypes[6]
  417. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  418. ms.StoreMessageInfo(mi)
  419. }
  420. }
  421. func (x *Histogram) String() string {
  422. return protoimpl.X.MessageStringOf(x)
  423. }
  424. func (*Histogram) ProtoMessage() {}
  425. func (x *Histogram) ProtoReflect() protoreflect.Message {
  426. mi := &file_io_prometheus_client_metrics_proto_msgTypes[6]
  427. if protoimpl.UnsafeEnabled && x != nil {
  428. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  429. if ms.LoadMessageInfo() == nil {
  430. ms.StoreMessageInfo(mi)
  431. }
  432. return ms
  433. }
  434. return mi.MessageOf(x)
  435. }
  436. // Deprecated: Use Histogram.ProtoReflect.Descriptor instead.
  437. func (*Histogram) Descriptor() ([]byte, []int) {
  438. return file_io_prometheus_client_metrics_proto_rawDescGZIP(), []int{6}
  439. }
  440. func (x *Histogram) GetSampleCount() uint64 {
  441. if x != nil && x.SampleCount != nil {
  442. return *x.SampleCount
  443. }
  444. return 0
  445. }
  446. func (x *Histogram) GetSampleCountFloat() float64 {
  447. if x != nil && x.SampleCountFloat != nil {
  448. return *x.SampleCountFloat
  449. }
  450. return 0
  451. }
  452. func (x *Histogram) GetSampleSum() float64 {
  453. if x != nil && x.SampleSum != nil {
  454. return *x.SampleSum
  455. }
  456. return 0
  457. }
  458. func (x *Histogram) GetBucket() []*Bucket {
  459. if x != nil {
  460. return x.Bucket
  461. }
  462. return nil
  463. }
  464. func (x *Histogram) GetCreatedTimestamp() *timestamppb.Timestamp {
  465. if x != nil {
  466. return x.CreatedTimestamp
  467. }
  468. return nil
  469. }
  470. func (x *Histogram) GetSchema() int32 {
  471. if x != nil && x.Schema != nil {
  472. return *x.Schema
  473. }
  474. return 0
  475. }
  476. func (x *Histogram) GetZeroThreshold() float64 {
  477. if x != nil && x.ZeroThreshold != nil {
  478. return *x.ZeroThreshold
  479. }
  480. return 0
  481. }
  482. func (x *Histogram) GetZeroCount() uint64 {
  483. if x != nil && x.ZeroCount != nil {
  484. return *x.ZeroCount
  485. }
  486. return 0
  487. }
  488. func (x *Histogram) GetZeroCountFloat() float64 {
  489. if x != nil && x.ZeroCountFloat != nil {
  490. return *x.ZeroCountFloat
  491. }
  492. return 0
  493. }
  494. func (x *Histogram) GetNegativeSpan() []*BucketSpan {
  495. if x != nil {
  496. return x.NegativeSpan
  497. }
  498. return nil
  499. }
  500. func (x *Histogram) GetNegativeDelta() []int64 {
  501. if x != nil {
  502. return x.NegativeDelta
  503. }
  504. return nil
  505. }
  506. func (x *Histogram) GetNegativeCount() []float64 {
  507. if x != nil {
  508. return x.NegativeCount
  509. }
  510. return nil
  511. }
  512. func (x *Histogram) GetPositiveSpan() []*BucketSpan {
  513. if x != nil {
  514. return x.PositiveSpan
  515. }
  516. return nil
  517. }
  518. func (x *Histogram) GetPositiveDelta() []int64 {
  519. if x != nil {
  520. return x.PositiveDelta
  521. }
  522. return nil
  523. }
  524. func (x *Histogram) GetPositiveCount() []float64 {
  525. if x != nil {
  526. return x.PositiveCount
  527. }
  528. return nil
  529. }
  530. // A Bucket of a conventional histogram, each of which is treated as
  531. // an individual counter-like time series by Prometheus.
  532. type Bucket struct {
  533. state protoimpl.MessageState
  534. sizeCache protoimpl.SizeCache
  535. unknownFields protoimpl.UnknownFields
  536. CumulativeCount *uint64 `protobuf:"varint,1,opt,name=cumulative_count,json=cumulativeCount" json:"cumulative_count,omitempty"` // Cumulative in increasing order.
  537. CumulativeCountFloat *float64 `protobuf:"fixed64,4,opt,name=cumulative_count_float,json=cumulativeCountFloat" json:"cumulative_count_float,omitempty"` // Overrides cumulative_count if > 0.
  538. UpperBound *float64 `protobuf:"fixed64,2,opt,name=upper_bound,json=upperBound" json:"upper_bound,omitempty"` // Inclusive.
  539. Exemplar *Exemplar `protobuf:"bytes,3,opt,name=exemplar" json:"exemplar,omitempty"`
  540. }
  541. func (x *Bucket) Reset() {
  542. *x = Bucket{}
  543. if protoimpl.UnsafeEnabled {
  544. mi := &file_io_prometheus_client_metrics_proto_msgTypes[7]
  545. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  546. ms.StoreMessageInfo(mi)
  547. }
  548. }
  549. func (x *Bucket) String() string {
  550. return protoimpl.X.MessageStringOf(x)
  551. }
  552. func (*Bucket) ProtoMessage() {}
  553. func (x *Bucket) ProtoReflect() protoreflect.Message {
  554. mi := &file_io_prometheus_client_metrics_proto_msgTypes[7]
  555. if protoimpl.UnsafeEnabled && x != nil {
  556. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  557. if ms.LoadMessageInfo() == nil {
  558. ms.StoreMessageInfo(mi)
  559. }
  560. return ms
  561. }
  562. return mi.MessageOf(x)
  563. }
  564. // Deprecated: Use Bucket.ProtoReflect.Descriptor instead.
  565. func (*Bucket) Descriptor() ([]byte, []int) {
  566. return file_io_prometheus_client_metrics_proto_rawDescGZIP(), []int{7}
  567. }
  568. func (x *Bucket) GetCumulativeCount() uint64 {
  569. if x != nil && x.CumulativeCount != nil {
  570. return *x.CumulativeCount
  571. }
  572. return 0
  573. }
  574. func (x *Bucket) GetCumulativeCountFloat() float64 {
  575. if x != nil && x.CumulativeCountFloat != nil {
  576. return *x.CumulativeCountFloat
  577. }
  578. return 0
  579. }
  580. func (x *Bucket) GetUpperBound() float64 {
  581. if x != nil && x.UpperBound != nil {
  582. return *x.UpperBound
  583. }
  584. return 0
  585. }
  586. func (x *Bucket) GetExemplar() *Exemplar {
  587. if x != nil {
  588. return x.Exemplar
  589. }
  590. return nil
  591. }
  592. // A BucketSpan defines a number of consecutive buckets in a native
  593. // histogram with their offset. Logically, it would be more
  594. // straightforward to include the bucket counts in the Span. However,
  595. // the protobuf representation is more compact in the way the data is
  596. // structured here (with all the buckets in a single array separate
  597. // from the Spans).
  598. type BucketSpan struct {
  599. state protoimpl.MessageState
  600. sizeCache protoimpl.SizeCache
  601. unknownFields protoimpl.UnknownFields
  602. 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).
  603. Length *uint32 `protobuf:"varint,2,opt,name=length" json:"length,omitempty"` // Length of consecutive buckets.
  604. }
  605. func (x *BucketSpan) Reset() {
  606. *x = BucketSpan{}
  607. if protoimpl.UnsafeEnabled {
  608. mi := &file_io_prometheus_client_metrics_proto_msgTypes[8]
  609. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  610. ms.StoreMessageInfo(mi)
  611. }
  612. }
  613. func (x *BucketSpan) String() string {
  614. return protoimpl.X.MessageStringOf(x)
  615. }
  616. func (*BucketSpan) ProtoMessage() {}
  617. func (x *BucketSpan) ProtoReflect() protoreflect.Message {
  618. mi := &file_io_prometheus_client_metrics_proto_msgTypes[8]
  619. if protoimpl.UnsafeEnabled && x != nil {
  620. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  621. if ms.LoadMessageInfo() == nil {
  622. ms.StoreMessageInfo(mi)
  623. }
  624. return ms
  625. }
  626. return mi.MessageOf(x)
  627. }
  628. // Deprecated: Use BucketSpan.ProtoReflect.Descriptor instead.
  629. func (*BucketSpan) Descriptor() ([]byte, []int) {
  630. return file_io_prometheus_client_metrics_proto_rawDescGZIP(), []int{8}
  631. }
  632. func (x *BucketSpan) GetOffset() int32 {
  633. if x != nil && x.Offset != nil {
  634. return *x.Offset
  635. }
  636. return 0
  637. }
  638. func (x *BucketSpan) GetLength() uint32 {
  639. if x != nil && x.Length != nil {
  640. return *x.Length
  641. }
  642. return 0
  643. }
  644. type Exemplar struct {
  645. state protoimpl.MessageState
  646. sizeCache protoimpl.SizeCache
  647. unknownFields protoimpl.UnknownFields
  648. Label []*LabelPair `protobuf:"bytes,1,rep,name=label" json:"label,omitempty"`
  649. Value *float64 `protobuf:"fixed64,2,opt,name=value" json:"value,omitempty"`
  650. Timestamp *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=timestamp" json:"timestamp,omitempty"` // OpenMetrics-style.
  651. }
  652. func (x *Exemplar) Reset() {
  653. *x = Exemplar{}
  654. if protoimpl.UnsafeEnabled {
  655. mi := &file_io_prometheus_client_metrics_proto_msgTypes[9]
  656. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  657. ms.StoreMessageInfo(mi)
  658. }
  659. }
  660. func (x *Exemplar) String() string {
  661. return protoimpl.X.MessageStringOf(x)
  662. }
  663. func (*Exemplar) ProtoMessage() {}
  664. func (x *Exemplar) ProtoReflect() protoreflect.Message {
  665. mi := &file_io_prometheus_client_metrics_proto_msgTypes[9]
  666. if protoimpl.UnsafeEnabled && x != nil {
  667. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  668. if ms.LoadMessageInfo() == nil {
  669. ms.StoreMessageInfo(mi)
  670. }
  671. return ms
  672. }
  673. return mi.MessageOf(x)
  674. }
  675. // Deprecated: Use Exemplar.ProtoReflect.Descriptor instead.
  676. func (*Exemplar) Descriptor() ([]byte, []int) {
  677. return file_io_prometheus_client_metrics_proto_rawDescGZIP(), []int{9}
  678. }
  679. func (x *Exemplar) GetLabel() []*LabelPair {
  680. if x != nil {
  681. return x.Label
  682. }
  683. return nil
  684. }
  685. func (x *Exemplar) GetValue() float64 {
  686. if x != nil && x.Value != nil {
  687. return *x.Value
  688. }
  689. return 0
  690. }
  691. func (x *Exemplar) GetTimestamp() *timestamppb.Timestamp {
  692. if x != nil {
  693. return x.Timestamp
  694. }
  695. return nil
  696. }
  697. type Metric struct {
  698. state protoimpl.MessageState
  699. sizeCache protoimpl.SizeCache
  700. unknownFields protoimpl.UnknownFields
  701. Label []*LabelPair `protobuf:"bytes,1,rep,name=label" json:"label,omitempty"`
  702. Gauge *Gauge `protobuf:"bytes,2,opt,name=gauge" json:"gauge,omitempty"`
  703. Counter *Counter `protobuf:"bytes,3,opt,name=counter" json:"counter,omitempty"`
  704. Summary *Summary `protobuf:"bytes,4,opt,name=summary" json:"summary,omitempty"`
  705. Untyped *Untyped `protobuf:"bytes,5,opt,name=untyped" json:"untyped,omitempty"`
  706. Histogram *Histogram `protobuf:"bytes,7,opt,name=histogram" json:"histogram,omitempty"`
  707. TimestampMs *int64 `protobuf:"varint,6,opt,name=timestamp_ms,json=timestampMs" json:"timestamp_ms,omitempty"`
  708. }
  709. func (x *Metric) Reset() {
  710. *x = Metric{}
  711. if protoimpl.UnsafeEnabled {
  712. mi := &file_io_prometheus_client_metrics_proto_msgTypes[10]
  713. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  714. ms.StoreMessageInfo(mi)
  715. }
  716. }
  717. func (x *Metric) String() string {
  718. return protoimpl.X.MessageStringOf(x)
  719. }
  720. func (*Metric) ProtoMessage() {}
  721. func (x *Metric) ProtoReflect() protoreflect.Message {
  722. mi := &file_io_prometheus_client_metrics_proto_msgTypes[10]
  723. if protoimpl.UnsafeEnabled && x != nil {
  724. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  725. if ms.LoadMessageInfo() == nil {
  726. ms.StoreMessageInfo(mi)
  727. }
  728. return ms
  729. }
  730. return mi.MessageOf(x)
  731. }
  732. // Deprecated: Use Metric.ProtoReflect.Descriptor instead.
  733. func (*Metric) Descriptor() ([]byte, []int) {
  734. return file_io_prometheus_client_metrics_proto_rawDescGZIP(), []int{10}
  735. }
  736. func (x *Metric) GetLabel() []*LabelPair {
  737. if x != nil {
  738. return x.Label
  739. }
  740. return nil
  741. }
  742. func (x *Metric) GetGauge() *Gauge {
  743. if x != nil {
  744. return x.Gauge
  745. }
  746. return nil
  747. }
  748. func (x *Metric) GetCounter() *Counter {
  749. if x != nil {
  750. return x.Counter
  751. }
  752. return nil
  753. }
  754. func (x *Metric) GetSummary() *Summary {
  755. if x != nil {
  756. return x.Summary
  757. }
  758. return nil
  759. }
  760. func (x *Metric) GetUntyped() *Untyped {
  761. if x != nil {
  762. return x.Untyped
  763. }
  764. return nil
  765. }
  766. func (x *Metric) GetHistogram() *Histogram {
  767. if x != nil {
  768. return x.Histogram
  769. }
  770. return nil
  771. }
  772. func (x *Metric) GetTimestampMs() int64 {
  773. if x != nil && x.TimestampMs != nil {
  774. return *x.TimestampMs
  775. }
  776. return 0
  777. }
  778. type MetricFamily struct {
  779. state protoimpl.MessageState
  780. sizeCache protoimpl.SizeCache
  781. unknownFields protoimpl.UnknownFields
  782. Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
  783. Help *string `protobuf:"bytes,2,opt,name=help" json:"help,omitempty"`
  784. Type *MetricType `protobuf:"varint,3,opt,name=type,enum=io.prometheus.client.MetricType" json:"type,omitempty"`
  785. Metric []*Metric `protobuf:"bytes,4,rep,name=metric" json:"metric,omitempty"`
  786. }
  787. func (x *MetricFamily) Reset() {
  788. *x = MetricFamily{}
  789. if protoimpl.UnsafeEnabled {
  790. mi := &file_io_prometheus_client_metrics_proto_msgTypes[11]
  791. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  792. ms.StoreMessageInfo(mi)
  793. }
  794. }
  795. func (x *MetricFamily) String() string {
  796. return protoimpl.X.MessageStringOf(x)
  797. }
  798. func (*MetricFamily) ProtoMessage() {}
  799. func (x *MetricFamily) ProtoReflect() protoreflect.Message {
  800. mi := &file_io_prometheus_client_metrics_proto_msgTypes[11]
  801. if protoimpl.UnsafeEnabled && x != nil {
  802. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  803. if ms.LoadMessageInfo() == nil {
  804. ms.StoreMessageInfo(mi)
  805. }
  806. return ms
  807. }
  808. return mi.MessageOf(x)
  809. }
  810. // Deprecated: Use MetricFamily.ProtoReflect.Descriptor instead.
  811. func (*MetricFamily) Descriptor() ([]byte, []int) {
  812. return file_io_prometheus_client_metrics_proto_rawDescGZIP(), []int{11}
  813. }
  814. func (x *MetricFamily) GetName() string {
  815. if x != nil && x.Name != nil {
  816. return *x.Name
  817. }
  818. return ""
  819. }
  820. func (x *MetricFamily) GetHelp() string {
  821. if x != nil && x.Help != nil {
  822. return *x.Help
  823. }
  824. return ""
  825. }
  826. func (x *MetricFamily) GetType() MetricType {
  827. if x != nil && x.Type != nil {
  828. return *x.Type
  829. }
  830. return MetricType_COUNTER
  831. }
  832. func (x *MetricFamily) GetMetric() []*Metric {
  833. if x != nil {
  834. return x.Metric
  835. }
  836. return nil
  837. }
  838. var File_io_prometheus_client_metrics_proto protoreflect.FileDescriptor
  839. var file_io_prometheus_client_metrics_proto_rawDesc = []byte{
  840. 0x0a, 0x22, 0x69, 0x6f, 0x2f, 0x70, 0x72, 0x6f, 0x6d, 0x65, 0x74, 0x68, 0x65, 0x75, 0x73, 0x2f,
  841. 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x70,
  842. 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x14, 0x69, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x6d, 0x65, 0x74, 0x68,
  843. 0x65, 0x75, 0x73, 0x2e, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67,
  844. 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65,
  845. 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x35, 0x0a, 0x09, 0x4c,
  846. 0x61, 0x62, 0x65, 0x6c, 0x50, 0x61, 0x69, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
  847. 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05,
  848. 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c,
  849. 0x75, 0x65, 0x22, 0x1d, 0x0a, 0x05, 0x47, 0x61, 0x75, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76,
  850. 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x01, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,
  851. 0x65, 0x22, 0xa4, 0x01, 0x0a, 0x07, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x12, 0x14, 0x0a,
  852. 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x01, 0x52, 0x05, 0x76, 0x61,
  853. 0x6c, 0x75, 0x65, 0x12, 0x3a, 0x0a, 0x08, 0x65, 0x78, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x72, 0x18,
  854. 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x69, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x6d, 0x65,
  855. 0x74, 0x68, 0x65, 0x75, 0x73, 0x2e, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x45, 0x78, 0x65,
  856. 0x6d, 0x70, 0x6c, 0x61, 0x72, 0x52, 0x08, 0x65, 0x78, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x72, 0x12,
  857. 0x47, 0x0a, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73,
  858. 0x74, 0x61, 0x6d, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f,
  859. 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d,
  860. 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x10, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x54,
  861. 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0x3c, 0x0a, 0x08, 0x51, 0x75, 0x61, 0x6e,
  862. 0x74, 0x69, 0x6c, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x6c, 0x65,
  863. 0x18, 0x01, 0x20, 0x01, 0x28, 0x01, 0x52, 0x08, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x6c, 0x65,
  864. 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52,
  865. 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0xd0, 0x01, 0x0a, 0x07, 0x53, 0x75, 0x6d, 0x6d, 0x61,
  866. 0x72, 0x79, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x5f, 0x63, 0x6f, 0x75,
  867. 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65,
  868. 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x5f,
  869. 0x73, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x09, 0x73, 0x61, 0x6d, 0x70, 0x6c,
  870. 0x65, 0x53, 0x75, 0x6d, 0x12, 0x3a, 0x0a, 0x08, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x6c, 0x65,
  871. 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x69, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x6d,
  872. 0x65, 0x74, 0x68, 0x65, 0x75, 0x73, 0x2e, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x51, 0x75,
  873. 0x61, 0x6e, 0x74, 0x69, 0x6c, 0x65, 0x52, 0x08, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x6c, 0x65,
  874. 0x12, 0x47, 0x0a, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65,
  875. 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f,
  876. 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69,
  877. 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x10, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64,
  878. 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0x1f, 0x0a, 0x07, 0x55, 0x6e, 0x74,
  879. 0x79, 0x70, 0x65, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20,
  880. 0x01, 0x28, 0x01, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0xac, 0x05, 0x0a, 0x09, 0x48,
  881. 0x69, 0x73, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x61, 0x6d, 0x70,
  882. 0x6c, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b,
  883. 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2c, 0x0a, 0x12, 0x73,
  884. 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x66, 0x6c, 0x6f, 0x61,
  885. 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x01, 0x52, 0x10, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x43,
  886. 0x6f, 0x75, 0x6e, 0x74, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x61, 0x6d,
  887. 0x70, 0x6c, 0x65, 0x5f, 0x73, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x09, 0x73,
  888. 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x53, 0x75, 0x6d, 0x12, 0x34, 0x0a, 0x06, 0x62, 0x75, 0x63, 0x6b,
  889. 0x65, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x69, 0x6f, 0x2e, 0x70, 0x72,
  890. 0x6f, 0x6d, 0x65, 0x74, 0x68, 0x65, 0x75, 0x73, 0x2e, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e,
  891. 0x42, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x52, 0x06, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x12, 0x47,
  892. 0x0a, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74,
  893. 0x61, 0x6d, 0x70, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
  894. 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65,
  895. 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x10, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x54, 0x69,
  896. 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d,
  897. 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x11, 0x52, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12,
  898. 0x25, 0x0a, 0x0e, 0x7a, 0x65, 0x72, 0x6f, 0x5f, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c,
  899. 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0d, 0x7a, 0x65, 0x72, 0x6f, 0x54, 0x68, 0x72,
  900. 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x7a, 0x65, 0x72, 0x6f, 0x5f, 0x63,
  901. 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x7a, 0x65, 0x72, 0x6f,
  902. 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x7a, 0x65, 0x72, 0x6f, 0x5f, 0x63, 0x6f,
  903. 0x75, 0x6e, 0x74, 0x5f, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x01, 0x52,
  904. 0x0e, 0x7a, 0x65, 0x72, 0x6f, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x12,
  905. 0x45, 0x0a, 0x0d, 0x6e, 0x65, 0x67, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70, 0x61, 0x6e,
  906. 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x69, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x6d,
  907. 0x65, 0x74, 0x68, 0x65, 0x75, 0x73, 0x2e, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x42, 0x75,
  908. 0x63, 0x6b, 0x65, 0x74, 0x53, 0x70, 0x61, 0x6e, 0x52, 0x0c, 0x6e, 0x65, 0x67, 0x61, 0x74, 0x69,
  909. 0x76, 0x65, 0x53, 0x70, 0x61, 0x6e, 0x12, 0x25, 0x0a, 0x0e, 0x6e, 0x65, 0x67, 0x61, 0x74, 0x69,
  910. 0x76, 0x65, 0x5f, 0x64, 0x65, 0x6c, 0x74, 0x61, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x12, 0x52, 0x0d,
  911. 0x6e, 0x65, 0x67, 0x61, 0x74, 0x69, 0x76, 0x65, 0x44, 0x65, 0x6c, 0x74, 0x61, 0x12, 0x25, 0x0a,
  912. 0x0e, 0x6e, 0x65, 0x67, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18,
  913. 0x0b, 0x20, 0x03, 0x28, 0x01, 0x52, 0x0d, 0x6e, 0x65, 0x67, 0x61, 0x74, 0x69, 0x76, 0x65, 0x43,
  914. 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x45, 0x0a, 0x0d, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65,
  915. 0x5f, 0x73, 0x70, 0x61, 0x6e, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x69, 0x6f,
  916. 0x2e, 0x70, 0x72, 0x6f, 0x6d, 0x65, 0x74, 0x68, 0x65, 0x75, 0x73, 0x2e, 0x63, 0x6c, 0x69, 0x65,
  917. 0x6e, 0x74, 0x2e, 0x42, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x53, 0x70, 0x61, 0x6e, 0x52, 0x0c, 0x70,
  918. 0x6f, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x53, 0x70, 0x61, 0x6e, 0x12, 0x25, 0x0a, 0x0e, 0x70,
  919. 0x6f, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x6c, 0x74, 0x61, 0x18, 0x0d, 0x20,
  920. 0x03, 0x28, 0x12, 0x52, 0x0d, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x44, 0x65, 0x6c,
  921. 0x74, 0x61, 0x12, 0x25, 0x0a, 0x0e, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x63,
  922. 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x01, 0x52, 0x0d, 0x70, 0x6f, 0x73, 0x69,
  923. 0x74, 0x69, 0x76, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0xc6, 0x01, 0x0a, 0x06, 0x42, 0x75,
  924. 0x63, 0x6b, 0x65, 0x74, 0x12, 0x29, 0x0a, 0x10, 0x63, 0x75, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x69,
  925. 0x76, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f,
  926. 0x63, 0x75, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12,
  927. 0x34, 0x0a, 0x16, 0x63, 0x75, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x63, 0x6f,
  928. 0x75, 0x6e, 0x74, 0x5f, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x01, 0x52,
  929. 0x14, 0x63, 0x75, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74,
  930. 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x75, 0x70, 0x70, 0x65, 0x72, 0x5f, 0x62,
  931. 0x6f, 0x75, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0a, 0x75, 0x70, 0x70, 0x65,
  932. 0x72, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x12, 0x3a, 0x0a, 0x08, 0x65, 0x78, 0x65, 0x6d, 0x70, 0x6c,
  933. 0x61, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x69, 0x6f, 0x2e, 0x70, 0x72,
  934. 0x6f, 0x6d, 0x65, 0x74, 0x68, 0x65, 0x75, 0x73, 0x2e, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e,
  935. 0x45, 0x78, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x72, 0x52, 0x08, 0x65, 0x78, 0x65, 0x6d, 0x70, 0x6c,
  936. 0x61, 0x72, 0x22, 0x3c, 0x0a, 0x0a, 0x42, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x53, 0x70, 0x61, 0x6e,
  937. 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x11,
  938. 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x65, 0x6e, 0x67,
  939. 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68,
  940. 0x22, 0x91, 0x01, 0x0a, 0x08, 0x45, 0x78, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x72, 0x12, 0x35, 0x0a,
  941. 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x69,
  942. 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x6d, 0x65, 0x74, 0x68, 0x65, 0x75, 0x73, 0x2e, 0x63, 0x6c, 0x69,
  943. 0x65, 0x6e, 0x74, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x50, 0x61, 0x69, 0x72, 0x52, 0x05, 0x6c,
  944. 0x61, 0x62, 0x65, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20,
  945. 0x01, 0x28, 0x01, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x38, 0x0a, 0x09, 0x74, 0x69,
  946. 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e,
  947. 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
  948. 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73,
  949. 0x74, 0x61, 0x6d, 0x70, 0x22, 0xff, 0x02, 0x0a, 0x06, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x12,
  950. 0x35, 0x0a, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f,
  951. 0x2e, 0x69, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x6d, 0x65, 0x74, 0x68, 0x65, 0x75, 0x73, 0x2e, 0x63,
  952. 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x50, 0x61, 0x69, 0x72, 0x52,
  953. 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x12, 0x31, 0x0a, 0x05, 0x67, 0x61, 0x75, 0x67, 0x65, 0x18,
  954. 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x69, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x6d, 0x65,
  955. 0x74, 0x68, 0x65, 0x75, 0x73, 0x2e, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x47, 0x61, 0x75,
  956. 0x67, 0x65, 0x52, 0x05, 0x67, 0x61, 0x75, 0x67, 0x65, 0x12, 0x37, 0x0a, 0x07, 0x63, 0x6f, 0x75,
  957. 0x6e, 0x74, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x69, 0x6f, 0x2e,
  958. 0x70, 0x72, 0x6f, 0x6d, 0x65, 0x74, 0x68, 0x65, 0x75, 0x73, 0x2e, 0x63, 0x6c, 0x69, 0x65, 0x6e,
  959. 0x74, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x52, 0x07, 0x63, 0x6f, 0x75, 0x6e, 0x74,
  960. 0x65, 0x72, 0x12, 0x37, 0x0a, 0x07, 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x04, 0x20,
  961. 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x69, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x6d, 0x65, 0x74, 0x68,
  962. 0x65, 0x75, 0x73, 0x2e, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x53, 0x75, 0x6d, 0x6d, 0x61,
  963. 0x72, 0x79, 0x52, 0x07, 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x12, 0x37, 0x0a, 0x07, 0x75,
  964. 0x6e, 0x74, 0x79, 0x70, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x69,
  965. 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x6d, 0x65, 0x74, 0x68, 0x65, 0x75, 0x73, 0x2e, 0x63, 0x6c, 0x69,
  966. 0x65, 0x6e, 0x74, 0x2e, 0x55, 0x6e, 0x74, 0x79, 0x70, 0x65, 0x64, 0x52, 0x07, 0x75, 0x6e, 0x74,
  967. 0x79, 0x70, 0x65, 0x64, 0x12, 0x3d, 0x0a, 0x09, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x67, 0x72, 0x61,
  968. 0x6d, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x69, 0x6f, 0x2e, 0x70, 0x72, 0x6f,
  969. 0x6d, 0x65, 0x74, 0x68, 0x65, 0x75, 0x73, 0x2e, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x48,
  970. 0x69, 0x73, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x52, 0x09, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x67,
  971. 0x72, 0x61, 0x6d, 0x12, 0x21, 0x0a, 0x0c, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70,
  972. 0x5f, 0x6d, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x74, 0x69, 0x6d, 0x65, 0x73,
  973. 0x74, 0x61, 0x6d, 0x70, 0x4d, 0x73, 0x22, 0xa2, 0x01, 0x0a, 0x0c, 0x4d, 0x65, 0x74, 0x72, 0x69,
  974. 0x63, 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
  975. 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x68,
  976. 0x65, 0x6c, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x65, 0x6c, 0x70, 0x12,
  977. 0x34, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x20, 0x2e,
  978. 0x69, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x6d, 0x65, 0x74, 0x68, 0x65, 0x75, 0x73, 0x2e, 0x63, 0x6c,
  979. 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x54, 0x79, 0x70, 0x65, 0x52,
  980. 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x34, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x18,
  981. 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x69, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x6d, 0x65,
  982. 0x74, 0x68, 0x65, 0x75, 0x73, 0x2e, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x4d, 0x65, 0x74,
  983. 0x72, 0x69, 0x63, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x2a, 0x62, 0x0a, 0x0a, 0x4d,
  984. 0x65, 0x74, 0x72, 0x69, 0x63, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x43, 0x4f, 0x55,
  985. 0x4e, 0x54, 0x45, 0x52, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x47, 0x41, 0x55, 0x47, 0x45, 0x10,
  986. 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x55, 0x4d, 0x4d, 0x41, 0x52, 0x59, 0x10, 0x02, 0x12, 0x0b,
  987. 0x0a, 0x07, 0x55, 0x4e, 0x54, 0x59, 0x50, 0x45, 0x44, 0x10, 0x03, 0x12, 0x0d, 0x0a, 0x09, 0x48,
  988. 0x49, 0x53, 0x54, 0x4f, 0x47, 0x52, 0x41, 0x4d, 0x10, 0x04, 0x12, 0x13, 0x0a, 0x0f, 0x47, 0x41,
  989. 0x55, 0x47, 0x45, 0x5f, 0x48, 0x49, 0x53, 0x54, 0x4f, 0x47, 0x52, 0x41, 0x4d, 0x10, 0x05, 0x42,
  990. 0x52, 0x0a, 0x14, 0x69, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x6d, 0x65, 0x74, 0x68, 0x65, 0x75, 0x73,
  991. 0x2e, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5a, 0x3a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e,
  992. 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x6f, 0x6d, 0x65, 0x74, 0x68, 0x65, 0x75, 0x73, 0x2f, 0x63,
  993. 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f, 0x67, 0x6f, 0x3b, 0x69,
  994. 0x6f, 0x5f, 0x70, 0x72, 0x6f, 0x6d, 0x65, 0x74, 0x68, 0x65, 0x75, 0x73, 0x5f, 0x63, 0x6c, 0x69,
  995. 0x65, 0x6e, 0x74,
  996. }
  997. var (
  998. file_io_prometheus_client_metrics_proto_rawDescOnce sync.Once
  999. file_io_prometheus_client_metrics_proto_rawDescData = file_io_prometheus_client_metrics_proto_rawDesc
  1000. )
  1001. func file_io_prometheus_client_metrics_proto_rawDescGZIP() []byte {
  1002. file_io_prometheus_client_metrics_proto_rawDescOnce.Do(func() {
  1003. file_io_prometheus_client_metrics_proto_rawDescData = protoimpl.X.CompressGZIP(file_io_prometheus_client_metrics_proto_rawDescData)
  1004. })
  1005. return file_io_prometheus_client_metrics_proto_rawDescData
  1006. }
  1007. var file_io_prometheus_client_metrics_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
  1008. var file_io_prometheus_client_metrics_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
  1009. var file_io_prometheus_client_metrics_proto_goTypes = []interface{}{
  1010. (MetricType)(0), // 0: io.prometheus.client.MetricType
  1011. (*LabelPair)(nil), // 1: io.prometheus.client.LabelPair
  1012. (*Gauge)(nil), // 2: io.prometheus.client.Gauge
  1013. (*Counter)(nil), // 3: io.prometheus.client.Counter
  1014. (*Quantile)(nil), // 4: io.prometheus.client.Quantile
  1015. (*Summary)(nil), // 5: io.prometheus.client.Summary
  1016. (*Untyped)(nil), // 6: io.prometheus.client.Untyped
  1017. (*Histogram)(nil), // 7: io.prometheus.client.Histogram
  1018. (*Bucket)(nil), // 8: io.prometheus.client.Bucket
  1019. (*BucketSpan)(nil), // 9: io.prometheus.client.BucketSpan
  1020. (*Exemplar)(nil), // 10: io.prometheus.client.Exemplar
  1021. (*Metric)(nil), // 11: io.prometheus.client.Metric
  1022. (*MetricFamily)(nil), // 12: io.prometheus.client.MetricFamily
  1023. (*timestamppb.Timestamp)(nil), // 13: google.protobuf.Timestamp
  1024. }
  1025. var file_io_prometheus_client_metrics_proto_depIdxs = []int32{
  1026. 10, // 0: io.prometheus.client.Counter.exemplar:type_name -> io.prometheus.client.Exemplar
  1027. 13, // 1: io.prometheus.client.Counter.created_timestamp:type_name -> google.protobuf.Timestamp
  1028. 4, // 2: io.prometheus.client.Summary.quantile:type_name -> io.prometheus.client.Quantile
  1029. 13, // 3: io.prometheus.client.Summary.created_timestamp:type_name -> google.protobuf.Timestamp
  1030. 8, // 4: io.prometheus.client.Histogram.bucket:type_name -> io.prometheus.client.Bucket
  1031. 13, // 5: io.prometheus.client.Histogram.created_timestamp:type_name -> google.protobuf.Timestamp
  1032. 9, // 6: io.prometheus.client.Histogram.negative_span:type_name -> io.prometheus.client.BucketSpan
  1033. 9, // 7: io.prometheus.client.Histogram.positive_span:type_name -> io.prometheus.client.BucketSpan
  1034. 10, // 8: io.prometheus.client.Bucket.exemplar:type_name -> io.prometheus.client.Exemplar
  1035. 1, // 9: io.prometheus.client.Exemplar.label:type_name -> io.prometheus.client.LabelPair
  1036. 13, // 10: io.prometheus.client.Exemplar.timestamp:type_name -> google.protobuf.Timestamp
  1037. 1, // 11: io.prometheus.client.Metric.label:type_name -> io.prometheus.client.LabelPair
  1038. 2, // 12: io.prometheus.client.Metric.gauge:type_name -> io.prometheus.client.Gauge
  1039. 3, // 13: io.prometheus.client.Metric.counter:type_name -> io.prometheus.client.Counter
  1040. 5, // 14: io.prometheus.client.Metric.summary:type_name -> io.prometheus.client.Summary
  1041. 6, // 15: io.prometheus.client.Metric.untyped:type_name -> io.prometheus.client.Untyped
  1042. 7, // 16: io.prometheus.client.Metric.histogram:type_name -> io.prometheus.client.Histogram
  1043. 0, // 17: io.prometheus.client.MetricFamily.type:type_name -> io.prometheus.client.MetricType
  1044. 11, // 18: io.prometheus.client.MetricFamily.metric:type_name -> io.prometheus.client.Metric
  1045. 19, // [19:19] is the sub-list for method output_type
  1046. 19, // [19:19] is the sub-list for method input_type
  1047. 19, // [19:19] is the sub-list for extension type_name
  1048. 19, // [19:19] is the sub-list for extension extendee
  1049. 0, // [0:19] is the sub-list for field type_name
  1050. }
  1051. func init() { file_io_prometheus_client_metrics_proto_init() }
  1052. func file_io_prometheus_client_metrics_proto_init() {
  1053. if File_io_prometheus_client_metrics_proto != nil {
  1054. return
  1055. }
  1056. if !protoimpl.UnsafeEnabled {
  1057. file_io_prometheus_client_metrics_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  1058. switch v := v.(*LabelPair); i {
  1059. case 0:
  1060. return &v.state
  1061. case 1:
  1062. return &v.sizeCache
  1063. case 2:
  1064. return &v.unknownFields
  1065. default:
  1066. return nil
  1067. }
  1068. }
  1069. file_io_prometheus_client_metrics_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  1070. switch v := v.(*Gauge); i {
  1071. case 0:
  1072. return &v.state
  1073. case 1:
  1074. return &v.sizeCache
  1075. case 2:
  1076. return &v.unknownFields
  1077. default:
  1078. return nil
  1079. }
  1080. }
  1081. file_io_prometheus_client_metrics_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  1082. switch v := v.(*Counter); 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[3].Exporter = func(v interface{}, i int) interface{} {
  1094. switch v := v.(*Quantile); 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[4].Exporter = func(v interface{}, i int) interface{} {
  1106. switch v := v.(*Summary); 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[5].Exporter = func(v interface{}, i int) interface{} {
  1118. switch v := v.(*Untyped); 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[6].Exporter = func(v interface{}, i int) interface{} {
  1130. switch v := v.(*Histogram); 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[7].Exporter = func(v interface{}, i int) interface{} {
  1142. switch v := v.(*Bucket); 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[8].Exporter = func(v interface{}, i int) interface{} {
  1154. switch v := v.(*BucketSpan); 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[9].Exporter = func(v interface{}, i int) interface{} {
  1166. switch v := v.(*Exemplar); 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[10].Exporter = func(v interface{}, i int) interface{} {
  1178. switch v := v.(*Metric); 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[11].Exporter = func(v interface{}, i int) interface{} {
  1190. switch v := v.(*MetricFamily); 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. }
  1202. type x struct{}
  1203. out := protoimpl.TypeBuilder{
  1204. File: protoimpl.DescBuilder{
  1205. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  1206. RawDescriptor: file_io_prometheus_client_metrics_proto_rawDesc,
  1207. NumEnums: 1,
  1208. NumMessages: 12,
  1209. NumExtensions: 0,
  1210. NumServices: 0,
  1211. },
  1212. GoTypes: file_io_prometheus_client_metrics_proto_goTypes,
  1213. DependencyIndexes: file_io_prometheus_client_metrics_proto_depIdxs,
  1214. EnumInfos: file_io_prometheus_client_metrics_proto_enumTypes,
  1215. MessageInfos: file_io_prometheus_client_metrics_proto_msgTypes,
  1216. }.Build()
  1217. File_io_prometheus_client_metrics_proto = out.File
  1218. file_io_prometheus_client_metrics_proto_rawDesc = nil
  1219. file_io_prometheus_client_metrics_proto_goTypes = nil
  1220. file_io_prometheus_client_metrics_proto_depIdxs = nil
  1221. }