//
//Сервис публикации публичных криптографических ключей в формате JWK

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

package keyapis_jwks_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"
	_ "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 KeyInfo struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Идентификатор ключа, соответсвует kid.
	// # Тип: Guid
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Публичный ключ
	PublicKey *KeyInfo_PublicKey `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	// Дата создания.
	// # Тип: DateTime
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
}

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

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

func (*KeyInfo) ProtoMessage() {}

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

func (x *KeyInfo) GetId() string {
	if x != nil {
		return x.Id
	}
	return ""
}

func (x *KeyInfo) GetPublicKey() *KeyInfo_PublicKey {
	if x != nil {
		return x.PublicKey
	}
	return nil
}

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

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

	// Ключ
	Data *KeyInfo_PublicKey `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
}

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

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

func (*PostKeyRequest) ProtoMessage() {}

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

func (x *PostKeyRequest) GetData() *KeyInfo_PublicKey {
	if x != nil {
		return x.Data
	}
	return nil
}

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

	// Тип ответа
	//
	// Types that are assignable to Type:
	//
	//	*PostKeyResponse_Error_
	Type isPostKeyResponse_Type `protobuf_oneof:"type"`
}

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

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

func (*PostKeyResponse) ProtoMessage() {}

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

func (m *PostKeyResponse) GetType() isPostKeyResponse_Type {
	if m != nil {
		return m.Type
	}
	return nil
}

func (x *PostKeyResponse) GetError() *PostKeyResponse_Error {
	if x, ok := x.GetType().(*PostKeyResponse_Error_); ok {
		return x.Error
	}
	return nil
}

type isPostKeyResponse_Type interface {
	isPostKeyResponse_Type()
}

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

func (*PostKeyResponse_Error_) isPostKeyResponse_Type() {}

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

	// Идентификатор ключа, соответсвует kid.
	// # Тип: Guid
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
}

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

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

func (*DeleteKeyRequest) ProtoMessage() {}

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

func (x *DeleteKeyRequest) GetId() string {
	if x != nil {
		return x.Id
	}
	return ""
}

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

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

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

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

func (*DeleteKeyResponse) ProtoMessage() {}

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

func (m *DeleteKeyResponse) GetType() isDeleteKeyResponse_Type {
	if m != nil {
		return m.Type
	}
	return nil
}

func (x *DeleteKeyResponse) GetError() *DeleteKeyResponse_Error {
	if x, ok := x.GetType().(*DeleteKeyResponse_Error_); ok {
		return x.Error
	}
	return nil
}

type isDeleteKeyResponse_Type interface {
	isDeleteKeyResponse_Type()
}

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

func (*DeleteKeyResponse_Error_) isDeleteKeyResponse_Type() {}

// Запрос на получение публичных ключей
type GetKeyWellKnownJwksJsonRequest struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields
}

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

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

func (*GetKeyWellKnownJwksJsonRequest) ProtoMessage() {}

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

// Ответ на запрос на получение публичных ключей
type GetKeyWellKnownJwksJsonResponse struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Список ключей
	Data []*KeyInfo_PublicKey `protobuf:"bytes,1,rep,name=data,json=keys,proto3" json:"data,omitempty"`
}

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

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

func (*GetKeyWellKnownJwksJsonResponse) ProtoMessage() {}

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

func (x *GetKeyWellKnownJwksJsonResponse) GetData() []*KeyInfo_PublicKey {
	if x != nil {
		return x.Data
	}
	return nil
}

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

	// Путь к полю в формате наименования прото
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	// Валидационное сообщение
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
}

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

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

func (*ValidationError) ProtoMessage() {}

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

func (x *ValidationError) GetPath() string {
	if x != nil {
		return x.Path
	}
	return ""
}

func (x *ValidationError) GetMessage() string {
	if x != nil {
		return x.Message
	}
	return ""
}

