// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.6
// 	protoc        v3.21.12
// source: yandex/cloud/datatransfer/v1/endpoint/serializers.proto

package endpoint

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)
)

// Empty block. Select data serialization format automatically
type SerializerAuto struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*SerializerAuto) ProtoMessage() {}

func (x *SerializerAuto) ProtoReflect() protoreflect.Message {
	mi := &file_yandex_cloud_datatransfer_v1_endpoint_serializers_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 SerializerAuto.ProtoReflect.Descriptor instead.
func (*SerializerAuto) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_datatransfer_v1_endpoint_serializers_proto_rawDescGZIP(), []int{0}
}

// Empty block. Serialize data in json format
type SerializerJSON struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*SerializerJSON) ProtoMessage() {}

func (x *SerializerJSON) ProtoReflect() protoreflect.Message {
	mi := &file_yandex_cloud_datatransfer_v1_endpoint_serializers_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 SerializerJSON.ProtoReflect.Descriptor instead.
func (*SerializerJSON) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_datatransfer_v1_endpoint_serializers_proto_rawDescGZIP(), []int{1}
}

type DebeziumSerializerParameter struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Name of the serializer parameter
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// Value of the serializer parameter
	Value         string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*DebeziumSerializerParameter) ProtoMessage() {}

func (x *DebeziumSerializerParameter) ProtoReflect() protoreflect.Message {
	mi := &file_yandex_cloud_datatransfer_v1_endpoint_serializers_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 DebeziumSerializerParameter.ProtoReflect.Descriptor instead.
func (*DebeziumSerializerParameter) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_datatransfer_v1_endpoint_serializers_proto_rawDescGZIP(), []int{2}
}

func (x *DebeziumSerializerParameter) GetKey() string {
	if x != nil {
		return x.Key
	}
	return ""
}

func (x *DebeziumSerializerParameter) GetValue() string {
	if x != nil {
		return x.Value
	}
	return ""
}

// Serialize data in json format
type SerializerDebezium struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// A list of Debezium parameters set by the structure of the `key` and `value`
	// string fields
	SerializerParameters []*DebeziumSerializerParameter `protobuf:"bytes,1,rep,name=serializer_parameters,json=serializerParameters,proto3" json:"serializer_parameters,omitempty"`
	unknownFields        protoimpl.UnknownFields
	sizeCache            protoimpl.SizeCache
}

func (x *SerializerDebezium) Reset() {
	*x = SerializerDebezium{}
	mi := &file_yandex_cloud_datatransfer_v1_endpoint_serializers_proto_msgTypes[3]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*SerializerDebezium) ProtoMessage() {}

func (x *SerializerDebezium) ProtoReflect() protoreflect.Message {
	mi := &file_yandex_cloud_datatransfer_v1_endpoint_serializers_proto_msgTypes[3]
	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 SerializerDebezium.ProtoReflect.Descriptor instead.
func (*SerializerDebezium) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_datatransfer_v1_endpoint_serializers_proto_rawDescGZIP(), []int{3}
}

func (x *SerializerDebezium) GetSerializerParameters() []*DebeziumSerializerParameter {
	if x != nil {
		return x.SerializerParameters
	}
	return nil
}

