// 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/configuration_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 GetConfigurationRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the Configuration resource to return.
	//
	// 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"`
	// ID of the folder to return a Configuration resource for.
	//
	// To get the folder ID, use a [yandex.cloud.resourcemanager.v1.FolderService.List] request.
	FolderId      string `protobuf:"bytes,2,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*GetConfigurationRequest) ProtoMessage() {}

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

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

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

type ListConfigurationsRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The maximum number of results per page to return. If the number of available
	// results is greater than `page_size`,
	// the service returns a [ListConfigurationsResponse.next_page_token]
	// that can be used to get the next page of results in subsequent list requests.
	// Default value is 20.
	PageSize int64 `protobuf:"varint,100,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
	// [ListConfigurationsResponse.next_page_token] returned by a previous list request.
	PageToken string `protobuf:"bytes,101,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// By which column the listing should be ordered and in which direction,
	// format is "createdAt desc". "id asc" if omitted.
	// Supported fields: ["id", "name"].
	// Both snake_case and camelCase are supported for fields.
	OrderBy string `protobuf:"bytes,102,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// A filter expression that filters resources listed in the response.
	// The expression consists of one or more conditions united by `AND` operator: `<condition1> [AND <condition2> [<...> AND <conditionN>]]`.
	//
	// Each condition has the form `<field> <operator> <value>`, where:
	// 1. `<field>` is the field name. Currently you can use filtering only on the limited number of fields.
	// 2. `<operator>` is a logical operator, one of `=` (equal), `:` (substring).
	// 3. `<value>` represents a value.
	// String values should be written in double (`"`) or single (`'`) quotes. C-style escape sequences are supported (`\"` turns to `"`, `\'` to `'`, `\\` to backslash).
	// Example: "key1='value' AND key2='value'"
	// Supported operators: ["AND"].
	// Supported fields: ["id", "name"].
	// Both snake_case and camelCase are supported for fields.
	Filter string `protobuf:"bytes,103,opt,name=filter,proto3" json:"filter,omitempty"`
	// ID of the folder to return a Configuration resource for.
	//
	// To get the folder ID, use a [yandex.cloud.resourcemanager.v1.FolderService.List] request.
	FolderId      string `protobuf:"bytes,104,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ListConfigurationsRequest) ProtoMessage() {}

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

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

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

func (x *ListConfigurationsRequest) GetOrderBy() string {
	if x != nil {
		return x.OrderBy
	}
	return ""
}

func (x *ListConfigurationsRequest) GetFilter() string {
	if x != nil {
		return x.Filter
	}
	return ""
}

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

type ListConfigurationsResponse struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// List of Configuration resources.
	Configurations []*Configuration `protobuf:"bytes,1,rep,name=configurations,proto3" json:"configurations,omitempty"`
	// Token for getting the next page of the list. If the number of results is greater than
	// [ListConfigurationsRequest.page_size], use `next_page_token` as the value
	// for the [ListConfigurationsRequest.page_token] parameter in the next list request.
	//
	// Each subsequent page will have its own `next_page_token` to continue paging through the results.
	NextPageToken string `protobuf:"bytes,100,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ListConfigurationsResponse) ProtoMessage() {}

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

func (x *ListConfigurationsResponse) GetConfigurations() []*Configuration {
	if x != nil {
		return x.Configurations
	}
	return nil
}

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

var File_yandex_cloud_baremetal_v1alpha_configuration_service_proto protoreflect.FileDescriptor

const file_yandex_cloud_baremetal_v1alpha_configuration_service_proto_rawDesc = "" +
	"\n" +
	":yandex/cloud/baremetal/v1alpha/configuration_service.proto\x12\x1eyandex.cloud.baremetal.v1alpha\x1a\x1cgoogle/api/annotations.proto\x1a2yandex/cloud/baremetal/v1alpha/configuration.proto\x1a\x1dyandex/cloud/validation.proto\"\x99\x01\n" +
	"\x17GetConfigurationRequest\x12C\n" +
	"\x10configuration_id\x18\x01 \x01(\tB\x18\xf2\xc71\x0e[a-z][a-z0-9]*\x8a\xc81\x0220R\x0fconfigurationId\x129\n" +
	"\tfolder_id\x18\x02 \x01(\tB\x1c\xf2\xc71\x10[a-z][a-z0-9.-]*\x8a\xc81\x04<=50R\bfolderId\"\xd6\x01\n" +
	"\x19ListConfigurationsRequest\x12&\n" +
	"\tpage_size\x18d \x01(\x03B\t\xfa\xc71\x05<=100R\bpageSize\x12\x1d\n" +
	"\n" +
	"page_token\x18e \x01(\tR\tpageToken\x12\x19\n" +
	"\border_by\x18f \x01(\tR\aorderBy\x12\x16\n" +
	"\x06filter\x18g \x01(\tR\x06filter\x129\n" +
	"\tfolder_id\x18h \x01(\tB\x1c\xf2\xc71\x10[a-z][a-z0-9.-]*\x8a\xc81\x04<=50R\bfolderIdJ\x04\b\x01\x10d\"\xa1\x01\n" +
	"\x1aListConfigurationsResponse\x12U\n" +
	"\x0econfigurations\x18\x01 \x03(\v2-.yandex.cloud.baremetal.v1alpha.ConfigurationR\x0econfigurations\x12&\n" +
	"\x0fnext_page_token\x18d \x01(\tR\rnextPageTokenJ\x04\b\x02\x10d2\xef\x02\n" +
	"\x14ConfigurationService\x12\xab\x01\n" +
	"\x03Get\x127.yandex.cloud.baremetal.v1alpha.GetConfigurationRequest\x1a-.yandex.cloud.baremetal.v1alpha.Configuration\"<\x82\xd3\xe4\x93\x026\x124/baremetal/v1alpha/configurations/{configuration_id}\x12\xa8\x01\n" +
	"\x04List\x129.yandex.cloud.baremetal.v1alpha.ListConfigurationsRequest\x1a:.yandex.cloud.baremetal.v1alpha.ListConfigurationsResponse\")\x82\xd3\xe4\x93\x02#\x12!/baremetal/v1alpha/configurationsBr\n" +
	"\"yandex.cloud.api.baremetal.v1alphaZLgithub.com/yandex-cloud/go-genproto/yandex/cloud/baremetal/v1alpha;baremetalb\x06proto3"

