// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.6
// 	protoc        v3.21.12
// source: yandex/cloud/baremetal/v1alpha/storage_service.proto

package baremetal

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 DefaultStorage struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the configuration.
	//
	// To get the configuration ID, use a [ConfigurationService.List] request.
	ConfigurationId string `protobuf:"bytes,1,opt,name=configuration_id,json=configurationId,proto3" json:"configuration_id,omitempty"`
	// List of default storages.
	Storages      []*Storage `protobuf:"bytes,2,rep,name=storages,proto3" json:"storages,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*DefaultStorage) ProtoMessage() {}

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

func (x *DefaultStorage) GetConfigurationId() string {
	if x != nil {
		return x.ConfigurationId
	}
	return ""
}

func (x *DefaultStorage) GetStorages() []*Storage {
	if x != nil {
		return x.Storages
	}
	return nil
}

type GetDefaultStorageRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the configuration.
	ConfigurationId string `protobuf:"bytes,1,opt,name=configuration_id,json=configurationId,proto3" json:"configuration_id,omitempty"`
	unknownFields   protoimpl.UnknownFields
	sizeCache       protoimpl.SizeCache
}

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

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

func (*GetDefaultStorageRequest) ProtoMessage() {}

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

func (x *GetDefaultStorageRequest) GetConfigurationId() string {
	if x != nil {
		return x.ConfigurationId
	}
	return ""
}

type BatchGetDefaultStoragesRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// List of configuration IDs.
	ConfigurationIds []string `protobuf:"bytes,1,rep,name=configuration_ids,json=configurationIds,proto3" json:"configuration_ids,omitempty"`
	unknownFields    protoimpl.UnknownFields
	sizeCache        protoimpl.SizeCache
}

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

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

func (*BatchGetDefaultStoragesRequest) ProtoMessage() {}

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

func (x *BatchGetDefaultStoragesRequest) GetConfigurationIds() []string {
	if x != nil {
		return x.ConfigurationIds
	}
	return nil
}

type BatchGetDefaultStoragesResponse struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// List of default storages.
	DefaultStorages []*DefaultStorage `protobuf:"bytes,1,rep,name=default_storages,json=defaultStorages,proto3" json:"default_storages,omitempty"`
	unknownFields   protoimpl.UnknownFields
	sizeCache       protoimpl.SizeCache
}

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

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

func (*BatchGetDefaultStoragesResponse) ProtoMessage() {}

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

func (x *BatchGetDefaultStoragesResponse) GetDefaultStorages() []*DefaultStorage {
	if x != nil {
		return x.DefaultStorages
	}
	return nil
}

var File_yandex_cloud_baremetal_v1alpha_storage_service_proto protoreflect.FileDescriptor

const file_yandex_cloud_baremetal_v1alpha_storage_service_proto_rawDesc = "" +
	"\n" +
	"4yandex/cloud/baremetal/v1alpha/storage_service.proto\x12\x1eyandex.cloud.baremetal.v1alpha\x1a\x1cgoogle/api/annotations.proto\x1a,yandex/cloud/baremetal/v1alpha/storage.proto\x1a\x1dyandex/cloud/validation.proto\"\x80\x01\n" +
	"\x0eDefaultStorage\x12)\n" +
	"\x10configuration_id\x18\x01 \x01(\tR\x0fconfigurationId\x12C\n" +
	"\bstorages\x18\x02 \x03(\v2'.yandex.cloud.baremetal.v1alpha.StorageR\bstorages\"_\n" +
	"\x18GetDefaultStorageRequest\x12C\n" +
	"\x10configuration_id\x18\x01 \x01(\tB\x18\xf2\xc71\x0e[a-z][a-z0-9]*\x8a\xc81\x0220R\x0fconfigurationId\"t\n" +
	"\x1eBatchGetDefaultStoragesRequest\x12R\n" +
	"\x11configuration_ids\x18\x01 \x03(\tB%\xf2\xc71\x0e[a-z][a-z0-9]*\x82\xc81\x051-100\x8a\xc81\x0220\x90\xc81\x01R\x10configurationIds\"|\n" +
	"\x1fBatchGetDefaultStoragesResponse\x12Y\n" +
	"\x10default_storages\x18\x01 \x03(\v2..yandex.cloud.baremetal.v1alpha.DefaultStorageR\x0fdefaultStorages2\x97\x03\n" +
	"\x0eStorageService\x12\xb6\x01\n" +
	"\n" +
	"GetDefault\x128.yandex.cloud.baremetal.v1alpha.GetDefaultStorageRequest\x1a..yandex.cloud.baremetal.v1alpha.DefaultStorage\">\x82\xd3\xe4\x93\x028\x126/baremetal/v1alpha/storages/default/{configuration_id}\x12\xcb\x01\n" +
	"\x0fBatchGetDefault\x12>.yandex.cloud.baremetal.v1alpha.BatchGetDefaultStoragesRequest\x1a?.yandex.cloud.baremetal.v1alpha.BatchGetDefaultStoragesResponse\"7\x82\xd3\xe4\x93\x021:\x01*\",/baremetal/v1alpha/storages/default:batchGetBr\n" +
	"\"yandex.cloud.api.baremetal.v1alphaZLgithub.com/yandex-cloud/go-genproto/yandex/cloud/baremetal/v1alpha;baremetalb\x06proto3"

var (
	file_yandex_cloud_baremetal_v1alpha_storage_service_proto_rawDescOnce sync.Once
	file_yandex_cloud_baremetal_v1alpha_storage_service_proto_rawDescData []byte
)

func file_yandex_cloud_baremetal_v1alpha_storage_service_proto_rawDescGZIP() []byte {
	file_yandex_cloud_baremetal_v1alpha_storage_service_proto_rawDescOnce.Do(func() {
		file_yandex_cloud_baremetal_v1alpha_storage_service_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_yandex_cloud_baremetal_v1alpha_storage_service_proto_rawDesc), len(file_yandex_cloud_baremetal_v1alpha_storage_service_proto_rawDesc)))
	})
	return file_yandex_cloud_baremetal_v1alpha_storage_service_proto_rawDescData
}

var file_yandex_cloud_baremetal_v1alpha_storage_service_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
var file_yandex_cloud_baremetal_v1alpha_storage_service_proto_goTypes = []any{
	(*DefaultStorage)(nil),                  // 0: yandex.cloud.baremetal.v1alpha.DefaultStorage
	(*GetDefaultStorageRequest)(nil),        // 1: yandex.cloud.baremetal.v1alpha.GetDefaultStorageRequest
	(*BatchGetDefaultStoragesRequest)(nil),  // 2: yandex.cloud.baremetal.v1alpha.BatchGetDefaultStoragesRequest
	(*BatchGetDefaultStoragesResponse)(nil), // 3: yandex.cloud.baremetal.v1alpha.BatchGetDefaultStoragesResponse
	(*Storage)(nil),                         // 4: yandex.cloud.baremetal.v1alpha.Storage
}
var file_yandex_cloud_baremetal_v1alpha_storage_service_proto_depIdxs = []int32{
	4, // 0: yandex.cloud.baremetal.v1alpha.DefaultStorage.storages:type_name -> yandex.cloud.baremetal.v1alpha.Storage
	0, // 1: yandex.cloud.baremetal.v1alpha.BatchGetDefaultStoragesResponse.default_storages:type_name -> yandex.cloud.baremetal.v1alpha.DefaultStorage
	1, // 2: yandex.cloud.baremetal.v1alpha.StorageService.GetDefault:input_type -> yandex.cloud.baremetal.v1alpha.GetDefaultStorageRequest
	2, // 3: yandex.cloud.baremetal.v1alpha.StorageService.BatchGetDefault:input_type -> yandex.cloud.baremetal.v1alpha.BatchGetDefaultStoragesRequest
	0, // 4: yandex.cloud.baremetal.v1alpha.StorageService.GetDefault:output_type -> yandex.cloud.baremetal.v1alpha.DefaultStorage
	3, // 5: yandex.cloud.baremetal.v1alpha.StorageService.BatchGetDefault:output_type -> yandex.cloud.baremetal.v1alpha.BatchGetDefaultStoragesResponse
	4, // [4:6] is the sub-list for method output_type
	2, // [2:4] is the sub-list for method input_type
	2, // [2:2] is the sub-list for extension type_name
	2, // [2:2] is the sub-list for extension extendee
	0, // [0:2] is the sub-list for field type_name
}

func init() { file_yandex_cloud_baremetal_v1alpha_storage_service_proto_init() }
func file_yandex_cloud_baremetal_v1alpha_storage_service_proto_init() {
	if File_yandex_cloud_baremetal_v1alpha_storage_service_proto != nil {
		return
	}
	file_yandex_cloud_baremetal_v1alpha_storage_proto_init()
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_yandex_cloud_baremetal_v1alpha_storage_service_proto_rawDesc), len(file_yandex_cloud_baremetal_v1alpha_storage_service_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   4,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_yandex_cloud_baremetal_v1alpha_storage_service_proto_goTypes,
		DependencyIndexes: file_yandex_cloud_baremetal_v1alpha_storage_service_proto_depIdxs,
		MessageInfos:      file_yandex_cloud_baremetal_v1alpha_storage_service_proto_msgTypes,
	}.Build()
	File_yandex_cloud_baremetal_v1alpha_storage_service_proto = out.File
	file_yandex_cloud_baremetal_v1alpha_storage_service_proto_goTypes = nil
	file_yandex_cloud_baremetal_v1alpha_storage_service_proto_depIdxs = nil
}
