// Copyright 2025 AGNTCY Contributors (https://github.com/agntcy)
// SPDX-License-Identifier: Apache-2.0

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.9
// 	protoc        (unknown)
// source: agntcy/identity/service/v1alpha1/policy_service.proto

package identity_service_sdk_go

import (
	v1alpha1 "github.com/agntcy/identity-service/api/server/agntcy/identity/service/shared/v1alpha1"
	_ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options"
	_ "google.golang.org/genproto/googleapis/api/annotations"
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	emptypb "google.golang.org/protobuf/types/known/emptypb"
	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 ListPoliciesResponse struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// A list of Policies.
	Policies []*Policy `protobuf:"bytes,1,rep,name=policies,proto3" json:"policies,omitempty"`
	// Pagination response.
	Pagination    *v1alpha1.PagedResponse `protobuf:"bytes,2,opt,name=pagination,proto3,oneof" json:"pagination,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ListPoliciesResponse) ProtoMessage() {}

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

func (x *ListPoliciesResponse) GetPolicies() []*Policy {
	if x != nil {
		return x.Policies
	}
	return nil
}

func (x *ListPoliciesResponse) GetPagination() *v1alpha1.PagedResponse {
	if x != nil {
		return x.Pagination
	}
	return nil
}

type ListPoliciesRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The current page of the pagination
	Page *int32 `protobuf:"varint,1,opt,name=page,proto3,oneof" json:"page,omitempty"`
	// The page size of the pagination
	Size *int32 `protobuf:"varint,2,opt,name=size,proto3,oneof" json:"size,omitempty"`
	// The search query
	Query *string `protobuf:"bytes,3,opt,name=query,proto3,oneof" json:"query,omitempty"`
	// A filter used to fetch policies only for the specified Agentic Services
	AppIds []string `protobuf:"bytes,4,rep,name=app_ids,json=appIds,proto3" json:"app_ids,omitempty"`
	// A filter used to fetch policies where the rules applies for the specified Agentic Services
	RulesForAppIds []string `protobuf:"bytes,5,rep,name=rules_for_app_ids,json=rulesForAppIds,proto3" json:"rules_for_app_ids,omitempty"`
	unknownFields  protoimpl.UnknownFields
	sizeCache      protoimpl.SizeCache
}

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

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

func (*ListPoliciesRequest) ProtoMessage() {}

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

func (x *ListPoliciesRequest) GetPage() int32 {
	if x != nil && x.Page != nil {
		return *x.Page
	}
	return 0
}

func (x *ListPoliciesRequest) GetSize() int32 {
	if x != nil && x.Size != nil {
		return *x.Size
	}
	return 0
}

func (x *ListPoliciesRequest) GetQuery() string {
	if x != nil && x.Query != nil {
		return *x.Query
	}
	return ""
}

func (x *ListPoliciesRequest) GetAppIds() []string {
	if x != nil {
		return x.AppIds
	}
	return nil
}

func (x *ListPoliciesRequest) GetRulesForAppIds() []string {
	if x != nil {
		return x.RulesForAppIds
	}
	return nil
}

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

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

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

func (*GetPoliciesCountRequest) ProtoMessage() {}

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

type GetPoliciesCountResponse struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The total count
	Total         int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*GetPoliciesCountResponse) ProtoMessage() {}

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

func (x *GetPoliciesCountResponse) GetTotal() int64 {
	if x != nil {
		return x.Total
	}
	return 0
}

type CreatePolicyRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// A human-readable name for the Policy.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// A human-readable description for the Policy.
	Description *string `protobuf:"bytes,2,opt,name=description,proto3,oneof" json:"description,omitempty"`
	// The requester application that this policy applies to.
	AssignedTo    string `protobuf:"bytes,3,opt,name=assigned_to,json=assignedTo,proto3" json:"assigned_to,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*CreatePolicyRequest) ProtoMessage() {}

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

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

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

func (x *CreatePolicyRequest) GetAssignedTo() string {
	if x != nil {
		return x.AssignedTo
	}
	return ""
}

type GetPolicyRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Policy Id to get.
	PolicyId      string `protobuf:"bytes,1,opt,name=policy_id,json=policyId,proto3" json:"policy_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*GetPolicyRequest) ProtoMessage() {}

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

func (x *GetPolicyRequest) GetPolicyId() string {
	if x != nil {
		return x.PolicyId
	}
	return ""
}

type UpdatePolicyRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Policy Id to update.
	PolicyId string `protobuf:"bytes,1,opt,name=policy_id,json=policyId,proto3" json:"policy_id,omitempty"`
	// A human-readable name for the Policy.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// A human-readable description for the Policy.
	Description *string `protobuf:"bytes,3,opt,name=description,proto3,oneof" json:"description,omitempty"`
	// The requester application that this policy applies to.
	AssignedTo    string `protobuf:"bytes,4,opt,name=assigned_to,json=assignedTo,proto3" json:"assigned_to,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*UpdatePolicyRequest) ProtoMessage() {}

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

func (x *UpdatePolicyRequest) GetPolicyId() string {
	if x != nil {
		return x.PolicyId
	}
	return ""
}

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

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

func (x *UpdatePolicyRequest) GetAssignedTo() string {
	if x != nil {
		return x.AssignedTo
	}
	return ""
}

type DeletePolicyRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Policy Id to delete.
	PolicyId      string `protobuf:"bytes,1,opt,name=policy_id,json=policyId,proto3" json:"policy_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*DeletePolicyRequest) ProtoMessage() {}

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

func (x *DeletePolicyRequest) GetPolicyId() string {
	if x != nil {
		return x.PolicyId
	}
	return ""
}

type ListRulesResponse struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// A list of Rules.
	Rules []*Rule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"`
	// Pagination response.
	Pagination    *v1alpha1.PagedResponse `protobuf:"bytes,2,opt,name=pagination,proto3,oneof" json:"pagination,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ListRulesResponse) ProtoMessage() {}

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

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

func (x *ListRulesResponse) GetPagination() *v1alpha1.PagedResponse {
	if x != nil {
		return x.Pagination
	}
	return nil
}

type ListRulesRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The Policy Id to which these Rules belong.
	PolicyId string `protobuf:"bytes,1,opt,name=policy_id,json=policyId,proto3" json:"policy_id,omitempty"`
	// The current page of the pagination
	Page *int32 `protobuf:"varint,2,opt,name=page,proto3,oneof" json:"page,omitempty"`
	// The page size of the pagination
	Size *int32 `protobuf:"varint,3,opt,name=size,proto3,oneof" json:"size,omitempty"`
	// The search query
	Query         *string `protobuf:"bytes,4,opt,name=query,proto3,oneof" json:"query,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ListRulesRequest) Reset() {
	*x = ListRulesRequest{}
	mi := &file_agntcy_identity_service_v1alpha1_policy_service_proto_msgTypes[9]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*ListRulesRequest) ProtoMessage() {}

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

