// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.10
// 	protoc        v6.31.1
// source: bonanza.build/pkg/proto/model/encoding/encoding.proto

package encoding

import (
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	emptypb "google.golang.org/protobuf/types/known/emptypb"
	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)
)

type DeterministicEncryptingBinaryEncoder struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	EncryptionKey []byte                 `protobuf:"bytes,1,opt,name=encryption_key,json=encryptionKey,proto3" json:"encryption_key,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *DeterministicEncryptingBinaryEncoder) Reset() {
	*x = DeterministicEncryptingBinaryEncoder{}
	mi := &file_bonanza_build_pkg_proto_model_encoding_encoding_proto_msgTypes[0]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *DeterministicEncryptingBinaryEncoder) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*DeterministicEncryptingBinaryEncoder) ProtoMessage() {}

func (x *DeterministicEncryptingBinaryEncoder) ProtoReflect() protoreflect.Message {
	mi := &file_bonanza_build_pkg_proto_model_encoding_encoding_proto_msgTypes[0]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use DeterministicEncryptingBinaryEncoder.ProtoReflect.Descriptor instead.
func (*DeterministicEncryptingBinaryEncoder) Descriptor() ([]byte, []int) {
	return file_bonanza_build_pkg_proto_model_encoding_encoding_proto_rawDescGZIP(), []int{0}
}

func (x *DeterministicEncryptingBinaryEncoder) GetEncryptionKey() []byte {
	if x != nil {
		return x.EncryptionKey
	}
	return nil
}

type BinaryEncoder struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Types that are valid to be assigned to Encoder:
	//
	//	*BinaryEncoder_LzwCompressing
	//	*BinaryEncoder_DeterministicEncrypting
	Encoder       isBinaryEncoder_Encoder `protobuf_oneof:"encoder"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *BinaryEncoder) Reset() {
	*x = BinaryEncoder{}
	mi := &file_bonanza_build_pkg_proto_model_encoding_encoding_proto_msgTypes[1]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *BinaryEncoder) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*BinaryEncoder) ProtoMessage() {}

