// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.11
// 	protoc        v6.32.1
// source: mcr/v1/policy.proto

package mcrv1

import (
	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 PolicyRule struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Id            int64                  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Priority      int32                  `protobuf:"varint,2,opt,name=priority,proto3" json:"priority,omitempty"`
	Description   string                 `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Effect        string                 `protobuf:"bytes,4,opt,name=effect,proto3" json:"effect,omitempty"`
	Roles         []string               `protobuf:"bytes,5,rep,name=roles,proto3" json:"roles,omitempty"`
	AccountTypes  []string               `protobuf:"bytes,6,rep,name=account_types,json=accountTypes,proto3" json:"account_types,omitempty"`
	SubjectUuid   string                 `protobuf:"bytes,7,opt,name=subject_uuid,json=subjectUuid,proto3" json:"subject_uuid,omitempty"`
	Actions       []string               `protobuf:"bytes,8,rep,name=actions,proto3" json:"actions,omitempty"`
	Repositories  []string               `protobuf:"bytes,9,rep,name=repositories,proto3" json:"repositories,omitempty"`
	Enabled       bool                   `protobuf:"varint,10,opt,name=enabled,proto3" json:"enabled,omitempty"`
	CreatedBy     string                 `protobuf:"bytes,11,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"`
	CreatedAt     string                 `protobuf:"bytes,12,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt     string                 `protobuf:"bytes,13,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*PolicyRule) ProtoMessage() {}

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

func (x *PolicyRule) GetId() int64 {
	if x != nil {
		return x.Id
	}
	return 0
}

func (x *PolicyRule) GetPriority() int32 {
	if x != nil {
		return x.Priority
	}
	return 0
}

func (x *PolicyRule) GetDescription() string {
	if x != nil {
		return x.Description
	}
	return ""
}

func (x *PolicyRule) GetEffect() string {
	if x != nil {
		return x.Effect
	}
	return ""
}

func (x *PolicyRule) GetRoles() []string {
	if x != nil {
		return x.Roles
	}
	return nil
}

func (x *PolicyRule) GetAccountTypes() []string {
	if x != nil {
		return x.AccountTypes
	}
	return nil
}

func (x *PolicyRule) GetSubjectUuid() string {
	if x != nil {
		return x.SubjectUuid
	}
	return ""
}

func (x *PolicyRule) GetActions() []string {
	if x != nil {
		return x.Actions
	}
	return nil
}

func (x *PolicyRule) GetRepositories() []string {
	if x != nil {
		return x.Repositories
	}
	return nil
}

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

func (x *PolicyRule) GetCreatedBy() string {
	if x != nil {
		return x.CreatedBy
	}
	return ""
}

func (x *PolicyRule) GetCreatedAt() string {
	if x != nil {
		return x.CreatedAt
	}
	return ""
}

func (x *PolicyRule) GetUpdatedAt() string {
	if x != nil {
		return x.UpdatedAt
	}
	return ""
}

type ListPolicyRulesRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Pagination    *PaginationRequest     `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ListPolicyRulesRequest) ProtoMessage() {}

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

func (x *ListPolicyRulesRequest) GetPagination() *PaginationRequest {
	if x != nil {
		return x.Pagination
	}
	return nil
}

type ListPolicyRulesResponse struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Rules         []*PolicyRule          `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ListPolicyRulesResponse) ProtoMessage() {}

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

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

type CreatePolicyRuleRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Priority      int32                  `protobuf:"varint,1,opt,name=priority,proto3" json:"priority,omitempty"`
	Description   string                 `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Effect        string                 `protobuf:"bytes,3,opt,name=effect,proto3" json:"effect,omitempty"`
	Roles         []string               `protobuf:"bytes,4,rep,name=roles,proto3" json:"roles,omitempty"`
	AccountTypes  []string               `protobuf:"bytes,5,rep,name=account_types,json=accountTypes,proto3" json:"account_types,omitempty"`
	SubjectUuid   string                 `protobuf:"bytes,6,opt,name=subject_uuid,json=subjectUuid,proto3" json:"subject_uuid,omitempty"`
	Actions       []string               `protobuf:"bytes,7,rep,name=actions,proto3" json:"actions,omitempty"`
	Repositories  []string               `protobuf:"bytes,8,rep,name=repositories,proto3" json:"repositories,omitempty"`
	Enabled       bool                   `protobuf:"varint,9,opt,name=enabled,proto3" json:"enabled,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*CreatePolicyRuleRequest) ProtoMessage() {}

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

func (x *CreatePolicyRuleRequest) GetPriority() int32 {
	if x != nil {
		return x.Priority
	}
	return 0
}

