blob: eb1a0d503da664157ca9b0eb5e752f446f1582ca [file] [log] [blame]
Joey Armstronge8c091f2023-01-17 16:56:26 -05001// Code generated by "stringer -type=Kind"; DO NOT EDIT.
2
3package metric
4
5import "strconv"
6
7func _() {
8 // An "invalid array index" compiler error signifies that the constant values have changed.
9 // Re-run the stringer command to generate them again.
10 var x [1]struct{}
11 _ = x[ValueRecorderKind-0]
12 _ = x[ValueObserverKind-1]
13 _ = x[CounterKind-2]
14 _ = x[UpDownCounterKind-3]
15 _ = x[SumObserverKind-4]
16 _ = x[UpDownSumObserverKind-5]
17}
18
19const _Kind_name = "ValueRecorderKindValueObserverKindCounterKindUpDownCounterKindSumObserverKindUpDownSumObserverKind"
20
21var _Kind_index = [...]uint8{0, 17, 34, 45, 62, 77, 98}
22
23func (i Kind) String() string {
24 if i < 0 || i >= Kind(len(_Kind_index)-1) {
25 return "Kind(" + strconv.FormatInt(int64(i), 10) + ")"
26 }
27 return _Kind_name[_Kind_index[i]:_Kind_index[i+1]]
28}