// Code generated by "stringer -type Asn1BER"; 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[EndOfContents-0]
	_ = x[UnknownType-0]
	_ = x[Boolean-1]
	_ = x[Integer-2]
	_ = x[BitString-3]
	_ = x[OctetString-4]
	_ = x[Null-5]
	_ = x[ObjectIdentifier-6]
	_ = x[ObjectDescription-7]
	_ = x[IPAddress-64]
	_ = x[Counter32-65]
	_ = x[Gauge32-66]
	_ = x[TimeTicks-67]
	_ = x[Opaque-68]
	_ = x[NsapAddress-69]
	_ = x[Counter64-70]
	_ = x[Uinteger32-71]
	_ = x[OpaqueFloat-120]
	_ = x[OpaqueDouble-121]
	_ = x[NoSuchObject-128]
	_ = x[NoSuchInstance-129]
	_ = x[EndOfMibView-130]
}

const (
	_Asn1BER_name_0 = "EndOfContentsBooleanIntegerBitStringOctetStringNullObjectIdentifierObjectDescription"
	_Asn1BER_name_1 = "IPAddressCounter32Gauge32TimeTicksOpaqueNsapAddressCounter64Uinteger32"
	_Asn1BER_name_2 = "OpaqueFloatOpaqueDouble"
	_Asn1BER_name_3 = "NoSuchObjectNoSuchInstanceEndOfMibView"
)

var (
	_Asn1BER_index_0 = [...]uint8{0, 13, 20, 27, 36, 47, 51, 67, 84}
	_Asn1BER_index_1 = [...]uint8{0, 9, 18, 25, 34, 40, 51, 60, 70}
	_Asn1BER_index_2 = [...]uint8{0, 11, 23}
	_Asn1BER_index_3 = [...]uint8{0, 12, 26, 38}
)

func (i Asn1BER) String() string {
	switch {
	case i <= 7:
		return _Asn1BER_name_0[_Asn1BER_index_0[i]:_Asn1BER_index_0[i+1]]
	case 64 <= i && i <= 71:
		i -= 64
		return _Asn1BER_name_1[_Asn1BER_index_1[i]:_Asn1BER_index_1[i+1]]
	case 120 <= i && i <= 121:
		i -= 120
		return _Asn1BER_name_2[_Asn1BER_index_2[i]:_Asn1BER_index_2[i+1]]
	case 128 <= i && i <= 130:
		i -= 128
		return _Asn1BER_name_3[_Asn1BER_index_3[i]:_Asn1BER_index_3[i+1]]
	default:
		return "Asn1BER(" + strconv.FormatInt(int64(i), 10) + ")"
	}
}
