//
//Сервис реализует функционал управления технологическими планами(ТП).
//ТП это подготовленный набор доступных услуг

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

// Справочник типов иконок
type Plan_IconType int32

const (
	// Значение не указано
	Plan_ICON_TYPE_UNKNOWN Plan_IconType = 0
	// Быстро
	Plan_FAST Plan_IconType = 1
	// Распознавание лиц
	Plan_FACE_REC Plan_IconType = 2
	// Безопасно
	Plan_SAFE Plan_IconType = 3
)

// Enum value maps for Plan_IconType.
var (
	Plan_IconType_name = map[int32]string{
		0: "ICON_TYPE_UNKNOWN",
		1: "FAST",
		2: "FACE_REC",
		3: "SAFE",
	}
	Plan_IconType_value = map[string]int32{
		"ICON_TYPE_UNKNOWN": 0,
		"FAST":              1,
		"FACE_REC":          2,
		"SAFE":              3,
	}
)

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

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

func (Plan_IconType) Descriptor() protoreflect.EnumDescriptor {
	return file_keyapis_subscription_v1_keyapis_subscription_plan_v1_proto_enumTypes[0].Descriptor()
}

func (Plan_IconType) Type() protoreflect.EnumType {
	return &file_keyapis_subscription_v1_keyapis_subscription_plan_v1_proto_enumTypes[0]
}

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

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

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

const (
	// Значение не указано
	PlanPaging_ORDER_BY_TYPE_UNKNOWN PlanPaging_OrderByType = 0
	// По идентификатору
	PlanPaging_ID PlanPaging_OrderByType = 1
)

// Enum value maps for PlanPaging_OrderByType.
var (
	PlanPaging_OrderByType_name = map[int32]string{
		0: "ORDER_BY_TYPE_UNKNOWN",
		1: "ID",
	}
	PlanPaging_OrderByType_value = map[string]int32{
		"ORDER_BY_TYPE_UNKNOWN": 0,
		"ID":                    1,
	}
)

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

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

func (PlanPaging_OrderByType) Descriptor() protoreflect.EnumDescriptor {
	return file_keyapis_subscription_v1_keyapis_subscription_plan_v1_proto_enumTypes[1].Descriptor()
}

func (PlanPaging_OrderByType) Type() protoreflect.EnumType {
	return &file_keyapis_subscription_v1_keyapis_subscription_plan_v1_proto_enumTypes[1]
}

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

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

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

const (
	// Значение не указано
	PlanPaging_DIRECTION_TYPE_UNKNOWN PlanPaging_DirectionType = 0
	// От большего к меньшему
	PlanPaging_DESC PlanPaging_DirectionType = 1
	// От меньшего к большему
	PlanPaging_ASC PlanPaging_DirectionType = 2
)

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

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

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

func (PlanPaging_DirectionType) Descriptor() protoreflect.EnumDescriptor {
	return file_keyapis_subscription_v1_keyapis_subscription_plan_v1_proto_enumTypes[2].Descriptor()
}

func (PlanPaging_DirectionType) Type() protoreflect.EnumType {
	return &file_keyapis_subscription_v1_keyapis_subscription_plan_v1_proto_enumTypes[2]
}

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

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

// Технологический план(ТП)
type Plan struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Идентификатор
	Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// Название
	Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	// Описание
	Description *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// Дата создания записи.
	// Заполняется сервером
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// Дата последнего изменения.
	// Заполняется и обновляется сервером.
	// Заполняется при создании и изменении.
	// Является версией объекта
	ChangedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=changed_at,json=changedAt,proto3" json:"changed_at,omitempty"`
	// Идентификаторы родительских технологических планов(ТП)
	ParentIds []int32 `protobuf:"varint,6,rep,packed,name=parent_ids,json=parentIds,proto3" json:"parent_ids,omitempty"`
	// Идентификаторы регионов, в которых доступен технологический план(ТП)
	RfIds []int32 `protobuf:"varint,7,rep,packed,name=rf_ids,json=rfIds,proto3" json:"rf_ids,omitempty"`
	// Краткое описание
	Summary *wrapperspb.StringValue `protobuf:"bytes,8,opt,name=summary,proto3" json:"summary,omitempty"`
	// Тип иконки
	IconType Plan_IconType `protobuf:"varint,9,opt,name=icon_type,json=iconType,proto3,enum=keyapis.subscription.v1.Plan_IconType" json:"icon_type,omitempty"`
	// Описание опций
	OptionDescriptions []*Plan_OptionDescription `protobuf:"bytes,10,rep,name=option_descriptions,json=optionDescriptions,proto3" json:"option_descriptions,omitempty"`
	// Привилегии.
	// Массив услуг доступных по технологическому плану
	PrivilegeTypes []Privilege_Type `protobuf:"varint,11,rep,packed,name=privilege_types,json=privilegeTypes,proto3,enum=keyapis.subscription.v1.Privilege_Type" json:"privilege_types,omitempty"`
}

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

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

func (*Plan) ProtoMessage() {}

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

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

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

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

func (x *Plan) GetCreatedAt() *timestamppb.Timestamp {
	if x != nil {
		return x.CreatedAt
	}
	return nil
}