// Публичный ключ
type KeyInfo_PublicKey struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Вид использования.
	// # Диапазон: 2..32
	Use string `protobuf:"bytes,1,opt,name=use,proto3" json:"use,omitempty"`
	// Тип ключа.
	// # Диапазон: 2..32
	Kty string `protobuf:"bytes,2,opt,name=kty,proto3" json:"kty,omitempty"`
	// Идентификатор.
	// # Тип: Guid
	Kid string `protobuf:"bytes,3,opt,name=kid,proto3" json:"kid,omitempty"`
	// Алгоритм шифрования.
	// # Диапазон: 2..32
	Alg string `protobuf:"bytes,4,opt,name=alg,proto3" json:"alg,omitempty"`
	// Параметр Modulus
	N string `protobuf:"bytes,5,opt,name=n,proto3" json:"n,omitempty"`
	// Параметр Exponent
	E string `protobuf:"bytes,6,opt,name=e,proto3" json:"e,omitempty"`
	// Цепочка сертификатов X.509.
	// # Диапазон: 0..100
	X5C []string `protobuf:"bytes,7,rep,name=x5c,proto3" json:"x5c,omitempty"`
}

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

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

func (*KeyInfo_PublicKey) ProtoMessage() {}

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

func (x *KeyInfo_PublicKey) GetUse() string {
	if x != nil {
		return x.Use
	}
	return ""
}

func (x *KeyInfo_PublicKey) GetKty() string {
	if x != nil {
		return x.Kty
	}
	return ""
}

func (x *KeyInfo_PublicKey) GetKid() string {
	if x != nil {
		return x.Kid
	}
	return ""
}

func (x *KeyInfo_PublicKey) GetAlg() string {
	if x != nil {
		return x.Alg
	}
	return ""
}

func (x *KeyInfo_PublicKey) GetN() string {
	if x != nil {
		return x.N
	}
	return ""
}

func (x *KeyInfo_PublicKey) GetE() string {
	if x != nil {
		return x.E
	}
	return ""
}

func (x *KeyInfo_PublicKey) GetX5C() []string {
	if x != nil {
		return x.X5C
	}
	return nil
}

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

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

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

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

func (*KeyInfo_SavingError) ProtoMessage() {}

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

func (m *KeyInfo_SavingError) GetReason() isKeyInfo_SavingError_Reason {
	if m != nil {
		return m.Reason
	}
	return nil
}

func (x *KeyInfo_SavingError) GetKeyAlreadyExists() *KeyInfo_SavingError_KeyAlreadyExists {
	if x, ok := x.GetReason().(*KeyInfo_SavingError_KeyAlreadyExists_); ok {
		return x.KeyAlreadyExists
	}
	return nil
}

type isKeyInfo_SavingError_Reason interface {
	isKeyInfo_SavingError_Reason()
}

type KeyInfo_SavingError_KeyAlreadyExists_ struct {
	// Ключ с таким идентификатором уже существует
	KeyAlreadyExists *KeyInfo_SavingError_KeyAlreadyExists `protobuf:"bytes,1,opt,name=key_already_exists,json=keyAlreadyExists,proto3,oneof"`
}

func (*KeyInfo_SavingError_KeyAlreadyExists_) isKeyInfo_SavingError_Reason() {}

// Ключ с таким идентификатором уже существует.
// Причины:
// - В базе хранится запись с переданнм kid
type KeyInfo_SavingError_KeyAlreadyExists struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields
}

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

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

func (*KeyInfo_SavingError_KeyAlreadyExists) ProtoMessage() {}

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

// Ошибка
type PostKeyResponse_Error struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Причина
	//
	// Types that are assignable to Reason:
	//
	//	*PostKeyResponse_Error_Validation
	//	*PostKeyResponse_Error_Saving
	Reason isPostKeyResponse_Error_Reason `protobuf_oneof:"reason"`
}

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

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

func (*PostKeyResponse_Error) ProtoMessage() {}

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

func (m *PostKeyResponse_Error) GetReason() isPostKeyResponse_Error_Reason {
	if m != nil {
		return m.Reason
	}
	return nil
}