func (x *ListRulesRequest) GetPolicyId() string {
	if x != nil {
		return x.PolicyId
	}
	return ""
}

func (x *ListRulesRequest) GetPage() int32 {
	if x != nil && x.Page != nil {
		return *x.Page
	}
	return 0
}

func (x *ListRulesRequest) GetSize() int32 {
	if x != nil && x.Size != nil {
		return *x.Size
	}
	return 0
}

func (x *ListRulesRequest) GetQuery() string {
	if x != nil && x.Query != nil {
		return *x.Query
	}
	return ""
}

type CreateRuleRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The Policy Id to which these Rules belong.
	PolicyId string `protobuf:"bytes,1,opt,name=policy_id,json=policyId,proto3" json:"policy_id,omitempty"`
	// A human-readable name for the Rule.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// A human-readable description for the Rule.
	Description *string `protobuf:"bytes,3,opt,name=description,proto3,oneof" json:"description,omitempty"`
	// The tasks that this Rule applies to.
	Tasks []string `protobuf:"bytes,4,rep,name=tasks,proto3" json:"tasks,omitempty"`
	// Need User Approval for this Rule.
	NeedsApproval *bool `protobuf:"varint,5,opt,name=needs_approval,json=needsApproval,proto3,oneof" json:"needs_approval,omitempty"`
	// The action applied for the rule when calling the tasks
	Action        RuleAction `protobuf:"varint,6,opt,name=action,proto3,enum=agntcy.identity.service.v1alpha1.RuleAction" json:"action,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *CreateRuleRequest) Reset() {
	*x = CreateRuleRequest{}
	mi := &file_agntcy_identity_service_v1alpha1_policy_service_proto_msgTypes[10]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*CreateRuleRequest) ProtoMessage() {}

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

func (x *CreateRuleRequest) GetPolicyId() string {
	if x != nil {
		return x.PolicyId
	}
	return ""
}

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

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

func (x *CreateRuleRequest) GetTasks() []string {
	if x != nil {
		return x.Tasks
	}
	return nil
}

func (x *CreateRuleRequest) GetNeedsApproval() bool {
	if x != nil && x.NeedsApproval != nil {
		return *x.NeedsApproval
	}
	return false
}

func (x *CreateRuleRequest) GetAction() RuleAction {
	if x != nil {
		return x.Action
	}
	return RuleAction_RULE_ACTION_UNSPECIFIED
}

type GetRuleRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The Policy Id to which these Rules belong.
	PolicyId string `protobuf:"bytes,1,opt,name=policy_id,json=policyId,proto3" json:"policy_id,omitempty"`
	// Rule Id to get.
	RuleId        string `protobuf:"bytes,2,opt,name=rule_id,json=ruleId,proto3" json:"rule_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *GetRuleRequest) Reset() {
	*x = GetRuleRequest{}
	mi := &file_agntcy_identity_service_v1alpha1_policy_service_proto_msgTypes[11]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*GetRuleRequest) ProtoMessage() {}

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

