// Code generated by "stringer -type section"; DO NOT EDIT.

package lineprotocol

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{}
	_ = x[measurementSection-0]
	_ = x[tagSection-1]
	_ = x[fieldSection-2]
	_ = x[timeSection-3]
	_ = x[newlineSection-4]
	_ = x[endSection-5]
}

const _section_name = "measurementSectiontagSectionfieldSectiontimeSectionnewlineSectionendSection"

var _section_index = [...]uint8{0, 18, 28, 40, 51, 65, 75}

func (i section) String() string {
	if i >= section(len(_section_index)-1) {
		return "section(" + strconv.FormatInt(int64(i), 10) + ")"
	}
	return _section_name[_section_index[i]:_section_index[i+1]]
}