func (x *PostKeyResponse_Error) GetValidation() *ValidationError {
	if x, ok := x.GetReason().(*PostKeyResponse_Error_Validation); ok {
		return x.Validation
	}
	return nil
}

func (x *PostKeyResponse_Error) GetSaving() *KeyInfo_SavingError {
	if x, ok := x.GetReason().(*PostKeyResponse_Error_Saving); ok {
		return x.Saving
	}
	return nil
}

type isPostKeyResponse_Error_Reason interface {
	isPostKeyResponse_Error_Reason()
}

type PostKeyResponse_Error_Validation struct {
	// Ошибки валидации
	Validation *ValidationError `protobuf:"bytes,1,opt,name=validation,proto3,oneof"`
}

type PostKeyResponse_Error_Saving struct {
	// Ошибка сохранения
	Saving *KeyInfo_SavingError `protobuf:"bytes,2,opt,name=saving,proto3,oneof"`
}

func (*PostKeyResponse_Error_Validation) isPostKeyResponse_Error_Reason() {}

func (*PostKeyResponse_Error_Saving) isPostKeyResponse_Error_Reason() {}

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

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

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

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

func (*DeleteKeyResponse_Error) ProtoMessage() {}

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

func (m *DeleteKeyResponse_Error) GetReason() isDeleteKeyResponse_Error_Reason {
	if m != nil {
		return m.Reason
	}
	return nil
}

func (x *DeleteKeyResponse_Error) GetValidation() *ValidationError {
	if x, ok := x.GetReason().(*DeleteKeyResponse_Error_Validation); ok {
		return x.Validation
	}
	return nil
}

type isDeleteKeyResponse_Error_Reason interface {
	isDeleteKeyResponse_Error_Reason()
}

type DeleteKeyResponse_Error_Validation struct {
	// Ошибка валидации
	Validation *ValidationError `protobuf:"bytes,1,opt,name=validation,proto3,oneof"`
}

func (*DeleteKeyResponse_Error_Validation) isDeleteKeyResponse_Error_Reason() {}

var File_keyapis_jwks_v1_keyapis_jwks_key_v1_proto protoreflect.FileDescriptor

