// 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/extension_service.proto

package clickhouse

import (
	_ "github.com/yandex-cloud/go-genproto/yandex/cloud"
	_ "google.golang.org/genproto/googleapis/api/annotations"
	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 GetExtensionRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	ExtensionName string                 `protobuf:"bytes,1,opt,name=extension_name,json=extensionName,proto3" json:"extension_name,omitempty"`
	FolderId      string                 `protobuf:"bytes,2,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*GetExtensionRequest) ProtoMessage() {}

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

func (x *GetExtensionRequest) GetExtensionName() string {
	if x != nil {
		return x.ExtensionName
	}
	return ""
}

func (x *GetExtensionRequest) GetFolderId() string {
	if x != nil {
		return x.FolderId
	}
	return ""
}

type ListExtensionsRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	PageSize      int64                  `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	PageToken     string                 `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	FolderId      string                 `protobuf:"bytes,3,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ListExtensionsRequest) ProtoMessage() {}

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

func (x *ListExtensionsRequest) GetPageSize() int64 {
	if x != nil {
		return x.PageSize
	}
	return 0
}

func (x *ListExtensionsRequest) GetPageToken() string {
	if x != nil {
		return x.PageToken
	}
	return ""
}

func (x *ListExtensionsRequest) GetFolderId() string {
	if x != nil {
		return x.FolderId
	}
	return ""
}

type ListExtensionsResponse struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Extensions    []*Extension           `protobuf:"bytes,1,rep,name=extensions,proto3" json:"extensions,omitempty"`
	NextPageToken string                 `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ListExtensionsResponse) ProtoMessage() {}

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

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

func (x *ListExtensionsResponse) GetNextPageToken() string {
	if x != nil {
		return x.NextPageToken
	}
	return ""
}

var File_yandex_cloud_mdb_clickhouse_v1_extension_service_proto protoreflect.FileDescriptor

const file_yandex_cloud_mdb_clickhouse_v1_extension_service_proto_rawDesc = "" +
	"\n" +
	"6yandex/cloud/mdb/clickhouse/v1/extension_service.proto\x12\x1eyandex.cloud.mdb.clickhouse.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x1dyandex/cloud/validation.proto\x1a.yandex/cloud/mdb/clickhouse/v1/extension.proto\"q\n" +
	"\x13GetExtensionRequest\x123\n" +
	"\x0eextension_name\x18\x01 \x01(\tB\f\xe8\xc71\x01\x8a\xc81\x04<=63R\rextensionName\x12%\n" +
	"\tfolder_id\x18\x02 \x01(\tB\b\x8a\xc81\x04<=50R\bfolderId\"\x91\x01\n" +
	"\x15ListExtensionsRequest\x12'\n" +
	"\tpage_size\x18\x01 \x01(\x03B\n" +
	"\xfa\xc71\x06<=1000R\bpageSize\x12(\n" +
	"\n" +
	"page_token\x18\x02 \x01(\tB\t\x8a\xc81\x05<=100R\tpageToken\x12%\n" +
	"\tfolder_id\x18\x03 \x01(\tB\b\x8a\xc81\x04<=50R\bfolderId\"\x8b\x01\n" +
	"\x16ListExtensionsResponse\x12I\n" +
	"\n" +
	"extensions\x18\x01 \x03(\v2).yandex.cloud.mdb.clickhouse.v1.ExtensionR\n" +
	"extensions\x12&\n" +
	"\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken2\xd9\x02\n" +
	"\x10ExtensionService\x12\xa1\x01\n" +
	"\x03Get\x123.yandex.cloud.mdb.clickhouse.v1.GetExtensionRequest\x1a).yandex.cloud.mdb.clickhouse.v1.Extension\":\x82\xd3\xe4\x93\x024\x122/managed-clickhouse/v1/extensions/{extension_name}\x12\xa0\x01\n" +
	"\x04List\x125.yandex.cloud.mdb.clickhouse.v1.ListExtensionsRequest\x1a6.yandex.cloud.mdb.clickhouse.v1.ListExtensionsResponse\")\x82\xd3\xe4\x93\x02#\x12!/managed-clickhouse/v1/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_extension_service_proto_rawDescOnce sync.Once
	file_yandex_cloud_mdb_clickhouse_v1_extension_service_proto_rawDescData []byte
)

func file_yandex_cloud_mdb_clickhouse_v1_extension_service_proto_rawDescGZIP() []byte {
	file_yandex_cloud_mdb_clickhouse_v1_extension_service_proto_rawDescOnce.Do(func() {
		file_yandex_cloud_mdb_clickhouse_v1_extension_service_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_yandex_cloud_mdb_clickhouse_v1_extension_service_proto_rawDesc), len(file_yandex_cloud_mdb_clickhouse_v1_extension_service_proto_rawDesc)))
	})
	return file_yandex_cloud_mdb_clickhouse_v1_extension_service_proto_rawDescData
}

var file_yandex_cloud_mdb_clickhouse_v1_extension_service_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
var file_yandex_cloud_mdb_clickhouse_v1_extension_service_proto_goTypes = []any{
	(*GetExtensionRequest)(nil),    // 0: yandex.cloud.mdb.clickhouse.v1.GetExtensionRequest
	(*ListExtensionsRequest)(nil),  // 1: yandex.cloud.mdb.clickhouse.v1.ListExtensionsRequest
	(*ListExtensionsResponse)(nil), // 2: yandex.cloud.mdb.clickhouse.v1.ListExtensionsResponse
	(*Extension)(nil),              // 3: yandex.cloud.mdb.clickhouse.v1.Extension
}
var file_yandex_cloud_mdb_clickhouse_v1_extension_service_proto_depIdxs = []int32{
	3, // 0: yandex.cloud.mdb.clickhouse.v1.ListExtensionsResponse.extensions:type_name -> yandex.cloud.mdb.clickhouse.v1.Extension
	0, // 1: yandex.cloud.mdb.clickhouse.v1.ExtensionService.Get:input_type -> yandex.cloud.mdb.clickhouse.v1.GetExtensionRequest
	1, // 2: yandex.cloud.mdb.clickhouse.v1.ExtensionService.List:input_type -> yandex.cloud.mdb.clickhouse.v1.ListExtensionsRequest
	3, // 3: yandex.cloud.mdb.clickhouse.v1.ExtensionService.Get:output_type -> yandex.cloud.mdb.clickhouse.v1.Extension
	2, // 4: yandex.cloud.mdb.clickhouse.v1.ExtensionService.List:output_type -> yandex.cloud.mdb.clickhouse.v1.ListExtensionsResponse
	3, // [3:5] is the sub-list for method output_type
	1, // [1:3] 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_extension_service_proto_init() }
func file_yandex_cloud_mdb_clickhouse_v1_extension_service_proto_init() {
	if File_yandex_cloud_mdb_clickhouse_v1_extension_service_proto != nil {
		return
	}
	file_yandex_cloud_mdb_clickhouse_v1_extension_proto_init()
	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_extension_service_proto_rawDesc), len(file_yandex_cloud_mdb_clickhouse_v1_extension_service_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   3,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_yandex_cloud_mdb_clickhouse_v1_extension_service_proto_goTypes,
		DependencyIndexes: file_yandex_cloud_mdb_clickhouse_v1_extension_service_proto_depIdxs,
		MessageInfos:      file_yandex_cloud_mdb_clickhouse_v1_extension_service_proto_msgTypes,
	}.Build()
	File_yandex_cloud_mdb_clickhouse_v1_extension_service_proto = out.File
	file_yandex_cloud_mdb_clickhouse_v1_extension_service_proto_goTypes = nil
	file_yandex_cloud_mdb_clickhouse_v1_extension_service_proto_depIdxs = nil
}