func (x *GetRuleRequest) GetPolicyId() string {
	if x != nil {
		return x.PolicyId
	}
	return ""
}

func (x *GetRuleRequest) GetRuleId() string {
	if x != nil {
		return x.RuleId
	}
	return ""
}

type UpdateRuleRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The Policy Id to which these Rules belong.
	PolicyId string `protobuf:"bytes,1,opt,name=policy_id,json=policyId,proto3" json:"policy_id,omitempty"`
	// Rule Id to update.
	RuleId string `protobuf:"bytes,2,opt,name=rule_id,json=ruleId,proto3" json:"rule_id,omitempty"`
	// A human-readable name for the Rule.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// A human-readable description for the Rule.
	Description *string `protobuf:"bytes,4,opt,name=description,proto3,oneof" json:"description,omitempty"`
	// The tasks that this Rule applies to.
	Tasks []string `protobuf:"bytes,5,rep,name=tasks,proto3" json:"tasks,omitempty"`
	// Need User Approval for this Rule.
	NeedsApproval *bool `protobuf:"varint,6,opt,name=needs_approval,json=needsApproval,proto3,oneof" json:"needs_approval,omitempty"`
	// The action applied for the rule when calling the tasks
	Action        RuleAction `protobuf:"varint,7,opt,name=action,proto3,enum=agntcy.identity.service.v1alpha1.RuleAction" json:"action,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *UpdateRuleRequest) Reset() {
	*x = UpdateRuleRequest{}
	mi := &file_agntcy_identity_service_v1alpha1_policy_service_proto_msgTypes[12]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*UpdateRuleRequest) ProtoMessage() {}

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

func (x *UpdateRuleRequest) GetPolicyId() string {
	if x != nil {
		return x.PolicyId
	}
	return ""
}

func (x *UpdateRuleRequest) GetRuleId() string {
	if x != nil {
		return x.RuleId
	}
	return ""
}

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

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

func (x *UpdateRuleRequest) GetTasks() []string {
	if x != nil {
		return x.Tasks
	}
	return nil
}

func (x *UpdateRuleRequest) GetNeedsApproval() bool {
	if x != nil && x.NeedsApproval != nil {
		return *x.NeedsApproval
	}
	return false
}

func (x *UpdateRuleRequest) GetAction() RuleAction {
	if x != nil {
		return x.Action
	}
	return RuleAction_RULE_ACTION_UNSPECIFIED
}

type DeleteRuleRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The Policy Id to which these Rules belong.
	PolicyId string `protobuf:"bytes,1,opt,name=policy_id,json=policyId,proto3" json:"policy_id,omitempty"`
	// Rule Id to delete.
	RuleId        string `protobuf:"bytes,2,opt,name=rule_id,json=ruleId,proto3" json:"rule_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *DeleteRuleRequest) Reset() {
	*x = DeleteRuleRequest{}
	mi := &file_agntcy_identity_service_v1alpha1_policy_service_proto_msgTypes[13]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*DeleteRuleRequest) ProtoMessage() {}

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

func (x *DeleteRuleRequest) GetPolicyId() string {
	if x != nil {
		return x.PolicyId
	}
	return ""
}

func (x *DeleteRuleRequest) GetRuleId() string {
	if x != nil {
		return x.RuleId
	}
	return ""
}

