// 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/public_subnet_service.proto

package baremetal

import (
	_ "github.com/yandex-cloud/go-genproto/yandex/cloud"
	_ "github.com/yandex-cloud/go-genproto/yandex/cloud/api"
	operation "github.com/yandex-cloud/go-genproto/yandex/cloud/operation"
	_ "google.golang.org/genproto/googleapis/api/annotations"
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
	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 GetPublicSubnetRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the PublicSubnet resource to return.
	//
	// To get the public subnet ID use a [PublicSubnetService.List] request.
	PublicSubnetId string `protobuf:"bytes,1,opt,name=public_subnet_id,json=publicSubnetId,proto3" json:"public_subnet_id,omitempty"`
	unknownFields  protoimpl.UnknownFields
	sizeCache      protoimpl.SizeCache
}

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

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

func (*GetPublicSubnetRequest) ProtoMessage() {}

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

func (x *GetPublicSubnetRequest) GetPublicSubnetId() string {
	if x != nil {
		return x.PublicSubnetId
	}
	return ""
}

type ListPublicSubnetRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the folder to list public subnets in.
	//
	// To get the folder ID use a [yandex.cloud.resourcemanager.v1.FolderService.List] request.
	FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// The maximum number of results per page to return. If the number of available
	// results is greater than `page_size`,
	// the service returns a [ListPublicSubnetResponse.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
	// [ListPublicSubnetResponse.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", "createdAt"].
	// 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), `@>` (contains).
	// 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", "zoneId", "hardwarePoolIds"].
	// Deprecated fields: ["hardwarePoolId"].
	// Both snake_case and camelCase are supported for fields.
	Filter        string `protobuf:"bytes,103,opt,name=filter,proto3" json:"filter,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ListPublicSubnetRequest) ProtoMessage() {}

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

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

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

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

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

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

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

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

func (*ListPublicSubnetResponse) ProtoMessage() {}

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

func (x *ListPublicSubnetResponse) GetPublicSubnets() []*PublicSubnet {
	if x != nil {
		return x.PublicSubnets
	}
	return nil
}

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

type CreatePublicSubnetRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the folder to create a public subnet in.
	//
	// To get the folder ID, use a [yandex.cloud.resourcemanager.v1.FolderService.List] request.
	FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// Name of the public subnet.
	// The name must be unique within the folder.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Description of the public subnet.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// IDs of the hardware pool that the public subnet belongs to.
	//
	// To get a list of available hardware pools, use the [HardwarePoolService.List] request.
	HardwarePoolIds []string `protobuf:"bytes,4,rep,name=hardware_pool_ids,json=hardwarePoolIds,proto3" json:"hardware_pool_ids,omitempty"`
	// Prefix length of the public subnet CIDR block.
	PrefixLength int64 `protobuf:"varint,5,opt,name=prefix_length,json=prefixLength,proto3" json:"prefix_length,omitempty"`
	// Resource labels as `key:value` pairs.
	Labels        map[string]string `protobuf:"bytes,200,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*CreatePublicSubnetRequest) ProtoMessage() {}

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

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

func (x *CreatePublicSubnetRequest) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}

func (x *CreatePublicSubnetRequest) GetDescription() string {
	if x != nil {
		return x.Description
	}
	return ""
}

func (x *CreatePublicSubnetRequest) GetHardwarePoolIds() []string {
	if x != nil {
		return x.HardwarePoolIds
	}
	return nil
}

func (x *CreatePublicSubnetRequest) GetPrefixLength() int64 {
	if x != nil {
		return x.PrefixLength
	}
	return 0
}

func (x *CreatePublicSubnetRequest) GetLabels() map[string]string {
	if x != nil {
		return x.Labels
	}
	return nil
}

type CreatePublicSubnetMetadata struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the public subnet that is being created.
	PublicSubnetId string `protobuf:"bytes,1,opt,name=public_subnet_id,json=publicSubnetId,proto3" json:"public_subnet_id,omitempty"`
	unknownFields  protoimpl.UnknownFields
	sizeCache      protoimpl.SizeCache
}

