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

package cic

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"
	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 GetPublicConnectionRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the PublicConnection resource to return.
	// To get the publicConnection ID use a [PublicConnectionService.List] request.
	PublicConnectionId string `protobuf:"bytes,1,opt,name=public_connection_id,json=publicConnectionId,proto3" json:"public_connection_id,omitempty"`
	unknownFields      protoimpl.UnknownFields
	sizeCache          protoimpl.SizeCache
}

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

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

func (*GetPublicConnectionRequest) ProtoMessage() {}

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

func (x *GetPublicConnectionRequest) GetPublicConnectionId() string {
	if x != nil {
		return x.PublicConnectionId
	}
	return ""
}

type ListPublicConnectionsRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the folder to list publicConnections 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 larger than [page_size],
	// the service returns a [ListPublicConnectionsResponse.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
	// [ListPublicConnectionsResponse.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 *ListPublicConnectionsRequest) Reset() {
	*x = ListPublicConnectionsRequest{}
	mi := &file_yandex_cloud_cic_v1_public_connection_service_proto_msgTypes[1]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*ListPublicConnectionsRequest) ProtoMessage() {}

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

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

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

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

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

type ListPublicConnectionsResponse struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// List of PublicConnection resources.
	PublicConnections []*PublicConnection `protobuf:"bytes,1,rep,name=public_connections,json=publicConnections,proto3" json:"public_connections,omitempty"`
	// This token allows you to get the next page of results for list requests. If the number of results
	// is larger than [ListPublicConnectionsRequest.page_size], use
	// the [next_page_token] as the value
	// for the [ListPublicConnectionsRequest.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 *ListPublicConnectionsResponse) Reset() {
	*x = ListPublicConnectionsResponse{}
	mi := &file_yandex_cloud_cic_v1_public_connection_service_proto_msgTypes[2]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*ListPublicConnectionsResponse) ProtoMessage() {}

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

func (x *ListPublicConnectionsResponse) GetPublicConnections() []*PublicConnection {
	if x != nil {
		return x.PublicConnections
	}
	return nil
}

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

type MovePublicConnectionRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the PublicConnection resource to move.
	// To get the publicConnection ID use a [PublicConnectionService.List] request.
	PublicConnectionId string `protobuf:"bytes,1,opt,name=public_connection_id,json=publicConnectionId,proto3" json:"public_connection_id,omitempty"`
	// ID of the folder to which publicConnections will be moved.
	// To get the folder ID use a [yandex.cloud.resourcemanager.v1.FolderService.List] request.
	DestinationFolderId string `protobuf:"bytes,2,opt,name=destination_folder_id,json=destinationFolderId,proto3" json:"destination_folder_id,omitempty"`
	unknownFields       protoimpl.UnknownFields
	sizeCache           protoimpl.SizeCache
}

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

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

func (*MovePublicConnectionRequest) ProtoMessage() {}

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

func (x *MovePublicConnectionRequest) GetPublicConnectionId() string {
	if x != nil {
		return x.PublicConnectionId
	}
	return ""
}

func (x *MovePublicConnectionRequest) GetDestinationFolderId() string {
	if x != nil {
		return x.DestinationFolderId
	}
	return ""
}

type MovePublicConnectionMetadata struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the publicConnection that is being moved.
	PublicConnectionId string `protobuf:"bytes,1,opt,name=public_connection_id,json=publicConnectionId,proto3" json:"public_connection_id,omitempty"`
	unknownFields      protoimpl.UnknownFields
	sizeCache          protoimpl.SizeCache
}

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

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

func (*MovePublicConnectionMetadata) ProtoMessage() {}

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

func (x *MovePublicConnectionMetadata) GetPublicConnectionId() string {
	if x != nil {
		return x.PublicConnectionId
	}
	return ""
}

var File_yandex_cloud_cic_v1_public_connection_service_proto protoreflect.FileDescriptor

const file_yandex_cloud_cic_v1_public_connection_service_proto_rawDesc = "" +
	"\n" +
	"3yandex/cloud/cic/v1/public_connection_service.proto\x12\x13yandex.cloud.cic.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x1dyandex/cloud/validation.proto\x1a yandex/cloud/api/operation.proto\x1a&yandex/cloud/operation/operation.proto\x1a+yandex/cloud/cic/v1/public_connection.proto\"\\\n" +
	"\x1aGetPublicConnectionRequest\x12>\n" +
	"\x14public_connection_id\x18\x01 \x01(\tB\f\xe8\xc71\x01\x8a\xc81\x04<=50R\x12publicConnectionId\"\xc0\x01\n" +
	"\x1cListPublicConnectionsRequest\x12)\n" +
	"\tfolder_id\x18\x01 \x01(\tB\f\xe8\xc71\x01\x8a\xc81\x04<=50R\bfolderId\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\x06filter\"\x9d\x01\n" +
	"\x1dListPublicConnectionsResponse\x12T\n" +
	"\x12public_connections\x18\x01 \x03(\v2%.yandex.cloud.cic.v1.PublicConnectionR\x11publicConnections\x12&\n" +
	"\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\"\x9f\x01\n" +
	"\x1bMovePublicConnectionRequest\x12>\n" +
	"\x14public_connection_id\x18\x01 \x01(\tB\f\xe8\xc71\x01\x8a\xc81\x04<=50R\x12publicConnectionId\x12@\n" +
	"\x15destination_folder_id\x18\x02 \x01(\tB\f\xe8\xc71\x01\x8a\xc81\x04<=50R\x13destinationFolderId\"P\n" +
	"\x1cMovePublicConnectionMetadata\x120\n" +
	"\x14public_connection_id\x18\x01 \x01(\tR\x12publicConnectionId2\x9a\x04\n" +
	"\x17PublicConnectionService\x12\x97\x01\n" +
	"\x03Get\x12/.yandex.cloud.cic.v1.GetPublicConnectionRequest\x1a%.yandex.cloud.cic.v1.PublicConnection\"8\x82\xd3\xe4\x93\x022\x120/cic/v1/publicConnections/{public_connection_id}\x12\x90\x01\n" +
	"\x04List\x121.yandex.cloud.cic.v1.ListPublicConnectionsRequest\x1a2.yandex.cloud.cic.v1.ListPublicConnectionsResponse\"!\x82\xd3\xe4\x93\x02\x1b\x12\x19/cic/v1/publicConnections\x12\xd1\x01\n" +
	"\x04Move\x120.yandex.cloud.cic.v1.MovePublicConnectionRequest\x1a!.yandex.cloud.operation.Operation\"t\xb2\xd2*0\n" +
	"\x1cMovePublicConnectionMetadata\x12\x10PublicConnection\x82\xd3\xe4\x93\x02::\x01*\"5/cic/v1/publicConnections/{public_connection_id}:moveBV\n" +
	"\x17yandex.cloud.api.cic.v1Z;github.com/yandex-cloud/go-genproto/yandex/cloud/cic/v1;cicb\x06proto3"

