// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.4
// 	protoc        v5.29.0
// source: kernel/encoding.proto

package kernel

import (
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	reflect "reflect"
	sync "sync"
	unsafe "unsafe"
)

const (
	// Verify that this generated code is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
	// Verify that runtime/protoimpl is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)

// EncodingType is the types of byte encoding.
type EncodingType int32

const (
	EncodingType_EncodingTypeUnknown EncodingType = 0 // Unknown encoding type.
	EncodingType_Base16              EncodingType = 1 // Base16 (Hex) encoding. Every 4 bits are encoded to 1 byte character.
	EncodingType_Base32              EncodingType = 2 // Base32 encoding. Every 5 bits are encoded to 1 byte character.
	EncodingType_Base32Hex           EncodingType = 3 // Base32 Hex encoding. Every 5 bits are encoded to 1 byte character.
	EncodingType_Base32Escaped       EncodingType = 4 // Base32 escaped encoding. Every 5 bits are encoded to 1 byte character.
	EncodingType_Base32HexEscaped    EncodingType = 5 // Base32 Hex escaped encoding. Every 5 bits are encoded to 1 byte character.
	EncodingType_Base64              EncodingType = 6 // Base64 encoding. Every 6 bits are encoded to 1 byte character.
	EncodingType_Base64Raw           EncodingType = 7 // Base64 Raw encoding. Every 6 bits are encoded to 1 byte character.
	EncodingType_Base64URL           EncodingType = 8 // Base64 URL encoding. Every 6 bits are encoded to 1 byte character.
	EncodingType_Base64RawURL        EncodingType = 9 // Base64 URL Raw encoding. Every 6 bits are encoded to 1 byte character.
)

// Enum value maps for EncodingType.
var (
	EncodingType_name = map[int32]string{
		0: "EncodingTypeUnknown",
		1: "Base16",
		2: "Base32",
		3: "Base32Hex",
		4: "Base32Escaped",
		5: "Base32HexEscaped",
		6: "Base64",
		7: "Base64Raw",
		8: "Base64URL",
		9: "Base64RawURL",
	}
	EncodingType_value = map[string]int32{
		"EncodingTypeUnknown": 0,
		"Base16":              1,
		"Base32":              2,
		"Base32Hex":           3,
		"Base32Escaped":       4,
		"Base32HexEscaped":    5,
		"Base64":              6,
		"Base64Raw":           7,
		"Base64URL":           8,
		"Base64RawURL":        9,
	}
)

func (x EncodingType) Enum() *EncodingType {
	p := new(EncodingType)
	*p = x
	return p
}

func (x EncodingType) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (EncodingType) Descriptor() protoreflect.EnumDescriptor {
	return file_kernel_encoding_proto_enumTypes[0].Descriptor()
}

func (EncodingType) Type() protoreflect.EnumType {
	return &file_kernel_encoding_proto_enumTypes[0]
}

func (x EncodingType) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use EncodingType.Descriptor instead.
func (EncodingType) EnumDescriptor() ([]byte, []int) {
	return file_kernel_encoding_proto_rawDescGZIP(), []int{0}
}

var File_kernel_encoding_proto protoreflect.FileDescriptor

var file_kernel_encoding_proto_rawDesc = string([]byte{
	0x0a, 0x15, 0x6b, 0x65, 0x72, 0x6e, 0x65, 0x6c, 0x2f, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e,
	0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06, 0x6b, 0x65, 0x72, 0x6e, 0x65, 0x6c, 0x2a,
	0xb3, 0x01, 0x0a, 0x0c, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x54, 0x79, 0x70, 0x65,
	0x12, 0x17, 0x0a, 0x13, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x54, 0x79, 0x70, 0x65,
	0x55, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x42, 0x61, 0x73,
	0x65, 0x31, 0x36, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x42, 0x61, 0x73, 0x65, 0x33, 0x32, 0x10,
	0x02, 0x12, 0x0d, 0x0a, 0x09, 0x42, 0x61, 0x73, 0x65, 0x33, 0x32, 0x48, 0x65, 0x78, 0x10, 0x03,
	0x12, 0x11, 0x0a, 0x0d, 0x42, 0x61, 0x73, 0x65, 0x33, 0x32, 0x45, 0x73, 0x63, 0x61, 0x70, 0x65,
	0x64, 0x10, 0x04, 0x12, 0x14, 0x0a, 0x10, 0x42, 0x61, 0x73, 0x65, 0x33, 0x32, 0x48, 0x65, 0x78,
	0x45, 0x73, 0x63, 0x61, 0x70, 0x65, 0x64, 0x10, 0x05, 0x12, 0x0a, 0x0a, 0x06, 0x42, 0x61, 0x73,
	0x65, 0x36, 0x34, 0x10, 0x06, 0x12, 0x0d, 0x0a, 0x09, 0x42, 0x61, 0x73, 0x65, 0x36, 0x34, 0x52,
	0x61, 0x77, 0x10, 0x07, 0x12, 0x0d, 0x0a, 0x09, 0x42, 0x61, 0x73, 0x65, 0x36, 0x34, 0x55, 0x52,
	0x4c, 0x10, 0x08, 0x12, 0x10, 0x0a, 0x0c, 0x42, 0x61, 0x73, 0x65, 0x36, 0x34, 0x52, 0x61, 0x77,
	0x55, 0x52, 0x4c, 0x10, 0x09, 0x42, 0x38, 0x5a, 0x36, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e,
	0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x69, 0x6c, 0x65, 0x72, 0x6f, 0x6e, 0x2d, 0x67, 0x61, 0x74, 0x65,
	0x77, 0x61, 0x79, 0x2f, 0x61, 0x69, 0x6c, 0x65, 0x72, 0x6f, 0x6e, 0x2d, 0x67, 0x61, 0x74, 0x65,
	0x77, 0x61, 0x79, 0x2f, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x6b, 0x65, 0x72, 0x6e, 0x65, 0x6c, 0x62,
	0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
})

var (
	file_kernel_encoding_proto_rawDescOnce sync.Once
	file_kernel_encoding_proto_rawDescData []byte
)

func file_kernel_encoding_proto_rawDescGZIP() []byte {
	file_kernel_encoding_proto_rawDescOnce.Do(func() {
		file_kernel_encoding_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_kernel_encoding_proto_rawDesc), len(file_kernel_encoding_proto_rawDesc)))
	})
	return file_kernel_encoding_proto_rawDescData
}

var file_kernel_encoding_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_kernel_encoding_proto_goTypes = []any{
	(EncodingType)(0), // 0: kernel.EncodingType
}
var file_kernel_encoding_proto_depIdxs = []int32{
	0, // [0:0] is the sub-list for method output_type
	0, // [0:0] is the sub-list for method input_type
	0, // [0:0] is the sub-list for extension type_name
	0, // [0:0] is the sub-list for extension extendee
	0, // [0:0] is the sub-list for field type_name
}

func init() { file_kernel_encoding_proto_init() }
func file_kernel_encoding_proto_init() {
	if File_kernel_encoding_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_kernel_encoding_proto_rawDesc), len(file_kernel_encoding_proto_rawDesc)),
			NumEnums:      1,
			NumMessages:   0,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_kernel_encoding_proto_goTypes,
		DependencyIndexes: file_kernel_encoding_proto_depIdxs,
		EnumInfos:         file_kernel_encoding_proto_enumTypes,
	}.Build()
	File_kernel_encoding_proto = out.File
	file_kernel_encoding_proto_goTypes = nil
	file_kernel_encoding_proto_depIdxs = nil
}