var File_agntcy_identity_service_v1alpha1_policy_service_proto protoreflect.FileDescriptor

const file_agntcy_identity_service_v1alpha1_policy_service_proto_rawDesc = "" +
	"\n" +
	"5agntcy/identity/service/v1alpha1/policy_service.proto\x12 agntcy.identity.service.v1alpha1\x1a8agntcy/identity/service/shared/v1alpha1/pagination.proto\x1a-agntcy/identity/service/v1alpha1/policy.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a.protoc-gen-openapiv2/options/annotations.proto\"\xc8\x01\n" +
	"\x14ListPoliciesResponse\x12D\n" +
	"\bpolicies\x18\x01 \x03(\v2(.agntcy.identity.service.v1alpha1.PolicyR\bpolicies\x12[\n" +
	"\n" +
	"pagination\x18\x02 \x01(\v26.agntcy.identity.service.shared.v1alpha1.PagedResponseH\x00R\n" +
	"pagination\x88\x01\x01B\r\n" +
	"\v_pagination\"\xc2\x01\n" +
	"\x13ListPoliciesRequest\x12\x17\n" +
	"\x04page\x18\x01 \x01(\x05H\x00R\x04page\x88\x01\x01\x12\x17\n" +
	"\x04size\x18\x02 \x01(\x05H\x01R\x04size\x88\x01\x01\x12\x19\n" +
	"\x05query\x18\x03 \x01(\tH\x02R\x05query\x88\x01\x01\x12\x17\n" +
	"\aapp_ids\x18\x04 \x03(\tR\x06appIds\x12)\n" +
	"\x11rules_for_app_ids\x18\x05 \x03(\tR\x0erulesForAppIdsB\a\n" +
	"\x05_pageB\a\n" +
	"\x05_sizeB\b\n" +
	"\x06_query\"\x19\n" +
	"\x17GetPoliciesCountRequest\"0\n" +
	"\x18GetPoliciesCountResponse\x12\x14\n" +
	"\x05total\x18\x01 \x01(\x03R\x05total\"\x81\x01\n" +
	"\x13CreatePolicyRequest\x12\x12\n" +
	"\x04name\x18\x01 \x01(\tR\x04name\x12%\n" +
	"\vdescription\x18\x02 \x01(\tH\x00R\vdescription\x88\x01\x01\x12\x1f\n" +
	"\vassigned_to\x18\x03 \x01(\tR\n" +
	"assignedToB\x0e\n" +
	"\f_description\"/\n" +
	"\x10GetPolicyRequest\x12\x1b\n" +
	"\tpolicy_id\x18\x01 \x01(\tR\bpolicyId\"\x9e\x01\n" +
	"\x13UpdatePolicyRequest\x12\x1b\n" +
	"\tpolicy_id\x18\x01 \x01(\tR\bpolicyId\x12\x12\n" +
	"\x04name\x18\x02 \x01(\tR\x04name\x12%\n" +
	"\vdescription\x18\x03 \x01(\tH\x00R\vdescription\x88\x01\x01\x12\x1f\n" +
	"\vassigned_to\x18\x04 \x01(\tR\n" +
	"assignedToB\x0e\n" +
	"\f_description\"2\n" +
	"\x13DeletePolicyRequest\x12\x1b\n" +
	"\tpolicy_id\x18\x01 \x01(\tR\bpolicyId\"\xbd\x01\n" +
	"\x11ListRulesResponse\x12<\n" +
	"\x05rules\x18\x01 \x03(\v2&.agntcy.identity.service.v1alpha1.RuleR\x05rules\x12[\n" +
	"\n" +
	"pagination\x18\x02 \x01(\v26.agntcy.identity.service.shared.v1alpha1.PagedResponseH\x00R\n" +
	"pagination\x88\x01\x01B\r\n" +
	"\v_pagination\"\x98\x01\n" +
	"\x10ListRulesRequest\x12\x1b\n" +
	"\tpolicy_id\x18\x01 \x01(\tR\bpolicyId\x12\x17\n" +
	"\x04page\x18\x02 \x01(\x05H\x00R\x04page\x88\x01\x01\x12\x17\n" +
	"\x04size\x18\x03 \x01(\x05H\x01R\x04size\x88\x01\x01\x12\x19\n" +
	"\x05query\x18\x04 \x01(\tH\x02R\x05query\x88\x01\x01B\a\n" +
	"\x05_pageB\a\n" +
	"\x05_sizeB\b\n" +
	"\x06_query\"\x96\x02\n" +
	"\x11CreateRuleRequest\x12\x1b\n" +
	"\tpolicy_id\x18\x01 \x01(\tR\bpolicyId\x12\x12\n" +
	"\x04name\x18\x02 \x01(\tR\x04name\x12%\n" +
	"\vdescription\x18\x03 \x01(\tH\x00R\vdescription\x88\x01\x01\x12\x14\n" +
	"\x05tasks\x18\x04 \x03(\tR\x05tasks\x12*\n" +
	"\x0eneeds_approval\x18\x05 \x01(\bH\x01R\rneedsApproval\x88\x01\x01\x12D\n" +
	"\x06action\x18\x06 \x01(\x0e2,.agntcy.identity.service.v1alpha1.RuleActionR\x06actionB\x0e\n" +
	"\f_descriptionB\x11\n" +
	"\x0f_needs_approval\"F\n" +
	"\x0eGetRuleRequest\x12\x1b\n" +
	"\tpolicy_id\x18\x01 \x01(\tR\bpolicyId\x12\x17\n" +
	"\arule_id\x18\x02 \x01(\tR\x06ruleId\"\xaf\x02\n" +
	"\x11UpdateRuleRequest\x12\x1b\n" +
	"\tpolicy_id\x18\x01 \x01(\tR\bpolicyId\x12\x17\n" +
	"\arule_id\x18\x02 \x01(\tR\x06ruleId\x12\x12\n" +
	"\x04name\x18\x03 \x01(\tR\x04name\x12%\n" +
	"\vdescription\x18\x04 \x01(\tH\x00R\vdescription\x88\x01\x01\x12\x14\n" +
	"\x05tasks\x18\x05 \x03(\tR\x05tasks\x12*\n" +
	"\x0eneeds_approval\x18\x06 \x01(\bH\x01R\rneedsApproval\x88\x01\x01\x12D\n" +
	"\x06action\x18\a \x01(\x0e2,.agntcy.identity.service.v1alpha1.RuleActionR\x06actionB\x0e\n" +
	"\f_descriptionB\x11\n" +
	"\x0f_needs_approval\"I\n" +
	"\x11DeleteRuleRequest\x12\x1b\n" +
	"\tpolicy_id\x18\x01 \x01(\tR\bpolicyId\x12\x17\n" +
	"\arule_id\x18\x02 \x01(\tR\x06ruleId2\xa9\x10\n" +
	"\rPolicyService\x12\xb9\x01\n" +
	"\fListPolicies\x125.agntcy.identity.service.v1alpha1.ListPoliciesRequest\x1a6.agntcy.identity.service.v1alpha1.ListPoliciesResponse\":\x92A\x1d\x12\rList Policies*\fListPolicies\x82\xd3\xe4\x93\x02\x14\x12\x12/v1alpha1/policies\x12\xdf\x01\n" +
	"\x10GetPoliciesCount\x129.agntcy.identity.service.v1alpha1.GetPoliciesCountRequest\x1a:.agntcy.identity.service.v1alpha1.GetPoliciesCountResponse\"T\x92A-\x12\x19Get policies total count.*\x10GetPoliciesCount\x82\xd3\xe4\x93\x02\x1e\x12\x1c/v1alpha1/policies/all/count\x12\xb1\x01\n" +
	"\tGetPolicy\x122.agntcy.identity.service.v1alpha1.GetPolicyRequest\x1a(.agntcy.identity.service.v1alpha1.Policy\"F\x92A\x1d\x12\x10Get Policy by Id*\tGetPolicy\x82\xd3\xe4\x93\x02 \x12\x1e/v1alpha1/policies/{policy_id}\x12\xae\x01\n" +
	"\fCreatePolicy\x125.agntcy.identity.service.v1alpha1.CreatePolicyRequest\x1a(.agntcy.identity.service.v1alpha1.Policy\"=\x92A\x1d\x12\rCreate Policy*\fCreatePolicy\x82\xd3\xe4\x93\x02\x17:\x01*\"\x12/v1alpha1/policies\x12\xba\x01\n" +
	"\fUpdatePolicy\x125.agntcy.identity.service.v1alpha1.UpdatePolicyRequest\x1a(.agntcy.identity.service.v1alpha1.Policy\"I\x92A\x1d\x12\rUpdate Policy*\fUpdatePolicy\x82\xd3\xe4\x93\x02#:\x01*2\x1e/v1alpha1/policies/{policy_id}\x12\xa5\x01\n" +
	"\fDeletePolicy\x125.agntcy.identity.service.v1alpha1.DeletePolicyRequest\x1a\x16.google.protobuf.Empty\"F\x92A\x1d\x12\rDelete Policy*\fDeletePolicy\x82\xd3\xe4\x93\x02 *\x1e/v1alpha1/policies/{policy_id}\x12\xbc\x01\n" +
	"\tListRules\x122.agntcy.identity.service.v1alpha1.ListRulesRequest\x1a3.agntcy.identity.service.v1alpha1.ListRulesResponse\"F\x92A\x17\x12\n" +
	"List Rules*\tListRules\x82\xd3\xe4\x93\x02&\x12$/v1alpha1/policies/{policy_id}/rules\x12\xb7\x01\n" +
	"\aGetRule\x120.agntcy.identity.service.v1alpha1.GetRuleRequest\x1a&.agntcy.identity.service.v1alpha1.Rule\"R\x92A\x19\x12\x0eGet Rule by Id*\aGetRule\x82\xd3\xe4\x93\x020\x12./v1alpha1/policies/{policy_id}/rules/{rule_id}\x12\xb6\x01\n" +
	"\n" +
	"CreateRule\x123.agntcy.identity.service.v1alpha1.CreateRuleRequest\x1a&.agntcy.identity.service.v1alpha1.Rule\"K\x92A\x19\x12\vCreate Rule*\n" +
	"CreateRule\x82\xd3\xe4\x93\x02):\x01*\"$/v1alpha1/policies/{policy_id}/rules\x12\xc0\x01\n" +
	"\n" +
	"UpdateRule\x123.agntcy.identity.service.v1alpha1.UpdateRuleRequest\x1a&.agntcy.identity.service.v1alpha1.Rule\"U\x92A\x19\x12\vUpdate Rule*\n" +
	"UpdateRule\x82\xd3\xe4\x93\x023:\x01*2./v1alpha1/policies/{policy_id}/rules/{rule_id}\x12\xad\x01\n" +
	"\n" +
	"DeleteRule\x123.agntcy.identity.service.v1alpha1.DeleteRuleRequest\x1a\x16.google.protobuf.Empty\"R\x92A\x19\x12\vDelete Rule*\n" +
	"DeleteRule\x82\xd3\xe4\x93\x020*./v1alpha1/policies/{policy_id}/rules/{rule_id}\x1a\v\x92A\b\n" +
	"\x06PolicyBhZfgithub.com/agntcy/identity-service/api/server/agntcy/identity/service/v1alpha1;identity_service_sdk_gob\x06proto3"

