//
//Сервис реализует функционал управления привилегиями.
//Привилегии это услуги на квартиру со статусами, в их число входят привилегии которые можно подключить, но ещё не приобретены

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.30.0
// 	protoc        v4.23.1
// source: keyapis/subscription/v1/keyapis_subscription_privilege_v1.proto

package keyapis_subscription_v1

import (
	_ "google.golang.org/genproto/googleapis/api/annotations"
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	_ "google.golang.org/protobuf/types/descriptorpb"
	reflect "reflect"
	sync "sync"
)

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 Privilege_Type int32

const (
	// Значение не указано
	Privilege_TYPE_UNKNOWN Privilege_Type = 0
	// Умный домофон.
	// Базовые функции.
	// Право доступа к разделу с домофонами и калиткаи.
	// Действие.
	// Закрывает услуги: get_devices_intercom
	Privilege_INTERCOM_USE Privilege_Type = 1
	// Умный домофон.
	// Базовые функции.
	// Право использовать функционал открытия двери домофона и калитки.
	// Действие.
	// Закрывает услуги: post_devices_open_intercom
	Privilege_INTERCOM_OPEN Privilege_Type = 2
	// Умный домофон.
	// Коды.
	// Право использовать функционал кодов домофонов и калиток.
	// Действие.
	// Закрывает услуги: get_devices_codes_intercom, post_devices_codes_intercom, delete_devices_codes_intercom
	Privilege_INTERCOM_CODE_USE Privilege_Type = 3
	// Умный домофон.
	// Ключи.
	// Право использовать функционал физических ключей домофонов и калиток.
	// Действие.
	// Закрывает услуги: get_devices_rfids_intercom, post_devices_rfids_barrier, delete_devices_rfids_barrier
	Privilege_INTERCOM_RFID_USE Privilege_Type = 4
	// Умный домофон.
	// События.
	// Право использовать функционал журнала событий домофонов и калиток.
	// Действие.
	// Закрывает услуги: get_events_intercom
	Privilege_INTERCOM_EVENT_USE Privilege_Type = 5
	// Умный домофон.
	// Камеры.
	// Право использовать функционал просмотра камер и лайв видео с домофонов и калиток.
	// Действие.
	// Закрывает услуги: get_devices_camera_intercom
	Privilege_INTERCOM_CAMERA_USE Privilege_Type = 6
	// Умный домофон.
	// Камеры.
	// Право использовать функционал архива видео с камер домофонов и калиток.
	// Действие.
	// Закрывает услуги: get_video_archive_intercom
	Privilege_INTERCOM_CAMERA_ARCHIVE Privilege_Type = 7
	// Умный домофон.
	// Переадресация.
	// Право перенаправления входящих вызова от домофона в приложения, используется только на сервере.
	// Поведение.
	// Закрывает услуги: devices_call_redirect_to_mobile_app_behavior
	Privilege_INTERCOM_CALLREDIRECT_APP Privilege_Type = 8
	// Умный домофон.
	// Переадресация.
	// Право перенаправление входящих вызовов от домофона на номера ТФОП, используется только на сервере.
	// Поведение.
	// Закрывает услуги: devices_call_redirect_to_pstn_behavior
	Privilege_INTERCOM_CALLREDIRECT_PSTN Privilege_Type = 9
	// Умный домофон.
	// Переадресация.
	// Право перенаправление входящих вызовов от домофона на номера SIP, используется только на сервере.
	// Поведение.
	// Закрывает услуги: devices_call_redirect_to_sip_behavior
	Privilege_INTERCOM_CALLREDIRECT_SIP Privilege_Type = 10
	// Умный шлагбаум.
	// Базовые функции.
	// Право доступа к разделу шлагбаумов.
	// Действие.
	// Закрывает услуги: get_devices_barrier
	Privilege_BARRIER_USE Privilege_Type = 11
	// Умный шлагбаум.
	// Базовые функции.
	// Право использовать функционала поднятия стрелы шлагбаума.
	// Действие.
	// Закрывает услуги: post_devices_open_barrier
	Privilege_BARRIER_OPEN Privilege_Type = 12
	// Умный шлагбаум.
	// Коды.
	// Право использовать функционал открытия шлагбаума по звонку на короткий номер.
	// Действие.
	// Закрывает услуги: get_devices_codes_barrier, post_devices_codes_barrier, delete_devices_codes_barrier
	Privilege_BARRIER_CODE_USE Privilege_Type = 13
	// Умный шлагбаум.
	// События.
	// Право использовать функционал журнала событий шлагбаума.
	// Действие.
	// Закрывает услуги: get_events_barrier
	Privilege_BARRIER_EVENT_USE Privilege_Type = 14
	// Умный шлагбаум.
	// Камеры.
	// Право использовать функционал просмотра камер и лайв видео с шлагбаумов.
	// Действие.
	// Закрывает услуги: get_devices_camera_barrier
	Privilege_BARRIER_CAMERA_USE Privilege_Type = 15
	// Умный шлагбаум.
	// Камеры.
	// Право использовать функционал архива видео с камер, направленных на шлагбаум.
	// Действие.
	// Закрывает услуги: get_video_archive_barrier
	Privilege_BARRIER_CAMERA_ARCHIVE Privilege_Type = 16
	// Распознавание лица.
	// Фото.
	// Право доступа к разделу распознавания лиц.
	// Действие.
	// Закрывает услуги: get_photo_fr_intercom, fr_intercom_access_behavior, post_photo_fr_intercom, delete_photo_fr_intercom
	Privilege_FR_USE Privilege_Type = 17
	// Телеметрия.
	// Базовые функции.
	// Право доступа к разделу показаний приборов учёта.
	// Действие.
	// Закрывает услуги: get_telemetry_rooms_layout
	Privilege_TELEMETRY_USE Privilege_Type = 18
	// Камеры.
	// Базовые функции.
	// Право доступа к разделу камер и лайв видео с них.
	// Действие.
	// Закрывает услуги: get_devices_camera, get_events_camera, get_devices_camera_access_control_panel, get_devices_camera_barrier, get_devices_camera_intercom
	Privilege_CAMERA_USE Privilege_Type = 19
	// Камеры.
	// Базовые функции.
	// Право использовать функционал архива видео с камер видеонаблюдения.
	// Действие.
	// Закрывает услуги: get_video_archive, get_video_archive_access_control_panel
	Privilege_CAMERA_ARCHIVE Privilege_Type = 20
	// Умный домофон.
	// Переадресация.
	// Право приёма входящих вызовов от домофона на аналоговую трубку, используется только на сервере.
	// Поведение.
	// Закрывает услуги: devices_call_to_cms_phones_behavior
	Privilege_INTERCOM_CMS_PHONES_USE Privilege_Type = 21
	// Умный домофон.
	// Переадресация.
	// Право приёма входящих вызовов от домофона на аналоговую трубку, используется только на сервере.
	// Поведение.
	// Закрывает услуги: get_events_camera
	Privilege_CAMERA_EVENT_USE Privilege_Type = 22
)

// Enum value maps for Privilege_Type.
var (
	Privilege_Type_name = map[int32]string{
		0:  "TYPE_UNKNOWN",
		1:  "INTERCOM_USE",
		2:  "INTERCOM_OPEN",
		3:  "INTERCOM_CODE_USE",
		4:  "INTERCOM_RFID_USE",
		5:  "INTERCOM_EVENT_USE",
		6:  "INTERCOM_CAMERA_USE",
		7:  "INTERCOM_CAMERA_ARCHIVE",
		8:  "INTERCOM_CALLREDIRECT_APP",
		9:  "INTERCOM_CALLREDIRECT_PSTN",
		10: "INTERCOM_CALLREDIRECT_SIP",
		11: "BARRIER_USE",
		12: "BARRIER_OPEN",
		13: "BARRIER_CODE_USE",
		14: "BARRIER_EVENT_USE",
		15: "BARRIER_CAMERA_USE",
		16: "BARRIER_CAMERA_ARCHIVE",
		17: "FR_USE",
		18: "TELEMETRY_USE",
		19: "CAMERA_USE",
		20: "CAMERA_ARCHIVE",
		21: "INTERCOM_CMS_PHONES_USE",
		22: "CAMERA_EVENT_USE",
	}
	Privilege_Type_value = map[string]int32{
		"TYPE_UNKNOWN":               0,
		"INTERCOM_USE":               1,
		"INTERCOM_OPEN":              2,
		"INTERCOM_CODE_USE":          3,
		"INTERCOM_RFID_USE":          4,
		"INTERCOM_EVENT_USE":         5,
		"INTERCOM_CAMERA_USE":        6,
		"INTERCOM_CAMERA_ARCHIVE":    7,
		"INTERCOM_CALLREDIRECT_APP":  8,
		"INTERCOM_CALLREDIRECT_PSTN": 9,
		"INTERCOM_CALLREDIRECT_SIP":  10,
		"BARRIER_USE":                11,
		"BARRIER_OPEN":               12,
		"BARRIER_CODE_USE":           13,
		"BARRIER_EVENT_USE":          14,
		"BARRIER_CAMERA_USE":         15,
		"BARRIER_CAMERA_ARCHIVE":     16,
		"FR_USE":                     17,
		"TELEMETRY_USE":              18,
		"CAMERA_USE":                 19,
		"CAMERA_ARCHIVE":             20,
		"INTERCOM_CMS_PHONES_USE":    21,
		"CAMERA_EVENT_USE":           22,
	}
)

func (x Privilege_Type) Enum() *Privilege_Type {
	p := new(Privilege_Type)
	*p = x
	return p
}

func (x Privilege_Type) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (Privilege_Type) Descriptor() protoreflect.EnumDescriptor {
	return file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_enumTypes[0].Descriptor()
}

func (Privilege_Type) Type() protoreflect.EnumType {
	return &file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_enumTypes[0]
}

