// 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/rule_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 ListResourceRulesRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of resource.
	ResourceId    string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ListResourceRulesRequest) ProtoMessage() {}

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

func (x *ListResourceRulesRequest) GetResourceId() string {
	if x != nil {
		return x.ResourceId
	}
	return ""
}

type ListResourceRulesResponse struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// List of the resource rules.
	Rules         []*Rule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ListResourceRulesResponse) ProtoMessage() {}

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

func (x *ListResourceRulesResponse) GetRules() []*Rule {
	if x != nil {
		return x.Rules
	}
	return nil
}

type CreateResourceRuleRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of resource.
	ResourceId string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	// Name of created resource rule.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Resource rule pattern.
	RulePattern string           `protobuf:"bytes,3,opt,name=rule_pattern,json=rulePattern,proto3" json:"rule_pattern,omitempty"`
	Options     *ResourceOptions `protobuf:"bytes,4,opt,name=options,proto3" json:"options,omitempty"`
	// Rules are ordered by weight in ascending order (lower weights execute first)
	// Weight must be between 0 and 9999 inclusive
	Weight        int64 `protobuf:"varint,5,opt,name=weight,proto3" json:"weight,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*CreateResourceRuleRequest) ProtoMessage() {}

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

func (x *CreateResourceRuleRequest) GetResourceId() string {
	if x != nil {
		return x.ResourceId
	}
	return ""
}

func (x *CreateResourceRuleRequest) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}

func (x *CreateResourceRuleRequest) GetRulePattern() string {
	if x != nil {
		return x.RulePattern
	}
	return ""
}

func (x *CreateResourceRuleRequest) GetOptions() *ResourceOptions {
	if x != nil {
		return x.Options
	}
	return nil
}

func (x *CreateResourceRuleRequest) GetWeight() int64 {
	if x != nil {
		return x.Weight
	}
	return 0
}

type CreateResourceRuleMetadata struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of resource.
	ResourceId string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	// ID of created resource rule.
	RuleId        int64 `protobuf:"varint,2,opt,name=rule_id,json=ruleId,proto3" json:"rule_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*CreateResourceRuleMetadata) ProtoMessage() {}

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

func (x *CreateResourceRuleMetadata) GetResourceId() string {
	if x != nil {
		return x.ResourceId
	}
	return ""
}

func (x *CreateResourceRuleMetadata) GetRuleId() int64 {
	if x != nil {
		return x.RuleId
	}
	return 0
}

type GetResourceRuleRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of resource.
	ResourceId string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	// ID of the requested resource rule.
	RuleId        int64 `protobuf:"varint,2,opt,name=rule_id,json=ruleId,proto3" json:"rule_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*GetResourceRuleRequest) ProtoMessage() {}

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

func (x *GetResourceRuleRequest) GetResourceId() string {
	if x != nil {
		return x.ResourceId
	}
	return ""
}

func (x *GetResourceRuleRequest) GetRuleId() int64 {
	if x != nil {
		return x.RuleId
	}
	return 0
}

type UpdateResourceRuleRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of resource.
	ResourceId string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	// ID of updated resource rule.
	RuleId int64 `protobuf:"varint,2,opt,name=rule_id,json=ruleId,proto3" json:"rule_id,omitempty"`
	// Name of updated resource rule.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// Resource rule pattern.
	RulePattern string           `protobuf:"bytes,4,opt,name=rule_pattern,json=rulePattern,proto3" json:"rule_pattern,omitempty"`
	Options     *ResourceOptions `protobuf:"bytes,5,opt,name=options,proto3" json:"options,omitempty"`
	// Rules are ordered by weight in ascending order (lower weights execute first)
	// Weight must be between 0 and 9999 inclusive
	Weight        *int64 `protobuf:"varint,6,opt,name=weight,proto3,oneof" json:"weight,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*UpdateResourceRuleRequest) ProtoMessage() {}

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

func (x *UpdateResourceRuleRequest) GetResourceId() string {
	if x != nil {
		return x.ResourceId
	}
	return ""
}

func (x *UpdateResourceRuleRequest) GetRuleId() int64 {
	if x != nil {
		return x.RuleId
	}
	return 0
}

func (x *UpdateResourceRuleRequest) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}

func (x *UpdateResourceRuleRequest) GetRulePattern() string {
	if x != nil {
		return x.RulePattern
	}
	return ""
}

func (x *UpdateResourceRuleRequest) GetOptions() *ResourceOptions {
	if x != nil {
		return x.Options
	}
	return nil
}

func (x *UpdateResourceRuleRequest) GetWeight() int64 {
	if x != nil && x.Weight != nil {
		return *x.Weight
	}
	return 0
}