var file_keyapis_jwks_v1_keyapis_jwks_key_v1_proto_rawDesc = []byte{
	0x0a, 0x29, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x6a, 0x77, 0x6b, 0x73, 0x2f, 0x76,
	0x31, 0x2f, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x5f, 0x6a, 0x77, 0x6b, 0x73, 0x5f, 0x6b,
	0x65, 0x79, 0x5f, 0x76, 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0f, 0x6b, 0x65, 0x79,
	0x61, 0x70, 0x69, 0x73, 0x2e, 0x6a, 0x77, 0x6b, 0x73, 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, 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, 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, 0xd8,
	0x03, 0x0a, 0x07, 0x4b, 0x65, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x13, 0x0a, 0x02, 0x69, 0x64,
	0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x02, 0x69, 0x64, 0x12,
	0x46, 0x0a, 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20,
	0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6a, 0x77,
	0x6b, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4b, 0x65, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x50, 0x75,
	0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x09, 0x70, 0x75,
	0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x3e, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74,
	0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x03, 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, 0x1a, 0x9a, 0x01, 0x0a, 0x09, 0x50, 0x75, 0x62, 0x6c,
	0x69, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x15, 0x0a, 0x03, 0x75, 0x73, 0x65, 0x18, 0x01, 0x20, 0x01,
	0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x03, 0x75, 0x73, 0x65, 0x12, 0x15, 0x0a, 0x03,
	0x6b, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x03,
	0x6b, 0x74, 0x79, 0x12, 0x15, 0x0a, 0x03, 0x6b, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
	0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x03, 0x6b, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x6c,
	0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x61, 0x6c, 0x67, 0x12, 0x11, 0x0a, 0x01,
	0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x01, 0x6e, 0x12,
	0x11, 0x0a, 0x01, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52,
	0x01, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x78, 0x35, 0x63, 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x52,
	0x03, 0x78, 0x35, 0x63, 0x1a, 0x92, 0x01, 0x0a, 0x0b, 0x53, 0x61, 0x76, 0x69, 0x6e, 0x67, 0x45,
	0x72, 0x72, 0x6f, 0x72, 0x12, 0x65, 0x0a, 0x12, 0x6b, 0x65, 0x79, 0x5f, 0x61, 0x6c, 0x72, 0x65,
	0x61, 0x64, 0x79, 0x5f, 0x65, 0x78, 0x69, 0x73, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
	0x32, 0x35, 0x2e, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6a, 0x77, 0x6b, 0x73, 0x2e,
	0x76, 0x31, 0x2e, 0x4b, 0x65, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x53, 0x61, 0x76, 0x69, 0x6e,
	0x67, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x2e, 0x4b, 0x65, 0x79, 0x41, 0x6c, 0x72, 0x65, 0x61, 0x64,
	0x79, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x48, 0x00, 0x52, 0x10, 0x6b, 0x65, 0x79, 0x41, 0x6c,
	0x72, 0x65, 0x61, 0x64, 0x79, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x1a, 0x12, 0x0a, 0x10, 0x4b,
	0x65, 0x79, 0x41, 0x6c, 0x72, 0x65, 0x61, 0x64, 0x79, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x42,
	0x08, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x22, 0x4d, 0x0a, 0x0e, 0x50, 0x6f, 0x73,
	0x74, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x04, 0x64,
	0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x6b, 0x65, 0x79, 0x61,
	0x70, 0x69, 0x73, 0x2e, 0x6a, 0x77, 0x6b, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4b, 0x65, 0x79, 0x49,
	0x6e, 0x66, 0x6f, 0x2e, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x42, 0x03, 0xe0,
	0x41, 0x02, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0xf1, 0x01, 0x0a, 0x0f, 0x50, 0x6f, 0x73,
	0x74, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3e, 0x0a, 0x05,
	0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x6b, 0x65,
	0x79, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6a, 0x77, 0x6b, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f,
	0x73, 0x74, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x45, 0x72,
	0x72, 0x6f, 0x72, 0x48, 0x00, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x1a, 0x95, 0x01, 0x0a,
	0x05, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x42, 0x0a, 0x0a, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61,
	0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x6b, 0x65, 0x79,
	0x61, 0x70, 0x69, 0x73, 0x2e, 0x6a, 0x77, 0x6b, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x61, 0x6c,
	0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x48, 0x00, 0x52, 0x0a,
	0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3e, 0x0a, 0x06, 0x73, 0x61,
	0x76, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6b, 0x65, 0x79,
	0x61, 0x70, 0x69, 0x73, 0x2e, 0x6a, 0x77, 0x6b, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4b, 0x65, 0x79,
	0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x53, 0x61, 0x76, 0x69, 0x6e, 0x67, 0x45, 0x72, 0x72, 0x6f, 0x72,
	0x48, 0x00, 0x52, 0x06, 0x73, 0x61, 0x76, 0x69, 0x6e, 0x67, 0x42, 0x08, 0x0a, 0x06, 0x72, 0x65,
	0x61, 0x73, 0x6f, 0x6e, 0x42, 0x06, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x27, 0x0a, 0x10,
	0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
	0x12, 0x13, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41,
	0x02, 0x52, 0x02, 0x69, 0x64, 0x22, 0xb4, 0x01, 0x0a, 0x11, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65,
	0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x40, 0x0a, 0x05, 0x65,
	0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6b, 0x65, 0x79,
	0x61, 0x70, 0x69, 0x73, 0x2e, 0x6a, 0x77, 0x6b, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c,
	0x65, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x45,
	0x72, 0x72, 0x6f, 0x72, 0x48, 0x00, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x1a, 0x55, 0x0a,
	0x05, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x42, 0x0a, 0x0a, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61,
	0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x6b, 0x65, 0x79,
	0x61, 0x70, 0x69, 0x73, 0x2e, 0x6a, 0x77, 0x6b, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x61, 0x6c,
	0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x48, 0x00, 0x52, 0x0a,
	0x76, 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, 0x20, 0x0a, 0x1e,
	0x47, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x57, 0x65, 0x6c, 0x6c, 0x4b, 0x6e, 0x6f, 0x77, 0x6e, 0x4a,
	0x77, 0x6b, 0x73, 0x4a, 0x73, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x59,
	0x0a, 0x1f, 0x47, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x57, 0x65, 0x6c, 0x6c, 0x4b, 0x6e, 0x6f, 0x77,
	0x6e, 0x4a, 0x77, 0x6b, 0x73, 0x4a, 0x73, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
	0x65, 0x12, 0x36, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
	0x22, 0x2e, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6a, 0x77, 0x6b, 0x73, 0x2e, 0x76,
	0x31, 0x2e, 0x4b, 0x65, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63,
	0x4b, 0x65, 0x79, 0x52, 0x04, 0x6b, 0x65, 0x79, 0x73, 0x22, 0x49, 0x0a, 0x0f, 0x56, 0x61, 0x6c,
	0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x17, 0x0a, 0x04,
	0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52,
	0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x1d, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
	0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x07, 0x6d, 0x65, 0x73,
	0x73, 0x61, 0x67, 0x65, 0x32, 0xab, 0x03, 0x0a, 0x0a, 0x4b, 0x65, 0x79, 0x53, 0x65, 0x72, 0x76,
	0x69, 0x63, 0x65, 0x12, 0x72, 0x0a, 0x07, 0x50, 0x6f, 0x73, 0x74, 0x4b, 0x65, 0x79, 0x12, 0x1f,
	0x2e, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6a, 0x77, 0x6b, 0x73, 0x2e, 0x76, 0x31,
	0x2e, 0x50, 0x6f, 0x73, 0x74, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
	0x20, 0x2e, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6a, 0x77, 0x6b, 0x73, 0x2e, 0x76,
	0x31, 0x2e, 0x50, 0x6f, 0x73, 0x74, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
	0x65, 0x22, 0x24, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1e, 0x3a, 0x01, 0x2a, 0x22, 0x19, 0x2f, 0x6a,
	0x77, 0x6b, 0x73, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x61, 0x70, 0x69,
	0x2f, 0x76, 0x31, 0x2f, 0x6b, 0x65, 0x79, 0x12, 0x7a, 0x0a, 0x09, 0x44, 0x65, 0x6c, 0x65, 0x74,
	0x65, 0x4b, 0x65, 0x79, 0x12, 0x21, 0x2e, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6a,
	0x77, 0x6b, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4b, 0x65, 0x79,
	0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69,
	0x73, 0x2e, 0x6a, 0x77, 0x6b, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65,
	0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x26, 0x82, 0xd3, 0xe4,
	0x93, 0x02, 0x20, 0x2a, 0x1e, 0x2f, 0x6a, 0x77, 0x6b, 0x73, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72,
	0x6e, 0x61, 0x6c, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x6b, 0x65, 0x79, 0x2f, 0x7b,
	0x69, 0x64, 0x7d, 0x12, 0xac, 0x01, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x57, 0x65,
	0x6c, 0x6c, 0x4b, 0x6e, 0x6f, 0x77, 0x6e, 0x4a, 0x77, 0x6b, 0x73, 0x4a, 0x73, 0x6f, 0x6e, 0x12,
	0x2f, 0x2e, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6a, 0x77, 0x6b, 0x73, 0x2e, 0x76,
	0x31, 0x2e, 0x47, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x57, 0x65, 0x6c, 0x6c, 0x4b, 0x6e, 0x6f, 0x77,
	0x6e, 0x4a, 0x77, 0x6b, 0x73, 0x4a, 0x73, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
	0x1a, 0x30, 0x2e, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6a, 0x77, 0x6b, 0x73, 0x2e,
	0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x57, 0x65, 0x6c, 0x6c, 0x4b, 0x6e, 0x6f,
	0x77, 0x6e, 0x4a, 0x77, 0x6b, 0x73, 0x4a, 0x73, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
	0x73, 0x65, 0x22, 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x28, 0x12, 0x26, 0x2f, 0x6a, 0x77, 0x6b,
	0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x6b, 0x65, 0x79, 0x2f, 0x2e, 0x77, 0x65,
	0x6c, 0x6c, 0x2d, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x2f, 0x6a, 0x77, 0x6b, 0x73, 0x2e, 0x6a, 0x73,
	0x6f, 0x6e, 0x42, 0x8c, 0x01, 0x0a, 0x12, 0x72, 0x75, 0x2e, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69,
	0x73, 0x2e, 0x6a, 0x77, 0x6b, 0x73, 0x2e, 0x76, 0x31, 0x42, 0x12, 0x4b, 0x65, 0x79, 0x61, 0x70,
	0x69, 0x73, 0x4a, 0x77, 0x6b, 0x73, 0x56, 0x31, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x48, 0x03, 0x50,
	0x00, 0x5a, 0x10, 0x2f, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x5f, 0x6a, 0x77, 0x6b, 0x73,
	0x5f, 0x76, 0x31, 0xd8, 0x01, 0x01, 0xf8, 0x01, 0x01, 0xa2, 0x02, 0x0d, 0x4b, 0x45, 0x59, 0x41,
	0x50, 0x49, 0x53, 0x4a, 0x57, 0x4b, 0x53, 0x56, 0x31, 0xaa, 0x02, 0x0f, 0x4b, 0x65, 0x79, 0x61,
	0x70, 0x69, 0x73, 0x2e, 0x4a, 0x77, 0x6b, 0x73, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0f, 0x4b, 0x65,
	0x79, 0x61, 0x70, 0x69, 0x73, 0x5c, 0x4a, 0x77, 0x6b, 0x73, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x11,
	0x4b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x3a, 0x3a, 0x4a, 0x77, 0x6b, 0x73, 0x3a, 0x3a, 0x56,
	0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}

