//
//Сервис для создания JWT, находится в DMZ зоне, непосредственно не участвует в сценариях Партнёра

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

package keyapis_kms_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"
	_ "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)
)

// Запрос на создание nested JWT токена
type PostKmsJwtCreateJweRequest struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Claims (данные включаемые в тело токена)
	Data *PostKmsJwtCreateJweRequest_PayloadData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// Публичный ключ для шифрования
	PublicKey string `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
}

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

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

func (*PostKmsJwtCreateJweRequest) ProtoMessage() {}

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

func (x *PostKmsJwtCreateJweRequest) GetData() *PostKmsJwtCreateJweRequest_PayloadData {
	if x != nil {
		return x.Data
	}
	return nil
}

func (x *PostKmsJwtCreateJweRequest) GetPublicKey() string {
	if x != nil {
		return x.PublicKey
	}
	return ""
}

// Ответ на запрос на формирование токена
type PostKmsJwtCreateJweResponse struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

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

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

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

func (*PostKmsJwtCreateJweResponse) ProtoMessage() {}

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

func (m *PostKmsJwtCreateJweResponse) GetType() isPostKmsJwtCreateJweResponse_Type {
	if m != nil {
		return m.Type
	}
	return nil
}

func (x *PostKmsJwtCreateJweResponse) GetData() string {
	if x, ok := x.GetType().(*PostKmsJwtCreateJweResponse_Data); ok {
		return x.Data
	}
	return ""
}

func (x *PostKmsJwtCreateJweResponse) GetError() *PostKmsJwtCreateJweResponse_Error {
	if x, ok := x.GetType().(*PostKmsJwtCreateJweResponse_Error_); ok {
		return x.Error
	}
	return nil
}

type isPostKmsJwtCreateJweResponse_Type interface {
	isPostKmsJwtCreateJweResponse_Type()
}

type PostKmsJwtCreateJweResponse_Data struct {
	// Nested JWT токен
	Data string `protobuf:"bytes,1,opt,name=data,proto3,oneof"`
}

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

func (*PostKmsJwtCreateJweResponse_Data) isPostKmsJwtCreateJweResponse_Type() {}

func (*PostKmsJwtCreateJweResponse_Error_) isPostKmsJwtCreateJweResponse_Type() {}

// Ошибки валидации.
// Эти проверки выполняются до обращения в базу данных
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_kms_v1_keyapis_kms_jwt_v1_proto_msgTypes[2]
		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_kms_v1_keyapis_kms_jwt_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 ValidationError.ProtoReflect.Descriptor instead.
func (*ValidationError) Descriptor() ([]byte, []int) {
	return file_keyapis_kms_v1_keyapis_kms_jwt_v1_proto_rawDescGZIP(), []int{2}
}

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

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

// Claims (данные включаемые в тело токена)
type PostKmsJwtCreateJweRequest_PayloadData struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Словарь значений.
	// Ключи и значения являются строками.
	// # Диапазон: 1..128
	Values map[string]string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
}

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

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

func (*PostKmsJwtCreateJweRequest_PayloadData) ProtoMessage() {}

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

func (x *PostKmsJwtCreateJweRequest_PayloadData) GetValues() map[string]string {
	if x != nil {
		return x.Values
	}
	return nil
}

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

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

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

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

func (*PostKmsJwtCreateJweResponse_Error) ProtoMessage() {}

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

func (m *PostKmsJwtCreateJweResponse_Error) GetReason() isPostKmsJwtCreateJweResponse_Error_Reason {
	if m != nil {
		return m.Reason
	}
	return nil
}

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

func (x *PostKmsJwtCreateJweResponse_Error) GetPrivateKeyNotFound() *PostKmsJwtCreateJweResponse_Error_PrivateKeyNotFound {
	if x, ok := x.GetReason().(*PostKmsJwtCreateJweResponse_Error_PrivateKeyNotFound_); ok {
		return x.PrivateKeyNotFound
	}
	return nil
}

type isPostKmsJwtCreateJweResponse_Error_Reason interface {
	isPostKmsJwtCreateJweResponse_Error_Reason()
}

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

type PostKmsJwtCreateJweResponse_Error_PrivateKeyNotFound_ struct {
	// Отсутствует ключ для подписания
	PrivateKeyNotFound *PostKmsJwtCreateJweResponse_Error_PrivateKeyNotFound `protobuf:"bytes,2,opt,name=private_key_not_found,json=privateKeyNotFound,proto3,oneof"`
}

func (*PostKmsJwtCreateJweResponse_Error_Validation) isPostKmsJwtCreateJweResponse_Error_Reason() {}

func (*PostKmsJwtCreateJweResponse_Error_PrivateKeyNotFound_) isPostKmsJwtCreateJweResponse_Error_Reason() {
}

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

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

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

func (*PostKmsJwtCreateJweResponse_Error_PrivateKeyNotFound) ProtoMessage() {}

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

var File_keyapis_kms_v1_keyapis_kms_jwt_v1_proto protoreflect.FileDescriptor

var file_keyapis_kms_v1_keyapis_kms_jwt_v1_proto_rawDesc = []byte{
	0x0a, 0x27, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x6b, 0x6d, 0x73, 0x2f, 0x76, 0x31,
	0x2f, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x5f, 0x6b, 0x6d, 0x73, 0x5f, 0x6a, 0x77, 0x74,
	0x5f, 0x76, 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e, 0x6b, 0x65, 0x79, 0x61, 0x70,
	0x69, 0x73, 0x2e, 0x6b, 0x6d, 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, 0xb8, 0x02, 0x0a, 0x1a,
	0x50, 0x6f, 0x73, 0x74, 0x4b, 0x6d, 0x73, 0x4a, 0x77, 0x74, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65,
	0x4a, 0x77, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4f, 0x0a, 0x04, 0x64, 0x61,
	0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x6b, 0x65, 0x79, 0x61, 0x70,
	0x69, 0x73, 0x2e, 0x6b, 0x6d, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x73, 0x74, 0x4b, 0x6d,
	0x73, 0x4a, 0x77, 0x74, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4a, 0x77, 0x65, 0x52, 0x65, 0x71,
	0x75, 0x65, 0x73, 0x74, 0x2e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x44, 0x61, 0x74, 0x61,
	0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x22, 0x0a, 0x0a, 0x70,
	0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42,
	0x03, 0xe0, 0x41, 0x02, 0x52, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x1a,
	0xa4, 0x01, 0x0a, 0x0b, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x44, 0x61, 0x74, 0x61, 0x12,
	0x5a, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
	0x42, 0x2e, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6b, 0x6d, 0x73, 0x2e, 0x76, 0x31,
	0x2e, 0x50, 0x6f, 0x73, 0x74, 0x4b, 0x6d, 0x73, 0x4a, 0x77, 0x74, 0x43, 0x72, 0x65, 0x61, 0x74,
	0x65, 0x4a, 0x77, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x50, 0x61, 0x79, 0x6c,
	0x6f, 0x61, 0x64, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x45, 0x6e,
	0x74, 0x72, 0x79, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x1a, 0x39, 0x0a, 0x0b, 0x56,
	0x61, 0x6c, 0x75, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65,
	0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05,
	0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c,
	0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xee, 0x02, 0x0a, 0x1b, 0x50, 0x6f, 0x73, 0x74, 0x4b,
	0x6d, 0x73, 0x4a, 0x77, 0x74, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4a, 0x77, 0x65, 0x52, 0x65,
	0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01,
	0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x49, 0x0a, 0x05,
	0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x6b, 0x65,
	0x79, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6b, 0x6d, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x73,
	0x74, 0x4b, 0x6d, 0x73, 0x4a, 0x77, 0x74, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4a, 0x77, 0x65,
	0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x48, 0x00,
	0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x1a, 0xe5, 0x01, 0x0a, 0x05, 0x45, 0x72, 0x72, 0x6f,
	0x72, 0x12, 0x41, 0x0a, 0x0a, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18,
	0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x2e,
	0x6b, 0x6d, 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, 0x79, 0x0a, 0x15, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x5f,
	0x6b, 0x65, 0x79, 0x5f, 0x6e, 0x6f, 0x74, 0x5f, 0x66, 0x6f, 0x75, 0x6e, 0x64, 0x18, 0x02, 0x20,
	0x01, 0x28, 0x0b, 0x32, 0x44, 0x2e, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6b, 0x6d,
	0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x73, 0x74, 0x4b, 0x6d, 0x73, 0x4a, 0x77, 0x74, 0x43,
	0x72, 0x65, 0x61, 0x74, 0x65, 0x4a, 0x77, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
	0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x2e, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x4b, 0x65,
	0x79, 0x4e, 0x6f, 0x74, 0x46, 0x6f, 0x75, 0x6e, 0x64, 0x48, 0x00, 0x52, 0x12, 0x70, 0x72, 0x69,
	0x76, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x4e, 0x6f, 0x74, 0x46, 0x6f, 0x75, 0x6e, 0x64, 0x1a,
	0x14, 0x0a, 0x12, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x4e, 0x6f, 0x74,
	0x46, 0x6f, 0x75, 0x6e, 0x64, 0x42, 0x08, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x42,
	0x06, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 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, 0xb1, 0x01, 0x0a, 0x0a, 0x4a, 0x77, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63,
	0x65, 0x12, 0xa2, 0x01, 0x0a, 0x13, 0x50, 0x6f, 0x73, 0x74, 0x4b, 0x6d, 0x73, 0x4a, 0x77, 0x74,
	0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4a, 0x77, 0x65, 0x12, 0x2a, 0x2e, 0x6b, 0x65, 0x79, 0x61,
	0x70, 0x69, 0x73, 0x2e, 0x6b, 0x6d, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x73, 0x74, 0x4b,
	0x6d, 0x73, 0x4a, 0x77, 0x74, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4a, 0x77, 0x65, 0x52, 0x65,
	0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x2e,
	0x6b, 0x6d, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x73, 0x74, 0x4b, 0x6d, 0x73, 0x4a, 0x77,
	0x74, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4a, 0x77, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
	0x73, 0x65, 0x22, 0x32, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2c, 0x3a, 0x01, 0x2a, 0x22, 0x27, 0x2f,
	0x6b, 0x6d, 0x73, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x61, 0x70, 0x69,
	0x2f, 0x76, 0x31, 0x2f, 0x6b, 0x6d, 0x73, 0x2f, 0x6a, 0x77, 0x74, 0x2f, 0x63, 0x72, 0x65, 0x61,
	0x74, 0x65, 0x2f, 0x6a, 0x77, 0x65, 0x42, 0x85, 0x01, 0x0a, 0x11, 0x72, 0x75, 0x2e, 0x6b, 0x65,
	0x79, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6b, 0x6d, 0x73, 0x2e, 0x76, 0x31, 0x42, 0x11, 0x4b, 0x65,
	0x79, 0x61, 0x70, 0x69, 0x73, 0x4b, 0x6d, 0x73, 0x56, 0x31, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x48,
	0x03, 0x50, 0x00, 0x5a, 0x0f, 0x2f, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x5f, 0x6b, 0x6d,
	0x73, 0x5f, 0x76, 0x31, 0xd8, 0x01, 0x01, 0xf8, 0x01, 0x01, 0xa2, 0x02, 0x0c, 0x4b, 0x45, 0x59,
	0x41, 0x50, 0x49, 0x53, 0x4b, 0x4d, 0x53, 0x56, 0x31, 0xaa, 0x02, 0x0e, 0x4b, 0x65, 0x79, 0x61,
	0x70, 0x69, 0x73, 0x2e, 0x4b, 0x6d, 0x73, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0e, 0x4b, 0x65, 0x79,
	0x61, 0x70, 0x69, 0x73, 0x5c, 0x4b, 0x6d, 0x73, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x10, 0x4b, 0x65,
	0x79, 0x61, 0x70, 0x69, 0x73, 0x3a, 0x3a, 0x4b, 0x6d, 0x73, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06,
	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}

var (
	file_keyapis_kms_v1_keyapis_kms_jwt_v1_proto_rawDescOnce sync.Once
	file_keyapis_kms_v1_keyapis_kms_jwt_v1_proto_rawDescData = file_keyapis_kms_v1_keyapis_kms_jwt_v1_proto_rawDesc
)

func file_keyapis_kms_v1_keyapis_kms_jwt_v1_proto_rawDescGZIP() []byte {
	file_keyapis_kms_v1_keyapis_kms_jwt_v1_proto_rawDescOnce.Do(func() {
		file_keyapis_kms_v1_keyapis_kms_jwt_v1_proto_rawDescData = protoimpl.X.CompressGZIP(file_keyapis_kms_v1_keyapis_kms_jwt_v1_proto_rawDescData)
	})
	return file_keyapis_kms_v1_keyapis_kms_jwt_v1_proto_rawDescData
}

var file_keyapis_kms_v1_keyapis_kms_jwt_v1_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
var file_keyapis_kms_v1_keyapis_kms_jwt_v1_proto_goTypes = []interface{}{
	(*PostKmsJwtCreateJweRequest)(nil),             // 0: keyapis.kms.v1.PostKmsJwtCreateJweRequest
	(*PostKmsJwtCreateJweResponse)(nil),            // 1: keyapis.kms.v1.PostKmsJwtCreateJweResponse
	(*ValidationError)(nil),                        // 2: keyapis.kms.v1.ValidationError
	(*PostKmsJwtCreateJweRequest_PayloadData)(nil), // 3: keyapis.kms.v1.PostKmsJwtCreateJweRequest.PayloadData
	nil, // 4: keyapis.kms.v1.PostKmsJwtCreateJweRequest.PayloadData.ValuesEntry
	(*PostKmsJwtCreateJweResponse_Error)(nil),                    // 5: keyapis.kms.v1.PostKmsJwtCreateJweResponse.Error
	(*PostKmsJwtCreateJweResponse_Error_PrivateKeyNotFound)(nil), // 6: keyapis.kms.v1.PostKmsJwtCreateJweResponse.Error.PrivateKeyNotFound
}
var file_keyapis_kms_v1_keyapis_kms_jwt_v1_proto_depIdxs = []int32{
	3, // 0: keyapis.kms.v1.PostKmsJwtCreateJweRequest.data:type_name -> keyapis.kms.v1.PostKmsJwtCreateJweRequest.PayloadData
	5, // 1: keyapis.kms.v1.PostKmsJwtCreateJweResponse.error:type_name -> keyapis.kms.v1.PostKmsJwtCreateJweResponse.Error
	4, // 2: keyapis.kms.v1.PostKmsJwtCreateJweRequest.PayloadData.values:type_name -> keyapis.kms.v1.PostKmsJwtCreateJweRequest.PayloadData.ValuesEntry
	2, // 3: keyapis.kms.v1.PostKmsJwtCreateJweResponse.Error.validation:type_name -> keyapis.kms.v1.ValidationError
	6, // 4: keyapis.kms.v1.PostKmsJwtCreateJweResponse.Error.private_key_not_found:type_name -> keyapis.kms.v1.PostKmsJwtCreateJweResponse.Error.PrivateKeyNotFound
	0, // 5: keyapis.kms.v1.JwtService.PostKmsJwtCreateJwe:input_type -> keyapis.kms.v1.PostKmsJwtCreateJweRequest
	1, // 6: keyapis.kms.v1.JwtService.PostKmsJwtCreateJwe:output_type -> keyapis.kms.v1.PostKmsJwtCreateJweResponse
	6, // [6:7] is the sub-list for method output_type
	5, // [5:6] is the sub-list for method input_type
	5, // [5:5] is the sub-list for extension type_name
	5, // [5:5] is the sub-list for extension extendee
	0, // [0:5] is the sub-list for field type_name
}

func init() { file_keyapis_kms_v1_keyapis_kms_jwt_v1_proto_init() }
func file_keyapis_kms_v1_keyapis_kms_jwt_v1_proto_init() {
	if File_keyapis_kms_v1_keyapis_kms_jwt_v1_proto != nil {
		return
	}
	if !protoimpl.UnsafeEnabled {
		file_keyapis_kms_v1_keyapis_kms_jwt_v1_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*PostKmsJwtCreateJweRequest); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_keyapis_kms_v1_keyapis_kms_jwt_v1_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*PostKmsJwtCreateJweResponse); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_keyapis_kms_v1_keyapis_kms_jwt_v1_proto_msgTypes[2].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_kms_v1_keyapis_kms_jwt_v1_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*PostKmsJwtCreateJweRequest_PayloadData); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_keyapis_kms_v1_keyapis_kms_jwt_v1_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*PostKmsJwtCreateJweResponse_Error); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_keyapis_kms_v1_keyapis_kms_jwt_v1_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*PostKmsJwtCreateJweResponse_Error_PrivateKeyNotFound); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
	}
	file_keyapis_kms_v1_keyapis_kms_jwt_v1_proto_msgTypes[1].OneofWrappers = []interface{}{
		(*PostKmsJwtCreateJweResponse_Data)(nil),
		(*PostKmsJwtCreateJweResponse_Error_)(nil),
	}
	file_keyapis_kms_v1_keyapis_kms_jwt_v1_proto_msgTypes[5].OneofWrappers = []interface{}{
		(*PostKmsJwtCreateJweResponse_Error_Validation)(nil),
		(*PostKmsJwtCreateJweResponse_Error_PrivateKeyNotFound_)(nil),
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: file_keyapis_kms_v1_keyapis_kms_jwt_v1_proto_rawDesc,
			NumEnums:      0,
			NumMessages:   7,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_keyapis_kms_v1_keyapis_kms_jwt_v1_proto_goTypes,
		DependencyIndexes: file_keyapis_kms_v1_keyapis_kms_jwt_v1_proto_depIdxs,
		MessageInfos:      file_keyapis_kms_v1_keyapis_kms_jwt_v1_proto_msgTypes,
	}.Build()
	File_keyapis_kms_v1_keyapis_kms_jwt_v1_proto = out.File
	file_keyapis_kms_v1_keyapis_kms_jwt_v1_proto_rawDesc = nil
	file_keyapis_kms_v1_keyapis_kms_jwt_v1_proto_goTypes = nil
	file_keyapis_kms_v1_keyapis_kms_jwt_v1_proto_depIdxs = nil
}
