// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.6
// 	protoc        v3.21.12
// source: yandex/cloud/mdb/kafka/v1/resource_preset_service.proto

package kafka

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 GetResourcePresetRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the resource preset to return.
	//
	// To get the resource preset ID, use a [ResourcePresetService.List] request.
	ResourcePresetId string `protobuf:"bytes,1,opt,name=resource_preset_id,json=resourcePresetId,proto3" json:"resource_preset_id,omitempty"`
	unknownFields    protoimpl.UnknownFields
	sizeCache        protoimpl.SizeCache
}

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

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

func (*GetResourcePresetRequest) ProtoMessage() {}

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

func (x *GetResourcePresetRequest) GetResourcePresetId() string {
	if x != nil {
		return x.ResourcePresetId
	}
	return ""
}

type ListResourcePresetsRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The maximum number of results per page to return.
	//
	// If the number of available results is larger than [page_size], the service returns a [ListResourcePresetsResponse.next_page_token] that can be used to get the next page of results in subsequent list requests.
	PageSize int64 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page token.
	//
	// To get the next page of results, set [page_token] to the [ListResourcePresetsResponse.next_page_token], returned by the previous list request.
	PageToken     string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ListResourcePresetsRequest) ProtoMessage() {}

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

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

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

type ListResourcePresetsResponse struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// List of resource presets.
	ResourcePresets []*ResourcePreset `protobuf:"bytes,1,rep,name=resource_presets,json=resourcePresets,proto3" json:"resource_presets,omitempty"`
	// This token allows you to get the next page of results for list requests.
	//
	// If the number of results is larger than [ListResourcePresetsRequest.page_size], use [next_page_token] as the value for the [ListResourcePresetsRequest.page_token] parameter in the next list request.
	// Each subsequent list request will have its own [next_page_token] to continue paging through the results.
	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 *ListResourcePresetsResponse) Reset() {
	*x = ListResourcePresetsResponse{}
	mi := &file_yandex_cloud_mdb_kafka_v1_resource_preset_service_proto_msgTypes[2]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*ListResourcePresetsResponse) ProtoMessage() {}

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

func (x *ListResourcePresetsResponse) GetResourcePresets() []*ResourcePreset {
	if x != nil {
		return x.ResourcePresets
	}
	return nil
}

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

var File_yandex_cloud_mdb_kafka_v1_resource_preset_service_proto protoreflect.FileDescriptor

const file_yandex_cloud_mdb_kafka_v1_resource_preset_service_proto_rawDesc = "" +
	"\n" +
	"7yandex/cloud/mdb/kafka/v1/resource_preset_service.proto\x12\x19yandex.cloud.mdb.kafka.v1\x1a\x1cgoogle/api/annotations.proto\x1a/yandex/cloud/mdb/kafka/v1/resource_preset.proto\x1a\x1dyandex/cloud/validation.proto\"N\n" +
	"\x18GetResourcePresetRequest\x122\n" +
	"\x12resource_preset_id\x18\x01 \x01(\tB\x04\xe8\xc71\x01R\x10resourcePresetId\"o\n" +
	"\x1aListResourcePresetsRequest\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\"\xa6\x01\n" +
	"\x1bListResourcePresetsResponse\x12T\n" +
	"\x10resource_presets\x18\x01 \x03(\v2).yandex.cloud.mdb.kafka.v1.ResourcePresetR\x0fresourcePresets\x121\n" +
	"\x0fnext_page_token\x18\x02 \x01(\tB\t\x8a\xc81\x05<=100R\rnextPageToken2\xe2\x02\n" +
	"\x15ResourcePresetService\x12\xa5\x01\n" +
	"\x03Get\x123.yandex.cloud.mdb.kafka.v1.GetResourcePresetRequest\x1a).yandex.cloud.mdb.kafka.v1.ResourcePreset\">\x82\xd3\xe4\x93\x028\x126/managed-kafka/v1/resourcePresets/{resource_preset_id}\x12\xa0\x01\n" +
	"\x04List\x125.yandex.cloud.mdb.kafka.v1.ListResourcePresetsRequest\x1a6.yandex.cloud.mdb.kafka.v1.ListResourcePresetsResponse\")\x82\xd3\xe4\x93\x02#\x12!/managed-kafka/v1/resourcePresetsBd\n" +
	"\x1dyandex.cloud.api.mdb.kafka.v1ZCgithub.com/yandex-cloud/go-genproto/yandex/cloud/mdb/kafka/v1;kafkab\x06proto3"

