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

package cdn

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 ActivateProviderRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the folder that the activate provider belongs to.
	FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// Specify provider brand/type.
	//
	// Possible values: `gcore`.
	ProviderType  string `protobuf:"bytes,2,opt,name=provider_type,json=providerType,proto3" json:"provider_type,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ActivateProviderRequest) ProtoMessage() {}

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

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

func (x *ActivateProviderRequest) GetProviderType() string {
	if x != nil {
		return x.ProviderType
	}
	return ""
}

type ActivateProviderMetadata struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the folder that the activate provider belongs to.
	FolderId      string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ActivateProviderMetadata) ProtoMessage() {}

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

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

type ListActivatedProvidersRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the folder that the activate provider belongs to.
	FolderId      string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ListActivatedProvidersRequest) ProtoMessage() {}

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

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

type ListActivatedProvidersResponse struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Creates a list of providers.
	Providers     []string `protobuf:"bytes,1,rep,name=providers,proto3" json:"providers,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ListActivatedProvidersResponse) ProtoMessage() {}

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

func (x *ListActivatedProvidersResponse) GetProviders() []string {
	if x != nil {
		return x.Providers
	}
	return nil
}

var File_yandex_cloud_cdn_v1_provider_service_proto protoreflect.FileDescriptor

const file_yandex_cloud_cdn_v1_provider_service_proto_rawDesc = "" +
	"\n" +
	"*yandex/cloud/cdn/v1/provider_service.proto\x12\x13yandex.cloud.cdn.v1\x1a\x1cgoogle/api/annotations.proto\x1a yandex/cloud/api/operation.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\"w\n" +
	"\x17ActivateProviderRequest\x12)\n" +
	"\tfolder_id\x18\x01 \x01(\tB\f\xe8\xc71\x01\x8a\xc81\x04<=50R\bfolderId\x121\n" +
	"\rprovider_type\x18\x02 \x01(\tB\f\xe8\xc71\x01\x8a\xc81\x04<=50R\fproviderType\"E\n" +
	"\x18ActivateProviderMetadata\x12)\n" +
	"\tfolder_id\x18\x01 \x01(\tB\f\xe8\xc71\x01\x8a\xc81\x04<=50R\bfolderId\"J\n" +
	"\x1dListActivatedProvidersRequest\x12)\n" +
	"\tfolder_id\x18\x01 \x01(\tB\f\xe8\xc71\x01\x8a\xc81\x04<=50R\bfolderId\">\n" +
	"\x1eListActivatedProvidersResponse\x12\x1c\n" +
	"\tproviders\x18\x01 \x03(\tR\tproviders2\xe1\x02\n" +
	"\x0fProviderService\x12\xb7\x01\n" +
	"\bActivate\x12,.yandex.cloud.cdn.v1.ActivateProviderRequest\x1a!.yandex.cloud.operation.Operation\"Z\xb2\xd2*1\n" +
	"\x18ActivateProviderMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02\x1f:\x01*\"\x1a/cdn/v1/providers:activate\x12\x93\x01\n" +
	"\rListActivated\x122.yandex.cloud.cdn.v1.ListActivatedProvidersRequest\x1a3.yandex.cloud.cdn.v1.ListActivatedProvidersResponse\"\x19\x82\xd3\xe4\x93\x02\x13\x12\x11/cdn/v1/providersBV\n" +
	"\x17yandex.cloud.api.cdn.v1Z;github.com/yandex-cloud/go-genproto/yandex/cloud/cdn/v1;cdnb\x06proto3"

var (
	file_yandex_cloud_cdn_v1_provider_service_proto_rawDescOnce sync.Once
	file_yandex_cloud_cdn_v1_provider_service_proto_rawDescData []byte
)

func file_yandex_cloud_cdn_v1_provider_service_proto_rawDescGZIP() []byte {
	file_yandex_cloud_cdn_v1_provider_service_proto_rawDescOnce.Do(func() {
		file_yandex_cloud_cdn_v1_provider_service_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_yandex_cloud_cdn_v1_provider_service_proto_rawDesc), len(file_yandex_cloud_cdn_v1_provider_service_proto_rawDesc)))
	})
	return file_yandex_cloud_cdn_v1_provider_service_proto_rawDescData
}

var file_yandex_cloud_cdn_v1_provider_service_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
var file_yandex_cloud_cdn_v1_provider_service_proto_goTypes = []any{
	(*ActivateProviderRequest)(nil),        // 0: yandex.cloud.cdn.v1.ActivateProviderRequest
	(*ActivateProviderMetadata)(nil),       // 1: yandex.cloud.cdn.v1.ActivateProviderMetadata
	(*ListActivatedProvidersRequest)(nil),  // 2: yandex.cloud.cdn.v1.ListActivatedProvidersRequest
	(*ListActivatedProvidersResponse)(nil), // 3: yandex.cloud.cdn.v1.ListActivatedProvidersResponse
	(*operation.Operation)(nil),            // 4: yandex.cloud.operation.Operation
}
var file_yandex_cloud_cdn_v1_provider_service_proto_depIdxs = []int32{
	0, // 0: yandex.cloud.cdn.v1.ProviderService.Activate:input_type -> yandex.cloud.cdn.v1.ActivateProviderRequest
	2, // 1: yandex.cloud.cdn.v1.ProviderService.ListActivated:input_type -> yandex.cloud.cdn.v1.ListActivatedProvidersRequest
	4, // 2: yandex.cloud.cdn.v1.ProviderService.Activate:output_type -> yandex.cloud.operation.Operation
	3, // 3: yandex.cloud.cdn.v1.ProviderService.ListActivated:output_type -> yandex.cloud.cdn.v1.ListActivatedProvidersResponse
	2, // [2:4] is the sub-list for method output_type
	0, // [0:2] is the sub-list for method input_type
	0, // [0:0] is the sub-list for extension type_name
	0, // [0:0] is the sub-list for extension extendee
	0, // [0:0] is the sub-list for field type_name
}

func init() { file_yandex_cloud_cdn_v1_provider_service_proto_init() }
func file_yandex_cloud_cdn_v1_provider_service_proto_init() {
	if File_yandex_cloud_cdn_v1_provider_service_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_yandex_cloud_cdn_v1_provider_service_proto_rawDesc), len(file_yandex_cloud_cdn_v1_provider_service_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   4,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_yandex_cloud_cdn_v1_provider_service_proto_goTypes,
		DependencyIndexes: file_yandex_cloud_cdn_v1_provider_service_proto_depIdxs,
		MessageInfos:      file_yandex_cloud_cdn_v1_provider_service_proto_msgTypes,
	}.Build()
	File_yandex_cloud_cdn_v1_provider_service_proto = out.File
	file_yandex_cloud_cdn_v1_provider_service_proto_goTypes = nil
	file_yandex_cloud_cdn_v1_provider_service_proto_depIdxs = nil
}