var (
	file_keyapis_jwks_v1_keyapis_jwks_key_v1_proto_rawDescOnce sync.Once
	file_keyapis_jwks_v1_keyapis_jwks_key_v1_proto_rawDescData = file_keyapis_jwks_v1_keyapis_jwks_key_v1_proto_rawDesc
)

func file_keyapis_jwks_v1_keyapis_jwks_key_v1_proto_rawDescGZIP() []byte {
	file_keyapis_jwks_v1_keyapis_jwks_key_v1_proto_rawDescOnce.Do(func() {
		file_keyapis_jwks_v1_keyapis_jwks_key_v1_proto_rawDescData = protoimpl.X.CompressGZIP(file_keyapis_jwks_v1_keyapis_jwks_key_v1_proto_rawDescData)
	})
	return file_keyapis_jwks_v1_keyapis_jwks_key_v1_proto_rawDescData
}

var file_keyapis_jwks_v1_keyapis_jwks_key_v1_proto_msgTypes = make([]protoimpl.MessageInfo, 13)
var file_keyapis_jwks_v1_keyapis_jwks_key_v1_proto_goTypes = []interface{}{
	(*KeyInfo)(nil),                              // 0: keyapis.jwks.v1.KeyInfo
	(*PostKeyRequest)(nil),                       // 1: keyapis.jwks.v1.PostKeyRequest
	(*PostKeyResponse)(nil),                      // 2: keyapis.jwks.v1.PostKeyResponse
	(*DeleteKeyRequest)(nil),                     // 3: keyapis.jwks.v1.DeleteKeyRequest
	(*DeleteKeyResponse)(nil),                    // 4: keyapis.jwks.v1.DeleteKeyResponse
	(*GetKeyWellKnownJwksJsonRequest)(nil),       // 5: keyapis.jwks.v1.GetKeyWellKnownJwksJsonRequest
	(*GetKeyWellKnownJwksJsonResponse)(nil),      // 6: keyapis.jwks.v1.GetKeyWellKnownJwksJsonResponse
	(*ValidationError)(nil),                      // 7: keyapis.jwks.v1.ValidationError
	(*KeyInfo_PublicKey)(nil),                    // 8: keyapis.jwks.v1.KeyInfo.PublicKey
	(*KeyInfo_SavingError)(nil),                  // 9: keyapis.jwks.v1.KeyInfo.SavingError
	(*KeyInfo_SavingError_KeyAlreadyExists)(nil), // 10: keyapis.jwks.v1.KeyInfo.SavingError.KeyAlreadyExists
	(*PostKeyResponse_Error)(nil),                // 11: keyapis.jwks.v1.PostKeyResponse.Error
	(*DeleteKeyResponse_Error)(nil),              // 12: keyapis.jwks.v1.DeleteKeyResponse.Error
	(*timestamppb.Timestamp)(nil),                // 13: google.protobuf.Timestamp
}
var file_keyapis_jwks_v1_keyapis_jwks_key_v1_proto_depIdxs = []int32{
	8,  // 0: keyapis.jwks.v1.KeyInfo.public_key:type_name -> keyapis.jwks.v1.KeyInfo.PublicKey
	13, // 1: keyapis.jwks.v1.KeyInfo.created_at:type_name -> google.protobuf.Timestamp
	8,  // 2: keyapis.jwks.v1.PostKeyRequest.data:type_name -> keyapis.jwks.v1.KeyInfo.PublicKey
	11, // 3: keyapis.jwks.v1.PostKeyResponse.error:type_name -> keyapis.jwks.v1.PostKeyResponse.Error
	12, // 4: keyapis.jwks.v1.DeleteKeyResponse.error:type_name -> keyapis.jwks.v1.DeleteKeyResponse.Error
	8,  // 5: keyapis.jwks.v1.GetKeyWellKnownJwksJsonResponse.data:type_name -> keyapis.jwks.v1.KeyInfo.PublicKey
	10, // 6: keyapis.jwks.v1.KeyInfo.SavingError.key_already_exists:type_name -> keyapis.jwks.v1.KeyInfo.SavingError.KeyAlreadyExists
	7,  // 7: keyapis.jwks.v1.PostKeyResponse.Error.validation:type_name -> keyapis.jwks.v1.ValidationError
	9,  // 8: keyapis.jwks.v1.PostKeyResponse.Error.saving:type_name -> keyapis.jwks.v1.KeyInfo.SavingError
	7,  // 9: keyapis.jwks.v1.DeleteKeyResponse.Error.validation:type_name -> keyapis.jwks.v1.ValidationError
	1,  // 10: keyapis.jwks.v1.KeyService.PostKey:input_type -> keyapis.jwks.v1.PostKeyRequest
	3,  // 11: keyapis.jwks.v1.KeyService.DeleteKey:input_type -> keyapis.jwks.v1.DeleteKeyRequest
	5,  // 12: keyapis.jwks.v1.KeyService.GetKeyWellKnownJwksJson:input_type -> keyapis.jwks.v1.GetKeyWellKnownJwksJsonRequest
	2,  // 13: keyapis.jwks.v1.KeyService.PostKey:output_type -> keyapis.jwks.v1.PostKeyResponse
	4,  // 14: keyapis.jwks.v1.KeyService.DeleteKey:output_type -> keyapis.jwks.v1.DeleteKeyResponse
	6,  // 15: keyapis.jwks.v1.KeyService.GetKeyWellKnownJwksJson:output_type -> keyapis.jwks.v1.GetKeyWellKnownJwksJsonResponse
	13, // [13:16] is the sub-list for method output_type
	10, // [10:13] is the sub-list for method input_type
	10, // [10:10] is the sub-list for extension type_name
	10, // [10:10] is the sub-list for extension extendee
	0,  // [0:10] is the sub-list for field type_name
}