// Data serialization format
type Serializer struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Types that are valid to be assigned to Serializer:
	//
	//	*Serializer_SerializerAuto
	//	*Serializer_SerializerJson
	//	*Serializer_SerializerDebezium
	Serializer    isSerializer_Serializer `protobuf_oneof:"serializer"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *Serializer) Reset() {
	*x = Serializer{}
	mi := &file_yandex_cloud_datatransfer_v1_endpoint_serializers_proto_msgTypes[4]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*Serializer) ProtoMessage() {}

func (x *Serializer) ProtoReflect() protoreflect.Message {
	mi := &file_yandex_cloud_datatransfer_v1_endpoint_serializers_proto_msgTypes[4]
	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 Serializer.ProtoReflect.Descriptor instead.
func (*Serializer) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_datatransfer_v1_endpoint_serializers_proto_rawDescGZIP(), []int{4}
}

func (x *Serializer) GetSerializer() isSerializer_Serializer {
	if x != nil {
		return x.Serializer
	}
	return nil
}

func (x *Serializer) GetSerializerAuto() *SerializerAuto {
	if x != nil {
		if x, ok := x.Serializer.(*Serializer_SerializerAuto); ok {
			return x.SerializerAuto
		}
	}
	return nil
}

func (x *Serializer) GetSerializerJson() *SerializerJSON {
	if x != nil {
		if x, ok := x.Serializer.(*Serializer_SerializerJson); ok {
			return x.SerializerJson
		}
	}
	return nil
}

func (x *Serializer) GetSerializerDebezium() *SerializerDebezium {
	if x != nil {
		if x, ok := x.Serializer.(*Serializer_SerializerDebezium); ok {
			return x.SerializerDebezium
		}
	}
	return nil
}

type isSerializer_Serializer interface {
	isSerializer_Serializer()
}

type Serializer_SerializerAuto struct {
	// Empty block. Select the serialization format automatically
	SerializerAuto *SerializerAuto `protobuf:"bytes,1,opt,name=serializer_auto,json=serializerAuto,proto3,oneof"`
}

type Serializer_SerializerJson struct {
	// Empty block. Serialize data in json format
	SerializerJson *SerializerJSON `protobuf:"bytes,2,opt,name=serializer_json,json=serializerJson,proto3,oneof"`
}

type Serializer_SerializerDebezium struct {
	// Serialize data in debezium json format
	SerializerDebezium *SerializerDebezium `protobuf:"bytes,3,opt,name=serializer_debezium,json=serializerDebezium,proto3,oneof"`
}

func (*Serializer_SerializerAuto) isSerializer_Serializer() {}

func (*Serializer_SerializerJson) isSerializer_Serializer() {}

func (*Serializer_SerializerDebezium) isSerializer_Serializer() {}

var File_yandex_cloud_datatransfer_v1_endpoint_serializers_proto protoreflect.FileDescriptor

const file_yandex_cloud_datatransfer_v1_endpoint_serializers_proto_rawDesc = "" +
	"\n" +
	"7yandex/cloud/datatransfer/v1/endpoint/serializers.proto\x12%yandex.cloud.datatransfer.v1.endpoint\"\x10\n" +
	"\x0eSerializerAuto\"\x10\n" +
	"\x0eSerializerJSON\"E\n" +
	"\x1bDebeziumSerializerParameter\x12\x10\n" +
	"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
	"\x05value\x18\x02 \x01(\tR\x05value\"\x8d\x01\n" +
	"\x12SerializerDebezium\x12w\n" +
	"\x15serializer_parameters\x18\x01 \x03(\v2B.yandex.cloud.datatransfer.v1.endpoint.DebeziumSerializerParameterR\x14serializerParameters\"\xcc\x02\n" +
	"\n" +
	"Serializer\x12`\n" +
	"\x0fserializer_auto\x18\x01 \x01(\v25.yandex.cloud.datatransfer.v1.endpoint.SerializerAutoH\x00R\x0eserializerAuto\x12`\n" +
	"\x0fserializer_json\x18\x02 \x01(\v25.yandex.cloud.datatransfer.v1.endpoint.SerializerJSONH\x00R\x0eserializerJson\x12l\n" +
	"\x13serializer_debezium\x18\x03 \x01(\v29.yandex.cloud.datatransfer.v1.endpoint.SerializerDebeziumH\x00R\x12serializerDebeziumB\f\n" +
	"\n" +
	"serializerB\xa7\x01\n" +
	")yandex.cloud.api.datatransfer.v1.endpointZRgithub.com/yandex-cloud/go-genproto/yandex/cloud/datatransfer/v1/endpoint;endpoint\xaa\x02%Yandex.Cloud.Datatransfer.V1.EndPointb\x06proto3"

var (
	file_yandex_cloud_datatransfer_v1_endpoint_serializers_proto_rawDescOnce sync.Once
	file_yandex_cloud_datatransfer_v1_endpoint_serializers_proto_rawDescData []byte
)

