// Code generated by "stringer -type=Kind -trimprefix=Kind -output=packet_string.go"; DO NOT EDIT.

package drpcwire

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[KindInvoke-1]
	_ = x[KindMessage-2]
	_ = x[KindError-3]
	_ = x[KindCancel-4]
	_ = x[KindClose-5]
	_ = x[KindCloseSend-6]
	_ = x[KindInvokeMetadata-7]
}

const _Kind_name = "InvokeMessageErrorCancelCloseCloseSendInvokeMetadata"

var _Kind_index = [...]uint8{0, 6, 13, 18, 24, 29, 38, 52}

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