var (
	file_yandex_cloud_baremetal_v1alpha_configuration_service_proto_rawDescOnce sync.Once
	file_yandex_cloud_baremetal_v1alpha_configuration_service_proto_rawDescData []byte
)

func file_yandex_cloud_baremetal_v1alpha_configuration_service_proto_rawDescGZIP() []byte {
	file_yandex_cloud_baremetal_v1alpha_configuration_service_proto_rawDescOnce.Do(func() {
		file_yandex_cloud_baremetal_v1alpha_configuration_service_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_yandex_cloud_baremetal_v1alpha_configuration_service_proto_rawDesc), len(file_yandex_cloud_baremetal_v1alpha_configuration_service_proto_rawDesc)))
	})
	return file_yandex_cloud_baremetal_v1alpha_configuration_service_proto_rawDescData
}

var file_yandex_cloud_baremetal_v1alpha_configuration_service_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
var file_yandex_cloud_baremetal_v1alpha_configuration_service_proto_goTypes = []any{
	(*GetConfigurationRequest)(nil),    // 0: yandex.cloud.baremetal.v1alpha.GetConfigurationRequest
	(*ListConfigurationsRequest)(nil),  // 1: yandex.cloud.baremetal.v1alpha.ListConfigurationsRequest
	(*ListConfigurationsResponse)(nil), // 2: yandex.cloud.baremetal.v1alpha.ListConfigurationsResponse
	(*Configuration)(nil),              // 3: yandex.cloud.baremetal.v1alpha.Configuration
}
var file_yandex_cloud_baremetal_v1alpha_configuration_service_proto_depIdxs = []int32{
	3, // 0: yandex.cloud.baremetal.v1alpha.ListConfigurationsResponse.configurations:type_name -> yandex.cloud.baremetal.v1alpha.Configuration
	0, // 1: yandex.cloud.baremetal.v1alpha.ConfigurationService.Get:input_type -> yandex.cloud.baremetal.v1alpha.GetConfigurationRequest
	1, // 2: yandex.cloud.baremetal.v1alpha.ConfigurationService.List:input_type -> yandex.cloud.baremetal.v1alpha.ListConfigurationsRequest
	3, // 3: yandex.cloud.baremetal.v1alpha.ConfigurationService.Get:output_type -> yandex.cloud.baremetal.v1alpha.Configuration
	2, // 4: yandex.cloud.baremetal.v1alpha.ConfigurationService.List:output_type -> yandex.cloud.baremetal.v1alpha.ListConfigurationsResponse
	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_baremetal_v1alpha_configuration_service_proto_init() }
func file_yandex_cloud_baremetal_v1alpha_configuration_service_proto_init() {
	if File_yandex_cloud_baremetal_v1alpha_configuration_service_proto != nil {
		return
	}
	file_yandex_cloud_baremetal_v1alpha_configuration_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_configuration_service_proto_rawDesc), len(file_yandex_cloud_baremetal_v1alpha_configuration_service_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   3,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_yandex_cloud_baremetal_v1alpha_configuration_service_proto_goTypes,
		DependencyIndexes: file_yandex_cloud_baremetal_v1alpha_configuration_service_proto_depIdxs,
		MessageInfos:      file_yandex_cloud_baremetal_v1alpha_configuration_service_proto_msgTypes,
	}.Build()
	File_yandex_cloud_baremetal_v1alpha_configuration_service_proto = out.File
	file_yandex_cloud_baremetal_v1alpha_configuration_service_proto_goTypes = nil
	file_yandex_cloud_baremetal_v1alpha_configuration_service_proto_depIdxs = nil
}