func (x *CreatePublicSubnetMetadata) Reset() {
	*x = CreatePublicSubnetMetadata{}
	mi := &file_yandex_cloud_baremetal_v1alpha_public_subnet_service_proto_msgTypes[4]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*CreatePublicSubnetMetadata) ProtoMessage() {}

func (x *CreatePublicSubnetMetadata) ProtoReflect() protoreflect.Message {
	mi := &file_yandex_cloud_baremetal_v1alpha_public_subnet_service_proto_msgTypes[4]
	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 CreatePublicSubnetMetadata.ProtoReflect.Descriptor instead.
func (*CreatePublicSubnetMetadata) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_baremetal_v1alpha_public_subnet_service_proto_rawDescGZIP(), []int{4}
}

func (x *CreatePublicSubnetMetadata) GetPublicSubnetId() string {
	if x != nil {
		return x.PublicSubnetId
	}
	return ""
}

type UpdatePublicSubnetRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the PublicSubnet resource to update.
	//
	// To get the public subnet ID, use a [PublicSubnetService.List] request.
	PublicSubnetId string `protobuf:"bytes,1,opt,name=public_subnet_id,json=publicSubnetId,proto3" json:"public_subnet_id,omitempty"`
	// Field mask that specifies which fields of the PublicSubnet resource are going to be updated.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// Name of the public subnet.
	// The name must be unique within the folder.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// Description of the public subnet.
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// IDs of the hardware pool that the public subnet belongs to.
	//
	// To get a list of available hardware pools, use the [HardwarePoolService.List] request.
	HardwarePoolIds []string         `protobuf:"bytes,5,rep,name=hardware_pool_ids,json=hardwarePoolIds,proto3" json:"hardware_pool_ids,omitempty"`
	Type            PublicSubnetType `protobuf:"varint,6,opt,name=type,proto3,enum=yandex.cloud.baremetal.v1alpha.PublicSubnetType" json:"type,omitempty"`
	// Resource labels as `key:value` pairs.
	//
	// Existing set of `labels` is completely replaced by the provided set.
	Labels        map[string]string `protobuf:"bytes,200,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *UpdatePublicSubnetRequest) Reset() {
	*x = UpdatePublicSubnetRequest{}
	mi := &file_yandex_cloud_baremetal_v1alpha_public_subnet_service_proto_msgTypes[5]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*UpdatePublicSubnetRequest) ProtoMessage() {}

func (x *UpdatePublicSubnetRequest) ProtoReflect() protoreflect.Message {
	mi := &file_yandex_cloud_baremetal_v1alpha_public_subnet_service_proto_msgTypes[5]
	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 UpdatePublicSubnetRequest.ProtoReflect.Descriptor instead.
func (*UpdatePublicSubnetRequest) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_baremetal_v1alpha_public_subnet_service_proto_rawDescGZIP(), []int{5}
}

func (x *UpdatePublicSubnetRequest) GetPublicSubnetId() string {
	if x != nil {
		return x.PublicSubnetId
	}
	return ""
}

func (x *UpdatePublicSubnetRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
	if x != nil {
		return x.UpdateMask
	}
	return nil
}

func (x *UpdatePublicSubnetRequest) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}

func (x *UpdatePublicSubnetRequest) GetDescription() string {
	if x != nil {
		return x.Description
	}
	return ""
}

func (x *UpdatePublicSubnetRequest) GetHardwarePoolIds() []string {
	if x != nil {
		return x.HardwarePoolIds
	}
	return nil
}

func (x *UpdatePublicSubnetRequest) GetType() PublicSubnetType {
	if x != nil {
		return x.Type
	}
	return PublicSubnetType_PUBLIC_SUBNET_TYPE_UNSPECIFIED
}

func (x *UpdatePublicSubnetRequest) GetLabels() map[string]string {
	if x != nil {
		return x.Labels
	}
	return nil
}

type UpdatePublicSubnetMetadata struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the PublicSubnet resource that is being updated.
	PublicSubnetId string `protobuf:"bytes,1,opt,name=public_subnet_id,json=publicSubnetId,proto3" json:"public_subnet_id,omitempty"`
	unknownFields  protoimpl.UnknownFields
	sizeCache      protoimpl.SizeCache
}

func (x *UpdatePublicSubnetMetadata) Reset() {
	*x = UpdatePublicSubnetMetadata{}
	mi := &file_yandex_cloud_baremetal_v1alpha_public_subnet_service_proto_msgTypes[6]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*UpdatePublicSubnetMetadata) ProtoMessage() {}

func (x *UpdatePublicSubnetMetadata) ProtoReflect() protoreflect.Message {
	mi := &file_yandex_cloud_baremetal_v1alpha_public_subnet_service_proto_msgTypes[6]
	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 UpdatePublicSubnetMetadata.ProtoReflect.Descriptor instead.
func (*UpdatePublicSubnetMetadata) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_baremetal_v1alpha_public_subnet_service_proto_rawDescGZIP(), []int{6}
}

func (x *UpdatePublicSubnetMetadata) GetPublicSubnetId() string {
	if x != nil {
		return x.PublicSubnetId
	}
	return ""
}

type DeletePublicSubnetRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the public subnet to delete.
	//
	// To get the public subnet ID, use a [PublicSubnetService.List] request.
	PublicSubnetId string `protobuf:"bytes,1,opt,name=public_subnet_id,json=publicSubnetId,proto3" json:"public_subnet_id,omitempty"`
	unknownFields  protoimpl.UnknownFields
	sizeCache      protoimpl.SizeCache
}

func (x *DeletePublicSubnetRequest) Reset() {
	*x = DeletePublicSubnetRequest{}
	mi := &file_yandex_cloud_baremetal_v1alpha_public_subnet_service_proto_msgTypes[7]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*DeletePublicSubnetRequest) ProtoMessage() {}

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

func (x *DeletePublicSubnetRequest) GetPublicSubnetId() string {
	if x != nil {
		return x.PublicSubnetId
	}
	return ""
}

type DeletePublicSubnetMetadata struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the PublicSubnet resource that is being deleted.
	PublicSubnetId string `protobuf:"bytes,1,opt,name=public_subnet_id,json=publicSubnetId,proto3" json:"public_subnet_id,omitempty"`
	unknownFields  protoimpl.UnknownFields
	sizeCache      protoimpl.SizeCache
}

func (x *DeletePublicSubnetMetadata) Reset() {
	*x = DeletePublicSubnetMetadata{}
	mi := &file_yandex_cloud_baremetal_v1alpha_public_subnet_service_proto_msgTypes[8]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*DeletePublicSubnetMetadata) ProtoMessage() {}

func (x *DeletePublicSubnetMetadata) ProtoReflect() protoreflect.Message {
	mi := &file_yandex_cloud_baremetal_v1alpha_public_subnet_service_proto_msgTypes[8]
	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 DeletePublicSubnetMetadata.ProtoReflect.Descriptor instead.
func (*DeletePublicSubnetMetadata) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_baremetal_v1alpha_public_subnet_service_proto_rawDescGZIP(), []int{8}
}

func (x *DeletePublicSubnetMetadata) GetPublicSubnetId() string {
	if x != nil {
		return x.PublicSubnetId
	}
	return ""
}

type ListPublicSubnetOperationsRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the PublicSubnet resource to list operations for.
	PublicSubnetId string `protobuf:"bytes,1,opt,name=public_subnet_id,json=publicSubnetId,proto3" json:"public_subnet_id,omitempty"`
	// The maximum number of results per page to return. If the number of available
	// results is greater than `page_size`,
	// the service returns a [ListPublicSubnetResponse.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
	// [ListPublicSubnetOperationsResponse.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 *ListPublicSubnetOperationsRequest) Reset() {
	*x = ListPublicSubnetOperationsRequest{}
	mi := &file_yandex_cloud_baremetal_v1alpha_public_subnet_service_proto_msgTypes[9]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*ListPublicSubnetOperationsRequest) ProtoMessage() {}

func (x *ListPublicSubnetOperationsRequest) ProtoReflect() protoreflect.Message {
	mi := &file_yandex_cloud_baremetal_v1alpha_public_subnet_service_proto_msgTypes[9]
	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 ListPublicSubnetOperationsRequest.ProtoReflect.Descriptor instead.
func (*ListPublicSubnetOperationsRequest) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_baremetal_v1alpha_public_subnet_service_proto_rawDescGZIP(), []int{9}
}

func (x *ListPublicSubnetOperationsRequest) GetPublicSubnetId() string {
	if x != nil {
		return x.PublicSubnetId
	}
	return ""
}

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

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

type ListPublicSubnetOperationsResponse struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// List of operations for the specified PublicSubnet resource.
	Operations []*operation.Operation `protobuf:"bytes,1,rep,name=operations,proto3" json:"operations,omitempty"`
	// Token for getting the next page of the list. If the number of results is greater than
	// [ListPublicSubnetOperationsRequest.page_size], use `next_page_token` as the value
	// for the [ListPublicSubnetOperationsRequest.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 *ListPublicSubnetOperationsResponse) Reset() {
	*x = ListPublicSubnetOperationsResponse{}
	mi := &file_yandex_cloud_baremetal_v1alpha_public_subnet_service_proto_msgTypes[10]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*ListPublicSubnetOperationsResponse) ProtoMessage() {}

func (x *ListPublicSubnetOperationsResponse) ProtoReflect() protoreflect.Message {
	mi := &file_yandex_cloud_baremetal_v1alpha_public_subnet_service_proto_msgTypes[10]
	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 ListPublicSubnetOperationsResponse.ProtoReflect.Descriptor instead.
func (*ListPublicSubnetOperationsResponse) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_baremetal_v1alpha_public_subnet_service_proto_rawDescGZIP(), []int{10}
}

func (x *ListPublicSubnetOperationsResponse) GetOperations() []*operation.Operation {
	if x != nil {
		return x.Operations
	}
	return nil
}

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

var File_yandex_cloud_baremetal_v1alpha_public_subnet_service_proto protoreflect.FileDescriptor

const file_yandex_cloud_baremetal_v1alpha_public_subnet_service_proto_rawDesc = "" +
	"\n" +
	":yandex/cloud/baremetal/v1alpha/public_subnet_service.proto\x12\x1eyandex.cloud.baremetal.v1alpha\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a yandex/cloud/api/operation.proto\x1a2yandex/cloud/baremetal/v1alpha/public_subnet.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\"H\n" +
	"\x16GetPublicSubnetRequest\x12.\n" +
	"\x10public_subnet_id\x18\x01 \x01(\tB\x04\xe8\xc71\x01R\x0epublicSubnetId\"\xd4\x01\n" +
	"\x17ListPublicSubnetRequest\x129\n" +
	"\tfolder_id\x18\x01 \x01(\tB\x1c\xf2\xc71\x10[a-z][a-z0-9.-]*\x8a\xc81\x04<=50R\bfolderId\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\x06filterJ\x04\b\x02\x10d\"\x9d\x01\n" +
	"\x18ListPublicSubnetResponse\x12S\n" +
	"\x0epublic_subnets\x18\x01 \x03(\v2,.yandex.cloud.baremetal.v1alpha.PublicSubnetR\rpublicSubnets\x12&\n" +
	"\x0fnext_page_token\x18d \x01(\tR\rnextPageTokenJ\x04\b\x02\x10d\"\xfb\x03\n" +
	"\x19CreatePublicSubnetRequest\x129\n" +
	"\tfolder_id\x18\x01 \x01(\tB\x1c\xf2\xc71\x10[a-z][a-z0-9.-]*\x8a\xc81\x04<=50R\bfolderId\x12:\n" +
	"\x04name\x18\x02 \x01(\tB&\xf2\xc71\x1a[a-z]([-a-z0-9]*[a-z0-9])?\x8a\xc81\x042-63R\x04name\x12,\n" +
	"\vdescription\x18\x03 \x01(\tB\n" +
	"\x8a\xc81\x06<=1024R\vdescription\x12*\n" +
	"\x11hardware_pool_ids\x18\x04 \x03(\tR\x0fhardwarePoolIds\x12-\n" +
	"\rprefix_length\x18\x05 \x01(\x03B\b\xfa\xc71\x041-31R\fprefixLength\x12\x9b\x01\n" +
	"\x06labels\x18\xc8\x01 \x03(\v2E.yandex.cloud.baremetal.v1alpha.CreatePublicSubnetRequest.LabelsEntryB;\xf2\xc71\v[-_0-9a-z]*\x82\xc81\x04<=64\x8a\xc81\x04<=63\xb2\xc81\x18\x12\x10[a-z][-_0-9a-z]*\x1a\x041-63R\x06labels\x1a9\n" +
	"\vLabelsEntry\x12\x10\n" +
	"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
	"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01J\x05\b\x06\x10\xc8\x01\"F\n" +
	"\x1aCreatePublicSubnetMetadata\x12(\n" +
	"\x10public_subnet_id\x18\x01 \x01(\tR\x0epublicSubnetId\"\xc4\x04\n" +
	"\x19UpdatePublicSubnetRequest\x12.\n" +
	"\x10public_subnet_id\x18\x01 \x01(\tB\x04\xe8\xc71\x01R\x0epublicSubnetId\x12;\n" +
	"\vupdate_mask\x18\x02 \x01(\v2\x1a.google.protobuf.FieldMaskR\n" +
	"updateMask\x12:\n" +
	"\x04name\x18\x03 \x01(\tB&\xf2\xc71\x1a[a-z]([-a-z0-9]*[a-z0-9])?\x8a\xc81\x042-63R\x04name\x12,\n" +
	"\vdescription\x18\x04 \x01(\tB\n" +
	"\x8a\xc81\x06<=1024R\vdescription\x12*\n" +
	"\x11hardware_pool_ids\x18\x05 \x03(\tR\x0fhardwarePoolIds\x12D\n" +
	"\x04type\x18\x06 \x01(\x0e20.yandex.cloud.baremetal.v1alpha.PublicSubnetTypeR\x04type\x12\x9b\x01\n" +
	"\x06labels\x18\xc8\x01 \x03(\v2E.yandex.cloud.baremetal.v1alpha.UpdatePublicSubnetRequest.LabelsEntryB;\xf2\xc71\v[-_0-9a-z]*\x82\xc81\x04<=64\x8a\xc81\x04<=63\xb2\xc81\x18\x12\x10[a-z][-_0-9a-z]*\x1a\x041-63R\x06labels\x1a9\n" +
	"\vLabelsEntry\x12\x10\n" +
	"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
	"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01J\x05\b\a\x10\xc8\x01\"F\n" +
	"\x1aUpdatePublicSubnetMetadata\x12(\n" +
	"\x10public_subnet_id\x18\x01 \x01(\tR\x0epublicSubnetId\"K\n" +
	"\x19DeletePublicSubnetRequest\x12.\n" +
	"\x10public_subnet_id\x18\x01 \x01(\tB\x04\xe8\xc71\x01R\x0epublicSubnetId\"F\n" +
	"\x1aDeletePublicSubnetMetadata\x12(\n" +
	"\x10public_subnet_id\x18\x01 \x01(\tR\x0epublicSubnetId\"\x9a\x01\n" +
	"!ListPublicSubnetOperationsRequest\x12(\n" +
	"\x10public_subnet_id\x18\x01 \x01(\tR\x0epublicSubnetId\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\x02\x10d\"\x95\x01\n" +
	"\"ListPublicSubnetOperationsResponse\x12A\n" +
	"\n" +
	"operations\x18\x01 \x03(\v2!.yandex.cloud.operation.OperationR\n" +
	"operations\x12&\n" +
	"\x0fnext_page_token\x18d \x01(\tR\rnextPageTokenJ\x04\b\x02\x10d2\xc0\t\n" +
	"\x13PublicSubnetService\x12\xa8\x01\n" +
	"\x03Get\x126.yandex.cloud.baremetal.v1alpha.GetPublicSubnetRequest\x1a,.yandex.cloud.baremetal.v1alpha.PublicSubnet\";\x82\xd3\xe4\x93\x025\x123/baremetal/v1alpha/publicSubnets/{public_subnet_id}\x12\xa3\x01\n" +
	"\x04List\x127.yandex.cloud.baremetal.v1alpha.ListPublicSubnetRequest\x1a8.yandex.cloud.baremetal.v1alpha.ListPublicSubnetResponse\"(\x82\xd3\xe4\x93\x02\"\x12 /baremetal/v1alpha/publicSubnets\x12\xc1\x01\n" +
	"\x06Create\x129.yandex.cloud.baremetal.v1alpha.CreatePublicSubnetRequest\x1a!.yandex.cloud.operation.Operation\"Y\xb2\xd2**\n" +
	"\x1aCreatePublicSubnetMetadata\x12\fPublicSubnet\x82\xd3\xe4\x93\x02%:\x01*\" /baremetal/v1alpha/publicSubnets\x12\xd4\x01\n" +
	"\x06Update\x129.yandex.cloud.baremetal.v1alpha.UpdatePublicSubnetRequest\x1a!.yandex.cloud.operation.Operation\"l\xb2\xd2**\n" +
	"\x1aUpdatePublicSubnetMetadata\x12\fPublicSubnet\x82\xd3\xe4\x93\x028:\x01*23/baremetal/v1alpha/publicSubnets/{public_subnet_id}\x12\xda\x01\n" +
	"\x06Delete\x129.yandex.cloud.baremetal.v1alpha.DeletePublicSubnetRequest\x1a!.yandex.cloud.operation.Operation\"r\xb2\xd2*3\n" +
	"\x1aDeletePublicSubnetMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x025*3/baremetal/v1alpha/publicSubnets/{public_subnet_id}\x12\xdf\x01\n" +
	"\x0eListOperations\x12A.yandex.cloud.baremetal.v1alpha.ListPublicSubnetOperationsRequest\x1aB.yandex.cloud.baremetal.v1alpha.ListPublicSubnetOperationsResponse\"F\x82\xd3\xe4\x93\x02@\x12>/baremetal/v1alpha/publicSubnets/{public_subnet_id}/operationsBr\n" +
	"\"yandex.cloud.api.baremetal.v1alphaZLgithub.com/yandex-cloud/go-genproto/yandex/cloud/baremetal/v1alpha;baremetalb\x06proto3"

var (
	file_yandex_cloud_baremetal_v1alpha_public_subnet_service_proto_rawDescOnce sync.Once
	file_yandex_cloud_baremetal_v1alpha_public_subnet_service_proto_rawDescData []byte
)

func file_yandex_cloud_baremetal_v1alpha_public_subnet_service_proto_rawDescGZIP() []byte {
	file_yandex_cloud_baremetal_v1alpha_public_subnet_service_proto_rawDescOnce.Do(func() {
		file_yandex_cloud_baremetal_v1alpha_public_subnet_service_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_yandex_cloud_baremetal_v1alpha_public_subnet_service_proto_rawDesc), len(file_yandex_cloud_baremetal_v1alpha_public_subnet_service_proto_rawDesc)))
	})
	return file_yandex_cloud_baremetal_v1alpha_public_subnet_service_proto_rawDescData
}

var file_yandex_cloud_baremetal_v1alpha_public_subnet_service_proto_msgTypes = make([]protoimpl.MessageInfo, 13)
var file_yandex_cloud_baremetal_v1alpha_public_subnet_service_proto_goTypes = []any{
	(*GetPublicSubnetRequest)(nil),             // 0: yandex.cloud.baremetal.v1alpha.GetPublicSubnetRequest
	(*ListPublicSubnetRequest)(nil),            // 1: yandex.cloud.baremetal.v1alpha.ListPublicSubnetRequest
	(*ListPublicSubnetResponse)(nil),           // 2: yandex.cloud.baremetal.v1alpha.ListPublicSubnetResponse
	(*CreatePublicSubnetRequest)(nil),          // 3: yandex.cloud.baremetal.v1alpha.CreatePublicSubnetRequest
	(*CreatePublicSubnetMetadata)(nil),         // 4: yandex.cloud.baremetal.v1alpha.CreatePublicSubnetMetadata
	(*UpdatePublicSubnetRequest)(nil),          // 5: yandex.cloud.baremetal.v1alpha.UpdatePublicSubnetRequest
	(*UpdatePublicSubnetMetadata)(nil),         // 6: yandex.cloud.baremetal.v1alpha.UpdatePublicSubnetMetadata
	(*DeletePublicSubnetRequest)(nil),          // 7: yandex.cloud.baremetal.v1alpha.DeletePublicSubnetRequest
	(*DeletePublicSubnetMetadata)(nil),         // 8: yandex.cloud.baremetal.v1alpha.DeletePublicSubnetMetadata
	(*ListPublicSubnetOperationsRequest)(nil),  // 9: yandex.cloud.baremetal.v1alpha.ListPublicSubnetOperationsRequest
	(*ListPublicSubnetOperationsResponse)(nil), // 10: yandex.cloud.baremetal.v1alpha.ListPublicSubnetOperationsResponse
	nil,                           // 11: yandex.cloud.baremetal.v1alpha.CreatePublicSubnetRequest.LabelsEntry
	nil,                           // 12: yandex.cloud.baremetal.v1alpha.UpdatePublicSubnetRequest.LabelsEntry
	(*PublicSubnet)(nil),          // 13: yandex.cloud.baremetal.v1alpha.PublicSubnet
	(*fieldmaskpb.FieldMask)(nil), // 14: google.protobuf.FieldMask
	(PublicSubnetType)(0),         // 15: yandex.cloud.baremetal.v1alpha.PublicSubnetType
	(*operation.Operation)(nil),   // 16: yandex.cloud.operation.Operation
}
var file_yandex_cloud_baremetal_v1alpha_public_subnet_service_proto_depIdxs = []int32{
	13, // 0: yandex.cloud.baremetal.v1alpha.ListPublicSubnetResponse.public_subnets:type_name -> yandex.cloud.baremetal.v1alpha.PublicSubnet
	11, // 1: yandex.cloud.baremetal.v1alpha.CreatePublicSubnetRequest.labels:type_name -> yandex.cloud.baremetal.v1alpha.CreatePublicSubnetRequest.LabelsEntry
	14, // 2: yandex.cloud.baremetal.v1alpha.UpdatePublicSubnetRequest.update_mask:type_name -> google.protobuf.FieldMask
	15, // 3: yandex.cloud.baremetal.v1alpha.UpdatePublicSubnetRequest.type:type_name -> yandex.cloud.baremetal.v1alpha.PublicSubnetType
	12, // 4: yandex.cloud.baremetal.v1alpha.UpdatePublicSubnetRequest.labels:type_name -> yandex.cloud.baremetal.v1alpha.UpdatePublicSubnetRequest.LabelsEntry
	16, // 5: yandex.cloud.baremetal.v1alpha.ListPublicSubnetOperationsResponse.operations:type_name -> yandex.cloud.operation.Operation
	0,  // 6: yandex.cloud.baremetal.v1alpha.PublicSubnetService.Get:input_type -> yandex.cloud.baremetal.v1alpha.GetPublicSubnetRequest
	1,  // 7: yandex.cloud.baremetal.v1alpha.PublicSubnetService.List:input_type -> yandex.cloud.baremetal.v1alpha.ListPublicSubnetRequest
	3,  // 8: yandex.cloud.baremetal.v1alpha.PublicSubnetService.Create:input_type -> yandex.cloud.baremetal.v1alpha.CreatePublicSubnetRequest
	5,  // 9: yandex.cloud.baremetal.v1alpha.PublicSubnetService.Update:input_type -> yandex.cloud.baremetal.v1alpha.UpdatePublicSubnetRequest
	7,  // 10: yandex.cloud.baremetal.v1alpha.PublicSubnetService.Delete:input_type -> yandex.cloud.baremetal.v1alpha.DeletePublicSubnetRequest
	9,  // 11: yandex.cloud.baremetal.v1alpha.PublicSubnetService.ListOperations:input_type -> yandex.cloud.baremetal.v1alpha.ListPublicSubnetOperationsRequest
	13, // 12: yandex.cloud.baremetal.v1alpha.PublicSubnetService.Get:output_type -> yandex.cloud.baremetal.v1alpha.PublicSubnet
	2,  // 13: yandex.cloud.baremetal.v1alpha.PublicSubnetService.List:output_type -> yandex.cloud.baremetal.v1alpha.ListPublicSubnetResponse
	16, // 14: yandex.cloud.baremetal.v1alpha.PublicSubnetService.Create:output_type -> yandex.cloud.operation.Operation
	16, // 15: yandex.cloud.baremetal.v1alpha.PublicSubnetService.Update:output_type -> yandex.cloud.operation.Operation
	16, // 16: yandex.cloud.baremetal.v1alpha.PublicSubnetService.Delete:output_type -> yandex.cloud.operation.Operation
	10, // 17: yandex.cloud.baremetal.v1alpha.PublicSubnetService.ListOperations:output_type -> yandex.cloud.baremetal.v1alpha.ListPublicSubnetOperationsResponse
	12, // [12:18] is the sub-list for method output_type
	6,  // [6:12] is the sub-list for method input_type
	6,  // [6:6] is the sub-list for extension type_name
	6,  // [6:6] is the sub-list for extension extendee
	0,  // [0:6] is the sub-list for field type_name
}

func init() { file_yandex_cloud_baremetal_v1alpha_public_subnet_service_proto_init() }
func file_yandex_cloud_baremetal_v1alpha_public_subnet_service_proto_init() {
	if File_yandex_cloud_baremetal_v1alpha_public_subnet_service_proto != nil {
		return
	}
	file_yandex_cloud_baremetal_v1alpha_public_subnet_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_public_subnet_service_proto_rawDesc), len(file_yandex_cloud_baremetal_v1alpha_public_subnet_service_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   13,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_yandex_cloud_baremetal_v1alpha_public_subnet_service_proto_goTypes,
		DependencyIndexes: file_yandex_cloud_baremetal_v1alpha_public_subnet_service_proto_depIdxs,
		MessageInfos:      file_yandex_cloud_baremetal_v1alpha_public_subnet_service_proto_msgTypes,
	}.Build()
	File_yandex_cloud_baremetal_v1alpha_public_subnet_service_proto = out.File
	file_yandex_cloud_baremetal_v1alpha_public_subnet_service_proto_goTypes = nil
	file_yandex_cloud_baremetal_v1alpha_public_subnet_service_proto_depIdxs = nil
}
