//
//Сервис реализует устаревший функционал управления услугами.
//Услуги это составные части привилегии на квартиру, сейчас считаются устаревшими, использовать нужно привилегии, сделаны тут для совместимости

// 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_service_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"
	wrapperspb "google.golang.org/protobuf/types/known/wrapperspb"
	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)
)

// Справочник типов значений сортировки.
// # Тип: byte
type ServicePrivilegePaging_OrderByType int32

const (
	// Значение не указано
	ServicePrivilegePaging_ORDER_BY_TYPE_UNKNOWN ServicePrivilegePaging_OrderByType = 0
	// По ОРПОНу, затем по номеру квартиры
	ServicePrivilegePaging_ORPON_THEN_FLAT_NUMBER ServicePrivilegePaging_OrderByType = 1
)

// Enum value maps for ServicePrivilegePaging_OrderByType.
var (
	ServicePrivilegePaging_OrderByType_name = map[int32]string{
		0: "ORDER_BY_TYPE_UNKNOWN",
		1: "ORPON_THEN_FLAT_NUMBER",
	}
	ServicePrivilegePaging_OrderByType_value = map[string]int32{
		"ORDER_BY_TYPE_UNKNOWN":  0,
		"ORPON_THEN_FLAT_NUMBER": 1,
	}
)

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

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

func (ServicePrivilegePaging_OrderByType) Descriptor() protoreflect.EnumDescriptor {
	return file_keyapis_subscription_v1_keyapis_subscription_service_v1_proto_enumTypes[0].Descriptor()
}

func (ServicePrivilegePaging_OrderByType) Type() protoreflect.EnumType {
	return &file_keyapis_subscription_v1_keyapis_subscription_service_v1_proto_enumTypes[0]
}

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

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

// Справочник типов направлений сортировки.
// # Тип: byte
type ServicePrivilegePaging_DirectionType int32

const (
	// Значение не указано
	ServicePrivilegePaging_DIRECTION_TYPE_UNKNOWN ServicePrivilegePaging_DirectionType = 0
	// От большего к меньшему
	ServicePrivilegePaging_DESC ServicePrivilegePaging_DirectionType = 1
	// От меньшего к большему
	ServicePrivilegePaging_ASC ServicePrivilegePaging_DirectionType = 2
)

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

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

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

func (ServicePrivilegePaging_DirectionType) Descriptor() protoreflect.EnumDescriptor {
	return file_keyapis_subscription_v1_keyapis_subscription_service_v1_proto_enumTypes[1].Descriptor()
}

func (ServicePrivilegePaging_DirectionType) Type() protoreflect.EnumType {
	return &file_keyapis_subscription_v1_keyapis_subscription_service_v1_proto_enumTypes[1]
}

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

// Deprecated: Use ServicePrivilegePaging_DirectionType.Descriptor instead.
func (ServicePrivilegePaging_DirectionType) EnumDescriptor() ([]byte, []int) {
	return file_keyapis_subscription_v1_keyapis_subscription_service_v1_proto_rawDescGZIP(), []int{10, 1}
}

// Услуга.
// TODO: deprecated
type Sevice struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Название услуги на английском
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Доступна ли услуга на квартире.
	// Вернётся true если статусы привилегии:
	// - PROMO;
	// - PAID;
	// - TURNS_OFF.
	// Вернётся false если статусы привилегии:
	// - NOT_PAID;
	// - CAN_BE_PAID;
	// - STATE_TYPE_UNKNOWN;
	// - Не найден (нет на кваритре, но есть в справочнике привилегий)
	IsActive bool `protobuf:"varint,2,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"`
}

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

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

func (*Sevice) ProtoMessage() {}

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

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

func (x *Sevice) GetIsActive() bool {
	if x != nil {
		return x.IsActive
	}
	return false
}

// Услуга
type Service struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Название услуги на английском
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Доступна ли услуга на квартире.
	// Вернётся true если статусы привилегии:
	// - PROMO;
	// - PAID;
	// - TURNS_OFF.
	// Вернётся false если статусы привилегии:
	// - NOT_PAID;
	// - CAN_BE_PAID;
	// - STATE_TYPE_UNKNOWN;
	// - Не найден (нет на кваритре, но есть в справочнике привилегий)
	IsActive bool `protobuf:"varint,2,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"`
	// ОРПОН дома
	Orpon *wrapperspb.Int64Value `protobuf:"bytes,3,opt,name=orpon,proto3" json:"orpon,omitempty"`
	// Номер квартиры
	FlatNumber *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=flat_number,json=flatNumber,proto3" json:"flat_number,omitempty"`
}

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

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