func (x *Plan) GetChangedAt() *timestamppb.Timestamp {
	if x != nil {
		return x.ChangedAt
	}
	return nil
}

func (x *Plan) GetParentIds() []int32 {
	if x != nil {
		return x.ParentIds
	}
	return nil
}

func (x *Plan) GetRfIds() []int32 {
	if x != nil {
		return x.RfIds
	}
	return nil
}

func (x *Plan) GetSummary() *wrapperspb.StringValue {
	if x != nil {
		return x.Summary
	}
	return nil
}

func (x *Plan) GetIconType() Plan_IconType {
	if x != nil {
		return x.IconType
	}
	return Plan_ICON_TYPE_UNKNOWN
}

func (x *Plan) GetOptionDescriptions() []*Plan_OptionDescription {
	if x != nil {
		return x.OptionDescriptions
	}
	return nil
}

func (x *Plan) GetPrivilegeTypes() []Privilege_Type {
	if x != nil {
		return x.PrivilegeTypes
	}
	return nil
}

// Фильтр по технологическим планам
type PlanFilter struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// По тексту.
	// Если значение не передано то поиск по нему не производится.
	// # Поиск производится по полям:
	// # - Название;
	// # - Описание;
	// # - Краткое описание
	Text *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
	// По идентификаторам регионов
	RfIds []int32 `protobuf:"varint,2,rep,packed,name=rf_ids,json=rfIds,proto3" json:"rf_ids,omitempty"`
}

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

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

func (*PlanFilter) ProtoMessage() {}

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

func (x *PlanFilter) GetText() *wrapperspb.StringValue {
	if x != nil {
		return x.Text
	}
	return nil
}

func (x *PlanFilter) GetRfIds() []int32 {
	if x != nil {
		return x.RfIds
	}
	return nil
}

// Пагинация по технологическим планам
type PlanPaging struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Тип значения сортировки.
	// По умолчанию: ID
	OrderByType PlanPaging_OrderByType `protobuf:"varint,1,opt,name=order_by_type,json=orderByType,proto3,enum=keyapis.subscription.v1.PlanPaging_OrderByType" json:"order_by_type,omitempty"`
	// Тип направления сортировки.
	// По умолчанию: DESC
	DirectionType PlanPaging_DirectionType `protobuf:"varint,2,opt,name=direction_type,json=directionType,proto3,enum=keyapis.subscription.v1.PlanPaging_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 *PlanPaging) Reset() {
	*x = PlanPaging{}
	if protoimpl.UnsafeEnabled {
		mi := &file_keyapis_subscription_v1_keyapis_subscription_plan_v1_proto_msgTypes[2]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*PlanPaging) ProtoMessage() {}

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

func (x *PlanPaging) GetOrderByType() PlanPaging_OrderByType {
	if x != nil {
		return x.OrderByType
	}
	return PlanPaging_ORDER_BY_TYPE_UNKNOWN
}

func (x *PlanPaging) GetDirectionType() PlanPaging_DirectionType {
	if x != nil {
		return x.DirectionType
	}
	return PlanPaging_DIRECTION_TYPE_UNKNOWN
}

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

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

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

	// Идентификатор
	Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
}

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

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

func (*GetPlanRequest) ProtoMessage() {}

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

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

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

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

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

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

func (*GetPlanResponse) ProtoMessage() {}

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

func (m *GetPlanResponse) GetType() isGetPlanResponse_Type {
	if m != nil {
		return m.Type
	}
	return nil
}

func (x *GetPlanResponse) GetData() *Plan {
	if x, ok := x.GetType().(*GetPlanResponse_Data); ok {
		return x.Data
	}
	return nil
}

type isGetPlanResponse_Type interface {
	isGetPlanResponse_Type()
}

type GetPlanResponse_Data struct {
	// Технологический план
	Data *Plan `protobuf:"bytes,1,opt,name=data,proto3,oneof"`
}

func (*GetPlanResponse_Data) isGetPlanResponse_Type() {}

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

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

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

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

func (*GetPlanListRequest) ProtoMessage() {}

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

func (x *GetPlanListRequest) GetFilter() *PlanFilter {
	if x != nil {
		return x.Filter
	}
	return nil
}

func (m *GetPlanListRequest) GetPagination() isGetPlanListRequest_Pagination {
	if m != nil {
		return m.Pagination
	}
	return nil
}

func (x *GetPlanListRequest) GetPaging() *PlanPaging {
	if x, ok := x.GetPagination().(*GetPlanListRequest_Paging); ok {
		return x.Paging
	}
	return nil
}

type isGetPlanListRequest_Pagination interface {
	isGetPlanListRequest_Pagination()
}

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

func (*GetPlanListRequest_Paging) isGetPlanListRequest_Pagination() {}

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

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

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

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

func (*GetPlanListResponse) ProtoMessage() {}

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

func (m *GetPlanListResponse) GetType() isGetPlanListResponse_Type {
	if m != nil {
		return m.Type
	}
	return nil
}

func (x *GetPlanListResponse) GetData() *Plan {
	if x, ok := x.GetType().(*GetPlanListResponse_Data); ok {
		return x.Data
	}
	return nil
}

func (x *GetPlanListResponse) GetError() *GetPlanListResponse_Error {
	if x, ok := x.GetType().(*GetPlanListResponse_Error_); ok {
		return x.Error
	}
	return nil
}

type isGetPlanListResponse_Type interface {
	isGetPlanListResponse_Type()
}

type GetPlanListResponse_Data struct {
	// Технологический план
	Data *Plan `protobuf:"bytes,1,opt,name=data,proto3,oneof"`
}

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

func (*GetPlanListResponse_Data) isGetPlanListResponse_Type() {}

func (*GetPlanListResponse_Error_) isGetPlanListResponse_Type() {}

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

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

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

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

func (*GetPlanCountRequest) ProtoMessage() {}

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

func (x *GetPlanCountRequest) GetFilter() *PlanFilter {
	if x != nil {
		return x.Filter
	}
	return nil
}

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

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

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

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

func (*GetPlanCountResponse) ProtoMessage() {}

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

func (m *GetPlanCountResponse) GetType() isGetPlanCountResponse_Type {
	if m != nil {
		return m.Type
	}
	return nil
}

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

func (x *GetPlanCountResponse) GetError() *GetPlanCountResponse_Error {
	if x, ok := x.GetType().(*GetPlanCountResponse_Error_); ok {
		return x.Error
	}
	return nil
}

type isGetPlanCountResponse_Type interface {
	isGetPlanCountResponse_Type()
}

type GetPlanCountResponse_Data struct {
	// Всего технологических планов
	Data int32 `protobuf:"varint,1,opt,name=data,proto3,oneof"`
}

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

func (*GetPlanCountResponse_Data) isGetPlanCountResponse_Type() {}

func (*GetPlanCountResponse_Error_) isGetPlanCountResponse_Type() {}

// Описание опции
type Plan_OptionDescription struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Тип иконки
	IconType Plan_IconType `protobuf:"varint,1,opt,name=icon_type,json=iconType,proto3,enum=keyapis.subscription.v1.Plan_IconType" json:"icon_type,omitempty"`
	// Название
	Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	// Краткое описание
	Summary *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=summary,proto3" json:"summary,omitempty"`
}

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

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