func init() { file_keyapis_jwks_v1_keyapis_jwks_key_v1_proto_init() }
func file_keyapis_jwks_v1_keyapis_jwks_key_v1_proto_init() {
	if File_keyapis_jwks_v1_keyapis_jwks_key_v1_proto != nil {
		return
	}
	if !protoimpl.UnsafeEnabled {
		file_keyapis_jwks_v1_keyapis_jwks_key_v1_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*KeyInfo); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_keyapis_jwks_v1_keyapis_jwks_key_v1_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*PostKeyRequest); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_keyapis_jwks_v1_keyapis_jwks_key_v1_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*PostKeyResponse); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_keyapis_jwks_v1_keyapis_jwks_key_v1_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*DeleteKeyRequest); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_keyapis_jwks_v1_keyapis_jwks_key_v1_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*DeleteKeyResponse); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_keyapis_jwks_v1_keyapis_jwks_key_v1_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*GetKeyWellKnownJwksJsonRequest); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_keyapis_jwks_v1_keyapis_jwks_key_v1_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*GetKeyWellKnownJwksJsonResponse); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_keyapis_jwks_v1_keyapis_jwks_key_v1_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*ValidationError); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_keyapis_jwks_v1_keyapis_jwks_key_v1_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*KeyInfo_PublicKey); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_keyapis_jwks_v1_keyapis_jwks_key_v1_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*KeyInfo_SavingError); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_keyapis_jwks_v1_keyapis_jwks_key_v1_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*KeyInfo_SavingError_KeyAlreadyExists); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_keyapis_jwks_v1_keyapis_jwks_key_v1_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*PostKeyResponse_Error); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_keyapis_jwks_v1_keyapis_jwks_key_v1_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*DeleteKeyResponse_Error); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
	}
	file_keyapis_jwks_v1_keyapis_jwks_key_v1_proto_msgTypes[2].OneofWrappers = []interface{}{
		(*PostKeyResponse_Error_)(nil),
	}
	file_keyapis_jwks_v1_keyapis_jwks_key_v1_proto_msgTypes[4].OneofWrappers = []interface{}{
		(*DeleteKeyResponse_Error_)(nil),
	}
	file_keyapis_jwks_v1_keyapis_jwks_key_v1_proto_msgTypes[9].OneofWrappers = []interface{}{
		(*KeyInfo_SavingError_KeyAlreadyExists_)(nil),
	}
	file_keyapis_jwks_v1_keyapis_jwks_key_v1_proto_msgTypes[11].OneofWrappers = []interface{}{
		(*PostKeyResponse_Error_Validation)(nil),
		(*PostKeyResponse_Error_Saving)(nil),
	}
	file_keyapis_jwks_v1_keyapis_jwks_key_v1_proto_msgTypes[12].OneofWrappers = []interface{}{
		(*DeleteKeyResponse_Error_Validation)(nil),
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: file_keyapis_jwks_v1_keyapis_jwks_key_v1_proto_rawDesc,
			NumEnums:      0,
			NumMessages:   13,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_keyapis_jwks_v1_keyapis_jwks_key_v1_proto_goTypes,
		DependencyIndexes: file_keyapis_jwks_v1_keyapis_jwks_key_v1_proto_depIdxs,
		MessageInfos:      file_keyapis_jwks_v1_keyapis_jwks_key_v1_proto_msgTypes,
	}.Build()
	File_keyapis_jwks_v1_keyapis_jwks_key_v1_proto = out.File
	file_keyapis_jwks_v1_keyapis_jwks_key_v1_proto_rawDesc = nil
	file_keyapis_jwks_v1_keyapis_jwks_key_v1_proto_goTypes = nil
	file_keyapis_jwks_v1_keyapis_jwks_key_v1_proto_depIdxs = nil
}
