// 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/partner_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 GetPartnerRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the Partner resource to return.
	// To get the partner ID use a [PartnerService.List] request.
	PartnerId     string `protobuf:"bytes,1,opt,name=partner_id,json=partnerId,proto3" json:"partner_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*GetPartnerRequest) ProtoMessage() {}

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

func (x *GetPartnerRequest) GetPartnerId() string {
	if x != nil {
		return x.PartnerId
	}
	return ""
}

type ListPartnersRequest 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 [ListPartnersResponse.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
	// [ListPartnersResponse.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 *ListPartnersRequest) Reset() {
	*x = ListPartnersRequest{}
	mi := &file_yandex_cloud_cic_v1_partner_service_proto_msgTypes[1]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*ListPartnersRequest) ProtoMessage() {}

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

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

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

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

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

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

func (*ListPartnersResponse) ProtoMessage() {}

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

func (x *ListPartnersResponse) GetPartners() []*Partner {
	if x != nil {
		return x.Partners
	}
	return nil
}

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

var File_yandex_cloud_cic_v1_partner_service_proto protoreflect.FileDescriptor

const file_yandex_cloud_cic_v1_partner_service_proto_rawDesc = "" +
	"\n" +
	")yandex/cloud/cic/v1/partner_service.proto\x12\x13yandex.cloud.cic.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x1dyandex/cloud/validation.proto\x1a!yandex/cloud/cic/v1/partner.proto\"@\n" +
	"\x11GetPartnerRequest\x12+\n" +
	"\n" +
	"partner_id\x18\x01 \x01(\tB\f\xe8\xc71\x01\x8a\xc81\x04<=50R\tpartnerId\"\x92\x01\n" +
	"\x13ListPartnersRequest\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\"x\n" +
	"\x14ListPartnersResponse\x128\n" +
	"\bpartners\x18\x01 \x03(\v2\x1c.yandex.cloud.cic.v1.PartnerR\bpartners\x12&\n" +
	"\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken2\xfb\x01\n" +
	"\x0ePartnerService\x12r\n" +
	"\x03Get\x12&.yandex.cloud.cic.v1.GetPartnerRequest\x1a\x1c.yandex.cloud.cic.v1.Partner\"%\x82\xd3\xe4\x93\x02\x1f\x12\x1d/cic/v1/partners/{partner_id}\x12u\n" +
	"\x04List\x12(.yandex.cloud.cic.v1.ListPartnersRequest\x1a).yandex.cloud.cic.v1.ListPartnersResponse\"\x18\x82\xd3\xe4\x93\x02\x12\x12\x10/cic/v1/partnersBV\n" +
	"\x17yandex.cloud.api.cic.v1Z;github.com/yandex-cloud/go-genproto/yandex/cloud/cic/v1;cicb\x06proto3"

var (
	file_yandex_cloud_cic_v1_partner_service_proto_rawDescOnce sync.Once
	file_yandex_cloud_cic_v1_partner_service_proto_rawDescData []byte
)

func file_yandex_cloud_cic_v1_partner_service_proto_rawDescGZIP() []byte {
	file_yandex_cloud_cic_v1_partner_service_proto_rawDescOnce.Do(func() {
		file_yandex_cloud_cic_v1_partner_service_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_yandex_cloud_cic_v1_partner_service_proto_rawDesc), len(file_yandex_cloud_cic_v1_partner_service_proto_rawDesc)))
	})
	return file_yandex_cloud_cic_v1_partner_service_proto_rawDescData
}

var file_yandex_cloud_cic_v1_partner_service_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
var file_yandex_cloud_cic_v1_partner_service_proto_goTypes = []any{
	(*GetPartnerRequest)(nil),    // 0: yandex.cloud.cic.v1.GetPartnerRequest
	(*ListPartnersRequest)(nil),  // 1: yandex.cloud.cic.v1.ListPartnersRequest
	(*ListPartnersResponse)(nil), // 2: yandex.cloud.cic.v1.ListPartnersResponse
	(*Partner)(nil),              // 3: yandex.cloud.cic.v1.Partner
}
var file_yandex_cloud_cic_v1_partner_service_proto_depIdxs = []int32{
	3, // 0: yandex.cloud.cic.v1.ListPartnersResponse.partners:type_name -> yandex.cloud.cic.v1.Partner
	0, // 1: yandex.cloud.cic.v1.PartnerService.Get:input_type -> yandex.cloud.cic.v1.GetPartnerRequest
	1, // 2: yandex.cloud.cic.v1.PartnerService.List:input_type -> yandex.cloud.cic.v1.ListPartnersRequest
	3, // 3: yandex.cloud.cic.v1.PartnerService.Get:output_type -> yandex.cloud.cic.v1.Partner
	2, // 4: yandex.cloud.cic.v1.PartnerService.List:output_type -> yandex.cloud.cic.v1.ListPartnersResponse
	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_partner_service_proto_init() }
func file_yandex_cloud_cic_v1_partner_service_proto_init() {
	if File_yandex_cloud_cic_v1_partner_service_proto != nil {
		return
	}
	file_yandex_cloud_cic_v1_partner_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_partner_service_proto_rawDesc), len(file_yandex_cloud_cic_v1_partner_service_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   3,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_yandex_cloud_cic_v1_partner_service_proto_goTypes,
		DependencyIndexes: file_yandex_cloud_cic_v1_partner_service_proto_depIdxs,
		MessageInfos:      file_yandex_cloud_cic_v1_partner_service_proto_msgTypes,
	}.Build()
	File_yandex_cloud_cic_v1_partner_service_proto = out.File
	file_yandex_cloud_cic_v1_partner_service_proto_goTypes = nil
	file_yandex_cloud_cic_v1_partner_service_proto_depIdxs = nil
}