func (*Plan_OptionDescription) ProtoMessage() {}

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

func (x *Plan_OptionDescription) GetIconType() Plan_IconType {
	if x != nil {
		return x.IconType
	}
	return Plan_ICON_TYPE_UNKNOWN
}

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

func (x *Plan_OptionDescription) GetSummary() *wrapperspb.StringValue {
	if x != nil {
		return x.Summary
	}
	return nil
}

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

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

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

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

func (*PlanFilter_ValidationError) ProtoMessage() {}

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

func (m *PlanFilter_ValidationError) GetReason() isPlanFilter_ValidationError_Reason {
	if m != nil {
		return m.Reason
	}
	return nil
}

func (x *PlanFilter_ValidationError) GetText() *PlanFilter_ValidationError_TextInvalid {
	if x, ok := x.GetReason().(*PlanFilter_ValidationError_Text); ok {
		return x.Text
	}
	return nil
}

type isPlanFilter_ValidationError_Reason interface {
	isPlanFilter_ValidationError_Reason()
}

type PlanFilter_ValidationError_Text struct {
	// Текст передан некорректно
	Text *PlanFilter_ValidationError_TextInvalid `protobuf:"bytes,1,opt,name=text,proto3,oneof"`
}

func (*PlanFilter_ValidationError_Text) isPlanFilter_ValidationError_Reason() {}

// Причины:
// - Длина текста < 3 символов и >= 64
type PlanFilter_ValidationError_TextInvalid struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields
}

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

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

func (*PlanFilter_ValidationError_TextInvalid) ProtoMessage() {}

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

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

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

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

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

func (*PlanPaging_ValidationError) ProtoMessage() {}

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

func (m *PlanPaging_ValidationError) GetReason() isPlanPaging_ValidationError_Reason {
	if m != nil {
		return m.Reason
	}
	return nil
}

func (x *PlanPaging_ValidationError) GetLimit() *PlanPaging_ValidationError_LimitInvalid {
	if x, ok := x.GetReason().(*PlanPaging_ValidationError_Limit); ok {
		return x.Limit
	}
	return nil
}

func (x *PlanPaging_ValidationError) GetOffset() *PlanPaging_ValidationError_OffsetInvalid {
	if x, ok := x.GetReason().(*PlanPaging_ValidationError_Offset); ok {
		return x.Offset
	}
	return nil
}

type isPlanPaging_ValidationError_Reason interface {
	isPlanPaging_ValidationError_Reason()
}

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

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

func (*PlanPaging_ValidationError_Limit) isPlanPaging_ValidationError_Reason() {}

func (*PlanPaging_ValidationError_Offset) isPlanPaging_ValidationError_Reason() {}

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

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

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

func (*PlanPaging_ValidationError_LimitInvalid) ProtoMessage() {}

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

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

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

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

func (*PlanPaging_ValidationError_OffsetInvalid) ProtoMessage() {}

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

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

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

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

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

func (*GetPlanListResponse_Error) ProtoMessage() {}

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