type UpdateResourceRuleMetadata struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of resource.
	ResourceId string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	// ID of updated resource rule.
	RuleId        int64 `protobuf:"varint,2,opt,name=rule_id,json=ruleId,proto3" json:"rule_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*UpdateResourceRuleMetadata) ProtoMessage() {}

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

func (x *UpdateResourceRuleMetadata) GetResourceId() string {
	if x != nil {
		return x.ResourceId
	}
	return ""
}

func (x *UpdateResourceRuleMetadata) GetRuleId() int64 {
	if x != nil {
		return x.RuleId
	}
	return 0
}

type DeleteResourceRuleRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of resource.
	ResourceId string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	// ID of deleted resource rule.
	RuleId        int64 `protobuf:"varint,2,opt,name=rule_id,json=ruleId,proto3" json:"rule_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*DeleteResourceRuleRequest) ProtoMessage() {}

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

func (x *DeleteResourceRuleRequest) GetResourceId() string {
	if x != nil {
		return x.ResourceId
	}
	return ""
}

func (x *DeleteResourceRuleRequest) GetRuleId() int64 {
	if x != nil {
		return x.RuleId
	}
	return 0
}

type DeleteResourceRuleMetadata struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of resource.
	ResourceId string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	// ID of deleted resource rule.
	RuleId        int64 `protobuf:"varint,2,opt,name=rule_id,json=ruleId,proto3" json:"rule_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*DeleteResourceRuleMetadata) ProtoMessage() {}

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

func (x *DeleteResourceRuleMetadata) GetResourceId() string {
	if x != nil {
		return x.ResourceId
	}
	return ""
}

func (x *DeleteResourceRuleMetadata) GetRuleId() int64 {
	if x != nil {
		return x.RuleId
	}
	return 0
}

var File_yandex_cloud_cdn_v1_rule_service_proto protoreflect.FileDescriptor

const file_yandex_cloud_cdn_v1_rule_service_proto_rawDesc = "" +
	"\n" +
	"&yandex/cloud/cdn/v1/rule_service.proto\x12\x13yandex.cloud.cdn.v1\x1a\x1cgoogle/api/annotations.proto\x1a yandex/cloud/api/operation.proto\x1a\"yandex/cloud/cdn/v1/resource.proto\x1a\x1eyandex/cloud/cdn/v1/rule.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\"I\n" +
	"\x18ListResourceRulesRequest\x12-\n" +
	"\vresource_id\x18\x01 \x01(\tB\f\xe8\xc71\x01\x8a\xc81\x04<=50R\n" +
	"resourceId\"L\n" +
	"\x19ListResourceRulesResponse\x12/\n" +
	"\x05rules\x18\x01 \x03(\v2\x19.yandex.cloud.cdn.v1.RuleR\x05rules\"\xf6\x01\n" +
	"\x19CreateResourceRuleRequest\x12-\n" +
	"\vresource_id\x18\x01 \x01(\tB\f\xe8\xc71\x01\x8a\xc81\x04<=50R\n" +
	"resourceId\x12 \n" +
	"\x04name\x18\x02 \x01(\tB\f\xe8\xc71\x01\x8a\xc81\x04<=50R\x04name\x120\n" +
	"\frule_pattern\x18\x03 \x01(\tB\r\xe8\xc71\x01\x8a\xc81\x05<=100R\vrulePattern\x12>\n" +
	"\aoptions\x18\x04 \x01(\v2$.yandex.cloud.cdn.v1.ResourceOptionsR\aoptions\x12\x16\n" +
	"\x06weight\x18\x05 \x01(\x03R\x06weight\"l\n" +
	"\x1aCreateResourceRuleMetadata\x12-\n" +
	"\vresource_id\x18\x01 \x01(\tB\f\xe8\xc71\x01\x8a\xc81\x04<=50R\n" +
	"resourceId\x12\x1f\n" +
	"\arule_id\x18\x02 \x01(\x03B\x06\xfa\xc71\x02>0R\x06ruleId\"h\n" +
	"\x16GetResourceRuleRequest\x12-\n" +
	"\vresource_id\x18\x01 \x01(\tB\f\xe8\xc71\x01\x8a\xc81\x04<=50R\n" +
	"resourceId\x12\x1f\n" +
	"\arule_id\x18\x02 \x01(\x03B\x06\xfa\xc71\x02>0R\x06ruleId\"\x9f\x02\n" +
	"\x19UpdateResourceRuleRequest\x12-\n" +
	"\vresource_id\x18\x01 \x01(\tB\f\xe8\xc71\x01\x8a\xc81\x04<=50R\n" +
	"resourceId\x12\x1f\n" +
	"\arule_id\x18\x02 \x01(\x03B\x06\xfa\xc71\x02>0R\x06ruleId\x12\x1c\n" +
	"\x04name\x18\x03 \x01(\tB\b\x8a\xc81\x04<=50R\x04name\x12,\n" +
	"\frule_pattern\x18\x04 \x01(\tB\t\x8a\xc81\x05<=100R\vrulePattern\x12>\n" +
	"\aoptions\x18\x05 \x01(\v2$.yandex.cloud.cdn.v1.ResourceOptionsR\aoptions\x12\x1b\n" +
	"\x06weight\x18\x06 \x01(\x03H\x00R\x06weight\x88\x01\x01B\t\n" +
	"\a_weight\"l\n" +
	"\x1aUpdateResourceRuleMetadata\x12-\n" +
	"\vresource_id\x18\x01 \x01(\tB\f\xe8\xc71\x01\x8a\xc81\x04<=50R\n" +
	"resourceId\x12\x1f\n" +
	"\arule_id\x18\x02 \x01(\x03B\x06\xfa\xc71\x02>0R\x06ruleId\"k\n" +
	"\x19DeleteResourceRuleRequest\x12-\n" +
	"\vresource_id\x18\x01 \x01(\tB\f\xe8\xc71\x01\x8a\xc81\x04<=50R\n" +
	"resourceId\x12\x1f\n" +
	"\arule_id\x18\x02 \x01(\x03B\x06\xfa\xc71\x02>0R\x06ruleId\"l\n" +
	"\x1aDeleteResourceRuleMetadata\x12-\n" +
	"\vresource_id\x18\x01 \x01(\tB\f\xe8\xc71\x01\x8a\xc81\x04<=50R\n" +
	"resourceId\x12\x1f\n" +
	"\arule_id\x18\x02 \x01(\x03B\x06\xfa\xc71\x02>0R\x06ruleId2\x80\x06\n" +
	"\x14ResourceRulesService\x12|\n" +
	"\x04List\x12-.yandex.cloud.cdn.v1.ListResourceRulesRequest\x1a..yandex.cloud.cdn.v1.ListResourceRulesResponse\"\x15\x82\xd3\xe4\x93\x02\x0f\x12\r/cdn/v1/rules\x12\x9b\x01\n" +
	"\x06Create\x12..yandex.cloud.cdn.v1.CreateResourceRuleRequest\x1a!.yandex.cloud.operation.Operation\">\xb2\xd2*\"\n" +
	"\x1aCreateResourceRuleMetadata\x12\x04Rule\x82\xd3\xe4\x93\x02\x12:\x01*\"\r/cdn/v1/rules\x12n\n" +
	"\x03Get\x12+.yandex.cloud.cdn.v1.GetResourceRuleRequest\x1a\x19.yandex.cloud.cdn.v1.Rule\"\x1f\x82\xd3\xe4\x93\x02\x19\x12\x17/cdn/v1/rules/{rule_id}\x12\xa5\x01\n" +
	"\x06Update\x12..yandex.cloud.cdn.v1.UpdateResourceRuleRequest\x1a!.yandex.cloud.operation.Operation\"H\xb2\xd2*\"\n" +
	"\x1aUpdateResourceRuleMetadata\x12\x04Rule\x82\xd3\xe4\x93\x02\x1c:\x01*2\x17/cdn/v1/rules/{rule_id}\x12\xb3\x01\n" +
	"\x06Delete\x12..yandex.cloud.cdn.v1.DeleteResourceRuleRequest\x1a!.yandex.cloud.operation.Operation\"V\xb2\xd2*3\n" +
	"\x1aDeleteResourceRuleMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02\x19*\x17/cdn/v1/rules/{rule_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_rule_service_proto_rawDescOnce sync.Once
	file_yandex_cloud_cdn_v1_rule_service_proto_rawDescData []byte
)

func file_yandex_cloud_cdn_v1_rule_service_proto_rawDescGZIP() []byte {
	file_yandex_cloud_cdn_v1_rule_service_proto_rawDescOnce.Do(func() {
		file_yandex_cloud_cdn_v1_rule_service_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_yandex_cloud_cdn_v1_rule_service_proto_rawDesc), len(file_yandex_cloud_cdn_v1_rule_service_proto_rawDesc)))
	})
	return file_yandex_cloud_cdn_v1_rule_service_proto_rawDescData
}

var file_yandex_cloud_cdn_v1_rule_service_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
var file_yandex_cloud_cdn_v1_rule_service_proto_goTypes = []any{
	(*ListResourceRulesRequest)(nil),   // 0: yandex.cloud.cdn.v1.ListResourceRulesRequest
	(*ListResourceRulesResponse)(nil),  // 1: yandex.cloud.cdn.v1.ListResourceRulesResponse
	(*CreateResourceRuleRequest)(nil),  // 2: yandex.cloud.cdn.v1.CreateResourceRuleRequest
	(*CreateResourceRuleMetadata)(nil), // 3: yandex.cloud.cdn.v1.CreateResourceRuleMetadata
	(*GetResourceRuleRequest)(nil),     // 4: yandex.cloud.cdn.v1.GetResourceRuleRequest
	(*UpdateResourceRuleRequest)(nil),  // 5: yandex.cloud.cdn.v1.UpdateResourceRuleRequest
	(*UpdateResourceRuleMetadata)(nil), // 6: yandex.cloud.cdn.v1.UpdateResourceRuleMetadata
	(*DeleteResourceRuleRequest)(nil),  // 7: yandex.cloud.cdn.v1.DeleteResourceRuleRequest
	(*DeleteResourceRuleMetadata)(nil), // 8: yandex.cloud.cdn.v1.DeleteResourceRuleMetadata
	(*Rule)(nil),                       // 9: yandex.cloud.cdn.v1.Rule
	(*ResourceOptions)(nil),            // 10: yandex.cloud.cdn.v1.ResourceOptions
	(*operation.Operation)(nil),        // 11: yandex.cloud.operation.Operation
}
var file_yandex_cloud_cdn_v1_rule_service_proto_depIdxs = []int32{
	9,  // 0: yandex.cloud.cdn.v1.ListResourceRulesResponse.rules:type_name -> yandex.cloud.cdn.v1.Rule
	10, // 1: yandex.cloud.cdn.v1.CreateResourceRuleRequest.options:type_name -> yandex.cloud.cdn.v1.ResourceOptions
	10, // 2: yandex.cloud.cdn.v1.UpdateResourceRuleRequest.options:type_name -> yandex.cloud.cdn.v1.ResourceOptions
	0,  // 3: yandex.cloud.cdn.v1.ResourceRulesService.List:input_type -> yandex.cloud.cdn.v1.ListResourceRulesRequest
	2,  // 4: yandex.cloud.cdn.v1.ResourceRulesService.Create:input_type -> yandex.cloud.cdn.v1.CreateResourceRuleRequest
	4,  // 5: yandex.cloud.cdn.v1.ResourceRulesService.Get:input_type -> yandex.cloud.cdn.v1.GetResourceRuleRequest
	5,  // 6: yandex.cloud.cdn.v1.ResourceRulesService.Update:input_type -> yandex.cloud.cdn.v1.UpdateResourceRuleRequest
	7,  // 7: yandex.cloud.cdn.v1.ResourceRulesService.Delete:input_type -> yandex.cloud.cdn.v1.DeleteResourceRuleRequest
	1,  // 8: yandex.cloud.cdn.v1.ResourceRulesService.List:output_type -> yandex.cloud.cdn.v1.ListResourceRulesResponse
	11, // 9: yandex.cloud.cdn.v1.ResourceRulesService.Create:output_type -> yandex.cloud.operation.Operation
	9,  // 10: yandex.cloud.cdn.v1.ResourceRulesService.Get:output_type -> yandex.cloud.cdn.v1.Rule
	11, // 11: yandex.cloud.cdn.v1.ResourceRulesService.Update:output_type -> yandex.cloud.operation.Operation
	11, // 12: yandex.cloud.cdn.v1.ResourceRulesService.Delete:output_type -> yandex.cloud.operation.Operation
	8,  // [8:13] is the sub-list for method output_type
	3,  // [3:8] is the sub-list for method input_type
	3,  // [3:3] is the sub-list for extension type_name
	3,  // [3:3] is the sub-list for extension extendee
	0,  // [0:3] is the sub-list for field type_name
}

func init() { file_yandex_cloud_cdn_v1_rule_service_proto_init() }
func file_yandex_cloud_cdn_v1_rule_service_proto_init() {
	if File_yandex_cloud_cdn_v1_rule_service_proto != nil {
		return
	}
	file_yandex_cloud_cdn_v1_resource_proto_init()
	file_yandex_cloud_cdn_v1_rule_proto_init()
	file_yandex_cloud_cdn_v1_rule_service_proto_msgTypes[5].OneofWrappers = []any{}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_yandex_cloud_cdn_v1_rule_service_proto_rawDesc), len(file_yandex_cloud_cdn_v1_rule_service_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   9,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_yandex_cloud_cdn_v1_rule_service_proto_goTypes,
		DependencyIndexes: file_yandex_cloud_cdn_v1_rule_service_proto_depIdxs,
		MessageInfos:      file_yandex_cloud_cdn_v1_rule_service_proto_msgTypes,
	}.Build()
	File_yandex_cloud_cdn_v1_rule_service_proto = out.File
	file_yandex_cloud_cdn_v1_rule_service_proto_goTypes = nil
	file_yandex_cloud_cdn_v1_rule_service_proto_depIdxs = nil
}
