// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.11
// 	protoc        v3.21.12
// source: yandex/cloud/mdb/clickhouse/v1/cluster_extension.proto

package clickhouse

import (
	_ "github.com/yandex-cloud/go-genproto/yandex/cloud"
	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)
)

type ClusterExtension struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. Extension name.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. ID of the ClickHouse cluster.
	ClusterId string `protobuf:"bytes,2,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Required. Extension version.
	Version       string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ClusterExtension) ProtoMessage() {}

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

func (x *ClusterExtension) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}

func (x *ClusterExtension) GetClusterId() string {
	if x != nil {
		return x.ClusterId
	}
	return ""
}

func (x *ClusterExtension) GetVersion() string {
	if x != nil {
		return x.Version
	}
	return ""
}

type ClusterExtensions struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Extensions    []*ClusterExtension    `protobuf:"bytes,1,rep,name=extensions,proto3" json:"extensions,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ClusterExtensions) ProtoMessage() {}

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

func (x *ClusterExtensions) GetExtensions() []*ClusterExtension {
	if x != nil {
		return x.Extensions
	}
	return nil
}

var File_yandex_cloud_mdb_clickhouse_v1_cluster_extension_proto protoreflect.FileDescriptor

const file_yandex_cloud_mdb_clickhouse_v1_cluster_extension_proto_rawDesc = "" +
	"\n" +
	"6yandex/cloud/mdb/clickhouse/v1/cluster_extension.proto\x12\x1eyandex.cloud.mdb.clickhouse.v1\x1a\x1dyandex/cloud/validation.proto\"\x81\x01\n" +
	"\x10ClusterExtension\x12 \n" +
	"\x04name\x18\x01 \x01(\tB\f\xe8\xc71\x01\x8a\xc81\x04<=63R\x04name\x12+\n" +
	"\n" +
	"cluster_id\x18\x02 \x01(\tB\f\xe8\xc71\x01\x8a\xc81\x04<=50R\tclusterId\x12\x1e\n" +
	"\aversion\x18\x03 \x01(\tB\x04\xe8\xc71\x01R\aversion\"e\n" +
	"\x11ClusterExtensions\x12P\n" +
	"\n" +
	"extensions\x18\x01 \x03(\v20.yandex.cloud.mdb.clickhouse.v1.ClusterExtensionR\n" +
	"extensionsBs\n" +
	"\"yandex.cloud.api.mdb.clickhouse.v1ZMgithub.com/yandex-cloud/go-genproto/yandex/cloud/mdb/clickhouse/v1;clickhouseb\x06proto3"

var (
	file_yandex_cloud_mdb_clickhouse_v1_cluster_extension_proto_rawDescOnce sync.Once
	file_yandex_cloud_mdb_clickhouse_v1_cluster_extension_proto_rawDescData []byte
)

func file_yandex_cloud_mdb_clickhouse_v1_cluster_extension_proto_rawDescGZIP() []byte {
	file_yandex_cloud_mdb_clickhouse_v1_cluster_extension_proto_rawDescOnce.Do(func() {
		file_yandex_cloud_mdb_clickhouse_v1_cluster_extension_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_yandex_cloud_mdb_clickhouse_v1_cluster_extension_proto_rawDesc), len(file_yandex_cloud_mdb_clickhouse_v1_cluster_extension_proto_rawDesc)))
	})
	return file_yandex_cloud_mdb_clickhouse_v1_cluster_extension_proto_rawDescData
}

var file_yandex_cloud_mdb_clickhouse_v1_cluster_extension_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
var file_yandex_cloud_mdb_clickhouse_v1_cluster_extension_proto_goTypes = []any{
	(*ClusterExtension)(nil),  // 0: yandex.cloud.mdb.clickhouse.v1.ClusterExtension
	(*ClusterExtensions)(nil), // 1: yandex.cloud.mdb.clickhouse.v1.ClusterExtensions
}
var file_yandex_cloud_mdb_clickhouse_v1_cluster_extension_proto_depIdxs = []int32{
	0, // 0: yandex.cloud.mdb.clickhouse.v1.ClusterExtensions.extensions:type_name -> yandex.cloud.mdb.clickhouse.v1.ClusterExtension
	1, // [1:1] is the sub-list for method output_type
	1, // [1:1] is the sub-list for method input_type
	1, // [1:1] is the sub-list for extension type_name
	1, // [1:1] is the sub-list for extension extendee
	0, // [0:1] is the sub-list for field type_name
}

func init() { file_yandex_cloud_mdb_clickhouse_v1_cluster_extension_proto_init() }
func file_yandex_cloud_mdb_clickhouse_v1_cluster_extension_proto_init() {
	if File_yandex_cloud_mdb_clickhouse_v1_cluster_extension_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_yandex_cloud_mdb_clickhouse_v1_cluster_extension_proto_rawDesc), len(file_yandex_cloud_mdb_clickhouse_v1_cluster_extension_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   2,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_yandex_cloud_mdb_clickhouse_v1_cluster_extension_proto_goTypes,
		DependencyIndexes: file_yandex_cloud_mdb_clickhouse_v1_cluster_extension_proto_depIdxs,
		MessageInfos:      file_yandex_cloud_mdb_clickhouse_v1_cluster_extension_proto_msgTypes,
	}.Build()
	File_yandex_cloud_mdb_clickhouse_v1_cluster_extension_proto = out.File
	file_yandex_cloud_mdb_clickhouse_v1_cluster_extension_proto_goTypes = nil
	file_yandex_cloud_mdb_clickhouse_v1_cluster_extension_proto_depIdxs = nil
}