func (m *GetPlanListResponse_Error) GetReason() isGetPlanListResponse_Error_Reason {
	if m != nil {
		return m.Reason
	}
	return nil
}

func (x *GetPlanListResponse_Error) GetPlanFilterValidation() *PlanFilter_ValidationError {
	if x, ok := x.GetReason().(*GetPlanListResponse_Error_PlanFilterValidation); ok {
		return x.PlanFilterValidation
	}
	return nil
}

func (x *GetPlanListResponse_Error) GetPlanPagingValidation() *PlanPaging_ValidationError {
	if x, ok := x.GetReason().(*GetPlanListResponse_Error_PlanPagingValidation); ok {
		return x.PlanPagingValidation
	}
	return nil
}

type isGetPlanListResponse_Error_Reason interface {
	isGetPlanListResponse_Error_Reason()
}

type GetPlanListResponse_Error_PlanFilterValidation struct {
	// Ошибка фильтрации
	PlanFilterValidation *PlanFilter_ValidationError `protobuf:"bytes,1,opt,name=plan_filter_validation,json=planFilterValidation,proto3,oneof"`
}

type GetPlanListResponse_Error_PlanPagingValidation struct {
	// Ошибка пагинации по страницам
	PlanPagingValidation *PlanPaging_ValidationError `protobuf:"bytes,2,opt,name=plan_paging_validation,json=planPagingValidation,proto3,oneof"`
}

func (*GetPlanListResponse_Error_PlanFilterValidation) isGetPlanListResponse_Error_Reason() {}

func (*GetPlanListResponse_Error_PlanPagingValidation) isGetPlanListResponse_Error_Reason() {}

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

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

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

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

func (*GetPlanCountResponse_Error) ProtoMessage() {}

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

func (m *GetPlanCountResponse_Error) GetReason() isGetPlanCountResponse_Error_Reason {
	if m != nil {
		return m.Reason
	}
	return nil
}

func (x *GetPlanCountResponse_Error) GetPlanFilterValidation() *PlanFilter_ValidationError {
	if x, ok := x.GetReason().(*GetPlanCountResponse_Error_PlanFilterValidation); ok {
		return x.PlanFilterValidation
	}
	return nil
}

type isGetPlanCountResponse_Error_Reason interface {
	isGetPlanCountResponse_Error_Reason()
}

type GetPlanCountResponse_Error_PlanFilterValidation struct {
	// Ошибка фильтрации
	PlanFilterValidation *PlanFilter_ValidationError `protobuf:"bytes,1,opt,name=plan_filter_validation,json=planFilterValidation,proto3,oneof"`
}

func (*GetPlanCountResponse_Error_PlanFilterValidation) isGetPlanCountResponse_Error_Reason() {}

var File_keyapis_subscription_v1_keyapis_subscription_plan_v1_proto protoreflect.FileDescriptor