func (x *BinaryEncoder) ProtoReflect() protoreflect.Message {
	mi := &file_bonanza_build_pkg_proto_model_encoding_encoding_proto_msgTypes[1]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use BinaryEncoder.ProtoReflect.Descriptor instead.
func (*BinaryEncoder) Descriptor() ([]byte, []int) {
	return file_bonanza_build_pkg_proto_model_encoding_encoding_proto_rawDescGZIP(), []int{1}
}

func (x *BinaryEncoder) GetEncoder() isBinaryEncoder_Encoder {
	if x != nil {
		return x.Encoder
	}
	return nil
}

func (x *BinaryEncoder) GetLzwCompressing() *emptypb.Empty {
	if x != nil {
		if x, ok := x.Encoder.(*BinaryEncoder_LzwCompressing); ok {
			return x.LzwCompressing
		}
	}
	return nil
}

func (x *BinaryEncoder) GetDeterministicEncrypting() *DeterministicEncryptingBinaryEncoder {
	if x != nil {
		if x, ok := x.Encoder.(*BinaryEncoder_DeterministicEncrypting); ok {
			return x.DeterministicEncrypting
		}
	}
	return nil
}

type isBinaryEncoder_Encoder interface {
	isBinaryEncoder_Encoder()
}

type BinaryEncoder_LzwCompressing struct {
	LzwCompressing *emptypb.Empty `protobuf:"bytes,1,opt,name=lzw_compressing,json=lzwCompressing,proto3,oneof"`
}

type BinaryEncoder_DeterministicEncrypting struct {
	DeterministicEncrypting *DeterministicEncryptingBinaryEncoder `protobuf:"bytes,2,opt,name=deterministic_encrypting,json=deterministicEncrypting,proto3,oneof"`
}

func (*BinaryEncoder_LzwCompressing) isBinaryEncoder_Encoder() {}

func (*BinaryEncoder_DeterministicEncrypting) isBinaryEncoder_Encoder() {}

type BinaryEncoderList struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Encoders      []*BinaryEncoder       `protobuf:"bytes,1,rep,name=encoders,proto3" json:"encoders,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *BinaryEncoderList) Reset() {
	*x = BinaryEncoderList{}
	mi := &file_bonanza_build_pkg_proto_model_encoding_encoding_proto_msgTypes[2]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *BinaryEncoderList) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*BinaryEncoderList) ProtoMessage() {}

func (x *BinaryEncoderList) ProtoReflect() protoreflect.Message {
	mi := &file_bonanza_build_pkg_proto_model_encoding_encoding_proto_msgTypes[2]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use BinaryEncoderList.ProtoReflect.Descriptor instead.
func (*BinaryEncoderList) Descriptor() ([]byte, []int) {
	return file_bonanza_build_pkg_proto_model_encoding_encoding_proto_rawDescGZIP(), []int{2}
}

func (x *BinaryEncoderList) GetEncoders() []*BinaryEncoder {
	if x != nil {
		return x.Encoders
	}
	return nil
}

var File_bonanza_build_pkg_proto_model_encoding_encoding_proto protoreflect.FileDescriptor

const file_bonanza_build_pkg_proto_model_encoding_encoding_proto_rawDesc = "" +
	"\n" +
	"5bonanza.build/pkg/proto/model/encoding/encoding.proto\x12\x16bonanza.model.encoding\x1a\x1bgoogle/protobuf/empty.proto\"M\n" +
	"$DeterministicEncryptingBinaryEncoder\x12%\n" +
	"\x0eencryption_key\x18\x01 \x01(\fR\rencryptionKey\"\xd8\x01\n" +
	"\rBinaryEncoder\x12A\n" +
	"\x0flzw_compressing\x18\x01 \x01(\v2\x16.google.protobuf.EmptyH\x00R\x0elzwCompressing\x12y\n" +
	"\x18deterministic_encrypting\x18\x02 \x01(\v2<.bonanza.model.encoding.DeterministicEncryptingBinaryEncoderH\x00R\x17deterministicEncryptingB\t\n" +
	"\aencoder\"V\n" +
	"\x11BinaryEncoderList\x12A\n" +
	"\bencoders\x18\x01 \x03(\v2%.bonanza.model.encoding.BinaryEncoderR\bencodersB(Z&bonanza.build/pkg/proto/model/encodingb\x06proto3"

var (
	file_bonanza_build_pkg_proto_model_encoding_encoding_proto_rawDescOnce sync.Once
	file_bonanza_build_pkg_proto_model_encoding_encoding_proto_rawDescData []byte
)

func file_bonanza_build_pkg_proto_model_encoding_encoding_proto_rawDescGZIP() []byte {
	file_bonanza_build_pkg_proto_model_encoding_encoding_proto_rawDescOnce.Do(func() {
		file_bonanza_build_pkg_proto_model_encoding_encoding_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_bonanza_build_pkg_proto_model_encoding_encoding_proto_rawDesc), len(file_bonanza_build_pkg_proto_model_encoding_encoding_proto_rawDesc)))
	})
	return file_bonanza_build_pkg_proto_model_encoding_encoding_proto_rawDescData
}

var file_bonanza_build_pkg_proto_model_encoding_encoding_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
var file_bonanza_build_pkg_proto_model_encoding_encoding_proto_goTypes = []any{
	(*DeterministicEncryptingBinaryEncoder)(nil), // 0: bonanza.model.encoding.DeterministicEncryptingBinaryEncoder
	(*BinaryEncoder)(nil),                        // 1: bonanza.model.encoding.BinaryEncoder
	(*BinaryEncoderList)(nil),                    // 2: bonanza.model.encoding.BinaryEncoderList
	(*emptypb.Empty)(nil),                        // 3: google.protobuf.Empty
}
var file_bonanza_build_pkg_proto_model_encoding_encoding_proto_depIdxs = []int32{
	3, // 0: bonanza.model.encoding.BinaryEncoder.lzw_compressing:type_name -> google.protobuf.Empty
	0, // 1: bonanza.model.encoding.BinaryEncoder.deterministic_encrypting:type_name -> bonanza.model.encoding.DeterministicEncryptingBinaryEncoder
	1, // 2: bonanza.model.encoding.BinaryEncoderList.encoders:type_name -> bonanza.model.encoding.BinaryEncoder
	3, // [3:3] is the sub-list for method output_type
	3, // [3:3] is the sub-list for method input_type
	3, // [3:3] is the sub-list for extension type_name
	3, // [3:3] is the sub-list for extension extendee
	0, // [0:3] is the sub-list for field type_name
}

func init() { file_bonanza_build_pkg_proto_model_encoding_encoding_proto_init() }
func file_bonanza_build_pkg_proto_model_encoding_encoding_proto_init() {
	if File_bonanza_build_pkg_proto_model_encoding_encoding_proto != nil {
		return
	}
	file_bonanza_build_pkg_proto_model_encoding_encoding_proto_msgTypes[1].OneofWrappers = []any{
		(*BinaryEncoder_LzwCompressing)(nil),
		(*BinaryEncoder_DeterministicEncrypting)(nil),
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_bonanza_build_pkg_proto_model_encoding_encoding_proto_rawDesc), len(file_bonanza_build_pkg_proto_model_encoding_encoding_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   3,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_bonanza_build_pkg_proto_model_encoding_encoding_proto_goTypes,
		DependencyIndexes: file_bonanza_build_pkg_proto_model_encoding_encoding_proto_depIdxs,
		MessageInfos:      file_bonanza_build_pkg_proto_model_encoding_encoding_proto_msgTypes,
	}.Build()
	File_bonanza_build_pkg_proto_model_encoding_encoding_proto = out.File
	file_bonanza_build_pkg_proto_model_encoding_encoding_proto_goTypes = nil
	file_bonanza_build_pkg_proto_model_encoding_encoding_proto_depIdxs = nil
}
