2020-06-22 22:59:51 -07:00
|
|
|
// Code generated by "stringer -type=ExportKind"; DO NOT EDIT.
|
|
|
|
|
|
|
|
package metric
|
|
|
|
|
|
|
|
import "strconv"
|
|
|
|
|
|
|
|
func _() {
|
|
|
|
// An "invalid array index" compiler error signifies that the constant values have changed.
|
|
|
|
// Re-run the stringer command to generate them again.
|
|
|
|
var x [1]struct{}
|
2020-11-10 07:44:42 -08:00
|
|
|
_ = x[CumulativeExportKind-1]
|
|
|
|
_ = x[DeltaExportKind-2]
|
2020-06-22 22:59:51 -07:00
|
|
|
}
|
|
|
|
|
2020-11-10 07:44:42 -08:00
|
|
|
const _ExportKind_name = "CumulativeExportKindDeltaExportKind"
|
2020-06-22 22:59:51 -07:00
|
|
|
|
2020-11-10 07:44:42 -08:00
|
|
|
var _ExportKind_index = [...]uint8{0, 20, 35}
|
2020-06-22 22:59:51 -07:00
|
|
|
|
|
|
|
func (i ExportKind) String() string {
|
2020-11-10 07:44:42 -08:00
|
|
|
i -= 1
|
|
|
|
if i < 0 || i >= ExportKind(len(_ExportKind_index)-1) {
|
|
|
|
return "ExportKind(" + strconv.FormatInt(int64(i+1), 10) + ")"
|
2020-06-22 22:59:51 -07:00
|
|
|
}
|
2020-11-10 07:44:42 -08:00
|
|
|
return _ExportKind_name[_ExportKind_index[i]:_ExportKind_index[i+1]]
|
2020-06-22 22:59:51 -07:00
|
|
|
}
|