var file_keyapis_subscription_v1_keyapis_subscription_plan_v1_proto_rawDesc = []byte{
	0x0a, 0x3a, 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,
	0x6c, 0x61, 0x6e, 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, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70,
	0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
	0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 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, 0x22, 0xd0, 0x06, 0x0a, 0x04, 0x50, 0x6c, 0x61,
	0x6e, 0x12, 0x13, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x42, 0x03, 0xe0,
	0x41, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x19, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18,
	0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c,
	0x65, 0x12, 0x3e, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e,
	0x18, 0x03, 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, 0x3e, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18,
	0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
	0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
	0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41,
	0x74, 0x12, 0x3e, 0x0a, 0x0a, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18,
	0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
	0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
	0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x09, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x41,
	0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18,
	0x06, 0x20, 0x03, 0x28, 0x05, 0x52, 0x09, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x73,
	0x12, 0x15, 0x0a, 0x06, 0x72, 0x66, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x05,
	0x52, 0x05, 0x72, 0x66, 0x49, 0x64, 0x73, 0x12, 0x36, 0x0a, 0x07, 0x73, 0x75, 0x6d, 0x6d, 0x61,
	0x72, 0x79, 0x18, 0x08, 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, 0x07, 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x12,
	0x43, 0x0a, 0x09, 0x69, 0x63, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x09, 0x20, 0x01,
	0x28, 0x0e, 0x32, 0x26, 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, 0x6c, 0x61,
	0x6e, 0x2e, 0x49, 0x63, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x08, 0x69, 0x63, 0x6f, 0x6e,
	0x54, 0x79, 0x70, 0x65, 0x12, 0x60, 0x0a, 0x13, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64,
	0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0a, 0x20, 0x03, 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, 0x50, 0x6c, 0x61, 0x6e,
	0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69,
	0x6f, 0x6e, 0x52, 0x12, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69,
	0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x50, 0x0a, 0x0f, 0x70, 0x72, 0x69, 0x76, 0x69, 0x6c,
	0x65, 0x67, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x0b, 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, 0x0e, 0x70, 0x72, 0x69, 0x76, 0x69, 0x6c,
	0x65, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x73, 0x1a, 0xab, 0x01, 0x0a, 0x11, 0x4f, 0x70, 0x74,
	0x69, 0x6f, 0x6e, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x43,
	0x0a, 0x09, 0x69, 0x63, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
	0x0e, 0x32, 0x26, 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, 0x6c, 0x61, 0x6e,
	0x2e, 0x49, 0x63, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x08, 0x69, 0x63, 0x6f, 0x6e, 0x54,
	0x79, 0x70, 0x65, 0x12, 0x19, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01,
	0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x36,
	0x0a, 0x07, 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x03, 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, 0x07, 0x73,
	0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x22, 0x43, 0x0a, 0x08, 0x49, 0x63, 0x6f, 0x6e, 0x54, 0x79,
	0x70, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x49, 0x43, 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f,
	0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x46, 0x41, 0x53,
	0x54, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x46, 0x41, 0x43, 0x45, 0x5f, 0x52, 0x45, 0x43, 0x10,
	0x02, 0x12, 0x08, 0x0a, 0x04, 0x53, 0x41, 0x46, 0x45, 0x10, 0x03, 0x22, 0xd9, 0x01, 0x0a, 0x0a,
	0x50, 0x6c, 0x61, 0x6e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x30, 0x0a, 0x04, 0x74, 0x65,
	0x78, 0x74, 0x18, 0x01, 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, 0x04, 0x74, 0x65, 0x78, 0x74, 0x12, 0x15, 0x0a, 0x06,
	0x72, 0x66, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x05, 0x52, 0x05, 0x72, 0x66,
	0x49, 0x64, 0x73, 0x1a, 0x81, 0x01, 0x0a, 0x0f, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69,
	0x6f, 0x6e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x55, 0x0a, 0x04, 0x74, 0x65, 0x78, 0x74, 0x18,
	0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3f, 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, 0x6c, 0x61, 0x6e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64,
	0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x2e, 0x54, 0x65, 0x78, 0x74, 0x49,
	0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x48, 0x00, 0x52, 0x04, 0x74, 0x65, 0x78, 0x74, 0x1a, 0x0d,
	0x0a, 0x0b, 0x54, 0x65, 0x78, 0x74, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x42, 0x08, 0x0a,
	0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x22, 0xd1, 0x04, 0x0a, 0x0a, 0x50, 0x6c, 0x61, 0x6e,
	0x50, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x12, 0x53, 0x0a, 0x0d, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f,
	0x62, 0x79, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 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, 0x50, 0x6c, 0x61, 0x6e, 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, 0x58, 0x0a, 0x0e, 0x64,
	0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20,
	0x01, 0x28, 0x0e, 0x32, 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, 0x50, 0x6c,
	0x61, 0x6e, 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, 0xf3, 0x01, 0x0a, 0x0f, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69,
	0x6f, 0x6e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x58, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74,
	0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x40, 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, 0x6c, 0x61, 0x6e, 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, 0x5b, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28,
	0x0b, 0x32, 0x41, 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, 0x6c, 0x61, 0x6e,
	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, 0x30, 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, 0x06, 0x0a, 0x02, 0x49, 0x44, 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, 0x25, 0x0a, 0x0e, 0x47,
	0x65, 0x74, 0x50, 0x6c, 0x61, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x13, 0x0a,
	0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x02,
	0x69, 0x64, 0x22, 0x4e, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x6e, 0x52, 0x65, 0x73,
	0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x33, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20,
	0x01, 0x28, 0x0b, 0x32, 0x1d, 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, 0x6c,
	0x61, 0x6e, 0x48, 0x00, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x42, 0x06, 0x0a, 0x04, 0x74, 0x79,
	0x70, 0x65, 0x22, 0xa3, 0x01, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x6e, 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, 0x23, 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, 0x6c, 0x61, 0x6e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x42, 0x03,
	0xe0, 0x41, 0x02, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x3d, 0x0a, 0x06, 0x70,
	0x61, 0x67, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 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, 0x6c, 0x61, 0x6e, 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, 0x8c, 0x03, 0x0a, 0x13, 0x47, 0x65, 0x74,
	0x50, 0x6c, 0x61, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
	0x12, 0x33, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d,
	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, 0x6c, 0x61, 0x6e, 0x48, 0x00, 0x52,
	0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x4a, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02,
	0x20, 0x01, 0x28, 0x0b, 0x32, 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, 0x6c, 0x61, 0x6e, 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, 0xeb, 0x01, 0x0a, 0x05, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x6b, 0x0a, 0x16, 0x70,
	0x6c, 0x61, 0x6e, 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, 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, 0x50, 0x6c, 0x61, 0x6e, 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, 0x14, 0x70, 0x6c, 0x61, 0x6e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x56, 0x61,
	0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x6b, 0x0a, 0x16, 0x70, 0x6c, 0x61, 0x6e,
	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, 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, 0x50, 0x6c, 0x61, 0x6e, 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,
	0x14, 0x70, 0x6c, 0x61, 0x6e, 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, 0x52, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x50, 0x6c,
	0x61, 0x6e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b,
	0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23,
	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, 0x6c, 0x61, 0x6e, 0x46, 0x69, 0x6c,
	0x74, 0x65, 0x72, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, 0x81, 0x02, 0x0a, 0x14,
	0x47, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x6e, 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, 0x4b, 0x0a, 0x05, 0x65, 0x72,
	0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 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, 0x50, 0x6c, 0x61, 0x6e, 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, 0x7e, 0x0a, 0x05, 0x45, 0x72, 0x72, 0x6f, 0x72,
	0x12, 0x6b, 0x0a, 0x16, 0x70, 0x6c, 0x61, 0x6e, 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, 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, 0x50, 0x6c, 0x61, 0x6e, 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, 0x14, 0x70, 0x6c, 0x61, 0x6e, 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, 0x32,
	0xc0, 0x03, 0x0a, 0x0b, 0x50, 0x6c, 0x61, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12,
	0x84, 0x01, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x6e, 0x12, 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, 0x47, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x6e, 0x52, 0x65, 0x71,
	0x75, 0x65, 0x73, 0x74, 0x1a, 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, 0x47,
	0x65, 0x74, 0x50, 0x6c, 0x61, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x26,
	0x82, 0xd3, 0xe4, 0x93, 0x02, 0x20, 0x12, 0x1e, 0x2f, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69,
	0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x6c, 0x61,
	0x6e, 0x2f, 0x7b, 0x69, 0x64, 0x7d, 0x12, 0x92, 0x01, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x50, 0x6c,
	0x61, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2b, 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, 0x6c, 0x61, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75,
	0x65, 0x73, 0x74, 0x1a, 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, 0x47, 0x65,
	0x74, 0x50, 0x6c, 0x61, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
	0x65, 0x22, 0x26, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x20, 0x12, 0x1e, 0x2f, 0x73, 0x75, 0x62, 0x73,
	0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f,
	0x70, 0x6c, 0x61, 0x6e, 0x2f, 0x6c, 0x69, 0x73, 0x74, 0x30, 0x01, 0x12, 0x94, 0x01, 0x0a, 0x0c,
	0x47, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x6e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 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, 0x47, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x6e, 0x43, 0x6f,
	0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 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, 0x6c, 0x61, 0x6e, 0x43, 0x6f, 0x75, 0x6e,
	0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x27, 0x82, 0xd3, 0xe4, 0x93, 0x02,
	0x21, 0x12, 0x1f, 0x2f, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e,
	0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x2f, 0x63, 0x6f, 0x75,
	0x6e, 0x74, 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_plan_v1_proto_rawDescOnce sync.Once
	file_keyapis_subscription_v1_keyapis_subscription_plan_v1_proto_rawDescData = file_keyapis_subscription_v1_keyapis_subscription_plan_v1_proto_rawDesc
)