var (
	file_agntcy_identity_service_v1alpha1_policy_service_proto_rawDescOnce sync.Once
	file_agntcy_identity_service_v1alpha1_policy_service_proto_rawDescData []byte
)

func file_agntcy_identity_service_v1alpha1_policy_service_proto_rawDescGZIP() []byte {
	file_agntcy_identity_service_v1alpha1_policy_service_proto_rawDescOnce.Do(func() {
		file_agntcy_identity_service_v1alpha1_policy_service_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_agntcy_identity_service_v1alpha1_policy_service_proto_rawDesc), len(file_agntcy_identity_service_v1alpha1_policy_service_proto_rawDesc)))
	})
	return file_agntcy_identity_service_v1alpha1_policy_service_proto_rawDescData
}

var file_agntcy_identity_service_v1alpha1_policy_service_proto_msgTypes = make([]protoimpl.MessageInfo, 14)
var file_agntcy_identity_service_v1alpha1_policy_service_proto_goTypes = []any{
	(*ListPoliciesResponse)(nil),     // 0: agntcy.identity.service.v1alpha1.ListPoliciesResponse
	(*ListPoliciesRequest)(nil),      // 1: agntcy.identity.service.v1alpha1.ListPoliciesRequest
	(*GetPoliciesCountRequest)(nil),  // 2: agntcy.identity.service.v1alpha1.GetPoliciesCountRequest
	(*GetPoliciesCountResponse)(nil), // 3: agntcy.identity.service.v1alpha1.GetPoliciesCountResponse
	(*CreatePolicyRequest)(nil),      // 4: agntcy.identity.service.v1alpha1.CreatePolicyRequest
	(*GetPolicyRequest)(nil),         // 5: agntcy.identity.service.v1alpha1.GetPolicyRequest
	(*UpdatePolicyRequest)(nil),      // 6: agntcy.identity.service.v1alpha1.UpdatePolicyRequest
	(*DeletePolicyRequest)(nil),      // 7: agntcy.identity.service.v1alpha1.DeletePolicyRequest
	(*ListRulesResponse)(nil),        // 8: agntcy.identity.service.v1alpha1.ListRulesResponse
	(*ListRulesRequest)(nil),         // 9: agntcy.identity.service.v1alpha1.ListRulesRequest
	(*CreateRuleRequest)(nil),        // 10: agntcy.identity.service.v1alpha1.CreateRuleRequest
	(*GetRuleRequest)(nil),           // 11: agntcy.identity.service.v1alpha1.GetRuleRequest
	(*UpdateRuleRequest)(nil),        // 12: agntcy.identity.service.v1alpha1.UpdateRuleRequest
	(*DeleteRuleRequest)(nil),        // 13: agntcy.identity.service.v1alpha1.DeleteRuleRequest
	(*Policy)(nil),                   // 14: agntcy.identity.service.v1alpha1.Policy
	(*v1alpha1.PagedResponse)(nil),   // 15: agntcy.identity.service.shared.v1alpha1.PagedResponse
	(*Rule)(nil),                     // 16: agntcy.identity.service.v1alpha1.Rule
	(RuleAction)(0),                  // 17: agntcy.identity.service.v1alpha1.RuleAction
	(*emptypb.Empty)(nil),            // 18: google.protobuf.Empty
}
var file_agntcy_identity_service_v1alpha1_policy_service_proto_depIdxs = []int32{
	14, // 0: agntcy.identity.service.v1alpha1.ListPoliciesResponse.policies:type_name -> agntcy.identity.service.v1alpha1.Policy
	15, // 1: agntcy.identity.service.v1alpha1.ListPoliciesResponse.pagination:type_name -> agntcy.identity.service.shared.v1alpha1.PagedResponse
	16, // 2: agntcy.identity.service.v1alpha1.ListRulesResponse.rules:type_name -> agntcy.identity.service.v1alpha1.Rule
	15, // 3: agntcy.identity.service.v1alpha1.ListRulesResponse.pagination:type_name -> agntcy.identity.service.shared.v1alpha1.PagedResponse
	17, // 4: agntcy.identity.service.v1alpha1.CreateRuleRequest.action:type_name -> agntcy.identity.service.v1alpha1.RuleAction
	17, // 5: agntcy.identity.service.v1alpha1.UpdateRuleRequest.action:type_name -> agntcy.identity.service.v1alpha1.RuleAction
	1,  // 6: agntcy.identity.service.v1alpha1.PolicyService.ListPolicies:input_type -> agntcy.identity.service.v1alpha1.ListPoliciesRequest
	2,  // 7: agntcy.identity.service.v1alpha1.PolicyService.GetPoliciesCount:input_type -> agntcy.identity.service.v1alpha1.GetPoliciesCountRequest
	5,  // 8: agntcy.identity.service.v1alpha1.PolicyService.GetPolicy:input_type -> agntcy.identity.service.v1alpha1.GetPolicyRequest
	4,  // 9: agntcy.identity.service.v1alpha1.PolicyService.CreatePolicy:input_type -> agntcy.identity.service.v1alpha1.CreatePolicyRequest
	6,  // 10: agntcy.identity.service.v1alpha1.PolicyService.UpdatePolicy:input_type -> agntcy.identity.service.v1alpha1.UpdatePolicyRequest
	7,  // 11: agntcy.identity.service.v1alpha1.PolicyService.DeletePolicy:input_type -> agntcy.identity.service.v1alpha1.DeletePolicyRequest
	9,  // 12: agntcy.identity.service.v1alpha1.PolicyService.ListRules:input_type -> agntcy.identity.service.v1alpha1.ListRulesRequest
	11, // 13: agntcy.identity.service.v1alpha1.PolicyService.GetRule:input_type -> agntcy.identity.service.v1alpha1.GetRuleRequest
	10, // 14: agntcy.identity.service.v1alpha1.PolicyService.CreateRule:input_type -> agntcy.identity.service.v1alpha1.CreateRuleRequest
	12, // 15: agntcy.identity.service.v1alpha1.PolicyService.UpdateRule:input_type -> agntcy.identity.service.v1alpha1.UpdateRuleRequest
	13, // 16: agntcy.identity.service.v1alpha1.PolicyService.DeleteRule:input_type -> agntcy.identity.service.v1alpha1.DeleteRuleRequest
	0,  // 17: agntcy.identity.service.v1alpha1.PolicyService.ListPolicies:output_type -> agntcy.identity.service.v1alpha1.ListPoliciesResponse
	3,  // 18: agntcy.identity.service.v1alpha1.PolicyService.GetPoliciesCount:output_type -> agntcy.identity.service.v1alpha1.GetPoliciesCountResponse
	14, // 19: agntcy.identity.service.v1alpha1.PolicyService.GetPolicy:output_type -> agntcy.identity.service.v1alpha1.Policy
	14, // 20: agntcy.identity.service.v1alpha1.PolicyService.CreatePolicy:output_type -> agntcy.identity.service.v1alpha1.Policy
	14, // 21: agntcy.identity.service.v1alpha1.PolicyService.UpdatePolicy:output_type -> agntcy.identity.service.v1alpha1.Policy
	18, // 22: agntcy.identity.service.v1alpha1.PolicyService.DeletePolicy:output_type -> google.protobuf.Empty
	8,  // 23: agntcy.identity.service.v1alpha1.PolicyService.ListRules:output_type -> agntcy.identity.service.v1alpha1.ListRulesResponse
	16, // 24: agntcy.identity.service.v1alpha1.PolicyService.GetRule:output_type -> agntcy.identity.service.v1alpha1.Rule
	16, // 25: agntcy.identity.service.v1alpha1.PolicyService.CreateRule:output_type -> agntcy.identity.service.v1alpha1.Rule
	16, // 26: agntcy.identity.service.v1alpha1.PolicyService.UpdateRule:output_type -> agntcy.identity.service.v1alpha1.Rule
	18, // 27: agntcy.identity.service.v1alpha1.PolicyService.DeleteRule:output_type -> google.protobuf.Empty
	17, // [17:28] is the sub-list for method output_type
	6,  // [6:17] is the sub-list for method input_type
	6,  // [6:6] is the sub-list for extension type_name
	6,  // [6:6] is the sub-list for extension extendee
	0,  // [0:6] is the sub-list for field type_name
}

