// 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/hardware_pool_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 GetHardwarePoolRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the HardwarePool resource to return.
	//
	// To get the hardware pool ID, use a [HardwarePoolService.List] request.
	HardwarePoolId string `protobuf:"bytes,1,opt,name=hardware_pool_id,json=hardwarePoolId,proto3" json:"hardware_pool_id,omitempty"`
	unknownFields  protoimpl.UnknownFields
	sizeCache      protoimpl.SizeCache
}

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

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

func (*GetHardwarePoolRequest) ProtoMessage() {}

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

func (x *GetHardwarePoolRequest) GetHardwarePoolId() string {
	if x != nil {
		return x.HardwarePoolId
	}
	return ""
}

type ListHardwarePoolsRequest 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 [ListHardwarePoolsResponse.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
	// [ListHardwarePoolsResponse.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"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ListHardwarePoolsRequest) ProtoMessage() {}

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

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

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

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

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

func (*ListHardwarePoolsResponse) ProtoMessage() {}

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

func (x *ListHardwarePoolsResponse) GetHardwarePools() []*HardwarePool {
	if x != nil {
		return x.HardwarePools
	}
	return nil
}

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

var File_yandex_cloud_baremetal_v1alpha_hardware_pool_service_proto protoreflect.FileDescriptor

const file_yandex_cloud_baremetal_v1alpha_hardware_pool_service_proto_rawDesc = "" +
	"\n" +
	":yandex/cloud/baremetal/v1alpha/hardware_pool_service.proto\x12\x1eyandex.cloud.baremetal.v1alpha\x1a\x1cgoogle/api/annotations.proto\x1a2yandex/cloud/baremetal/v1alpha/hardware_pool.proto\x1a\x1dyandex/cloud/validation.proto\"L\n" +
	"\x16GetHardwarePoolRequest\x122\n" +
	"\x10hardware_pool_id\x18\x01 \x01(\tB\b\x8a\xc81\x04<=20R\x0ehardwarePoolId\"g\n" +
	"\x18ListHardwarePoolsRequest\x12&\n" +
	"\tpage_size\x18d \x01(\x03B\t\xfa\xc71\x05<=100R\bpageSize\x12\x1d\n" +
	"\n" +
	"page_token\x18e \x01(\tR\tpageTokenJ\x04\b\x01\x10d\"\x9e\x01\n" +
	"\x19ListHardwarePoolsResponse\x12S\n" +
	"\x0ehardware_pools\x18\x01 \x03(\v2,.yandex.cloud.baremetal.v1alpha.HardwarePoolR\rhardwarePools\x12&\n" +
	"\x0fnext_page_token\x18d \x01(\tR\rnextPageTokenJ\x04\b\x02\x10d2\xe8\x02\n" +
	"\x13HardwarePoolService\x12\xa8\x01\n" +
	"\x03Get\x126.yandex.cloud.baremetal.v1alpha.GetHardwarePoolRequest\x1a,.yandex.cloud.baremetal.v1alpha.HardwarePool\";\x82\xd3\xe4\x93\x025\x123/baremetal/v1alpha/hardwarePools/{hardware_pool_id}\x12\xa5\x01\n" +
	"\x04List\x128.yandex.cloud.baremetal.v1alpha.ListHardwarePoolsRequest\x1a9.yandex.cloud.baremetal.v1alpha.ListHardwarePoolsResponse\"(\x82\xd3\xe4\x93\x02\"\x12 /baremetal/v1alpha/hardwarePoolsBr\n" +
	"\"yandex.cloud.api.baremetal.v1alphaZLgithub.com/yandex-cloud/go-genproto/yandex/cloud/baremetal/v1alpha;baremetalb\x06proto3"

var (
	file_yandex_cloud_baremetal_v1alpha_hardware_pool_service_proto_rawDescOnce sync.Once
	file_yandex_cloud_baremetal_v1alpha_hardware_pool_service_proto_rawDescData []byte
)

func file_yandex_cloud_baremetal_v1alpha_hardware_pool_service_proto_rawDescGZIP() []byte {
	file_yandex_cloud_baremetal_v1alpha_hardware_pool_service_proto_rawDescOnce.Do(func() {
		file_yandex_cloud_baremetal_v1alpha_hardware_pool_service_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_yandex_cloud_baremetal_v1alpha_hardware_pool_service_proto_rawDesc), len(file_yandex_cloud_baremetal_v1alpha_hardware_pool_service_proto_rawDesc)))
	})
	return file_yandex_cloud_baremetal_v1alpha_hardware_pool_service_proto_rawDescData
}

var file_yandex_cloud_baremetal_v1alpha_hardware_pool_service_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
var file_yandex_cloud_baremetal_v1alpha_hardware_pool_service_proto_goTypes = []any{
	(*GetHardwarePoolRequest)(nil),    // 0: yandex.cloud.baremetal.v1alpha.GetHardwarePoolRequest
	(*ListHardwarePoolsRequest)(nil),  // 1: yandex.cloud.baremetal.v1alpha.ListHardwarePoolsRequest
	(*ListHardwarePoolsResponse)(nil), // 2: yandex.cloud.baremetal.v1alpha.ListHardwarePoolsResponse
	(*HardwarePool)(nil),              // 3: yandex.cloud.baremetal.v1alpha.HardwarePool
}
var file_yandex_cloud_baremetal_v1alpha_hardware_pool_service_proto_depIdxs = []int32{
	3, // 0: yandex.cloud.baremetal.v1alpha.ListHardwarePoolsResponse.hardware_pools:type_name -> yandex.cloud.baremetal.v1alpha.HardwarePool
	0, // 1: yandex.cloud.baremetal.v1alpha.HardwarePoolService.Get:input_type -> yandex.cloud.baremetal.v1alpha.GetHardwarePoolRequest
	1, // 2: yandex.cloud.baremetal.v1alpha.HardwarePoolService.List:input_type -> yandex.cloud.baremetal.v1alpha.ListHardwarePoolsRequest
	3, // 3: yandex.cloud.baremetal.v1alpha.HardwarePoolService.Get:output_type -> yandex.cloud.baremetal.v1alpha.HardwarePool
	2, // 4: yandex.cloud.baremetal.v1alpha.HardwarePoolService.List:output_type -> yandex.cloud.baremetal.v1alpha.ListHardwarePoolsResponse
	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_hardware_pool_service_proto_init() }
func file_yandex_cloud_baremetal_v1alpha_hardware_pool_service_proto_init() {
	if File_yandex_cloud_baremetal_v1alpha_hardware_pool_service_proto != nil {
		return
	}
	file_yandex_cloud_baremetal_v1alpha_hardware_pool_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_hardware_pool_service_proto_rawDesc), len(file_yandex_cloud_baremetal_v1alpha_hardware_pool_service_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   3,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_yandex_cloud_baremetal_v1alpha_hardware_pool_service_proto_goTypes,
		DependencyIndexes: file_yandex_cloud_baremetal_v1alpha_hardware_pool_service_proto_depIdxs,
		MessageInfos:      file_yandex_cloud_baremetal_v1alpha_hardware_pool_service_proto_msgTypes,
	}.Build()
	File_yandex_cloud_baremetal_v1alpha_hardware_pool_service_proto = out.File
	file_yandex_cloud_baremetal_v1alpha_hardware_pool_service_proto_goTypes = nil
	file_yandex_cloud_baremetal_v1alpha_hardware_pool_service_proto_depIdxs = nil
}
