// 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/origin_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"
	wrapperspb "google.golang.org/protobuf/types/known/wrapperspb"
	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 GetOriginRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the folder that the origin belongs to.
	FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// [origin_id] group ID to request origin from.
	OriginId      int64 `protobuf:"varint,2,opt,name=origin_id,json=originId,proto3" json:"origin_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*GetOriginRequest) ProtoMessage() {}

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

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

func (x *GetOriginRequest) GetOriginId() int64 {
	if x != nil {
		return x.OriginId
	}
	return 0
}

type ListOriginsRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the folder that the origin belongs to.
	FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// ID of the group to request origins from.
	OriginGroupId int64 `protobuf:"varint,2,opt,name=origin_group_id,json=originGroupId,proto3" json:"origin_group_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ListOriginsRequest) ProtoMessage() {}

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

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

func (x *ListOriginsRequest) GetOriginGroupId() int64 {
	if x != nil {
		return x.OriginGroupId
	}
	return 0
}

type ListOriginsResponse struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Origin from response.
	Origins       []*Origin `protobuf:"bytes,1,rep,name=origins,proto3" json:"origins,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ListOriginsResponse) ProtoMessage() {}

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

func (x *ListOriginsResponse) GetOrigins() []*Origin {
	if x != nil {
		return x.Origins
	}
	return nil
}

type CreateOriginRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the folder that the origin belongs to.
	FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// [origin_group_id] group ID to request origins from.
	OriginGroupId int64 `protobuf:"varint,2,opt,name=origin_group_id,json=originGroupId,proto3" json:"origin_group_id,omitempty"`
	// IP address or Domain name of your origin and the port (if custom).
	// Used if [meta] variant is `common`.
	Source string `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"`
	// The setting allows to enable or disable an Origin source in the Origins group.
	//
	// It has two possible values:
	//
	// True - The origin is enabled and used as a source for the CDN. An origins
	// group must contain at least one enabled origin. Default value.
	// False - The origin is disabled and the CDN is not using it to pull content.
	Enabled *wrapperspb.BoolValue `protobuf:"bytes,4,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// Specifies whether the origin is used in its origin group as backup.
	// A backup origin is used when one of active origins becomes unavailable.
	//
	// Default value: False.
	Backup *wrapperspb.BoolValue `protobuf:"bytes,5,opt,name=backup,proto3" json:"backup,omitempty"`
	// Set up origin of the content.
	Meta *OriginMeta `protobuf:"bytes,6,opt,name=meta,proto3" json:"meta,omitempty"`
	// Set up origin provider
	//
	// It has two possible values:
	//
	// ourcdn - Based on Yandex technologies
	// gcore - Based on an external partner infrastructure
	//
	// Default value: ourcdn
	ProviderType  string `protobuf:"bytes,7,opt,name=provider_type,json=providerType,proto3" json:"provider_type,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*CreateOriginRequest) ProtoMessage() {}

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

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

func (x *CreateOriginRequest) GetOriginGroupId() int64 {
	if x != nil {
		return x.OriginGroupId
	}
	return 0
}

func (x *CreateOriginRequest) GetSource() string {
	if x != nil {
		return x.Source
	}
	return ""
}

func (x *CreateOriginRequest) GetEnabled() *wrapperspb.BoolValue {
	if x != nil {
		return x.Enabled
	}
	return nil
}

func (x *CreateOriginRequest) GetBackup() *wrapperspb.BoolValue {
	if x != nil {
		return x.Backup
	}
	return nil
}

func (x *CreateOriginRequest) GetMeta() *OriginMeta {
	if x != nil {
		return x.Meta
	}
	return nil
}

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