var (
	file_yandex_cloud_cic_v1_public_connection_service_proto_rawDescOnce sync.Once
	file_yandex_cloud_cic_v1_public_connection_service_proto_rawDescData []byte
)

func file_yandex_cloud_cic_v1_public_connection_service_proto_rawDescGZIP() []byte {
	file_yandex_cloud_cic_v1_public_connection_service_proto_rawDescOnce.Do(func() {
		file_yandex_cloud_cic_v1_public_connection_service_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_yandex_cloud_cic_v1_public_connection_service_proto_rawDesc), len(file_yandex_cloud_cic_v1_public_connection_service_proto_rawDesc)))
	})
	return file_yandex_cloud_cic_v1_public_connection_service_proto_rawDescData
}

var file_yandex_cloud_cic_v1_public_connection_service_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
var file_yandex_cloud_cic_v1_public_connection_service_proto_goTypes = []any{
	(*GetPublicConnectionRequest)(nil),    // 0: yandex.cloud.cic.v1.GetPublicConnectionRequest
	(*ListPublicConnectionsRequest)(nil),  // 1: yandex.cloud.cic.v1.ListPublicConnectionsRequest
	(*ListPublicConnectionsResponse)(nil), // 2: yandex.cloud.cic.v1.ListPublicConnectionsResponse
	(*MovePublicConnectionRequest)(nil),   // 3: yandex.cloud.cic.v1.MovePublicConnectionRequest
	(*MovePublicConnectionMetadata)(nil),  // 4: yandex.cloud.cic.v1.MovePublicConnectionMetadata
	(*PublicConnection)(nil),              // 5: yandex.cloud.cic.v1.PublicConnection
	(*operation.Operation)(nil),           // 6: yandex.cloud.operation.Operation
}
var file_yandex_cloud_cic_v1_public_connection_service_proto_depIdxs = []int32{
	5, // 0: yandex.cloud.cic.v1.ListPublicConnectionsResponse.public_connections:type_name -> yandex.cloud.cic.v1.PublicConnection
	0, // 1: yandex.cloud.cic.v1.PublicConnectionService.Get:input_type -> yandex.cloud.cic.v1.GetPublicConnectionRequest
	1, // 2: yandex.cloud.cic.v1.PublicConnectionService.List:input_type -> yandex.cloud.cic.v1.ListPublicConnectionsRequest
	3, // 3: yandex.cloud.cic.v1.PublicConnectionService.Move:input_type -> yandex.cloud.cic.v1.MovePublicConnectionRequest
	5, // 4: yandex.cloud.cic.v1.PublicConnectionService.Get:output_type -> yandex.cloud.cic.v1.PublicConnection
	2, // 5: yandex.cloud.cic.v1.PublicConnectionService.List:output_type -> yandex.cloud.cic.v1.ListPublicConnectionsResponse
	6, // 6: yandex.cloud.cic.v1.PublicConnectionService.Move:output_type -> yandex.cloud.operation.Operation
	4, // [4:7] is the sub-list for method output_type
	1, // [1:4] 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_public_connection_service_proto_init() }
func file_yandex_cloud_cic_v1_public_connection_service_proto_init() {
	if File_yandex_cloud_cic_v1_public_connection_service_proto != nil {
		return
	}
	file_yandex_cloud_cic_v1_public_connection_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_public_connection_service_proto_rawDesc), len(file_yandex_cloud_cic_v1_public_connection_service_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   5,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_yandex_cloud_cic_v1_public_connection_service_proto_goTypes,
		DependencyIndexes: file_yandex_cloud_cic_v1_public_connection_service_proto_depIdxs,
		MessageInfos:      file_yandex_cloud_cic_v1_public_connection_service_proto_msgTypes,
	}.Build()
	File_yandex_cloud_cic_v1_public_connection_service_proto = out.File
	file_yandex_cloud_cic_v1_public_connection_service_proto_goTypes = nil
	file_yandex_cloud_cic_v1_public_connection_service_proto_depIdxs = nil
}