func (*Service) ProtoMessage() {}

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

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

func (x *Service) GetIsActive() bool {
	if x != nil {
		return x.IsActive
	}
	return false
}

func (x *Service) GetOrpon() *wrapperspb.Int64Value {
	if x != nil {
		return x.Orpon
	}
	return nil
}

func (x *Service) GetFlatNumber() *wrapperspb.StringValue {
	if x != nil {
		return x.FlatNumber
	}
	return nil
}

// Элемент справочника видов услуг
type ServiceKind struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Идентификатор услуги
	Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// Категория услуги.
	// Аналогично V1ServiceDto.type
	Category string `protobuf:"bytes,2,opt,name=category,proto3" json:"category,omitempty"`
	// Название услуги на английском
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// Название услуги
	Title string `protobuf:"bytes,4,opt,name=title,proto3" json:"title,omitempty"`
	// Описание услуги
	Description *wrapperspb.StringValue `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	// Идентификатор родительской услуги
	ParentId *wrapperspb.Int32Value `protobuf:"bytes,6,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`
}

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

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

func (*ServiceKind) ProtoMessage() {}

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

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

func (x *ServiceKind) GetCategory() string {
	if x != nil {
		return x.Category
	}
	return ""
}

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

func (x *ServiceKind) GetTitle() string {
	if x != nil {
		return x.Title
	}
	return ""
}

func (x *ServiceKind) GetDescription() *wrapperspb.StringValue {
	if x != nil {
		return x.Description
	}
	return nil
}

func (x *ServiceKind) GetParentId() *wrapperspb.Int32Value {
	if x != nil {
		return x.ParentId
	}
	return nil
}

// Запрос получения списка услуг квартиры
type GetServiceListRequest 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"`
}

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

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

func (*GetServiceListRequest) ProtoMessage() {}

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

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

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

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

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

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

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

func (*GetServiceListResponse) ProtoMessage() {}

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

func (m *GetServiceListResponse) GetType() isGetServiceListResponse_Type {
	if m != nil {
		return m.Type
	}
	return nil
}

func (x *GetServiceListResponse) GetData() *Sevice {
	if x, ok := x.GetType().(*GetServiceListResponse_Data); ok {
		return x.Data
	}
	return nil
}

type isGetServiceListResponse_Type interface {
	isGetServiceListResponse_Type()
}

type GetServiceListResponse_Data struct {
	// Услуга
	Data *Sevice `protobuf:"bytes,1,opt,name=data,proto3,oneof"`
}

func (*GetServiceListResponse_Data) isGetServiceListResponse_Type() {}

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

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

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

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

func (*GetServicePrivilegeListRequest) ProtoMessage() {}

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

func (x *GetServicePrivilegeListRequest) GetFilter() *ServicePrivilegeFilter {
	if x != nil {
		return x.Filter
	}
	return nil
}

func (m *GetServicePrivilegeListRequest) GetPagination() isGetServicePrivilegeListRequest_Pagination {
	if m != nil {
		return m.Pagination
	}
	return nil
}

func (x *GetServicePrivilegeListRequest) GetPaging() *ServicePrivilegePaging {
	if x, ok := x.GetPagination().(*GetServicePrivilegeListRequest_Paging); ok {
		return x.Paging
	}
	return nil
}

type isGetServicePrivilegeListRequest_Pagination interface {
	isGetServicePrivilegeListRequest_Pagination()
}

type GetServicePrivilegeListRequest_Paging struct {
	// Стандартный постраничный вывод
	Paging *ServicePrivilegePaging `protobuf:"bytes,2,opt,name=paging,proto3,oneof"`
}

func (*GetServicePrivilegeListRequest_Paging) isGetServicePrivilegeListRequest_Pagination() {}

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

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

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

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

func (*GetServicePrivilegeListResponse) ProtoMessage() {}

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

func (m *GetServicePrivilegeListResponse) GetType() isGetServicePrivilegeListResponse_Type {
	if m != nil {
		return m.Type
	}
	return nil
}