func (x Privilege_Type) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use Privilege_Type.Descriptor instead.
func (Privilege_Type) EnumDescriptor() ([]byte, []int) {
	return file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_rawDescGZIP(), []int{0, 0}
}

// Типы состояний привилегий
type Privilege_StateType int32

const (
	// Значение не указано
	Privilege_STATE_TYPE_UNKNOWN Privilege_StateType = 0
	// Услуга доступная для подключения на доме пользователя, но не активна.
	// Услуга есть в доступных КВ на ОРПОН, но её нет у пользователя
	Privilege_CAN_BE_PAID Privilege_StateType = 1
	// Услуга не оплачена и не активна.
	// Услуга есть в подписке в статусе: BLOCKED
	Privilege_NOT_PAID Privilege_StateType = 2
	// Услуга отключается, но ещё активна.
	// Услуга есть в подписке в статусе: SCHEDULED_CANCELED
	Privilege_TURNS_OFF Privilege_StateType = 3
	// Услуга в промо-периоде и активна.
	// Услуга есть в подписке в статусе: SETUP.
	// Обычно так создают промоподписки
	Privilege_PROMO Privilege_StateType = 4
	// Услуга оплачена и активна.
	// Услуга есть в подписке в статусе: ACTIVE.
	// Либо услуга есть в подписке с неблокируемой услугой
	Privilege_PAID Privilege_StateType = 5
)

// Enum value maps for Privilege_StateType.
var (
	Privilege_StateType_name = map[int32]string{
		0: "STATE_TYPE_UNKNOWN",
		1: "CAN_BE_PAID",
		2: "NOT_PAID",
		3: "TURNS_OFF",
		4: "PROMO",
		5: "PAID",
	}
	Privilege_StateType_value = map[string]int32{
		"STATE_TYPE_UNKNOWN": 0,
		"CAN_BE_PAID":        1,
		"NOT_PAID":           2,
		"TURNS_OFF":          3,
		"PROMO":              4,
		"PAID":               5,
	}
)

func (x Privilege_StateType) Enum() *Privilege_StateType {
	p := new(Privilege_StateType)
	*p = x
	return p
}

func (x Privilege_StateType) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (Privilege_StateType) Descriptor() protoreflect.EnumDescriptor {
	return file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_enumTypes[1].Descriptor()
}

func (Privilege_StateType) Type() protoreflect.EnumType {
	return &file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_enumTypes[1]
}

func (x Privilege_StateType) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use Privilege_StateType.Descriptor instead.
func (Privilege_StateType) EnumDescriptor() ([]byte, []int) {
	return file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_rawDescGZIP(), []int{0, 1}
}

// Справочник типов значений сортировки
type PrivilegePaging_OrderByType int32

const (
	// Значение не указано
	PrivilegePaging_ORDER_BY_TYPE_UNKNOWN PrivilegePaging_OrderByType = 0
	// По уникальному ключу: orpon+flat_number+type
	PrivilegePaging_KEY PrivilegePaging_OrderByType = 1
)

// Enum value maps for PrivilegePaging_OrderByType.
var (
	PrivilegePaging_OrderByType_name = map[int32]string{
		0: "ORDER_BY_TYPE_UNKNOWN",
		1: "KEY",
	}
	PrivilegePaging_OrderByType_value = map[string]int32{
		"ORDER_BY_TYPE_UNKNOWN": 0,
		"KEY":                   1,
	}
)

func (x PrivilegePaging_OrderByType) Enum() *PrivilegePaging_OrderByType {
	p := new(PrivilegePaging_OrderByType)
	*p = x
	return p
}

func (x PrivilegePaging_OrderByType) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (PrivilegePaging_OrderByType) Descriptor() protoreflect.EnumDescriptor {
	return file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_enumTypes[2].Descriptor()
}

func (PrivilegePaging_OrderByType) Type() protoreflect.EnumType {
	return &file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_enumTypes[2]
}

func (x PrivilegePaging_OrderByType) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use PrivilegePaging_OrderByType.Descriptor instead.
func (PrivilegePaging_OrderByType) EnumDescriptor() ([]byte, []int) {
	return file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_rawDescGZIP(), []int{2, 0}
}

// Справочник типов направлений сортировки
type PrivilegePaging_DirectionType int32

const (
	// Значение не указано
	PrivilegePaging_DIRECTION_TYPE_UNKNOWN PrivilegePaging_DirectionType = 0
	// От большего к меньшему
	PrivilegePaging_DESC PrivilegePaging_DirectionType = 1
	// От меньшего к большему
	PrivilegePaging_ASC PrivilegePaging_DirectionType = 2
)

// Enum value maps for PrivilegePaging_DirectionType.
var (
	PrivilegePaging_DirectionType_name = map[int32]string{
		0: "DIRECTION_TYPE_UNKNOWN",
		1: "DESC",
		2: "ASC",
	}
	PrivilegePaging_DirectionType_value = map[string]int32{
		"DIRECTION_TYPE_UNKNOWN": 0,
		"DESC":                   1,
		"ASC":                    2,
	}
)

func (x PrivilegePaging_DirectionType) Enum() *PrivilegePaging_DirectionType {
	p := new(PrivilegePaging_DirectionType)
	*p = x
	return p
}

func (x PrivilegePaging_DirectionType) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (PrivilegePaging_DirectionType) Descriptor() protoreflect.EnumDescriptor {
	return file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_enumTypes[3].Descriptor()
}

func (PrivilegePaging_DirectionType) Type() protoreflect.EnumType {
	return &file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_enumTypes[3]
}

func (x PrivilegePaging_DirectionType) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use PrivilegePaging_DirectionType.Descriptor instead.
func (PrivilegePaging_DirectionType) EnumDescriptor() ([]byte, []int) {
	return file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_rawDescGZIP(), []int{2, 1}
}

// Привилегия
type Privilege struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// ОРПОН.
	// Идентификатор дома.
	// Уникальный ключ: поля в порядке 1,2,3
	Orpon int64 `protobuf:"varint,1,opt,name=orpon,proto3" json:"orpon,omitempty"`
	// Номер квартиры
	FlatNumber string `protobuf:"bytes,2,opt,name=flat_number,json=flatNumber,proto3" json:"flat_number,omitempty"`
	// Тип привилегии
	Type Privilege_Type `protobuf:"varint,3,opt,name=type,proto3,enum=keyapis.subscription.v1.Privilege_Type" json:"type,omitempty"`
	// Состояние привилегии
	StateType Privilege_StateType `protobuf:"varint,4,opt,name=state_type,json=stateType,proto3,enum=keyapis.subscription.v1.Privilege_StateType" json:"state_type,omitempty"`
}