func (x *CreatePolicyRuleRequest) GetDescription() string {
	if x != nil {
		return x.Description
	}
	return ""
}

func (x *CreatePolicyRuleRequest) GetEffect() string {
	if x != nil {
		return x.Effect
	}
	return ""
}

func (x *CreatePolicyRuleRequest) GetRoles() []string {
	if x != nil {
		return x.Roles
	}
	return nil
}

func (x *CreatePolicyRuleRequest) GetAccountTypes() []string {
	if x != nil {
		return x.AccountTypes
	}
	return nil
}

func (x *CreatePolicyRuleRequest) GetSubjectUuid() string {
	if x != nil {
		return x.SubjectUuid
	}
	return ""
}

func (x *CreatePolicyRuleRequest) GetActions() []string {
	if x != nil {
		return x.Actions
	}
	return nil
}

func (x *CreatePolicyRuleRequest) GetRepositories() []string {
	if x != nil {
		return x.Repositories
	}
	return nil
}

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

type GetPolicyRuleRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Id            int64                  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*GetPolicyRuleRequest) ProtoMessage() {}

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

func (x *GetPolicyRuleRequest) GetId() int64 {
	if x != nil {
		return x.Id
	}
	return 0
}

type UpdatePolicyRuleRequest struct {
	state        protoimpl.MessageState `protogen:"open.v1"`
	Id           int64                  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Priority     int32                  `protobuf:"varint,2,opt,name=priority,proto3" json:"priority,omitempty"`
	Description  string                 `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Effect       string                 `protobuf:"bytes,4,opt,name=effect,proto3" json:"effect,omitempty"`
	Roles        []string               `protobuf:"bytes,5,rep,name=roles,proto3" json:"roles,omitempty"`
	AccountTypes []string               `protobuf:"bytes,6,rep,name=account_types,json=accountTypes,proto3" json:"account_types,omitempty"`
	SubjectUuid  string                 `protobuf:"bytes,7,opt,name=subject_uuid,json=subjectUuid,proto3" json:"subject_uuid,omitempty"`
	Actions      []string               `protobuf:"bytes,8,rep,name=actions,proto3" json:"actions,omitempty"`
	Repositories []string               `protobuf:"bytes,9,rep,name=repositories,proto3" json:"repositories,omitempty"`
	Enabled      bool                   `protobuf:"varint,10,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// Field mask for partial updates — only fields listed here are applied.
	UpdateMask    []string `protobuf:"bytes,11,rep,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*UpdatePolicyRuleRequest) ProtoMessage() {}

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

func (x *UpdatePolicyRuleRequest) GetId() int64 {
	if x != nil {
		return x.Id
	}
	return 0
}

func (x *UpdatePolicyRuleRequest) GetPriority() int32 {
	if x != nil {
		return x.Priority
	}
	return 0
}

func (x *UpdatePolicyRuleRequest) GetDescription() string {
	if x != nil {
		return x.Description
	}
	return ""
}

func (x *UpdatePolicyRuleRequest) GetEffect() string {
	if x != nil {
		return x.Effect
	}
	return ""
}

func (x *UpdatePolicyRuleRequest) GetRoles() []string {
	if x != nil {
		return x.Roles
	}
	return nil
}

func (x *UpdatePolicyRuleRequest) GetAccountTypes() []string {
	if x != nil {
		return x.AccountTypes
	}
	return nil
}

func (x *UpdatePolicyRuleRequest) GetSubjectUuid() string {
	if x != nil {
		return x.SubjectUuid
	}
	return ""
}

func (x *UpdatePolicyRuleRequest) GetActions() []string {
	if x != nil {
		return x.Actions
	}
	return nil
}

func (x *UpdatePolicyRuleRequest) GetRepositories() []string {
	if x != nil {
		return x.Repositories
	}
	return nil
}

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

func (x *UpdatePolicyRuleRequest) GetUpdateMask() []string {
	if x != nil {
		return x.UpdateMask
	}
	return nil
}

type DeletePolicyRuleRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Id            int64                  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*DeletePolicyRuleRequest) ProtoMessage() {}

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

func (x *DeletePolicyRuleRequest) GetId() int64 {
	if x != nil {
		return x.Id
	}
	return 0
}

type DeletePolicyRuleResponse struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*DeletePolicyRuleResponse) ProtoMessage() {}

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

var File_mcr_v1_policy_proto protoreflect.FileDescriptor

const file_mcr_v1_policy_proto_rawDesc = "" +
	"\n" +
	"\x13mcr/v1/policy.proto\x12\x06mcr.v1\x1a\x13mcr/v1/common.proto\"\x85\x03\n" +
	"\n" +
	"PolicyRule\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\x03R\x02id\x12\x1a\n" +
	"\bpriority\x18\x02 \x01(\x05R\bpriority\x12 \n" +
	"\vdescription\x18\x03 \x01(\tR\vdescription\x12\x16\n" +
	"\x06effect\x18\x04 \x01(\tR\x06effect\x12\x14\n" +
	"\x05roles\x18\x05 \x03(\tR\x05roles\x12#\n" +
	"\raccount_types\x18\x06 \x03(\tR\faccountTypes\x12!\n" +
	"\fsubject_uuid\x18\a \x01(\tR\vsubjectUuid\x12\x18\n" +
	"\aactions\x18\b \x03(\tR\aactions\x12\"\n" +
	"\frepositories\x18\t \x03(\tR\frepositories\x12\x18\n" +
	"\aenabled\x18\n" +
	" \x01(\bR\aenabled\x12\x1d\n" +
	"\n" +
	"created_by\x18\v \x01(\tR\tcreatedBy\x12\x1d\n" +
	"\n" +
	"created_at\x18\f \x01(\tR\tcreatedAt\x12\x1d\n" +
	"\n" +
	"updated_at\x18\r \x01(\tR\tupdatedAt\"S\n" +
	"\x16ListPolicyRulesRequest\x129\n" +
	"\n" +
	"pagination\x18\x01 \x01(\v2\x19.mcr.v1.PaginationRequestR\n" +
	"pagination\"C\n" +
	"\x17ListPolicyRulesResponse\x12(\n" +
	"\x05rules\x18\x01 \x03(\v2\x12.mcr.v1.PolicyRuleR\x05rules\"\xa5\x02\n" +
	"\x17CreatePolicyRuleRequest\x12\x1a\n" +
	"\bpriority\x18\x01 \x01(\x05R\bpriority\x12 \n" +
	"\vdescription\x18\x02 \x01(\tR\vdescription\x12\x16\n" +
	"\x06effect\x18\x03 \x01(\tR\x06effect\x12\x14\n" +
	"\x05roles\x18\x04 \x03(\tR\x05roles\x12#\n" +
	"\raccount_types\x18\x05 \x03(\tR\faccountTypes\x12!\n" +
	"\fsubject_uuid\x18\x06 \x01(\tR\vsubjectUuid\x12\x18\n" +
	"\aactions\x18\a \x03(\tR\aactions\x12\"\n" +
	"\frepositories\x18\b \x03(\tR\frepositories\x12\x18\n" +
	"\aenabled\x18\t \x01(\bR\aenabled\"&\n" +
	"\x14GetPolicyRuleRequest\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\x03R\x02id\"\xd6\x02\n" +
	"\x17UpdatePolicyRuleRequest\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\x03R\x02id\x12\x1a\n" +
	"\bpriority\x18\x02 \x01(\x05R\bpriority\x12 \n" +
	"\vdescription\x18\x03 \x01(\tR\vdescription\x12\x16\n" +
	"\x06effect\x18\x04 \x01(\tR\x06effect\x12\x14\n" +
	"\x05roles\x18\x05 \x03(\tR\x05roles\x12#\n" +
	"\raccount_types\x18\x06 \x03(\tR\faccountTypes\x12!\n" +
	"\fsubject_uuid\x18\a \x01(\tR\vsubjectUuid\x12\x18\n" +
	"\aactions\x18\b \x03(\tR\aactions\x12\"\n" +
	"\frepositories\x18\t \x03(\tR\frepositories\x12\x18\n" +
	"\aenabled\x18\n" +
	" \x01(\bR\aenabled\x12\x1f\n" +
	"\vupdate_mask\x18\v \x03(\tR\n" +
	"updateMask\")\n" +
	"\x17DeletePolicyRuleRequest\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\x03R\x02id\"\x1a\n" +
	"\x18DeletePolicyRuleResponse2\x8f\x03\n" +
	"\rPolicyService\x12R\n" +
	"\x0fListPolicyRules\x12\x1e.mcr.v1.ListPolicyRulesRequest\x1a\x1f.mcr.v1.ListPolicyRulesResponse\x12G\n" +
	"\x10CreatePolicyRule\x12\x1f.mcr.v1.CreatePolicyRuleRequest\x1a\x12.mcr.v1.PolicyRule\x12A\n" +
	"\rGetPolicyRule\x12\x1c.mcr.v1.GetPolicyRuleRequest\x1a\x12.mcr.v1.PolicyRule\x12G\n" +
	"\x10UpdatePolicyRule\x12\x1f.mcr.v1.UpdatePolicyRuleRequest\x1a\x12.mcr.v1.PolicyRule\x12U\n" +
	"\x10DeletePolicyRule\x12\x1f.mcr.v1.DeletePolicyRuleRequest\x1a .mcr.v1.DeletePolicyRuleResponseB*Z(git.wntrmute.dev/mc/mcr/gen/mcr/v1;mcrv1b\x06proto3"

var (
	file_mcr_v1_policy_proto_rawDescOnce sync.Once
	file_mcr_v1_policy_proto_rawDescData []byte
)

func file_mcr_v1_policy_proto_rawDescGZIP() []byte {
	file_mcr_v1_policy_proto_rawDescOnce.Do(func() {
		file_mcr_v1_policy_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_mcr_v1_policy_proto_rawDesc), len(file_mcr_v1_policy_proto_rawDesc)))
	})
	return file_mcr_v1_policy_proto_rawDescData
}

var file_mcr_v1_policy_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
var file_mcr_v1_policy_proto_goTypes = []any{
	(*PolicyRule)(nil),               // 0: mcr.v1.PolicyRule
	(*ListPolicyRulesRequest)(nil),   // 1: mcr.v1.ListPolicyRulesRequest
	(*ListPolicyRulesResponse)(nil),  // 2: mcr.v1.ListPolicyRulesResponse
	(*CreatePolicyRuleRequest)(nil),  // 3: mcr.v1.CreatePolicyRuleRequest
	(*GetPolicyRuleRequest)(nil),     // 4: mcr.v1.GetPolicyRuleRequest
	(*UpdatePolicyRuleRequest)(nil),  // 5: mcr.v1.UpdatePolicyRuleRequest
	(*DeletePolicyRuleRequest)(nil),  // 6: mcr.v1.DeletePolicyRuleRequest
	(*DeletePolicyRuleResponse)(nil), // 7: mcr.v1.DeletePolicyRuleResponse
	(*PaginationRequest)(nil),        // 8: mcr.v1.PaginationRequest
}
var file_mcr_v1_policy_proto_depIdxs = []int32{
	8, // 0: mcr.v1.ListPolicyRulesRequest.pagination:type_name -> mcr.v1.PaginationRequest
	0, // 1: mcr.v1.ListPolicyRulesResponse.rules:type_name -> mcr.v1.PolicyRule
	1, // 2: mcr.v1.PolicyService.ListPolicyRules:input_type -> mcr.v1.ListPolicyRulesRequest
	3, // 3: mcr.v1.PolicyService.CreatePolicyRule:input_type -> mcr.v1.CreatePolicyRuleRequest
	4, // 4: mcr.v1.PolicyService.GetPolicyRule:input_type -> mcr.v1.GetPolicyRuleRequest
	5, // 5: mcr.v1.PolicyService.UpdatePolicyRule:input_type -> mcr.v1.UpdatePolicyRuleRequest
	6, // 6: mcr.v1.PolicyService.DeletePolicyRule:input_type -> mcr.v1.DeletePolicyRuleRequest
	2, // 7: mcr.v1.PolicyService.ListPolicyRules:output_type -> mcr.v1.ListPolicyRulesResponse
	0, // 8: mcr.v1.PolicyService.CreatePolicyRule:output_type -> mcr.v1.PolicyRule
	0, // 9: mcr.v1.PolicyService.GetPolicyRule:output_type -> mcr.v1.PolicyRule
	0, // 10: mcr.v1.PolicyService.UpdatePolicyRule:output_type -> mcr.v1.PolicyRule
	7, // 11: mcr.v1.PolicyService.DeletePolicyRule:output_type -> mcr.v1.DeletePolicyRuleResponse
	7, // [7:12] is the sub-list for method output_type
	2, // [2:7] is the sub-list for method input_type
	2, // [2:2] is the sub-list for extension type_name
	2, // [2:2] is the sub-list for extension extendee
	0, // [0:2] is the sub-list for field type_name
}

func init() { file_mcr_v1_policy_proto_init() }
func file_mcr_v1_policy_proto_init() {
	if File_mcr_v1_policy_proto != nil {
		return
	}
	file_mcr_v1_common_proto_init()
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_mcr_v1_policy_proto_rawDesc), len(file_mcr_v1_policy_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   8,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_mcr_v1_policy_proto_goTypes,
		DependencyIndexes: file_mcr_v1_policy_proto_depIdxs,
		MessageInfos:      file_mcr_v1_policy_proto_msgTypes,
	}.Build()
	File_mcr_v1_policy_proto = out.File
	file_mcr_v1_policy_proto_goTypes = nil
	file_mcr_v1_policy_proto_depIdxs = nil
}