var (
	file_yandex_cloud_mdb_kafka_v1_resource_preset_service_proto_rawDescOnce sync.Once
	file_yandex_cloud_mdb_kafka_v1_resource_preset_service_proto_rawDescData []byte
)

func file_yandex_cloud_mdb_kafka_v1_resource_preset_service_proto_rawDescGZIP() []byte {
	file_yandex_cloud_mdb_kafka_v1_resource_preset_service_proto_rawDescOnce.Do(func() {
		file_yandex_cloud_mdb_kafka_v1_resource_preset_service_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_yandex_cloud_mdb_kafka_v1_resource_preset_service_proto_rawDesc), len(file_yandex_cloud_mdb_kafka_v1_resource_preset_service_proto_rawDesc)))
	})
	return file_yandex_cloud_mdb_kafka_v1_resource_preset_service_proto_rawDescData
}

var file_yandex_cloud_mdb_kafka_v1_resource_preset_service_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
var file_yandex_cloud_mdb_kafka_v1_resource_preset_service_proto_goTypes = []any{
	(*GetResourcePresetRequest)(nil),    // 0: yandex.cloud.mdb.kafka.v1.GetResourcePresetRequest
	(*ListResourcePresetsRequest)(nil),  // 1: yandex.cloud.mdb.kafka.v1.ListResourcePresetsRequest
	(*ListResourcePresetsResponse)(nil), // 2: yandex.cloud.mdb.kafka.v1.ListResourcePresetsResponse
	(*ResourcePreset)(nil),              // 3: yandex.cloud.mdb.kafka.v1.ResourcePreset
}
var file_yandex_cloud_mdb_kafka_v1_resource_preset_service_proto_depIdxs = []int32{
	3, // 0: yandex.cloud.mdb.kafka.v1.ListResourcePresetsResponse.resource_presets:type_name -> yandex.cloud.mdb.kafka.v1.ResourcePreset
	0, // 1: yandex.cloud.mdb.kafka.v1.ResourcePresetService.Get:input_type -> yandex.cloud.mdb.kafka.v1.GetResourcePresetRequest
	1, // 2: yandex.cloud.mdb.kafka.v1.ResourcePresetService.List:input_type -> yandex.cloud.mdb.kafka.v1.ListResourcePresetsRequest
	3, // 3: yandex.cloud.mdb.kafka.v1.ResourcePresetService.Get:output_type -> yandex.cloud.mdb.kafka.v1.ResourcePreset
	2, // 4: yandex.cloud.mdb.kafka.v1.ResourcePresetService.List:output_type -> yandex.cloud.mdb.kafka.v1.ListResourcePresetsResponse
	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_kafka_v1_resource_preset_service_proto_init() }
func file_yandex_cloud_mdb_kafka_v1_resource_preset_service_proto_init() {
	if File_yandex_cloud_mdb_kafka_v1_resource_preset_service_proto != nil {
		return
	}
	file_yandex_cloud_mdb_kafka_v1_resource_preset_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_kafka_v1_resource_preset_service_proto_rawDesc), len(file_yandex_cloud_mdb_kafka_v1_resource_preset_service_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   3,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_yandex_cloud_mdb_kafka_v1_resource_preset_service_proto_goTypes,
		DependencyIndexes: file_yandex_cloud_mdb_kafka_v1_resource_preset_service_proto_depIdxs,
		MessageInfos:      file_yandex_cloud_mdb_kafka_v1_resource_preset_service_proto_msgTypes,
	}.Build()
	File_yandex_cloud_mdb_kafka_v1_resource_preset_service_proto = out.File
	file_yandex_cloud_mdb_kafka_v1_resource_preset_service_proto_goTypes = nil
	file_yandex_cloud_mdb_kafka_v1_resource_preset_service_proto_depIdxs = nil
}