func (x *Privilege) Reset() {
	*x = Privilege{}
	if protoimpl.UnsafeEnabled {
		mi := &file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_msgTypes[0]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*Privilege) ProtoMessage() {}

func (x *Privilege) ProtoReflect() protoreflect.Message {
	mi := &file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_msgTypes[0]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use Privilege.ProtoReflect.Descriptor instead.
func (*Privilege) Descriptor() ([]byte, []int) {
	return file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_rawDescGZIP(), []int{0}
}

func (x *Privilege) GetOrpon() int64 {
	if x != nil {
		return x.Orpon
	}
	return 0
}

func (x *Privilege) GetFlatNumber() string {
	if x != nil {
		return x.FlatNumber
	}
	return ""
}

func (x *Privilege) GetType() Privilege_Type {
	if x != nil {
		return x.Type
	}
	return Privilege_TYPE_UNKNOWN
}

func (x *Privilege) GetStateType() Privilege_StateType {
	if x != nil {
		return x.StateType
	}
	return Privilege_STATE_TYPE_UNKNOWN
}

// Фильтр по привилегиям
type PrivilegeFilter struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// По ОРПОНам
	Orpons []int64 `protobuf:"varint,1,rep,packed,name=orpons,proto3" json:"orpons,omitempty"`
	// Номера квартир
	FlatNumbers []string `protobuf:"bytes,2,rep,name=flat_numbers,json=flatNumbers,proto3" json:"flat_numbers,omitempty"`
	// По типам привилегий
	Types []Privilege_Type `protobuf:"varint,3,rep,packed,name=types,proto3,enum=keyapis.subscription.v1.Privilege_Type" json:"types,omitempty"`
	// По состояниям привилегий
	StateTypes []Privilege_StateType `protobuf:"varint,4,rep,packed,name=state_types,json=stateTypes,proto3,enum=keyapis.subscription.v1.Privilege_StateType" json:"state_types,omitempty"`
}

func (x *PrivilegeFilter) Reset() {
	*x = PrivilegeFilter{}
	if protoimpl.UnsafeEnabled {
		mi := &file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_msgTypes[1]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*PrivilegeFilter) ProtoMessage() {}

func (x *PrivilegeFilter) ProtoReflect() protoreflect.Message {
	mi := &file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_msgTypes[1]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use PrivilegeFilter.ProtoReflect.Descriptor instead.
func (*PrivilegeFilter) Descriptor() ([]byte, []int) {
	return file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_rawDescGZIP(), []int{1}
}

func (x *PrivilegeFilter) GetOrpons() []int64 {
	if x != nil {
		return x.Orpons
	}
	return nil
}

func (x *PrivilegeFilter) GetFlatNumbers() []string {
	if x != nil {
		return x.FlatNumbers
	}
	return nil
}

func (x *PrivilegeFilter) GetTypes() []Privilege_Type {
	if x != nil {
		return x.Types
	}
	return nil
}

func (x *PrivilegeFilter) GetStateTypes() []Privilege_StateType {
	if x != nil {
		return x.StateTypes
	}
	return nil
}

// Пагинация по привилегиям
type PrivilegePaging struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Тип значения сортировки.
	// По умолчанию: KEY
	OrderByType PrivilegePaging_OrderByType `protobuf:"varint,1,opt,name=order_by_type,json=orderByType,proto3,enum=keyapis.subscription.v1.PrivilegePaging_OrderByType" json:"order_by_type,omitempty"`
	// Тип направления сортировки.
	// По умолчанию: DESC
	DirectionType PrivilegePaging_DirectionType `protobuf:"varint,2,opt,name=direction_type,json=directionType,proto3,enum=keyapis.subscription.v1.PrivilegePaging_DirectionType" json:"direction_type,omitempty"`
	// Количество записей на страницу.
	// Минимальное значение: 1.
	// Максимальное значение: 100.
	// По умолчанию: 20.
	// Если значение 0 (не передано), то выставляем значение по умолчанию
	Limit int32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`
	// Сдвиг.
	// По умолчанию: 0
	Offset int32 `protobuf:"varint,4,opt,name=offset,proto3" json:"offset,omitempty"`
}

func (x *PrivilegePaging) Reset() {
	*x = PrivilegePaging{}
	if protoimpl.UnsafeEnabled {
		mi := &file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_msgTypes[2]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*PrivilegePaging) ProtoMessage() {}

func (x *PrivilegePaging) ProtoReflect() protoreflect.Message {
	mi := &file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_msgTypes[2]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use PrivilegePaging.ProtoReflect.Descriptor instead.
func (*PrivilegePaging) Descriptor() ([]byte, []int) {
	return file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_rawDescGZIP(), []int{2}
}

func (x *PrivilegePaging) GetOrderByType() PrivilegePaging_OrderByType {
	if x != nil {
		return x.OrderByType
	}
	return PrivilegePaging_ORDER_BY_TYPE_UNKNOWN
}

func (x *PrivilegePaging) GetDirectionType() PrivilegePaging_DirectionType {
	if x != nil {
		return x.DirectionType
	}
	return PrivilegePaging_DIRECTION_TYPE_UNKNOWN
}

func (x *PrivilegePaging) GetLimit() int32 {
	if x != nil {
		return x.Limit
	}
	return 0
}

func (x *PrivilegePaging) GetOffset() int32 {
	if x != nil {
		return x.Offset
	}
	return 0
}

// Запрос получения привилегий
type GetPrivilegeListRequest struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Фильтр
	Filter *PrivilegeFilter `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"`
	// Вариант разбиения на страницы
	//
	// Types that are assignable to Pagination:
	//
	//	*GetPrivilegeListRequest_Paging
	Pagination isGetPrivilegeListRequest_Pagination `protobuf_oneof:"pagination"`
}

func (x *GetPrivilegeListRequest) Reset() {
	*x = GetPrivilegeListRequest{}
	if protoimpl.UnsafeEnabled {
		mi := &file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_msgTypes[3]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*GetPrivilegeListRequest) ProtoMessage() {}

func (x *GetPrivilegeListRequest) ProtoReflect() protoreflect.Message {
	mi := &file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_msgTypes[3]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use GetPrivilegeListRequest.ProtoReflect.Descriptor instead.
func (*GetPrivilegeListRequest) Descriptor() ([]byte, []int) {
	return file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_rawDescGZIP(), []int{3}
}

func (x *GetPrivilegeListRequest) GetFilter() *PrivilegeFilter {
	if x != nil {
		return x.Filter
	}
	return nil
}

func (m *GetPrivilegeListRequest) GetPagination() isGetPrivilegeListRequest_Pagination {
	if m != nil {
		return m.Pagination
	}
	return nil
}

func (x *GetPrivilegeListRequest) GetPaging() *PrivilegePaging {
	if x, ok := x.GetPagination().(*GetPrivilegeListRequest_Paging); ok {
		return x.Paging
	}
	return nil
}

type isGetPrivilegeListRequest_Pagination interface {
	isGetPrivilegeListRequest_Pagination()
}

type GetPrivilegeListRequest_Paging struct {
	// Пагинация
	Paging *PrivilegePaging `protobuf:"bytes,2,opt,name=paging,proto3,oneof"`
}

func (*GetPrivilegeListRequest_Paging) isGetPrivilegeListRequest_Pagination() {}

// Ответ на запрос получения привилегий
type GetPrivilegeListResponse struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Тип результата
	//
	// Types that are assignable to Type:
	//
	//	*GetPrivilegeListResponse_Data
	//	*GetPrivilegeListResponse_Error_
	Type isGetPrivilegeListResponse_Type `protobuf_oneof:"type"`
}

func (x *GetPrivilegeListResponse) Reset() {
	*x = GetPrivilegeListResponse{}
	if protoimpl.UnsafeEnabled {
		mi := &file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_msgTypes[4]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*GetPrivilegeListResponse) ProtoMessage() {}

func (x *GetPrivilegeListResponse) ProtoReflect() protoreflect.Message {
	mi := &file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_msgTypes[4]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use GetPrivilegeListResponse.ProtoReflect.Descriptor instead.
func (*GetPrivilegeListResponse) Descriptor() ([]byte, []int) {
	return file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_rawDescGZIP(), []int{4}
}

func (m *GetPrivilegeListResponse) GetType() isGetPrivilegeListResponse_Type {
	if m != nil {
		return m.Type
	}
	return nil
}

func (x *GetPrivilegeListResponse) GetData() *Privilege {
	if x, ok := x.GetType().(*GetPrivilegeListResponse_Data); ok {
		return x.Data
	}
	return nil
}

func (x *GetPrivilegeListResponse) GetError() *GetPrivilegeListResponse_Error {
	if x, ok := x.GetType().(*GetPrivilegeListResponse_Error_); ok {
		return x.Error
	}
	return nil
}

type isGetPrivilegeListResponse_Type interface {
	isGetPrivilegeListResponse_Type()
}

type GetPrivilegeListResponse_Data struct {
	// Предоставленная привилегия
	Data *Privilege `protobuf:"bytes,1,opt,name=data,proto3,oneof"`
}

type GetPrivilegeListResponse_Error_ struct {
	// Ошибка
	Error *GetPrivilegeListResponse_Error `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}

func (*GetPrivilegeListResponse_Data) isGetPrivilegeListResponse_Type() {}

func (*GetPrivilegeListResponse_Error_) isGetPrivilegeListResponse_Type() {}

// Запрос получения количества привилегий
type GetPrivilegeCountRequest struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Фильтр
	Filter *PrivilegeFilter `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"`
}

func (x *GetPrivilegeCountRequest) Reset() {
	*x = GetPrivilegeCountRequest{}
	if protoimpl.UnsafeEnabled {
		mi := &file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_msgTypes[5]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*GetPrivilegeCountRequest) ProtoMessage() {}

func (x *GetPrivilegeCountRequest) ProtoReflect() protoreflect.Message {
	mi := &file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_msgTypes[5]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use GetPrivilegeCountRequest.ProtoReflect.Descriptor instead.
func (*GetPrivilegeCountRequest) Descriptor() ([]byte, []int) {
	return file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_rawDescGZIP(), []int{5}
}

func (x *GetPrivilegeCountRequest) GetFilter() *PrivilegeFilter {
	if x != nil {
		return x.Filter
	}
	return nil
}

// Ответ на запрос получения количества привилегий
type GetPrivilegeCountResponse struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Тип результата
	//
	// Types that are assignable to Type:
	//
	//	*GetPrivilegeCountResponse_Data
	//	*GetPrivilegeCountResponse_Error_
	Type isGetPrivilegeCountResponse_Type `protobuf_oneof:"type"`
}

func (x *GetPrivilegeCountResponse) Reset() {
	*x = GetPrivilegeCountResponse{}
	if protoimpl.UnsafeEnabled {
		mi := &file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_msgTypes[6]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*GetPrivilegeCountResponse) ProtoMessage() {}

func (x *GetPrivilegeCountResponse) ProtoReflect() protoreflect.Message {
	mi := &file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_msgTypes[6]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use GetPrivilegeCountResponse.ProtoReflect.Descriptor instead.
func (*GetPrivilegeCountResponse) Descriptor() ([]byte, []int) {
	return file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_rawDescGZIP(), []int{6}
}

func (m *GetPrivilegeCountResponse) GetType() isGetPrivilegeCountResponse_Type {
	if m != nil {
		return m.Type
	}
	return nil
}

func (x *GetPrivilegeCountResponse) GetData() int32 {
	if x, ok := x.GetType().(*GetPrivilegeCountResponse_Data); ok {
		return x.Data
	}
	return 0
}

func (x *GetPrivilegeCountResponse) GetError() *GetPrivilegeCountResponse_Error {
	if x, ok := x.GetType().(*GetPrivilegeCountResponse_Error_); ok {
		return x.Error
	}
	return nil
}

type isGetPrivilegeCountResponse_Type interface {
	isGetPrivilegeCountResponse_Type()
}

type GetPrivilegeCountResponse_Data struct {
	// Всего привилегий
	Data int32 `protobuf:"varint,1,opt,name=data,proto3,oneof"`
}

type GetPrivilegeCountResponse_Error_ struct {
	// Ошибка
	Error *GetPrivilegeCountResponse_Error `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}

func (*GetPrivilegeCountResponse_Data) isGetPrivilegeCountResponse_Type() {}

func (*GetPrivilegeCountResponse_Error_) isGetPrivilegeCountResponse_Type() {}

// Запрос проверки предоставленной привилегии
type GetPrivilegeCheckRequest struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// ОРПОН.
	// Идентификатор дома
	Orpon int64 `protobuf:"varint,1,opt,name=orpon,proto3" json:"orpon,omitempty"`
	// Номер квартиры
	FlatNumber string `protobuf:"bytes,2,opt,name=flat_number,json=flatNumber,proto3" json:"flat_number,omitempty"`
	// Тип привилегии
	PrivilegeType Privilege_Type `protobuf:"varint,3,opt,name=privilege_type,json=privilegeType,proto3,enum=keyapis.subscription.v1.Privilege_Type" json:"privilege_type,omitempty"`
}

func (x *GetPrivilegeCheckRequest) Reset() {
	*x = GetPrivilegeCheckRequest{}
	if protoimpl.UnsafeEnabled {
		mi := &file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_msgTypes[7]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*GetPrivilegeCheckRequest) ProtoMessage() {}

func (x *GetPrivilegeCheckRequest) ProtoReflect() protoreflect.Message {
	mi := &file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_msgTypes[7]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use GetPrivilegeCheckRequest.ProtoReflect.Descriptor instead.
func (*GetPrivilegeCheckRequest) Descriptor() ([]byte, []int) {
	return file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_rawDescGZIP(), []int{7}
}

func (x *GetPrivilegeCheckRequest) GetOrpon() int64 {
	if x != nil {
		return x.Orpon
	}
	return 0
}

func (x *GetPrivilegeCheckRequest) GetFlatNumber() string {
	if x != nil {
		return x.FlatNumber
	}
	return ""
}

func (x *GetPrivilegeCheckRequest) GetPrivilegeType() Privilege_Type {
	if x != nil {
		return x.PrivilegeType
	}
	return Privilege_TYPE_UNKNOWN
}

// Результат запроса метода проверки предоставленной привилегии
type GetPrivilegeCheckResponse struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Тип результата
	//
	// Types that are assignable to Type:
	//
	//	*GetPrivilegeCheckResponse_Data
	Type isGetPrivilegeCheckResponse_Type `protobuf_oneof:"type"`
}

func (x *GetPrivilegeCheckResponse) Reset() {
	*x = GetPrivilegeCheckResponse{}
	if protoimpl.UnsafeEnabled {
		mi := &file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_msgTypes[8]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*GetPrivilegeCheckResponse) ProtoMessage() {}

func (x *GetPrivilegeCheckResponse) ProtoReflect() protoreflect.Message {
	mi := &file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_msgTypes[8]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use GetPrivilegeCheckResponse.ProtoReflect.Descriptor instead.
func (*GetPrivilegeCheckResponse) Descriptor() ([]byte, []int) {
	return file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_rawDescGZIP(), []int{8}
}

func (m *GetPrivilegeCheckResponse) GetType() isGetPrivilegeCheckResponse_Type {
	if m != nil {
		return m.Type
	}
	return nil
}

func (x *GetPrivilegeCheckResponse) GetData() bool {
	if x, ok := x.GetType().(*GetPrivilegeCheckResponse_Data); ok {
		return x.Data
	}
	return false
}

type isGetPrivilegeCheckResponse_Type interface {
	isGetPrivilegeCheckResponse_Type()
}

type GetPrivilegeCheckResponse_Data struct {
	// Доступна ли привилегия на квартире.
	// Вернётся true если статусы:
	// - PROMO;
	// - PAID;
	// - TURNS_OFF.
	// Вернётся false если статусы:
	// - NOT_PAID;
	// - CAN_BE_PAID;
	// - STATE_TYPE_UNKNOWN;
	// - Не найден
	Data bool `protobuf:"varint,1,opt,name=data,proto3,oneof"`
}

func (*GetPrivilegeCheckResponse_Data) isGetPrivilegeCheckResponse_Type() {}

// Ошибка валидации фильтра по привилегиям.
// Эти проверки выполняются до обращения в базу данных
type PrivilegeFilter_ValidationError struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Причина ошибки
	//
	// Types that are assignable to Reason:
	//
	//	*PrivilegeFilter_ValidationError_Orpons
	//	*PrivilegeFilter_ValidationError_FlatNumbers
	Reason isPrivilegeFilter_ValidationError_Reason `protobuf_oneof:"reason"`
}

func (x *PrivilegeFilter_ValidationError) Reset() {
	*x = PrivilegeFilter_ValidationError{}
	if protoimpl.UnsafeEnabled {
		mi := &file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_msgTypes[9]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*PrivilegeFilter_ValidationError) ProtoMessage() {}

func (x *PrivilegeFilter_ValidationError) ProtoReflect() protoreflect.Message {
	mi := &file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_msgTypes[9]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use PrivilegeFilter_ValidationError.ProtoReflect.Descriptor instead.
func (*PrivilegeFilter_ValidationError) Descriptor() ([]byte, []int) {
	return file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_rawDescGZIP(), []int{1, 0}
}

func (m *PrivilegeFilter_ValidationError) GetReason() isPrivilegeFilter_ValidationError_Reason {
	if m != nil {
		return m.Reason
	}
	return nil
}

func (x *PrivilegeFilter_ValidationError) GetOrpons() *PrivilegeFilter_ValidationError_OrponsInvalid {
	if x, ok := x.GetReason().(*PrivilegeFilter_ValidationError_Orpons); ok {
		return x.Orpons
	}
	return nil
}

func (x *PrivilegeFilter_ValidationError) GetFlatNumbers() *PrivilegeFilter_ValidationError_FlatNumbersInvalid {
	if x, ok := x.GetReason().(*PrivilegeFilter_ValidationError_FlatNumbers); ok {
		return x.FlatNumbers
	}
	return nil
}

type isPrivilegeFilter_ValidationError_Reason interface {
	isPrivilegeFilter_ValidationError_Reason()
}

type PrivilegeFilter_ValidationError_Orpons struct {
	// Формат ОРПОН некорректен
	Orpons *PrivilegeFilter_ValidationError_OrponsInvalid `protobuf:"bytes,1,opt,name=orpons,proto3,oneof"`
}

type PrivilegeFilter_ValidationError_FlatNumbers struct {
	// Формат квартиры некорректен
	FlatNumbers *PrivilegeFilter_ValidationError_FlatNumbersInvalid `protobuf:"bytes,2,opt,name=flat_numbers,json=flatNumbers,proto3,oneof"`
}

func (*PrivilegeFilter_ValidationError_Orpons) isPrivilegeFilter_ValidationError_Reason() {}

func (*PrivilegeFilter_ValidationError_FlatNumbers) isPrivilegeFilter_ValidationError_Reason() {}

// Причины:
// - Формат ОРПОН некорректен;
// - Передано отрицательное значение
type PrivilegeFilter_ValidationError_OrponsInvalid struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields
}

func (x *PrivilegeFilter_ValidationError_OrponsInvalid) Reset() {
	*x = PrivilegeFilter_ValidationError_OrponsInvalid{}
	if protoimpl.UnsafeEnabled {
		mi := &file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_msgTypes[10]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*PrivilegeFilter_ValidationError_OrponsInvalid) ProtoMessage() {}

func (x *PrivilegeFilter_ValidationError_OrponsInvalid) ProtoReflect() protoreflect.Message {
	mi := &file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_msgTypes[10]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use PrivilegeFilter_ValidationError_OrponsInvalid.ProtoReflect.Descriptor instead.
func (*PrivilegeFilter_ValidationError_OrponsInvalid) Descriptor() ([]byte, []int) {
	return file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_rawDescGZIP(), []int{1, 0, 0}
}

// Причины:
// - Формат квартиры некорректен (например, длина номера квартира более 4 знаков);
// - Номер квартиры содержит буквы
type PrivilegeFilter_ValidationError_FlatNumbersInvalid struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields
}

func (x *PrivilegeFilter_ValidationError_FlatNumbersInvalid) Reset() {
	*x = PrivilegeFilter_ValidationError_FlatNumbersInvalid{}
	if protoimpl.UnsafeEnabled {
		mi := &file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_msgTypes[11]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*PrivilegeFilter_ValidationError_FlatNumbersInvalid) ProtoMessage() {}

func (x *PrivilegeFilter_ValidationError_FlatNumbersInvalid) ProtoReflect() protoreflect.Message {
	mi := &file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_msgTypes[11]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use PrivilegeFilter_ValidationError_FlatNumbersInvalid.ProtoReflect.Descriptor instead.
func (*PrivilegeFilter_ValidationError_FlatNumbersInvalid) Descriptor() ([]byte, []int) {
	return file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_rawDescGZIP(), []int{1, 0, 1}
}

// Ошибка валидации постраничной пагинации по привилегиям.
// Эти проверки выполняются до обращения в базу данных
type PrivilegePaging_ValidationError struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Причина ошибки
	//
	// Types that are assignable to Reason:
	//
	//	*PrivilegePaging_ValidationError_Limit
	//	*PrivilegePaging_ValidationError_Offset
	Reason isPrivilegePaging_ValidationError_Reason `protobuf_oneof:"reason"`
}

func (x *PrivilegePaging_ValidationError) Reset() {
	*x = PrivilegePaging_ValidationError{}
	if protoimpl.UnsafeEnabled {
		mi := &file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_msgTypes[12]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*PrivilegePaging_ValidationError) ProtoMessage() {}

func (x *PrivilegePaging_ValidationError) ProtoReflect() protoreflect.Message {
	mi := &file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_msgTypes[12]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use PrivilegePaging_ValidationError.ProtoReflect.Descriptor instead.
func (*PrivilegePaging_ValidationError) Descriptor() ([]byte, []int) {
	return file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_rawDescGZIP(), []int{2, 0}
}

func (m *PrivilegePaging_ValidationError) GetReason() isPrivilegePaging_ValidationError_Reason {
	if m != nil {
		return m.Reason
	}
	return nil
}

func (x *PrivilegePaging_ValidationError) GetLimit() *PrivilegePaging_ValidationError_LimitInvalid {
	if x, ok := x.GetReason().(*PrivilegePaging_ValidationError_Limit); ok {
		return x.Limit
	}
	return nil
}

func (x *PrivilegePaging_ValidationError) GetOffset() *PrivilegePaging_ValidationError_OffsetInvalid {
	if x, ok := x.GetReason().(*PrivilegePaging_ValidationError_Offset); ok {
		return x.Offset
	}
	return nil
}

type isPrivilegePaging_ValidationError_Reason interface {
	isPrivilegePaging_ValidationError_Reason()
}

type PrivilegePaging_ValidationError_Limit struct {
	// Количество передано некорректно
	Limit *PrivilegePaging_ValidationError_LimitInvalid `protobuf:"bytes,1,opt,name=limit,proto3,oneof"`
}

type PrivilegePaging_ValidationError_Offset struct {
	// Сдвиг передан некорректно
	Offset *PrivilegePaging_ValidationError_OffsetInvalid `protobuf:"bytes,2,opt,name=offset,proto3,oneof"`
}

func (*PrivilegePaging_ValidationError_Limit) isPrivilegePaging_ValidationError_Reason() {}

func (*PrivilegePaging_ValidationError_Offset) isPrivilegePaging_ValidationError_Reason() {}

// Причины:
// - Значение количества < 0 или > 100
type PrivilegePaging_ValidationError_LimitInvalid struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields
}

func (x *PrivilegePaging_ValidationError_LimitInvalid) Reset() {
	*x = PrivilegePaging_ValidationError_LimitInvalid{}
	if protoimpl.UnsafeEnabled {
		mi := &file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_msgTypes[13]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*PrivilegePaging_ValidationError_LimitInvalid) ProtoMessage() {}

func (x *PrivilegePaging_ValidationError_LimitInvalid) ProtoReflect() protoreflect.Message {
	mi := &file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_msgTypes[13]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use PrivilegePaging_ValidationError_LimitInvalid.ProtoReflect.Descriptor instead.
func (*PrivilegePaging_ValidationError_LimitInvalid) Descriptor() ([]byte, []int) {
	return file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_rawDescGZIP(), []int{2, 0, 0}
}

// Причины:
// - Значение сдвига < 0
type PrivilegePaging_ValidationError_OffsetInvalid struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields
}

func (x *PrivilegePaging_ValidationError_OffsetInvalid) Reset() {
	*x = PrivilegePaging_ValidationError_OffsetInvalid{}
	if protoimpl.UnsafeEnabled {
		mi := &file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_msgTypes[14]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*PrivilegePaging_ValidationError_OffsetInvalid) ProtoMessage() {}

func (x *PrivilegePaging_ValidationError_OffsetInvalid) ProtoReflect() protoreflect.Message {
	mi := &file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_msgTypes[14]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use PrivilegePaging_ValidationError_OffsetInvalid.ProtoReflect.Descriptor instead.
func (*PrivilegePaging_ValidationError_OffsetInvalid) Descriptor() ([]byte, []int) {
	return file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_rawDescGZIP(), []int{2, 0, 1}
}

// Ошибка запроса получения привилегий
type GetPrivilegeListResponse_Error struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Причина ошибки
	//
	// Types that are assignable to Reason:
	//
	//	*GetPrivilegeListResponse_Error_PrivilegeFilterValidation
	//	*GetPrivilegeListResponse_Error_PrivilegePagingValidation
	Reason isGetPrivilegeListResponse_Error_Reason `protobuf_oneof:"reason"`
}

func (x *GetPrivilegeListResponse_Error) Reset() {
	*x = GetPrivilegeListResponse_Error{}
	if protoimpl.UnsafeEnabled {
		mi := &file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_msgTypes[15]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*GetPrivilegeListResponse_Error) ProtoMessage() {}

func (x *GetPrivilegeListResponse_Error) ProtoReflect() protoreflect.Message {
	mi := &file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_msgTypes[15]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use GetPrivilegeListResponse_Error.ProtoReflect.Descriptor instead.
func (*GetPrivilegeListResponse_Error) Descriptor() ([]byte, []int) {
	return file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_rawDescGZIP(), []int{4, 0}
}

func (m *GetPrivilegeListResponse_Error) GetReason() isGetPrivilegeListResponse_Error_Reason {
	if m != nil {
		return m.Reason
	}
	return nil
}

func (x *GetPrivilegeListResponse_Error) GetPrivilegeFilterValidation() *PrivilegeFilter_ValidationError {
	if x, ok := x.GetReason().(*GetPrivilegeListResponse_Error_PrivilegeFilterValidation); ok {
		return x.PrivilegeFilterValidation
	}
	return nil
}

func (x *GetPrivilegeListResponse_Error) GetPrivilegePagingValidation() *PrivilegePaging_ValidationError {
	if x, ok := x.GetReason().(*GetPrivilegeListResponse_Error_PrivilegePagingValidation); ok {
		return x.PrivilegePagingValidation
	}
	return nil
}

type isGetPrivilegeListResponse_Error_Reason interface {
	isGetPrivilegeListResponse_Error_Reason()
}

type GetPrivilegeListResponse_Error_PrivilegeFilterValidation struct {
	// Ошибка фильтрации по страницам
	PrivilegeFilterValidation *PrivilegeFilter_ValidationError `protobuf:"bytes,1,opt,name=privilege_filter_validation,json=privilegeFilterValidation,proto3,oneof"`
}

type GetPrivilegeListResponse_Error_PrivilegePagingValidation struct {
	// Ошибка пагинации по страницам
	PrivilegePagingValidation *PrivilegePaging_ValidationError `protobuf:"bytes,2,opt,name=privilege_paging_validation,json=privilegePagingValidation,proto3,oneof"`
}

func (*GetPrivilegeListResponse_Error_PrivilegeFilterValidation) isGetPrivilegeListResponse_Error_Reason() {
}

func (*GetPrivilegeListResponse_Error_PrivilegePagingValidation) isGetPrivilegeListResponse_Error_Reason() {
}

// Ошибка запроса получения количества привилегий
type GetPrivilegeCountResponse_Error struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Причина ошибки
	//
	// Types that are assignable to Reason:
	//
	//	*GetPrivilegeCountResponse_Error_PrivilegeFilterValidation
	Reason isGetPrivilegeCountResponse_Error_Reason `protobuf_oneof:"reason"`
}

func (x *GetPrivilegeCountResponse_Error) Reset() {
	*x = GetPrivilegeCountResponse_Error{}
	if protoimpl.UnsafeEnabled {
		mi := &file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_msgTypes[16]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*GetPrivilegeCountResponse_Error) ProtoMessage() {}

func (x *GetPrivilegeCountResponse_Error) ProtoReflect() protoreflect.Message {
	mi := &file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_msgTypes[16]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use GetPrivilegeCountResponse_Error.ProtoReflect.Descriptor instead.
func (*GetPrivilegeCountResponse_Error) Descriptor() ([]byte, []int) {
	return file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_rawDescGZIP(), []int{6, 0}
}

func (m *GetPrivilegeCountResponse_Error) GetReason() isGetPrivilegeCountResponse_Error_Reason {
	if m != nil {
		return m.Reason
	}
	return nil
}

func (x *GetPrivilegeCountResponse_Error) GetPrivilegeFilterValidation() *PrivilegeFilter_ValidationError {
	if x, ok := x.GetReason().(*GetPrivilegeCountResponse_Error_PrivilegeFilterValidation); ok {
		return x.PrivilegeFilterValidation
	}
	return nil
}

type isGetPrivilegeCountResponse_Error_Reason interface {
	isGetPrivilegeCountResponse_Error_Reason()
}

type GetPrivilegeCountResponse_Error_PrivilegeFilterValidation struct {
	// Ошибка фильтрации по страницам по привилегиям
	PrivilegeFilterValidation *PrivilegeFilter_ValidationError `protobuf:"bytes,1,opt,name=privilege_filter_validation,json=privilegeFilterValidation,proto3,oneof"`
}

func (*GetPrivilegeCountResponse_Error_PrivilegeFilterValidation) isGetPrivilegeCountResponse_Error_Reason() {
}

var File_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto protoreflect.FileDescriptor

var file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_rawDesc = []byte{
	0x0a, 0x3f, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72,
	0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x2f, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69,
	0x73, 0x5f, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70,
	0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x5f, 0x76, 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74,
	0x6f, 0x12, 0x17, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x73, 0x75, 0x62, 0x73, 0x63,
	0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67,
	0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f,
	0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
	0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76,
	0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
	0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72,
	0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xdc, 0x06, 0x0a, 0x09,
	0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x12, 0x19, 0x0a, 0x05, 0x6f, 0x72, 0x70,
	0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x05, 0x6f,
	0x72, 0x70, 0x6f, 0x6e, 0x12, 0x24, 0x0a, 0x0b, 0x66, 0x6c, 0x61, 0x74, 0x5f, 0x6e, 0x75, 0x6d,
	0x62, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a,
	0x66, 0x6c, 0x61, 0x74, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x40, 0x0a, 0x04, 0x74, 0x79,
	0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x6b, 0x65, 0x79, 0x61, 0x70,
	0x69, 0x73, 0x2e, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e,
	0x76, 0x31, 0x2e, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x2e, 0x54, 0x79, 0x70,
	0x65, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x50, 0x0a, 0x0a,
	0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e,
	0x32, 0x2c, 0x2e, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x73, 0x75, 0x62, 0x73, 0x63,
	0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x69, 0x76, 0x69,
	0x6c, 0x65, 0x67, 0x65, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x54, 0x79, 0x70, 0x65, 0x42, 0x03,
	0xe0, 0x41, 0x02, 0x52, 0x09, 0x73, 0x74, 0x61, 0x74, 0x65, 0x54, 0x79, 0x70, 0x65, 0x22, 0x91,
	0x04, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, 0x0c, 0x54, 0x59, 0x50, 0x45, 0x5f,
	0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x49, 0x4e, 0x54,
	0x45, 0x52, 0x43, 0x4f, 0x4d, 0x5f, 0x55, 0x53, 0x45, 0x10, 0x01, 0x12, 0x11, 0x0a, 0x0d, 0x49,
	0x4e, 0x54, 0x45, 0x52, 0x43, 0x4f, 0x4d, 0x5f, 0x4f, 0x50, 0x45, 0x4e, 0x10, 0x02, 0x12, 0x15,
	0x0a, 0x11, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x43, 0x4f, 0x4d, 0x5f, 0x43, 0x4f, 0x44, 0x45, 0x5f,
	0x55, 0x53, 0x45, 0x10, 0x03, 0x12, 0x15, 0x0a, 0x11, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x43, 0x4f,
	0x4d, 0x5f, 0x52, 0x46, 0x49, 0x44, 0x5f, 0x55, 0x53, 0x45, 0x10, 0x04, 0x12, 0x16, 0x0a, 0x12,
	0x49, 0x4e, 0x54, 0x45, 0x52, 0x43, 0x4f, 0x4d, 0x5f, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, 0x55,
	0x53, 0x45, 0x10, 0x05, 0x12, 0x17, 0x0a, 0x13, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x43, 0x4f, 0x4d,
	0x5f, 0x43, 0x41, 0x4d, 0x45, 0x52, 0x41, 0x5f, 0x55, 0x53, 0x45, 0x10, 0x06, 0x12, 0x1b, 0x0a,
	0x17, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x43, 0x4f, 0x4d, 0x5f, 0x43, 0x41, 0x4d, 0x45, 0x52, 0x41,
	0x5f, 0x41, 0x52, 0x43, 0x48, 0x49, 0x56, 0x45, 0x10, 0x07, 0x12, 0x1d, 0x0a, 0x19, 0x49, 0x4e,
	0x54, 0x45, 0x52, 0x43, 0x4f, 0x4d, 0x5f, 0x43, 0x41, 0x4c, 0x4c, 0x52, 0x45, 0x44, 0x49, 0x52,
	0x45, 0x43, 0x54, 0x5f, 0x41, 0x50, 0x50, 0x10, 0x08, 0x12, 0x1e, 0x0a, 0x1a, 0x49, 0x4e, 0x54,
	0x45, 0x52, 0x43, 0x4f, 0x4d, 0x5f, 0x43, 0x41, 0x4c, 0x4c, 0x52, 0x45, 0x44, 0x49, 0x52, 0x45,
	0x43, 0x54, 0x5f, 0x50, 0x53, 0x54, 0x4e, 0x10, 0x09, 0x12, 0x1d, 0x0a, 0x19, 0x49, 0x4e, 0x54,
	0x45, 0x52, 0x43, 0x4f, 0x4d, 0x5f, 0x43, 0x41, 0x4c, 0x4c, 0x52, 0x45, 0x44, 0x49, 0x52, 0x45,
	0x43, 0x54, 0x5f, 0x53, 0x49, 0x50, 0x10, 0x0a, 0x12, 0x0f, 0x0a, 0x0b, 0x42, 0x41, 0x52, 0x52,
	0x49, 0x45, 0x52, 0x5f, 0x55, 0x53, 0x45, 0x10, 0x0b, 0x12, 0x10, 0x0a, 0x0c, 0x42, 0x41, 0x52,
	0x52, 0x49, 0x45, 0x52, 0x5f, 0x4f, 0x50, 0x45, 0x4e, 0x10, 0x0c, 0x12, 0x14, 0x0a, 0x10, 0x42,
	0x41, 0x52, 0x52, 0x49, 0x45, 0x52, 0x5f, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x55, 0x53, 0x45, 0x10,
	0x0d, 0x12, 0x15, 0x0a, 0x11, 0x42, 0x41, 0x52, 0x52, 0x49, 0x45, 0x52, 0x5f, 0x45, 0x56, 0x45,
	0x4e, 0x54, 0x5f, 0x55, 0x53, 0x45, 0x10, 0x0e, 0x12, 0x16, 0x0a, 0x12, 0x42, 0x41, 0x52, 0x52,
	0x49, 0x45, 0x52, 0x5f, 0x43, 0x41, 0x4d, 0x45, 0x52, 0x41, 0x5f, 0x55, 0x53, 0x45, 0x10, 0x0f,
	0x12, 0x1a, 0x0a, 0x16, 0x42, 0x41, 0x52, 0x52, 0x49, 0x45, 0x52, 0x5f, 0x43, 0x41, 0x4d, 0x45,
	0x52, 0x41, 0x5f, 0x41, 0x52, 0x43, 0x48, 0x49, 0x56, 0x45, 0x10, 0x10, 0x12, 0x0a, 0x0a, 0x06,
	0x46, 0x52, 0x5f, 0x55, 0x53, 0x45, 0x10, 0x11, 0x12, 0x11, 0x0a, 0x0d, 0x54, 0x45, 0x4c, 0x45,
	0x4d, 0x45, 0x54, 0x52, 0x59, 0x5f, 0x55, 0x53, 0x45, 0x10, 0x12, 0x12, 0x0e, 0x0a, 0x0a, 0x43,
	0x41, 0x4d, 0x45, 0x52, 0x41, 0x5f, 0x55, 0x53, 0x45, 0x10, 0x13, 0x12, 0x12, 0x0a, 0x0e, 0x43,
	0x41, 0x4d, 0x45, 0x52, 0x41, 0x5f, 0x41, 0x52, 0x43, 0x48, 0x49, 0x56, 0x45, 0x10, 0x14, 0x12,
	0x1b, 0x0a, 0x17, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x43, 0x4f, 0x4d, 0x5f, 0x43, 0x4d, 0x53, 0x5f,
	0x50, 0x48, 0x4f, 0x4e, 0x45, 0x53, 0x5f, 0x55, 0x53, 0x45, 0x10, 0x15, 0x12, 0x14, 0x0a, 0x10,
	0x43, 0x41, 0x4d, 0x45, 0x52, 0x41, 0x5f, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, 0x55, 0x53, 0x45,
	0x10, 0x16, 0x22, 0x66, 0x0a, 0x09, 0x53, 0x74, 0x61, 0x74, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12,
	0x16, 0x0a, 0x12, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e,
	0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x43, 0x41, 0x4e, 0x5f, 0x42,
	0x45, 0x5f, 0x50, 0x41, 0x49, 0x44, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x4e, 0x4f, 0x54, 0x5f,
	0x50, 0x41, 0x49, 0x44, 0x10, 0x02, 0x12, 0x0d, 0x0a, 0x09, 0x54, 0x55, 0x52, 0x4e, 0x53, 0x5f,
	0x4f, 0x46, 0x46, 0x10, 0x03, 0x12, 0x09, 0x0a, 0x05, 0x50, 0x52, 0x4f, 0x4d, 0x4f, 0x10, 0x04,
	0x12, 0x08, 0x0a, 0x04, 0x50, 0x41, 0x49, 0x44, 0x10, 0x05, 0x22, 0xf3, 0x03, 0x0a, 0x0f, 0x50,
	0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x16,
	0x0a, 0x06, 0x6f, 0x72, 0x70, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x03, 0x52, 0x06,
	0x6f, 0x72, 0x70, 0x6f, 0x6e, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x66, 0x6c, 0x61, 0x74, 0x5f, 0x6e,
	0x75, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x66, 0x6c,
	0x61, 0x74, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x12, 0x3d, 0x0a, 0x05, 0x74, 0x79, 0x70,
	0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x6b, 0x65, 0x79, 0x61, 0x70,
	0x69, 0x73, 0x2e, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e,
	0x76, 0x31, 0x2e, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x2e, 0x54, 0x79, 0x70,
	0x65, 0x52, 0x05, 0x74, 0x79, 0x70, 0x65, 0x73, 0x12, 0x4d, 0x0a, 0x0b, 0x73, 0x74, 0x61, 0x74,
	0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x2c, 0x2e,
	0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70,
	0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67,
	0x65, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x73, 0x74, 0x61,
	0x74, 0x65, 0x54, 0x79, 0x70, 0x65, 0x73, 0x1a, 0x96, 0x02, 0x0a, 0x0f, 0x56, 0x61, 0x6c, 0x69,
	0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x60, 0x0a, 0x06, 0x6f,
	0x72, 0x70, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x46, 0x2e, 0x6b, 0x65,
	0x79, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69,
	0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x46,
	0x69, 0x6c, 0x74, 0x65, 0x72, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e,
	0x45, 0x72, 0x72, 0x6f, 0x72, 0x2e, 0x4f, 0x72, 0x70, 0x6f, 0x6e, 0x73, 0x49, 0x6e, 0x76, 0x61,
	0x6c, 0x69, 0x64, 0x48, 0x00, 0x52, 0x06, 0x6f, 0x72, 0x70, 0x6f, 0x6e, 0x73, 0x12, 0x70, 0x0a,
	0x0c, 0x66, 0x6c, 0x61, 0x74, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20,
	0x01, 0x28, 0x0b, 0x32, 0x4b, 0x2e, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x73, 0x75,
	0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72,
	0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x2e, 0x56, 0x61,
	0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x2e, 0x46, 0x6c,
	0x61, 0x74, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64,
	0x48, 0x00, 0x52, 0x0b, 0x66, 0x6c, 0x61, 0x74, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x1a,
	0x0f, 0x0a, 0x0d, 0x4f, 0x72, 0x70, 0x6f, 0x6e, 0x73, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64,
	0x1a, 0x14, 0x0a, 0x12, 0x46, 0x6c, 0x61, 0x74, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x49,
	0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x42, 0x08, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e,
	0x22, 0xeb, 0x04, 0x0a, 0x0f, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x50, 0x61,
	0x67, 0x69, 0x6e, 0x67, 0x12, 0x58, 0x0a, 0x0d, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x62, 0x79,
	0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x34, 0x2e, 0x6b, 0x65,
	0x79, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69,
	0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x50,
	0x61, 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x42, 0x79, 0x54, 0x79, 0x70,
	0x65, 0x52, 0x0b, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x42, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x5d,
	0x0a, 0x0e, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65,
	0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x36, 0x2e, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73,
	0x2e, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31,
	0x2e, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x67,
	0x2e, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0d,
	0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a,
	0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6c, 0x69,
	0x6d, 0x69, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x04, 0x20,
	0x01, 0x28, 0x05, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x1a, 0xfd, 0x01, 0x0a, 0x0f,
	0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12,
	0x5d, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x45,
	0x2e, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69,
	0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65,
	0x67, 0x65, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74,
	0x69, 0x6f, 0x6e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x2e, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x49, 0x6e,
	0x76, 0x61, 0x6c, 0x69, 0x64, 0x48, 0x00, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x60,
	0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x46,
	0x2e, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69,
	0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65,
	0x67, 0x65, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74,
	0x69, 0x6f, 0x6e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x2e, 0x4f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x49,
	0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x48, 0x00, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74,
	0x1a, 0x0e, 0x0a, 0x0c, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64,
	0x1a, 0x0f, 0x0a, 0x0d, 0x4f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69,
	0x64, 0x42, 0x08, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x22, 0x31, 0x0a, 0x0b, 0x4f,
	0x72, 0x64, 0x65, 0x72, 0x42, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x19, 0x0a, 0x15, 0x4f, 0x52,
	0x44, 0x45, 0x52, 0x5f, 0x42, 0x59, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x4b, 0x4e,
	0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x4b, 0x45, 0x59, 0x10, 0x01, 0x22, 0x3e,
	0x0a, 0x0d, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12,
	0x1a, 0x0a, 0x16, 0x44, 0x49, 0x52, 0x45, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50,
	0x45, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x44,
	0x45, 0x53, 0x43, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x41, 0x53, 0x43, 0x10, 0x02, 0x22, 0xad,
	0x01, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x4c,
	0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x40, 0x0a, 0x06, 0x66, 0x69,
	0x6c, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6b, 0x65, 0x79,
	0x61, 0x70, 0x69, 0x73, 0x2e, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f,
	0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x46, 0x69,
	0x6c, 0x74, 0x65, 0x72, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x42, 0x0a, 0x06,
	0x70, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6b,
	0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74,
	0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65,
	0x50, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x48, 0x00, 0x52, 0x06, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x67,
	0x42, 0x0c, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xb9,
	0x03, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x4c,
	0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x38, 0x0a, 0x04, 0x64,
	0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x6b, 0x65, 0x79, 0x61,
	0x70, 0x69, 0x73, 0x2e, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e,
	0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x48, 0x00, 0x52,
	0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x4f, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02,
	0x20, 0x01, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x73,
	0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x47,
	0x65, 0x74, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x52,
	0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x48, 0x00, 0x52,
	0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x1a, 0x89, 0x02, 0x0a, 0x05, 0x45, 0x72, 0x72, 0x6f, 0x72,
	0x12, 0x7a, 0x0a, 0x1b, 0x70, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x5f, 0x66, 0x69,
	0x6c, 0x74, 0x65, 0x72, 0x5f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18,
	0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x2e,
	0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e,
	0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x2e,
	0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x48,
	0x00, 0x52, 0x19, 0x70, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x46, 0x69, 0x6c, 0x74,
	0x65, 0x72, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x7a, 0x0a, 0x1b,
	0x70, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x5f, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x67,
	0x5f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28,
	0x0b, 0x32, 0x38, 0x2e, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x73, 0x75, 0x62, 0x73,
	0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x69, 0x76,
	0x69, 0x6c, 0x65, 0x67, 0x65, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x56, 0x61, 0x6c, 0x69,
	0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x48, 0x00, 0x52, 0x19, 0x70,
	0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x56, 0x61,
	0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x08, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73,
	0x6f, 0x6e, 0x42, 0x06, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x5c, 0x0a, 0x18, 0x47, 0x65,
	0x74, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52,
	0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x40, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72,
	0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73,
	0x2e, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31,
	0x2e, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72,
	0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, 0x9b, 0x02, 0x0a, 0x19, 0x47, 0x65, 0x74,
	0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65,
	0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01,
	0x20, 0x01, 0x28, 0x05, 0x48, 0x00, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x50, 0x0a, 0x05,
	0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x6b, 0x65,
	0x79, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69,
	0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65,
	0x67, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e,
	0x45, 0x72, 0x72, 0x6f, 0x72, 0x48, 0x00, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x1a, 0x8d,
	0x01, 0x0a, 0x05, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x7a, 0x0a, 0x1b, 0x70, 0x72, 0x69, 0x76,
	0x69, 0x6c, 0x65, 0x67, 0x65, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x5f, 0x76, 0x61, 0x6c,
	0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x38, 0x2e,
	0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70,
	0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67,
	0x65, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69,
	0x6f, 0x6e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x48, 0x00, 0x52, 0x19, 0x70, 0x72, 0x69, 0x76, 0x69,
	0x6c, 0x65, 0x67, 0x65, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61,
	0x74, 0x69, 0x6f, 0x6e, 0x42, 0x08, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x42, 0x06,
	0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0xb0, 0x01, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x50, 0x72,
	0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75,
	0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x05, 0x6f, 0x72, 0x70, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01,
	0x28, 0x03, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x05, 0x6f, 0x72, 0x70, 0x6f, 0x6e, 0x12, 0x24,
	0x0a, 0x0b, 0x66, 0x6c, 0x61, 0x74, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x02, 0x20,
	0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, 0x66, 0x6c, 0x61, 0x74, 0x4e, 0x75,
	0x6d, 0x62, 0x65, 0x72, 0x12, 0x53, 0x0a, 0x0e, 0x70, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67,
	0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x6b,
	0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74,
	0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65,
	0x2e, 0x54, 0x79, 0x70, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0d, 0x70, 0x72, 0x69, 0x76,
	0x69, 0x6c, 0x65, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x22, 0x39, 0x0a, 0x19, 0x47, 0x65, 0x74,
	0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65,
	0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01,
	0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x42, 0x06, 0x0a, 0x04,
	0x74, 0x79, 0x70, 0x65, 0x32, 0xb8, 0x04, 0x0a, 0x10, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65,
	0x67, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xa6, 0x01, 0x0a, 0x10, 0x47, 0x65,
	0x74, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x30,
	0x2e, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69,
	0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x72, 0x69, 0x76,
	0x69, 0x6c, 0x65, 0x67, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
	0x1a, 0x31, 0x2e, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x73, 0x75, 0x62, 0x73, 0x63,
	0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x72,
	0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f,
	0x6e, 0x73, 0x65, 0x22, 0x2b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x25, 0x12, 0x23, 0x2f, 0x73, 0x75,
	0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76,
	0x31, 0x2f, 0x70, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x2f, 0x6c, 0x69, 0x73, 0x74,
	0x30, 0x01, 0x12, 0xa8, 0x01, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c,
	0x65, 0x67, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x31, 0x2e, 0x6b, 0x65, 0x79, 0x61, 0x70,
	0x69, 0x73, 0x2e, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e,
	0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x43,
	0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x6b, 0x65,
	0x79, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69,
	0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65,
	0x67, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
	0x2c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x26, 0x12, 0x24, 0x2f, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72,
	0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72,
	0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x2f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0xcf, 0x01,
	0x0a, 0x11, 0x47, 0x65, 0x74, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x43, 0x68,
	0x65, 0x63, 0x6b, 0x12, 0x31, 0x2e, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x73, 0x75,
	0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65,
	0x74, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52,
	0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73,
	0x2e, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31,
	0x2e, 0x47, 0x65, 0x74, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x43, 0x68, 0x65,
	0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x53, 0x82, 0xd3, 0xe4, 0x93,
	0x02, 0x4d, 0x12, 0x4b, 0x2f, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f,
	0x6e, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65,
	0x67, 0x65, 0x2f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x2f, 0x7b, 0x6f, 0x72, 0x70, 0x6f, 0x6e, 0x7d,
	0x2f, 0x7b, 0x66, 0x6c, 0x61, 0x74, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x7d, 0x2f, 0x7b,
	0x70, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x7d, 0x42,
	0xc4, 0x01, 0x0a, 0x1a, 0x72, 0x75, 0x2e, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x73,
	0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x42, 0x1a,
	0x4b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74,
	0x69, 0x6f, 0x6e, 0x56, 0x31, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x48, 0x03, 0x50, 0x00, 0x5a, 0x18,
	0x2f, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x5f, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69,
	0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x76, 0x31, 0xd8, 0x01, 0x01, 0xf8, 0x01, 0x01, 0xa2, 0x02,
	0x15, 0x4b, 0x45, 0x59, 0x41, 0x50, 0x49, 0x53, 0x53, 0x55, 0x42, 0x53, 0x43, 0x52, 0x49, 0x50,
	0x54, 0x49, 0x4f, 0x4e, 0x56, 0x31, 0xaa, 0x02, 0x17, 0x4b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73,
	0x2e, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x56, 0x31,
	0xca, 0x02, 0x17, 0x4b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x5c, 0x53, 0x75, 0x62, 0x73, 0x63,
	0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x19, 0x4b, 0x65, 0x79,
	0x61, 0x70, 0x69, 0x73, 0x3a, 0x3a, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69,
	0x6f, 0x6e, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}

var (
	file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_rawDescOnce sync.Once
	file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_rawDescData = file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_rawDesc
)

func file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_rawDescGZIP() []byte {
	file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_rawDescOnce.Do(func() {
		file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_rawDescData = protoimpl.X.CompressGZIP(file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_rawDescData)
	})
	return file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_rawDescData
}

var file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_enumTypes = make([]protoimpl.EnumInfo, 4)
var file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_msgTypes = make([]protoimpl.MessageInfo, 17)
var file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_goTypes = []interface{}{
	(Privilege_Type)(0),                                        // 0: keyapis.subscription.v1.Privilege.Type
	(Privilege_StateType)(0),                                   // 1: keyapis.subscription.v1.Privilege.StateType
	(PrivilegePaging_OrderByType)(0),                           // 2: keyapis.subscription.v1.PrivilegePaging.OrderByType
	(PrivilegePaging_DirectionType)(0),                         // 3: keyapis.subscription.v1.PrivilegePaging.DirectionType
	(*Privilege)(nil),                                          // 4: keyapis.subscription.v1.Privilege
	(*PrivilegeFilter)(nil),                                    // 5: keyapis.subscription.v1.PrivilegeFilter
	(*PrivilegePaging)(nil),                                    // 6: keyapis.subscription.v1.PrivilegePaging
	(*GetPrivilegeListRequest)(nil),                            // 7: keyapis.subscription.v1.GetPrivilegeListRequest
	(*GetPrivilegeListResponse)(nil),                           // 8: keyapis.subscription.v1.GetPrivilegeListResponse
	(*GetPrivilegeCountRequest)(nil),                           // 9: keyapis.subscription.v1.GetPrivilegeCountRequest
	(*GetPrivilegeCountResponse)(nil),                          // 10: keyapis.subscription.v1.GetPrivilegeCountResponse
	(*GetPrivilegeCheckRequest)(nil),                           // 11: keyapis.subscription.v1.GetPrivilegeCheckRequest
	(*GetPrivilegeCheckResponse)(nil),                          // 12: keyapis.subscription.v1.GetPrivilegeCheckResponse
	(*PrivilegeFilter_ValidationError)(nil),                    // 13: keyapis.subscription.v1.PrivilegeFilter.ValidationError
	(*PrivilegeFilter_ValidationError_OrponsInvalid)(nil),      // 14: keyapis.subscription.v1.PrivilegeFilter.ValidationError.OrponsInvalid
	(*PrivilegeFilter_ValidationError_FlatNumbersInvalid)(nil), // 15: keyapis.subscription.v1.PrivilegeFilter.ValidationError.FlatNumbersInvalid
	(*PrivilegePaging_ValidationError)(nil),                    // 16: keyapis.subscription.v1.PrivilegePaging.ValidationError
	(*PrivilegePaging_ValidationError_LimitInvalid)(nil),       // 17: keyapis.subscription.v1.PrivilegePaging.ValidationError.LimitInvalid
	(*PrivilegePaging_ValidationError_OffsetInvalid)(nil),      // 18: keyapis.subscription.v1.PrivilegePaging.ValidationError.OffsetInvalid
	(*GetPrivilegeListResponse_Error)(nil),                     // 19: keyapis.subscription.v1.GetPrivilegeListResponse.Error
	(*GetPrivilegeCountResponse_Error)(nil),                    // 20: keyapis.subscription.v1.GetPrivilegeCountResponse.Error
}
var file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_depIdxs = []int32{
	0,  // 0: keyapis.subscription.v1.Privilege.type:type_name -> keyapis.subscription.v1.Privilege.Type
	1,  // 1: keyapis.subscription.v1.Privilege.state_type:type_name -> keyapis.subscription.v1.Privilege.StateType
	0,  // 2: keyapis.subscription.v1.PrivilegeFilter.types:type_name -> keyapis.subscription.v1.Privilege.Type
	1,  // 3: keyapis.subscription.v1.PrivilegeFilter.state_types:type_name -> keyapis.subscription.v1.Privilege.StateType
	2,  // 4: keyapis.subscription.v1.PrivilegePaging.order_by_type:type_name -> keyapis.subscription.v1.PrivilegePaging.OrderByType
	3,  // 5: keyapis.subscription.v1.PrivilegePaging.direction_type:type_name -> keyapis.subscription.v1.PrivilegePaging.DirectionType
	5,  // 6: keyapis.subscription.v1.GetPrivilegeListRequest.filter:type_name -> keyapis.subscription.v1.PrivilegeFilter
	6,  // 7: keyapis.subscription.v1.GetPrivilegeListRequest.paging:type_name -> keyapis.subscription.v1.PrivilegePaging
	4,  // 8: keyapis.subscription.v1.GetPrivilegeListResponse.data:type_name -> keyapis.subscription.v1.Privilege
	19, // 9: keyapis.subscription.v1.GetPrivilegeListResponse.error:type_name -> keyapis.subscription.v1.GetPrivilegeListResponse.Error
	5,  // 10: keyapis.subscription.v1.GetPrivilegeCountRequest.filter:type_name -> keyapis.subscription.v1.PrivilegeFilter
	20, // 11: keyapis.subscription.v1.GetPrivilegeCountResponse.error:type_name -> keyapis.subscription.v1.GetPrivilegeCountResponse.Error
	0,  // 12: keyapis.subscription.v1.GetPrivilegeCheckRequest.privilege_type:type_name -> keyapis.subscription.v1.Privilege.Type
	14, // 13: keyapis.subscription.v1.PrivilegeFilter.ValidationError.orpons:type_name -> keyapis.subscription.v1.PrivilegeFilter.ValidationError.OrponsInvalid
	15, // 14: keyapis.subscription.v1.PrivilegeFilter.ValidationError.flat_numbers:type_name -> keyapis.subscription.v1.PrivilegeFilter.ValidationError.FlatNumbersInvalid
	17, // 15: keyapis.subscription.v1.PrivilegePaging.ValidationError.limit:type_name -> keyapis.subscription.v1.PrivilegePaging.ValidationError.LimitInvalid
	18, // 16: keyapis.subscription.v1.PrivilegePaging.ValidationError.offset:type_name -> keyapis.subscription.v1.PrivilegePaging.ValidationError.OffsetInvalid
	13, // 17: keyapis.subscription.v1.GetPrivilegeListResponse.Error.privilege_filter_validation:type_name -> keyapis.subscription.v1.PrivilegeFilter.ValidationError
	16, // 18: keyapis.subscription.v1.GetPrivilegeListResponse.Error.privilege_paging_validation:type_name -> keyapis.subscription.v1.PrivilegePaging.ValidationError
	13, // 19: keyapis.subscription.v1.GetPrivilegeCountResponse.Error.privilege_filter_validation:type_name -> keyapis.subscription.v1.PrivilegeFilter.ValidationError
	7,  // 20: keyapis.subscription.v1.PrivilegeService.GetPrivilegeList:input_type -> keyapis.subscription.v1.GetPrivilegeListRequest
	9,  // 21: keyapis.subscription.v1.PrivilegeService.GetPrivilegeCount:input_type -> keyapis.subscription.v1.GetPrivilegeCountRequest
	11, // 22: keyapis.subscription.v1.PrivilegeService.GetPrivilegeCheck:input_type -> keyapis.subscription.v1.GetPrivilegeCheckRequest
	8,  // 23: keyapis.subscription.v1.PrivilegeService.GetPrivilegeList:output_type -> keyapis.subscription.v1.GetPrivilegeListResponse
	10, // 24: keyapis.subscription.v1.PrivilegeService.GetPrivilegeCount:output_type -> keyapis.subscription.v1.GetPrivilegeCountResponse
	12, // 25: keyapis.subscription.v1.PrivilegeService.GetPrivilegeCheck:output_type -> keyapis.subscription.v1.GetPrivilegeCheckResponse
	23, // [23:26] is the sub-list for method output_type
	20, // [20:23] is the sub-list for method input_type
	20, // [20:20] is the sub-list for extension type_name
	20, // [20:20] is the sub-list for extension extendee
	0,  // [0:20] is the sub-list for field type_name
}

func init() { file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_init() }
func file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_init() {
	if File_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto != nil {
		return
	}
	if !protoimpl.UnsafeEnabled {
		file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*Privilege); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*PrivilegeFilter); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*PrivilegePaging); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*GetPrivilegeListRequest); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*GetPrivilegeListResponse); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*GetPrivilegeCountRequest); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*GetPrivilegeCountResponse); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*GetPrivilegeCheckRequest); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*GetPrivilegeCheckResponse); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*PrivilegeFilter_ValidationError); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*PrivilegeFilter_ValidationError_OrponsInvalid); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*PrivilegeFilter_ValidationError_FlatNumbersInvalid); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*PrivilegePaging_ValidationError); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*PrivilegePaging_ValidationError_LimitInvalid); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*PrivilegePaging_ValidationError_OffsetInvalid); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*GetPrivilegeListResponse_Error); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*GetPrivilegeCountResponse_Error); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
	}
	file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_msgTypes[3].OneofWrappers = []interface{}{
		(*GetPrivilegeListRequest_Paging)(nil),
	}
	file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_msgTypes[4].OneofWrappers = []interface{}{
		(*GetPrivilegeListResponse_Data)(nil),
		(*GetPrivilegeListResponse_Error_)(nil),
	}
	file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_msgTypes[6].OneofWrappers = []interface{}{
		(*GetPrivilegeCountResponse_Data)(nil),
		(*GetPrivilegeCountResponse_Error_)(nil),
	}
	file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_msgTypes[8].OneofWrappers = []interface{}{
		(*GetPrivilegeCheckResponse_Data)(nil),
	}
	file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_msgTypes[9].OneofWrappers = []interface{}{
		(*PrivilegeFilter_ValidationError_Orpons)(nil),
		(*PrivilegeFilter_ValidationError_FlatNumbers)(nil),
	}
	file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_msgTypes[12].OneofWrappers = []interface{}{
		(*PrivilegePaging_ValidationError_Limit)(nil),
		(*PrivilegePaging_ValidationError_Offset)(nil),
	}
	file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_msgTypes[15].OneofWrappers = []interface{}{
		(*GetPrivilegeListResponse_Error_PrivilegeFilterValidation)(nil),
		(*GetPrivilegeListResponse_Error_PrivilegePagingValidation)(nil),
	}
	file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_msgTypes[16].OneofWrappers = []interface{}{
		(*GetPrivilegeCountResponse_Error_PrivilegeFilterValidation)(nil),
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_rawDesc,
			NumEnums:      4,
			NumMessages:   17,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_goTypes,
		DependencyIndexes: file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_depIdxs,
		EnumInfos:         file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_enumTypes,
		MessageInfos:      file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_msgTypes,
	}.Build()
	File_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto = out.File
	file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_rawDesc = nil
	file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_goTypes = nil
	file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_depIdxs = nil
}