func init() { file_agntcy_identity_service_v1alpha1_policy_service_proto_init() }
func file_agntcy_identity_service_v1alpha1_policy_service_proto_init() {
	if File_agntcy_identity_service_v1alpha1_policy_service_proto != nil {
		return
	}
	file_agntcy_identity_service_v1alpha1_policy_proto_init()
	file_agntcy_identity_service_v1alpha1_policy_service_proto_msgTypes[0].OneofWrappers = []any{}
	file_agntcy_identity_service_v1alpha1_policy_service_proto_msgTypes[1].OneofWrappers = []any{}
	file_agntcy_identity_service_v1alpha1_policy_service_proto_msgTypes[4].OneofWrappers = []any{}
	file_agntcy_identity_service_v1alpha1_policy_service_proto_msgTypes[6].OneofWrappers = []any{}
	file_agntcy_identity_service_v1alpha1_policy_service_proto_msgTypes[8].OneofWrappers = []any{}
	file_agntcy_identity_service_v1alpha1_policy_service_proto_msgTypes[9].OneofWrappers = []any{}
	file_agntcy_identity_service_v1alpha1_policy_service_proto_msgTypes[10].OneofWrappers = []any{}
	file_agntcy_identity_service_v1alpha1_policy_service_proto_msgTypes[12].OneofWrappers = []any{}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_agntcy_identity_service_v1alpha1_policy_service_proto_rawDesc), len(file_agntcy_identity_service_v1alpha1_policy_service_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   14,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_agntcy_identity_service_v1alpha1_policy_service_proto_goTypes,
		DependencyIndexes: file_agntcy_identity_service_v1alpha1_policy_service_proto_depIdxs,
		MessageInfos:      file_agntcy_identity_service_v1alpha1_policy_service_proto_msgTypes,
	}.Build()
	File_agntcy_identity_service_v1alpha1_policy_service_proto = out.File
	file_agntcy_identity_service_v1alpha1_policy_service_proto_goTypes = nil
	file_agntcy_identity_service_v1alpha1_policy_service_proto_depIdxs = nil
}