type CreateOriginMetadata struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the origin.
	OriginId int64 `protobuf:"varint,1,opt,name=origin_id,json=originId,proto3" json:"origin_id,omitempty"`
	// ID pf the parent origins group.
	OriginGroupId int64 `protobuf:"varint,2,opt,name=origin_group_id,json=originGroupId,proto3" json:"origin_group_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*CreateOriginMetadata) ProtoMessage() {}

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

func (x *CreateOriginMetadata) GetOriginId() int64 {
	if x != nil {
		return x.OriginId
	}
	return 0
}

func (x *CreateOriginMetadata) GetOriginGroupId() int64 {
	if x != nil {
		return x.OriginGroupId
	}
	return 0
}

type UpdateOriginRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the folder that the origin belongs to.
	FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// ID of the origin.
	OriginId int64 `protobuf:"varint,2,opt,name=origin_id,json=originId,proto3" json:"origin_id,omitempty"`
	// IP address or Domain name of your origin and the port (if custom).
	// Used if [meta] variant is `common`.
	// Required.
	Source string `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"`
	// The setting allows to enable or disable an Origin source in the Origins group.
	//
	// It has two possible values:
	//
	// True - The origin is enabled and used as a source for the CDN. An origins
	// group must contain at least one enabled origin. Default value.
	// False - The origin is disabled and the CDN is not using it to pull content.
	//
	// Required.
	Enabled bool `protobuf:"varint,4,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// Specifies whether the origin is used in its origin group as backup.
	// A backup origin is used when one of active origins becomes unavailable.
	//
	// Required.
	Backup bool `protobuf:"varint,5,opt,name=backup,proto3" json:"backup,omitempty"`
	// Set up type of the origin.
	Meta          *OriginMeta `protobuf:"bytes,6,opt,name=meta,proto3" json:"meta,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*UpdateOriginRequest) ProtoMessage() {}

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

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

func (x *UpdateOriginRequest) GetOriginId() int64 {
	if x != nil {
		return x.OriginId
	}
	return 0
}

func (x *UpdateOriginRequest) GetSource() string {
	if x != nil {
		return x.Source
	}
	return ""
}

func (x *UpdateOriginRequest) GetEnabled() bool {
	if x != nil {
		return x.Enabled
	}
	return false
}

func (x *UpdateOriginRequest) GetBackup() bool {
	if x != nil {
		return x.Backup
	}
	return false
}

func (x *UpdateOriginRequest) GetMeta() *OriginMeta {
	if x != nil {
		return x.Meta
	}
	return nil
}

type UpdateOriginMetadata struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the origin.
	OriginId int64 `protobuf:"varint,1,opt,name=origin_id,json=originId,proto3" json:"origin_id,omitempty"`
	// Parent origins group ID.
	OriginGroupId int64 `protobuf:"varint,2,opt,name=origin_group_id,json=originGroupId,proto3" json:"origin_group_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*UpdateOriginMetadata) ProtoMessage() {}

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

func (x *UpdateOriginMetadata) GetOriginId() int64 {
	if x != nil {
		return x.OriginId
	}
	return 0
}

func (x *UpdateOriginMetadata) GetOriginGroupId() int64 {
	if x != nil {
		return x.OriginGroupId
	}
	return 0
}

type DeleteOriginRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the folder that the origin belongs to.
	FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// ID of the origin.
	OriginId      int64 `protobuf:"varint,2,opt,name=origin_id,json=originId,proto3" json:"origin_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*DeleteOriginRequest) ProtoMessage() {}

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

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

func (x *DeleteOriginRequest) GetOriginId() int64 {
	if x != nil {
		return x.OriginId
	}
	return 0
}

