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

package gosnmp

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[NoAuthNoPriv-0]
	_ = x[AuthNoPriv-1]
	_ = x[AuthPriv-3]
	_ = x[Reportable-4]
}

const (
	_SnmpV3MsgFlags_name_0 = "NoAuthNoPrivAuthNoPriv"
	_SnmpV3MsgFlags_name_1 = "AuthPrivReportable"
)

var (
	_SnmpV3MsgFlags_index_0 = [...]uint8{0, 12, 22}
	_SnmpV3MsgFlags_index_1 = [...]uint8{0, 8, 18}
)

func (i SnmpV3MsgFlags) String() string {
	switch {
	case i <= 1:
		return _SnmpV3MsgFlags_name_0[_SnmpV3MsgFlags_index_0[i]:_SnmpV3MsgFlags_index_0[i+1]]
	case 3 <= i && i <= 4:
		i -= 3
		return _SnmpV3MsgFlags_name_1[_SnmpV3MsgFlags_index_1[i]:_SnmpV3MsgFlags_index_1[i+1]]
	default:
		return "SnmpV3MsgFlags(" + strconv.FormatInt(int64(i), 10) + ")"
	}
}