func file_keyapis_subscription_v1_keyapis_subscription_plan_v1_proto_rawDescGZIP() []byte {
	file_keyapis_subscription_v1_keyapis_subscription_plan_v1_proto_rawDescOnce.Do(func() {
		file_keyapis_subscription_v1_keyapis_subscription_plan_v1_proto_rawDescData = protoimpl.X.CompressGZIP(file_keyapis_subscription_v1_keyapis_subscription_plan_v1_proto_rawDescData)
	})
	return file_keyapis_subscription_v1_keyapis_subscription_plan_v1_proto_rawDescData
}

var file_keyapis_subscription_v1_keyapis_subscription_plan_v1_proto_enumTypes = make([]protoimpl.EnumInfo, 3)
var file_keyapis_subscription_v1_keyapis_subscription_plan_v1_proto_msgTypes = make([]protoimpl.MessageInfo, 17)
var file_keyapis_subscription_v1_keyapis_subscription_plan_v1_proto_goTypes = []interface{}{
	(Plan_IconType)(0),                               // 0: keyapis.subscription.v1.Plan.IconType
	(PlanPaging_OrderByType)(0),                      // 1: keyapis.subscription.v1.PlanPaging.OrderByType
	(PlanPaging_DirectionType)(0),                    // 2: keyapis.subscription.v1.PlanPaging.DirectionType
	(*Plan)(nil),                                     // 3: keyapis.subscription.v1.Plan
	(*PlanFilter)(nil),                               // 4: keyapis.subscription.v1.PlanFilter
	(*PlanPaging)(nil),                               // 5: keyapis.subscription.v1.PlanPaging
	(*GetPlanRequest)(nil),                           // 6: keyapis.subscription.v1.GetPlanRequest
	(*GetPlanResponse)(nil),                          // 7: keyapis.subscription.v1.GetPlanResponse
	(*GetPlanListRequest)(nil),                       // 8: keyapis.subscription.v1.GetPlanListRequest
	(*GetPlanListResponse)(nil),                      // 9: keyapis.subscription.v1.GetPlanListResponse
	(*GetPlanCountRequest)(nil),                      // 10: keyapis.subscription.v1.GetPlanCountRequest
	(*GetPlanCountResponse)(nil),                     // 11: keyapis.subscription.v1.GetPlanCountResponse
	(*Plan_OptionDescription)(nil),                   // 12: keyapis.subscription.v1.Plan.OptionDescription
	(*PlanFilter_ValidationError)(nil),               // 13: keyapis.subscription.v1.PlanFilter.ValidationError
	(*PlanFilter_ValidationError_TextInvalid)(nil),   // 14: keyapis.subscription.v1.PlanFilter.ValidationError.TextInvalid
	(*PlanPaging_ValidationError)(nil),               // 15: keyapis.subscription.v1.PlanPaging.ValidationError
	(*PlanPaging_ValidationError_LimitInvalid)(nil),  // 16: keyapis.subscription.v1.PlanPaging.ValidationError.LimitInvalid
	(*PlanPaging_ValidationError_OffsetInvalid)(nil), // 17: keyapis.subscription.v1.PlanPaging.ValidationError.OffsetInvalid
	(*GetPlanListResponse_Error)(nil),                // 18: keyapis.subscription.v1.GetPlanListResponse.Error
	(*GetPlanCountResponse_Error)(nil),               // 19: keyapis.subscription.v1.GetPlanCountResponse.Error
	(*wrapperspb.StringValue)(nil),                   // 20: google.protobuf.StringValue
	(*timestamppb.Timestamp)(nil),                    // 21: google.protobuf.Timestamp
	(Privilege_Type)(0),                              // 22: keyapis.subscription.v1.Privilege.Type
}
var file_keyapis_subscription_v1_keyapis_subscription_plan_v1_proto_depIdxs = []int32{
	20, // 0: keyapis.subscription.v1.Plan.description:type_name -> google.protobuf.StringValue
	21, // 1: keyapis.subscription.v1.Plan.created_at:type_name -> google.protobuf.Timestamp
	21, // 2: keyapis.subscription.v1.Plan.changed_at:type_name -> google.protobuf.Timestamp
	20, // 3: keyapis.subscription.v1.Plan.summary:type_name -> google.protobuf.StringValue
	0,  // 4: keyapis.subscription.v1.Plan.icon_type:type_name -> keyapis.subscription.v1.Plan.IconType
	12, // 5: keyapis.subscription.v1.Plan.option_descriptions:type_name -> keyapis.subscription.v1.Plan.OptionDescription
	22, // 6: keyapis.subscription.v1.Plan.privilege_types:type_name -> keyapis.subscription.v1.Privilege.Type
	20, // 7: keyapis.subscription.v1.PlanFilter.text:type_name -> google.protobuf.StringValue
	1,  // 8: keyapis.subscription.v1.PlanPaging.order_by_type:type_name -> keyapis.subscription.v1.PlanPaging.OrderByType
	2,  // 9: keyapis.subscription.v1.PlanPaging.direction_type:type_name -> keyapis.subscription.v1.PlanPaging.DirectionType
	3,  // 10: keyapis.subscription.v1.GetPlanResponse.data:type_name -> keyapis.subscription.v1.Plan
	4,  // 11: keyapis.subscription.v1.GetPlanListRequest.filter:type_name -> keyapis.subscription.v1.PlanFilter
	5,  // 12: keyapis.subscription.v1.GetPlanListRequest.paging:type_name -> keyapis.subscription.v1.PlanPaging
	3,  // 13: keyapis.subscription.v1.GetPlanListResponse.data:type_name -> keyapis.subscription.v1.Plan
	18, // 14: keyapis.subscription.v1.GetPlanListResponse.error:type_name -> keyapis.subscription.v1.GetPlanListResponse.Error
	4,  // 15: keyapis.subscription.v1.GetPlanCountRequest.filter:type_name -> keyapis.subscription.v1.PlanFilter
	19, // 16: keyapis.subscription.v1.GetPlanCountResponse.error:type_name -> keyapis.subscription.v1.GetPlanCountResponse.Error
	0,  // 17: keyapis.subscription.v1.Plan.OptionDescription.icon_type:type_name -> keyapis.subscription.v1.Plan.IconType
	20, // 18: keyapis.subscription.v1.Plan.OptionDescription.summary:type_name -> google.protobuf.StringValue
	14, // 19: keyapis.subscription.v1.PlanFilter.ValidationError.text:type_name -> keyapis.subscription.v1.PlanFilter.ValidationError.TextInvalid
	16, // 20: keyapis.subscription.v1.PlanPaging.ValidationError.limit:type_name -> keyapis.subscription.v1.PlanPaging.ValidationError.LimitInvalid
	17, // 21: keyapis.subscription.v1.PlanPaging.ValidationError.offset:type_name -> keyapis.subscription.v1.PlanPaging.ValidationError.OffsetInvalid
	13, // 22: keyapis.subscription.v1.GetPlanListResponse.Error.plan_filter_validation:type_name -> keyapis.subscription.v1.PlanFilter.ValidationError
	15, // 23: keyapis.subscription.v1.GetPlanListResponse.Error.plan_paging_validation:type_name -> keyapis.subscription.v1.PlanPaging.ValidationError
	13, // 24: keyapis.subscription.v1.GetPlanCountResponse.Error.plan_filter_validation:type_name -> keyapis.subscription.v1.PlanFilter.ValidationError
	6,  // 25: keyapis.subscription.v1.PlanService.GetPlan:input_type -> keyapis.subscription.v1.GetPlanRequest
	8,  // 26: keyapis.subscription.v1.PlanService.GetPlanList:input_type -> keyapis.subscription.v1.GetPlanListRequest
	10, // 27: keyapis.subscription.v1.PlanService.GetPlanCount:input_type -> keyapis.subscription.v1.GetPlanCountRequest
	7,  // 28: keyapis.subscription.v1.PlanService.GetPlan:output_type -> keyapis.subscription.v1.GetPlanResponse
	9,  // 29: keyapis.subscription.v1.PlanService.GetPlanList:output_type -> keyapis.subscription.v1.GetPlanListResponse
	11, // 30: keyapis.subscription.v1.PlanService.GetPlanCount:output_type -> keyapis.subscription.v1.GetPlanCountResponse
	28, // [28:31] is the sub-list for method output_type
	25, // [25:28] is the sub-list for method input_type
	25, // [25:25] is the sub-list for extension type_name
	25, // [25:25] is the sub-list for extension extendee
	0,  // [0:25] is the sub-list for field type_name
}

