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

package cic

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 GetPointOfPresenceRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the PointOfPresence resource to return.
	// To get the pointOfPresence ID use a [PointOfPresenceService.List] request.
	PointOfPresenceId string `protobuf:"bytes,1,opt,name=point_of_presence_id,json=pointOfPresenceId,proto3" json:"point_of_presence_id,omitempty"`
	unknownFields     protoimpl.UnknownFields
	sizeCache         protoimpl.SizeCache
}

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

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

func (*GetPointOfPresenceRequest) ProtoMessage() {}

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

func (x *GetPointOfPresenceRequest) GetPointOfPresenceId() string {
	if x != nil {
		return x.PointOfPresenceId
	}
	return ""
}

type ListPointOfPresencesRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The maximum number of results per page to return. If the number of available
	// results is larger than [page_size],
	// the service returns a [ListPointOfPresencesResponse.next_page_token]
	// that can be used to get the next page of results in subsequent list requests. Default value: 100.
	PageSize int64 `protobuf:"varint,2,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
	// [ListPointOfPresencesResponse.next_page_token] returned by a previous list request.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// A filter expression that filters resources listed in the response.
	// The expression must specify:
	// 1. The field name. Currently you can use filtering only on [Subnet.name] field.
	// 2. An `=` operator.
	// 3. The value in double quotes (`"`). Must be 3-63 characters long and match the regular expression `[a-z][-a-z0-9]{1,61}[a-z0-9]`.
	Filter        string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ListPointOfPresencesRequest) ProtoMessage() {}

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

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

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

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

type ListPointOfPresencesResponse struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// List of PointOfPresence resources.
	PointOfPresences []*PointOfPresence `protobuf:"bytes,1,rep,name=point_of_presences,json=pointOfPresences,proto3" json:"point_of_presences,omitempty"`
	// This token allows you to get the next page of results for list requests. If the number of results
	// is larger than [ListPointOfPresencesRequest.page_size], use
	// the [next_page_token] as the value
	// for the [ListPointOfPresencesRequest.page_token] query parameter
	// in the next list request. Subsequent list requests will have their own
	// [next_page_token] to continue paging through the results.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ListPointOfPresencesResponse) ProtoMessage() {}

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

func (x *ListPointOfPresencesResponse) GetPointOfPresences() []*PointOfPresence {
	if x != nil {
		return x.PointOfPresences
	}
	return nil
}

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

var File_yandex_cloud_cic_v1_point_of_presence_service_proto protoreflect.FileDescriptor

const file_yandex_cloud_cic_v1_point_of_presence_service_proto_rawDesc = "" +
	"\n" +
	"3yandex/cloud/cic/v1/point_of_presence_service.proto\x12\x13yandex.cloud.cic.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x1dyandex/cloud/validation.proto\x1a+yandex/cloud/cic/v1/point_of_presence.proto\"Z\n" +
	"\x19GetPointOfPresenceRequest\x12=\n" +
	"\x14point_of_presence_id\x18\x01 \x01(\tB\f\xe8\xc71\x01\x8a\xc81\x04<=50R\x11pointOfPresenceId\"\x9a\x01\n" +
	"\x1bListPointOfPresencesRequest\x12'\n" +
	"\tpage_size\x18\x02 \x01(\x03B\n" +
	"\xfa\xc71\x06<=1000R\bpageSize\x12(\n" +
	"\n" +
	"page_token\x18\x03 \x01(\tB\t\x8a\xc81\x05<=100R\tpageToken\x12\"\n" +
	"\x06filter\x18\x04 \x01(\tB\n" +
	"\x8a\xc81\x06<=1000R\x06filterJ\x04\b\x01\x10\x02\"\x9a\x01\n" +
	"\x1cListPointOfPresencesResponse\x12R\n" +
	"\x12point_of_presences\x18\x01 \x03(\v2$.yandex.cloud.cic.v1.PointOfPresenceR\x10pointOfPresences\x12&\n" +
	"\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken2\xbf\x02\n" +
	"\x16PointOfPresenceService\x12\x94\x01\n" +
	"\x03Get\x12..yandex.cloud.cic.v1.GetPointOfPresenceRequest\x1a$.yandex.cloud.cic.v1.PointOfPresence\"7\x82\xd3\xe4\x93\x021\x12//cic/v1/pointOfPresences/{point_of_presence_id}\x12\x8d\x01\n" +
	"\x04List\x120.yandex.cloud.cic.v1.ListPointOfPresencesRequest\x1a1.yandex.cloud.cic.v1.ListPointOfPresencesResponse\" \x82\xd3\xe4\x93\x02\x1a\x12\x18/cic/v1/pointOfPresencesBV\n" +
	"\x17yandex.cloud.api.cic.v1Z;github.com/yandex-cloud/go-genproto/yandex/cloud/cic/v1;cicb\x06proto3"