func (x *GetServicePrivilegeListResponse) GetData() *Service {
	if x, ok := x.GetType().(*GetServicePrivilegeListResponse_Data); ok {
		return x.Data
	}
	return nil
}

type isGetServicePrivilegeListResponse_Type interface {
	isGetServicePrivilegeListResponse_Type()
}

type GetServicePrivilegeListResponse_Data struct {
	// Услуга
	Data *Service `protobuf:"bytes,1,opt,name=data,proto3,oneof"`
}

func (*GetServicePrivilegeListResponse_Data) isGetServicePrivilegeListResponse_Type() {}

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

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

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

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

func (*GetServicePrivilegeCountRequest) ProtoMessage() {}

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

func (x *GetServicePrivilegeCountRequest) GetFilter() *ServicePrivilegeFilter {
	if x != nil {
		return x.Filter
	}
	return nil
}

func (m *GetServicePrivilegeCountRequest) GetPagination() isGetServicePrivilegeCountRequest_Pagination {
	if m != nil {
		return m.Pagination
	}
	return nil
}

func (x *GetServicePrivilegeCountRequest) GetPaging() *ServicePrivilegePaging {
	if x, ok := x.GetPagination().(*GetServicePrivilegeCountRequest_Paging); ok {
		return x.Paging
	}
	return nil
}

type isGetServicePrivilegeCountRequest_Pagination interface {
	isGetServicePrivilegeCountRequest_Pagination()
}

type GetServicePrivilegeCountRequest_Paging struct {
	// Стандартный постраничный вывод
	Paging *ServicePrivilegePaging `protobuf:"bytes,2,opt,name=paging,proto3,oneof"`
}

func (*GetServicePrivilegeCountRequest_Paging) isGetServicePrivilegeCountRequest_Pagination() {}

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

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

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

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

func (*GetServicePrivilegeCountResponse) ProtoMessage() {}

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

func (m *GetServicePrivilegeCountResponse) GetType() isGetServicePrivilegeCountResponse_Type {
	if m != nil {
		return m.Type
	}
	return nil
}

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

type isGetServicePrivilegeCountResponse_Type interface {
	isGetServicePrivilegeCountResponse_Type()
}

type GetServicePrivilegeCountResponse_Data struct {
	// Количество
	Data int32 `protobuf:"varint,1,opt,name=data,proto3,oneof"`
}

func (*GetServicePrivilegeCountResponse_Data) isGetServicePrivilegeCountResponse_Type() {}

// Фильтр услуг
type ServicePrivilegeFilter 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"`
}

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

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

func (*ServicePrivilegeFilter) ProtoMessage() {}

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

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

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

// Постраничный вывод
type ServicePrivilegePaging struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

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

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

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

func (*ServicePrivilegePaging) ProtoMessage() {}

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

func (x *ServicePrivilegePaging) GetOrderByType() ServicePrivilegePaging_OrderByType {
	if x != nil {
		return x.OrderByType
	}
	return ServicePrivilegePaging_ORDER_BY_TYPE_UNKNOWN
}

func (x *ServicePrivilegePaging) GetDirectionType() ServicePrivilegePaging_DirectionType {
	if x != nil {
		return x.DirectionType
	}
	return ServicePrivilegePaging_DIRECTION_TYPE_UNKNOWN
}

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

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

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

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

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

func (*GetServiceKindListRequest) ProtoMessage() {}

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

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

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

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

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

func (*GetServiceKindListResponse) ProtoMessage() {}

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

func (m *GetServiceKindListResponse) GetType() isGetServiceKindListResponse_Type {
	if m != nil {
		return m.Type
	}
	return nil
}

func (x *GetServiceKindListResponse) GetData() *ServiceKind {
	if x, ok := x.GetType().(*GetServiceKindListResponse_Data); ok {
		return x.Data
	}
	return nil
}

type isGetServiceKindListResponse_Type interface {
	isGetServiceKindListResponse_Type()
}

type GetServiceKindListResponse_Data struct {
	// Элемент справочника услуг
	Data *ServiceKind `protobuf:"bytes,1,opt,name=data,proto3,oneof"`
}

func (*GetServiceKindListResponse_Data) isGetServiceKindListResponse_Type() {}

var File_keyapis_subscription_v1_keyapis_subscription_service_v1_proto protoreflect.FileDescriptor

