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

package types

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[GarbageIgnore-1]
	_ = x[GarbageCollect-2]
}

const _GarbagePolicy_name = "GarbageIgnoreGarbageCollect"

var _GarbagePolicy_index = [...]uint8{0, 13, 27}

func (i GarbagePolicy) String() string {
	i -= 1
	if i < 0 || i >= GarbagePolicy(len(_GarbagePolicy_index)-1) {
		return "GarbagePolicy(" + strconv.FormatInt(int64(i+1), 10) + ")"
	}
	return _GarbagePolicy_name[_GarbagePolicy_index[i]:_GarbagePolicy_index[i+1]]
}