func init() { file_keyapis_subscription_v1_keyapis_subscription_plan_v1_proto_init() }
func file_keyapis_subscription_v1_keyapis_subscription_plan_v1_proto_init() {
	if File_keyapis_subscription_v1_keyapis_subscription_plan_v1_proto != nil {
		return
	}
	file_keyapis_subscription_v1_keyapis_subscription_privilege_v1_proto_init()
	if !protoimpl.UnsafeEnabled {
		file_keyapis_subscription_v1_keyapis_subscription_plan_v1_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*Plan); 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_plan_v1_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*PlanFilter); 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_plan_v1_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*PlanPaging); 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_plan_v1_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*GetPlanRequest); 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_plan_v1_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*GetPlanResponse); 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_plan_v1_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*GetPlanListRequest); 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_plan_v1_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*GetPlanListResponse); 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_plan_v1_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*GetPlanCountRequest); 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_plan_v1_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*GetPlanCountResponse); 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_plan_v1_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*Plan_OptionDescription); 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_plan_v1_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*PlanFilter_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_plan_v1_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*PlanFilter_ValidationError_TextInvalid); 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_plan_v1_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*PlanPaging_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_plan_v1_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*PlanPaging_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_plan_v1_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*PlanPaging_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_plan_v1_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*GetPlanListResponse_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_plan_v1_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*GetPlanCountResponse_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_plan_v1_proto_msgTypes[4].OneofWrappers = []interface{}{
		(*GetPlanResponse_Data)(nil),
	}
	file_keyapis_subscription_v1_keyapis_subscription_plan_v1_proto_msgTypes[5].OneofWrappers = []interface{}{
		(*GetPlanListRequest_Paging)(nil),
	}
	file_keyapis_subscription_v1_keyapis_subscription_plan_v1_proto_msgTypes[6].OneofWrappers = []interface{}{
		(*GetPlanListResponse_Data)(nil),
		(*GetPlanListResponse_Error_)(nil),
	}
	file_keyapis_subscription_v1_keyapis_subscription_plan_v1_proto_msgTypes[8].OneofWrappers = []interface{}{
		(*GetPlanCountResponse_Data)(nil),
		(*GetPlanCountResponse_Error_)(nil),
	}
	file_keyapis_subscription_v1_keyapis_subscription_plan_v1_proto_msgTypes[10].OneofWrappers = []interface{}{
		(*PlanFilter_ValidationError_Text)(nil),
	}
	file_keyapis_subscription_v1_keyapis_subscription_plan_v1_proto_msgTypes[12].OneofWrappers = []interface{}{
		(*PlanPaging_ValidationError_Limit)(nil),
		(*PlanPaging_ValidationError_Offset)(nil),
	}
	file_keyapis_subscription_v1_keyapis_subscription_plan_v1_proto_msgTypes[15].OneofWrappers = []interface{}{
		(*GetPlanListResponse_Error_PlanFilterValidation)(nil),
		(*GetPlanListResponse_Error_PlanPagingValidation)(nil),
	}
	file_keyapis_subscription_v1_keyapis_subscription_plan_v1_proto_msgTypes[16].OneofWrappers = []interface{}{
		(*GetPlanCountResponse_Error_PlanFilterValidation)(nil),
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: file_keyapis_subscription_v1_keyapis_subscription_plan_v1_proto_rawDesc,
			NumEnums:      3,
			NumMessages:   17,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_keyapis_subscription_v1_keyapis_subscription_plan_v1_proto_goTypes,
		DependencyIndexes: file_keyapis_subscription_v1_keyapis_subscription_plan_v1_proto_depIdxs,
		EnumInfos:         file_keyapis_subscription_v1_keyapis_subscription_plan_v1_proto_enumTypes,
		MessageInfos:      file_keyapis_subscription_v1_keyapis_subscription_plan_v1_proto_msgTypes,
	}.Build()
	File_keyapis_subscription_v1_keyapis_subscription_plan_v1_proto = out.File
	file_keyapis_subscription_v1_keyapis_subscription_plan_v1_proto_rawDesc = nil
	file_keyapis_subscription_v1_keyapis_subscription_plan_v1_proto_goTypes = nil
	file_keyapis_subscription_v1_keyapis_subscription_plan_v1_proto_depIdxs = nil
}
