// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.11
// 	protoc        v3.21.12
// source: yandex/cloud/baremetal/v1alpha/standard_image_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 GetStandardImageRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the StandardImage resource to return.
	// To get the standard image ID, use a [StandardImageService.List] request.
	StandardImageId string `protobuf:"bytes,1,opt,name=standard_image_id,json=standardImageId,proto3" json:"standard_image_id,omitempty"`
	unknownFields   protoimpl.UnknownFields
	sizeCache       protoimpl.SizeCache
}

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

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

func (*GetStandardImageRequest) ProtoMessage() {}

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

func (x *GetStandardImageRequest) GetStandardImageId() string {
	if x != nil {
		return x.StandardImageId
	}
	return ""
}

type ListStandardImagesRequest 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 [ListStandardImagesResponse.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
	// [ListStandardImagesResponse.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 StandardImage resource for.
	// To get the folder ID, use a [yandex.cloud.resourcemanager.v1.FolderService.List] request. Pass the "baremetal-standard-images" folder to get general images.
	FolderId      string `protobuf:"bytes,104,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ListStandardImagesRequest) ProtoMessage() {}

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

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

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

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

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

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

type ListStandardImagesResponse struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// List of StandardImage resources.
	StandardImages []*StandardImage `protobuf:"bytes,1,rep,name=standard_images,json=standardImages,proto3" json:"standard_images,omitempty"`
	// Token for getting the next page of the list. If the number of results is greater than
	// [ListStandardImagesRequest.page_size], use `next_page_token` as the value
	// for the [ListStandardImagesRequest.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 *ListStandardImagesResponse) Reset() {
	*x = ListStandardImagesResponse{}
	mi := &file_yandex_cloud_baremetal_v1alpha_standard_image_service_proto_msgTypes[2]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*ListStandardImagesResponse) ProtoMessage() {}

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

func (x *ListStandardImagesResponse) GetStandardImages() []*StandardImage {
	if x != nil {
		return x.StandardImages
	}
	return nil
}

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

var File_yandex_cloud_baremetal_v1alpha_standard_image_service_proto protoreflect.FileDescriptor

const file_yandex_cloud_baremetal_v1alpha_standard_image_service_proto_rawDesc = "" +
	"\n" +
	";yandex/cloud/baremetal/v1alpha/standard_image_service.proto\x12\x1eyandex.cloud.baremetal.v1alpha\x1a\x1cgoogle/api/annotations.proto\x1a3yandex/cloud/baremetal/v1alpha/standard_image.proto\x1a\x1dyandex/cloud/validation.proto\"O\n" +
	"\x17GetStandardImageRequest\x124\n" +
	"\x11standard_image_id\x18\x01 \x01(\tB\b\x8a\xc81\x04<=20R\x0fstandardImageId\"\xd7\x01\n" +
	"\x19ListStandardImagesRequest\x12'\n" +
	"\tpage_size\x18d \x01(\x03B\n" +
	"\xfa\xc71\x06<=1000R\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\"\xa2\x01\n" +
	"\x1aListStandardImagesResponse\x12V\n" +
	"\x0fstandard_images\x18\x01 \x03(\v2-.yandex.cloud.baremetal.v1alpha.StandardImageR\x0estandardImages\x12&\n" +
	"\x0fnext_page_token\x18d \x01(\tR\rnextPageTokenJ\x04\b\x02\x10d2\xf0\x02\n" +
	"\x14StandardImageService\x12\xac\x01\n" +
	"\x03Get\x127.yandex.cloud.baremetal.v1alpha.GetStandardImageRequest\x1a-.yandex.cloud.baremetal.v1alpha.StandardImage\"=\x82\xd3\xe4\x93\x027\x125/baremetal/v1alpha/standardImages/{standard_image_id}\x12\xa8\x01\n" +
	"\x04List\x129.yandex.cloud.baremetal.v1alpha.ListStandardImagesRequest\x1a:.yandex.cloud.baremetal.v1alpha.ListStandardImagesResponse\")\x82\xd3\xe4\x93\x02#\x12!/baremetal/v1alpha/standardImagesBr\n" +
	"\"yandex.cloud.api.baremetal.v1alphaZLgithub.com/yandex-cloud/go-genproto/yandex/cloud/baremetal/v1alpha;baremetalb\x06proto3"

var (
	file_yandex_cloud_baremetal_v1alpha_standard_image_service_proto_rawDescOnce sync.Once
	file_yandex_cloud_baremetal_v1alpha_standard_image_service_proto_rawDescData []byte
)

func file_yandex_cloud_baremetal_v1alpha_standard_image_service_proto_rawDescGZIP() []byte {
	file_yandex_cloud_baremetal_v1alpha_standard_image_service_proto_rawDescOnce.Do(func() {
		file_yandex_cloud_baremetal_v1alpha_standard_image_service_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_yandex_cloud_baremetal_v1alpha_standard_image_service_proto_rawDesc), len(file_yandex_cloud_baremetal_v1alpha_standard_image_service_proto_rawDesc)))
	})
	return file_yandex_cloud_baremetal_v1alpha_standard_image_service_proto_rawDescData
}

var file_yandex_cloud_baremetal_v1alpha_standard_image_service_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
var file_yandex_cloud_baremetal_v1alpha_standard_image_service_proto_goTypes = []any{
	(*GetStandardImageRequest)(nil),    // 0: yandex.cloud.baremetal.v1alpha.GetStandardImageRequest
	(*ListStandardImagesRequest)(nil),  // 1: yandex.cloud.baremetal.v1alpha.ListStandardImagesRequest
	(*ListStandardImagesResponse)(nil), // 2: yandex.cloud.baremetal.v1alpha.ListStandardImagesResponse
	(*StandardImage)(nil),              // 3: yandex.cloud.baremetal.v1alpha.StandardImage
}
var file_yandex_cloud_baremetal_v1alpha_standard_image_service_proto_depIdxs = []int32{
	3, // 0: yandex.cloud.baremetal.v1alpha.ListStandardImagesResponse.standard_images:type_name -> yandex.cloud.baremetal.v1alpha.StandardImage
	0, // 1: yandex.cloud.baremetal.v1alpha.StandardImageService.Get:input_type -> yandex.cloud.baremetal.v1alpha.GetStandardImageRequest
	1, // 2: yandex.cloud.baremetal.v1alpha.StandardImageService.List:input_type -> yandex.cloud.baremetal.v1alpha.ListStandardImagesRequest
	3, // 3: yandex.cloud.baremetal.v1alpha.StandardImageService.Get:output_type -> yandex.cloud.baremetal.v1alpha.StandardImage
	2, // 4: yandex.cloud.baremetal.v1alpha.StandardImageService.List:output_type -> yandex.cloud.baremetal.v1alpha.ListStandardImagesResponse
	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_standard_image_service_proto_init() }
func file_yandex_cloud_baremetal_v1alpha_standard_image_service_proto_init() {
	if File_yandex_cloud_baremetal_v1alpha_standard_image_service_proto != nil {
		return
	}
	file_yandex_cloud_baremetal_v1alpha_standard_image_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_standard_image_service_proto_rawDesc), len(file_yandex_cloud_baremetal_v1alpha_standard_image_service_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   3,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_yandex_cloud_baremetal_v1alpha_standard_image_service_proto_goTypes,
		DependencyIndexes: file_yandex_cloud_baremetal_v1alpha_standard_image_service_proto_depIdxs,
		MessageInfos:      file_yandex_cloud_baremetal_v1alpha_standard_image_service_proto_msgTypes,
	}.Build()
	File_yandex_cloud_baremetal_v1alpha_standard_image_service_proto = out.File
	file_yandex_cloud_baremetal_v1alpha_standard_image_service_proto_goTypes = nil
	file_yandex_cloud_baremetal_v1alpha_standard_image_service_proto_depIdxs = nil
}