type DeleteOriginMetadata struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the origin.
	OriginId      int64 `protobuf:"varint,1,opt,name=origin_id,json=originId,proto3" json:"origin_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*DeleteOriginMetadata) ProtoMessage() {}

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

func (x *DeleteOriginMetadata) GetOriginId() int64 {
	if x != nil {
		return x.OriginId
	}
	return 0
}

var File_yandex_cloud_cdn_v1_origin_service_proto protoreflect.FileDescriptor

const file_yandex_cloud_cdn_v1_origin_service_proto_rawDesc = "" +
	"\n" +
	"(yandex/cloud/cdn/v1/origin_service.proto\x12\x13yandex.cloud.cdn.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a yandex/cloud/api/operation.proto\x1a yandex/cloud/cdn/v1/origin.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\"b\n" +
	"\x10GetOriginRequest\x12)\n" +
	"\tfolder_id\x18\x01 \x01(\tB\f\xe8\xc71\x01\x8a\xc81\x04<=50R\bfolderId\x12#\n" +
	"\torigin_id\x18\x02 \x01(\x03B\x06\xfa\xc71\x02>0R\boriginId\"o\n" +
	"\x12ListOriginsRequest\x12)\n" +
	"\tfolder_id\x18\x01 \x01(\tB\f\xe8\xc71\x01\x8a\xc81\x04<=50R\bfolderId\x12.\n" +
	"\x0forigin_group_id\x18\x02 \x01(\x03B\x06\xfa\xc71\x02>0R\roriginGroupId\"L\n" +
	"\x13ListOriginsResponse\x125\n" +
	"\aorigins\x18\x01 \x03(\v2\x1b.yandex.cloud.cdn.v1.OriginR\aorigins\"\xda\x02\n" +
	"\x13CreateOriginRequest\x12)\n" +
	"\tfolder_id\x18\x01 \x01(\tB\f\xe8\xc71\x01\x8a\xc81\x04<=50R\bfolderId\x12.\n" +
	"\x0forigin_group_id\x18\x02 \x01(\x03B\x06\xfa\xc71\x02>0R\roriginGroupId\x12$\n" +
	"\x06source\x18\x03 \x01(\tB\f\xe8\xc71\x01\x8a\xc81\x04<=50R\x06source\x124\n" +
	"\aenabled\x18\x04 \x01(\v2\x1a.google.protobuf.BoolValueR\aenabled\x122\n" +
	"\x06backup\x18\x05 \x01(\v2\x1a.google.protobuf.BoolValueR\x06backup\x123\n" +
	"\x04meta\x18\x06 \x01(\v2\x1f.yandex.cloud.cdn.v1.OriginMetaR\x04meta\x12#\n" +
	"\rprovider_type\x18\a \x01(\tR\fproviderType\"k\n" +
	"\x14CreateOriginMetadata\x12#\n" +
	"\torigin_id\x18\x01 \x01(\x03B\x06\xfa\xc71\x02>0R\boriginId\x12.\n" +
	"\x0forigin_group_id\x18\x02 \x01(\x03B\x06\xfa\xc71\x02>0R\roriginGroupId\"\xe4\x01\n" +
	"\x13UpdateOriginRequest\x12)\n" +
	"\tfolder_id\x18\x01 \x01(\tB\f\xe8\xc71\x01\x8a\xc81\x04<=50R\bfolderId\x12#\n" +
	"\torigin_id\x18\x02 \x01(\x03B\x06\xfa\xc71\x02>0R\boriginId\x12\x16\n" +
	"\x06source\x18\x03 \x01(\tR\x06source\x12\x18\n" +
	"\aenabled\x18\x04 \x01(\bR\aenabled\x12\x16\n" +
	"\x06backup\x18\x05 \x01(\bR\x06backup\x123\n" +
	"\x04meta\x18\x06 \x01(\v2\x1f.yandex.cloud.cdn.v1.OriginMetaR\x04meta\"k\n" +
	"\x14UpdateOriginMetadata\x12#\n" +
	"\torigin_id\x18\x01 \x01(\x03B\x06\xfa\xc71\x02>0R\boriginId\x12.\n" +
	"\x0forigin_group_id\x18\x02 \x01(\x03B\x06\xfa\xc71\x02>0R\roriginGroupId\"e\n" +
	"\x13DeleteOriginRequest\x12)\n" +
	"\tfolder_id\x18\x01 \x01(\tB\f\xe8\xc71\x01\x8a\xc81\x04<=50R\bfolderId\x12#\n" +
	"\torigin_id\x18\x02 \x01(\x03B\x06\xfa\xc71\x02>0R\boriginId\";\n" +
	"\x14DeleteOriginMetadata\x12#\n" +
	"\torigin_id\x18\x01 \x01(\x03B\x06\xfa\xc71\x02>0R\boriginId2\xd9\x05\n" +
	"\rOriginService\x12n\n" +
	"\x03Get\x12%.yandex.cloud.cdn.v1.GetOriginRequest\x1a\x1b.yandex.cloud.cdn.v1.Origin\"#\x82\xd3\xe4\x93\x02\x1d\x12\x1b/cdn/v1/origins/{origin_id}\x12r\n" +
	"\x04List\x12'.yandex.cloud.cdn.v1.ListOriginsRequest\x1a(.yandex.cloud.cdn.v1.ListOriginsResponse\"\x17\x82\xd3\xe4\x93\x02\x11\x12\x0f/cdn/v1/origins\x12\x93\x01\n" +
	"\x06Create\x12(.yandex.cloud.cdn.v1.CreateOriginRequest\x1a!.yandex.cloud.operation.Operation\"<\xb2\xd2*\x1e\n" +
	"\x14CreateOriginMetadata\x12\x06Origin\x82\xd3\xe4\x93\x02\x14:\x01*\"\x0f/cdn/v1/origins\x12\x9f\x01\n" +
	"\x06Update\x12(.yandex.cloud.cdn.v1.UpdateOriginRequest\x1a!.yandex.cloud.operation.Operation\"H\xb2\xd2*\x1e\n" +
	"\x14UpdateOriginMetadata\x12\x06Origin\x82\xd3\xe4\x93\x02 :\x01*2\x1b/cdn/v1/origins/{origin_id}\x12\xab\x01\n" +
	"\x06Delete\x12(.yandex.cloud.cdn.v1.DeleteOriginRequest\x1a!.yandex.cloud.operation.Operation\"T\xb2\xd2*-\n" +
	"\x14DeleteOriginMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02\x1d*\x1b/cdn/v1/origins/{origin_id}BV\n" +
	"\x17yandex.cloud.api.cdn.v1Z;github.com/yandex-cloud/go-genproto/yandex/cloud/cdn/v1;cdnb\x06proto3"

var (
	file_yandex_cloud_cdn_v1_origin_service_proto_rawDescOnce sync.Once
	file_yandex_cloud_cdn_v1_origin_service_proto_rawDescData []byte
)

func file_yandex_cloud_cdn_v1_origin_service_proto_rawDescGZIP() []byte {
	file_yandex_cloud_cdn_v1_origin_service_proto_rawDescOnce.Do(func() {
		file_yandex_cloud_cdn_v1_origin_service_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_yandex_cloud_cdn_v1_origin_service_proto_rawDesc), len(file_yandex_cloud_cdn_v1_origin_service_proto_rawDesc)))
	})
	return file_yandex_cloud_cdn_v1_origin_service_proto_rawDescData
}

var file_yandex_cloud_cdn_v1_origin_service_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
var file_yandex_cloud_cdn_v1_origin_service_proto_goTypes = []any{
	(*GetOriginRequest)(nil),     // 0: yandex.cloud.cdn.v1.GetOriginRequest
	(*ListOriginsRequest)(nil),   // 1: yandex.cloud.cdn.v1.ListOriginsRequest
	(*ListOriginsResponse)(nil),  // 2: yandex.cloud.cdn.v1.ListOriginsResponse
	(*CreateOriginRequest)(nil),  // 3: yandex.cloud.cdn.v1.CreateOriginRequest
	(*CreateOriginMetadata)(nil), // 4: yandex.cloud.cdn.v1.CreateOriginMetadata
	(*UpdateOriginRequest)(nil),  // 5: yandex.cloud.cdn.v1.UpdateOriginRequest
	(*UpdateOriginMetadata)(nil), // 6: yandex.cloud.cdn.v1.UpdateOriginMetadata
	(*DeleteOriginRequest)(nil),  // 7: yandex.cloud.cdn.v1.DeleteOriginRequest
	(*DeleteOriginMetadata)(nil), // 8: yandex.cloud.cdn.v1.DeleteOriginMetadata
	(*Origin)(nil),               // 9: yandex.cloud.cdn.v1.Origin
	(*wrapperspb.BoolValue)(nil), // 10: google.protobuf.BoolValue
	(*OriginMeta)(nil),           // 11: yandex.cloud.cdn.v1.OriginMeta
	(*operation.Operation)(nil),  // 12: yandex.cloud.operation.Operation
}
var file_yandex_cloud_cdn_v1_origin_service_proto_depIdxs = []int32{
	9,  // 0: yandex.cloud.cdn.v1.ListOriginsResponse.origins:type_name -> yandex.cloud.cdn.v1.Origin
	10, // 1: yandex.cloud.cdn.v1.CreateOriginRequest.enabled:type_name -> google.protobuf.BoolValue
	10, // 2: yandex.cloud.cdn.v1.CreateOriginRequest.backup:type_name -> google.protobuf.BoolValue
	11, // 3: yandex.cloud.cdn.v1.CreateOriginRequest.meta:type_name -> yandex.cloud.cdn.v1.OriginMeta
	11, // 4: yandex.cloud.cdn.v1.UpdateOriginRequest.meta:type_name -> yandex.cloud.cdn.v1.OriginMeta
	0,  // 5: yandex.cloud.cdn.v1.OriginService.Get:input_type -> yandex.cloud.cdn.v1.GetOriginRequest
	1,  // 6: yandex.cloud.cdn.v1.OriginService.List:input_type -> yandex.cloud.cdn.v1.ListOriginsRequest
	3,  // 7: yandex.cloud.cdn.v1.OriginService.Create:input_type -> yandex.cloud.cdn.v1.CreateOriginRequest
	5,  // 8: yandex.cloud.cdn.v1.OriginService.Update:input_type -> yandex.cloud.cdn.v1.UpdateOriginRequest
	7,  // 9: yandex.cloud.cdn.v1.OriginService.Delete:input_type -> yandex.cloud.cdn.v1.DeleteOriginRequest
	9,  // 10: yandex.cloud.cdn.v1.OriginService.Get:output_type -> yandex.cloud.cdn.v1.Origin
	2,  // 11: yandex.cloud.cdn.v1.OriginService.List:output_type -> yandex.cloud.cdn.v1.ListOriginsResponse
	12, // 12: yandex.cloud.cdn.v1.OriginService.Create:output_type -> yandex.cloud.operation.Operation
	12, // 13: yandex.cloud.cdn.v1.OriginService.Update:output_type -> yandex.cloud.operation.Operation
	12, // 14: yandex.cloud.cdn.v1.OriginService.Delete:output_type -> yandex.cloud.operation.Operation
	10, // [10:15] is the sub-list for method output_type
	5,  // [5:10] is the sub-list for method input_type
	5,  // [5:5] is the sub-list for extension type_name
	5,  // [5:5] is the sub-list for extension extendee
	0,  // [0:5] is the sub-list for field type_name
}

func init() { file_yandex_cloud_cdn_v1_origin_service_proto_init() }
func file_yandex_cloud_cdn_v1_origin_service_proto_init() {
	if File_yandex_cloud_cdn_v1_origin_service_proto != nil {
		return
	}
	file_yandex_cloud_cdn_v1_origin_proto_init()
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_yandex_cloud_cdn_v1_origin_service_proto_rawDesc), len(file_yandex_cloud_cdn_v1_origin_service_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   9,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_yandex_cloud_cdn_v1_origin_service_proto_goTypes,
		DependencyIndexes: file_yandex_cloud_cdn_v1_origin_service_proto_depIdxs,
		MessageInfos:      file_yandex_cloud_cdn_v1_origin_service_proto_msgTypes,
	}.Build()
	File_yandex_cloud_cdn_v1_origin_service_proto = out.File
	file_yandex_cloud_cdn_v1_origin_service_proto_goTypes = nil
	file_yandex_cloud_cdn_v1_origin_service_proto_depIdxs = nil
}