var file_keyapis_subscription_v1_keyapis_subscription_service_v1_proto_rawDesc = []byte{
	0x0a, 0x3d, 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, 0x73,
	0x65, 0x72, 0x76, 0x69, 0x63, 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, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
	0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70,
	0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x39, 0x0a, 0x06, 0x53, 0x65, 0x76,
	0x69, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
	0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x61, 0x63,
	0x74, 0x69, 0x76, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x41, 0x63,
	0x74, 0x69, 0x76, 0x65, 0x22, 0xac, 0x01, 0x0a, 0x07, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
	0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
	0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76,
	0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x41, 0x63, 0x74, 0x69, 0x76,
	0x65, 0x12, 0x31, 0x0a, 0x05, 0x6f, 0x72, 0x70, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b,
	0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
	0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x6f,
	0x72, 0x70, 0x6f, 0x6e, 0x12, 0x3d, 0x0a, 0x0b, 0x66, 0x6c, 0x61, 0x74, 0x5f, 0x6e, 0x75, 0x6d,
	0x62, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
	0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69,
	0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0a, 0x66, 0x6c, 0x61, 0x74, 0x4e, 0x75, 0x6d,
	0x62, 0x65, 0x72, 0x22, 0xdd, 0x01, 0x0a, 0x0b, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4b,
	0x69, 0x6e, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52,
	0x02, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x18,
	0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12,
	0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e,
	0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01,
	0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x3e, 0x0a, 0x0b, 0x64, 0x65, 0x73,
	0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c,
	0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
	0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0b, 0x64, 0x65,
	0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x38, 0x0a, 0x09, 0x70, 0x61, 0x72,
	0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67,
	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49,
	0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x08, 0x70, 0x61, 0x72, 0x65, 0x6e,
	0x74, 0x49, 0x64, 0x22, 0x58, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63,
	0x65, 0x4c, 0x69, 0x73, 0x74, 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, 0x22, 0x57, 0x0a,
	0x16, 0x47, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x52,
	0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18,
	0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 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,
	0x53, 0x65, 0x76, 0x69, 0x63, 0x65, 0x48, 0x00, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x42, 0x06,
	0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0xc2, 0x01, 0x0a, 0x1e, 0x47, 0x65, 0x74, 0x53, 0x65,
	0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x4c, 0x69,
	0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x47, 0x0a, 0x06, 0x66, 0x69, 0x6c,
	0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 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, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x69, 0x76, 0x69,
	0x6c, 0x65, 0x67, 0x65, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74,
	0x65, 0x72, 0x12, 0x49, 0x0a, 0x06, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01,
	0x28, 0x0b, 0x32, 0x2f, 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, 0x53, 0x65, 0x72,
	0x76, 0x69, 0x63, 0x65, 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, 0x61, 0x0a, 0x1f, 0x47,
	0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65,
	0x67, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x36,
	0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 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, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x48, 0x00,
	0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x42, 0x06, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0xc3,
	0x01, 0x0a, 0x1f, 0x47, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x69,
	0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65,
	0x73, 0x74, 0x12, 0x47, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01,
	0x28, 0x0b, 0x32, 0x2f, 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, 0x53, 0x65, 0x72,
	0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x46, 0x69, 0x6c,
	0x74, 0x65, 0x72, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x49, 0x0a, 0x06, 0x70,
	0x61, 0x67, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 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, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 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, 0x40, 0x0a, 0x20, 0x47, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69,
	0x63, 0x65, 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, 0x42, 0x06,
	0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x53, 0x0a, 0x16, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63,
	0x65, 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, 0x22, 0x93, 0x03, 0x0a, 0x16,
	0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65,
	0x50, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x12, 0x5f, 0x0a, 0x0d, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f,
	0x62, 0x79, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3b, 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, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 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, 0x64, 0x0a, 0x0e, 0x64, 0x69, 0x72, 0x65, 0x63,
	0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32,
	0x3d, 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, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63,
	0x65, 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, 0x22, 0x44, 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, 0x1a, 0x0a, 0x16, 0x4f, 0x52, 0x50, 0x4f, 0x4e, 0x5f, 0x54,
	0x48, 0x45, 0x4e, 0x5f, 0x46, 0x4c, 0x41, 0x54, 0x5f, 0x4e, 0x55, 0x4d, 0x42, 0x45, 0x52, 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, 0x1b, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4b,
	0x69, 0x6e, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x60,
	0x0a, 0x1a, 0x47, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4b, 0x69, 0x6e, 0x64,
	0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3a, 0x0a, 0x04,
	0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 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, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4b, 0x69, 0x6e, 0x64,
	0x48, 0x00, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x42, 0x06, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65,
	0x32, 0x87, 0x06, 0x0a, 0x0e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x65, 0x72, 0x76,
	0x69, 0x63, 0x65, 0x12, 0xb4, 0x01, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69,
	0x63, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2e, 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, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x52,
	0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 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, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x52,
	0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x39, 0x12,
	0x37, 0x2f, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x61,
	0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x7b, 0x6f,
	0x72, 0x70, 0x6f, 0x6e, 0x7d, 0x2f, 0x7b, 0x66, 0x6c, 0x61, 0x74, 0x5f, 0x6e, 0x75, 0x6d, 0x62,
	0x65, 0x72, 0x7d, 0x2f, 0x6c, 0x69, 0x73, 0x74, 0x30, 0x01, 0x12, 0xc3, 0x01, 0x0a, 0x17, 0x47,
	0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65,
	0x67, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 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, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x69, 0x76, 0x69,
	0x6c, 0x65, 0x67, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
	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, 0x53, 0x65, 0x72,
	0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x4c, 0x69, 0x73,
	0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x33, 0x82, 0xd3, 0xe4, 0x93, 0x02,
	0x2d, 0x12, 0x2b, 0x2f, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e,
	0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f,
	0x70, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x2f, 0x6c, 0x69, 0x73, 0x74, 0x30, 0x01,
	0x12, 0xc5, 0x01, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50,
	0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 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, 0x53, 0x65, 0x72, 0x76, 0x69,
	0x63, 0x65, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74,
	0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x39, 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, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x69, 0x76,
	0x69, 0x6c, 0x65, 0x67, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
	0x73, 0x65, 0x22, 0x34, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2e, 0x12, 0x2c, 0x2f, 0x73, 0x75, 0x62,
	0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31,
	0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x70, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65,
	0x67, 0x65, 0x2f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0xaf, 0x01, 0x0a, 0x12, 0x47, 0x65, 0x74,
	0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4b, 0x69, 0x6e, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12,
	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, 0x53, 0x65, 0x72,
	0x76, 0x69, 0x63, 0x65, 0x4b, 0x69, 0x6e, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75,
	0x65, 0x73, 0x74, 0x1a, 0x33, 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, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4b, 0x69, 0x6e, 0x64, 0x4c, 0x69, 0x73, 0x74,
	0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x28,
	0x12, 0x26, 0x2f, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2f,
	0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x6b,
	0x69, 0x6e, 0x64, 0x2f, 0x6c, 0x69, 0x73, 0x74, 0x30, 0x01, 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_service_v1_proto_rawDescOnce sync.Once
	file_keyapis_subscription_v1_keyapis_subscription_service_v1_proto_rawDescData = file_keyapis_subscription_v1_keyapis_subscription_service_v1_proto_rawDesc
)

