metrics.pb.go 50 KB

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