func file_yandex_cloud_datatransfer_v1_endpoint_serializers_proto_rawDescGZIP() []byte {
	file_yandex_cloud_datatransfer_v1_endpoint_serializers_proto_rawDescOnce.Do(func() {
		file_yandex_cloud_datatransfer_v1_endpoint_serializers_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_yandex_cloud_datatransfer_v1_endpoint_serializers_proto_rawDesc), len(file_yandex_cloud_datatransfer_v1_endpoint_serializers_proto_rawDesc)))
	})
	return file_yandex_cloud_datatransfer_v1_endpoint_serializers_proto_rawDescData
}

var file_yandex_cloud_datatransfer_v1_endpoint_serializers_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
var file_yandex_cloud_datatransfer_v1_endpoint_serializers_proto_goTypes = []any{
	(*SerializerAuto)(nil),              // 0: yandex.cloud.datatransfer.v1.endpoint.SerializerAuto
	(*SerializerJSON)(nil),              // 1: yandex.cloud.datatransfer.v1.endpoint.SerializerJSON
	(*DebeziumSerializerParameter)(nil), // 2: yandex.cloud.datatransfer.v1.endpoint.DebeziumSerializerParameter
	(*SerializerDebezium)(nil),          // 3: yandex.cloud.datatransfer.v1.endpoint.SerializerDebezium
	(*Serializer)(nil),                  // 4: yandex.cloud.datatransfer.v1.endpoint.Serializer
}
var file_yandex_cloud_datatransfer_v1_endpoint_serializers_proto_depIdxs = []int32{
	2, // 0: yandex.cloud.datatransfer.v1.endpoint.SerializerDebezium.serializer_parameters:type_name -> yandex.cloud.datatransfer.v1.endpoint.DebeziumSerializerParameter
	0, // 1: yandex.cloud.datatransfer.v1.endpoint.Serializer.serializer_auto:type_name -> yandex.cloud.datatransfer.v1.endpoint.SerializerAuto
	1, // 2: yandex.cloud.datatransfer.v1.endpoint.Serializer.serializer_json:type_name -> yandex.cloud.datatransfer.v1.endpoint.SerializerJSON
	3, // 3: yandex.cloud.datatransfer.v1.endpoint.Serializer.serializer_debezium:type_name -> yandex.cloud.datatransfer.v1.endpoint.SerializerDebezium
	4, // [4:4] is the sub-list for method output_type
	4, // [4:4] is the sub-list for method input_type
	4, // [4:4] is the sub-list for extension type_name
	4, // [4:4] is the sub-list for extension extendee
	0, // [0:4] is the sub-list for field type_name
}

func init() { file_yandex_cloud_datatransfer_v1_endpoint_serializers_proto_init() }
func file_yandex_cloud_datatransfer_v1_endpoint_serializers_proto_init() {
	if File_yandex_cloud_datatransfer_v1_endpoint_serializers_proto != nil {
		return
	}
	file_yandex_cloud_datatransfer_v1_endpoint_serializers_proto_msgTypes[4].OneofWrappers = []any{
		(*Serializer_SerializerAuto)(nil),
		(*Serializer_SerializerJson)(nil),
		(*Serializer_SerializerDebezium)(nil),
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_yandex_cloud_datatransfer_v1_endpoint_serializers_proto_rawDesc), len(file_yandex_cloud_datatransfer_v1_endpoint_serializers_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   5,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_yandex_cloud_datatransfer_v1_endpoint_serializers_proto_goTypes,
		DependencyIndexes: file_yandex_cloud_datatransfer_v1_endpoint_serializers_proto_depIdxs,
		MessageInfos:      file_yandex_cloud_datatransfer_v1_endpoint_serializers_proto_msgTypes,
	}.Build()
	File_yandex_cloud_datatransfer_v1_endpoint_serializers_proto = out.File
	file_yandex_cloud_datatransfer_v1_endpoint_serializers_proto_goTypes = nil
	file_yandex_cloud_datatransfer_v1_endpoint_serializers_proto_depIdxs = nil
}