func file_keyapis_subscription_v1_keyapis_subscription_service_v1_proto_rawDescGZIP() []byte {
	file_keyapis_subscription_v1_keyapis_subscription_service_v1_proto_rawDescOnce.Do(func() {
		file_keyapis_subscription_v1_keyapis_subscription_service_v1_proto_rawDescData = protoimpl.X.CompressGZIP(file_keyapis_subscription_v1_keyapis_subscription_service_v1_proto_rawDescData)
	})
	return file_keyapis_subscription_v1_keyapis_subscription_service_v1_proto_rawDescData
}

var file_keyapis_subscription_v1_keyapis_subscription_service_v1_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
var file_keyapis_subscription_v1_keyapis_subscription_service_v1_proto_msgTypes = make([]protoimpl.MessageInfo, 13)
var file_keyapis_subscription_v1_keyapis_subscription_service_v1_proto_goTypes = []interface{}{
	(ServicePrivilegePaging_OrderByType)(0),   // 0: keyapis.subscription.v1.ServicePrivilegePaging.OrderByType
	(ServicePrivilegePaging_DirectionType)(0), // 1: keyapis.subscription.v1.ServicePrivilegePaging.DirectionType
	(*Sevice)(nil),                           // 2: keyapis.subscription.v1.Sevice
	(*Service)(nil),                          // 3: keyapis.subscription.v1.Service
	(*ServiceKind)(nil),                      // 4: keyapis.subscription.v1.ServiceKind
	(*GetServiceListRequest)(nil),            // 5: keyapis.subscription.v1.GetServiceListRequest
	(*GetServiceListResponse)(nil),           // 6: keyapis.subscription.v1.GetServiceListResponse
	(*GetServicePrivilegeListRequest)(nil),   // 7: keyapis.subscription.v1.GetServicePrivilegeListRequest
	(*GetServicePrivilegeListResponse)(nil),  // 8: keyapis.subscription.v1.GetServicePrivilegeListResponse
	(*GetServicePrivilegeCountRequest)(nil),  // 9: keyapis.subscription.v1.GetServicePrivilegeCountRequest
	(*GetServicePrivilegeCountResponse)(nil), // 10: keyapis.subscription.v1.GetServicePrivilegeCountResponse
	(*ServicePrivilegeFilter)(nil),           // 11: keyapis.subscription.v1.ServicePrivilegeFilter
	(*ServicePrivilegePaging)(nil),           // 12: keyapis.subscription.v1.ServicePrivilegePaging
	(*GetServiceKindListRequest)(nil),        // 13: keyapis.subscription.v1.GetServiceKindListRequest
	(*GetServiceKindListResponse)(nil),       // 14: keyapis.subscription.v1.GetServiceKindListResponse
	(*wrapperspb.Int64Value)(nil),            // 15: google.protobuf.Int64Value
	(*wrapperspb.StringValue)(nil),           // 16: google.protobuf.StringValue
	(*wrapperspb.Int32Value)(nil),            // 17: google.protobuf.Int32Value
}
var file_keyapis_subscription_v1_keyapis_subscription_service_v1_proto_depIdxs = []int32{
	15, // 0: keyapis.subscription.v1.Service.orpon:type_name -> google.protobuf.Int64Value
	16, // 1: keyapis.subscription.v1.Service.flat_number:type_name -> google.protobuf.StringValue
	16, // 2: keyapis.subscription.v1.ServiceKind.description:type_name -> google.protobuf.StringValue
	17, // 3: keyapis.subscription.v1.ServiceKind.parent_id:type_name -> google.protobuf.Int32Value
	2,  // 4: keyapis.subscription.v1.GetServiceListResponse.data:type_name -> keyapis.subscription.v1.Sevice
	11, // 5: keyapis.subscription.v1.GetServicePrivilegeListRequest.filter:type_name -> keyapis.subscription.v1.ServicePrivilegeFilter
	12, // 6: keyapis.subscription.v1.GetServicePrivilegeListRequest.paging:type_name -> keyapis.subscription.v1.ServicePrivilegePaging
	3,  // 7: keyapis.subscription.v1.GetServicePrivilegeListResponse.data:type_name -> keyapis.subscription.v1.Service
	11, // 8: keyapis.subscription.v1.GetServicePrivilegeCountRequest.filter:type_name -> keyapis.subscription.v1.ServicePrivilegeFilter
	12, // 9: keyapis.subscription.v1.GetServicePrivilegeCountRequest.paging:type_name -> keyapis.subscription.v1.ServicePrivilegePaging
	0,  // 10: keyapis.subscription.v1.ServicePrivilegePaging.order_by_type:type_name -> keyapis.subscription.v1.ServicePrivilegePaging.OrderByType
	1,  // 11: keyapis.subscription.v1.ServicePrivilegePaging.direction_type:type_name -> keyapis.subscription.v1.ServicePrivilegePaging.DirectionType
	4,  // 12: keyapis.subscription.v1.GetServiceKindListResponse.data:type_name -> keyapis.subscription.v1.ServiceKind
	5,  // 13: keyapis.subscription.v1.ServiceService.GetServiceList:input_type -> keyapis.subscription.v1.GetServiceListRequest
	7,  // 14: keyapis.subscription.v1.ServiceService.GetServicePrivilegeList:input_type -> keyapis.subscription.v1.GetServicePrivilegeListRequest
	9,  // 15: keyapis.subscription.v1.ServiceService.GetServicePrivilegeCount:input_type -> keyapis.subscription.v1.GetServicePrivilegeCountRequest
	13, // 16: keyapis.subscription.v1.ServiceService.GetServiceKindList:input_type -> keyapis.subscription.v1.GetServiceKindListRequest
	6,  // 17: keyapis.subscription.v1.ServiceService.GetServiceList:output_type -> keyapis.subscription.v1.GetServiceListResponse
	8,  // 18: keyapis.subscription.v1.ServiceService.GetServicePrivilegeList:output_type -> keyapis.subscription.v1.GetServicePrivilegeListResponse
	10, // 19: keyapis.subscription.v1.ServiceService.GetServicePrivilegeCount:output_type -> keyapis.subscription.v1.GetServicePrivilegeCountResponse
	14, // 20: keyapis.subscription.v1.ServiceService.GetServiceKindList:output_type -> keyapis.subscription.v1.GetServiceKindListResponse
	17, // [17:21] is the sub-list for method output_type
	13, // [13:17] is the sub-list for method input_type
	13, // [13:13] is the sub-list for extension type_name
	13, // [13:13] is the sub-list for extension extendee
	0,  // [0:13] is the sub-list for field type_name
}