var (
	file_yandex_cloud_cic_v1_point_of_presence_service_proto_rawDescOnce sync.Once
	file_yandex_cloud_cic_v1_point_of_presence_service_proto_rawDescData []byte
)

func file_yandex_cloud_cic_v1_point_of_presence_service_proto_rawDescGZIP() []byte {
	file_yandex_cloud_cic_v1_point_of_presence_service_proto_rawDescOnce.Do(func() {
		file_yandex_cloud_cic_v1_point_of_presence_service_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_yandex_cloud_cic_v1_point_of_presence_service_proto_rawDesc), len(file_yandex_cloud_cic_v1_point_of_presence_service_proto_rawDesc)))
	})
	return file_yandex_cloud_cic_v1_point_of_presence_service_proto_rawDescData
}

var file_yandex_cloud_cic_v1_point_of_presence_service_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
var file_yandex_cloud_cic_v1_point_of_presence_service_proto_goTypes = []any{
	(*GetPointOfPresenceRequest)(nil),    // 0: yandex.cloud.cic.v1.GetPointOfPresenceRequest
	(*ListPointOfPresencesRequest)(nil),  // 1: yandex.cloud.cic.v1.ListPointOfPresencesRequest
	(*ListPointOfPresencesResponse)(nil), // 2: yandex.cloud.cic.v1.ListPointOfPresencesResponse
	(*PointOfPresence)(nil),              // 3: yandex.cloud.cic.v1.PointOfPresence
}
var file_yandex_cloud_cic_v1_point_of_presence_service_proto_depIdxs = []int32{
	3, // 0: yandex.cloud.cic.v1.ListPointOfPresencesResponse.point_of_presences:type_name -> yandex.cloud.cic.v1.PointOfPresence
	0, // 1: yandex.cloud.cic.v1.PointOfPresenceService.Get:input_type -> yandex.cloud.cic.v1.GetPointOfPresenceRequest
	1, // 2: yandex.cloud.cic.v1.PointOfPresenceService.List:input_type -> yandex.cloud.cic.v1.ListPointOfPresencesRequest
	3, // 3: yandex.cloud.cic.v1.PointOfPresenceService.Get:output_type -> yandex.cloud.cic.v1.PointOfPresence
	2, // 4: yandex.cloud.cic.v1.PointOfPresenceService.List:output_type -> yandex.cloud.cic.v1.ListPointOfPresencesResponse
	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_cic_v1_point_of_presence_service_proto_init() }
func file_yandex_cloud_cic_v1_point_of_presence_service_proto_init() {
	if File_yandex_cloud_cic_v1_point_of_presence_service_proto != nil {
		return
	}
	file_yandex_cloud_cic_v1_point_of_presence_proto_init()
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_yandex_cloud_cic_v1_point_of_presence_service_proto_rawDesc), len(file_yandex_cloud_cic_v1_point_of_presence_service_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   3,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_yandex_cloud_cic_v1_point_of_presence_service_proto_goTypes,
		DependencyIndexes: file_yandex_cloud_cic_v1_point_of_presence_service_proto_depIdxs,
		MessageInfos:      file_yandex_cloud_cic_v1_point_of_presence_service_proto_msgTypes,
	}.Build()
	File_yandex_cloud_cic_v1_point_of_presence_service_proto = out.File
	file_yandex_cloud_cic_v1_point_of_presence_service_proto_goTypes = nil
	file_yandex_cloud_cic_v1_point_of_presence_service_proto_depIdxs = nil
}
