1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package distribution
22
23 import (
24 reflect "reflect"
25 sync "sync"
26
27 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
28 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
29 anypb "google.golang.org/protobuf/types/known/anypb"
30 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
31 )
32
33 const (
34
35 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
36
37 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
38 )
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54 type Distribution struct {
55 state protoimpl.MessageState
56 sizeCache protoimpl.SizeCache
57 unknownFields protoimpl.UnknownFields
58
59
60
61
62 Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
63
64
65 Mean float64 `protobuf:"fixed64,2,opt,name=mean,proto3" json:"mean,omitempty"`
66
67
68
69
70
71
72
73
74
75 SumOfSquaredDeviation float64 `protobuf:"fixed64,3,opt,name=sum_of_squared_deviation,json=sumOfSquaredDeviation,proto3" json:"sum_of_squared_deviation,omitempty"`
76
77
78 Range *Distribution_Range `protobuf:"bytes,4,opt,name=range,proto3" json:"range,omitempty"`
79
80
81 BucketOptions *Distribution_BucketOptions `protobuf:"bytes,6,opt,name=bucket_options,json=bucketOptions,proto3" json:"bucket_options,omitempty"`
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97 BucketCounts []int64 `protobuf:"varint,7,rep,packed,name=bucket_counts,json=bucketCounts,proto3" json:"bucket_counts,omitempty"`
98
99 Exemplars []*Distribution_Exemplar `protobuf:"bytes,10,rep,name=exemplars,proto3" json:"exemplars,omitempty"`
100 }
101
102 func (x *Distribution) Reset() {
103 *x = Distribution{}
104 if protoimpl.UnsafeEnabled {
105 mi := &file_google_api_distribution_proto_msgTypes[0]
106 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
107 ms.StoreMessageInfo(mi)
108 }
109 }
110
111 func (x *Distribution) String() string {
112 return protoimpl.X.MessageStringOf(x)
113 }
114
115 func (*Distribution) ProtoMessage() {}
116
117 func (x *Distribution) ProtoReflect() protoreflect.Message {
118 mi := &file_google_api_distribution_proto_msgTypes[0]
119 if protoimpl.UnsafeEnabled && x != nil {
120 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
121 if ms.LoadMessageInfo() == nil {
122 ms.StoreMessageInfo(mi)
123 }
124 return ms
125 }
126 return mi.MessageOf(x)
127 }
128
129
130 func (*Distribution) Descriptor() ([]byte, []int) {
131 return file_google_api_distribution_proto_rawDescGZIP(), []int{0}
132 }
133
134 func (x *Distribution) GetCount() int64 {
135 if x != nil {
136 return x.Count
137 }
138 return 0
139 }
140
141 func (x *Distribution) GetMean() float64 {
142 if x != nil {
143 return x.Mean
144 }
145 return 0
146 }
147
148 func (x *Distribution) GetSumOfSquaredDeviation() float64 {
149 if x != nil {
150 return x.SumOfSquaredDeviation
151 }
152 return 0
153 }
154
155 func (x *Distribution) GetRange() *Distribution_Range {
156 if x != nil {
157 return x.Range
158 }
159 return nil
160 }
161
162 func (x *Distribution) GetBucketOptions() *Distribution_BucketOptions {
163 if x != nil {
164 return x.BucketOptions
165 }
166 return nil
167 }
168
169 func (x *Distribution) GetBucketCounts() []int64 {
170 if x != nil {
171 return x.BucketCounts
172 }
173 return nil
174 }
175
176 func (x *Distribution) GetExemplars() []*Distribution_Exemplar {
177 if x != nil {
178 return x.Exemplars
179 }
180 return nil
181 }
182
183
184 type Distribution_Range struct {
185 state protoimpl.MessageState
186 sizeCache protoimpl.SizeCache
187 unknownFields protoimpl.UnknownFields
188
189
190 Min float64 `protobuf:"fixed64,1,opt,name=min,proto3" json:"min,omitempty"`
191
192 Max float64 `protobuf:"fixed64,2,opt,name=max,proto3" json:"max,omitempty"`
193 }
194
195 func (x *Distribution_Range) Reset() {
196 *x = Distribution_Range{}
197 if protoimpl.UnsafeEnabled {
198 mi := &file_google_api_distribution_proto_msgTypes[1]
199 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
200 ms.StoreMessageInfo(mi)
201 }
202 }
203
204 func (x *Distribution_Range) String() string {
205 return protoimpl.X.MessageStringOf(x)
206 }
207
208 func (*Distribution_Range) ProtoMessage() {}
209
210 func (x *Distribution_Range) ProtoReflect() protoreflect.Message {
211 mi := &file_google_api_distribution_proto_msgTypes[1]
212 if protoimpl.UnsafeEnabled && x != nil {
213 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
214 if ms.LoadMessageInfo() == nil {
215 ms.StoreMessageInfo(mi)
216 }
217 return ms
218 }
219 return mi.MessageOf(x)
220 }
221
222
223 func (*Distribution_Range) Descriptor() ([]byte, []int) {
224 return file_google_api_distribution_proto_rawDescGZIP(), []int{0, 0}
225 }
226
227 func (x *Distribution_Range) GetMin() float64 {
228 if x != nil {
229 return x.Min
230 }
231 return 0
232 }
233
234 func (x *Distribution_Range) GetMax() float64 {
235 if x != nil {
236 return x.Max
237 }
238 return 0
239 }
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256 type Distribution_BucketOptions struct {
257 state protoimpl.MessageState
258 sizeCache protoimpl.SizeCache
259 unknownFields protoimpl.UnknownFields
260
261
262
263
264
265
266
267
268 Options isDistribution_BucketOptions_Options `protobuf_oneof:"options"`
269 }
270
271 func (x *Distribution_BucketOptions) Reset() {
272 *x = Distribution_BucketOptions{}
273 if protoimpl.UnsafeEnabled {
274 mi := &file_google_api_distribution_proto_msgTypes[2]
275 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
276 ms.StoreMessageInfo(mi)
277 }
278 }
279
280 func (x *Distribution_BucketOptions) String() string {
281 return protoimpl.X.MessageStringOf(x)
282 }
283
284 func (*Distribution_BucketOptions) ProtoMessage() {}
285
286 func (x *Distribution_BucketOptions) ProtoReflect() protoreflect.Message {
287 mi := &file_google_api_distribution_proto_msgTypes[2]
288 if protoimpl.UnsafeEnabled && x != nil {
289 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
290 if ms.LoadMessageInfo() == nil {
291 ms.StoreMessageInfo(mi)
292 }
293 return ms
294 }
295 return mi.MessageOf(x)
296 }
297
298
299 func (*Distribution_BucketOptions) Descriptor() ([]byte, []int) {
300 return file_google_api_distribution_proto_rawDescGZIP(), []int{0, 1}
301 }
302
303 func (m *Distribution_BucketOptions) GetOptions() isDistribution_BucketOptions_Options {
304 if m != nil {
305 return m.Options
306 }
307 return nil
308 }
309
310 func (x *Distribution_BucketOptions) GetLinearBuckets() *Distribution_BucketOptions_Linear {
311 if x, ok := x.GetOptions().(*Distribution_BucketOptions_LinearBuckets); ok {
312 return x.LinearBuckets
313 }
314 return nil
315 }
316
317 func (x *Distribution_BucketOptions) GetExponentialBuckets() *Distribution_BucketOptions_Exponential {
318 if x, ok := x.GetOptions().(*Distribution_BucketOptions_ExponentialBuckets); ok {
319 return x.ExponentialBuckets
320 }
321 return nil
322 }
323
324 func (x *Distribution_BucketOptions) GetExplicitBuckets() *Distribution_BucketOptions_Explicit {
325 if x, ok := x.GetOptions().(*Distribution_BucketOptions_ExplicitBuckets); ok {
326 return x.ExplicitBuckets
327 }
328 return nil
329 }
330
331 type isDistribution_BucketOptions_Options interface {
332 isDistribution_BucketOptions_Options()
333 }
334
335 type Distribution_BucketOptions_LinearBuckets struct {
336
337 LinearBuckets *Distribution_BucketOptions_Linear `protobuf:"bytes,1,opt,name=linear_buckets,json=linearBuckets,proto3,oneof"`
338 }
339
340 type Distribution_BucketOptions_ExponentialBuckets struct {
341
342 ExponentialBuckets *Distribution_BucketOptions_Exponential `protobuf:"bytes,2,opt,name=exponential_buckets,json=exponentialBuckets,proto3,oneof"`
343 }
344
345 type Distribution_BucketOptions_ExplicitBuckets struct {
346
347 ExplicitBuckets *Distribution_BucketOptions_Explicit `protobuf:"bytes,3,opt,name=explicit_buckets,json=explicitBuckets,proto3,oneof"`
348 }
349
350 func (*Distribution_BucketOptions_LinearBuckets) isDistribution_BucketOptions_Options() {}
351
352 func (*Distribution_BucketOptions_ExponentialBuckets) isDistribution_BucketOptions_Options() {}
353
354 func (*Distribution_BucketOptions_ExplicitBuckets) isDistribution_BucketOptions_Options() {}
355
356
357
358
359
360
361 type Distribution_Exemplar struct {
362 state protoimpl.MessageState
363 sizeCache protoimpl.SizeCache
364 unknownFields protoimpl.UnknownFields
365
366
367
368 Value float64 `protobuf:"fixed64,1,opt,name=value,proto3" json:"value,omitempty"`
369
370 Timestamp *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
371
372
373
374
375
376
377
378
379
380
381
382 Attachments []*anypb.Any `protobuf:"bytes,3,rep,name=attachments,proto3" json:"attachments,omitempty"`
383 }
384
385 func (x *Distribution_Exemplar) Reset() {
386 *x = Distribution_Exemplar{}
387 if protoimpl.UnsafeEnabled {
388 mi := &file_google_api_distribution_proto_msgTypes[3]
389 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
390 ms.StoreMessageInfo(mi)
391 }
392 }
393
394 func (x *Distribution_Exemplar) String() string {
395 return protoimpl.X.MessageStringOf(x)
396 }
397
398 func (*Distribution_Exemplar) ProtoMessage() {}
399
400 func (x *Distribution_Exemplar) ProtoReflect() protoreflect.Message {
401 mi := &file_google_api_distribution_proto_msgTypes[3]
402 if protoimpl.UnsafeEnabled && x != nil {
403 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
404 if ms.LoadMessageInfo() == nil {
405 ms.StoreMessageInfo(mi)
406 }
407 return ms
408 }
409 return mi.MessageOf(x)
410 }
411
412
413 func (*Distribution_Exemplar) Descriptor() ([]byte, []int) {
414 return file_google_api_distribution_proto_rawDescGZIP(), []int{0, 2}
415 }
416
417 func (x *Distribution_Exemplar) GetValue() float64 {
418 if x != nil {
419 return x.Value
420 }
421 return 0
422 }
423
424 func (x *Distribution_Exemplar) GetTimestamp() *timestamppb.Timestamp {
425 if x != nil {
426 return x.Timestamp
427 }
428 return nil
429 }
430
431 func (x *Distribution_Exemplar) GetAttachments() []*anypb.Any {
432 if x != nil {
433 return x.Attachments
434 }
435 return nil
436 }
437
438
439
440
441
442
443
444
445
446
447
448 type Distribution_BucketOptions_Linear struct {
449 state protoimpl.MessageState
450 sizeCache protoimpl.SizeCache
451 unknownFields protoimpl.UnknownFields
452
453
454 NumFiniteBuckets int32 `protobuf:"varint,1,opt,name=num_finite_buckets,json=numFiniteBuckets,proto3" json:"num_finite_buckets,omitempty"`
455
456 Width float64 `protobuf:"fixed64,2,opt,name=width,proto3" json:"width,omitempty"`
457
458 Offset float64 `protobuf:"fixed64,3,opt,name=offset,proto3" json:"offset,omitempty"`
459 }
460
461 func (x *Distribution_BucketOptions_Linear) Reset() {
462 *x = Distribution_BucketOptions_Linear{}
463 if protoimpl.UnsafeEnabled {
464 mi := &file_google_api_distribution_proto_msgTypes[4]
465 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
466 ms.StoreMessageInfo(mi)
467 }
468 }
469
470 func (x *Distribution_BucketOptions_Linear) String() string {
471 return protoimpl.X.MessageStringOf(x)
472 }
473
474 func (*Distribution_BucketOptions_Linear) ProtoMessage() {}
475
476 func (x *Distribution_BucketOptions_Linear) ProtoReflect() protoreflect.Message {
477 mi := &file_google_api_distribution_proto_msgTypes[4]
478 if protoimpl.UnsafeEnabled && x != nil {
479 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
480 if ms.LoadMessageInfo() == nil {
481 ms.StoreMessageInfo(mi)
482 }
483 return ms
484 }
485 return mi.MessageOf(x)
486 }
487
488
489 func (*Distribution_BucketOptions_Linear) Descriptor() ([]byte, []int) {
490 return file_google_api_distribution_proto_rawDescGZIP(), []int{0, 1, 0}
491 }
492
493 func (x *Distribution_BucketOptions_Linear) GetNumFiniteBuckets() int32 {
494 if x != nil {
495 return x.NumFiniteBuckets
496 }
497 return 0
498 }
499
500 func (x *Distribution_BucketOptions_Linear) GetWidth() float64 {
501 if x != nil {
502 return x.Width
503 }
504 return 0
505 }
506
507 func (x *Distribution_BucketOptions_Linear) GetOffset() float64 {
508 if x != nil {
509 return x.Offset
510 }
511 return 0
512 }
513
514
515
516
517
518
519
520
521
522
523
524 type Distribution_BucketOptions_Exponential struct {
525 state protoimpl.MessageState
526 sizeCache protoimpl.SizeCache
527 unknownFields protoimpl.UnknownFields
528
529
530 NumFiniteBuckets int32 `protobuf:"varint,1,opt,name=num_finite_buckets,json=numFiniteBuckets,proto3" json:"num_finite_buckets,omitempty"`
531
532 GrowthFactor float64 `protobuf:"fixed64,2,opt,name=growth_factor,json=growthFactor,proto3" json:"growth_factor,omitempty"`
533
534 Scale float64 `protobuf:"fixed64,3,opt,name=scale,proto3" json:"scale,omitempty"`
535 }
536
537 func (x *Distribution_BucketOptions_Exponential) Reset() {
538 *x = Distribution_BucketOptions_Exponential{}
539 if protoimpl.UnsafeEnabled {
540 mi := &file_google_api_distribution_proto_msgTypes[5]
541 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
542 ms.StoreMessageInfo(mi)
543 }
544 }
545
546 func (x *Distribution_BucketOptions_Exponential) String() string {
547 return protoimpl.X.MessageStringOf(x)
548 }
549
550 func (*Distribution_BucketOptions_Exponential) ProtoMessage() {}
551
552 func (x *Distribution_BucketOptions_Exponential) ProtoReflect() protoreflect.Message {
553 mi := &file_google_api_distribution_proto_msgTypes[5]
554 if protoimpl.UnsafeEnabled && x != nil {
555 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
556 if ms.LoadMessageInfo() == nil {
557 ms.StoreMessageInfo(mi)
558 }
559 return ms
560 }
561 return mi.MessageOf(x)
562 }
563
564
565 func (*Distribution_BucketOptions_Exponential) Descriptor() ([]byte, []int) {
566 return file_google_api_distribution_proto_rawDescGZIP(), []int{0, 1, 1}
567 }
568
569 func (x *Distribution_BucketOptions_Exponential) GetNumFiniteBuckets() int32 {
570 if x != nil {
571 return x.NumFiniteBuckets
572 }
573 return 0
574 }
575
576 func (x *Distribution_BucketOptions_Exponential) GetGrowthFactor() float64 {
577 if x != nil {
578 return x.GrowthFactor
579 }
580 return 0
581 }
582
583 func (x *Distribution_BucketOptions_Exponential) GetScale() float64 {
584 if x != nil {
585 return x.Scale
586 }
587 return 0
588 }
589
590
591
592
593
594
595
596
597
598
599
600
601 type Distribution_BucketOptions_Explicit struct {
602 state protoimpl.MessageState
603 sizeCache protoimpl.SizeCache
604 unknownFields protoimpl.UnknownFields
605
606
607 Bounds []float64 `protobuf:"fixed64,1,rep,packed,name=bounds,proto3" json:"bounds,omitempty"`
608 }
609
610 func (x *Distribution_BucketOptions_Explicit) Reset() {
611 *x = Distribution_BucketOptions_Explicit{}
612 if protoimpl.UnsafeEnabled {
613 mi := &file_google_api_distribution_proto_msgTypes[6]
614 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
615 ms.StoreMessageInfo(mi)
616 }
617 }
618
619 func (x *Distribution_BucketOptions_Explicit) String() string {
620 return protoimpl.X.MessageStringOf(x)
621 }
622
623 func (*Distribution_BucketOptions_Explicit) ProtoMessage() {}
624
625 func (x *Distribution_BucketOptions_Explicit) ProtoReflect() protoreflect.Message {
626 mi := &file_google_api_distribution_proto_msgTypes[6]
627 if protoimpl.UnsafeEnabled && x != nil {
628 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
629 if ms.LoadMessageInfo() == nil {
630 ms.StoreMessageInfo(mi)
631 }
632 return ms
633 }
634 return mi.MessageOf(x)
635 }
636
637
638 func (*Distribution_BucketOptions_Explicit) Descriptor() ([]byte, []int) {
639 return file_google_api_distribution_proto_rawDescGZIP(), []int{0, 1, 2}
640 }
641
642 func (x *Distribution_BucketOptions_Explicit) GetBounds() []float64 {
643 if x != nil {
644 return x.Bounds
645 }
646 return nil
647 }
648
649 var File_google_api_distribution_proto protoreflect.FileDescriptor
650
651 var file_google_api_distribution_proto_rawDesc = []byte{
652 0x0a, 0x1d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x64, 0x69, 0x73,
653 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
654 0x0a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x1a, 0x19, 0x67, 0x6f, 0x6f,
655 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6e, 0x79,
656 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70,
657 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
658 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xda, 0x08, 0x0a, 0x0c, 0x44, 0x69, 0x73, 0x74,
659 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e,
660 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x12,
661 0x0a, 0x04, 0x6d, 0x65, 0x61, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x04, 0x6d, 0x65,
662 0x61, 0x6e, 0x12, 0x37, 0x0a, 0x18, 0x73, 0x75, 0x6d, 0x5f, 0x6f, 0x66, 0x5f, 0x73, 0x71, 0x75,
663 0x61, 0x72, 0x65, 0x64, 0x5f, 0x64, 0x65, 0x76, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03,
664 0x20, 0x01, 0x28, 0x01, 0x52, 0x15, 0x73, 0x75, 0x6d, 0x4f, 0x66, 0x53, 0x71, 0x75, 0x61, 0x72,
665 0x65, 0x64, 0x44, 0x65, 0x76, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x34, 0x0a, 0x05, 0x72,
666 0x61, 0x6e, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x6f, 0x6f,
667 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x44, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75,
668 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x05, 0x72, 0x61, 0x6e, 0x67,
669 0x65, 0x12, 0x4d, 0x0a, 0x0e, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x6f, 0x70, 0x74, 0x69,
670 0x6f, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
671 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x44, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74,
672 0x69, 0x6f, 0x6e, 0x2e, 0x42, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
673 0x73, 0x52, 0x0d, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73,
674 0x12, 0x23, 0x0a, 0x0d, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74,
675 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x03, 0x52, 0x0c, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x43,
676 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x12, 0x3f, 0x0a, 0x09, 0x65, 0x78, 0x65, 0x6d, 0x70, 0x6c, 0x61,
677 0x72, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
678 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x44, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69,
679 0x6f, 0x6e, 0x2e, 0x45, 0x78, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x72, 0x52, 0x09, 0x65, 0x78, 0x65,
680 0x6d, 0x70, 0x6c, 0x61, 0x72, 0x73, 0x1a, 0x2b, 0x0a, 0x05, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12,
681 0x10, 0x0a, 0x03, 0x6d, 0x69, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x01, 0x52, 0x03, 0x6d, 0x69,
682 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x61, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x03,
683 0x6d, 0x61, 0x78, 0x1a, 0xb9, 0x04, 0x0a, 0x0d, 0x42, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x4f, 0x70,
684 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x56, 0x0a, 0x0e, 0x6c, 0x69, 0x6e, 0x65, 0x61, 0x72, 0x5f,
685 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e,
686 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x44, 0x69, 0x73, 0x74, 0x72,
687 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x42, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x4f, 0x70,
688 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x4c, 0x69, 0x6e, 0x65, 0x61, 0x72, 0x48, 0x00, 0x52, 0x0d,
689 0x6c, 0x69, 0x6e, 0x65, 0x61, 0x72, 0x42, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x12, 0x65, 0x0a,
690 0x13, 0x65, 0x78, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x5f, 0x62, 0x75, 0x63,
691 0x6b, 0x65, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x67, 0x6f, 0x6f,
692 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x44, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75,
693 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x42, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f,
694 0x6e, 0x73, 0x2e, 0x45, 0x78, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x48, 0x00,
695 0x52, 0x12, 0x65, 0x78, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x42, 0x75, 0x63,
696 0x6b, 0x65, 0x74, 0x73, 0x12, 0x5c, 0x0a, 0x10, 0x65, 0x78, 0x70, 0x6c, 0x69, 0x63, 0x69, 0x74,
697 0x5f, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f,
698 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x44, 0x69, 0x73, 0x74,
699 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x42, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x4f,
700 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x45, 0x78, 0x70, 0x6c, 0x69, 0x63, 0x69, 0x74, 0x48,
701 0x00, 0x52, 0x0f, 0x65, 0x78, 0x70, 0x6c, 0x69, 0x63, 0x69, 0x74, 0x42, 0x75, 0x63, 0x6b, 0x65,
702 0x74, 0x73, 0x1a, 0x64, 0x0a, 0x06, 0x4c, 0x69, 0x6e, 0x65, 0x61, 0x72, 0x12, 0x2c, 0x0a, 0x12,
703 0x6e, 0x75, 0x6d, 0x5f, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x65, 0x5f, 0x62, 0x75, 0x63, 0x6b, 0x65,
704 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x10, 0x6e, 0x75, 0x6d, 0x46, 0x69, 0x6e,
705 0x69, 0x74, 0x65, 0x42, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x77, 0x69,
706 0x64, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x05, 0x77, 0x69, 0x64, 0x74, 0x68,
707 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x01,
708 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x1a, 0x76, 0x0a, 0x0b, 0x45, 0x78, 0x70, 0x6f,
709 0x6e, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x12, 0x2c, 0x0a, 0x12, 0x6e, 0x75, 0x6d, 0x5f, 0x66,
710 0x69, 0x6e, 0x69, 0x74, 0x65, 0x5f, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x18, 0x01, 0x20,
711 0x01, 0x28, 0x05, 0x52, 0x10, 0x6e, 0x75, 0x6d, 0x46, 0x69, 0x6e, 0x69, 0x74, 0x65, 0x42, 0x75,
712 0x63, 0x6b, 0x65, 0x74, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x67, 0x72, 0x6f, 0x77, 0x74, 0x68, 0x5f,
713 0x66, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0c, 0x67, 0x72,
714 0x6f, 0x77, 0x74, 0x68, 0x46, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63,
715 0x61, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x01, 0x52, 0x05, 0x73, 0x63, 0x61, 0x6c, 0x65,
716 0x1a, 0x22, 0x0a, 0x08, 0x45, 0x78, 0x70, 0x6c, 0x69, 0x63, 0x69, 0x74, 0x12, 0x16, 0x0a, 0x06,
717 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x01, 0x52, 0x06, 0x62, 0x6f,
718 0x75, 0x6e, 0x64, 0x73, 0x42, 0x09, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a,
719 0x92, 0x01, 0x0a, 0x08, 0x45, 0x78, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x72, 0x12, 0x14, 0x0a, 0x05,
720 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x01, 0x52, 0x05, 0x76, 0x61, 0x6c,
721 0x75, 0x65, 0x12, 0x38, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18,
722 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
723 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
724 0x70, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x36, 0x0a, 0x0b,
725 0x61, 0x74, 0x74, 0x61, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28,
726 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
727 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x0b, 0x61, 0x74, 0x74, 0x61, 0x63, 0x68, 0x6d,
728 0x65, 0x6e, 0x74, 0x73, 0x42, 0x71, 0x0a, 0x0e, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
729 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x42, 0x11, 0x44, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75,
730 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x43, 0x67, 0x6f, 0x6f,
731 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67,
732 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70,
733 0x69, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x64, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74,
734 0x69, 0x6f, 0x6e, 0x3b, 0x64, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e,
735 0xa2, 0x02, 0x04, 0x47, 0x41, 0x50, 0x49, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
736 }
737
738 var (
739 file_google_api_distribution_proto_rawDescOnce sync.Once
740 file_google_api_distribution_proto_rawDescData = file_google_api_distribution_proto_rawDesc
741 )
742
743 func file_google_api_distribution_proto_rawDescGZIP() []byte {
744 file_google_api_distribution_proto_rawDescOnce.Do(func() {
745 file_google_api_distribution_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_api_distribution_proto_rawDescData)
746 })
747 return file_google_api_distribution_proto_rawDescData
748 }
749
750 var file_google_api_distribution_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
751 var file_google_api_distribution_proto_goTypes = []interface{}{
752 (*Distribution)(nil),
753 (*Distribution_Range)(nil),
754 (*Distribution_BucketOptions)(nil),
755 (*Distribution_Exemplar)(nil),
756 (*Distribution_BucketOptions_Linear)(nil),
757 (*Distribution_BucketOptions_Exponential)(nil),
758 (*Distribution_BucketOptions_Explicit)(nil),
759 (*timestamppb.Timestamp)(nil),
760 (*anypb.Any)(nil),
761 }
762 var file_google_api_distribution_proto_depIdxs = []int32{
763 1,
764 2,
765 3,
766 4,
767 5,
768 6,
769 7,
770 8,
771 8,
772 8,
773 8,
774 8,
775 0,
776 }
777
778 func init() { file_google_api_distribution_proto_init() }
779 func file_google_api_distribution_proto_init() {
780 if File_google_api_distribution_proto != nil {
781 return
782 }
783 if !protoimpl.UnsafeEnabled {
784 file_google_api_distribution_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
785 switch v := v.(*Distribution); i {
786 case 0:
787 return &v.state
788 case 1:
789 return &v.sizeCache
790 case 2:
791 return &v.unknownFields
792 default:
793 return nil
794 }
795 }
796 file_google_api_distribution_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
797 switch v := v.(*Distribution_Range); i {
798 case 0:
799 return &v.state
800 case 1:
801 return &v.sizeCache
802 case 2:
803 return &v.unknownFields
804 default:
805 return nil
806 }
807 }
808 file_google_api_distribution_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
809 switch v := v.(*Distribution_BucketOptions); i {
810 case 0:
811 return &v.state
812 case 1:
813 return &v.sizeCache
814 case 2:
815 return &v.unknownFields
816 default:
817 return nil
818 }
819 }
820 file_google_api_distribution_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
821 switch v := v.(*Distribution_Exemplar); i {
822 case 0:
823 return &v.state
824 case 1:
825 return &v.sizeCache
826 case 2:
827 return &v.unknownFields
828 default:
829 return nil
830 }
831 }
832 file_google_api_distribution_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
833 switch v := v.(*Distribution_BucketOptions_Linear); i {
834 case 0:
835 return &v.state
836 case 1:
837 return &v.sizeCache
838 case 2:
839 return &v.unknownFields
840 default:
841 return nil
842 }
843 }
844 file_google_api_distribution_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
845 switch v := v.(*Distribution_BucketOptions_Exponential); i {
846 case 0:
847 return &v.state
848 case 1:
849 return &v.sizeCache
850 case 2:
851 return &v.unknownFields
852 default:
853 return nil
854 }
855 }
856 file_google_api_distribution_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
857 switch v := v.(*Distribution_BucketOptions_Explicit); i {
858 case 0:
859 return &v.state
860 case 1:
861 return &v.sizeCache
862 case 2:
863 return &v.unknownFields
864 default:
865 return nil
866 }
867 }
868 }
869 file_google_api_distribution_proto_msgTypes[2].OneofWrappers = []interface{}{
870 (*Distribution_BucketOptions_LinearBuckets)(nil),
871 (*Distribution_BucketOptions_ExponentialBuckets)(nil),
872 (*Distribution_BucketOptions_ExplicitBuckets)(nil),
873 }
874 type x struct{}
875 out := protoimpl.TypeBuilder{
876 File: protoimpl.DescBuilder{
877 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
878 RawDescriptor: file_google_api_distribution_proto_rawDesc,
879 NumEnums: 0,
880 NumMessages: 7,
881 NumExtensions: 0,
882 NumServices: 0,
883 },
884 GoTypes: file_google_api_distribution_proto_goTypes,
885 DependencyIndexes: file_google_api_distribution_proto_depIdxs,
886 MessageInfos: file_google_api_distribution_proto_msgTypes,
887 }.Build()
888 File_google_api_distribution_proto = out.File
889 file_google_api_distribution_proto_rawDesc = nil
890 file_google_api_distribution_proto_goTypes = nil
891 file_google_api_distribution_proto_depIdxs = nil
892 }
893
View as plain text