func init() { file_keyapis_subscription_v1_keyapis_subscription_service_v1_proto_init() }
func file_keyapis_subscription_v1_keyapis_subscription_service_v1_proto_init() {
	if File_keyapis_subscription_v1_keyapis_subscription_service_v1_proto != nil {
		return
	}
	if !protoimpl.UnsafeEnabled {
		file_keyapis_subscription_v1_keyapis_subscription_service_v1_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*Sevice); 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_service_v1_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*Service); 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_service_v1_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*ServiceKind); 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_service_v1_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*GetServiceListRequest); 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_service_v1_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*GetServiceListResponse); 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_service_v1_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*GetServicePrivilegeListRequest); 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_service_v1_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*GetServicePrivilegeListResponse); 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_service_v1_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*GetServicePrivilegeCountRequest); 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_service_v1_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*GetServicePrivilegeCountResponse); 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_service_v1_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*ServicePrivilegeFilter); 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_service_v1_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*ServicePrivilegePaging); 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_service_v1_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*GetServiceKindListRequest); 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_service_v1_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*GetServiceKindListResponse); 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_service_v1_proto_msgTypes[4].OneofWrappers = []interface{}{
		(*GetServiceListResponse_Data)(nil),
	}
	file_keyapis_subscription_v1_keyapis_subscription_service_v1_proto_msgTypes[5].OneofWrappers = []interface{}{
		(*GetServicePrivilegeListRequest_Paging)(nil),
	}
	file_keyapis_subscription_v1_keyapis_subscription_service_v1_proto_msgTypes[6].OneofWrappers = []interface{}{
		(*GetServicePrivilegeListResponse_Data)(nil),
	}
	file_keyapis_subscription_v1_keyapis_subscription_service_v1_proto_msgTypes[7].OneofWrappers = []interface{}{
		(*GetServicePrivilegeCountRequest_Paging)(nil),
	}
	file_keyapis_subscription_v1_keyapis_subscription_service_v1_proto_msgTypes[8].OneofWrappers = []interface{}{
		(*GetServicePrivilegeCountResponse_Data)(nil),
	}
	file_keyapis_subscription_v1_keyapis_subscription_service_v1_proto_msgTypes[12].OneofWrappers = []interface{}{
		(*GetServiceKindListResponse_Data)(nil),
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: file_keyapis_subscription_v1_keyapis_subscription_service_v1_proto_rawDesc,
			NumEnums:      2,
			NumMessages:   13,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_keyapis_subscription_v1_keyapis_subscription_service_v1_proto_goTypes,
		DependencyIndexes: file_keyapis_subscription_v1_keyapis_subscription_service_v1_proto_depIdxs,
		EnumInfos:         file_keyapis_subscription_v1_keyapis_subscription_service_v1_proto_enumTypes,
		MessageInfos:      file_keyapis_subscription_v1_keyapis_subscription_service_v1_proto_msgTypes,
	}.Build()
	File_keyapis_subscription_v1_keyapis_subscription_service_v1_proto = out.File
	file_keyapis_subscription_v1_keyapis_subscription_service_v1_proto_rawDesc = nil
	file_keyapis_subscription_v1_keyapis_subscription_service_v1_proto_goTypes = nil
	file_keyapis_subscription_v1_keyapis_subscription_service_v1_proto_depIdxs = nil
}
